Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

AIM​: To create a op-amp circuit for following circuits:

A) Positive Clipper with ​Vref = 0V


​B) Negative Clamper with ​Vref = 0V

Software​: LTSPICE

Group Number 1:
1. Omkar Bhilare 191060901
2. Omkar Sargar 181060047
3. Om Fuke ​181060046
4. Lukesh Ankamwar 181060038

Circuit 1:

6 Bit DAC:

Explanation:

A D/A Converter is used when the binary output from a digital system is to be
converted into its equivalent analog voltage or current.The binary output will be a
sequence of 1’s and 0’s. Thus they may be difficult to follow. But, a D/A converter helps
the user to interpret easily.
An alternative to the binary weighted input DAC is the R-2R Ladder, which uses fewer
unique resistor values thus does not require precision resistors. A disadvantage of the
former DAC design was its requirement of several different precise input resistor values:
one unique value per binary input bit . Its advantage compared to the binary weighted is it
only has two values of resistors, thus the actual values used is relatively less important if
it is extremely large values.

Circuit:

Input : 6 bit digital signal


Expected output : Analog DC signal ranging from 0 to 5V.
Input : 111111
Output : 5V (Magnitude)
Input : 101011
Output: 3.4V (Magnitude)

We have implemented the R-2R method of DAC circuit. The formula for the output voltage is
Vo = Vref*(-Rf/R)*(1/64+1/32+1/16 + 1/8 + 1/4 + 1/2). We selected the appropriate value of
Vref so that the output range can go up to 5V. Hence, the digital pulses can be converted into
analog signals of desired value.As we supply digital bits in the form of voltage given to the
resistors, we get analog output.
Circuit 2: Adjustable Positive Regulator IC

Procedure:

1. First, we downloaded the LM317 spice model.


2. Then imported it’s .asy and .sub file in LTSPICE directory
3. We implemented the circuit with input caps for filtering noise.
4. We tested the circuit for different combinations of R1 and R2.

Diagram:
Resistor Combination:

Example 1: R1 = 240ohm and R2 = 240Ohm

Expected Output: 2.5V


Practical Output: 2.60V
Example 1 simulation:

Example 2: R1 = 240ohm and R2 = 1000Ohm

Expected Output: 6.46V


Practical Output: 6.74V
Circuit 3: 3 BIT ADC (range 0- 10V)

Procedure:

1. First, we downloaded the LM741 spice model from texas instrument’s site.
2. Then imported that file in LTSPICE using “.include LM741.MOD” and then
changed the basic op-amp name to “LM741/NS”.
3. For 3 BIT adc we used ​hierarchical schematics in LTSPICE for further
extension of bits of ADC.
4. First we created the schematic and symbol for 3 BIT ADC. Which Accepts Vin
and Vref as input.
5. We also kept Vref_L as input, for normal 3BIT ADC VREF_L can be grounded,
but for 4BIT ADC Vref_L can be connected to the Next 3 BIT ADC vref and
other 3 BIT ADC vref_L can be grounded.
6. We also created our own ​PRIORITY ENCODER ​in reference with 74LS148,
we also gave ES, EI AND GS options for cascading of priority encoders.
7. We tested the ADC for triangular wave, and output matches with theoretical
expectations.
Top Level Circuit: 3BIT ADC (Vref = 10V)

3BIT ADC circuit:


Priority Encoder:
(74LS148 reference)

Binary Output Voltage Range

000 0 - 1.25

001 1.25 - 2.5

010 2.5 - 3.75

011 3.75 -5

100 5 - 6.25

101 6.25 - 7.5

110 7-.5- 8.75

111 8.75 - 10
ADC OUTPUT:

As shown in the above image ADC producing proper digital output from 000 to 111 For
input range of 0-10V

How to make 4BIT ADC:

1. As you can see in right image we kept the ADC divider


circuit two terminals left in symbol naming VREF and VREF_L
2. So to cascade the two adc we can connect VREF_L of one
to VREF of another.
3. And connecting LSB VREF_L to the Ground.
4. For ex: Shown on the Left.
Conclusion:

Thus we have studied and verified output of DAC, ADC and LM317 regulator IC, In which we
have understood the use of flash adc and how many comparators need for one and how to
cascade them to make higher bit adc. Also we made a DAC using R2R ladder network and to
power these circuit from battery we can use LM,317 IC regulated at 5V.

You might also like