Sunteți pe pagina 1din 12

Lecture 390 Open-Loop Comparators (4/8/02) Page 390-1

ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002


LECTURE 390 OPEN-LOOP COMPARATORS
(READING: AH 461-475)
Objective
The objective of this presentation is:
1.) Show other types of continuous-time, open-loop comparators
2.) Improve the performance of continuous-time, open-loop comparators
Outline
Push-pull comparators
Comparators that can drive large capacitors
Autozeroing techniques
Comparators using hysteresis
Summary
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-2
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Push-Pull Comparators
Clamped:
-
+
v
in
M1 M2
M3
M4
M5
M6
v
out
V
DD
V
SS
V
Bias
+
-
C
L
M9
M8
M7
Fig. 8.3-1
Comments:
Gain reduced Larger input resolution
Push-pull output Higher slew rates
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-3
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Push-Pull Comparators - Improved
Cascode output stage:
-
+
v
in
M1 M2
M3
M4
M5
M6
M11
v
out
V
DD
V
SS
V
Bias
+
-
C
II
R
1
M9
M10
R
2
M14
M15
M8
M12
M7
M13
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
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-4
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Comparators that Can Drive Large Capacitive Loads
-
+
v
in
M1 M2
M3 M4
M5
M6
M7
v
out
V
DD
V
SS
V
Bias
+
-
C
II
M8
M9
M10
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
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-5
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Self-Biased Differential Amplifier

M1 M2
M3
M4
M6
M5
V
DD
V
SS
v
in
+ v
in
-
v
out
M3 M4
M6
V
DD
M1 M2
M5
V
SS
v
in
+
v
in
-
V
Bias
V
Bias
Extremely
large sourcing
current
Fig. 8.3-4
Advantage:
Large sink or source current with out a large quiescent current.
Disadvantage:
Poor common mode range (v
in
+
slower than v
in
-
)

M. Bazes, Two Novel Full Complementary Self-Biased CMOS Differential Amplifiers, IEEE Journal of Solid-State Circuits, Vol. 26, No. 2, Feb.
1991, pp. 165-168.
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-6
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Autozeroing Techniques
Use the comparator as an op amp to sample the dc input offset voltage and cancel the
offset during operation.
+
-
V
OS
V
OS
+
-
Ideal
Comparator
+
-
V
OS
Ideal
Comparator
C
AZ
V
OS
+
-
+
-
V
OS
Ideal
Comparator
C
AZ
v
IN
v
OUT
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
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-7
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Differential Implementation of Autozeroed Comparators
V
OS
+
-
+
-
V
OS
Ideal
Comparator
C
AZ
v
IN
-
v
OUT

2
+
-
V
OS
v
OUT
= V
OS
V
OS
+ -
+
-
V
OS
Comparator during
1
phase
Comparator during
2
phase
Differential Autozeroed Comparator
v
OUT
Fig. 8.4-2
v
IN
+

2
v
IN
+
v
IN
-
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-8
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Single-Ended Autozeroed Comparators
Noninverting:
+
-

1
C
AZ

1
v
OUT
v
IN
Fig. 8.4-3
Inverting:
+
-

2
C
AZ

1
v
OUT
v
IN
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.
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-9
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Influence of Input Noise on the Comparator
Comparator without hysteresis:
v
in
v
out
V
OH
V
OL
Comparator
threshold
t
t
Fig. 8.4-6A
Comparator with hysteresis:
v
in
v
out
V
OH
V
OL
t
t
V
TRP
+
V
TRP
-
Fig. 8.4-6B
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-10
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Use of Hysteresis for Comparators in a Noisy Environment
Transfer curve of a comparator with hysteresis:
v
OUT
v
IN
V
TRP
+
V
TRP
-
V
OH
V
OL
Fig. 8.4-5
v
OUT
v
IN
V
OH
V
OL
0
0
R
1
R
2
(V
OH
-V
OL
)
V
TRP
+
V
TRP
-
Counterclockwise Bistable Clockwise Bistable
Hysteresis is achieved by the use of positive feedback
Externally
Internally
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-11
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Noninverting Comparator using External Positive Feedback
Circuit:
Upper Trip Point:
Assume that v
OUT
= V
OL
, the upper trip point occurs when,
0 =
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OL
+
\
|
|
[
)
j
j

R
2
R
1
+R
2
V
TRP
+
V
TRP
+
= -
R
1
R
2
V
OL

Lower Trip Point:
Assume that v
OUT
= V
OH
, the lower trip point occurs when,
0 =
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OH
+
\
|
|
[
)
j
j

R
2
R
1
+R
2
V
TRP
-
V
TRP
-
= -
R
1
R
2
V
OH

Width of the bistable characteristic:
V
in
= V
TRP
+
-V
TRP
-
=
\
|
|
[
)
j
j

R
1
R
2

\
[
)

V
OH
-V
OL
v
OUT
v
IN
V
OH
V
OL
+
-
v
OUT
v
IN
R
1
R
2
R
1
V
OH
R
2
R
1
V
OL
R
2
Fig. 8.4-7
0
0
R
1
R
2
(V
OH
-V
OL
)
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-12
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Inverting Comparator using External Positive Feedback
Circuit:
+
-
v
OUT
v
IN
R
1
R
2
v
OUT
v
IN
V
OH
V
OL
R
1
V
OH R
1
V
OL
Fig. 8.4-8
0
0
R
1
R
1
+R
2
(V
OH
-V
OL
)
R
1
+R
2
R
1
+R
2
Upper Trip Point:
v
IN
= V
TRP
+
=
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OH

Lower Trip Point:
v
IN
= V
TRP
-
=
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OL

Width of the bistable characteristic:
V
in
= V
TRP
+
-V
TRP
-
=
\
|
|
[
)
j
j

R
1
R
1
+R
2

\
[
)

V
OH
-V
OL
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-13
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Horizontal Shifting of the CCW Bistable Characteristic
Circuit:
v
OUT
v
IN
V
OH
V
OL
+
-
v
OUT
v
IN
R
1
R
2
R
1
V
OH
R
2
Fig. 8.4-9
0
0
R
1
R
2
(V
OH
-V
OL
)
V
REF
R
1
|V
OL
|
R
2
R
1
+R
2
R
2
V
REF
Upper Trip Point:
V
REF
=
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OL
+
\
|
|
[
)
j
j

R
2
R
1
+R
2
V
TRP
+
V
TRP
+
=
\
|
|
[
)
j
j

R
1
+R
2
R
2
V
REF
-
R
1
R
2
V
OL

Lower Trip Point:
V
REF
=
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OH
+
\
|
|
[
)
j
j

R
2
R
1
+R
2
V
TRP
-
V
TRP
-
=
\
|
|
[
)
j
j

R
1
+R
2
R
2
V
REF
-
R
1
R
2
V
OH

Shifting Factor:
\
|
|
[
)
j
j
R
1
+R
2
R
2
V
REF

Lecture 390 Open-Loop Comparators (4/8/02) Page 390-14
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Horizontal Shifting of the CW Bistable Characteristic
Circuit:
+
-
v
OUT
v
IN
R
1
R
2
Fig. 8.4-10
V
REF
v
OUT
v
IN
V
OH
V
OL
R
1
|V
OL
|
0
0
R
1
(V
OH
-V
OL
)
R
1
V
OH
R
1
+R
2
R
1
V
REF
R
1
+R
2
R
1
+R
2
R
1
+R
2
Upper Trip Point:
v
IN
= V
TRP
+
=
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OH
+
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
REF

Lower Trip Point:
v
IN
= V
TRP
-
=
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
OL
+
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
REF

Shifting Factor:
\
|
|
[
)
j
j
R
1
R
1
+R
2
V
REF
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-15
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Example 8.4-1 Design of an Inverting Comparator with Hysteresis
Use the inverting bistable to design a high-gain, open-loop comparator having an
upper trip point of 1V and a lower trip point of 0V if V
OH
= 2V and V
OL
= -2V.
Solution
Putting the values of this example into the above relationships gives
1 =
\
|
|
[
)
j
j

R
1
R
1
+R
2
2 +
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
REF

and
0 =
\
|
|
[
)
j
j

R
1
R
1
+R
2
(-2) +
\
|
|
[
)
j
j

R
1
R
1
+R
2
V
REF

Solving these two equations gives 3R
1
= R
2
and V
REF
= 2V.
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-16
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Hysteresis using Internal Positive Feedback
Simple comparator with internal positive feedback:
V
SS
I
Bias
v
o1 v
o2
v
i1
v
i2
M1
M2
M3 M4 M6 M7
M5 M8
V
DD
Fig. 8.4-11
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-17
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Internal Positive Feedback - Upper Trip Point
Assume that the gate of M1 is on ground and the
input to M2 is much smaller than zero. The
resulting circuit is:
M1 on, M2 off M3 and M6 on, M4 and M7 off.
v
o2
is high.
M6 would like to source the current i
6
=
W
6
/L
6
W
3
/L
3
i
1
As v
in
begins to increase towards the trip point, the
current flow through M2 increases. When i
2
= i
6
,
the upper trip point will occur.
i
5
= i
1
+i
2
= i
3
+i
6
= i
3
+
\
|
|
[
)
j
j
W
6
/L
6
W
3
/L
3
i
3
= i
3

|
|
|
|
|
|
|
|
1 +
W
6
/L
6
W
3
/L
3
i
1
= i
3
=
i
5
1 + [(W
6
/L
6
)/(W
3
/L
3
)]
Also, i
2
= i
5
- i
1
= i
5
- i
3
Knowing i
1
and i
2
allows the calculation of v
GS1
and v
GS2
which gives
V
TRP
+
= v
GS2
- v
GS1
=
2i
2

2
+ V
T2
-
2i
1

1
- V
T1
V
SS
v
o1 v
o2
M1
M2
M3
M4
M6
M7
M5
V
DD
Fig. 8.4-12A
I
5
i
1
= i
3

v
in
i
2
= i
6

Lecture 390 Open-Loop Comparators (4/8/02) Page 390-18
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Internal Positive Feedback - Lower Trip Point
Assume that the gate of M1 is on ground and the input
to M2 is much greater than zero. The resulting circuit
is:
M2 on, M1 off M4 and M7 on, M3 and M6 off.
v
o1
is high.
M7 would like to source the current i
7
=
W
7
/L
7
W
4
/L
4
i
2
As v
in
begins to decrease towards the trip point, the
current flow through M1 increases. When i
1
= i
7
, the
lower trip point will occur.
i
5
= i
1
+i
2
= i
7
+i
4
=
\
|
|
[
)
j
j
W
7
/L
7
W
4
/L
4
i
4
+i
4
= i
4

|
|
|
|
|
|
|
|
1 +
W
7
/L
7
W
4
/L
4

i
2
= i
4
=
i
5
1 + [(W
7
/L
7
)/(W
4
/L
4
)]
Also, i
1
= i
5
- i
2
= i
5
- i
4
Knowing i
1
and i
2
allows the calculation of v
GS1
and v
GS2
which gives
V
TRP
-
= v
GS2
- v
GS1
=
2i
2

2
+ V
T2
-
2i
1

1
- V
T1
Fig. 8.4-12B
V
SS
v
o1 v
o2
v
i1
M1
M2
M3 M4 M6 M7
M5
V
DD
I
5
i
2
= i
4

v
i1
i
1
= i
7

v
in
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-19
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Example 8.4-2 - Calculation of Trip Voltages for a Comparator with Hysteresis
Consider the circuit shown. Using the
transistor device parameters given in Table
3.1-2 calculate the positive and negative
threshold points if the device lengths are all 1
m and the widths are given as: W
1
= W
2
= W
6
= W
7
= 10 m and W
3
= W
4
= 2 m. The gate
of M1 is tied to ground and the input is the
gate of M2. The current, i
5
= 20 A
Solution
To calculate the positive trip point,
assume that the input has been negative and is
heading positive.
i
6
=
(W/L)
6
(W/L)
3
i
3
= (5/1)(i
3
) i
3
=
i
5
1 + [(W/L)
6
/(W/L)
3
]
= i
1
=
20 A
1 + 5
= 3.33 A
i
2
= i
5
i
1
= 20 3.33 = 16.67 A v
GS1
=
\
|
[
)
j
2i
1

1
1/2
+V
T1
=
\
|
[
)
j
23.33
(5)110
1/2
+0.7 = 0.81V
v
GS2
=
\
|
[
)
j
2i
2

2
1/2
+ V
T2
=
\
|
[
)
j
216.67
(5)110
1/2
+ 0.7 = 0.946V
V
TRP+
v
GS2
v
GS1
= 0.9460.810 = 0.136V
V
SS
I
Bias
v
o1 v
o2
v
i1
v
i2
M1
M2
M3 M4 M6 M7
M5 M8
V
DD
Fig. 8.4-11
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-20
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Example 8.4-2 - Continued
Determining the negative trip point, similar analysis yields
i
4
= 3.33 A
i
1
= 16.67 A
v
GS2
= 0.81V
v
GS1
= 0.946V
V
TRP-
v
GS2
v
GS1
= 0.81 0.946 = 0.136V
PSPICE simulation results of this circuit are shown below.
1
1.2
1.4
1.6
1.8
2
2.2
2.4
2.6
-0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4 0.5
v
o2
(volts)
v
in
(volts) Fig. 8.4-13
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-21
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Complete Comparator with Internal Hysteresis
V
SS
I
Bias
v
out
v
i1 v
i2
M1
M2
M3 M4 M6 M7
M5 M8
V
DD
Fig. 8.4-14
M8 M9
M10 M11
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-22
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Schmitt Trigger
The Schmitt trigger is a circuit that has better defined switching points.
Consider the following circuit:
How does this circuit work?
Assume the input voltage, v
in
, is low and the output
voltage, v
out
, is high.
M3, M4 and M5 are on and M1, M2 and M6 are off.
When v
in
is increased from zero, M2 starts to turn on causing
M3 to start turning off. Positive feedback causes M2 to turn
on further and eventually both M1 and M2 are on and the
output is at zero.
The upper switching point, V
TRP
+
is found as follows:
When v
in
is low, the voltage at the source of M2 (M3) is
v
S2
= V
DD
-V
TN3
V
TRP
+
= v
in
when M2 turns on given as V
TRP
+
= V
TN2
+ v
S2
V
TRP
+
occurs when the input voltage causes the currents in M3 and M1 to be equal.
v
in
M1
M2
M3
M4
M5
M6
v
out
V
DD
Fig. 8.4-15
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-23
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
Schmitt Trigger Continued
Thus, i
D1
=
1
( V
TRP
+
- V
TN1
)
2
=
3
( V
DD

- v
S2
- V
TN3
)
2
= i
D3
which can be written as, assuming that V
TN2
= V
TN3
,

1
( V
TRP
+
- V
TN1
)
2
=
3
( V
DD

V
TRP
+
)
2
V
TRP
+
=
V
TN1
+
3
/
1
V
DD
1 +
3
/
1

The switching point, V
TRP
-
is found in a similar manner and is:

5
( V
DD
-

V
TRP
-
- V
TP5
)
2
=
6
( V
TRP
-
)
2
V
TRP
-
=

5
/
6
(V
DD
- V
TP5
)
1 +
5
/
6

The bistable characteristic is,
v
in
v
out
V
DD
V
DD
0
0
V
TRP
-
V
TRP
+
Fig. 8.4-16
Lecture 390 Open-Loop Comparators (4/8/02) Page 390-24
ECE 6412 - Analog Integrated Circuit Design - II P.E. Allen - 2002
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

S-ar putea să vă placă și