Lab-2Study-of-basic-comparator-circuit-using-Op-Amp. 3
Lab-2Study-of-basic-comparator-circuit-using-Op-Amp. 3
List of Equipment:
Serial No. Component Details Specification Quantity
1 Op-Amp 741 1 piece
2 Resistor 10kΩ,5kΩ 2 piece,1 piece
3 LED Red 1 piece
4 Oscilloscope 1 Unit
5 DC Power Supply 3 Units
6 Function Generator 1 Unit
7 Digital Multimiter 2 Chennels 1 Unit
8 Bread Board 1 Unit
Theory:
A DC-coupled high-gain electronic voltage amplifier having a differential input and a single-
ended output is known as an operational amplifier. The characteristic of an Op-amp are high
input impedance, very low output impedance, large bandwidth, zero offset voltage, infinite
input resistance(for that zero current flow to the Op-amp), Op-amp has very high open-loop
gain. Op-amp has a big advantage and that is its characteristic doesn’t vary on temperature.
A comparator takes a linear input voltage and gives a digital signal because the comparator
uses open-loop gain for that a small input voltage gets a large gain which saturates the
applied power source For that we get a digital signal.
Circuit Diagrams:
V1 12V
R1 1
10kΩ
U1
7
5
1
3
3
6 5
2
LED1
4
741
4
V3 2
R2 1V V2 12V
10kΩ
Circuit-1:
Open-loop comparator 1: Constant DC input at +ve input terminal and a constant DC reference voltage via
a voltage divider network at the –ve input terminal.
V1
12V
R1 1
10kΩ
U1
7
5
3
3
6 5
2
LED1
4
741
4
V3 2
R2 1V V2
10kΩ 12V
Circuit-2:
Open-loop comparator 2: Constant DC input at -ve input terminal and a constant DC reference voltage via a
voltage divider network at the +ve input terminal.
V1
15V
U1
7
5
1
3 3
2
V3
1Vpk 1kHz 0°
741
4
2
V2
15V
Circuit-3:
Open-loop non-inverting comparator as zero-crossing detector :
AC input at +ve input terminal and a conostant DC 0V
reference voltage(ground)at the –ve input terminal.
V1
10V
1 XMM1
3
5
4
OPAMP_5T_VIRTUAL U1
2
V3 V4
15uV -15uV
V2
10V
Circuit-4
V1
10V
1 XMM1
3
5
OPAMP_5T_VIRTUAL U1
2
V3
2V
V2
10V
Circuit-5
Data:
Circuit 1:
XSC1
V1 Ext Trig
15V +
_
A B
++ __
U1 5
7
5
3 1 0
6
3
2
V3
1Vpk 1kHz 0°
741
4
2
V2
15V
Graph:
.
Circuit 4:
Constructing the circuit in MULTISIM.
Setting input offset voltage (VOS) to 0 V and input offset current (IOS) to 0 A.
Setting to open-loop gain (A) to 1 M V/V
Setting V3 and V4 and complete the following table
V1
10V
1 XMM1
3
5
4
OPAMP_5T_VIRTUAL U1
2
V3 V4
15uV -15uV
V2
10V
V3 V4 Vd Vo Liner/
Saturation
-15μV -10 μV -5 μV -5V Liner
+15 μV -10 μV 25 μV 10V Saturation
1.000000V 1.000001V -1 μV -10V Saturation
+6mV +2mV 4mV 10V Saturation
0 +1mV -1mV -10V Saturation
Circuit 5:
1 XMM1
3
5
OPAMP_5T_VIRTUAL U1
2
V3
2V
V2
10V
There are two graphs in this lab. For Circuit-3, we have applied a 1V peak sinusoidal wave in
the non-inverting terminal and inverting terminal is grounded. We know Op-amp has a large
Open-loop gain around 105-106 . And the power source applied 15V, So the output is
saturated because the saturation level is positive 15V to negative 15V. Below the marking
part is the saturated portion.
In circuit 5, we try to determine the open-loop gain of the Op-amp. For that, we applied 2V
dc voltage in the non-inverting terminal, and inverting terminal is grounded. We use a
multimeter in output to see the output voltage. We use parameter sweep to find the transfer
characteristics curve. In the Graph, the red marked box is the linear region and the yellow
marked box is the output saturation region. From the liner region, the slope of the line is the
Open-loop gain of the Op-amp.
Question:
1) What is Comparator? What are the applications of comparators?
Ans: A comparator is an electronic component that compares two input voltages.
Comparators are closely related to operational amplifiers.
1. It's used in humidity systems of soil based on a wireless sensor network using
Arduino.
2. Used as heart-beat sensor circuit.
3. Smoke alarm circuit
2) How can we change the reference voltage of a comparator?
Ans: We can change the reference voltage of a comparator by using,
a zero-cross detector is a voltage comparator that changes the o/p +Vsat or -Vsat when the i/p
crosses zero reference voltage.
In other words, the comparator is a basic operational amplifier used to compare two voltages
in the same way we can say a zero-crossing detector (ZCD) is a comparator.
4) What is a window comparator? How many op-amps do you need for a window
comparator? How many reference voltages are present in a window comparator?
Ans: Window comparator:- Window comparators are a type of voltage comparator circuit
that uses two op-amp comparators to produce a two-state output that indicates whether or not
the i/p voltage is within a particular range or window of values by using two reference
voltages.
And also as shown in the above waveform there are two reference voltages present in the
window comparator.
Discussion:
From this lab, we have learned about the op-amp and its application as a comparator. We
have learned the application of inverting, non-inverting methods. Using the voltage divider
rule, we find the reference voltage of a comparator, how the graph behaves in output. We
also learned about how to find out the output graph using a 2 channel oscilloscope; by using
parameter sweeping we found the open-loop gain of an Op-amp.
In-circuit-1 & 2, when we are collecting data from the circuit we have faced a problem. That
is when we apply the same voltage in inverting and non-inverting terminals, theoretically, the
output will be zero, but in multisim, we got an output because of imperfect Common Mode
Rejection Ratio(CMRR).
We try to determine Op-amp output voltages and Open-loop gain in circuits 3 & 5. In theory,
we have a round figure number, however, we have almost a fraction due to an internal
voltage decrease or so.
In this lab, we should be aware of the right connection. If we connect the power supply in the
wrong direction, the Op-amp will be damaged. We also need to place the ground in the right
position. If not, we will find a wrong value that is different from the theoretical value.