Академический Документы
Профессиональный Документы
Культура Документы
Page 8.0-1
CHAPTER 8 COMPARATORS
Chapter Outline
8.1 Characterization of Comparators
8.2 Two-Stage, Open-Loop Comparators
8.3 Other Open-Loop Comparators
8.4 Improving the Performance of Open-Loop Comparators
8.5 Discrete-Time Comparators
8.6 High-Speed Comparators
8.7 Summary
Page 8.1-1
Page 8.1-2
What is a Comparator?
The comparator is essentially a 1-bit analog-digital converter.
Input is analog
Output is digital
Types of comparators:
Open-loop (op amps without compensation)
Regenerative (use of positive feedback - latches)
Combination of open-loop and regenerative comparators
Page 8.1-3
vP
vN
+
-
vO
Fig. 8.1-1
Static Characteristics
Gain
Output high and low states
Input resolution
Offset
Noise
Dynamic Characteristics
Propagation delay
Slew rate
Page 8.1-4
vo
VOH
VOH
vP-vN
vP-vN
VOL
VOL
Noninverting Comparator
Inverting Comparator
Fig. 8.1-2A
Page 8.1-5
Fig. 8.1-2
Model:
vP
+
vP-vN
vN
f0(vP-vN)
+
vO
Comparator
VOH for (vP-vN) > 0
f0(vP-vN) =
VOL for (vP-vN) < 0
Fig. 8.1-3
VOH-VOL
where V is the input voltage change
V
V 0
Gain = Av = lim
CMOS Analog Circuit Design
Page 8.1-6
vP-vN
VIH
VOL
Fig. 8.1-4
+
vP-vN
vN
f1(vP-vN)
+
vO
VOH VOL
The voltage gain is Av = V V
IH
IL
Comparator
VOH for (vP-vN) > VIH
f1(vP-vN) = Av(vP-vN) for VIL< (vP-vN)<VIH
VOL for (vP-vN) < VIL
Fig. 8.1-5
CMOS Analog Circuit Design
Page 8.1-7
VOS
VIL
vP-vN
VIH
VOL
Fig. 8.1-6
VOH+VOL
VOS = the input voltage necessary to make the output equal
when vP = vN.
2
Model:
vP
+vP'
VOSv '-v '
P N
vN
-v '
N
f1(vP'-vN')
Comparator
+
vO
Fig. 8.1-7
Page 8.1-8
;;
VOH
Rms Noise
vP-vN
VOL
Transition Uncertainty
Fig. 8.1-8
Noise leads to an uncertainty in the transition region which causes jitter or phase noise.
Page 8.1-9
V +V
vi = IH IL
2
t
Fig. 8.1-9
Page 8.1-10
Step Response:
vo(t) = Av(0) [1 - e-t/c]Vin
where
Vin = the magnitude of the step input.
Page 8.1-11
-t
/
c]V
p
=
A
(0)
[1
e
t
=
ln
v
in
p
c
VOH -VOL
2
1
2Av(0)Vin
tp = c ln V (min)
Vin(min) = Av(0)
in
1
2Vin
Define k as the ratio of the input step voltage, Vin, to the minimum input voltage, Vin(min),
Vin
2k
k = Vin(min)
tp = c ln 2k-1
Thus, if k = 1, tp = 0.693 c.
Illustration:
vout
VOH
+
-
vout
VOL
0 t t (max)
0 p p
t
Fig. 8.1-10
P.E. Allen - 2002
Page 8.1-12
Page 8.1-13
Page 8.2-1
Page 8.2-2
Two-Stage Comparator
An important category of comparators are those which use a high-gain stage to drive
their outputs between VOH and VOL for very small input voltage changes.
The two-stage op amp without compensation is an excellent implementation of a highgain, open-loop comparator.
VDD
M3
vin
+
M1
M6
vout
M2
CL
+
VBias
-
M4
M7
M5
VSS
Fig. 8.2-1
Page 8.2-3
8I7
1 - (V -V (min)-|V |)2
VOH = VDD - (VDD-VG6(min)-|VTP|)1
6 DD G6
TP
Minimum output voltage
VOL = VSS
Small-signal voltage gain
gm1 gm6
Av(0) = gds2+gds4gds6+gds7
Poles
Input:
Output:
-(gds2+gds4)
-(gds6+gds7)
p
=
p1 =
2
CI
CII
Frequency response
Av(0)
Av(s) = s
s
p - 1 p - 1
1
2
Page 8.2-4
8234x10-6
= 2.2V
1 - 50x10-6
38(2.5-0-0.7)2
The value of VOL is -2.5V. The gain was evaluated in Ex. 6.3-1 as Av(0) = 7696.
Therefore, the input resolution is
VOH-VOL 4.7V
Vin(min) = Av(0) = 7696 = 0.611mV
Next, we find the poles of the comparator, p1 and p2. From Ex. 6.3-1 we find that
gds2 + gds4
15x10-6(0.04+0.05)
p1 = =
= -6.75x106 (1.074MHz)
CI
0.2x10-12
and
gds6 + gds7
95x10-6(0.04+0.05)
=
= -1.71x106 (0.272MHz)
p2 = CII
5x10-12
Page 8.2-5
p2etp1 p1etp2
vout(t) = Av(0)Vin1 + p -p - p -p
1 2
1 2
Normalizing gives,
p2
vout(t)
m
1
vout(tn ) = A (0)V = 1 - m-1e-tn + m-1e-mtn where m = p 1 and
v
in
1
t
p
t
p
If p1 = p2 (m =1), then
vout(tn) = 1 - e 1 + tp1e 1 = 1 - e-tn - tne-tn
tn = -tp1
m=4
0.8
m=2
m = 1 m = 0.5
m = 0.25
0.6
0.4
p2
m= p
1
0.2
0
2
4
6
Normalized Time (tn = -tp1 )
10
Fig. 8.2-2
Page 8.2-6
ln(m)
exp
- exp -m
=
dtn
m-1 m-1
m-1
For the two-stage comparator using NMOS input transistors, the slew rate is
I7
SR- = CII
SR+
I6-I7 0.56(VDD-VG6(min)-|VTP|)2 - I7
= CII =
CII
Page 8.2-7
Page 8.2-8
m
1
vout(tn) = Av(0)Vin 1 - m-1e-tn + m-1e-mtn
cant be easily solved so approximate the step response as a power series to get
tn2
m2tn2 mtn2Av(0)Vin
m
1
2
2
or
Vin(min)
1
=
mVin
mk
This approximation is particularly good for large values of k.
tpn
VOH+VOL
mAv(0)Vin =
Page 8.2-9
Page 8.2-10
i3
M3
i1
vG1
M1
M4 vo1
M6
CI
i2
M2
vout
vG2
CII
M7
Fig. 8.2-3
Page 8.2-11
7ISS
12
56(VDD-vo1-|VTP|)
4.) Assume vG2 = VREF and vG1 << VREF, therefore i2 = ISS and i1 = 0.
Same as in 3.) but now as vo1 approaches vS2 with ISS/2 flowing, the value of vGS2
becomes larger and M5 becomes active and ISS decreases. In the limit, ISS 0,vDS2 0
and vDS5 0 resulting in
vo1 VSS
and
1-
7ISS
56(VDD-VSS-|VTP|)2
Page 8.2-12
7ISS
156(VDD-vo1-|VTP|)2
6.) Assume that vG1 = VREF and vG2 >> VREF. When the source voltage of M1 or M2
causes M5 to be active, then ISS decreases and
7ISS
12
56(VDD -VSS-|VTP|)
7.) Assume vG1 = VREF and vG2 < VREF and i1 <ISS and i2 > 0. Consequently, i4>i2
which causes vo1 to increase. When M4 becomes active i4 decreases until i2 = i4 at
which vo1 stabilizes at (M6 will be off under these conditions and vout VSS).
vG2 < VREF, i1 < ISS and i2 > 0
VDD - VSD4(sat) < vo1 < VDD,
CMOS Analog Circuit Design
Page 8.2-13
VDD
VSS
VSS
VDD
VSS
VSS
Page 8.2-14
VDD
M6
i6
+
vin
-
vout
i7
M7
VSS
Fig. 8.2-4
KN(W7/L7)
KP(W6/L6) (VBias- VSS -VTN)
Example:
If W7/L7 = W6/L6, VDD = 2.5V, VSS = -2.5V, and VBias = 0V the trip point for the
circuit above is
VTRP = 2.5 - 0.7 - 110/50 (0 +2.5 -0.7) = -0.870V
Page 8.2-15
Page 8.2-16
vG2
2.5V
0V
0.2
-2.5V
0.4
0.6
t(s)
M8
4.5m
M5 1m
VSS = -2.5V
35m
1m
M7
Fig. 8.2-5A
Fig. 8.2-5
Solution
1.) Total delay = sum of the first and second stage delays, t1 and t2
2.) First, consider the change of vG2 from -2.5V to 2.5V at 0.2s.
The last row of Table 8.2-1 gives vo1 = +2.5V and vout = -2.5V
3.) tf1, requires CI, Vo1, and I5. CI = 0.2pF, I5 = 30A and V1 can be calculated by
finding the trip point of the output stage/
CMOS Analog Circuit Design
Page 8.2-17
2342
2 = 234A V
(V
-|V
|)
=
0.7
+
SG6
5038 = 1.196V
2 SG6 TP
Therefore, the trip point of the second stage is VTRP2 = 2.5 - 1.196 = 1.304V
Therefore, V1 = 2.5V - 1.304V = VSG6 = 1.196V. Thus the falling propagation time
delay of the first stage is
1.196V
tfo1 = 0.2pF 30A = 8 ns
5.) The rising propagation time delay of the second stage requires CII, Vout, and I6. CII
is given as 5pF, Vout = 2.5V (assuming the trip point of the circuit connected to the
output of the comparator is 0V), and I6 can be found as follows:
VG6(guess) 0.5[VG6(I6=234A) + VG6(min)]
VG6(min) = VG1 - VGS1(ISS/2) + VDS2 -VGS1(ISS/2) = -0.7 -
215
1103 = -1.00V
3850
2 (2.348 - 0.7)2 = 2,580A
Page 8.2-18
2.5V
trout = 5pF 2,580A-234A = 5.3 ns
Thus the total propagation time delay of the rising output of the comparator is
approximately 13.3 ns and most of this delay is attributable to the first stage.
7.) Next consider the change of vG2 from 2.5V to -2.5V which occurs at 0.4s. We shall
assume that vG2 has been at 2.5V long enough for the conditions of Table 8.2-1 to be
valid. Therefore, vo1 VSS = -2.5V and vout VDD. The propagation time delays for the
first and second stages are calculated as
3V
vout
1.304V-(-1.00V)
= 15.4 ns
tro1 = 0.2pF
2V
30A
VTRP6 = 1.304V
2.5V
tfout = 5pF 234A = 53.42ns
8.) The total propagation time delay of the
falling output is 68.82 ns. Taking the
average of the rising and falling propagation
time delays gives a propagation time delay
for this two-stage, open-loop comparator of
about 41.06ns.
1V
0V
-1V
-2V
vo1
Rising prop.
delay time
-3V
200ns
300ns
Falling prop.
delay time
400ns
Time
500ns
600ns
Fig. 8.2-6
Page 8.2-19
Design Relationships
|pII|CII
1
|pI| = |pII| =
,
and I7 = I6 = +
tp mk
N P
W6
2I6
W7
2I7
and
=
L6 = K (V
L
2
7 KN(VDS7(sat))2
P SD6(sat))
2CI
Guess CI as 0.1pF to 0.5pF
I5 = I7 C
II
I5
W3 W 4
=
=
L3 L4 K (V
2
P SG3-|VTP|)
Av(0)(gds2+gds4)(gds6+gds7) W 1 W 2 gm12
L1 = L2 = KNI5
gm6
Find CI and check assumption
gm1 =
CI = Cgd2+Cgd4+Cgs6+Cbd2+Cbd4
2I5
W5
VDS5(sat) = Vicm--VGS1-VSS L =
5 KN(VDS5(sat))2
Comments
Choose m = 1
VSD6(sat) = VDD-VOH
VDS7(sat) = VOL - VSS
A result of choosing m = 1.
Will check CI later
VSG3 = VDD-Vicm++VTN
gm6 =
2KPW6I6
VOH-VOL
A
(0)
=
v
L6
Vin(min)
Page 8.2-20
Page 8.2-21
W3 W 4
L3 = L4 = 4
W1 W 2
L1 = L2 = 6
Page 8.2-22
10A 2/1
M10
M8
2/1
M11
10A
M5
M9
2/1
40A
40A
8/1
VSS
CMOS Analog Circuit Design
3/1
M12
M7
400A
29/1
Fig. 8.2-7
P.E. Allen - 2002
Page 8.2-23
Design Relationships
dvout CII(VOH-VOL)
I7 = I6 = CII dt =
tp
Comments
Assume the trip point of the output is (VOHVOL)/2. Let tp1 = tp2 = 0.5tp
W6
2I6
W7
2I7
and L =
L6 = K (V
2
7 KN(VDS7(sat))2
P SD6(sat))
Guess CI as 0.1pF to 0.5pF
VSD6(sat) = VDD-VOH
Typically 0.1pf<CI<0.5pF
dvo1 CI(VOH-VOL)
I5 = CI dt
tp
W3 W 4
I5
L3 = L4 = K (V
2
P SG3-|VTP|)
VSG3 = VDD-Vicm++VTN
Av(0)(gds2+gds4)(gds6+gds7) W1 W 2 gm12
L1 = L2 = KNI5
gm6
Find CI and check assumption
CI = Cgd2+Cgd4+Cgs6+Cbd2+Cbd4
VOH-VOL
Av(0) = V (min)
in
If CI is greater than the guess in step 3, increase
the value of CI and repeat steps 4 through 6
W5
2I5
VDS5(sat) = Vicm--VGS1-VSS L =
5 KN(VDS5(sat))2
1
2
gm1 =
7
8
gm6 =
and
2KPW6I6
L6
Page 8.2-24
L3 L4 50(1.2-0.7)2
L3 = L4 = 2
CMOS Analog Circuit Design
Page 8.2-25
W 3 W 4 (81)2
L3 = L4 = 11040 = 1.49
W1 W 2
L1 = L2 = 2
Page 8.2-26
SUMMARY
The two-stage, open-loop comparator has two poles which should as large as possible
The transient response of a two-stage, open-loop comparator will be limited by either
the bandwidth or the slew rate
It is important to know the initial states of a two-stage, open-loop comparator when
finding the propagation delay time
If the comparator is gainbandwidth limited then the poles should be as large as possible
for minimum propagation delay time
If the comparator is slew rate limited, then the current sinking and sourcing ability
should be as large as possible
Page 8.3-1
Page 8.3-2
Push-Pull Comparators
Clamped:
VDD
M6
M4
M8
M3
vin
+
M1
vout
M2
CL
M5
+
VBias
-
M9
VSS
M7
Fig. 8.3-1
Comments:
Gain reduced Larger input resolution
Push-pull output Higher slew rates
Page 8.3-3
M4
M15
M8
M3
vin
+
M1
M2
M14
M7
R2
R1
M9
vout
M12
M10
M5
+
VBias
-
CII
M11
M13
VSS
Fig. 8.3-2
Comments:
Can also use the folded cascode architecture
Cascode output stage result in a slow linear response (dominant pole is small)
Poorer noise performance
CMOS Analog Circuit Design
Page 8.3-4
M8
M3
M10
M4
M6
vin
+
M1
vout
M2
CII
+
VBias
-
M5
M7
VSS
M9
M11
Fig. 8.3-3
Comments:
Slew rate = 3V/s into 50pF
Linear rise/fall time = 100ns into 50pF
Propagation delay time 1s
Loop gain 32,000 V/V
CMOS Analog Circuit Design
Page 8.3-5
VDD
M6
M6
M4
M3
M4
M3
vin+
vin-
vout
vin+
M1
M1
Extremely
large sourcing
current
vinM2
M2
M5
VBias
M5
VSS
VSS
Fig. 8.3-4
Advantage:
Large sink or source current with out a large quiescent current.
Disadvantage:
Poor common mode range (vin+ slower than vin-)
M. Bazes, Two Novel Full Complementary Self-Biased CMOS Differential Amplifiers, IEEE Journal of Solid-State Circuits, Vol. 26, No. 2, Feb.
CMOSpp.
Analog
Circuit Design
P.E. Allen - 2002
1991,
165-168.
Page 8.4-1
Page 8.4-2
Autozeroing Techniques
Use the comparator as an op amp to sample the dc input offset voltage and cancel the
offset during operation.
Ideal
Comparator
Ideal
Comparator
vIN
VOS
Ideal
Comparator
VOS
vOUT
+ VOS
VOS
VOS
+
-C
CAZ
AZ
Model of Comparator.
Autozero Cycle
Comparison Cycle
Fig. 8.4-1
Comments:
The comparator must be stable in the unity-gain mode (self-compensating comparators
are good, the two-stage op comparator would require compensation to be switched in
during the autozero cycle.)
Complete offset cancellation is limited by charge injection
Page 8.4-3
vIN-
1Ideal
Comparator
vIN+
vOUT
VOS
CAZ 1
+
VOS
-
vOUT = VOS
VOS
Comparator during 1 phase
vIN
vOUT
+
vIN+ + VOS VOS
Comparator during 2 phase
Fig. 8.4-2
Page 8.4-4
1 CAZ
- 1
+
vOUT
1
Fig. 8.4-3
Inverting:
vIN
CAZ
2
- 1
vOUT
+
Fig. 8.4-4
Comment on autozeroing:
Need to be careful about noise that gets sampled onto the autozeroing capacitor and is
present on the comparison phase of the process.
CMOS Analog Circuit Design
Page 8.4-5
vin
t
VOH
vout
t
VOL
Fig. 8.4-6A
VTRP+
VTRPVOH
vout
t
VOL
CMOS Analog Circuit Design
Fig. 8.4-6B
P.E. Allen - 2002
Page 8.4-6
vOUT
VOH
R1 (V -V )
R2 OH OL
0
0
VTRP+
vIN
VTRP-
VOH
VTRP+
vIN
VTRP-
VOL
VOL
Counterclockwise Bistable
Clockwise Bistable
Fig. 8.4-5
Page 8.4-7
R1
vOUT
Fig. 8.4-7
R1VOL
R2
OH
R1 (V -V )
R2 OH OL
0
0
R1VOH
R2
vIN
VOL
V
TRP
R2 VOL
2
2
1
1
Lower Trip Point:
Assume that vOUT = VOH, the lower trip point occurs when,
R1
R2
R1
VTRP- = - R2 VOH
0 = R1+R2VOH + R1+R2VTRP
Page 8.4-8
vOUT
R1
R2
VOH
R1 (V -V )
R1+R2 OH OL
0
0
R1VOL
R1+R2
VOL
vIN
R1VOH
R1+R2
Fig. 8.4-8
2
1
+
Vin = VTRP -VTRP = R +R VOH -VOL
1
2
2
1
Page 8.4-9
R2
R1
vIN
vOUT
R1+R2
R2 VREF
0
0
VREF
Fig. 8.4-9
R1 (V -V )
R2 OH OL
R1VOH
R2
VOL
vIN
R1|VOL|
R2
R1+R2
R1
VTRP+ = R VREF - R VOL
2
2
R1+R2
R1
VTRP- = R2 VREF - R2 VOH
Shifting Factor:
R1+R2
V
R
2 REF
Page 8.4-10
vOUT
vOUT
R1
R2
VOH
R1 (V -V )
R1+R2 OH OL
R2
R1+R2VREF
0
0
VREF
VOL
R1|VOL|
R1+R2
vIN
R1VOH
R1+R2
Fig. 8.4-10
Shifting Factor:
R
2
R +R VREF
2
1
CMOS Analog Circuit Design
Page 8.4-11
and
R1
R2
0 = R1+R2 (-2) + R1+R2VREF
Page 8.4-12
IBias
M6
M4
M7
vo1
vi1
vo2
M8
vi2
M2
M1
M5
Fig. 8.4-11
VSS
Page 8.4-13
VDD
vo1
vo2 is high.
M3 M6
M7 M4
M1
M2
i2 = i6
i1 = i3
vo2
W6/L6
vin
M6 would like to source the current i6 = W 3L3 i1
M5
I5
As vin begins to increase towards the trip point, the
current flow through M2 increases. When i2 = i6,
Fig. 8.4-12A
VSS
the upper trip point will occur.
W 6 /L 6
W6/L6
i5
Also, i2 = i5 - i1 = i5 - i3
Knowing i1 and i2 allows the calculation of vGS1 and vGS2 which gives
VTRP+ = vGS2 - vGS1 =
CMOS Analog Circuit Design
2i2
2 + VT2 -
2i1
1 - VT1
P.E. Allen - 2002
Page 8.4-14
W7/L7
i5
Also, i1 = i5 - i2 = i5 - i4
Knowing i1 and i2 allows the calculation of vGS1 and vGS2 which gives
VTRP- = vGS2 - vGS1 =
2i2
2 + VT2 -
2i1
1 - VT1
Page 8.4-15
vGS1 =
2i
1 1/2
+
1
23.33 1/2
VT1 = (5)110 +0.7 = 0.81V
2i2 1/2
216.67 1/2
vGS2 = + VT2 = (5)110 + 0.7 = 0.946V
Page 8.4-16
Page 8.4-17
IBias
M6
M4
M7
M9
M8
vi1
M2
M1
M10
M8
vout
M11
M5
VSS
vi2
Fig. 8.4-14
Page 8.4-18
Schmitt Trigger
The Schmitt trigger is a circuit that has better defined switching points.
Consider the following circuit:
How does this circuit work?
VDD
Assume the input voltage, vin, is low and the output
M5
voltage, vout , is high.
M3, M4 and M5 are on and M1, M2 and M6 are off.
When vin is increased from zero, M2 starts to turn on causing
M4
M3
vout
vin
M3 to start turning off. Positive feedback causes M2 to turn
on further and eventually both M1 and M2 are on and the
M6
output is at zero.
M2
The upper switching point, VTRP+ is found as follows:
When vin is low, the voltage at the source of M2 (M3) is
M1
vS2 = VDD-VTN3
Fig. 8.4-15
VTRP+ occurs when the input voltage causes the currents in M3 and M1 to be equal.
Page 8.4-19
VTRP- =
1 + 5/6
vout
VDD
0 0
VTRP-
VTRP+ VDD
vin
Fig. 8.4-16
CMOS Analog Circuit Design
Page 8.4-20
SUMMARY
Open-loop, continuous-time comparators can be improved in the areas of:
- Current sinking and sourcing
- Removal of offset voltages
- Removal of the influence of a noisy signal through hysteresis
Comparators with hysteresis (positive feedback)
- External
- Internal
Page 8.5-1
Page 8.5-2
VC -
+
C
Cp
+
VOS
V1 - VOS
+ -
Vout
A
V2
Cp
VOS
-
Vout
VOS
-
1 Phase:
The V1 input is sampled and the dc input offset voltage is autozeroed.
Fig. 8.5-1
C
Cp
C
C
= -A (V2-V1) C+Cp + VOSC+Cp + C+Cp + AVOS = -A(V2-V1) C+Cp A(V1-V2)
if Cp is smaller than C.
CMOS Analog Circuit Design
Page 8.5-3
2
1
+-
vin
-
1
- +
2
1
+
vout
-
Fig. 8.5-2
Comments:
Reduces the influence of charge injection
Eliminates even harmonics
Page 8.5-4
Regenerative Comparators
Regenerative comparators use positive feedback to accomplish the comparison of two
signals. Latches have a faster switching speed that the previous bistable comparators.
NMOS and PMOS latch:
VDD
VDD
I1
I2
vo1
vo2
vo1
vo2
I1
M2
M1
M2
M1
NMOS latch
I2
PMOS latch
Fig. 8.5-3
Page 8.5-5
VDD
I1
VDD
I2
vo2
vo1
M1
C1
Vo2
V '
gm1Vo2 R1 so1
-
M2
C2
Vo1
Vo2
V '
gm2Vo1 R2 so2
Fig. 8.5-4
Vo1
gm1Vo2+G1Vo1+sC Vo1- s = gm1Vo2+G1Vo1+sC1V o1-C1Vo1 = 0
Vo2
gm2Vo1+G2Vo2+sC Vo2- s = gm2Vo1+G2Vo2+sC2V o2-C2Vo2 = 0
2
R2C2
gm2R2
gm2R2
Vo2 = sR C +1 Vo2 - sR C +1 Vo1 = s +1 Vo2 - s +1 Vo1
2 2
2 2
Vo = Vo2-Vo1
CMOS Analog Circuit Design
and
V i = V o2-V o1
P.E. Allen - 2002
Page 8.5-6
= 1-gmR
Taking the inverse Laplace transform gives
L gmR = gm =
= 0.67Cox
2K(W/L)I
if C Cgs.
Vout(t) = et/L Vi
WL 3
2KI
Page 8.5-7
0.5
0.4
0.3
0.8
Vout
VOH-VOL
0.2
0.1
0.05
0.6
Vi
VOH-VOL
0.03
0.01
0.4
0.005
0.2
0
0
t
L
5
Fig. 8.5-5
VOH- VOL
The propagation delay time is tp = L ln 2 V
i
Page 8.5-8
Page 8.5-9
W1
W2
1
=
K
L (vin+ - VT) + L (VREF- - VT)
VREFN
R1
and
W
W2
1
1
+
R2 = KN L (vin - VT) + L (VREF - VT)
3.) The input voltage which causes R1 and R2 to be equal is given by
vin(threshold) = (W2/W1)VREF
W2/W1 = 1/4 generates a threshold of 0.25VREF.
Performance 20Ms/s & 200W
VDD
1
M10 Latch
/Reset
1
M6
M8
M4
voutM2
R2
M1
vin-
VREF+
Fig. 8.5-6
T.B. Cho and P.R. Gray, A 10b, 20Msamples/s, 35mW pipeline A/D Converter, IEEE J. Solid-State Circuits, vol. 30, no. 3, pp. 166-172, March
1995.
CMOS Analog Circuit Design
P.E. Allen - 2002
Page 8.5-10
M10
M5
M6
vout+
voutM4
M3
vin+
M8
M7
M1
vin-
M2
Fig. 8.5-7
A. Coban, 1.5V, 1mW, 98-dB Delta-Sigma ADC, Ph.D. dissertation, School of ECE, Georgia Tech, Atlanta, GA 30332-0250.
CMOS Analog Circuit Design
P.E. Allen - 2002
Chapter 8 Section 5 (4/8/02)
Page 8.5-11
Dynamic Latch
Circuit:
VDD
Latch
M8
VREF
M6
M4 +
vout
M3
vin
vout-
M7
M1
Latch
M2
M5
Fig. 8.5-8
Number
of Samples
;;
;;;
;;;
;;
;;;
;;;
= 5.65
-15
L = 1.2m
(0.6m Process)
-10 -5
0
5
10
Input offset voltage (mV)
15
Fig. 8.5-9
Page 8.5-12
SUMMARY
Discrete-time comparators must work with clocks
Switched capacitor comparators use op amps to transfer charge and autozero
Regenerative comparators (latches) use positive feedback
The propagation delay of the regenerative comparator is slow at the beginning and
speeds up rapidly as time increases
The highest speed comparators will use a combination of open-loop comparators and
latches
Page 8.6-1
Page 8.6-2
A0
sT+1
A0
sT+1
A0
sT+1
A0
sT+1
A0
sT+1
Linear
small
signal
Linear
small
signal
Linear
& large
signal
Large
signal
small C
Large
signal
bigger C
Large
signal
big C
Fig. 8.6-1
Page 8.6-3
Page 8.6-4
Cv1
Reset
C1
Cv3
+ -+
Cv2
C2
FB
FB
Cv5
+ -
+ -+
-+
Reset
Reset
Cv4
FB
+
Latch vout
-
Reset
Cv6
FB
FB
Clock
+ vin -
Fig. 8.6-3
Comments:
Autozero and reset phase followed by comparison phase
More switches are needed to accomplish the reset and autozero of all preamplifiers
simultaneously
Can run as high as 100Msps
Page 8.6-5
VDD
KN(W1/L1)
Kp(W3/L3)
Dominant Pole:
gm3 gm4
|pdominant| = C = C
where C is the capacitance seen from the
output nodes to ground.
M3
FB
M4
Q
Reset
Q
FB
M1
M5
M6
M2
Latch
Enable
If (W1/L1)/(W3/L3) = 100 and the
bias current is 100A, then A = -3.85
Latch
Preamplifier
and the bandwidth is 15.9MHz if C =
0.5pF.
VBias
Comments:
Fig. 8.6-4
If a buffer is used to reduce the output
capacitance, one must take into account the loss of the buffer.
The use of a preamplifier before the latch reduces the latch offset by the gain of the
preamplifier so that the offset is due to the preamplifier only.
CMOS Analog Circuit Design
Page 8.6-6
An Improved Preamplifier
Circuit:
VDD
VBiasP
vout- M5
M3
VBiasP
M4
M6
vout+
Reset
M12
M10
FB M11
FB
M8
M7
VBias
vin+
vin-
M2
M1
VBiasN
M9
Fig. 8.6-5
Gain:
KN(W1/L1)I1
KN(W1/L1)
=
KP(W3/L3)
KP(W3/L3)I3
If I5 = 24I3, the gain is increased by a factor of 5
gm1
Av = - gm3 = -
I5
1+I3
Page 8.6-7
vin=VREF
vin=VREF VPR
VREF-VT+V
S2
vin-VT
S1
CT
CO
+
vout
-
CT
vin = VREF+V
CO
+
vout
=VPR
-
Precharge phase.
CT
CO
+
vout =VPR -CT V
CO
Amplification phase.
Fig. 8.6-6
Comments:
Only positive values of voltage will be amplified.
Large offset voltages result as a function of the subthreshold current.
Page 8.6-8
VDD
CT
VPR
S1
M2
S3
S2
vout
vin
CT
S3
S1
M1
CO
Fig. 8.6-7
Comments:
NMOS and PMOS allow both polarities of input
CMOS switches along with dummy switches reduce the charge injection
Switch S3 prevents the subthreshold current influence
Used as a preamplifier in a comparator with 8-bit resolution at 20Msps and a power
dissipation of less than 5W
Page 8.6-9
A High-Speed Comparator
Circuit:
VDD
Self-biased
diff amp Output
Driver
Preamp
vout
vin+
vin-
IBias
Latch
Fig. 8.6-8
Comments:
Designed to have a tp = 10ns with a 5pF load and a 10mV overdrive
Not synchronous
Comparator gain is greater than 2000V/V and the quiescent current was 100A
CMOS Analog Circuit Design
Page 8.6-10
CHAPTER 8 - SUMMARY
Types of Comparators Presented
High-gain, open-loop
Improved high-gain, open-loop, comparators
Hysteresis
Autozeroing
Regenerative comparators
Discrete-time comparators
Performance Characterization
Propagation delay time
Binary output swing
Input resolution and/or gain
Input offset voltage
Power dissipation
Important Principles
The speed of the comparator depends on the linear and slewing responses
The dc input offset voltage depends on the matching and is reduced by autozeroing.
Charge injection is the limit of autozeroing
The comparator gain should be large enough for a binary output when vin = Vin(min)
Cascaded comparators, the first stages should large GB and the last stages high SR
CMOS Analog Circuit Design