1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states...
-
Upload
todd-briggs -
Category
Documents
-
view
219 -
download
0
description
Transcript of 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states...
![Page 1: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/1.jpg)
1
COMPARATORS
Function: Compares two input voltages and produces an output in either of two states indicating the greater than or less than relationship of the inputs.
![Page 2: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/2.jpg)
2
What is a Comparator ? The comparator is an op-amp circuit that compares
two input voltages and produces an output indicating the relationship between them. The inputs can be two signals (such as two sine waves) or a signal and a fixed dc reference voltage.
Often used as an interface between digital and analog signals.
Problem Solution
![Page 3: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/3.jpg)
3
Symbol & Transfer Characteristics
+
_
VinVout
Vref
Ideal transfer characteristic
Vout
Vin
VH
VL
Vref0
Practical transfer characteristic
Vout
Vin
VH
VL
Vref0
![Page 4: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/4.jpg)
4
Threshold Comparators
The voltage at which a comparator changes from one level to another is called the crossover (or threshold) voltage. Its value can be adjusted by adding resistors, as shown in the non-inverting comparator.
+
_
RF
R1
RVS
Vref
Vin Vout
V+
V-
![Page 5: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/5.jpg)
5
refF
Lt VRRV 1
inF
Fref
F
VRR
RVRR
RV
11
1
01 inFref VRVR
From the superposition theorem, the voltage at V+ is given by
Ideally, the crossover will occur when V+ = 0. That is
which gives the low threshold voltage VLt = Vin as
Vout
Vin
VH
VL
0VLt
Thus, the output voltage becomes high (VH) at the positive saturation voltage.
(+Vsat) when V+ > 0 (i.e. Vin > VLt)
![Page 6: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/6.jpg)
6
If the input signal is connected to the inverting terminal, the output will change from high (VH) to low (VL).
refF
Ht VRRRV
1
1
The high threshold voltage VHt = Vin is given by
Vout
Vin
VH
VL
0VHt
Thus, the output voltage becomes low (VL) at the negative saturation voltage :-(-Vsat) when Vin > V+ (i.e. Vin > VHt)
![Page 7: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/7.jpg)
7
BASIC COMPARATOR CIRCUITS
COMPARATOR WITH ZERO REFERENCE COMPARATOR WITH NONZERO REFERENCE COMPARATOR WITH HYSTERESIS
![Page 8: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/8.jpg)
8
NONLINEAR CIRCUITS
Nonlinear circuits such as comparators, wave shapers and active-diode circuits. Linear circuits like voltage amplifier, current sources, and active filters. The output of nonlinear op-amp circuits usually has a different shape from the input signal. This is due to the op-amp saturates during part of the input cycle.
![Page 9: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/9.jpg)
9
ZERO REFERENCE The simplest way to build a comparator is to connect op-amp without feedback resistors.
+
_
-V
+V
VoutVin
Vout
Vin
-Vsat
+Vsat
0
a) Comparator with zero reference b) Input/output response
![Page 10: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/10.jpg)
10
Because of the high open-loop gain, positive input voltage produces positive saturation (+Vsat), and a negative input voltage produces negative saturation (-Vsat).
This comparator is called a zero-crossing detector.
The minimum input voltage that produces saturation is:
ol
satin A
VV (min)
ZERO REFERENCE
![Page 11: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/11.jpg)
11
If a sinusoidal input voltage applied to the non-inverting input of this circuit, the result will look like this:
Vin
Vout
t
t0
0
-Vsat
+Vsat
ZERO REFERENCE
![Page 12: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/12.jpg)
12
Let Vsat = 15V, Aol = 100,000. Then the input voltage needed to produce saturation is:
mVVVin 015.0000,100
15(min)
Vin > +0.015 mV +Vsat
Vin < -0.015 mV -Vsat
ZERO REFERENCE
![Page 13: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/13.jpg)
13
The output is a two-state output, either +Vsat or –Vsat
This comparator can be used as a squaring circuit (i.e. produce square wave from sine wave).
ZERO REFERENCE
![Page 14: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/14.jpg)
14
Bounded Output The output swing of a zero-crossing detector
may be too large in some applications. We can bound the output by using a zener
diode. There are three types:
1.Bounded at positive value2.Bounded at negative value3.Double bounded
ZERO REFERENCE
![Page 15: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/15.jpg)
15
1.Bounded at positive value
+
_
Dz
R
+V
-V
VinVout
-0.7V
+Vz
0
ZERO REFERENCE
![Page 16: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/16.jpg)
16
2.Bounded at negative value
+
_
Dz
R
+V
-V
VinVout
+0.7V
-Vz
0
ZERO REFERENCE
![Page 17: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/17.jpg)
17
3.Double-bounded
+
_
Dz1
R
+V
-V
VinVout
Dz2
Vz2 + 0.7V
- (Vz1 + 0.7V)
0
ZERO REFERENCE
![Page 18: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/18.jpg)
18
NON-ZERO REFERENCES
In some applications a threshold voltage different from zero may be preferred. By biasing either input, we can change the threshold voltage as needed.
It also known as non-zero level detection
![Page 19: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/19.jpg)
19
Positive Threshold
)(21
2 VRR
RVref
Vin-V
Vin+
_Vref
Vref
Vout
Vout+V
+V
-Vsat
+Vsat
R2
R1
•When Vin > Vref, Vout is High (+Vsat)•When Vin < Vref, Vout is Low (-Vsat)
NON-ZERO REFERENCES
![Page 20: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/20.jpg)
20
Negative threshold If a negative limit is
preferred, connect –V to the voltage divider. +Vsat
Vref
-Vsat
Vin
Vout
•When Vin > Vref, Vout is High (+Vsat)•When Vin < Vref, Vout is Low (-Vsat)
NON-ZERO REFERENCES
![Page 21: 1 COMPARATORS Function: Compares two input voltages and produces an output in either of two states indicating…](https://reader036.fdocuments.us/reader036/viewer/2022081521/5a4d1bee7f8b9ab0599e525a/html5/thumbnails/21.jpg)
21
Using Zener diode
+
_
Vout
VzVout
Vin
Vin
Vref
+Vsat
-Vsat
+V
+V
-V
R t
t
CONDITIONS:
• Vref = Vz
•When Vin is less than Vref, the output remains at the max negative level
•When Vin is more than Vref, the output goes to the max positive level
NON-ZERO REFERENCES