CMOS Comparator Design: TSMC 0.25 Um Technology
CMOS Comparator Design: TSMC 0.25 Um Technology
CMOS Comparator Design: TSMC 0.25 Um Technology
CMOS Comparator
Design
TSMC 0.25 um Technology
Sharath Patil, 1000673216
1000673216
2. Design Specifications
Table 1. Design Specifications
3. Design
a) Gain
The gain required to achieve an input resolution of 0.1 mV is
The high gain suggests that a multistage design is required. But care should be taken to
optimize the propagation delay to meet the requirement of 1ns.
b) Propagation Delay
The overall time constant of an n stage comparator is given by [1]
(1)
Where A0 is the gain of each stage, L is the channel length of input transistors, Veff is the
overdrive voltage of the input transistors.
2
1000673216
(2)
Where τ is given by
(3)
The circuit should also be capable of handling the entire input common mode range. Hence,
techniques such as Common Mode Feedback (CMFB) can be used.
4. Architecture
The architecture explained in [2] was used for the design. The block diagram is shown in
Fig. 1. The fully-differential input stage enables high input CMR and common mode noise
rejection. The latch with positive feedback is used to amplify the signals to required levels. The
post amplifier is used to amplify the signals further and convert them to single ended output.
The buffer is used to drive the required loading conditions.
a) Preamplifier
The circuit of preamplifier is shown in Fig. 2. It is a simple differential amplifier with current
source loads. The gain and the delay of the amplifier has been optimized as per the
requirement.
The design was started with the required delay. Equation (1) was used for estimating the
delay. The propagation delay was desired not to be more than 0.3ns. Also a gain of 50 (34 dB)
was desired for the first stage. These specifications give us a value of nearly 500 uA for the tail
current source and gm of 1.4 mS for the input transistors.
3
1000673216
CMFB circuit [3] was used to define the output common mode voltage and also to improve
the input common mode range.
b) Differential Latch
The differential latch circuit [2] is shown in Fig. 3. It was designed to have a propagation
delay of 0.3 ns. Equations (2) and (3) were used to get a optimized design for delay and output
to input ratio. The ratio of input swing to output swing was designed to be 100.
c) Post Amplifier
The post amplifier circuit [2] is shown in Fig. 4. It was designed to have a maximum delay of
0.3ns. But because of the high output swing and loading conditions, it is difficult to get the
desired delay of 0.3 ns. The post amplifier gain was designed to have a gain of 30 (32 dB).
4
1000673216
Current Mirror load was used for the differential amplifier. The output is single ended. The input
common mode is almost constant because of high CMRR of the first stage (i.e. pre amplifier).
5 Layout
Layout was done using Virtuoso layout editor in Cadence. The layouts of various blocks are
as shown.
5
1000673216
6
1000673216
6 Simulation results
The testbench used for simulations is shown in Fig. 8. HSPICE was used for simulations
from cadence environment. VDD=2.5 V for all the simulations.
a) Gain of amplifiers
AC analysis was run to find the gain of preamplifier at 25C and Vcm = 1.25 V. The
frequency response plot of preamplifier is shown in Fig. 9. The DC gain is 32 dB. The dominant
pole is at 26 MHz.
The frequency response plot of post amplifier is shown in Fig. 10. The DC gain is 30 dB. The
dominant pole is at 60 MHz.
7
1000673216
b) Resolution
The negative input signal was 1.25 V+0.1mV and the positive input signal was 1.25 V.
The simulation was done at T=25 C and input common mode = 1.25 V. The simulation was run
at -40 C, 25 C and 100 C.
8
1000673216
9
1000673216
10
1000673216
11
1000673216
Simulation was also done with a 10 mV differential input and the result is shown in Fig.
18. The waveforms at the output of various blocks are shown in Figs. 19, 20 & 21.
12
1000673216
13
1000673216
e) Power dissipated
The average current was measured at T=-40 C and T = 100 C and the power is tabulated in
Table 2. The current was measured with Vcm = 1.25 V and Vdiff=10 mV.
14
1000673216
7 Conclusion
The results are tabulated in Table 3. The circuit could not meet the specifications of input
common mode range, output voltage swing and current density.
The propagation delay can be improved by optimizing the gain of the amplifier stages
and the latch. The current density problem can be easily solved by improving the buffer design.
So, future work involves improving the delay and input common mode range of the comparator
circuit.
8 References
[1] D. A. Johns, K. Martin, “Analog Integrated Circuit Design”, Wiley, New Delhi, 2008.
[2] R. J. Baker, “CMOS Circuit Design, Layout and Simulation”, Wiley, New Delhi, 2008.
[3] W. T. Ng, C. A. T. Salam, “High Speed High Resolution CMOS Voltage Comparator”,
Electronic Letters, Vol. 2, No. 6, March 1986.
15