Lecture 320 Improved Open-Loop Comparators and Latches (3/28/10) Page 320-1

Similar documents
Lecture 400 Discrete-Time Comparators (4/8/02) Page 400-1

Lecture 310 Open-Loop Comparators (3/28/10) Page 310-1

Design of Analog Integrated Circuits

ECE 6412, Spring Final Exam Page 1

ECE-343 Test 2: Mar 21, :00-8:00, Closed Book. Name : SOLUTION

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

ECE 6412, Spring Final Exam Page 1 FINAL EXAMINATION NAME SCORE /120

Errata of CMOS Analog Circuit Design 2 nd Edition By Phillip E. Allen and Douglas R. Holberg

V in (min) and V in (min) = (V OH -V OL ) dv out (0) dt = A p 1 V in = = 10 6 = 1V/µs

Lecture 37: Frequency response. Context

CMOS Comparators. Kyungpook National University. Integrated Systems Lab, Kyungpook National University. Comparators

Errata of CMOS Analog Circuit Design 2 nd Edition By Phillip E. Allen and Douglas R. Holberg

Lecture 14 - Digital Circuits (III) CMOS. April 1, 2003

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ECEN 610 Mixed-Signal Interfaces

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

ECE-343 Test 1: Feb 10, :00-8:00pm, Closed Book. Name : SOLUTION

EECS 141: FALL 05 MIDTERM 1

3. Basic building blocks. Analog Design for CMOS VLSI Systems Franco Maloberti

LECTURE 380 TWO-STAGE OPEN-LOOP COMPARATORS - II (READING: AH ) Trip Point of an Inverter

EEC 118 Lecture #5: CMOS Inverter AC Characteristics. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

LECTURE 130 COMPENSATION OF OP AMPS-II (READING: GHLM , AH )

THE INVERTER. Inverter

EE 434 Lecture 33. Logic Design

ELEN 610 Data Converters

Assignment 3 ELEC 312/Winter 12 R.Raut, Ph.D.

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ECE 342 Solid State Devices & Circuits 4. CMOS

ECE 415/515 ANALOG INTEGRATED CIRCUIT DESIGN

ECE 342 Electronic Circuits. 3. MOS Transistors

PASS-TRANSISTOR LOGIC. INEL Fall 2014

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

ECE 546 Lecture 10 MOS Transistors

Advanced Current Mirrors and Opamps

Midterm. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. Pass Transistor Logic. Restore Output.

EE141Microelettronica. CMOS Logic

Lecture 10, ATIK. Data converters 3

Lecture 12 Circuits numériques (II)

9/18/2008 GMU, ECE 680 Physical VLSI Design

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Total Power. Energy and Power Optimization. Worksheet Problem 1

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

High-to-Low Propagation Delay t PHL

GMU, ECE 680 Physical VLSI Design

ECE-342 Test 3: Nov 30, :00-8:00, Closed Book. Name : Solution

Step 1. Finding V M. Goal: Þnd V M = input voltage for the output = V M both transistors are saturated at V IN = V M since

MOS Transistor Theory

University of Toronto. Final Exam

ECE321 Electronics I

EE247 Lecture 16. Serial Charge Redistribution DAC

EXAMPLE DESIGN PART 2

1/13/12 V DS. I d V GS. C ox ( = f (V GS ,V DS ,V SB = I D. + i d + I ΔV + I ΔV BS V BS. 19 January 2012

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Sample-and-Holds David Johns and Ken Martin University of Toronto

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Lecture 13 - Digital Circuits (II) MOS Inverter Circuits. March 20, 2003

CMOS Inverter (static view)

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Lecture 13 MOSFET as an amplifier with an introduction to MOSFET small-signal model and small-signal schematics. Lena Peterson

Announcements. EE141- Fall 2002 Lecture 7. MOS Capacitances Inverter Delay Power

Integrated Circuits & Systems

Lecture 5: DC & Transient Response

EE115C Digital Electronic Circuits Homework #4

The Physical Structure (NMOS)

ECE 342 Electronic Circuits. Lecture 6 MOS Transistors

CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

EXAMPLE DESIGN PART 2

EE105 Fall 2014 Microelectronic Devices and Circuits. NMOS Transistor Capacitances: Saturation Region

Objective and Outline. Acknowledgement. Objective: Power Components. Outline: 1) Acknowledgements. Section 4: Power Components

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

Lecture 140 Simple Op Amps (2/11/02) Page 140-1

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

ECE 497 JS Lecture - 12 Device Technologies

Digital Integrated Circuits A Design Perspective

CHAPTER 6 CMOS OPERATIONAL AMPLIFIERS

CMOS Logic Gates. University of Connecticut 181

9/18/2008 GMU, ECE 680 Physical VLSI Design

Digital Integrated Circuits A Design Perspective

2007 Fall: Electronic Circuits 2 CHAPTER 10. Deog-Kyoon Jeong School of Electrical Engineering

CMPEN 411 VLSI Digital Circuits. Lecture 03: MOS Transistor

Properties of CMOS Gates Snapshot

6.2 INTRODUCTION TO OP AMPS

Stability and Frequency Compensation

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Power Dissipation. Where Does Power Go in CMOS?

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

Piecewise Nonlinear Approach to the Implementation of Nonlinear Current Transfer Functions

Microelectronics Main CMOS design rules & basic circuits

MODULE 5 Chapter 7. Clocked Storage Elements

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

Section 4. Nonlinear Circuits

Topic 4. The CMOS Inverter

MOSFET and CMOS Gate. Copy Right by Wentai Liu

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

MOS Transistor Theory

Transcription:

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 321 LECTURE 32 IMPROVED OPENLOOP COMPARATORS AND LATCHES LECTURE ORGANIZATION Outline Autozeroing Hysteresis Simple es Summary CMOS Analog Circuit Design, 2 nd Edition Reference Pages 464483 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 322 AUTOZEROING Principle of Autozeroing Use the comparator as an op amp to sample the dc input offset voltage and cancel the offset during operation. V OS Ideal Comparator V OS Ideal Comparator C AZ V OS V OS V OS C AZ Ideal Comparator Model of Comparator. Autozero Cycle Comparison Cycle Fig. 8.41 Comments: The comparator must be stable in the unitygain mode (selfcompensating comparators are ideal, the twostage comparator would require compensation to be switched in during the autozero cycle.) Complete offset cancellation is limited by charge injection

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 323 Differential Implementation of Autozeroed Comparators Ideal V v Comparator OS OUT = V OS φ 2 V OS Comparator during phase φ V 2 OS C AZ v IN V OS V OS Differential Autozeroed Comparator Comparator during φ 2 phase Fig. 8.42 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 324 SingleEnded Autozeroed Comparators Noninverting: φ 2 φ 2 C AZ Inverting: Fig. 8.43 C AZ φ 2 Fig. 8.44 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 32 Improved OpenLoop Comparators and es (3/28/1) Page 325 HYSTERESIS Influence of Input Noise on the Comparator Comparator without hysteresis: Comparator threshold v in t v out t Comparator with hysteresis: V TRP V TRP v in Fig. 8.46A t v out Fig. 8.46B t Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 326 Use of Hysteresis for Comparators in a Noisy Environment Transfer curve of a comparator with hysteresis: V TRP V TRP V TRP R 1 (V R OH ) V TRP 2 Counterclockwise Bistable Clockwise Bistable Fig. 8.45 Hysteresis is achieved by the use of positive feedback Externally Internally

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 327 Noninverting Comparator using External Positive Feedback Circuit: Upper Trip Point: Fig. 8.47 Assume that =, the upper trip point occurs when, = R 1 R 1 R 1 V TRP V TRP = R 1 Lower Trip Point: Assume that =, the lower trip point occurs when, = R 1 R 1 R 1 R 1 (V R 1 R OH ) v 2 OUT R 1 V OH R 1 V TRP V TRP = R 1 Width of the bistable characteristic: Vin = VTRP VTRP = R1 VOHVOL R2 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 328 Inverting Comparator using External Positive Feedback Circuit: R 1 R 1 R 1 R 1 (V R 1 R OH ) 2 R 1 R 1 Upper Trip Point: Fig. 8.48 R 1 = V TRP = R 1 Lower Trip Point: R 1 = V TRP = R 1 Width of the bistable characteristic: Vin = VTRP VTRP = R1 R1R2 VOHVOL

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 329 Horizontal Shifting of the CCW Bistable Characteristic Circuit: Upper Trip Point: V REF = R 1 R 1 R 1 V TRP V TRP = R 1 V REF R 1 Lower Trip Point: V REF = R 1 R 1 R V 2 OH R 1 R V 2 TRP V TRP = R 1 R V 2 REF R 1 R V 2 OH Shifting Factor: ± R 1 V REF R 1 (V V R OH ) 2 R OH 2 R R 1 1 R V REF 2 R 1 V REF R 1 R V 2 OL Fig. 8.49 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 321 Horizontal Shifting of the CW Bistable Characteristic Circuit: Upper Trip Point: V REF R 1 R 1 = V TRP = R 1 R 1 V REF Lower Trip Point: = V TRP = R 1 R 1 V REF Shifting Factor: ± R 1 V REF R 1 R 1 ( ) R 1 1 2 R 1 R VREF 2 R 1 R 1 R R R 1 Fig. 8.41

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3211 Example 321 Design of an Inverting Comparator with Hysteresis Use the inverting bistable to design a highgain, openloop comparator having an upper trip point of 1V and a lower trip point of V if = 2V and = 2V. Solution Putting the values of this example into the above relationships gives and 1 = R 1 R 1 2 = R 1 R 1 (2) R 1 V REF R 1 V REF Solving these two equations gives 3R 1 = and V REF = (2/3)V. Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3212 Hysteresis using Internal Positive Feedback Simple comparator with internal positive feedback: I Bias M3 M6 M7 M4 v o1 v o2 v i1 v i2 M8 V SS Fig. 8.411

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3213 Internal Positive Feedback Upper Trip Point Assume that the gate of is on ground and the input to is much smaller than zero. The resulting circuit is: on, off M3 on, M6 on (active), M4 and M7 off. v o2 is high. M6 wants 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 I 5 current flow through increases. When i 2 = i 6, Fig. 8.412A the upper trip point will occur. V SS i 5 = i 1 i 2 = i 3 i 6 = i 3 W 6 /L 6 W 3 /L 3 i 3 = i 3 1 W 6/L 6 i 5 W 3 /L 3 i 1 = i 3 = 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 2i 2 2i 1 V TRP = v GS2 v GS1 = 2 V T2 1 V T1 v o1 M3 M6 i 1 = i 3 M7 M4 i 2 = i 6 vo2 v in Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3214 Internal Positive Feedback Lower Trip Point Assume that the gate of is on ground and the input to is much greater than zero. The resulting circuit is: on, off M4 and M7 on, M3 and M6 off. v o1 is high. M7 wants to source the current i 7 = W 7/L 7 W 4 /L 4 i 2 v o1 M3 M6 M7 M4 v i1 i 1 = i 7 i 2 = i 4 vo2 v i1 v i As v in begins to decrease towards the trip point, the current flow through increases. When i 1 = i 7, the V Fig. 8.412B SS lower trip point will occur. i 5 = i 1 i 2 = i 7 i 4 = W 7 /L 7 W 4 /L 4 i 4 i 4 = i 4 1 W 7/L 7 i 5 W 4 /L i 4 2 = i 4 = 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 2i 2 V TRP = v GS2 v GS1 = 2 V 2i 1 T2 1 V T1 I 5

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3215 Example 322 Calculation of Trip Voltages for a Comparator with Hysteresis Consider the circuit shown. If K N = 11μA/V 2, K P = 5μA/V2, and V TN = V TP =.7V, 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 = 1 μm and W 3 = W 4 = 2 μm. The gate of is tied to ground and the input is the gate of. The current, i 5 = 2 μ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 2 = i 5 i 1 = 2 3.33 = 16.67 μa v GS1 = 2i 1 v GS2 = 2i 2 1/2 2 VT2 = 2 16.67 1/2 (5)11.7 =.946V V TRP v GS2 v GS1 =.946.81 =.136V I Bias M3 M6 M7 M4 v o1 v o2 i 5 1[(W/L) 6 /(W/L) 3 ] = i 2μA 1 = 15 = 3.33 μa 2 3.33 1/2 1 VT1 = (5)11 1/2.7 =.81V M8 v i1 V SS v i2 Fig. 8.411 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3216 Example 322 Continued Determining the negative trip point, similar analysis yields i 4 = 3.33 μa i 1 = 16.67 μa v GS2 =.81V v GS1 =.946V V TRP v GS2 v GS1 =.81.946 =.136V PSPICE simulation results of this circuit are shown below. 2.6 2.4 2.2 2 v o2 1.8 (volts) 1.6 1.4 1.2 1.5.4.3.2.1..1.2.3.4.5 v in (volts) Fig. 8.413

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3217 Complete Comparator with Internal Hysteresis I Bias M3 M6 M7 M4 M9 M8 v i1 vi2 v out 1 M8 V SS Fig. 8.414 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3218 Schmitt Trigger The Schmitt trigger is a circuit that has better defined switching points. Consider the following circuit: v in M4 M3 M6 v out Fig. 8.415 How does this circuit work? Assume the input voltage, v in, is low and the output voltage, v out, is high. M3, M4 and are on and, and M6 are off. When v in is increased from zero, starts to turn on causing M3 to start turning off. Positive feedback causes to turn on further and eventually both and 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 (M3) is v S2 = V TN3 V TRP = v in when turns on given as V TRP = V TN2 v S2 V TRP occurs when the input voltage causes the currents in M3 and to be equal.

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3219 Schmitt Trigger Continued Thus, i D1 = 1 ( V TRP V TN1 ) 2 = 3 ( 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 TRP ) 2 V TRP = V TN1 3 / 1 1 3 / 1 The switching point, V TRP is found in a similar manner and is: 5 ( V TRP V TP5 ) 2 = 6 ( V TRP ) 2 V TRP = The bistable characteristic is, v out 5 / 6 ( V TP5 ) 1 5 / 6 v in V TRP V TRP Fig. 8.416 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 322 SIMPLE LATCHES Regenerative Comparators Regenerative comparators use positive feedback to accomplish the comparison of two signals. es can have a faster switching speed than the previous comparators. NMOS and PMOS latch: I 1 I 2 v o1 vo2 v o1 vo2 I 1 I 2 NMOS latch PMOS latch Fig. 8.53

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3221 Operating Modes of the The latch has two modes of operation enable or latch and Enable (enable_bar) or (latch_bar). 1.) During the Enable_bar, the latch is turned off (currents are removed) and the unknown inputs are applied to it. The parasitic capacitance at the latch nodes hold the unknown voltage. 2.) During Enable, the latch is turned on, and the positive feedback acts on the applied inputs and causes one side of the latch to go high and the other side to go low. Enable_bar: I 1 I 2 Enable V o1ʼ Enable V o2ʼ V Enable Enable o1ʼ V o2ʼ I 1 I 2 NMOS latch PMOS latch The inputs are initially applied to the outputs of the latch. V o1 = initial input applied to v o1 6889 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3222 Step Response of a (Enable) Circuit: R i and C i are the resistance and capacitance seen to ground from the ith transistor. I 1 I 2 v o2 C 1 v o1 Vo2 V g o1 ' m1v o2 R 1 s Nodal equations: g m1 V o2 G 1 V o1 sc 1 V o1 V o1 s = g m1 V o2 G 1 V o1 sc 1 V o1 C 1 V o1 = g m2 V o1 G 2 V o2 sc 2 V o2 V o2 s = g m2 V o1 G 2 V o2 sc 2 V o2 C 2 V o2 = Solving for V o1 and V o2 gives, V o1 g m2 V o1 C 2 V o2 ' s V o2 Fig. 8.54 V o1 = R 1 C 1 sr 1 C 1 1 V o1 g m1r 1 sr 1 C 1 1 V 1 o2 = s 1 1 V o1 g m1r 1 s 1 1 V o2 C 2 V o2 = s C 2 1 V o2 g m2 s C 2 1 V 2 o1 = s 2 1 V o2 g m2 s 2 1 V o1 Defining the output, V o, and input, V i, as V o = V o2 V o1 and V i = V o2 V o1

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3223 Step Response of the Continued Solving for V o gives, V o = V o2 V o1 = s1 V i g mr s1 V o or V i V i V o = s(1g m R) = 1g m R V i s = 1g m R 1 s 1 where = 1g m R Taking the inverse Laplace transform gives v o (t) = V i e t/ = V i e t(1g mr) / e g mrt/v i, if g m R >>1. Define the latch time constant as if C C gs. L = g m R = C g m =.67WLC ox 2K (W/L)I =.67C ox WL 3 2K I Vout(t) = e t/ L Vi Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3224 Step Response of a Continued Normalize the output voltage by ( ) to get V out (t) V i V = e t/ L OL which is plotted as, The propagation delay time is t p = L ln 2V i 1.5.4.3.8.2.1 ΔV i V.5 OH.6 ΔV out.3.1.4.5.2 Note that the larger the V i, the faster the response. 1 2 t 3 4 5 τ L Fig. 8.55

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3225 Example 323 Time Domain Characteristics of a. Find the propagation time delay for the NMOS if the W/L of the latch transistors is 5μm/.5μm and the latch dc current is 1μA when V i =.1( ) and V i =.1( ). Solution The transconductance of the latch transistors is g m = 2 12 1 1 = 155μS The output conductance is.6μs which gives g m R of 93V/V. Since g m R is greater than 1, we can use the above results. Therefore the latch time constant is found as L =.67C ox WL3 2K I =.67(6.6x1 4) (5.5)x124 2 12x16 1x16 =.131ns Since the propagation time delay is the time when the output is.5( ), then using the above results or Fig. 8.55 we find for V i =.1( ) that t p = 3.91 L =.512ns and for V i =.1( ) that t p = 1.61 L =.211ns. Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3226 Comparator using a with a BuiltIn Reference How does it operate? 1.) Devices in shaded region operate in the triode region. /Reset 2.) When the latch/reset goes high, the upper crosscoupled inverterlatch regenerates. The drain currents of and M6 are steered to obtain a final state determined by the mismatch between the R 1 and resistances. 1 R 1 = K N W 1 L (v in V T ) W 2 L (V REF V T ) and 1 = K N W 1 L (v in V T ) W 2 L (V REF V T ) 3.) The input voltage which causes R 1 = is v in (threshold) = (W 2 /W 1 )V REF W 2 /W 1 = 1/4 generates a threshold of ±.25V REF. Performance 2Ms/s & 2μW M9 M7 M8 M6 /Rese M3 v out v out M4 R 1 v in v in V REF V REF φ1 Fig. 8.56 T.B. Cho and P.R. Gray, A 1b, 2Msamples/s, 35mW pipeline A/D Converter, IEEE J. SolidState Circuits, vol. 3, no. 3, pp. 166172, March 1995.

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3227 Simple, Low Power ed Comparator M9 M7 M8 M6 φ1 M3 v out v out M4 v in v in Dissipated 5μW when clocked at 2MHz. Selfreferenced Fig. 8.57 A. Coban, 1.5V, 1mW, 98dB DeltaSigma ADC, Ph.D. dissertation, School of ECE, Georgia Tech, Atlanta, GA 333225. Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3228 TailReferenced The previous two latches experience poor input offset voltage characteristics because the input devices are working in the linear region during the latch phase. The latch below keeps the input devices in the saturation region. The resulting larger gain of the input devices reduces the input offset voltage as shown. The input offset voltage of the tail referenced latch is compared between two latches with the referenced latch for 1 samples. The xaxis is the deviation from the mean of the first latch and the y axis is the deviation of the mean of the second latch. v out v in 75111 V ref V ref v out v in All transistors are 3.5μm/.4μm excep and

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3229 CMOS Circuit: φ M6 M8 V REF M3 M4 v out v in M7 vout φ Input offset voltage distribution: Number of Samples 2 1 15 Fig. 8.58 ;;; ; ;;; σ = 5.65 L = 1.2μm (.6μm Process) 1 5 5 1 15 Input offset voltage (mv) Fig. 8.59 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 323 CMOS with Different Inputs and Outputs Inputs _bar M6 M7 Outputs M3 M4 6881 When _bar is high,, M6 and M7 are off and the latch is disabled and the outputs are shorted together. When _bar is low, the input voltages stored at the sources of and will cause one of the latch outputs to be high and the other to be low. The source of and that is higher will have a larger sourcegate voltage resulting in a larger transconductance and more gain than the other transistor.

Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3231 Metastability Metastability is the condition where the latch cannot make a decision in the time allocated. Normally due to the fact that the input is small (within the input resolution range). Metastability can be improved (reduced) by increasing the gain of the comparator by preceding it with an amplifier to keep the signal input to the latch as large as possible under all conditions. The preamplifier also reduced the input offset voltage. _bar Inputs Comparator Inputs Outputs V NB1 Preamplifier 68811 Lecture 32 Improved OpenLoop Comparators and es (3/28/1) Page 3232 SUMMARY Discretetime 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 openloop comparators and latches