Professional Documents
Culture Documents
Unit 3 Comparators
Unit 3 Comparators
Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
UNIT 3
COMPARATORS
A comparator compares a signal voltage on one input of an opamp
with a known reference voltage on the other input. We can say A
comparator has two inputs one is usually a constant reference
voltage VR and other is a time varying signal Vi and one output VO.
BASIC COMPARATOR
When the non inverting voltage is larger than the inverting voltage
the comparator produces a high output voltage (+Vsat). When the
non-inverting output is less than the inverting input the output is
low (-Vsat). Figure below shows the output of a comparator for a
sinusoidal input.
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
= + Vsat if Vi < VR
EXPLANATION
When the value of the input voltage Vin is greater than the
reference voltage Vref the output voltage Vo goes to positive
saturation. This is because the voltage at the non-inverting
input is greater than the voltage at the inverting input.
When the value of the input voltage Vin is lesser than the
reference voltage Vref, the output voltage Vo goes to
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
The circuit diagram shows the diodes D1and D2. These two diodes
are used to protect the op-amp from damage due to increase in input
voltage. These diodes are called clamp diodes as they clamp the
differential input voltages to either 0.7V or -0.7V. Most op-amps do not
need clamp diodes as most of them already have built in protection.
Resistance R1 is connected in series with input voltage Vin and R is
connected between the inverting input and reference voltage Vref. R1
limits the current through the clamp diodes and R reduces the offset
problem.
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
It can be seen in the above waveform that whenever the sine wave
crosses zero, the output of the Op-amp will shift either from negative to
positive or from positive to negative. It shifts negative to positive when
sine wave crosses positive to negative and vice versa. This is how a
Zero Crossing Detector detects when the waveform is crossing zero
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
every time. As you can observe that the output waveform is a square
wave, so a Zero Crossing Detector is also called a Square wave
Generator Circuit.
Limitations
SCHMITT TRIGGER
VREF
Explanation
We can see in the circuit above that because of the voltage divider
circuit, there is a positive feedback voltage. When OPAMP is positively
saturated, a positive voltage is feedback to the non-inverting input, this
positive voltage holds the output in high stage. (vin< vf). When the output
voltage is negatively saturated, a negative voltage feedback to the
inverting input, holding the output in low state.
When input vin exceeds Vref = +Vsat the output switches from +Vsat to
–Vsat.
If Vin < Vref i.e. Vin becomes more negative than –Vsat then again output
switches to +Vsat and so on. Input and output waveforms of Schmitt
Trigger are given below.
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
Thus if the threshold voltages VUT and VLT are made larger than
input noise voltages, the positive feedback will eliminate false
output transitions.
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
CHARACTERISTICS OF COMPARATOR
Voltage Limiters
Explanation
VZ – Zener Voltage
VD1 – Voltage drop across D1 = 0.7V
If Vo increases from 0 to negative voltage, Vo increases positively
until diode D2 is forward biased and D1 goes into avalanche
condition.
At this condition, V0 = VZ + VD2
VZ – Zener Voltage
VD1 – Voltage drop across D2 = 0.7V
Explanation
VZ – Zener Voltage
VD – Voltage drop across the forward biased zener.
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
https://nptel.ac.in/courses/108/108/108108111/
https://nptel.ac.in/courses/108/108/108108111/
https://nptel.ac.in/courses/108/108/108108111/
1 Oscillators
Oscillator Principles
vO= -A vin.
Now a feedback circuit is added. The output voltage is fed to the feed
back circuit. The output of the feedback circuit is again 180° phase
shifted. Thus the output from the feedback network is in phase with input
signal vin and it can also be made equal to input signal.
When this criterion is satisfied then the closed loop gain is infinite. i.e. an
output is produced without any external input.
vO = A verror
= A (v in + v f )
= A (vin + β vO)
= 0.065/RC
fo = 1/ 2ΠRC
= 0.159 / RC
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
Assuming that the resistors are equal in value, and capacitors are also
equal in value. At this frequency, the gain required for sustained
oscillations is given by
Av = 1/B =3
Or 1 + Rf / R1 = 3
Or Rf = 2 R1
Explanation
First transform the feedback circuit into s domain as given below. Using
the voltage divider rule,
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
Explanation
Assume voltage across C is zero volts at the instant when the dc supply
voltages + VCC and - VEE are appllied.
Voltage at the non inverting input terminal is very small finite value that
is a function of output offset voltage VOOT and the value of R1 and R2
resistors.
V1 = [ R1/ R1 + R2 ] (+VSAT)
T = 2RC ln [ ( 2R1 + R2 ) / R2 )
Then fO = 1/ 2RC
The above Equation shows that smaller the RC time constant , the
higher the output frequency fO.
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
When positive going ramp reaches + Vramp, the effective voltage at point
p becomes slightly above 0V. As a result, the output of comparator A
Dr. Inderbir Kaur
Operational Amplifier and Applications
Covid 19 Week -5(13-19April2020)
Reference study material
– Vramp / R2 = +Vsat / R3
Similarly
+Vramp = (-Vsat / R3 ) R2 (2)
The time taken by the output to swing from – Vramp to + Vramp (or
from + Vramp to – Vramp) is equal to half the time period T/2.( Refer
Fig. 2.). This time can be calculated from the integrator output
equation as follows :
Then the slope decreases and rise time also decrease. When the
comparator output is under positive saturation, the potential difference
across the R1 increases and current through the capacitor resistor also
increases. This is due to the presence of a negative voltage at the
inverting terminal. Then the slope increases and fall time decreases.
And the output is obtained as a sawtooth waveform.
DISCLAIMER: This study material is only for the reference of students. No copyright infringement is
intended. This is only for the emergent situation of Covid period only where students don’t have
access to other reading material.
References :