CMOS Comparators
CMOS Comparators
Ideal
Comparator Deviations from ideality Idealized View of Comparator Design Practical Design Issues
PRG, VCs, 1
Ideal Comparator
Analog input (vi+-vi-) vi+ V. C. viDigital output Latch signal Latch signal Properties: Zero offset Zero delay
not valid valid compared value
Digital output
PRG, VCs, 2
PRG, VCs, 3
vi
viLatch signal Key Parameters: Delay time: td = f(Vinit, Vod) Metastability Vos, PSRR, CMRR
PRG, VCs, 4
Assumptions:
Large Rl, idealized device Only Cgs matters, Cgd=0, Cdb=0 Balanced condition at t=0 Devices behave approximately linearly
PRG, VCs, 5
Time, sec
Final Conclusion: t
=
dmin
1.2
v out ln v id
tot g m
C
=
+C gs p g m
C 1 1+ p 2f C t gs
0.6u
93
PRG, VCs, 8
PRG, VCs, 9
How
many stages before latch? How to do Vos cancellation if needed How to realize common-mode biasing Whether to precharge nodes to balanced state How many latch stages needed to control metastability
PRG, VCs, 10
General Considerations:
Cant use simple latch- Offset usually too high
digital output
Latch
PRG, VCs, 11
Vin
V1
V2
V3
Vod
Vin
Vinit Vlatch
Vout
time V1 V2 V3
PRG, VCs, 12
Time, sec
PRG, VCs, 13
Design approaches:
1. Use small values of Rl
Minimizes swing Shortens time constant
PRG, VCs, 14
Conclusion:
Nonlinear Problem, no analytical solution Best empirical results with gmRl around 4-8 Optimum number of stages 4-6 Result: 5-10x slower than pre-nulled case
CMOS Implementations
Poly or Diffusion loads- large tolerance and parasitics (Allstott, JSC, 6/82) Enhancement loads- Drop large voltage PMOS Triode loads- small parasitics, can use replica bias
Triode
Vref
Bias Ref
PRG, VCs, 16
Refs: Yee, JSC, 6/78;Allsott JSC 12/82, Degrauwe, JSC6/85 PRG, VCs, 17