OFFSET REDUCTION TECHNIQUES IN HIGHSPEED ANALOG-TO-DIGITAL CONVERTERS Analysis, Design and Tradeoffs
ANALOG CIRCUITS AND SIGNAL PROCESSING SERIES Consulting Editor: Mohammed Ismail. Ohio State University
For other titles published in this series, go to www.springer.com/series/7381
OFFSET REDUCTION TECHNIQUES IN HIGHSPEED ANALOG-TO-DIGITAL CONVERTERS Analysis, Design and Tradeoffs
PEDRO M. FIGUEIREDO MIPSABG Chipidea JOÃO C. VITAL MIPSABG Chipidea
Pedro M. Figueiredo Chipidea Microeletrónica Av. Dr. Mário Soares 33 2740-119 Porto-Salvo Taguspark, Portugal
[email protected]
ISBN: 978-1-4020-9715-7
João C. Vital Chipidea Microeletrónica Av. Dr. Mário Soares 33 2740-119 Porto-Salvo Taguspark, Portugal
[email protected]
e-ISBN: 978-1-4020-9716-4
Library of Congress Control Number: 2008942088 © Springer Science + Business Media B.V. 2009 No part of the work may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, microfilming, recording or otherwise, without written permission from the Publisher, with the exception of any material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by purchaser of the work. Printed on acid-free paper. 987654321 springer.com
To Patrícia and Gonçalo
Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi List of Symbols and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . xv 1.
HIGH-SPEED ADC ARCHITECTURES . . . . . . . . . . . . . . . . 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 1.2 The Analog-to-Digital Converter . . . . . . . . . . . . . . . . . . . . . . . . . .2 1.2.1 1.2.2 1.2.3
Basic Operations and Transfer Function . . . . . . . . . . . . . . . . . . . . . 2 Static Characterization of ADCs . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Dynamic Characterization of ADCs . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Flash ADCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 1.3.1 1.3.2 1.3.3
Architecture Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Design Specifications of Each Building Block . . . . . . . . . . . . . . . . . 10 The Interpolation Technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.4 Two-Step Flash ADCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.4.1 1.4.2
Two-Step Flash ADC with DAC and Subtractor . . . . . . . . . . . . . . 17 Two-Step Subranging Flash ADC . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.5 Folding and Interpolation ADCs . . . . . . . . . . . . . . . . . . . . . . . . . 22 1.5.1 1.5.2 1.5.3
Architecture Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Cascaded Folding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Design Specifications of Each Building Block . . . . . . . . . . . . . . . . . 33
1.6 Building Blocks of CMOS High-Speed ADCs . . . . . . . . . . . . . . . . 38 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5
2.
The MOS Differential Pair . . . . Effect of Mismatches . . . . . . . . CMOS Folding Circuit . . . . . . . Latched Comparators . . . . . . . Considerations About the Yield
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
38 41 46 54 62
AVERAGING TECHNIQUE – DC ANALYSIS AND TERMINATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 vii
Offset Reduction Techniques in High-Speed ADCs
viii
2.2 Published Studies on the Averaging Technique. . . . . . . . . . . . . . . 73 2.3 Output Voltage and Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 2.3.1 2.3.2 2.3.3 2.3.4
Equivalent Resistance of an Infinite Resistive Network Calculation of the Output Voltage . . . . . . . . . . . . . . Calculation of the Gain . . . . . . . . . . . . . . . . . . . . . . Application to MOS Differential Pairs . . . . . . . . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
76 77 80 81
2.4 Effect of Mismatches – INL and DNL . . . . . . . . . . . . . . . . . . . . . 86 2.4.1 2.4.2 2.4.3 2.4.4
INL due to Mismatches in the Transistors and Current Sources DNL due to Mismatches in the Transistors and Current Sources Mismatches in the Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . Application to MOS Differential Pairs . . . . . . . . . . . . . . . . . . .
. . . .
. . . .
. . . .
87 89 90 90
2.5 Averaging in Folding Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . 103 2.5.1 2.5.2
Output Voltage and Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Effect of Mismatches – INL and DNL . . . . . . . . . . . . . . . . . . . . . 111
2.6 Considerations About the Yield . . . . . . . . . . . . . . . . . . . . . . . . 116 2.7 Termination of the Averaging Network . . . . . . . . . . . . . . . . . . . 118 2.7.1 2.7.2 2.7.3 2.7.4
3.
Existing Terminating Strategies . . . . . . . Improved Terminating Strategy . . . . . . . Comparison of the Terminating Solutions Folding Circuits . . . . . . . . . . . . . . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
120 126 132 134
AVERAGING TECHNIQUE – TRANSIENT ANALYSIS AND AUTOMATED DESIGN . . . . . . . . . . . . . . . . . . . . . . . . . 137 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 3.2 Flash ADC Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 3.3 Output Voltage and Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 3.3.1 3.3.2
Exact Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Approximated Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
3.4 Effect of Mismatches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 3.4.1 3.4.2
Simulation Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Time Dependence of the Offset Voltage . . . . . . . . . . . . . . . . . . . . 160
3.5 Design of Averaged Pre-amplifier Stages in Flash ADCs . . . . . . . 169 3.5.1 3.5.2
Interface with HSPICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Properties of Differential Pairs with the Same Saturation Voltage (VSAT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 3.5.3 Design Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 3.5.4 Application Example: Pre-amplifier Stage for a 7-bit 200 MS/s Flash ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 3.5.5 Application Example: Variation of G0 . . . . . . . . . . . . . . . . . . . . . 181 3.5.6 Application Example: Variation of α . . . . . . . . . . . . . . . . . . . . . . 185 3.5.7 Application Example: Variation of N . . . . . . . . . . . . . . . . . . . . . 187 3.5.8 Application Example: Variation of R0/R1 . . . . . . . . . . . . . . . . . . 191 3.5.9 Application Example: Variation of fs . . . . . . . . . . . . . . . . . . . . . . 193 3.5.10 Application Example: Specifying the ISSR0 Product . . . . . . . . . . . 196 3.5.11 Application Example: Interpolation in Averaged Pre-amplifiers . . . 200
Contents 4.
ix
INTEGRATED PROTOTYPES USING AVERAGING . . . 205 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 4.2 7-bit 120 MS/s I/Q Flash ADC. . . . . . . . . . . . . . . . . . . . . . . . . 206 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8
Specifications . . . . . . . . . . . . . . Bias Current Generation . . . . . . Pre-amplifier Stage . . . . . . . . . . Resistive Ladder . . . . . . . . . . . . Reference Voltage Generator . . . Latched Comparators . . . . . . . . Digital Encoder . . . . . . . . . . . . . Layout and Measurement Results
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
206 207 209 215 216 218 220 222
4.3 10-bit 100 MS/s Folding and Interpolation ADC . . . . . . . . . . . . 227 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5
5.
Specifications and Architecture . . Sample-and-Hold . . . . . . . . . . . . Folding Stages . . . . . . . . . . . . . Latched Comparators . . . . . . . . Layout and Measurement Results
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
227 229 234 245 246
OFFSET CANCELLATION METHODS . . . . . . . . . . . . . . 261 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 5.2 Offset Cancellation Techniques . . . . . . . . . . . . . . . . . . . . . . . . . 262 5.2.1 5.2.2 5.2.3 5.2.4
Input Offset Storage (IOS) . . . . . . . . . . . Output Offset Storage (OOS) . . . . . . . . . Multi-stage Offset Storage . . . . . . . . . . . Utilization of Auxiliary Differential Pairs
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
262 265 267 271
5.3 New Offset Cancellation Technique . . . . . . . . . . . . . . . . . . . . . . 273 5.3.1 5.3.2
Offset Calibration in the Pre-amplifier and Latched Comparator . . 274 Elimination of Charge Injection Differences . . . . . . . . . . . . . . . . . 281
5.4 6-bit 1 GHz Two-Step Subranging ADC . . . . . . . . . . . . . . . . . . 285 5.4.1 5.4.2 5.4.3 5.4.4 5.4.5 5.4.6
6.
Specifications and Architecture . . . Fine Flash ADCs . . . . . . . . . . . . Coarse Flash ADC . . . . . . . . . . . Redundancy . . . . . . . . . . . . . . . . Selection of the Reference Voltages Layout and Measurement Results .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
285 287 291 293 296 300
CONCLUSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 6.1 Overview of the Research Work . . . . . . . . . . . . . . . . . . . . . . . . 305
Appendix A. AVERAGING WITH PIECEWISE LINEAR DIFFERENTIAL PAIRS . . . . . . . . . . . . . . . . . . . . . . . . . 313 A.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 A.2 Output Voltage and Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 A.3 Effect of Mismatches – INL and DNL . . . . . . . . . . . . . . . . . . . . 318
Offset Reduction Techniques in High-Speed ADCs
x A.3.1 A.3.2 A.3.3 A.3.4
Mismatches Mismatches Mismatches Mismatches
in in in in
the Transistors of the Differential Pair the Tail Current Sources . . . . . . . . . . Resistors R0 . . . . . . . . . . . . . . . . . . . Resistors R1 . . . . . . . . . . . . . . . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
319 323 327 330
Appendix B. MISMATCHES IN THE RESISTORS OF THE AVERAGING NETWORK . . . . . . . . . . . . . . . . . . . . . . . . 333 B.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 B.2 Mismatches in Resistors R0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 B.3 Mismatches in Resistors R1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
B.3.1 Common-Mode Mismatch Component (δR1[k]) . . . . . . . . . . . . . . . 336 B.3.2 Differential-Mode Mismatch Component (ΔR1[k]) . . . . . . . . . . . . 339
Appendix C. AVERAGING IN FOLDING STAGES . . . . . . . . . . 341 C.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341 C.2 Equivalence Between Circular and Infinite Networks . . . . . . . . . 345 C.3 Output Voltage and Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348 C.3.1 Calculation of the Output Voltage . . . . . . . . . . . . . . . . . . . . . . . 348 C.3.2 Calculation of the Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
C.4 Effect of Mismatches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 C.4.1 INL due to Mismatches in the Transistors and Current Sources . . 355 C.4.2 DNL due to Mismatches in the Transistors and Current Sources . . 357 C.4.3 INL and DNL due to Mismatches in the Resistors . . . . . . . . . . . . 359
REFERENCES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Preface
The advent of CMOS technologies with lower feature sizes enables a sustained increase in the available memorization and processing capabilities, favoring the signal processing operations performed in digital domain. Quite often the signals to be processed are analog and, in some cases, must become analog after the digital processing. This requires the utilization of components that make the translation between the two domains: the Analog-to-Digital Converter (ADC) receives an analog signal and produces its binary coded representation; the Digital-toAnalog Converter (DAC) performs the opposite operation. Presently there are data converters in virtually all electronic systems: audio, video and imaging, communications, control, radar, etc. The two most fundamental parameters of data converters are the sampling frequency (rate at which the input is examined and the corresponding output is produced), and the resolution (which determines the minimum analog signal amplitude that can be processed). Practical implementations indicate a primary tradeoff between these two parameters: data converters with higher sampling frequency have a smaller resolution. There are several ADC architectures, each suited to a certain resolution/sampling frequency range. This book focus on CMOS high-speed ADCs: the flash, two-step flash and folding and interpolation converters. These architectures (which currently achieve resolutions ranging from 6 to 10 bit, and sampling frequencies extending from 100 MHz to several GHz) and the tradeoffs in their constituting blocks are addressed in detail; furthermore, silicon implementations using all three architectures are presented.
xi
xii
Offset Reduction Techniques in High-Speed ADCs
These converters have the common characteristic of possessing subblocks that have no special linearity requirements, but whose offset voltages are of the upmost importance because they determine the overall ADC linearity. Offsets can be reduced by enlarging the components, but this increases the parasitic capacitances, leading to a larger power dissipation or to the reduction of the maximum operating frequency. The offset voltage is, in this way, the fundamental design parameter in high-speed CMOS analog-to-digital converters. The utilization of offset reduction techniques is mandatory to achieve high frequency operation with low power dissipation and layout area. Averaging and offset sampling are the two most widely used and both are thoroughly examined and characterized. The most exhaustive study ever performed about averaging is, to the best knowledge of the authors, presented in this book. Also, previously proposed offset sampling methods are carefully reviewed to understand their limitations. Then two new techniques are proposed that, when combined, yield a nearly offset free comparator. The research work published by the authors in leading IEEE transactions and conferences [1–6] is detailedly presented and extended, resulting in a book that covers both the main high speed ADC architectures as well as the most widely used linearity improvement (offset reduction) techniques. This book is organized as follows. The first chapter starts with an overview of the basic operations realized inside an analog-to-digital converter, as well as the parameters used to characterize it. The main high-speed ADC architectures are then described. The advantages and limitations of each one are reviewed, and the techniques usually employed to improve their performance are presented. This chapter ends with a discussion on the operation and performance limitations of the basic building blocks used on these high-speed ADCs. The second chapter presents the DC characterization of the averaging networks employed in pre-amplifier and folding stages, by deriving general and exact expressions for the output voltages, gain and the standard deviation of the integral non-linearity (INL) and differential non-linearity (DNL) arising from any type of mismatch. These expressions are then particularized to the case of MOS differential pairs, and a good agreement with SPICE simulation results is found. The last section of this chapter examines existing solutions to terminate the
Preface
xiii
averaging network, and proposes a new one that outperforms all the others. The s-domain expression for the output voltage of an averaged preamplifier stage is derived in the beginning of the third chapter. This allows to evaluate the time response using a numerical Laplace Transform Inversion algorithm. An approximation that provides further insight into the behavior of the circuit, while avoiding the utilization of that numerical algorithm, is then proposed. A curious phenomenon which occurs in averaging networks is also identified and studied in this chapter: the offset voltage is a time dependent parameter. This happens because the contributions of the differential pairs take time to propagate through the network. Still in the third chapter, an automatic design procedure is presented, which is implemented as a computer program and has an interface with a SPICE simulator. It yields the final dimensions of the components that achieve a set of design specifications, in just a few seconds. This is the final goal and main motivation for the detailed theoretical characterization of averaging networks presented in this book. Another application is the high-level modeling of ADCs, where the impact of sub-blocks’ non-idealities in the global performance of the converter (or even on the system where it will be used) is assessed. The fourth chapter presents the design and test results of two integrated prototypes using averaging: a 7-bit 120 MHz flash IQADC and a 10-bit 100 MHz folding and interpolation converter. It is shown how to use the automatic design procedure mentioned above to guarantee a set of specifications across process and temperature corners; furthermore, the application of this procedure to the design of cascaded stages is also illustrated. A technique that compensates the IR drops in the ground line of the pre-amplifiers and folding circuits, and guarantees an equal tail current value for all the differential pairs is also disclosed. This is important because, when averaging is utilized, differences in the tail currents cause systematic deviations in the code transition levels of the ADC. The fifth chapter addresses offset sampling techniques. Their operation is examined thoroughly, to understand the limitations to the amount of offset reduction that can be achieved. A new offset calibration technique and a simple method to eliminate the effect of charge injection mismatches are disclosed. The combination of these two techniques overcomes the limitations found in existing offset sampling
xiv
Offset Reduction Techniques in High-Speed ADCs
methods, yielding practically no residual offset. This chapter ends with the circuit description and tests results of a 6-bit 1 GHz two-step subranging converter employing those techniques. Furthermore, a new reference voltage selection scheme is used in this ADC, which guarantees the fast selection of the important reference voltages, and halves the number of switches connected to the resistive ladder. Finally, chapter 6 provides an overview of the research work presented in each chapter, and draws the conclusions. This book has a number of appendixes which present accessory but relevant information. The general expressions derived in chapter 2 are evaluated in Appendix A, modeling the transfer function of the differential pair with a piecewise linear function – all previously published studies on the averaging technique made this simplification (among others), which yields the simplest but most inaccurate results. The approximations and limitations of those previous research works are, then, analyzed. Appendix B addresses the effect of resistor mismatches in averaging networks. As mentioned above, the DC characterization of averaged preamplifier and folding stages is made in chapter 2. However, since the analysis of folding stages is somewhat complex that chapter only presents the main results. The detailed derivation of the expressions that characterize the averaging network of folding stages is presented at Appendix C. PEDRO M. FIGUEIREDO JOÃO C. VITAL
List of Symbols and Abbreviations
⎣a ⎦
α β
γ μ τ τ[k] σ(VOS) σ(VOS)Δψ σ(VOS[t])Δψ Δψ[k] ΔP Δhi Δq Δq[k] ΔVCAL ΔVF
Integer immediately below the real number a. Amount of settling, defined by (3.1). Constant that determines the drain current of a MOS transistor (equal to μCoxW/L). Ratio between VR and VSAT. Carrier mobility. Time constant. Time constant associated to the propagation of the contribution of differential pair k. Total standard deviation of the offset voltage. (DC) Standard deviation of the offset voltage, due to a mismatch in parameter ψ. Standard deviation of the offset voltage, due to a mismatch in parameter ψ, at time instant t. Mismatch between the parameter ψ of two similar circuit elements of the differential pair k. Difference of the electrical parameter P in two identical devices (resistance, capacitance, threshold voltage, etc.). Difference of the process parameter hi in two identical devices (mobility, oxide thickness, concentration of implanted ions, etc.). Difference of charge injection. Difference of charge injection in stage k. Calibration voltage range. Voltage difference between consecutive zero crossings of the same folding circuit.
xv
xvi
Offset Reduction Techniques in High-Speed ADCs ΔVB
L−1 {G [s ]} ADC An .fi AP AC AR AVt Aβ bi B B[s] BJT C C[s] CMOS CDB CGS CGD CL Cox CP CP[k] CS CS[k] CMFB DAC DNL DNL[k] Dx eq ENOB fΔψ[k,vI] fi fs
Voltage difference between the zero crossings of consecutive folding circuits. Inverse Laplace Transform of G[s]. Analog-to-Digital Converter. Amplitude of the spectral component at nfi (n ∈ ` ). Matching constant associated to electrical parameter P. Matching parameter for capacitors. Matching parameter for resistors. Matching parameter for the Vt of MOS transistors. Matching parameter for the β of MOS transistors. ith output bit of the ADC. Constant dependent on the absolute values of R0 and R1, given by (2.11). Extension of B to s-domain, given by (3.2). Bipolar Junction Transistor. Constant dependent of R0/R1, given by (2.12). Extension of C to s-domain, given by (3.3). Complementary Metal Oxide Semiconductor. Drain-to-Bulk capacitance of the MOS transistor. Gate-to-Source capacitance of the MOS transistor. Gate-to-Drain capacitance of the MOS transistor. Load capacitance. MOS transistor gate oxide capacitance per unit of area. Parasitic capacitance. Parasitic capacitance in pre-amplifier stage k. Offset storage capacitor. Offset storage capacitor in pre-amplifier stage k. Common-mode feedback network. Digital-to-Analog Converter. Differential Non-Linearity. Differential Non-Linearity of code k. Distance between two matched devices. Quantization error of the ADC. Effective Number of Bits. Function that determines the deviation in the output current of differential pair k, caused by the Δψ mismatch. Input frequency. Sampling frequency.
List of Symbols and Abbreviations
FB FB[k] FF FF[k] FFT FTOT gm0 gm[k,vI] g’m[k,vI] G0 G0[k] G[t] GND hi HDTV iD iD[k,vI]
iDIFF iDIFF[k,vI] iDIFF0 iDIFF0[k,vI] Idiff[k,vI,s] IF IF[k] INL INL[k] IOS ISS
xvii
Number of folding circuits (used when there is only one stage). Number of folding circuits in the kth stage. Folding Factor (used when there is only one stage). Folding Factor of the circuits in the kth stage. Fast Fourier Transform. Overall Folding Factor in a cascaded folding architecture. Transconductance of a differential pair, for zero differential input voltage. Transconductance of the kth differential pair, when the input voltage is vI. Normalized transconductance, gm[k,vI]/gm[0,0]. DC Gain. DC Gain at stage k. Dynamic Gain, at time instant t. Ground. Process parameter (mobility, oxide thickness, concentration of implanted ions, etc.). High Definition Television. Drain current of the MOS transistor. Drain current of a transistor in the kth differential pair, when the input voltage is vI. Differential output current of a differential pair. Differential output current of the kth differential pair, when the input voltage is vI. Differential output current of a differential pair in the absence of mismatches. Differential output current of the kth differential pair, when the input voltage is vI, in the absence of mismatches. Laplace Transform of the differential output current of the kth differential pair, when the input voltage is vI. Interpolation factor (used when there is only one stage). Interpolation factor of the kth stage. Integral Non-Linearity. Integral Non-Linearity of code k. Input Offset Storage. Tail current of a differential pair.
xviii
ITERM
Offset Reduction Techniques in High-Speed ADCs
Value of the current source used in the proposed termination circuit. L Channel length of the MOS transistor. LC Length of a capacitor. Lmin Minimum length permitted by the technology. LR Length of a resistor. M[a,b] Remainder of the division of a by b. MOS Metal Oxide Semiconductor. N Linear network. N Number of non-saturated differential pairs in each side of the one being considered. Nb Resolution of the ADC. NbMSB Resolution of the coarse ADC in a two-step architecture. NbLSB Resolution of the fine ADC in a two-step architecture. NCOMP Total number of comparators connected to the folding circuits. NDP[k] Number of differential pairs in the kth stage. NH Number harmonics considered in the calculation of the THD. NFstg Number of stages in a cascaded folding architecture. NPstg Number of offset compensated cascaded pre-amplifier stages. NTOT Total number of zero crossings in a folding and interpolation ADC. NMOS N-Channel MOS transistor. OOS Output Offset Storage. P Electrical parameter of a component (resistance, capacitance, threshold voltage, etc.). phx Phase x. PMOS P-Channel MOS transistor. P(INL < ξ) Probability of having the |INL| of a certain code below ξ LSB. P(DNL < ξ) Probability of having the |DNL| of a certain code below ξ LSB. Q[a,b] Integer division of a by b. rDS MOS transistor drain–source incremental resistance. rONx ON resistance of switch Sx. R0 Load resistor of a differential pair. R1 Averaging resistor.
List of Symbols and Abbreviations
Req RTERM R, s sgn(x) SP Sx SINAD SNR SPICE S/H t td[k]
tr THD T/H TS UWB VBG vDS vGS vCAL vI vIP/vIN vOP/vON vO[k,vI]|j vO[k,vI] vO[k,vI,t] Vo[k,vI,s] VCALopt
xix
Equivalent resistance “seen” to the left and to the right of each output node in the averaging network – given by (2.4). Resistance used in the proposed termination circuit. Resistance resistance per square of polysilicon. Complex frequency. Sign function. Constant that indicates the matching of parameter P, as a function of the distance between the two devices. Switch x. Signal-to-Noise-and-Distortion Ratio. Signal-to-Noise Ratio. Simulation Program with Integrated Circuit Emphasis. Sample-and-Hold. Time. Time delay associated to the propagation of the contribution of differential pair k. Rise/fall time of the clock signal. Total Harmonic Distortion. Track-and-Hold. Sampling period. Ultra WideBand. Bandgap reference voltage. Drain-to-Source voltage of a MOS transistor. Gate-to-Source voltage of a MOS transistor. Calibration voltage. Input voltage. Positive/negative input voltage. Positive/negative output voltage. Voltage at node k due to the current source connected to node j, when the input voltage is vI. Output voltage of the kth differential pair, when the input voltage is vI. Output voltage of the kth differential pair, when the input voltage is vI, for time instant t. Laplace Transform of the output voltage of the kth differential pair, when the input voltage is vI. Calibration voltage at which perfect offset cancellation occurs.
xx
Offset Reduction Techniques in High-Speed ADCs
VCALrange VCM VDD VFS VLSB VOS VOS[k]Δψ
Calibration Range. Common-mode voltage. Supply voltage. Input range of the ADC. Quantization step of the ADC. Offset voltage. DC offset voltage in the zero crossing of the kth differential pair, due to mismatches in the parameter ψ. VOS[k,t]Δψ Offset voltage in the zero crossing of the kth differential pair, at time instant t, due to mismatches in the parameter ψ. VOVD Overdrive voltage of a MOS transistor, VGS−Vt. VR Difference of consecutive reference voltages in a resistive ladder. VREFP Upper extremity reference voltage. VREFN Lower extremity reference voltage. VRP Positive reference voltage applied to a pre-amplifier. VRN Negative reference voltage applied to a pre-amplifier. VSAT Differential input voltage at which a differential pair becomes completely unbalanced. Vt Threshold voltage of a MOS transistor. VT[k] Input voltage where the transition from code k – 1 to code k occurs. W Channel width of a MOS transistor. WC Width of a capacitor. WR Width of a resistor. Y(INL < ξ) Probability of having the overall INL of the ADC below ξ LSB. Y(DNL < ξ) Probability of having the overall DNL of the ADC below ξ LSB.
Chapter 1 High-Speed ADC Architectures 1.1
INTRODUCTION
The rapid technological evolution leads to CMOS technologies with lower feature sizes, allowing the integration of more complex systems in an single integrated circuit. The digital circuits, which are designed at a high level of abstraction, benefit directly from those advanced technologies, leading to a sustained increase in the available memorization and processing capabilities. In this way, there is a tendency to make all the signal processing in the digital domain. Quite often the signals to be processed are analog and, in some cases, must become analog after the digital processing. This requires the utilization of components that make the translation between the two domains: the Analog-to-Digital Converter (ADC) receives an analog signal and produces its binary coded representation; the Digital-to-Analog Converter (DAC) performs the opposite operation. The complete integration of a system – which may include a digital processor, memory, ADC, DAC, signal conditioning amplifiers, frequency translation, filtering, reference voltage/current generator, etc. – in the same CMOS die is of the upmost importance, to reduce costs. This book focus on CMOS high-speed ADC architectures – flash, two-step flash and folding and interpolation – which have the common characteristic of possessing sub-blocks with no special linearity requirements, but whose offset voltages are of the upmost importance because they determine the overall ADC linearity. Those architectures are described in detail in the present chapter. The techniques used to improve the linearity of these converters – averaging and offset sampling – are addressed in subsequent chapters. This chapter starts with an introduction to the ADC as an electrical component: the basic operations it performs are presented, and its main characterization metrics are discussed. The various high-speed analog-to-digital conversion architectures are then described: the flash ADC in section 1.3, the two-step ADC in section 1.4 and, finally, the folding and interpolation ADC in section 1.5. For each architecture, the advantages and the main limitations as well as the techniques usually employed to improve their performance, are reviewed. P.M. Figueiredo and J.C. Vital, Offset Reduction Techniques in High-Speed Analog-to-Digital Converters, © Springer Science+Business Media B.V. 2009
1
Offset Reduction Techniques in High-Speed ADCs
2
This chapter ends with a discussion on the operation and performance limitations of the building blocks used in the high-speed ADCs (section 1.6).
1.2
THE ANALOG-TO-DIGITAL CONVERTER
1.2.1
Basic Operations and Transfer Function
The basic operations realized inside an ADC are represented in Fig. 1.1. The sampling operation transforms the continuous-time input into a discrete-time signal. This operation is controlled by the clock signal: in all high-speed ADC architectures the input is sampled once in every clock period. In this way the frequency of the clock corresponds to the sampling frequency, fs. The input signal can be a voltage or a current but, hereafter, it will be considered that it is a voltage which is, by far, the most common situation.
vIS vI
TS = 1/fs
Quantization Step (VLSB)
vIQ
t
t
t
vI
Sampling
Quantization
Encoding
011011 101010 010101 111000 010000 000000
Clock Signal (fs)
Figure 1.1. The basic operations performed in an ADC.
The sampling operation performs a time discretization of the input voltage, but the amplitude of the resultant sampled signal can still take any value – it is a continuous-amplitude signal. According to the Nyquist theorem, as long as the bandwidth of the input signal remains below fs/2 no information is lost, and the original signal can be reconstructed exactly. The next operation performed inside the ADC is the quantization of the sampled signal. The quantizer divides the input range of the ADC,
Chapter 1: High-Speed ADC Architectures
3
VFS, in several small regions called quantization steps, which have the width VLSB. The output voltage of the sampling circuit is approximated by one of the quantization levels, as shown in Fig. 1.1. An irreversible error is introduced – quantization error – which prevents the exact reconstruction of the input signal. The maximum quantization error is V eq max = ± LSB . 2 The last operation performed in a ADC is the assignment of a binary number, the output code, to each quantization level – encoding. The output of the ADC is, therefore, a binary coded representation of the quantized signal. The transfer function of an ADC is shown in Fig. 1.2. Output Code 11…111 11…110 11…101
00…010 00…001 00…000 0
VLSB
VFS
Input Voltage
Quantization Error (eq) +VLSB/2
Input Voltage Figure 1.2. Transfer function and quantization error of an ideal ADC. −V LSB/2
There are 2Nb quantization steps, where Nb is the resolution of the ADC which corresponds to the number of bits in the output code. Since V , (1.1) VLSB = FS 2Nb
Offset Reduction Techniques in High-Speed ADCs
4
increasing the resolution decreases VLSB and, therefore, the quantization errors. As will be made clear throughout this book, there is a fundamental tradeoff between the resolution and sampling frequency: faster ADCs tend to have a smaller resolution. The effect of the quantization errors can be viewed as an additive noise (called quantization noise), where V (1.2) eq (t ) ≤ LSB . 2 Considering that eq(t) is a random variable independent of the input VLSB , it can be demon2 strated [10, 11] that the maximum achievable signal-to-noise ratio (SNR) of an ADC is SNR[dB] = 6.02Nb+1.76. (1.3) In this way, even the ideal ADC has a limited SNR due to the quantization process. There are ADCs with nonuniform quantization steps [8, 9], or which use oversampling and noise-shaping to improve the performance [10]. None of those ADCs are considered in this book. High-speed conversion can also be achieved by using several ADCs working in time interleaving [12–14]. This matter is also not address in this book, which focus on the speed maximization of individual ADCs. Note, though, that when employing time interleaving it is fundamental to start by maximizing the speed of the unit ADC. signal1 and uniformly distributed between ±
1.2.2
Static Characterization of ADCs
The transfer function of real ADCs deviates from the ideal one, depicted in Fig. 1.2. These deviations can be divided into a linear and a nonlinear part. The linear part is caused by offset and gain errors, both represented in Fig. 1.3, which do not originate distortion and, therefore, are often unimportant. These errors are calculated by comparing the straight line that best fits, in the mean-square sense, the measured transfer function with the one of the ideal converter.
1
This approximation greatly simplifies the SNR calculation. Reference [10] shows that (1.3) has an error below 0.5 dB for Nb ≥ 2 bit. For example, the error of (1.3) for an 8-bit converter is only 0.1 dB.
Chapter 1: High-Speed ADC Architectures
5
VOS Ideal Transfer Function
Gain Error
Ideal Transfer Function
Real Transfer Function
Real Transfer Function
(a)
(b)
Figure 1.3. ADC transfer function with (a) offset error; (b) gain error.
The characterization of the nonlinear errors is done using two parameters:
Integral Non-Linearity (INL) – it is the difference between the ideal and measured transition level of each output code, normalized to the quantization step, VLSB, INL [k ] =
VT [k ] −VTideal [k ] VT [k ] −VTideal [1] = − (k − 1) VLSB VLSB with k = 1...2Nb − 1
(1.4)
Differential Non-Linearity (DNL) – it is the normalized deviation of the difference between two consecutive code transition levels, with respect to the ideal value, VLSB, DNL [k ] =
VT [k + 1] −VT [k ] −VLSB V [k + 1] −VT [k ] = T −1 VLSB VLSB
with k = 1...2Nb − 2.
(1.5) In these equations VT[k] is the input voltage where the transition from code k − 1 to code k occurs. Since these two parameters characterize the nonlinear behavior of the ADC, they are calculated after removing the gain and offset errors from its transfer function [15].2 2
Consequently, the code transition levels that appear on (2.4) and (2.5), VT[k], are from the transfer function obtained after removing the offset and gain errors.
6
Offset Reduction Techniques in High-Speed ADCs
Figure 1.4 shows examples of INL and DNL errors. The INL measures the (nonlinear) deviations of the real transfer function with respect to the ideal straight line: it is a measure of large signal linearity of the converter. The DNL indicates the deviations in the width of each quantization step; as this parameter examines the nonlinearity of each code independently of all the others, it measures the small signal linearity of the converter. Output Code
DNL[4]<0
00…101 00…100
DNL[2]>0 INL[5]<0
00…011
Ideal Transfer Function
00…010 Real Transfer Function
00…001 00…000
Input Voltage
INL[1]>0
Figure 1.4. INL and DNL examples.
Since the information used to compute these two parameters is the same (code transition levels and the value of VLSB), they are not independent of each other. It can be shown that k −1
INL [k ] = INL [1] + ∑ DNL [k ]
with k > 1
(1.6)
i =1
(1.7) DNL [k ] = INL [k + 1] − INL [k ] . There are two common ways of presenting the INL and DNL: either only the maximum values are indicated,
INL = max ( INL [k ] )
with k = 1...2Nb − 1
(1.8)
(1.9) DNL = max ( DNL [k ] ) with k = 1...2Nb − 2 or there are figures showing the values of these parameters for all output codes. In situations of extreme degradation in the linearity of the converter it may happen that some codes do not appear at the output – these are called missing codes. It may also happen that the transfer function is non-monotonic, i.e. for an increase on the input voltage there is a
Chapter 1: High-Speed ADC Architectures
7
decrease on the output code. Having DNL > −1 LSB guarantees monotonicity and the presence of all codes. The most straightforward way of measuring the static parameters is to vary the input voltage and determine the code transition levels. However, the code obtained with a certain input level may not always be the same, due the presence of noise in the input signal and in the ADC. In this way each transition level must be found by determining the input voltage that makes two successive codes appear with a probability of 0.5. This process requires a large number of conversions for each transition level, becoming a very slow process even for moderate resolutions. A commonly used alternative is the histogram method [15, 16], where a periodic signal – usually a sinewave – is applied to the input and the results from a large number of conversions are examined. The transfer function of the ADC, and therefore the static parameters just described, is obtained by comparing the number of times that each code occurs against the value that would be found in the ideal converter. For a ramp input all codes should occur with equal probability, whereas for a sinewave it is expected that the codes corresponding to its extremities appear more often than those of the middle, because in this region the input voltage varies faster. The histogram method is usually made with the maximum clock frequency and, depending on the input frequency, it may already include effects of dynamic nature.
1.2.3
Dynamic Characterization of ADCs
The dynamic characterization of an ADC is made with a sinewave input because it has several attractive properties:
There is a precise and simple mathematical description both in time and frequency domains. By filtering it is possible to approximate an imperfect sinusoidal signal to its ideal form. Moreover, its non-idealities (noise and distortion) can be easily measured. The input frequency response of the converter is obtained directly.
The parameters used in the dynamic characterization of an ADC are the same employed for any other (ideally) linear circuit. To measure these parameters a sinusoidal signal with frequency fi is applied to
8
Offset Reduction Techniques in High-Speed ADCs
the input and the output spectrum, obtained from a Fast Fourier Transform (FFT) of the output sequence, is examined. One relevant parameter is the signal-to-noise ratio (SNR), which is the ratio between the signal and noise power [15]. As mentioned in section 1.2.1, the quantization operation limits the achievable SNR to the value given by (1.3). The SNR of a real ADC is always smaller, due to the noise generated by electrical components inside the converter. Another important parameter is the total harmonic distortion (THD). The non-linearities of the ADC generate spectral components at frequencies multiples of fi (harmonics). The THD is the ratio between the power of all harmonics and the power of the input signal, ⎛ N H +1 ⎞ 2 ⎟ ⎜⎜ ⎟ A ⎜⎜ ∑ n .fi ⎟⎟ ⎟⎟, (1.10) THD[dB] = 10 log10 ⎜⎜ n =2 2 ⎟⎟ ⎜⎜ Af ⎟ i ⎟⎟ ⎜⎜ ⎟⎟⎠ ⎜⎜⎝ where An .fi is the amplitude of the spectral component at nfi, and NH is the number of harmonics considered. A reasonable number for NH is 9 [15]. The signal-to-noise-and-distortion ratio (SINAD) is the ratio between the signal power and the power of all undesired spectral components (noise plus distortion). This parameter measures the true performance of the converter and can be obtained from the SNR and THD, SNR[dB] ⎞ ⎛ THD[dB] − ⎟ ⎜⎜ (1.11) SINAD[dB] = −10 log10 ⎜10 10 + 10 10 ⎟⎟⎟. ⎜⎜ ⎟⎟ ⎝ ⎠ The SINAD is usually presented as a function of the input and sampling frequencies. The effective number of bits (ENOB) gives the same information of the SINAD, but in a more convenient way. This parameter results from the inversion of the SNR expression of the ideal ADC (1.3), while substituting the SNR by the SINAD,3
ENOB =
3
SINAD[dB] − 1.76 6.02
.
(1.12)
Note that in the ideal converter there is no distortion: the undesired spectral components are due just to (quantization) noise. In real ADCs distortion exists and, therefore, when assessing the undesired spectral components, it makes sense to consider the SINAD instead of the SNR.
Chapter 1: High-Speed ADC Architectures
9
The ENOB indicates the number of bits that an ideal converter would have to achieve the measured SINAD. This parameter reveals immediately how far from the ideal case is the performance of the ADC being characterized. The description just presented about the static and dynamic parameters is not intended to be exhaustive. A detailed explanation of the parameters and measurement procedures can be found in [15]. This reference also provides a list showing which parameters are most relevant in a number of systems where ADCs are currently used (audio, video, telecommunications, radar, etc.).
1.3
FLASH ADCS
1.3.1
Architecture Description
The architecture that achieves the largest conversion rate is the flash ADC, represented in Fig. 1.5. The sample-and-hold (S/H) performs the sampling operation. The pre-amplifiers subtract the sampled signal (vIS), from the reference voltages generated by the resistive ladder: the differential output voltage of a pre-amplifier is positive if vIS is larger than its reference voltage, and negative otherwise. At the output of each pre-amplifier there is a latched comparator, triggered by the clock signal. It provides the high logic level if the differential output voltage of the pre-amplifier is positive, and the low logic level in the case it is negative. When examining the outputs of all latched comparators a thermometer code is found: all comparators connected to pre-amplifiers with reference voltages lower than vIS present a high logic output level, while all the others have a low logic level – this resembles the operation of a mercury thermometer. The encoder detects the high-to-low transition in the thermometer code and provides the corresponding binary output code. The encoders used in most flash ADCs include mechanisms of correcting bubble errors (more than one high-to-low transition in the thermometer code) [11, 17–20]. In an Nb bit flash ADC there are 2Nb − 1 pre-amplifiers and latched comparators, each detecting a single code transition voltage. The overall power dissipation and area, and the input capacitance of the preamplifiers limits the utilization of this kind of converters to 6–8 bit [18, 21–24].
Offset Reduction Techniques in High-Speed ADCs
10
Pre-Amplifier Stage
VREFP
+ -
+
-
-
+
+
-
-
+
+
Encoder
-
Latched Comparator Stage
bNb
b1 + -
+ -
-
-
+
+
-
-
+
+
VREFN vI clk
S/H
vIS Clock buffers
Figure 1.5. Flash ADC.
1.3.2
Design Specifications of Each Building Block
An overview of the most relevant design parameters in each constituting sub-block of the flash ADC will now be presented. In the sample-and-hold the most important parameters are the input bandwidth and the linearity. The input capacitance of the pre-amplifiers can be quite significant in ADCs having moderate resolutions and, therefore, the S/H must have a large driving capability. The S/H is not strictly necessary in a flash ADC, i.e. the input voltage can be applied directly to the pre-amplifiers. In that case the
Chapter 1: High-Speed ADC Architectures
11
sampling operation occurs when the latched comparators are triggered. Several issues must then be addressed:
The distribution of the input and clock signals usually requires long metal lines, whose parasitic resistances and capacitances introduce a propagation delay. Significant timing differences in the arrival of those signals to each pre-amplifier and latched comparator cannot exist, otherwise the sampling instant becomes input level dependent, originating distortion. This issue can be solved by using a tree structure for the distribution of the clock and input signals or by matching the delay in the clock and signal lines [10]. The pre-amplifiers have a limited bandwidth and a transfer function with saturation. It can be shown [10, 25], that this introduces a variable delay in the processing of the input signal, causing third-order distortion. The bandwidth of the pre-amplifier must be several times larger than the maximum input frequency to maintain the distortion in acceptable levels. When a S/H is used, the bandwidth of the pre-amplifiers is defined by settling considerations which, in case of high-frequency input signals, leads to a significantly smaller power dissipation [25]. In the beginning of the regeneration phase the latched comparators are still sensitive to their input voltage: a fast moving input signal can still change its decision, while a slow input signal cannot. Therefore the effective sampling instant depends on the slope of the input voltage of the comparator, originating distortion [22].
When a S/H is used, the sampling instant is very well defined, leading to a better input frequency response. As usually flash ADCs have low to medium resolutions, the linearity requirements of the S/H can be met with very fast and simple open-loop circuits [24, 26, 88]. The performance at high input frequencies is then only limited by the sampling network of the S/H which, typically, is simply constituted by a capacitor and one or two CMOS switches. Because of this, most recently published flash ADCs employ a S/H. The pre-amplifier is, in most cases, a simple differential pair. Its most relevant design parameters are the offset voltage, DC gain, settling speed and input capacitance.
12
Offset Reduction Techniques in High-Speed ADCs If a pre-amplifier has an offset voltage VOS, one of the code transi-
tion levels of the ADC is shifted by that amount.4 The offset voltages have, therefore, a direct impact on the linearity of the ADC. Offset voltages exist because two equally drawn components do not present the same characteristics – there is a mismatch between them. These differences are of random nature and occur due to small variations in the fabrication process. As will be shown in section 1.6.2, the mismatches depend mainly on the area of the devices: larger components must be used to achieve lower offset voltages, thereby increasing the parasitic capacitances. This, in turn, makes the pre-amplifiers slower and their input capacitance larger. More power must then be spent in the pre-amplifiers (to make them faster) and in the S/H (to drive its larger load capacitance). There is, thus, a fundamental tradeoff between speed, power dissipation and accuracy [28]. This tradeoff can be relaxed by using offset reduction techniques: offset sampling [11, 29–35] and averaging [28, 36]. The averaging technique was proposed in [36] and is now commonly employed in high speed flash ADCs [24–27, 37]. It consists in the connection of low value resistors between the outputs of the pre-amplifiers, which correlates their output voltages. Each code transition level is defined by a weighted sum (average) of the random deviations in the elements of many pre-amplifiers, which effectively lowers the offset voltages. Chapters 2 and 3 of this book are devoted to the detailed study of this technique. Offset sampling techniques employ capacitors to sense, store, and subtract the offset voltages of the pre-amplifiers from the input. Chapter 5 analyses those techniques. The offset voltages of the latched comparators cannot be reduced by averaging and offset sampling techniques (a noteworthy exception is presented in chapter 5). So, a reasonable DC gain in the pre-amplifiers is important to reduce the input referred offset voltages of the comparators. Increasing the gain is accomplished by spending more power. To achieve, simultaneously, high gain and high bandwidth it is more power efficient to use several cascaded stages instead of a single one [38, 39]; so there are flash ADCs following that approach [26, 33– 35, 37]. 4
The offset voltages of the latched comparators and the deviations on the reference voltages are being neglected in this discussion. In reality the location of each code transition level depends on all these factors.
Chapter 1: High-Speed ADC Architectures
13
The voltage variations in the internal nodes of the pre-amplifiers are coupled, through the parasitic capacitances, to the reference voltages generated by the resistive ladder – this is represented in Fig. 1.6.
Figure 1.6. Disturbance of the reference voltages.
Variations on the reference voltages have a direct impact in the performance of the converter, because they define the code transition levels. These variations can be reduced using smaller resistances, at the cost of increased power dissipation. Note that the offset requirement of the pre-amplifiers determines the transistor sizes and, therefore, its parasitic capacitances. Thus, it also influences the power dissipation in the resistive ladder. Mismatches between resistances cause random deviations on the reference voltages. Smaller deviations are obtained with resistors having a larger area. The most important design parameters of the latched comparator are the offset voltage and the regeneration speed. If a low offset is required, large devices must be used; this enlarges the parasitic capacitances, slowing the regeneration process and increasing the power dissipation. The input referred offset voltage of the comparator can be reduced by having a larger gain in the pre-amplifier stage(s) preceding it, but this has also a cost in power dissipation. From this discussion one may conclude that the offset voltage requirements, which impose a minimum area for the components, trade directly with the overall area, speed and power dissipation of the converter. The offset voltage is, in this way, the fundamental design parameter in CMOS flash ADCs and, as will be seen, also in all other high-speed architectures.
Offset Reduction Techniques in High-Speed ADCs
14
1.3.3
The Interpolation Technique
The output voltage of a pre-amplifier is zero when vIS is equal to its reference voltage: we are at the zero crossing of the pre-amplifier. The notion of zero crossing is relevant because the latched comparator can be regarded as a zero crossing detector: its digital output level only depends on whether it has a positive or negative input voltage. In this way, in a flash ADC the only important information is the location of the zero crossings of the pre-amplifiers, since those are the code transition voltages.5 For example, the linearity of the pre-amplifier is completely irrelevant. This observation led to the application of the Interpolation Technique [25–27, 29, 37, 40], which eases some of the problems in the flash converter. This technique consists on the connection of small resistive ladders between the outputs of consecutive pre-amplifiers, as shown in Fig. 1.7. The Interpolation Factor (IF) is the number of interpolation resistors. +
V1
-
vIS
+
V2
-
+
vON1 vOP1
vINTP1
vINTN1
vINTP2
vINTN2
vINTP3
vINTN3
+
vON2 vOP2
Figure 1.7. Resistive interpolation (IF = 4).
The pre-amplifiers behave linearly when their differential input voltage is small, and saturate when it becomes arbitrarily large. Figure 1.8 shows the output voltages of pre-amplifiers with consecutive reference voltages, and also the signals obtained by interpolation: extra 5
The offset voltages of the latched comparators are being neglected in this discussion.
Chapter 1: High-Speed ADC Architectures
15
zero crossings are created, which allows to substitute each group of IF pre-amplifiers by just one. In this way, there is a reduction of the input capacitance, layout area and power dissipation of the pre-amplifier stage. The power dissipated on the resistive ladder decreases because there are now less pre-amplifiers disturbing the reference voltages. The number of necessary reference voltages is also reduced by a factor of IF. In [34] the extensive utilization of interpolation allowed to eliminate the reference ladder altogether. zero crossings
vO
vINTN1 vINTP1
vINTP3 vINTN3 vON2
vOP1 vON1
vOP2 V1
V2
vIS
Figure 1.8. Output voltages of consecutive pre-amplifiers, and the voltages obtained by interpolation (IF = 4).
As illustrated in Fig. 1.9, there are deviations in the zero crossings generated by interpolation, due to the nonlinear transfer function of the pre-amplifiers. In this way the linearity of the pre-amplifiers, which was unimportant in flash ADCs without interpolation, now becomes relevant: both pre-amplifiers must be approximately linear in the interpolation range, as in the case shown in Fig. 1.8. Although this is not a strict linearity requirement, it sets an upper bound to the interpolation factor that may be used, for a given VFS. Speed related constrains also limit the usable interpolation factor and, simultaneously, set an upper limit to the value of the resistors. When a S/H is not used the differences of propagation time in the interpolation ladder are relevant [67] while, when a S/H is employed, there are settling specifications to be met. The addition of resistors between the outputs of the pre-amplifiers lowers their output resistance, decreasing the gain. To avoid this, the first ADCs employing resistive interpolation used low output impedance
Offset Reduction Techniques in High-Speed ADCs
16
buffers after the pre-amplifiers (usually a emitter/source follower) to drive the interpolation ladder [40]. Ideal zero crossing locations
vO
3/4 1/4
vOP1
vON2
vOP2
vON1 V1
V2
vIS
Figure 1.9. Interpolation errors that occur when the two pre-amplifiers are not linear in the interpolation range (IF = 4).
However, it was understood that connecting low value resistors between the outputs of the pre-amplifiers implements both the interpolation and averaging techniques [25–27, 37]. The simultaneous utilization of interpolation and averaging is examined in section 3.5.11. Contrarily to the common belief [27], using interpolation in an averaged pre-amplifying stage does not further decrease its input capacitance and power dissipation: although there are less pre-amplifiers, each one has larger devices and consumes more power. Still, the utilization of interpolation can yield a reduction on the layout area and complexity. There are alternative ways of performing interpolation: current interpolation [41, 78, 81], capacitive interpolation [34, 42, 43] and active interpolation [79]. However, the resistive interpolation shown in Fig. 1.7 (also called voltage interpolation) is the most common, and has the advantage of being easily combined with averaging. It is also possible to combine resistive interpolation with active interpolation. One should note that interpolation does not reduce the number of latched comparators: for an Nb bit flash ADC with interpolation there Nb are 2 pre-amplifiers and, still, 2Nb – 1 latched comparators. IF The interpolation technique is used not only in flash ADCs but also in two-step and folding converters.
Chapter 1: High-Speed ADC Architectures
17
1.4
TWO-STEP FLASH ADCS
1.4.1
Two-Step Flash ADC with DAC and Subtractor
The exponential growth of the overall power and area of the flash converter makes it practical only for resolutions up to 6 to 8 bit. The two-step flash ADC, shown in Fig. 1.10, mitigates its limitations. vODAC
vIS
S/H
vI
vI
vI
vI
residue
Coarse ADC (NbMSB)
DAC
+
Σ
−
NbMSB
Fine ADC (NbLSB)
NbLSB
Figure 1.10. Two-step flash ADC.
The S/H samples the input signal and the coarse flash ADC obtains the most significant bits (MSBs), which the DAC uses to generate a rough approximation of the input signal. The sampled input is, then, subtracted from the output voltage of the DAC yielding the residue, that corresponds to the error made in the coarse quantization. Finally, the fine ADC quantizes the residue and obtains the least significant bits (LSBs). Examples of ADCs using this architecture can be found in [44–48]. The coarse and fine sub-converters are flash ADCs. The number of necessary pre-amplifiers and comparators is reduced from 2Nb – 1, in a full flash ADC, to 2NbMSB + 2NbLSB – 2. For example, an 8-bit flash ADC needs 255 pre-amplifiers and comparators, where a two-step converter, with NbMSB = NbLSB = 4, only needs 30. Although the coarse ADC only resolves NbMSB bit, the deviations in its code transition levels must be lower than the quantization step of the converter, VLSB. If this does not occur, the residue will be out the input range of the fine flash ADC, as shown in Fig. 1.11(a). This limitation can be eased by using redundancy: the resolution of the fine ADC is increased in order to enlarge its full-scale input range – Fig. 1.11(b). Usually the resolution is increased by 1 bit [45–48], which
Offset Reduction Techniques in High-Speed ADCs
18
doubles the input range and allows to have deviations in the code transition voltages of the coarse ADC as high as ± 1 VFS . There are, 2 2NbMSB however, cases of ADCs using a different amount of redundancy [44]. residue
Fine ADC is saturated
Input range of fine ADC
VT[k+1]
VT[k]
vI
Deviations on the code transition levels of the Coarse ADC
(a) residue
Fine ADC does not saturate Extension of the fine ADC input range, by adding one more bit of resolution and maintaining its quantization step
VT[k+1]
VT[k]
vI
Deviations on the code transition levels of the Coarse ADC
(b)
Figure 1.11. Residue quantization in the presence of a large INL in the coarse ADC: (a) no redundancy; (b) 1 bit redundancy in the fine ADC.
In the architecture shown in Fig. 1.10, the fine ADC has a small full-scale input range – only VFS 6 – and its quantization step corre2NbMSB sponds to VLSB. Consequently, the pre-amplifiers and comparators must have low offset voltages, because these affect directly the linearity of the converter [45, 48]. To ease this specification, in some two-step ADCs the residue voltage is amplified before being applied to the fine sub-converter [46, 49]. If the residue amplifier has a gain of 2NbMSB , the input ranges of the coarse and fine sub-converters are the same, and a single flash ADC may be used to obtain the MSBs and the LSBs [47]. 6
Redundancy is not considered here. As mentioned above, if 1 bit of redundancy is used the fullscale input range of the fine ADC doubles.
Chapter 1: High-Speed ADC Architectures
19
In the two-step architecture there are much less pre-amplifiers and comparators than in the flash ADC. Moreover, if redundancy and residue amplification are used, the offset requirements of those circuits become relaxed. However, this converter employs a DAC, a subtractor and, eventually, an amplifier, whose linearity, gain error and settling speed are critical parameters that limit the resolution and sampling frequency [11, 49]. In a flash ADC there are no special linearity requirements for any of its constituting blocks (except for the S/H, if it is used). One should also note that the architecture shown in Fig. 1.10 is intrinsically slower than the flash ADC: a new sampling is only performed after a coarse quantization, plus a digital-to-analog conversion followed by a subtraction have been completed. A possibility is to apply the input signal directly to the coarse ADC, which then provides the MSBs to the DAC, at the same time the S/H outputs the sampled value to the subtractor [7]. Another possibility is to use two cascaded S/Hs, where the first one is already sampling the input signal while the output voltages of the DAC and the subtractor are still settling [45]. This leads, ultimately, to the pipeline ADC which has several cascaded stages, each one performing the following operations: analog-to-digital conversion, digital-to-analog conversion, subtraction, amplification and sampling. The analog-to-digital conversion is done by a flash ADC, and the remaining operations are performed using a Multiplying DAC (usually implemented with a single amplifier [50]) whose linearity, gain error and settling speed determine the overall performance of the converter.
1.4.2
Two-Step Subranging Flash ADC
The subranging ADC performs the same internal operations of the two-step converter shown in Fig. 1.10. However, the digital-to-analog conversion and the subtraction are done in a way that avoids using highly linear components, therefore improving high frequency performance [42, 43, 51–60]. Figure 1.12 shows the architecture of this ADC: the S/H provides the sampled signal to both the coarse and the fine flash ADCs. The coarse ADC quantizes the MSBs, making a rough estimation of input signal “position”. Then, the set of reference voltages that are closer to the input signal are selected and applied to the fine ADC, which quantizes the LSBs.
Offset Reduction Techniques in High-Speed ADCs
20
2NbLSB − 1 resistors between each reference voltage used by the Coarse ADC Resistive Ladder
Selection of references for the Fine ADC
Coarse ADC
VREFP
+ -
+ -
+ -
-
-
+
+
-
-
+
+
[2NbMSB − 1]
[2NbMSB − 2]
-
-
+
+
Encoder MSB
2NbLSB − 1 switches selected simultaneously
NbMSB
[1]
VREFN
Fine ADC + -
+
-
+
+
-
-
+
+
[2NbLSB − 1]
[2NbLSB − 2]
Encoder LSB
-
-
+ -
+ -
-
-
+
+
-
-
+
+
} 2NbLSB − 1 reference voltages
vI
S/H
vIS
Figure 1.12. Two-step subranging ADC.
[2]
[1]
NbLSB
Chapter 1: High-Speed ADC Architectures
21
The resistive ladder performs two operations: it generates the reference voltages to the coarse ADC and, in combination with the reference selection switches, it realizes the digital-to-analog conversion. The subtraction between the (sampled) input signal and the DAC result is performed in a distributed way, by the pre-amplifiers of the fine ADC. In this way, the subranging architecture makes the operations depicted in Fig. 1.10, but does not have blocks with critical linearity requirements: only zero crossings are important. The deviations on the code transition levels of the two-step subranging converter are caused by the offset voltages of the pre-amplifiers and latched comparators inside the fine flash ADC. Offset sampling techniques [42, 43, 51, 53, 55–59], eventually combined with averaging [60], are employed to obtain low offsets with small occupied area and power dissipation. Redundancy eases very significantly the offset requirements of the pre-amplifiers and comparators of the coarse ADC [43, 54, 56, 59, 60]. More details about the utilization of redundancy in this kind of converters are given on section 5.4.3, when the implementation of a 6-bit 1 GHz ADC is described. Another possibility is the utilization of the same flash ADC to decide both the MSBs and the LSBs [55, 57], in which case no redundancy is necessary [58]. Although in this architecture the number of pre-amplifiers and latched comparators is reduced from 2Nb – 1 to 2NbMSB + 2NbLSB – 2, it is still necessary to generate 2Nb – 1 reference voltages, each having a switch to select it. Using interpolation in the fine ADC reduces not only the number of pre-amplifiers, but also the number of reference voltages and switches [43, 58–60]. An alternative solution, that uses buffers to drive a separate resistive ladder for the fine ADC, is presented in [54]. A critical issue in the two-step subranging converter is the settling of the reference voltages applied to the fine ADC. Note, though, that even in a full flash ADC the reference voltages are disturbed and take some time to settle. The two-step subranging architecture shown in Fig. 1.12 is still intrinsically slower than the flash ADC: before the S/H acquires the next sample, the coarse ADC must quantize the MSBs and the selected reference voltages have to settle, so that the fine ADC correctly
Offset Reduction Techniques in High-Speed ADCs
22
obtains the LSBs. Several techniques are used to increase the sampling frequency:
Usage of a S/H without reset, which samples the input signal while the selection of the reference voltages is still being done [43]. Usage of two time-interleaved fine ADCs and one coarse ADC: while the coarse ADC and one fine ADC are sampling the input signal, the other fine ADC is obtaining the LSBs concerning the previous sample [6, 52, 59]. In the cases where the same flash sub-converter decides both the MSBs and the LSBs, there are two flash ADCs working in time interleaving [55, 57, 58]. Make the coarse ADC decide in a small fraction of the clock cycle. This leaves sufficient time for the settling of the reference voltages and pre-amplifiers in the fine ADC [60]. This solution cannot be used for very high fs, due to the limited time to make the coarse conversion.
To further reduce hardware and power dissipation, it is possible to have more than two conversion steps: for example, a three-step ADC was described in [61]. One could think of using even more conversion steps and this leads, ultimately, to the successive approximation (SAR) ADC, where 1 bit is obtained in each clock cycle. Although that architecture has been mainly used in low speed converters, it is possible to reach high sampling frequency by adding several SAR ADCs in timeinterleaving [13] – note that this is analogous to what was done in [55, 57, 58] where, as mentioned above, there are two time interleaved ADCs in a two-step converter.
1.5
FOLDING AND INTERPOLATION ADCS
1.5.1
Architecture Description
The folding technique was proposed in [62], and used primarily in ADCs with bipolar transistors [63–76]; in the last few years it has also been applied in data converters implemented in CMOS technologies [77–89]. The initial architecture is depicted in Fig. 1.13, where there are two flash ADCs which decide simultaneously and independently the most significant and least significant bits [62–64].
Chapter 1: High-Speed ADC Architectures
Coarse flash ADC
23
NbMSB bits
Nb = NbMSB+NbLSB
vI
Folding Circuit
residue
Fine flash ADC
NbLSB bits
clk
Figure 1.13. Initial architecture of folding ADCs.
The residue quantized by the fine flash converter is generated by the folding circuit which, conceptually, has the transfer function shown in Fig. 1.14(a). The residue is obtained directly from the input signal and not from a coarse quantization plus a digital-to-analog conversion followed by a subtraction operation, as in the two-step flash ADC. Practical implementations used the transfer function represented in Fig. 1.14(b), and the differences to the one in Fig. 1.14(a) are taken in consideration in the encoding process. vO
vO
(a)
vI
(b)
vI
vO
(c)
vI
Figure 1.14. Transfer function of folding circuits in the first folding ADCs: (a) conceptual; (b) used in practice; (c) high-frequency limitations.
The most fundamental limitation of these early folding architectures is the linearity required for the folding circuits, which further degrades as the input frequency increases: if a full-scale sinusoidal signal is used, the output voltage of the folding circuit has spectral components at much higher frequencies; its limited bandwidth originates non-linearities which are equivalent to the rounding of the tips of the transfer function, as represented in Fig. 1.14(c). Note that this would not occur if there was an input S/H.
Offset Reduction Techniques in High-Speed ADCs
24
This problem was addressed in [65] by using two folding circuits in parallel, having transfer functions shifted with respect to each other. As shown in Fig. 1.15, there is always one folding circuit operating in the most linear region of the transfer function. However, even in that implementation, the nonlinearity of the folding circuits had to be compensated by using a nonlinear distribution of the reference voltages in the fine flash converters.
vI
Folding Circuit 1
Folding Circuit 2
residue 1
residue 2
Error Correction and Encoding
Coarse flash ADC
Fine flash ADC 1
bNb
b1
Fine flash ADC 2
clk Linear range of folding circuit 2 (LSBs are obtained by fine flash ADC 2)
Linear range of folding circuit 1 (LSBs are obtained by fine flash ADC 1)
residue 1
vI residue 2
vI
Figure 1.15. Double folding ADC.
Increasing the number of folding circuits connected in parallel relaxes their linearity requirements. In fact, if there is a sufficiently
Chapter 1: High-Speed ADC Architectures
25
large number of folding circuits, the linearity becomes irrelevant: only their zero crossing locations are important. This is the principle of operation of the most recent folding ADCs. It is interesting to note that to achieve higher sampling rates, there was an evolution in both two-step and folding ADCs towards architectures where only zero crossings are relevant. Modern folding circuits have differential outputs and the transfer function represented in Fig. 1.16, whose shape is rounded and the zero crossings have very well defined locations. A folding circuit is composed by a number of differential pairs, each defining one zero crossing, as will be seen in section 1.6.3. A total of 2Nb – 1 zeros must be generated, since they correspond to the code transition voltages of the ADC. vO
ΔVF
vON
vOP V1
V2
V3
V4
V5
vI
Figure 1.16. Transfer function of modern folding circuits (FF = 5).
The folding factor (FF) is defined as the number of zero crossings in the transfer function of a folding circuit. Two consecutive zero crossings of the same folding circuit are ΔVF Volt apart. The usable folding factor is limited by the settling speed, systematic zero crossing deviations, offset voltage and the output common-mode voltage value (this is discussed in section 1.6.3). It is common to have FF between 3 and 9. Several folding circuits, with transfer functions shifted with respect to each other, must be connected in parallel to increase the number of zeros. It will be considered that there are FB folding circuits, each with FF zeros, yielding a total of FFFB zero crossings. For an Nb bit converter one must, therefore, have (1.13) FF FB = 2Nb − 1. As each zero of a folding circuit is generated by one differential pair, 2N b – 1 differential pairs are needed in a folding converter. This is exactly the same number of differential pairs used in the pre-amplifier stage of a full flash ADC.
26
Offset Reduction Techniques in High-Speed ADCs
It was shown that interpolation reduces the number pre-amplifiers in a flash ADC. This technique can also be used to obtain extra folding characteristics and decrease the number of necessary folding circuits (Fig. 1.17). The total number of zeros crossings generated in this way, NTOT, is NTOT = FFFBIF. (1.14) The distance between zeros of consecutive folding circuits, ΔVB, is ΔVB = vO
ΔVF = I FVLSB . FB
(1.15) Output voltages of the folding circuits
ΔVB
Zero crossings
Interpolation characteristics
VLSB
vI
Figure 1.17. Transfer function of two consecutive folding circuits, and the characteristics obtained by interpolation (FF = 5 and IF = 4).
All converters employing folding also use interpolation – for this reason they are called folding and interpolation ADCs. The characteristics of adjacent folding circuits must be sufficiently linear in the interpolation range to avoid systematic zero crossing deviations (the situation is similar to the interpolation between pre-amplifiers, shown in Figs. 1.8 and 1.9). Again, although this is not a stringent limitation, it sets an upper limit to the interpolation factor that may be used. In the flash ADC each latched comparator is connected to a preamplifier. In folding and interpolation ADCs the latched comparators examine the outputs of the folding and interpolation circuits. As there are FB folding circuits and an interpolation by a factor of IF, the number of latched comparators that decide the LSBs, NCOMP, is N (1.16) NCOMP = FB I F = TOT , FF which is significantly smaller than in a flash ADC. To understand the reason for this reduction let us examine Fig. 1.18, which shows the input voltages of a latched comparator in a flash and in a folding and
Chapter 1: High-Speed ADC Architectures
27
interpolation ADC. This figure also exhibits the digital output values of that latched comparator. A coarse flash ADC must be used to distinguish these regions
Digital output of the comparator
Digital output of the comparator
high
low
high
low
high
low
high
low
Input voltage of the comparator
Input voltage of the comparator
V1 (a)
vI
V1
V2
V3
V4
V5
vI
(b)
Figure 1.18. Input voltages of a latched comparator and its digital output in: (a) flash ADC; (b) folding and interpolation ADC.
In the flash ADC the digital output of the comparator depends on the location of one zero crossing while, in the folding and interpolation ADC, it depends on FF zero crossings: for this reason the number of necessary comparators is reduced by a factor of FF. The digital output levels of the comparators that are connected to the folding circuits change periodically with the input signal. In the example of Fig. 1.18(b) there are three zones that can not be distinguished using only information from those comparators. A separate (coarse) flash ADC distinguishes between those regions and indicates the MSBs. Its resolution depends on the number of regions defined by the folding circuits, which is determined by FF. As in two-step flash converters, misalignments between the coarse flash ADC and the folding and interpolation core, which determines the LSBs, lead to large errors on the transfer function of the converter. This is solved by using redundancy [82], or by detecting the input signal position with respect to the error prone zones [67, 71, 78]. The architecture of the folding and interpolation ADC is shown in Fig. 1.19. The utilization of a S/H is not mandatory, but highly recommended. This will be further discussed on section 1.5.3.
Offset Reduction Techniques in High-Speed ADCs
28 . VREFP
Coarse flash ADC
Interpolation
+
Folding Circuit 0
[0]
-
+
FF Resistive Ladder
Comparator Stage
[1]
-
+
Folding Circuit 1
[IF]
-
FF
+
Folding Circuit FB-1
Error Correction and Encoding
Folding Stage
bNb
b1
[(FB−1)IF]
-
+
FF
[(FB−1)IF+1]
-
VREFN IF resistors
vIS vI
clk
+
S/H
[FBIF−1]
-
Clock buffers
Figure 1.19. Folding and interpolation ADC.
The interpolation resistors connect to successive folding circuits, which have consecutive folding characteristics. The only particular cases are the first and last folding circuits which, as Fig. 1.20 shows, have consecutive zero crossings. There is, however, one detail: the interpolation resistors must connect the positive output of Folding Circuit 0 to the negative output of Folding Circuit FB − 1 and vice-versa. In the example shown in Fig. 1.20, the zero crossings of folding circuit 0 should occur at V1, V2 and V3. Near vI = V3 the output voltages
Chapter 1: High-Speed ADC Architectures
29
of circuits 1 and 3 are symmetric with respect to the ones of folding circuit 0 and, therefore, the introduction of interpolation does not change the position of this zero crossing. The situation near V1 is quite different: the referred symmetry does not exist, and the interpolation resistors force a shift in the position of this zero crossing. If V1 is the lower extremity of the input range there will be systematic deviations in the transition levels of first codes of the ADC. On the other extremity of the input range – the last zero crossing of folding circuit FB − 1 – a similar situation occurs. Figure 1.20 shows that this symmetry occurs naturally everywhere except in the extremities. A way to solve this problem is to make all folding characteristics cross again between V0 and V1 by adding, in each folding circuit, one more differential pair to create a zero crossing in that range: for example, folding circuit 0 would then have another differential pair with V0 as reference voltage. For this reason, in folding and interpolation converters there are zero crossings outside the input range. In this way the total number of zero crossings – NTOT given by (1.14) – is larger than 2Nb − 1. vO
vON0 vON1
vON3 vON3
vOP0−vON3
vON1 vOP1
vOP0−vOP1 vOP0 V0
vOP1 V1
vOP0−vON3=vON0−vON1 vOP0−vOP1=vON0−vOP3
vOP3 vOP3 V2
V3
vI
Figure 1.20. Symmetry issues near the lower extremity of the input range (vI = V1) – example for FB = 4.
If sufficiently high interpolation resistances are used, the zero crossings of the folding circuits would not be significantly deviated. However, the time constant introduced by such a solution would be prohibitively large for an high speed ADC. Moreover, when the averaging technique is employed to reduce the offset voltages of the folding circuits, there must be low resistances between their outputs. This subject will be further analyzed on section 2.7.4, where the termination of averaged folding circuits is addressed.
Offset Reduction Techniques in High-Speed ADCs
30
Examining the outputs of the latched comparators connected to the folding and interpolation circuits one finds a circular code, as depicted in Fig. 1.21. This code repeats itself in each folding period. folding period vOP0
vOP2
vON1
vON3
vON0
vON2
vOP1
vOP3
0 0 0 1
0 0 0 0
1 0 0 0
1 0
1 0
1 1 1 0
1 1 1 1
0 1 1 1
0 0 1 1
0 0 0 1
C0 C1 C2 C3
Output of Comparators
vI
Figure 1.21. Circular code (example for FB = 4 and no interpolation).
1.5.2
Cascaded Folding
As will be seen in section 1.6.3, the folding circuit most widely used in CMOS data converters is composed by FF differential pairs, having the following practical limitations to the maximum folding factor that can be implemented:
The load capacitance rises with FF, due to the increasing number of differential pairs connected to the output nodes. This limits the achievable sampling frequency. Each differential pair must become completely unbalanced – i.e. the tail current must flow entirely in one of its transistors – when its differential input voltage is ΔVF. If this does not happen there will be systematic zero crossing deviations and the gain decreases. For large FF, ΔVF is small and a large W/L ratio must be used. However, W/L can not be increased indefinitely.
Chapter 1: High-Speed ADC Architectures
31
The standard deviation of the offset voltage of each zero crossing increases with FF.
The common mode of the output voltages decreases when FF increases, which may place the transistors of the differential pairs in the triode region.
The cascaded folding technique was introduced in [69, 80] to mitigate these problems, allowing to reach resolutions as high as 13 bit [83], while maintaining a reasonably small number of differential pairs in the folding core. It consists on the cascaded connection of folding and interpolation circuits, to increase the overall folding factor. An example is shown in Fig. 1.22, where the folding circuits in the first stage have a folding factor of 5 and, in the second stage, have a folding factor of 3. The resultant signal has a folding factor of 15, which corresponds to the multiplication of the folding factors of the two stages. Figure 1.23 represents the architecture of an ADC with NFstg cascaded folding stages, where FF[k], FB[k] and IF[k] are the folding factor, number of folding circuits and interpolation factor of the kth folding stage. The number of necessary reference voltages corresponds to the number of differential pairs in the first folding stage, FF [1] FB [1]. Note that by cascading folding circuits no new zero crossings are created – this operation simply joins more zero crossings in the same signal. In a cascaded folding architecture the zero crossings are created by the differential pairs in the first stage, and then by the interpolations made in each stage. In this way, the total number of zero crossings is N Fstg
NTOT = FF [1] FB [1] ∏ I F [k ].
(1.17)
k =1
The overall folding factor, FFTOT, is the product of the folding factors of all stages, FFTOT =
N Fstg
∏ FF [k ].
(1.18)
k =1
There is one latched comparator connected to each output of the last folding stage. The number of comparators that decide the LSBs is, therefore, NCOMP = FB ⎡⎣⎢N Fstg ⎤⎦⎥ I F ⎡⎢⎣N Fstg ⎤⎦⎥ .
(1.19)
Offset Reduction Techniques in High-Speed ADCs
32
Circuit of the Second Folding Stage
Circuits of the First Folding Stage V1 V4 V7 V10 V13 V2 V5 V8 V11 V14 V3 V6 V9 V12 V15
+ − + − + +
vOF1_1 vOF1_2 vOF1_3
− + −
−
vOF2
+ −
+ + − + − +
vOPF1_1
vONF1_1 vOPF1_2
vONF2
vONF1_2
vOPF2 V1 V2 V3 V4 V5 V6 V7 V8 V9 V10V11V12V13V14V15
vOPF1_3
vI
vONF1_3 V1 V2 V3 V4 V5 V6 V7 V8 V9V10V11V12V13V14V15
vI
Figure 1.22. Cascaded folding (FF[1] = 5 and FF[2] = 3). Folding and Interpolation Core
Resistive Ladder
VREFP
Folding and Interpolation Stage 1: FF[1]FB[1]
FF[1] FB[1] IF[1]
Folding and Interpolation Stage NFstg: FB[1]IF[1]
FB[NFstg-1]IF[NFstg-1]
FF[NFstg] FB[NFstg] IF[NFstg]
Comparator Stage:
FB[NFstg]IF[NFstg]
VREFN
Figure 1.23. Cascaded folding architecture.
NCOMP = FB[NFstg]IF[NFstg]
Chapter 1: High-Speed ADC Architectures
33
The choice of the parameters in each stage is not arbitrary – it is dictated by the boundary conditions: the number of outputs of one stage must be equal to the number of inputs of the next, FB [k ] I F [k ] = FB [k + 1] FF [k + 1]. Using (1.18) and (1.20) in (1.17), allows to write NTOT = FFTOT FB ⎡⎣⎢N Fstg ⎤⎦⎥ I F ⎡⎣⎢N Fstg ⎤⎦⎥ . Using (1.19) and (1.21) leads to
(1.20) (1.21)
NTOT . (1.22) FFTOT Equations (1.21) and (1.22) are similar to (1.14) and (1.16), which characterize an ADC with a single folding stage. Thus, in what concerns the total number of zero crossings and comparators, the cascaded folding architecture is equivalent to one having a single stage, where FF = FFTOT, FB = FB[NFstg] and IF = IF[NFstg]. Using (1.18), (1.20), (1.21) it is possible to calculate the number of differential pairs in the kth folding stage, NDP[k], NCOMP =
NTOT . (1.23) N ⎛k −1 ⎞⎛ ⎞⎟ ⎟⎟ ⎜⎜ Fstg ⎜⎜ ⎟ ⎜⎜∏ FF [ j ]⎟⎟ ⎜⎜ ∏ I F [ j ]⎟⎟ ⎟ j =k ⎝ j =1 ⎠⎝ ⎠⎟ Equation (1.23) indicates that to minimize the number of differential pairs in a certain stage, one should have larger folding factors in previous stages and larger interpolation factors on the later stages. When the overall folding factor is increased, the resolution of the coarse flash ADC must also be increased. Another aspect to have in consideration is that the folding factors of all stages, except of the first one, must be an odd number. This condition is necessary to generate valid folding signals when cascading folding circuits [82]. One disadvantage of using cascaded folding is that the interconnections between the folding circuits of subsequent stages originates a complex layout, with significant parasitic capacitances – this will be addressed in section 4.3.5. N DP [k ] = FF [k ] FB [k ] =
1.5.3
Design Specifications of Each Building Block
The utilization of a sample-and-hold in a folding and interpolation ADC is not mandatory, but highly recommended. If a full scale sinewave with a frequency fi is directly applied to a folding circuit, its strongly nonlinear transfer function originates an output voltage with
34
Offset Reduction Techniques in High-Speed ADCs
strong harmonics at frequencies much higher than fi. The bandwidth of a CMOS folding circuit is limited by the load capacitance introduced by its FF differential pairs. The limited bandwidth of the folding circuit affects its output voltage in three ways [90]:
1. Attenuates the waveform 2. Introduces a group delay 3. Changes the relative positions of the zero crossings of the output signal The first two effects are of minor importance, but the third originates distortion. This poses a stringent restriction to the maximum input signal frequency, and explains the limitations encountered in CMOS folding and interpolation converters without S/H [77, 78]. The presence of a S/H is specially important in ADCs using cascaded folding, due to the large folding factors obtained – in fact practically all published ADCs using this technique employ it. When a S/H is used the folding circuits respond to an input signal resembling a step: their output voltages must settle so that the comparators detect the correct zero crossings. This settling specification is much less stringent than the bandwidth requirement found in the absence of a S/H. However, when there are several cascaded folding stages the settling time can still be significant. The case of a converter with two stages is considered in Fig. 1.24, which represents the output voltage of the S/H and also the output voltages of three consecutive folding circuits in each of the two stages. When the clock signal (clk) is low the folding circuits are reset, and their differential output voltages are zero. When clk is high the output of the S/H settles towards the sampled value, and may pass through various zeros of each folding circuit. In this way the output voltages of the folding circuits vary non-monotonically – this effect is more pronounced at the second stage because the overall folding factor is larger. The latched comparators examine the folding/interpolation outputs of the second stage – only the zero crossings on those signals are relevant. At t = 2TS one of those outputs has a zero voltage (the sampled input voltage corresponds to a zero crossing of that circuit). Note that the output voltage would not be zero if the sampling frequency was increased – an error would occur. The achievable sampling frequency is, in this case, limited by the simultaneous settling time of the S/H and folding stages.
Chapter 1: High-Speed ADC Architectures
35
clk
Output Sample-and-Hold
First Folding Stage Zero output voltages
Second Folding Stage TS
0
2TS
3TS
t
Figure 1.24. Illustration of the output voltages of the S/H and folding stages (NFstg = 2).
One technique that eases this problem is the introduction of a trackand-hold at each folding/interpolation output, as shown in Fig. 1.25. The interstage track-and-holds are composed of simple CMOS switches and the input capacitance of the differential pairs of the next stage. This technique, called pipelined folding, was proposed in [82, 83]. Stage i
Stage i+1
Folding Circuit k
Folding Circuit k+1
Figure 1.25. Pipelined folding technique.
As Fig. 1.26 shows, each folding stage now settles independently, which relaxes the settling specifications and allows to reduce the over-
Offset Reduction Techniques in High-Speed ADCs
36
all power dissipation. This technique has, however, the drawback of introducing a new source of offset voltage: the mismatches in the charge injection of the switches. clk
Output Sample-and-Hold
First Folding Stage
Zero output voltages
Second Folding Stage 0
TS
2TS
3TS
t
Figure 1.26. Illustration of the output voltages of the S/H and folding stages (NFstg = 2), when the pipelined folding technique is used.
Another technique, which was proposed in [84] and more recently used in [88], is particularly well adapted to the notion that only the zero crossings are relevant. Figure 1.27 shows the output signals of the various blocks when this technique is used. In the previous examples the input signal was applied to a S/H, whose output voltage is zero during half clock period (reset phase), and settles to the sampled value during the other half clock period (amplification phase). In the case shown in Fig. 1.27 a track-and-hold (T/H) is used: when clk is low its output voltage follows the input (track phase), while when clk is high it remains constant (hold phase). The folding stages are reset during the track phase and, thus, their output voltages are zero. When the T/H is holding its output voltage, the folding stages are at their amplification phase. Since the output of the T/H remains unchanged, the output voltages of the folding circuits that are at the zero crossing remain zero during this phase; all the other output voltages go smoothly toward their final values. In this way the zero crossing is at the right place during the entire amplification phase. Ideally almost no settling time would be needed to guarantee the correct operation of the converter. However the incomplete settling of a
Chapter 1: High-Speed ADC Architectures
37
given stage increases the input referred offset voltages of the next stages (this is further discussed in section 3.2). clk
Output Track-and-Hold
First Folding Stage Zero output voltages
Second Folding Stage 0
TS
2TS
3TS
t
Figure 1.27. Illustration of the output voltages of the T/H and folding stages (NFstg = 2), when the equalizing technique is used.
To implement this technique one may also use a nonresetting S/H – as the one presented in [43] – instead of a T/H. The important fact is that the voltage applied to the folding circuits remains unchanged during their amplification phase. The positions of the zero crossings generated by the folding and interpolation circuits are deviated due to systematic errors or to random mismatches in the components. The errors of systematic nature,
Deviations in the zero crossings of the extremities, represented in Fig. 1.20, which are originated by asymmetries between the output voltages of the folding circuits Interpolation errors, due to the nonlinearity of the folding signals Deviation in the first and last zero crossing of each folding circuit, in certain bias conditions. This is a problem of the folding circuit most commonly used in CMOS technologies, described in section 1.6.3
38
Offset Reduction Techniques in High-Speed ADCs
can be reduced to negligible levels by conveniently choosing the architecture parameters and the bias conditions of the folding circuits. The mismatches between the components originate random deviations on the zero crossings. The most important specifications of the folding circuits are similar to those found in the pre-amplifiers of flash ADCs7: offset voltage, DC gain, settling speed and input capacitance. Once again the offset voltage requirement imposes a minimum area for the components, trading directly with the overall area, speed and power dissipation of the converter. Averaging [36, 69, 72, 80, 84, 87, 88] and offset cancellation techniques [83, 85, 89] have been used to lower the offset voltages and ease this tradeoff. The relevant parameters of resistive ladder and the latched comparators are the same found in the flash ADC, mentioned in section 1.3.2. This converter combines two techniques that significantly decrease the number of active elements, with respect to the flash ADC: folding decreases the number of latched comparators and the interpolation decreases the number of differential pairs connected to the input. The introduction of cascaded folding stages allowed to reach resolutions up to 13 bit [83], while maintaining a reasonable number of differential pairs and latched comparators.
1.6
BUILDING BLOCKS OF CMOS HIGH-SPEED ADCS
1.6.1
The MOS Differential Pair
The MOS differential pair, represented in Fig. 1.28, is the fundamental building block of the pre-amplifiers and folding circuits. Its transfer function will now be derived using the quadratic drain current model for the MOS transistor, β 2 (1.24) iD = (vGS −Vt ) 2 where W , (1.25) β = μCox L 7
Actually, as will be shown in section 1.6.3, the offset voltages in the folding circuits are larger than in a pre-amplifier stage, for the same component sizes. Furthermore the bandwidth of the folding circuits is also smaller due to the presence of several differential pairs connected to the output nodes, instead of a single one.
Chapter 1: High-Speed ADC Architectures
39
and vGS is the gate-to-source voltage, Vt is the threshold voltage, μ is the carrier mobility, Cox is the gate capacitance per unit of area and W and L are the gate dimensions of the transistor. VDD
R0
R0
iDN
iDP
vON vIP vD
vOP
CL MN
MP
vIN ISS
Figure 1.28. Differential pair with NMOS transistors.
Analyzing the differential pair of Fig. 1.28 leads to β 2 iDP = (vGSP −Vt ) , 2 β 2 iDN = (vGSN −Vt ) , 2 iDP + iDN = I SS , vD = vGSN − vGSP .
(1.26) (1.27) (1.28) (1.29)
Solving simultaneously (1.26)–(1.29) allows to obtain the differential output current in the absence of mismatches, iDIFF0 = iDP − iDN, when the differential pair is non-saturated. Defining VOVD as the overdrive voltage of the transistors when the differential input voltage is zero, VOVD = vGSN − Vt = vGSP − Vt, it can be verified that for vD = ± 2VOVD the differential pair becomes completely unbalanced (the current ISS flows just through one of the transistors). Gathering all this information,
Offset Reduction Techniques in High-Speed ADCs
40
iDIFF 0
⎧⎪ I SS ⎪⎪ ⎪⎪ 2 ⎪ v 1⎛ v ⎞ = ⎨⎪⎪−I SS D 1 − ⎜⎜ D ⎟⎟⎟ ⎪⎪ VOVD 4 ⎜⎝VOVD ⎠⎟ ⎪⎪ −I SS ⎪⎪ ⎪⎩⎪
⎧⎪ −I SS R0 ⎪⎪ ⎪⎪ ⎪ ⎛ vD ⎞⎟2 v 1 D ⎪ ⎟ 1 − ⎜⎜⎜ vODIFF = ⎪⎨I SS R0 ⎪⎪ 4 ⎝VOVD ⎠⎟⎟ VOVD ⎪⎪ ⎪⎪ I SS R0 ⎪⎩⎪ A graphical representation of (1.31) is
if vD < − 2VOVD if
vD ≤ 2VOVD
if
vD > 2VOVD ,
(1.30)
if vD < − 2VOVD if
vD ≤ 2VOVD
if
vD > 2VOVD .
(1.31)
shown in Fig. 1.29.
vODIFF ISSR0
− 2VOVD 2VOVD
vD
−ISSR0 Figure 1.29. Differential output voltage of a MOS differential pair.
As previously mentioned, each code transition of the flash, two-step subranging or folding and interpolation ADCs occurs when one of the differential pairs preceding the comparators has zero output voltage. If there are no mismatches this occurs for vD = 0 which, as Fig. 1.29 shows, is the most linear part of the transfer function. The gain of the differential pair is
G0 =
∂vODIFF ∂v D
= gm 0R0, vD = 0
(1.32)
where gm0 is the transconductance of the transistors for zero differential input voltage, I (1.33) gm 0 = SS . VOVD
Chapter 1: High-Speed ADC Architectures
41
This leads to
I SS R0 . (1.34) VOVD The gain is, therefore, the ratio between the output voltage range, ISSR0, and the overdrive voltage of the transistors. The transient behavior is dominated by the pole associated with the output nodes, which originates the response of a first order system, with the time constant G0 =
τ = R0C L , (1.35) where CL includes the drain capacitance of transistors, the input capacitance of the next stage and the parasitic capacitance of the metal connections. The drain capacitance of the MOS transistors is composed by the drain-to-bulk capacitance, CDB, and the gate-to-drain capacitance, CGD. CDB is the depletion capacitance of the pn junction formed by the drain and the substrate, and CGD results from the small overlap existing between the gate and the drain – both are proportional to W [91]. The input capacitance of a differential pair is dominated by the gate-to-source capacitance of the transistors which, in strong inversion, can be approximated by [91] 2 CGS WLC ox . (1.36) 3 Note that CGS is proportional to the gate area, WL. The input voltages applied to a differential pair must remain within certain limits to guarantee its correct operation: too low input voltages make the transistors in the current source enter the triode region, while high input voltages force the transistors of the differential pair into the triode region. It is common to use transistors instead of resistors as loading devices: these can be connected as diodes [24, 84], biased in the triode region [87] or constitute a cross-coupled pair, which uses a positive feedback mechanism to increase the equivalent load resistance [80].
1.6.2
Effect of Mismatches
Two components having the same dimensions and fabricated in the same die, eventually even near each, do not present the same electrical characteristics: for example, two identical resistors have different resistances and two equally sized transistors have different drain currents in the same bias conditions. In this case there is a mismatch between
Offset Reduction Techniques in High-Speed ADCs
42
those two identical devices. These differences are of random nature and occur due to variations in the fabrication process. Although several improvements have been proposed in the last few years, the most widely used mismatch model is, currently, the one proposed by Pelgrom et al. in [92] – we will use it through the text. More details about the derivation of this model can be found in [93]. A parameter P that characterizes a given electrical component (resistance, capacitance, threshold voltage, etc.), depends on the local value of n process parameters, h1,...,hn (mobility, oxide thickness, concentration of implanted ions, etc.), (1.37) P = f (h1, h2 ,..., hn ). The difference of the electrical parameters of two similar devices is8 n ∂f (1.38) ΔP = ∑ Δhi , i =1 ∂hi leading to
⎛ ∂f ⎟⎞2 2 ⎜ ⎟⎟ σ (Δhi ). (1.39) σ (ΔP ) = ∑ ⎜ ⎟ ⎜ i =1 ⎝ ∂hi ⎠ In this way, it is possible to characterize the mismatch on the electrical parameters, ΔP, by analyzing the variations on the process parameters, Δhi, which can be of two kinds: 2
n
Small random variations from point to point with a correlation distance much smaller than the dimensions of the component. In a transistor there are several examples that fall in this category: distribution of ions, local mobility fluctuations, oxide granularity and fluctuations on the oxide charges. The small correlation distance implies that no relation exists between the random deviations in two different devices. Random variations with a long correlation distance. These are caused by gradients created during the fabrication process.
Consequently, the process parameters vary randomly from point to point in the area occupied by the component being considered – a function hi(x,y) may be defined. The component is characterized by the average value of hi(x,y), in the region it occupies [92, 93],
8
The correlation between different process parameters is being ignored.
Chapter 1: High-Speed ADC Architectures
hi =
1 area
∫∫
hi (x , y )dxdy.
43
(1.40)
region occupied by the device
The difference on hi in two identical devices is, therefore, ⎛ ⎟⎟⎞ ⎜⎜ ⎟⎟ 1 ⎜⎜⎜ Δhi = hi (x , y )dxdy − hi (x , y )dxdy ⎟⎟⎟. (1.41) ⎜⎜ ∫∫ ∫∫ ⎟⎟ area ⎜region occupied region occupied ⎟⎟ ⎜⎜ ⎟⎟⎠ ⎜⎝ by device 1 by device 2 For rectangular devices having a width W and a length L, and suffering from the random variations mentioned above, it can be shown [93] that Ah2 (1.42) σ 2 (Δhi ) = i + Sh2i Dx2 , WL where Ahi is the area proportionality constant and Shi describes the variation of hi with the distance between the devices, Dx. The variance of the electrical parameter, P, can be obtained substituting (1.42) in (1.39), which leads to an expression similar to the one found for process parameters, (1.42), AP2 (1.43) + SP2 Dx2 . WL Constants AP and SP must be obtained for a given process.9 If the two devices are near each other (Dx small), (1.43) can be approximated by σ 2 (ΔP ) =
AP2 , (1.44) WL which corresponds to neglect the random variation with long correlation distance (gradients). This leads to the conclusion that the matching of the components depends primarily on their area. For the resistors and capacitors it is common to specify σ 2 (ΔP )
⎛ ΔR ⎟⎞ AR2 , σ 2 ⎜⎜⎜ ⎟⎟ = ⎝ R ⎠ WRLR
9
(1.45)
AP and SP depend on the matching constants associated with each process parameter, Ahi and
Shi . In practice, AP and SP are calculated directly: for example, the matching constant associated to the resistors, AR, is obtained by measuring the resistances of a large number of resistors (electrical parameter), and not by making a statistical characterization of the variations on the process parameters, like the thickness of the conducting polysilicon layer and the concentration of implanted ions on it.
Offset Reduction Techniques in High-Speed ADCs
44
⎛ ΔC ⎟⎞ AC2 , (1.46) = σ 2 ⎜⎜⎜ ⎟ ⎝ C ⎟⎠ WC LC where WR, LR and WC, LC are the sizes of the devices, and AR and AC are the matching constants that are specific for a given technology. Equation (1.24) indicates that there are two parameters that characterize the operation of the transistor: Vt and β. According to [92], σ (ΔVt ) = 2
AV2t
(1.47) WL ⎛ Δβ ⎞⎟ Aβ2 , (1.48) σ 2 ⎜⎜ ⎟= ⎜⎝ β ⎠⎟⎟ WL where W and L are the gate sizes and AVt and Aβ are the matching parameters, specific for each technology. Although Vt and β have common process parameter dependencies, the experimental data suggests a low correlation between ΔVt and Δβ [92]; they can, thus, be considered independent random variables. It can be shown that AVt is proportional to oxide thickness [94] which explains the fact that this parameter decreases as technology scales down [28]. Aβ , on the other hand, has remained almost unchanged [28]. The effect of mismatches in the MOS differential pair represented in Fig. 1.30, will now be considered. These mismatches shift the zero crossing of the differential pair: it will have a zero output voltage for vD = VOS. The offset voltage (VOS) is obtained dividing the output voltage found when vD = 0, by the DC gain, given by (1.32), vODIFF
vD = 0
. (1.49) G0 Let us now calculate the VOS caused by each mismatch. For the Vt mismatch, and considering the situation at vD = 0, equations (1.26)– (1.29) can be re-written as VOS = −
iDP
iDN
β = 2
2 ⎡ ⎛ ΔVt ⎟⎞⎤ ⎜ ⎢vGSP − ⎜Vt + ⎟⎥ , ⎜⎝ ⎢⎣ 2 ⎟⎠⎥⎦
2 ⎛ ΔVt ⎞⎟⎤ β⎡ ⎜ ⎢ ⎥ = vGSN − ⎜⎜Vt − ⎟ , ⎝ 2 ⎢⎣ 2 ⎠⎟⎥⎦ iDP + iDN = I SS , vGSP = vGSN .
(1.50) (1.51) (1.52) (1.53)
Chapter 1: High-Speed ADC Architectures
45
VDD R0−ΔR0/2
R0+ΔR0/2 iDN
Vt−ΔVt/2
iDP vOP
vON
β −Δβ /2
vIP MN
vD
MP
vIN
Vt+ΔVt/2
ISS
β +Δβ /2
Figure 1.30. MOS differential pair with mismatches.
Solving (1.50)–(1.53) simultaneously and considering that ΔVt Vt, I SS leads to a differential output voltage of ΔVt . Applying (1.49) VOVD yields the offset voltage due to the Vt mismatch, (1.54) VOS ΔV = −ΔVt . t Similar calculations give to the offset voltage due to mismatches in β, VOVD Δβ . (1.55) 2 β The differential output voltage when there are mismatches in the VOS
load resistors is –
I SS 2
Δβ / β
=
Δ R 0; applying (1.49) leads to
VOVD ΔR0 . 2 R0 The overall offset voltage is, thus, ⎛ Δβ ΔR0 ⎟⎞ V ⎟, VOS = −ΔVt + OVD ⎜⎜⎜ + 2 ⎝ β R ⎟⎟⎠ VOS
ΔR0 / R0
and its variance is given by
=
0
(1.56)
(1.57)
Offset Reduction Techniques in High-Speed ADCs
46
2 ⎡ ⎛ Δβ ⎞ ⎛ ⎞⎤ VOVD ⎟ + σ 2 ⎜⎜ ΔR0 ⎟⎟. ⎢σ 2 ⎜⎜ (1.58) ⎟ ⎟ ⎜⎝ R0 ⎟⎠ 4 ⎢⎢⎣ ⎜⎝ β ⎟⎠⎟ ⎦ The application of (1.45), (1.47) and (1.48) in (1.58) leads to the standard deviation of the offset voltage, as a function of the component sizes and bias conditions,
σ 2 (VOS ) = σ 2 (ΔVt ) +
σ (VOS ) =
2 VOVD Aβ2 AR2 V2 4 . + OVD WL 4 WRLR
AV2t +
(1.59)
Considering WL = WRLR = 5 μm2, VOVD = 0.2 V, AV = 8 mV.μm, t Aβ = 2%.μm and AR = 2.5%.μm, yields σ(VOS) = 3.85 mV. The evaluation of (1.59) considering each mismatch separately indicates their relative importance, AVt (1.60) σ (VOS )ΔV = = 3.56 mV, t WL Aβ V (1.61) σ (VOS )Δβ / β = OVD = 0.89 mV, 2 WL AR V (1.62) σ (VOS )ΔR / R = OVD = 1.11 mV . 0 0 2 WR LR The most important contribution to the offset voltage is, by far, from the Vt mismatch. If lower offset voltages are needed, the area of the components must be increased, making the circuit slower due the larger parasitic capacitances. Several techniques are employed to obtain low offset voltages with small devices: averaging, that is studied in chapters 2 and 3, and offset cancellation methods, described in chapter 5.
1.6.3
CMOS Folding Circuit
There are several circuits with the transfer function depicted in Fig. 1.16; an analysis of the most relevant can be found in [95–97]. Figure 1.31 shows the folding circuit most commonly used in CMOS technologies: it is composed by FF differential pairs, each subtracting the input from one reference voltages. In this way each differential pair defines the location of one zero crossing. The operation of the circuit can be easily understood if one considers the transfer function of each differential pair, and notes that (1.63) iON = iD 1 + iD 4 + iD 5 + iD 8 + iD 9
Chapter 1: High-Speed ADC Architectures
47
iOP = iD 2 + iD 3 + iD 6 + iD 7 + iD 10.
(1.64)
VDD R0
iON
iOP
vON iD1
iD2
vI
iD3
iD4
V1 vI
iD5
iD6
V2 vI
ISS
iD7
iD8
V3 vI
ISS
R0 vOP iD10
iD9
V5
V4 vI
ISS
ISS
ISS
iD2
ISS
iD1
0
iD4
ISS
iD3
0
iD6
ISS
iD5
0
iD8
ISS
iD7
0
iD10
ISS
iD9
0
vON ISSR0
VDD−5/2ISSR0 vOP V2
V1
V3
V4
V5
vI
ΔVF
Figure 1.31. Folding circuit commonly used in CMOS ADCs (FF = 5).
The spacing between consecutive zero crossings of a folding circuit, ΔVF, is the difference between two successive reference voltages. If an
Offset Reduction Techniques in High-Speed ADCs
48
even FF is required, an extra current source must be connected to one of the outputs, to balance the output voltages. In Fig. 1.31 it was assumed that when the input signal equals the reference voltage of a certain differential pair, all the others are completely unbalanced. Figure 1.32 shows the situation at vI = V1, which is the zero crossing defined by the first differential pair; it is considered that all the other differential pairs, except the second, are completely unbalanced. VDD R0
iOP = 5/2ISS+ΔI
iON = 5/2ISS−ΔI
vON ISS/2
ISS/2
vI
ΔI
ISS−ΔI
V1 v I ISS
0
V2 vI ISS
0
ISS V3 vI ISS
0
ISS
R0 vOP ISS
V4 vI ISS
V5 ISS
Figure 1.32. Situation at the first zero crossing (vI = V1), considering that the second differential pair is still not completely unbalanced.
Instead of a zero differential output voltage, in this situation we have (1.65) vODIFF = vOP − vON = −2R0ΔI . There is, thus, a systematic zero crossing deviation that would be avoided if all the differential pairs, except the one defining the zero crossing, were completely unbalanced. This occurs by guaranteeing that (1.66) 2VOVD < ΔVF . When condition (1.66) is not met, the W/L of the differential pair transistors must be made larger, to decrease VOVD. However W/L cannot be increased indefinitely.10 Figure 1.33 represents the same folding circuit of Fig. 1.32, but now at vI = V2: in this situation there is no systematic deviation. In fact, this kind of deviations only occur in the two extremity zero crossings (in our example, the ones corresponding to reference voltages V1 and 10
When W/L increases the transistors will eventually come out of the strong inversion towards moderate and then weak inversion; in that case (1.24) is no longer valid, and the differential pairs no longer saturate for 2VOVD . Decreasing the input voltage that makes the differential pairs saturate by increasing W/L becomes more and more difficult, as one goes towards moderate and weak inversion.
Chapter 1: High-Speed ADC Architectures
49
V5). Thus, if condition (1.66) can not be met, a way to solve this issue is to add two dummy differential pairs, one with a reference voltage below V1 and the other with a reference voltage above V5 [95, 97]. However, this increases the total number of differential pairs and reference voltages to generate, having impact on the power dissipation, area and input capacitance of the folding stage. Another possible solution is to add pre-amplifiers (simple differential pairs) before the folding stage [78]. Considering that the gain of those pre-amplifiers is GPA, condition (1.66) is relaxed, (1.67) 2VOVD < GPAΔVF . For a certain VFS, this issue sets an upper bound to the folding factor that may be implemented. VDD R0
iOP = 5/2ISS
iON = 5/2ISS
vON ISS−ΔI
ΔI
vI
ISS/2
V1 vI ISS
ΔI
ISS/2
ISS−ΔI
V2 vI ISS
0
V3 vI ISS
0
ISS
R0 vOP ISS
V4 vI ISS
V5 ISS
Figure 1.33. Situation at the second zero crossing (vI = V2), considering that the first and third differential pairs are still not completely unbalanced.
In a flash ADC the offset voltage and the gain of the pre-amplifiers are very important parameters. Although folding circuits have a much more nonlinear transfer function, these parameters can still be defined near each zero crossing, where the circuit is approximately linear:
The DC gain of a folding circuit, G0, is the derivative of the output voltage with respect to the input voltage, calculated at a zero crossing, G0 =
∂vODIFF ∂vI
. The gain is positive or negvI =Vk
ative depending on the zero crossing. The offset voltage is the difference between the ideal and the real location of a zero crossing. This parameter is associated to each zero, and a folding circuit is characterized by the (different) offset voltages of its FF zeros.
Offset Reduction Techniques in High-Speed ADCs
50
It was shown that to avoid systematic deviations, all differential pairs except the one defining the zero being considered, must be completely unbalanced. In this way, the gain of the circuit is determined only by that differential pair, G0 = gm0R0. (1.68) The gain is lower if, at a zero crossing, there are more differential pairs not completely unbalanced. The output common-mode voltage is v + vON F (1.69) VCMo = OP = VDD − F I SS R0, 2 2 which decreases with FF. This fact limits the usable FF because the transistors enter the into triode region if the output voltages become too low. This problem can be eased by connecting current sources in parallel with the resistors, as represented in Fig. 1.34. VDD R0
iON
IDD
IDD
iOP
R0
vON
vOP
vI
V1 vI ISS
V2 vI ISS
V3 vI ISS
V4 vI ISS
V5 ISS
Figure 1.34. Utilization of current sources to increase the output common-mode voltage.
In this case, the output common-mode voltage becomes ⎛F ⎞ (1.70) VCMo = VDD − ⎜⎜ F I SS − I DD ⎟⎟⎟ R0. ⎝ 2 ⎠ The load capacitance also rises with FF, due to the increasing number of differential pairs connected to the output nodes. The use of cascode transistors [82], or transimpedance amplifiers [77], which isolate the output nodes from the drains of the transistors in the differential pairs, improves the transient response but are difficult to implement with low supply voltages. To calculate the offset voltages of the folding circuits, the zero crossings where its gain circuit is positive (V1, V3 and V5 in Fig. 1.31) must be distinguished from those where the gain is negative (V2 and V4 in Fig. 1.31). The first case is presented in Fig. 1.35, where IFN and IFP
Chapter 1: High-Speed ADC Architectures
51
are the currents of the remaining differential pairs, which are assumed to be completely unbalanced. The offset voltage is given by [96, 97] ⎪⎧⎛ Δβ ⎟⎞ V ΔR0 + VOS [k ] = −ΔVt [k ] + OVD ⎪⎨⎜⎜ ⎟ [k ] + FF 2 ⎪⎪⎩⎜⎝ β ⎠⎟⎟ R0 FF ⎫ ⎡k −1 ⎛ ΔI ⎞ ⎛ ΔI ⎞ ⎤ ⎪ ⎪ + 2 ⎢⎢ ∑ (−1)i +1 ⎜⎜⎜ SS ⎟⎟⎟ [i ] + ∑ (−1)i ⎜⎜⎜ SS ⎟⎟⎟ [i ]⎥⎪ . (1.71) ⎥⎬ ⎟ ⎟ I I ⎝ SS ⎠ ⎝ SS ⎠ ⎥⎦ ⎪ ⎢⎣ i =1 ⎪ i =k +1 ⎪ ⎭ VDD R0−ΔR0/2
R0+ΔR0/2 iON
iOP
vON
vOP
IFN
IFP vI
Vt−ΔVt[k]/2
β −Δβ [k]/2
Vk Vt+ΔVt[k]/2 ISS+ΔISS[k]
β +Δβ [k]/2
Figure 1.35. Mismatches in a folding circuit – zero crossing where there is a positive gain (k odd).
In the case represented in Fig. 1.36 the gain is negative; the contribution of each mismatch to the offset voltage is equal in absolute value, but has the opposite signal: ⎧⎪⎛ Δβ ⎞ V ⎟⎟ [k ] + F ΔR0 VOS [k ] = ΔVt [k ] − OVD ⎪⎨⎜⎜ F ⎟ ⎟ ⎜ ⎪ 2 ⎪⎩⎝ β ⎠ R0 FF ⎡k −1 ⎛ ΔI ⎞ ⎛ ΔI ⎞ ⎤ (1.72) + 2 ⎢⎢ ∑ (−1)i +1 ⎜⎜ SS ⎟⎟⎟ [i ] + ∑ (−1)i ⎜⎜ SS ⎟⎟⎟ [i ]⎥⎥ . ⎜⎝ I SS ⎟⎠ ⎜⎝ I SS ⎟⎠ ⎥ ⎢⎣ i =1 i =k +1 ⎦
Offset Reduction Techniques in High-Speed ADCs
52
VDD R0−ΔR0/2
R0+ΔR0/2 iON
iOP
vON
vOP
IFN
IFP vI
Vk
Vt−ΔVt[k]/2
β −Δβ [k]/2
Vt+ΔVt[k]/2 ISS+ΔISS[k]
β +Δβ [k]/2
Figure 1.36. Mismatches in a folding circuit – zero crossing where there is a negative gain (k even).
Comparing the offset voltages of a folding circuit, given by (1.71) and (1.72), with the one of a single differential pair (1.57), leads to the following conclusions:
The mismatches in Vt and β cause a similar offset voltage,11 but a mismatch between the load resistors is FF times worst. There is a new source of offset – the mismatches between the tail currents of the differential pairs.
The offset voltages of the various zeros of a folding circuit are not completely independent random variables – they all have identical contributions from the mismatch between the load resistors and between the tail currents. The variance of the offset voltages is σ 2 (VOS ) = σ 2 (ΔVt ) +
11
2 VOVD 4
⎡ ⎛ Δβ ⎞ ⎛ ⎞ ⎛ ⎞⎤ 2 2 ⎜ ΔR0 ⎟ 2 ⎜ ΔI SS ⎟ ⎟ ⎢σ 2 ⎜⎜ ⎟⎟⎥⎥ . (1.73) ⎢ ⎝⎜ β ⎠⎟⎟⎟ + FF σ ⎜⎜⎜ R ⎟⎟⎟ + 4 (FF − 1) σ ⎜⎜⎜ I ⎟ ⎝ ⎠ ⎝ ⎠ SS ⎦⎥ 0 ⎣⎢
If there are other non-saturated differential pairs, in addition to the one defining the zero being considered, the offset voltage expression must also include the contribution from their Vt and β mismatches.
Chapter 1: High-Speed ADC Architectures
53
Equation (1.73) will now be evaluated, using the example of section 1.6.1 (WL = WRLR = 5 μm2, VOVD = 0.2 V, AV = 8 mV.μm, t
Aβ = 2%.μm and AR = 2.5%.μm), and considering FF = 5. This allows to compare the offset voltage of a folding circuit with the one found in a simple differential pair. In what concerns the current sources, it can be shown that [98], ⎡ ⎛ AV ⎞⎟2 ⎤⎥ ⎛ ⎞ 1 ⎢ 2 2 ⎜ ΔI SS ⎟ ⎜ t ⎟⎟ ⎥ , ⎟ (1.74) A + 4 ⎜⎜ σ ⎜ = ⎜⎝ I SS ⎟⎟⎠ 2WCS LCS ⎢⎢ β ⎝⎜VOVDcs ⎠⎟ ⎥ ⎣ ⎦ where WCS and LCS are the sizes of the current source transistor and VOVDcs is its overdrive voltage. Considering WCSLCS = 30 μm2 and ⎛ ΔI ⎞ VOVDcs = 0.3 V, yields σ ⎜⎜⎜ SS ⎟⎟⎟ = 0.735% . The contribution of each ⎝ ISS ⎟⎠ mismatch to the offset voltage is: σ (VOS )ΔV =
AVt
= 3.56 mV, WL Aβ V σ (VOS )Δβ / β = OVD = 0.89 mV, 2 WL AR V σ (VOS )ΔR / R = FF OVD = 5.59 mV, 0 0 2 WR LR
(1.75)
t
σ (VOS )ΔI
SS
/ I SS
= FF − 1
VOVD 2WCS LCS
(1.76) (1.77)
⎛ AV ⎞⎟2 t Aβ2 + 4 ⎜⎜⎜ ⎟⎟ = 2.94 mV . (1.78) ⎜⎝VOVDcs ⎠⎟
This leads to a total value of σ (VOS ) = 7.31 mV, which is significantly larger than the one obtained for the simple differential pair, in section 1.6.1. The main contributors for this increase are the mismatches in the load resistors and in the tail currents. So, although the pre-amplifiers of a flash ADC can be substituted by folding circuits – which gather zero crossings in the same signal thus reducing the number of comparators – for the same component sizes the folding circuits present larger offset voltages. Furthermore their bandwidth is smaller due to the extra capacitance introduced by having several differential pairs connected to the output nodes, instead of just a single one.
Offset Reduction Techniques in High-Speed ADCs
54
1.6.4
Latched Comparators
As seen in previous sections, the latched comparator works synchronously with the clock signal and indicates, through its digital output level, whether its differential input signal is positive or negative. There is a large variety of CMOS comparators, which may be classified in three categories: static, class AB and dynamic [3, 4]. The fact that dynamic comparators are the most power efficient, lead to the selection a comparator of this kind – the one represented in Fig. 1.37 (adapted from [99]) – for the ADC prototypes described in chapters 4 and 5. This comparator will now be considered to illustrate the operation and tradeoffs usually encountered in the design of these circuits. VDD
M5a
M3a
latch
M4a
latch
vON
vOP M4b
M2a
M2b vDN
vIP
M3b
M1a
latch
M5b
vDP M1b
vIN
M6
Figure 1.37. Dynamic latched comparator.
When latch is low (reset phase), the transistors M4a/M4b and M5a/M5b reset the output nodes and the drains of the differential pair (M1a/M1b) to VDD. M6 is off and no supply current exists. When latch goes high the reset transistors are switched off, and current starts flowing in M6 and in the differential pair: vDN and vDP decrease because the parasitic capacitances at those nodes are discharged by the currents flowing in M1a/M1b. When vDN/vDP become smaller than VDD − Vt, transistors M2a/M2b turn on and their drain currents start discharging the parasitic capacitances of the output nodes. Then, as shown in Fig. 1.38, both output voltages decrease.
Chapter 1: High-Speed ADC Architectures
Regeneration phase
55
Reset phase
VDD vOP VDD−Vt
vON 0 t M3a/M3b turn on M2a/M2b turn on Figure 1.38. Output voltages of the latched comparator.
Let us now assume that the input voltage is positive: in this case, the drain current of M2a is larger than the one flowing in M2b, thus decreasing vON faster than vOP. This, in turn, makes the gate-to-source voltage of M2a (vGS2a) increase faster than vGS2b, which further enlarges the difference between the currents in these transistors – there is a positive feedback mechanism. When the output voltages become lower than VDD − Vt, the transistors M3a/M3b turn on, accelerating the regeneration process and making vOP return to VDD. Thus, after regeneration is completed one of the output nodes is at VDD; the other output and both drains of the differential pair have a 0 V potential. In this situation, there is no supply current, which maximizes power efficiency. In this way, after the latch signal goes high the output voltages take some time to reach digital levels – regeneration time. The simplified case represented in Fig. 1.39(a) is considered, to analyze how this parameter depends on the transistor sizes. The situation in the beginning of the regeneration phase can be studied with the small signal equivalent circuit shown in Fig. 1.39(b),12 where 12
This model is only valid for low differential output voltages, because when vOP and vON get near VDD or GND the transistors enter either the triode or the cutoff region. As will be shown, the regeneration time is larger when there is a small differential output voltage in the beginning of the regeneration phase. This model is, therefore, perfectly adequate.
Offset Reduction Techniques in High-Speed ADCs
56
gm = gmp + gmn
(1.79)
C a = C L + C DBp + C DBn + CGSp + CGSn
(1.80)
Cb = 2 (CGDp + CGDn ).
(1.81)
CGSp CDBp
CGSp
MP
CGDp
CGDp
MP
CDBp
Cb
vop
von
vOP
CL CDBn
MN
vON
CGDn
CGDn CGSn
CGSn
MN CDBn
CL
gmvon
Ca
Ca
gmvop
(b)
(a)
Figure 1.39. Cross-coupled CMOS inverters: (a) circuit; (b) small signal model.
Analyzing Fig. 1.39(b) leads to (vodiff[t] = vop[t]−von[t]) dvodiff [t ]
gm vodiff [t ] = 0. dt 2Cb + C a Considering an initial differential output voltage of vodiff[t = 0] = ΔVi, yields −
t τreg
vodiff [t ] = ΔVie , where the regeneration time constant is τreg =
(1.82) (1.83)
(1.84)
C L + (C DBp + CGSp + 2CGDp ) + (C DBn + CGSn + 2CGDn ) 2Cb + C a = . (1.85) gm gmp + gmn
The transistors should be sized to minimize τreg, so that the output voltages reach digital levels quickly. Note that:
Increasing the length of the transistors decreases their transconductance and enlarges their CGS. Thus, all devices should have the minimum length (L = Lmin).
The parasitic capacitances of a transistor are proportional to W.
For a given current,13 the transconductance is proportional to W .
Chapter 1: High-Speed ADC Architectures
57
The regeneration time constant can, therefore, be written as C + kCPWP + kCNWN τreg = L (1.86) kGP WP + kGN WN where kCP, kCN, kGP and kGN are the proportionality constants. If the load capacitance is much larger than the parasitic capacitances of the transistors, τreg is approximated by CL . (1.87) kGP WP + kGN WN In this situation it is desirable to increase WP and WN in order to reduce τreg. If the parasitic capacitances of the transistors dominate, kCPWP + kCNWN τreg , (1.88) kGP WP + kGN WN and the regeneration transistors should be as small as possible, since increasing WP and WN will increase τreg. Thus, for a certain CL, τreg can be minimized by properly choosing WP and WN. In fact, τreg presents a minimum for CL 1 (1.89) WPopt = 2 kCP kCP kGN 2 +1 kCN kGP τreg
CL . (1.90) 2 kCN kCN kGP +1 2 kCP kGN Usually CL is small, resulting in low values for WPopt and WNopt. Equation (1.84) indicates that the regeneration time depends on ΔVi and, therefore, on the differential input voltage of the comparator (vIP − vIN): as it decreases, the regeneration time goes towards ∞ (metastability). In practice the random electrical noise makes the comparator decide in a finite amount of time. The most relevant contributors to the offset voltage of the comparator represented in Fig. 1.37 are the mismatches between transistors M1a/M1b and M2a/M2b. If a low offset is required, large devices must be WNopt =
13
1
We are considering Fig. 1.39 as a simplified model of the circuit shown in Fig. 1.37, where the currents that flow in the cross-coupled inverters (M2a, M2b, M3a, M3b) are set by the transistors beneath them (M6, M1a, M1b). So the drain currents of the transistors that perform regeneration do not depend (significantly) of their width, and are assumed constant in the following analysis.
Offset Reduction Techniques in High-Speed ADCs
58
used, introducing significant parasitic capacitances. This increases power dissipation and limits the regeneration speed.14 The nodes where the drains of M1a/M1b connect have rail-to-rail excursion. As represented in Fig. 1.40, those large voltage variations are coupled, through the parasitic capacitances of these transistors, to the input of the comparator. Since the circuit preceding it does not have zero output impedance, this disturbs the input voltage and may degrade the accuracy of the converter. This input voltage disturbance is called kickback noise. M5a
latch
latch
M2a
M5b
M2b
Thévenin equivalent of preceding circuit + -
M1a
latch
M1b
M6
Figure 1.40. Kickback noise due to capacitive coupling, in the comparator represented in Fig. 1.37.
In this comparator there is another kickback noise source: the variation of the operating region of the differential pair transistors. In the reset phase there is no current flowing and M1a/M1b are in cutoff. In the beginning of the regeneration phase current starts flowing and their vDS is large: these transistors are, therefore, in saturation. Then, as the voltages at their drains approach 0, they will enter the triode region. These operating region changes are accompanied by variations in their gate charge, thereby causing input voltage variations. The most common solution to reduce kickback noise is to add a preamplifier before the comparator [11, 39]; reference [130] utilizes source
14
Since minimum length devices are used, the offset specification determines the width of the transistors. If a low offset is required, the width of M2a/M2b is most probably larger than the value that minimizes τreg.
Chapter 1: High-Speed ADC Architectures
59
followers. This, although effective, introduces static consumption reducing the power efficiency. References [129, 132] present comparators where the drains of the input differential pair are isolated from the regeneration nodes using switches that are opened when regeneration starts. This inhibits current flow in the differential pair transistors, which go into the triode region; furthermore the voltages at their drains still vary considerably, originating kickback noise. In [129] a pre-amplifier is still used. MOS switches can be inserted at the inputs of the comparator, and opened during the regeneration phase [86]. This performs a sampling function and isolates the input nodes, thereby eliminating the kickback noise during that phase. However, the input voltages are still disturbed when the sampling switches close, because the input voltage being applied differs, in general, from the previously sampled voltage. Finally, a neutralization technique [91] is used in [133, 134], which only accomplishes moderate improvements [3, 4]. So existing techniques either increase considerably the power dissipation or cannot achieve a truly effective kickback noise reduction. The authors have proposed two new techniques in [3, 4] that practically eliminate the kickback noise, with only a minor impact in power dissipation. One of those techniques is particularly suited to class AB comparators, and since those are not used in the prototypes described in this book, it will not be described here. The other technique can be used in any latched comparator, being specially suited to the cases where the circuit preceding it is in reset during the regeneration phase of the comparator. Two modifications to the comparator are required:
1. Insert sampling switches before the differential pair, which are opened during the regeneration phase. The kickback noise is eliminated in this phase, and a sampling function is implemented, which may be convenient in some applications. This has the downside of increasing the offset voltage, due to the mismatches in the charge injection of the input switches15 that are added. 2. Detect when the latched comparator has already decided and make an asynchronous reset of the sampled input voltage. This prevents the previous sampled voltage from disturbing the next comparison.
15
It may be shown that this contribution is minimized by decreasing the size of the switches.
Offset Reduction Techniques in High-Speed ADCs
60
Figure 1.41 exemplifies the application of this technique. The latched comparator regenerates in ph1. Two inverters buffer its outputs and a SR latch memorizes the comparison result. It is assumed that, in the reset phase, the outputs of the latched comparator go to VDD, as in the one of Fig. 1.37. This is a typical arrangement [24, 77, 79, 129, 131]. vIP vIN
M3
M1 M2 ph2
M4
B
ph1 ph2
ph1
S
Q
R
Q
VDD
ph2
M8
A
M7
M6
M5
Figure 1.41. Application of kickback noise reduction technique (© 2006 by IEEE).
The transistors that implement the kickback reduction are inside the shaded area. In the reset phase (ph1 = latch = low, ph2 = high) the input switches, M1/M2, are on. Node A is pushed to VDD by M8, turning off the input reset transistors, M3/M4. The outputs of the latched comparator are at VDD, which means that M5 and M6 are off; M7 is also off because node B is low. At the end of ph2 M1/M2 turn off, therefore preventing any kickback noise during the regeneration process. M8 is then also turned off, leaving node A near VDD. Some time after ph1 changes to high (regeneration phase), the output voltages of the comparator reach full-scale levels, forcing one of the SR latch inputs to VDD, and turning either M5 or M6 on. This pushes nodes A to low and B to high, which turns on M3/M4 and resets the sampled input voltage. This can be done because the latched comparator has already decided. In this way, any influence from previously sampled input voltages is eliminated. Transistor M7 ensures that M3/M4 are maintained on in the non-overlap time between the end of ph1 and the beginning of ph2; this guarantees that the reset of the sampling nodes only ends when ph2 goes high, and M1/M2 turn on. Simulations using the comparator of Fig. 1.37 in a 0.18 μm technology will now be presented to demonstrate the effectiveness of this
Chapter 1: High-Speed ADC Architectures
61
technique. Figure 1.42 shows the circuit used to evaluate the kickback noise, where the stage preceding the comparators is modeled by its Thévenin equivalent (RTH = 8 kΩ). RTH/2 + -
(a)
(b),(c)
RTH/2
Figure 1.42. Circuit used to evaluate the kickback noise (© 2006 by IEEE).
The simulation results are shown in Fig. 1.43. Curve (a) is the voltage at the terminals of the Thévenin equivalent voltage source of the preceding stage (see Fig. 1.42 above), which is assumed to be in reset during the regeneration phase of the comparator (ph1); this situation is usual in parallel type converters [24]. 350
(b)
300
(a) (b)
250 Input voltage [mV]
0
200
-0.5
(c)
-1
(b)
150
(c)
(a) 6
10
8
100 50 0
Phases [V]
-50 2
ph2
ph1
0 0
2
4
6
8
10
12
t [ns]
Figure 1.43. Simulation results of the kickback noise reduction technique (© 2006 by IEEE).
Curve (b) is the input voltage, when just the sampling switches (M1 and M2 in Fig. 1.41) are added to the comparator of Fig. 1.3716 – this is the technique used in [86], which eliminates kickback noise in the regeneration phase (ph1 on). However, it creates a large kickback on 16
The results obtained without adding the input sampling switches – i.e. by simply simulating the comparator of Fig. 1.37 – are not shown in order not to complicate Fig. 1.43. In that case there are large input voltage disturbances every time the latch signal of the comparator, in this case ph1, has a transition.
62
Offset Reduction Techniques in High-Speed ADCs
the reset phase (ph2 on), due to the charge previously stored in the sampling nodes. In the results shown in Fig. 1.43 the kickback near t = 7.5 ns is so large that the input voltage does not have time to reach negative values (it should get near –1 mV): the comparator makes, in this case, a wrong decision. Finally, curve (c) is obtained with the solution of Fig. 1.41 – the input voltage always goes smoothly to the final values and the kickback noise is eliminated. In this example the reset transistors (M3/M4) have W/L = 1.2/0.18 μm, therefore leaving the input capacitance almost unchanged. When this technique is used the power dissipation increases from 268 to 297 μW (about 10% variation). The extra power dissipation is of dynamic nature, which is desirable in systems where the operating frequency varies [135]. The σ(VOS) of the comparator increases from 1.33 to 1.50 mV, due to the mismatches in the charge injection of the input switches (M1/M2), which have W/L = 0.7/0.18 μm.
1.6.5
Considerations About the Yield
The offset voltages of the pre-amplifiers, folding circuits and latched comparators define the code transition levels of an ADC.17 Since the offset voltage is a random variable, there is always a non-zero probability of having a certain code transition level arbitrarily far from the ideal value. In this way, when defining the maximum INL and DNL it becomes necessary to indicate also the percentage of ADCs which are expected to meet those specifications – the yield. For example one can specify that 95% of the ADCs should have a maximum INL below 1/2 LSB; this is represented by Y(INL < 0.5) = 0.95. The yield specification determines the necessary σ(VOS) which, in turn, sets the area of the components in each constituting block of the converter. An yield near 100% may lead to a very low σ(VOS) requirements, having a very significant impact in its speed, area and power dissipation. One should note that the number of fabricated circuits that are functional and comply with the specifications is ultimately limited by the fabrication yield, which is the percentage of circuits that have not suffered from defects in the fabrication process (mask defects, crystalline defects in the epitaxial layer, etc.). This is usually in the range of 17
The random variations of the reference voltages are being neglected.
Chapter 1: High-Speed ADC Architectures
63
10–90% and depends on the process complexity and maturity, and on the die size [91]. Therefore, it may actually be useless to specify very high yield values for the INL or DNL. The flash ADC represented in Fig. 1.5 will now be considered. Noting that the mismatches in a pre-amplifier and latched comparator set the offset in the transition from code k − 1 to code k, VOS[k], the INL given by (1.4) can be written as V [k ] (1.91) INL [k ] = OS , VLSB and its standard deviation is σ (INL) =
σ (VOS )
. (1.92) VLSB Let P(INL < ξ) be the probability of having the |INL| of a certain code smaller than ξ LSB – this corresponds to the probability of |VOS[k]| < ξVLSB occurring. Considering that the offset voltage has a normal distribution with 0 mean, results in ξVLSB
1 2πσ (VOS ) −ξ∫ V
P (INL < ξ ) =
−
e
v2 2σ (VOS ) 2
dv .
(1.93)
LSB
Since the offset voltages of different pre-amplifiers and comparators are independent random variables, the probability of having the overall INL of the converter below ξ LSB is Nb −1
Nb −1
2 Y ( INL < ξ ) = ⎡⎣P (INL < ξ )⎤⎦
2 ⎡ ⎤2 ξVLSB − v 2 ⎢ ⎥ 1 2σ (VOS ) =⎢ e dv ⎥ ∫ ⎢ 2πσ (VOS ) ⎥ −ξVLSB ⎢⎣ ⎥⎦
. (1.94)
The value of σ(VOS) that leads to the required yield is obtained by solving (1.94) numerically. Figure 1.44 shows Y(INL < 0.5) as a function of σ(VOS)/VLSB, for a 7 bit flash ADC. For example, to have Y(INL < 0.5) = 90% it is required that σ(VOS)/VLSB = 0.15, and for Y(INL < 0.5) = 99.9% one must have σ(VOS)/VLSB = 0.11. As the area of the components is inversely proportional to σ2(VOS) – see (1.45) to (1.48) – to have a 99.9% yield, the area needs to be about 86% larger than when the yield is 90%.
Offset Reduction Techniques in High-Speed ADCs
64
1 0.9 0.8
Y(INL<0.5 LSB)
0.7
Yield
0.6 0.5 0.4 0.3 0.2
Y(DNL<0.5 LSB)
0.1 0 0.05
0.1
0.15
0.2
0.3
0.25
σ(VOS)/VLSB
Figure 1.44. Yield of the INL and DNL on a 7 bit flash ADC.
The DNL, given by (1.4), can also be re-written as the function of the offset voltages caused by the mismatches in the pre-amplifiers and latched comparators, VOS [k + 1] −VOS [k ] . (1.95) VLSB Since the offset voltages associated with different code transition levels are independent random variables, DNL [k ] =
σ (DNL) = 2
σ (VOS )
. (1.96) VLSB Comparing (1.92) and (1.96) leads to the conclusion that, in a flash ADC, the DNL tends to be larger than the INL. Calculations similar to the ones presented before lead to18 Nb −2
Y (DNL < ξ ) = ⎡⎣P (DNL < ξ )⎤⎦
18
2Nb −2
⎡ v2 ⎤2 ξVLSB − ⎢ 1 4 σ 2 (VOS ) ⎥ =⎢ e dv ⎥ ⎢ 2 πσ (VOS ) ∫ ⎥ ⎢⎣ ⎥⎦ −ξVLSB
. (1.97)
The difference of offset voltages in consecutive pairs of zero crossings, VOS[k + 1] − VOS[k] and VOS[k] − VOS[k − 1], is considered to be independent. Although this is not true – the offset voltage of one pre-amplifier and latched comparator is common to both pairs, VOS[k] – it is a reasonable approximation [97, 101].
Chapter 1: High-Speed ADC Architectures
65
Figure 1.44 also shows Y(DNL < 0.5) as a function of σ(VOS)/VLSB, again for a 7 bit flash ADC. To have Y(DNL < 0.5) = 90% it is required that σ(VOS)/VLSB = 0.11, and for Y(DNL < 0.5) = 99.9% one must have σ(VOS)/VLSB = 0.08. In flash ADCs with interpolation, the location of the zero crossings obtained by interpolation are strongly dependent on the offset voltages of the two adjacent pre-amplifiers. This improves the DNL by a factor of IF [96]. When averaging is used, the offset voltages of different pre-amplifiers become highly correlated random variables. Although it is possible to derive σ(INL) and σ(DNL), which is done in chapter 2, explicit yield expressions cannot be obtained. This is further discussed in section 2.6. As will be shown in chapter 5, previously proposed offset cancellation methods exhibit a random residual offset value. The yield analysis just presented is, thus, directly applicable. The new offset calibration technique proposed in section 5.3.1 eliminates the offset voltages of the pre-amplifier and latched comparator, if the uncalibrated input referred value lies inside the calibration range. An yield analysis similar to the one just presented, should be performed to guarantee that this happens with a high probability. Two-step converters employ flash ADCs to obtain the MSBs and the LSBs. The effect of the offset voltages of their pre-amplifiers and comparators on the overall converter performance depends on the architecture details. Nevertheless there is always a maximum offset voltage specification, and the yield expressions derived in this section can be applied [97, 101]. The case of folding and interpolation converters is more evolved: the offset voltages associated to the zero crossings of a given folding circuit are not independent random variables. Moreover each comparator decides several code transition levels, and the location of interpolation zero crossings depends on the offsets of adjacent folding circuits. Some simplifying assumptions can be made to study this architecture in a few particular conditions [96, 97]. One solution to assess the impact of the mismatches between each pair of components in the overall converter performance is to build a high-level model, where each sub-block of the converter is accurately modeled, including as many non-idealities as possible. The next two chapters present the theoretical foundations necessary to build models of averaged pre-amplifier and folding stages, including the effect of all mismatch sources. The situation without averaging can be obtained as a particular case.
Chapter 2 Averaging Technique – DC Analysis and Termination 2.1
INTRODUCTION
As explained in the previous chapter, high-speed flash ADCs usually employ differential pairs as preamplifying stages before the comparators. In folding and interpolation ADCs there are analog preprocessing stages – folding circuits – whose differential pairs define the zero crossing locations. The mismatches in the elements of those circuits cause deviations on the location of the zero crossings, thus having a direct impact on the linearity of the ADC. The situation without averaging was discussed in section 1.6.2: the location of each zero crossing is determined only by the mismatches between the two transistors and the load resistors of one differential pair. Moreover, the location of different zero crossings are uncorrelated random variables. It was also shown that the offset voltage is related to the area of the components: to lower it, larger devices must be used which, in turn, increases parasitic capacitances, leading to a larger power dissipation and input capacitance or to the reduction of the maximum operating frequency. Figure 2.1 illustrates the utilization of averaging in a pre-amplifying stage: the averaging network produces the output voltages, which are determined by a weighted sum of the outputs of several differential pairs. vON1
vOP1
vON2
vOP2
vON3
vOP3
vON4
vOP4
vON5
vOP5
Averaging Network
Figure 2.1. The averaging technique.
A simple implementation of this principle is depicted in Fig. 2.2 [60]. When clk is high the output voltages of the differential pairs are sampled in the capacitors C/2. When clk is low a charge redistribution P.M. Figueiredo and J.C. Vital, Offset Reduction Techniques in High-Speed Analog-to-Digital Converters, © Springer Science+Business Media B.V. 2009
67
Offset Reduction Techniques in High-Speed ADCs
68
occurs in the input nodes of the latched comparators. In that phase the input voltage of comparator 1 is vO 1 + vO 2 C , (2.1) vOA = − C + CP 2 where CP is the parasitic capacitance at its input node. In this case the output signals generated by the averaging network correspond to a weighted sum of the output voltages of two differential pairs. Averaging Network
vO1
clk clk
Differential Pair 1
C/2 C/2
vO2
vOA1 clk CP
clk clk
Latched Comparator 1
C/2
Differential Pair 2
vOA2 CP clk
Latched Comparator 2
Figure 2.2. Capacitive averaging.
Considering that the differential pairs 1 and 2 have, respectively, the offset voltages VOS1 and VOS2, the offset in the input signal of the comparator 1 is V +VOS 2 , (2.2) VOSA1 = − OS 1 2 which corresponds to the average of VOS1 and VOS2. Defining σ(VOS1) = σ(VOS2) = σ(VOS) leads to
σ (VOSA1 ) =
σ (VOS ) , 2
(2.3)
Chapter 2: Averaging – DC Analysis and Termination
69
i.e., the standard deviation of the offset voltage decreased due to the utilization of averaging. This implementation is similar to the capacitive interpolation presented in [42, 43] but, in this case, the number of input differential pairs is not decreased. Reference [72] proposed a technique called shifted averaging, which does exactly the same, but using an implementation resembling the active interpolation, presented in [79]. In the example of Fig. 2.2, if the sampling capacitors were split in four parts and connected to the outputs of four consecutive differential pairs, the offset voltage would be VOSA = (VOS1 + VOS2 + VOS3 + VOS4)/4 and, therefore, σ(VOSA) would be reduced to σ(VOS)/2. However, this increases the layout complexity and the parasitic capacitances. Thus, there are practical limitations to the amount of offset reduction achievable by these techniques. In fact the authors that employed them, either also used offset cancellation [60], or bipolar transistors [79] that match better than MOS transistors. Most designs with averaging employ the network represented in Fig. 2.3, where resistors R1 connect the outputs of consecutive differential pairs. This was, actually, the first averaging technique to be proposed, in [36]. The zero crossing location of the differential pair under consideration, in this case differential pair 0, depends not only on its components, but also on the components of its neighbors. In fact, the location of that zero crossing is now defined by a weighted sum of random deviations of many transistors and loading devices. As in the example presented in Fig. 2.2, an averaging effect occurs, which effectively lowers the offset voltages, improving the linearity of the ADC. This technique has been employed numerous times, [24–27, 37, 69, 80, 87–89, 102, 103]. In some cases resistors R0 were implemented with MOS transistors connected as diodes [24], or biased in the triode region [87, 103]. Other authors [25, 80, 102], used a high impedance active load, making R0 → ∞. Reference [42] uses a similar technique, but employing capacitors instead of resistors, to reduce the offset voltages caused by the mismatches in the charge injection of the sampling switches. Figure 2.4 shows the offset voltages of 100 differential pairs before and after averaging is applied. When averaging is used the offset voltages decrease and become correlated.
-kVR
-k
vOP[-k,vI]
R0
ISS
R0
vI
R1
vON[-k,vI]
R1
-VR
-1
vOP[-1,vI]
R0
ISS
R0
vI
vON[-1,vI] R1
R1
0
0
vOP[0,vI]
R0
VDD
ISS
R0
vI
vON[0,vI] R1
R1
Averaging Network
VR
1
vOP[1,vI]
R0
ISS
R0
vI
vON[1,vI] R1
R1
kVR
k
vOP[k,vI]
R0
ISS
R0
vI
vON[k,vI] R1
R1
70
Offset Reduction Techniques in High-Speed ADCs
Figure 2.3. The pre-amplifier stage of a flash ADC with resistive averaging (© 2004 by IEEE).
Chapter 2: Averaging – DC Analysis and Termination
Offset Voltage [mV]
71
Without Averaging 10
5
0
-5
20
40
60
80
100 Differential Pair
With Averaging
-10
Figure 2.4. Offset voltages with and without averaging.
The quantification of the offset improvement will be done in the following sections. Nevertheless, some intuitive reasoning can now be made. When using smaller values for R1, the neighbor differential pairs have a larger influence on the zero crossing being considered – the standard deviation of the offset voltages is reduced, which improves the linearity of the ADC. As will be shown, the value of R1 (or, more strictly speaking, the value of the resistance ratio, R0/R1) controls the relative influence of each differential pair on every output voltage. Lowering R1 will, however, decrease the load resistance seen by the differential pairs. This reduces the gain and increases the input referred offset voltage of subsequent circuits, such as the latched comparators. In differential pairs that are completely unbalanced the differential drain current is equal to ±ISS, independently of the mismatches in their pair of transistors. In this way only the mismatches on non-saturated differential pairs affect the output voltages and, therefore, the location of the zero crossings.1 In this way, another parameter that influences the amount of offset reduction is the number of differential pairs that are non-saturated.
1
In this preliminary discussion only the mismatches between the two transistors of the differential pair (main contributors to the of offset voltage) are being considered. In the case of mismatches between the tail currents of the differential pairs, ISS, and in the resistors R0 and R1, this is not true.
Offset Reduction Techniques in High-Speed ADCs
72
Figure 2.5 shows the differential drain currents of several differential pairs, with consecutive reference voltages. When vI = 0 there are seven non-saturated differential pairs (the one in the middle and three on each side). N is defined has the number of non-saturated differential pairs in each side of the one whose zero crossing is being considered (in this example N = 3). iDIFF
ISS
vI -ISS Figure 2.5. Differential output currents of several differential pairs having consecutive reference voltages – example for N = 3 (© 2004 by IEEE).
We may, finally, conclude that only the 2N + 1 non-saturated differential pairs influence the location of every zero crossing, and that the contribution of each differential pair is weighted by the value of the resistance ratio, R0/R1. The analysis of the circuit represented in Fig. 2.3 is not trivial, which lead other authors to consider simplifying assumptions. The next section presents an overview of the limitations and the methods of analysis found in other research works. The work presented in this chapter, which corresponds to an expansion of what the authors published in [1, 2], is then introduced. The expressions for the DC output voltages and the gain of the averaged pre-amplifier stage are derived in section 2.3. Section 2.4 analyses the effect of averaging in the INL and DNL. As an application example, these general expressions are particularized to the case where the pre-amplifiers are MOS differential pairs. Section 2.5 addresses the utilization of averaging in folding stages. In section 2.6 some considerations are made about the yield of the INL and DNL. The situation is more complex when averaging is used, because the deviations in different zero crossings are correlated random variables. All the theoretical work presented in this book considers that the pre-amplifier stages are infinite. In this ideal case a similar circuit behavior is found, no matter what zero crossing is being considered. Obviously, real pre-amplifier stages cannot be infinite, and a way must
Chapter 2: Averaging – DC Analysis and Termination
73
be devised to terminate the network. A new solution was proposed [5], which makes the operation of the circuit equal to what would be found if the averaging network really extended to infinite. Section 2.7 compares this solution to the existing ones, showing that it outperforms all others. Termination issues in folding circuits are also addressed. There are three appendixes related to the material presented in this chapter: Appendix A evaluates the general expressions derived in sections 2.3 and 2.4, in the case where the differential pairs are modeled with a piecewise linear function. This allows to derive and discuss the approximations and limitations of the results presented in other research works. Appendix B deals with the mismatches in the resistors of the averaging network. The expressions that characterize folding stages with averaging are derived in Appendix C. The material presented in these appendixes complement the information provided in this chapter, but it is not essential to its understanding. The essential conclusions and results of the appendixes are referred in the main text.
2.2
PUBLISHED STUDIES ON THE AVERAGING TECHNIQUE
The effects of averaging over the performance of parallel ADCs have been receiving increased attention over the past years. Reference [80] considers the simple case where R0 → ∞, and shows that the improvement on σ(INL) and σ(DNL) is determined entirely by the number of non-saturated differential pairs being, respectively, 2N + 1 and 2N + 1. The DNL improvement is larger because two consecutive zero crossings become highly correlated random variables. In this work the effect of mismatches in the tail current sources and on the averaging resistors is totally ignored. Moreover the transfer function of the differential pairs is modeled with a piecewise linear function, which is far from being a good approximation. The averaging technique was then studied in detail in [104] for any R0 value, using the spatial filtering theory developed in [105]. In the situation without averaging the offset voltage of consecutive differential pairs may differ significantly, as shown in Fig. 2.4. This resembles the behavior of a (discrete) wideband noise signal. If such signal is low pass filtered, the high frequency contents disappear, and the resultant signal presents only slow variations. The averaging network can be
74
Offset Reduction Techniques in High-Speed ADCs
regarded as a low pass filter, where the resultant offset voltages vary less between consecutive zero crossings. In [104] the main mismatch sources were identified and a useful intuitive discussion was presented; the expression of the offset voltage was derived, from which the INL can be estimated. The same work was later published in [106] where the authors also suggested an estimation for the DNL. Once again, the transfer function of the differential pairs is modeled with a piecewise linear function which, as will be shown, leads to inaccurate results. An approximation that is unavoidably made when modeling the differential pair with a piecewise linear transfer function, is to consider that if transistor mismatches cause an offset voltage VOS, the full transfer function is simply shifted by that amount. For example, this is not true for the β mismatches in MOS differential pairs. To obtain accurate results, one must determine the effect caused by each mismatch in the transfer function of the differential pair. Finally, in [104, 106], the mismatches in the resistors are still completely ignored, and the mismatches in the tail current sources are studied only for a very particular case. Another study was presented in [26] in which the INL and DNL are derived using circuit theory analysis, with emphasis in the effect of the resistance ratio. It suffers from the same limitations of [104, 106], because the pre-amplifiers are modeled with a piecewise linear function, and the mismatches in the resistors are not considered. Moreover, in [26], the mismatches on the current sources are also ignored. In summary, previous published work presented only approximated results for the INL and DNL in a pre-amplifier stage. Other fundamental parameters like the gain and the expressions for the output voltages were never reported. Moreover, the utilization of averaging in folding stages was never addressed. This chapter presents general and exact expressions for all the relevant DC parameters of the averaging network in pre-amplifying and folding stages (output voltage, gain and the standard deviation of the INL and DNL), which are essential in the design of ADCs using this technique. These expressions are general in the sense that are valid for differential pairs using any kind of transistors and for any type of mismatches, including those in the current sources and on the resistors. The expressions are exact because no approximation is made in their derivation. These expressions are deduced using circuit theory analysis. This differs from [104, 106] where, as already mentioned, the amount of offset
Chapter 2: Averaging – DC Analysis and Termination
75
improvement is obtained from signal-to-noise ratio calculations on the spatial filter. Circuit theory allows the extension of the output voltage expression to s-domain, from which the transient response can be obtained. This will be addressed in the next chapter. As an application example the general expressions will be particularized to the case of MOS differential pairs. Note that the general expressions derived in this chapter are exact; the accuracy of the results depends exclusively on how the drain currents of the transistors are determined. Three possibilities are explored in this book:
Model the differential pair with a piecewise linear function. This leads to the simplest but most inaccurate results. The expressions presented in [26, 80, 104, 106] were obtained using this approximation. Model the differential pair using the quadratic drain current expression. In this case there is a reasonable balance between accuracy and simplicity. The resultant expressions, although more complex than those of the piecewise linear case, can still be easily evaluated. Obtain the transfer function of the differential pair from a SPICE simulation. In this case the transfer function of one differential pair is obtained from an extremely fast simulation. The expressions derived in this book are then evaluated, yielding accurate results for the DC parameters of the network. This method can, for example, be used to substitute the time consuming Monte-Carlo simulations.
The quadratic drain current model is used in this chapter to model the transfer function of the MOS differential pair. The general expressions for the gain, INL and DNL are then evaluated using that transfer function. The accuracy will be assessed by comparing the theoretical results with HSPICE [100] simulations. This work was presented by the authors in [1, 2]. The piecewise linear function is used in Appendix A to model the transfer characteristic of the differential pair. This allows to derive and discuss the approximations and limitations of the results presented in [26, 80, 104, 106]. The final goal of this analysis is to determine a design methodology, to be implemented as a computer program, which indicates the dimensions of the components given a set of specifications. Such design methodology will be presented in the next chapter. The expressions
76
Offset Reduction Techniques in High-Speed ADCs
used in hand analysis for the current, transconductance and parasitic capacitances of the transistors have a limited accuracy. For this reason, the developed computer-aided design methodology gets, from HSPICE, the parasitic capacitances and transfer function of a differential pair with and without mismatches, and uses them in the expressions derived in this book to calculate the output voltages, gain, offset and settling behavior. The dimensions for all the components in the averaging network, that satisfy the design requirements, are automatically determined. These dimensions are final, needing no further trial-anderror process, since the theoretical expressions are exact and the parameters of the differential pairs are obtained from HSPICE. This justifies the effort of careful study and modeling of the pre-amplifiers and folding circuits using averaging, that is presented in this book.
2.3
OUTPUT VOLTAGE AND GAIN
2.3.1
Equivalent Resistance of an Infinite Resistive Network
The averaging network of a pre-amplifier stage will now be analyzed considering that it is infinite, meaning that there is an infinite number of differential pairs whose outputs are interconnected by resistors, with values equal to R1, as illustrated in Fig. 2.3. As will be seen in section 2.7, it is possible to terminate the pre-amplifier averaging network, which has always a finite number of differential pairs, making it equivalent to an infinite one. The utilization of averaging in folding circuits will be analyzed in section 2.5. One important parameter is the equivalent resistance, Req, seen at the input of the infinite network represented in Fig. 2.6. Note though, that by construction, R'eq is also the equivalent resistance of an infinite network. This means that Req = R'eq, leading to
Req = R1 + R0 // Req ⇔ Req =
R1 + R1 (R1 + 4R0 )
. (2.4) 2 Comparing Figs. 2.3 and 2.6 it can be concluded that Req is the resistance “seen” to the right and to the left of each output node. This observation is fundamental to the analysis present in the subsequent sections.
Chapter 2: Averaging – DC Analysis and Termination
R1
R1
R0
R0
Req
R1
77
R1
R0
R0
R'eq
Figure 2.6. Infinite resistive network formed by resistors R0 and R1 (© 2004 by IEEE).
2.3.2
Calculation of the Output Voltage
The expression of the output voltage of differential pair 0, which has 0 V as reference voltage (see Fig. 2.3), is derived in this section. Figure 2.7 represents the current source iD[k,vI] connected to a generic node k (that can be a drain or collector current, depending on the type of transistor), which is a function of the input voltage of the ADC. This current causes a voltage vO [0, vI ] 2 in node 0. The voltage k vO [0, vI ] results from the contributions of the current sources in all nodes, according to the superposition theorem. R0
R0 Req
Req
Req
Req
R1 0 vO[0,vI]|k
iR1[0,vI]|k
R1 1
R0
R0 Req R1
iR1[1,vI]|k iR1[k-2,vI]|k
Req Req R1
Req R1
k k-1 iR1[k-1,vI]|k iR1[k,vI]|k
iD[k,vI]
Figure 2.7. Currents and voltages generated by the iD[k,vI] current source, which is connected to a generic node k (© 2004 by IEEE).
Having in mind that the equivalent resistance to the left and to the right of each node is Req, given by (2.4), it can be concluded that
2
The dependence with the input voltage, vI, is always shown explicitly. This allows to indicate if an expression is valid for any input voltage, or for a particular value of vI, for example vI = 0.
Offset Reduction Techniques in High-Speed ADCs
78
iR1 [k − 1, vI ] = iD [k, vI ] k
iR1 [k − 2, vI ] = iR1 [k − 1, vI ] k
= iD [k, vI ]
k
(2.5)
R0 , R0 + Req
(2.6)
R0 = R0 + Req
Req + R0 // Req k
,
Req + R0 // Req
R0 // Req
iR1 [k − 3, vI ] = iR1 [k − 2, vI ] k
R0 // Req
R0 = R0 + Req
⎛ R ⎞⎟2 ⎜ 0 ⎟⎟ . ⎜ = iD [k, vI ] Req + R0 // Req ⎜⎜⎝ R0 + Req ⎠⎟⎟ Continuing this process leads to R0 // Req
⎛ R ⎞⎟ k −1 ⎜ 0 ⎟⎟ . ⎜ iR1 [0, vI ] = iD [k, vI ] k Req + R0 // Req ⎜⎝⎜ R0 + Req ⎠⎟⎟ The output voltage is, then, given by R0 // Req
vO [0, vI ] k = − iR1 [0, vI ]
k
(R0 // Req ).
(2.7)
(2.8)
(2.9)
Using (2.4), (2.8) and (2.9), yields finally with
vO [0, vI ] k = −BC k −1iD [k, vI ]
(2.10)
⎛ ⎞⎟ ⎜⎜ 1 + 2 R0 ⎟⎟ ⎜ ⎟ R1 ⎜⎜ R1 (2.11) − 1⎟⎟⎟ B= ⎜⎜ ⎟⎟ 2 ⎜ R0 ⎟⎟ ⎜⎜⎝⎜ 1 + 4 R ⎠⎟⎟ 1 R 2 0 R1 . (2.12) C = R0 R0 + 1+ 4 1+2 R1 R1 Note that C only depends on the resistance ratio and, therefore, has no unit; it takes values between 0 (when R0/R1 → 0), and 1 (when R0/R1 → ∞). The parameter B has the unit of resistance. Equation (2.10) is very important because it quantifies the effect that a current source, connected to any node of the averaging network, has on the output voltage. An example is given in Fig. 2.8, with R0 = 4 kΩ for several values of R0/R1: for low R0/R1 the contribution
Chapter 2: Averaging – DC Analysis and Termination
79
of the current sources near node 0 are dominant, whereas for larger values of R0/R1 the contributions of the current sources farther from node 0 become more significant. In any R0/R1 case, if the current source is sufficiently far from node 0, it will have a negligible effect on the voltage at this node. vO[0,vI] iD[k,vI] 30
20
0
10
k 20
10 R0/R1 = 100
30 k
R0/R1 = 10 -400
-800
R0/R1 = 1 -1200
-1600
Figure 2.8. Effect of iD[k,vI] on the voltage of node 0, for several values of R0/R1.
For example, in the R0/R1 = 10 case the contribution to the output voltage, of the current source connected to node 8, is 12.4 times smaller than the contribution from the current source connected to node 0; when R0/R1 = 100 it is only 2.2 times smaller. When R0/R1 = 1 the current source connected to node 8 has practically no influence. Considering iDP[k,vI] and iDN[k,vI] as the drain/collector currents of the transistors connected to, respectively, the positive and negative outputs of the kth differential pair (the one whose reference voltage is kVR, as indicated in Fig. 2.3), the superposition theorem may be applied using (2.10), to calculate the output voltages of differential pair 0, vOP [0, vI ] = VDD + vON [0, vI ] = VDD +
∞
∑
vOP [0, vI ] = VDD − B
∑
vON [0, vI ] = VDD − B
k =−∞ ∞ k =−∞
k
k
∞
∑
C k −1iDP [k, vI ] (2.13)
∑
C k −1iDN [k, vI ]. (2.14)
k =−∞ ∞ k =−∞
Offset Reduction Techniques in High-Speed ADCs
80
Subtracting vOP[0,vI] from vON[0,vI] leads to ∞
∑
vODIFF [0, vI ] = −B
C k −1iDIFF [k, vI ]
(2.15)
k =−∞
where iDIFF[k,vI] = iDP[k,vI] – iDN[k,vI]. It should be noted that no assumption was made concerning the type of transistors, the existence or not of mismatches, or even if degeneration is used in the differential pairs. Equation (2.15) may, thus, be used in any circumstances as long as the differential drain/collector current, iDIFF[k,vI], can be obtained. Following a method similar to the one just presented, it is possible to calculate the output voltage of any other differential pair. Equation (2.10) can be modified to yield the voltage at node j, caused by a current source connected to node k: vO [ j, vI ] k = −BC k − j −1iD [k, vI ]. The output voltages of differential pair j are, therefore, ∞
vOP [ j, vI ] = VDD − B vON [ j, vI ] = VDD − B vODIFF [ j, vI ] = −B
(2.16)
∑
C k − j −1iDP [k, vI ]
(2.17)
∑
C k − j −1iDN [k, vI ]
(2.18)
C k − j −1iDIFF [k, vI ].
(2.19)
k =−∞ ∞
k =−∞ ∞
∑
k =−∞
2.3.3
Calculation of the Gain
The DC gain (G0) is calculated for the zero crossing of differential pair 0 (the result is the same if any other is chosen): G0 =
∂vODIFF [0, vI ] ∂v I
= −B
∞
∑
C k −1
∂iDIFF [k, vI ]
k =−∞
vI = 0
∂v I
.
(2.20)
vI = 0
The derivative of iDIFF[k,vI] with respect to vI, calculated in vI = 0 is the transconductance of differential pair k for that input voltage. This is represented by gm[k,0], leading to G0 = −B
∞
∑
C k −1gm [k, 0].
(2.21)
k =−∞
The gain is, therefore, determined by the transconductances of all differential pairs.3 The contribution from each one is weighted by the resistance ratio, R0/R1, which determines the C parameter, and by the
Chapter 2: Averaging – DC Analysis and Termination
81
position of that differential pair in the network, through the k index. The absolute values of R0 and R1 influence the gain through the B parameter.
2.3.4
Application to MOS Differential Pairs
Depending on the value of kVR, the MOS differential pair depicted in Fig. 2.9 may correspond to any differential pair of the pre-amplifier stage represented in Fig. 2.3. VDD
R1
R1 vON[k,vI] vI
R0
R0
iDN[k,vI] iDP[k,vI] MN
MP
R1
R1 vOP[k,vI] kVR
ISS
Figure 2.9. MOS differential pair (© 2004 by IEEE).
The quadratic MOS drain current model (1.24), will now be used to derive the transfer function of the differential pair. Appendix A presents a simpler case, where this transfer function is approximated by a piecewise linear function. In this way the results obtained with the two approximations can be compared. Analyzing the differential pair of Fig. 2.9, β 2 (2.22) iDP [k, vI ] = (vGSP −Vt ) 2 β 2 (2.23) iDN [k, vI ] = (vGSN −Vt ) 2
3
In practice only non-saturated differential pairs determine the gain (all others have negligible transconductance). This is discussed in the next sub-section.
Offset Reduction Techniques in High-Speed ADCs
82
iDP [k, vI ] + iDN [k, vI ] = I SS vI − kVR = vGSN − vGSP . Solving (2.22)–(2.25) simultaneously yields ⎧ ⎪⎪ I SS ⎪ ⎪ ⎪ 2 ⎪ ⎪ v − kVR 1 ⎛ v − kVR ⎟⎞ ⎟⎟ iDIFF 0 [k, vI ] = ⎪ 1 − ⎜⎜⎜ I ⎨−I SS I ⎪ VOVD 4 ⎜⎝ VOVD ⎟⎠ ⎪ ⎪ ⎪ ⎪ −I SS ⎪ ⎪⎪ ⎩
(2.24) (2.25)
if vI − kVR < − 2VOVD if
vI − kVR ≤ 2VOVD
if
vI − kVR > 2VOVD
(2.26)
where iDIFF0[k,vI] = iDP[k,vI] − iDN[k,vI]. A graphical representation of (2.26) is shown in Fig. 2.10. iDIFF0[k,vI] ISS
kVR
kVR + 2VOVD vI
kVR − 2VOVD
−ISS Figure 2.10. Differential output current of a differential pair without mismatches. Example for negative k.
Equation (2.26) can be used in (2.17)–(2.19) to obtain the output voltages when there are no mismatches. The transconductance of the differential pairs, gm[k,vI], is calculated by differentiating (2.26) with respect to the input voltage,
⎧ ⎪ 0 ⎪ ⎪ ⎪ 2 ⎪ ⎪ 1 ⎜⎛ vI − kVR ⎞⎟ ⎪ ⎟ 1− ⎜ ⎪ gm [k, vI ] = ⎪ 2 ⎜⎝ VOVD ⎠⎟⎟ ⎨ ⎪⎪−gm 0 2 ⎪ 1 ⎛⎜ vI − kVR ⎞⎟ ⎪⎪ ⎟ 1 − ⎜⎜ ⎪ ⎪ 4 ⎝ VOVD ⎠⎟⎟ ⎪⎪ ⎩ where
if
vI − kVR > 2VOVD
if
vI − kVR ≤ 2VOVD
(2.27)
Chapter 2: Averaging – DC Analysis and Termination
83
I SS (2.28) VOVD is the transconductance of the differential pair when it has zero differential input voltage. Figure 2.11 represents the transconductance of differential pairs 0 and k, according to (2.27). gm 0 =
gm[k,vI]
− 2VOVD
kVR − 2VOVD
0
kVR
2VOVD
kVR + 2VOVD
vI
gm[k,0] gm[0,kVR] gm[0,0]
gm[k,kVR]
Figure 2.11. Transconductance of differential pairs 0 and k, given by (2.27). Example for positive k (© 2004 by IEEE).
To calculate the gain using (2.21), one must particularize (2.27) to zero input voltage – gm[k,0]. Defining γ as the ratio between the difference of reference voltages of consecutive differential pairs, VR (see Fig. 2.3), and the input voltage at which saturation of the differential pair occurs, VSAT = 2VOVD , VR , (2.29) 2VOVD and noting that N (number on non-saturated differential pairs to each side of the one being considered – see Fig. 2.5) is the integer immediately below 1/γ, results in ⎧ 0 if k > N ⎪ ⎪ ⎪ ⎪ 2 ⎪ 1 − (k γ ) (2.30) gm [k, 0] = ⎪ ⎨−gm 0 if k ≤ N . ⎪ 2 ⎪ (k γ ) ⎪ 1− ⎪ ⎪ 2 ⎪ ⎩ Substituting (2.30) in (2.21) leads finally to
γ=
84
Offset Reduction Techniques in High-Speed ADCs
G 0 = g m 0B
N
∑
C k −1
k =−N
2
1 − (k γ )
2
1−
(k γ )
.
(2.31)
2 Thus, only the 2N + 1 non-saturated differential pairs determine the gain of the circuit. Note that (2.31) can be written as ⎤ I R ⎡R (2.32) G0 = SS 0 g ⎢ 0 ,VOVD ,VR ⎥ . ⎥ VOVD ⎢⎣ R1 ⎦ Therefore, the gain of a pre-amplifier stage using averaging is the product of the gain in the absence of averaging (1.34), by a function that depends on R0/R1, VOVD and VR, ⎛ ⎟⎟⎞ ⎜⎜ 1 + 2 R0 2 ⎟⎟ N ⎡R ⎤ 1 − (k γ ) R1 1 ⎜⎜⎜ g ⎢ 0 ,VOVD ,VR ⎥ = , (2.33) − 1⎟⎟⎟ ∑ C k −1 ⎜ ⎢ R1 ⎥ 2 R ⎟⎟ k =−N k γ ( ) ⎣ ⎦ 2 0 ⎜⎜⎜ 1 + 4 R0 ⎟⎟ 1− R1 ⎜⎜⎝ ⎟⎟⎠ R1 2 which is always lower than 1. An example will now be considered, where the results obtained from (2.31) are compared against HSPICE simulations using the BSIM3v3 model for the transistors of a 0.35 μm technology. An array of 65 preamplifiers was simulated, where the differential pairs have transistors with W = 32 μm and L = 1.5 μm. A tail current of 155 μA was used, which yields gm0 = 710 μS and an overdrive voltage of about 218 mV. The differential input voltage which makes the differential pair saturate is, therefore, VSAT = 2VOVD = 0.308 V . Considering VR = 45 mV yields γ = 0.146; as 1/γ = 6.85 we have N = 6. Considering R0 = 4 kΩ and R1 = 400 Ω (2.11) and (2.12) yield B = 456 Ω and C = 0.73. Applying (2.31), 6
G0 = 710 × 10−6 × 456 ∑ 0.73 k −1 k =−6
2
1 − (0.146k ) 1−
(0.146k )2
= 2.14 .
(2.34)
2 In these conditions HSPICE indicates a gain of 2.12. In the absence of averaging, the gain is gm0R0 = 2.84. Figure 2.12 represents the gain as a function of N; Table 2.1 indicates the values chosen for VR in each case. Various resistance ratios were considered, maintaining R0 at 4 kΩ and varying R1. The theoreti-
Chapter 2: Averaging – DC Analysis and Termination
85
cal values, obtained using (2.31), are compared to results obtained from HSPICE simulations. Table 2.1. Values of VR used in the example. N
VR (mV)
γ
2
135
0.438
3
90
0.292
4
65
0.211
5
55
0.178
6
45
0.146
7
40
0.130
3
Case without averaging
2.8 R /R = 0.1 0 1 2.6
Gain (G 0)
2.4
R0/R1 = 0.5
2.2
R0/R1 = 1
2
R0/R1 = 2
1.8 1.6 1.4 1.2 1
R0/R1 = 10 1
2
3
4
5
6
7
N Figure 2.12. Gain as a function of N, for several resistance ratio values. The dots are from HSPICE simulations and lines are from (2.31) (© 2004 by IEEE).
It can be concluded that:
Larger R0/R1 leads to a smaller gain. This happens because the equivalent load resistance, seen by the differential pairs, is smaller (smaller R1).
Larger N leads to a larger gain. When averaging is employed, the transconductances of all non-saturated differential pairs
86
Offset Reduction Techniques in High-Speed ADCs contribute to the overall gain. When N increases, the total transconductance of the circuit becomes larger, increasing the gain.
Appendix A considers the case where the transfer function of the differential pair is approximated by a simple piecewise linear function. The expression for the gain is derived (A.6), and evaluated for the example just described, yielding the results plotted in Fig. A.4. The theoretical values shown in Fig. 2.12 are much closer to HSPICE simulation results than the ones in Fig. A.4. The maximum and minimum values of the gain, when N is varied, are also derived in Appendix A, lim G0 = gm 0R0 (2.35) N →∞
⎛ Req ⎞⎟ gm 0R0 (2.36) = gm 0 ⎜⎜R0 // ⎟. ⎜⎝ N →0 2 ⎠⎟ R0 1+4 R1 Although those results were obtained using the piecewise linear transfer function, they are general and do not depend on the shape of the transfer function. For example, note that in Fig. 2.12 as N increases the gain approaches (2.35) – which is gain in the absence of averaging – regardless the resistance ratio value. lim G0 =
2.4
EFFECT OF MISMATCHES – INL AND DNL
General expressions for the INL and DNL in a pre-amplifying stage are derived in this section. These are obtained considering the drain/ collector current deviations caused by the mismatches on the transistors and current sources of the differential pairs. The mismatches on resistors are then addressed; a method is applied that allows to use the same general expressions which are derived for the case of mismatches in the transistors and current sources. The particularization of these general expressions to MOS differential pairs is then performed.
Chapter 2: Averaging – DC Analysis and Termination
2.4.1
87
INL due to Mismatches in the Transistors and Current Sources
As mentioned in section 1.6.5 the INL, which is the normalized deviation of a certain zero crossing from its ideal position, can be written as V [k ] (2.37) INL [k ] = OS VLSB where VLSB is the voltage corresponding to the least significant bit of the converter. Thus, the offset voltages must be calculated to determine the INL. Considering that the offset voltages of all differential pairs have equal variance, the standard deviation of the INL of a zero crossing is σ (VOS )
. (2.38) VLSB The situation near the zero crossing of differential pair 0 will be considered again. One way to calculate the offset is to divide the output voltage when vI = 0, vODIFF[0,0], by the gain of the circuit, σ (INL) =
vODIFF [0, 0] . (2.39) G0 It will now be considered that the kth differential pair has a mismatch Δψ[k] (which can be, for example, a difference on the threshold voltages of MOS transistors – in which case Δψ[k] = ΔVt[k] – or in the normalized value of the saturation current of bipolar transistors – Δψ[k] = (ΔIS/IS)[k]). This mismatch will affect its differential output current. In the case of small mismatches, a linear approximation (first order Taylor expansion) can be made and the differential output current, for a certain input voltage vI, can be written as VOS [0] = −
(2.40) iDIFF [k, vI ] iDIFF 0 [k, vI ] + fΔψ [k, vI ] Δψ [k ] . This decomposition of the differential output current in two parts is represented in Fig. 2.13. iDIFF0[k,vI] is the output current in the situation without mismatches. fΔψ[k,vI] determines the differential output current deviation due to the Δψ[k] mismatch, for each input voltage value: a mismatch on the kth differential pair, Δψ[k], causes a deviation in its differential current given by fΔψ[k,vI]Δψ[k]. The fΔψ[k,vI] function is given by
Offset Reduction Techniques in High-Speed ADCs
88
fΔψ [k, vI ] =
∂iDIFF [k, vI ] ∂Δψ [k ]
iDIFF[k,vI]
.
(2.41)
Δψ[k ]= 0 fΔψ[k,vI]Δψ[k] (not to scale)
iDIFF0[k,vI]
ISS
ISS
vI−kVR
=
vI−kVR
+
vI−kVR
−ISS
−ISS
Figure 2.13. Decomposition of the differential output current of a differential pair having a mismatch Δψ[k].
This function depends, for a certain kind of transistors, on the type of mismatch being considered. For example, the function corresponding to a Vt mismatch in a MOS differential pair, fΔVt [k, vI ], is different from the one corresponding to a β mismatch, fΔβ / β [k, vI ]. This means that these two types of mismatch cause different deviations in transfer function of the differential pair. Using (2.15) and (2.21) in (2.39), and taking (2.40) into consideration leads to ∞
∑
C k −1 fΔψ [k, 0] Δψ [k ]
VOS [0]Δψ = − k =−∞ ∞
∑
.
C
(2.42)
k −1
gm [k, 0]
k =−∞
The offset voltage is, therefore, determined by the weighted sum of the mismatches in all differential pairs, Δψ[k]. Analyzing the numerator of (2.42), it can be concluded that the contribution of the mismatch of a particular differential pair is weighted by:
The error current it causes – given by the fΔψ[k,0]Δψ[k] product.
The resistor ratio, R0/R1 – which defines the C parameter, given by (2.12). Note that only the ratio of resistances is important, not their absolute values. The position of that differential pair – through the k index.
The variance of the offset voltage is, finally,
Chapter 2: Averaging – DC Analysis and Termination ∞
σ 2 (VOS )Δψ =
∑
89
C 2 k −2 fΔ2ψ [k, 0]
k =−∞ (2.43) σ 2 (Δψ ). 2 ⎡ ∞ ⎤ ⎢ ∑ C k −1gm [k, 0]⎥ ⎢ ⎥ ⎣⎢k =−∞ ⎦⎥ The total offset voltage variance is calculated considering all mismatch sources.
2.4.2
DNL due to Mismatches in the Transistors and Current Sources
As was seen in section 1.6.5 the DNL, which is the normalized deviation in the difference between two consecutive zero crossings, can be written as VOS [k + 1] −VOS [k ] . (2.44) VLSB Considering the DNL of zero crossing 0 (any other choice leads to the same result), DNL [k ] =
σ (VOS [1] −VOS [0])
. (2.45) VLSB Thus, to determine the standard deviation of the DNL, one must subtract VOS[1] and VOS[0]. Following a method similar to the one used to calculate VOS[0] leads to
σ (DNL) =
∞
∑
C k −1 −1 fΔψ [k,VR ] Δψ [k ]
VOS [1]Δψ = − k =−∞
∞
∑
.
(2.46)
C k −1gm [k, 0]
k =−∞
Noting that fΔψ[k,VR] = fΔψ[k−1,0],4 yields ∞
∑
VOS [1]Δψ = − k =−∞ This leads, finally, to 4
C k −1 −1 fΔψ [k − 1, 0] Δψ [k ] ∞
∑
.
(2.47)
C k −1gm [k, 0]
k =−∞
According to (2.41), fΔψ[k,vI] is univocally determined by the output current of differential pair k, iDIFF[k,vI] which, in turn, is a function of its differential input voltage, (vI − kVR). The input voltage of differential pair k at vI = VR is VR − kVR = (1 − k)VR which equals the input voltage of differential pair k − 1 at vI = 0. In this way, iDIFF[k,VR] = iDIFF[k − 1,0] and, consequently, fΔψ[k,VR] = fΔψ[k − 1,0].
Offset Reduction Techniques in High-Speed ADCs
90
∞
σ 2 (VOS [1] −VOS [0])Δψ =
∑ (C k −1 −1fΔψ [k − 1, 0] − C k −1fΔψ [k, 0])
k =−∞
2
⎡ ∞ ⎤2 ⎢ ∑ C k −1g [k, 0 ]⎥ m ⎢ ⎥ ⎣⎢k =−∞ ⎦⎥
(2.48)
σ 2 (Δψ )
which can be used on (2.45) to calculate the standard deviation of the DNL.
2.4.3
Mismatches in the Resistors
The INL and DNL caused by mismatches in the transistors and current sources, were determined associating the mismatch Δψ[k] to the deviation it causes in the differential drain/collector current, fΔψ[k,vI]Δψ[k]. For a certain voltage at their terminals, the existence of mismatches in the resistors also influences the current that flows through them, just like the mismatches on transistors influence their collector/drain currents. It is possible to calculate these current deviations, and determine fΔR0 / R0 [k, vI ] and fΔR1 / R1 [k, vI ]. This calculation is performed in Appendix B, resulting in I (2.49) fΔR0 / R0 [k, vI ] = SS 2 fΔR1 / R1 [k, vI ] =
C k −1 − k − 1 ⎛⎜⎜ ∞ B ⎜ ∑ iDIFF 0 [ p, vI ] C p−k +1 −1 − C p−k −1 ⎜⎜⎝ p =−∞ 2R1
(
⎞
)⎟⎟⎟⎟⎟
⎠
(2.50)
where iDIFF0[p,vI] is the output current of differential pair p for an input voltage vI. Equations (2.49) and (2.50) can be used on (2.43) and (2.48) to calculate INL and DNL due to mismatches in resistors R0 and R1, just like it is done for the mismatches in transistors and current sources.
2.4.4
Application to MOS Differential Pairs
As seen in section 1.6.2, the sources of offset in MOS pre-amplifier stages without averaging, are the mismatches in Vt, in β and on the load resistors R0. When averaging is used, there are two additional sources of offset: the mismatches in resistors R1 and in the current sources ISS, because differences on their values now cause deviations on the location of zero crossings. Let us start by considering the Vt mismatch, which is usually the dominant factor. Re-writing (2.22) and (2.23) to reflect this mismatch,
Chapter 2: Averaging – DC Analysis and Termination
91
2
⎛ ΔVt [k ]⎟⎞⎞⎟ β⎛ iDP [k, vI ] = ⎜⎜⎜vGSP − ⎜⎜Vt + ⎟⎟ ⎜ ⎝ 2⎝ 2 ⎟⎠⎠⎟⎟
2 ⎛ ΔVt [k ]⎞⎟⎞⎟ β ⎛⎜ ⎜ iDN [k, vI ] = ⎜⎜vGSN − ⎜Vt − ⎟⎟ ⎝⎜ 2⎝ 2 ⎠⎟⎠⎟⎟ and using (2.24) and (2.25) allows to obtain iDIFF[k,vI]:
iDIFF
⎧ ⎪⎪ I SS ⎪ ⎪ ⎪ 2 ⎪ ⎪ vI + ΔVt [k ] − kVR 1 ⎜⎛ vI + ΔVt [k ] − kVR ⎟⎟⎞ ⎪ ⎪ ⎡k, vI ⎤ = ⎪ 1 − ⎜⎜ ⎟⎟ ⎣ ⎦ ⎨⎪−I SS ⎜ ⎟ ⎜ V V 4 ⎝ ⎠⎟ ⎪ OVD OVD ⎪ ⎪ ⎪ ⎪⎪ −I SS ⎪ ⎩ ⎪ ⎪
(2.51) (2.52)
if vI + ΔVt [k ] − kVR < − 2VOVD if
vI + ΔVt [k ] − kVR ≤ 2VOVD
if
vI + ΔVt [k ] − kVR > 2VOVD .
(2.53)
Considering ΔVt Vt (small mismatches) a linear approximation can now be used, resulting in (2.54) iDIFF [k, vI ] iDIFF 0 [k, vI ] + fΔVt [k, vI ] ΔVt [k ] with iDIFF0[k,vI] given by (2.26). One should note that (2.54) is in the general form of (2.40) and, thus (2.43) and (2.48) can be used to calculate the standard deviation of INL and DNL. fΔVt [k, vI ] is calculated applying (2.41), fΔVt [k, vI ] =
∂iDIFF [k, vI ] ∂ΔVt [k ]
(2.55) ΔVt [k ]= 0
which leads to the same expression that was obtained for the transconductance, gm[k,vI]: (2.27) for any vI and, for vI = 0, ⎧⎪ 0 if k > N ⎪⎪ ⎪⎪ 2 (2.56) fΔVt [k, 0] = ⎪⎨−gm 0 1 − (k γ ) if k ≤ N , ⎪⎪ 2 k γ ( ) ⎪⎪ 1− ⎪⎪ 2 ⎩ which equals (2.30). Similar calculations can be performed for the remaining types of mismatch: in the case of β mismatches, equations (2.24) and (2.25) are solved simultaneously with Δβ [k ] 2 2 (v iDP [k, vI ] = GSP −Vt ) 2 Δβ [k ] β− 2 2 (v iDN [k, vI ] = GSN −Vt ) 2 β+
(2.57)
(2.58)
92
Offset Reduction Techniques in High-Speed ADCs
to calculate the transfer function of the differential pair. The application of (2.41) leads, when vI = 0, to
⎧ 0 if k > N ⎪ ⎪ ⎪ (2.59) fΔβ / β [k, 0] = ⎨ I 2⎤ SS ⎡ ⎪ k γ k N 1 if − ≤ ( ) ⎪ ⎥⎦ ⎪ ⎪ ⎩ 2 ⎢⎣ In the case of mismatches in ISS, equations (2.22), (2.23) and (2.25) are solved simultaneously with (2.60) iDP [k, vI ] + iDN [k, vI ] = I SS − ΔI SS [k ] to obtain the transfer function of the differential pair. The application of (2.41) leads, when vI = 0, to
⎧ ⎪ ⎪ I SS if k < −N ⎪ ⎪ ⎪ ⎪ kγ (2.61) fΔI SS / I SS [k, 0] = ⎨⎪−I SS if k ≤ N 2 ⎪ ⎪ − γ k 2 ( ) ⎪ ⎪ −I SS if k > N . ⎪⎪⎪ ⎩ The fΔVt [k, vI ] and fΔβ / β [k, vI ] functions are 0 for k > |N|, which means that the Vt and β mismatches do not affect the differential output current of saturated differential pairs. This was expected since in a saturated differential pair the differential output current is ±ISS, independently of the mismatches in its pair of transistors. Any mismatch that does not affect the differential output current cannot modify any zero crossing location. Thus, in what concerns Vt and β mismatches, only non-saturated differential pairs contribute to the averaging effect that lowers the standard deviation of the offset voltage. The mismatches in ISS influence the differential output current, even in saturated differential pairs – in this case the differential output current is ±(ISS − ΔISS[k]). This is why the fΔI SS / I SS [k, vI ] function is not zero for k > |N|. One can, thus, conclude that the ISS mismatch in any differential pair affects the position of all zero crossings. In practice, any influence from differential pairs sufficiently far from the one whose zero crossing is being considered is negligible, as Fig. 2.8 illustrates. Examining (2.49) and (2.50) leads to similar conclusions: the mismatches in all resistors affect the location of all zero crossings. Once again, the influence from mismatches in resistors that are sufficiently far from the differential pair whose zero crossing is being considered, is negligible.
Chapter 2: Averaging – DC Analysis and Termination
93
The calculation of the INL and DNL can now be made by substituting in (2.43) and (2.48) the expressions (2.56), (2.59) and (2.61), to consider the mismatches in the transistors and current sources of the differential pair, and (2.49)–(2.50) to take in consideration the mismatches in the resistors. To exemplify this process let us determine the INL due to mismatches in β, and the DNL due to mismatches in R0. In the first case (2.59) is used in (2.43) which, noting that the transconductance is given by (2.30), leads to N
σ 2 (VOS )Δβ / β
⎡I 2 1 − (k γ ) ∑ C 2 k −2 ⎢⎢⎣ SS 2 = k =−N ⎡ ⎢ 2 ⎢ N 1 − (k γ ) k −1 ⎢ C g m0 ⎢ ∑ ⎢k =−N (k γ )2 1− ⎢ 2 ⎢⎣
(
N
⇔ σ (VOS )Δβ / β =
∑
VOVD 2
k =−N N
∑
⎤2 ⎥ ⎥⎦
)
⎛ Δβ ⎟⎞ σ 2 ⎜⎜ ⎟⇔ ⎜⎝ β ⎟⎟⎠ ⎤ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦ 2
2 2 C 2 k −2 ⎡⎢1 − (k γ ) ⎤⎥ ⎣ ⎦
C
k −1
k =−N
⎛ Δβ ⎟⎞ σ ⎜⎜ ⎟. ⎜⎝ β ⎟⎟⎠
2
1 − (k γ ) 1−
(2.62)
(k γ )2
2 The standard deviation of the INL can be calculated dividing the previous result by VLSB, as stated by (2.38). To obtain the DNL due to mismatches in R0, (2.49) and (2.30) are used in (2.48): ∞
σ 2 (VOS [1] −VOS [0])ΔR
0
Noting that ∞
/ R0
=
⎛ I I − C k −1 SS ∑ ⎜⎜⎜⎝C k −1 −1 SS 2 2 k =−∞ ⎡ ⎢ 2 ⎢ N 1 − (k γ ) k −1 ⎢ C g m0 ⎢ ∑ 2 ⎢k =−N (k γ ) ⎢ 1− ⎢⎣ 2 2
∑ (C k −1 −1 − C k −1 )
k =−∞
results in
=
2 1 −C C 2 1 +C
⎤ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦
2
⎞⎟2 ⎟⎟⎠
⎛ ΔR0 ⎞⎟ ⎟⎟. (2.63) σ 2 ⎜⎜⎜ ⎝⎜ R0 ⎠⎟
(2.64)
94
Offset Reduction Techniques in High-Speed ADCs
σ (VOS [1] −VOS [0])ΔR
0
/ R0
=
VOVD 2C
N
∑C
k =−N
1 −C ⎛ ⎞ 1 +C ⎜⎜ ΔR0 ⎟⎟. (2.65) σ ⎟ 2 ⎝⎜⎜ R0 ⎠⎟ k −1 1 − (k γ ) 2
1−
(k γ )
2 The standard deviation of the DNL can be calculated dividing (2.65) by VLSB, as stated by (2.45). The example considered in section 2.3.4 to illustrate the gain calculation, will now be used: the transistors have W = 32 μm and L = 1.5 μm, and the tail current value is ISS = 155 μA. This results in gm0 = 710 μS and VOVD = 0.218 V. The difference between consecutive reference voltages, VR, is 45 mV which yields γ = 0.146 and N = 6. The resistances had the values R0 = 4 kΩ and R1 = 400 Ω, which results in B = 456 Ω and C = 0.73. As discussed in section 1.6.2, σ(ΔVt) and σ(Δβ/β) are related to the transistor channel area according to (1.47) and (1.48). For the resistors a similar expression exists (1.45). The technology under consideration has AVt = 8.12 mV.μm, Aβ = 2%.μm and AR = 5.63%.μm.
As in our example WL = 48 μm2, one obtains σ(ΔVt) = 1.172 mV and σ(Δβ/β) = 0.289%. Considering an area of 90 μm2 for the resistors R0 and R1, leads to σ(ΔR0/R0) = σ(ΔR1/R1) = 0.593%.
⎛ ΔI ⎞ In a MOS current source, σ ⎜⎜⎜ SS ⎟⎟⎟ is given by (1.74). Assuming ⎝ I SS ⎠⎟ that the current source transistor has an area of 60 μm2 and an over⎛ ΔI ⎞ drive voltage of 0.3 V, implies that σ ⎜⎜ SS ⎟⎟⎟ = 0.527 % . ⎜⎝ I ⎟ SS ⎠ All the necessary data to calculate the standard deviation of the INL and DNL, due to all sources of mismatch, is now available. For example (2.62) can be evaluated to obtain the standard deviation of the offset voltage due to the β mismatch:
Chapter 2: Averaging – DC Analysis and Termination 6
σ (VOS )Δβ / β =
0.218 2
∑ 0.732 k −2 ⎡⎣⎢1 − (0.146k )2 ⎤⎦⎥
k =−6 6
∑ 0.73 k −1
k =−6
2
1 − (0.146k ) 1−
95
2
0.289 = 109 μV. (2.66) 100
(0.146k )2
2 HSPICE Monte-Carlo simulation indicates σ (VOS )Δβ / β = 110 μV in
the same conditions. The results from HSPICE Monte-Carlo simulations5 will now be compared to those obtained from the particularization of (2.43) and (2.48) to every mismatch. Figures 2.14–2.18 represent the standard deviation of the offset voltage (which is proportional to the INL), and Figs. 2.19–2.23 represent the standard deviation of the difference between the offset voltages of two consecutive differential pairs (which is proportional to the DNL). These parameters are represented as a function of N (Table 2.1 has the values chosen for VR in each case). Once again various resistance ratio values were considered by maintaining R0 at 4 kΩ and varying R1. A good agreement is found; the small differences are due to the use of the simple quadratic drain current model in the evaluation of the theoretical expressions. The theoretical values found in the absence of averaging (R1 → ∞) are also indicated. These are calculated using the expression for the variance of the offset voltage of an isolated differential pair (1.58). In this situation the random variations in the tail currents do not originate offsets, and there are no resistors R1. As mentioned in section 1.6.5, when averaging is not used, the offset voltages of the differential pairs are uncorrelated leading to σ (VOS [1] −VOS [0]) = 2σ (VOS ). Thus, in that case, the standard deviation of the DNL is simply INL.
5
2 larger than the standard deviation of the
5000 runs were used in each Monte-Carlo simulation.
Offset Reduction Techniques in High-Speed ADCs
96
1200 Case without averaging
1100
R0/R1 = 0.1
σ(VOS)ΔVt [μV]
1000 900 800
R0/R1 = 0.5
700
R0/R1 = 1
600 500
R0/R1 = 2
400
R0/R1 = 10
300 200 2
3
4
5
6
7
8
N Figure 2.14. Standard deviation of the offset voltage, due to Vt mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
300
Case without averaging
280
R0/R1 = 0.1
σ(VOS)Δβ/β [μV]
260 240 220 200
R0/R1 = 0.5
180 160
R0/R1 = 1
140
R0/R1 = 2
120 R0/R1 = 10
100 2
3
4
5
6
7
8
N Figure 2.15. Standard deviation of the offset voltage, due to β mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
Chapter 2: Averaging – DC Analysis and Termination
97
540 R 0/R 1 = 10
480
σ(VOS)ΔISS/ISS [μV]
420 360 300 R 0/R 1 = 2
240 180
R 0/R 1 = 1
120
R 0/R 1 = 0.5
60 0
R 0/R 1 = 0.1 Case without averaging
-60 1
2
3
4
5
6
7
N
Figure 2.16. Standard deviation of the offset voltage, due to ISS mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE). 700 Case without averaging
650
σ(VOS)ΔR0/R0 [μV]
600 R0/R1 = 0.1
550 500 450
R0/R1 = 0.5
400 350
R0/R1 = 1
300
R0/R1 = 2
250
R0/R1 = 10
200 2
3
4
5
6
7
8
N Figure 2.17. Standard deviation of the offset voltage, due to R0 mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
Offset Reduction Techniques in High-Speed ADCs
98
360 320
σ(VOS)ΔR1/R1 [μV]
280
R 0/R1 = 10
240 200
R 0/R 1 = 2
160
R 0/R 1 = 1
120 80
R 0/R 1 = 0.5 R0/R 1 = 0.1
40 0
Case without averaging
-40 1
2
3
4
5
6
7
N
Figure 2.18. Standard deviation of the offset voltage, due to R1 mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
1800
Case without averaging
σ(V OS[1]-VOS[0])ΔVt [μV]
1620 1440 R0/R1 = 0.1
1260 1080 900
R0/R1 = 0.5
720 540
R0/R1 = 1
360
R0/R1 = 2
180
R0/R1 = 10
0 2
3
4
5
6
7
8
N Figure 2.19. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to Vt mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
Chapter 2: Averaging – DC Analysis and Termination
99
500
σ(V OS[1]-V OS[0])Δβ/β [μV]
450
Case without averaging
400 350
R0/R1 = 0.1
300 250 R0/R1 = 0.5
200 150
R0/R1 = 1
100
R0/R1 = 2
50
R0/R1 = 10
0 2
3
4
5
6
7
8
N Figure 2.20. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to β mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
270
σ(V OS[1]-V OS[0])ΔISS/ISS [μV]
240 210 180 150 120 90
R 0/R 1 = 10
R 0/R 1 = 2 R 0/R 1 = 1 R 0/R 1 = 0.5
60 30
R 0 /R 1 = 0.1
0
Case without averaging
-30 1
2
3
4
5
6
7
N
Figure 2.21. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to ISS mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
Offset Reduction Techniques in High-Speed ADCs
100
1000 Case without averaging
σ(VOS[1]-VOS[0])ΔR0/R0 [μV]
900 800
R 0/R 1 = 0.1
700 600 500
R 0/R 1 = 0.5
400 300
R 0/R 1 = 1
200
R 0/R 1 = 2
100
R 0/R1 = 10
0 2
3
4
5
6
7
8
N
Figure 2.22. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to R0 mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
450
σ(VOS[1]-VOS[0])ΔR1/R1 [μV]
400 350 R /R = 10 0 1 300 250
R0/R1 = 2 R0/R1 = 1
200 150
R0/R1 = 0.5
100 R /R = 0.1 0 1 50 0
Case without averaging
-50 1
2
3
4
5
6
7
N
Figure 2.23. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to R1 mismatch, as a function of N. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from the theoretical expression (© 2004 by IEEE).
Chapter 2: Averaging – DC Analysis and Termination
101
The observation of Figs. 2.14–2.23 leads to the following conclusions:
The increase of R0/R1 (smaller R1) almost always improves INL and DNL, in what concerns mismatches in Vt, β and R0. This happens because increasing R0/R1 allows a larger influence of neighbor differential pairs in the location of the zero crossing being considered. The only exception observed is in the contribution of mismatches of R0 to the INL: if a large value for R0/R1 is chosen, and if there are only a few non-saturated differential pairs, the INL can be degraded. This happens because when R1 is lowered, the mismatches in resistors R0 of neighbor differential pairs become more important. If there are only a few non-saturated differential pairs, the averaging effect may not be sufficient to compensate that. In this case, the offset voltage can even become larger than the value found in the absence of averaging. The increase of R0/R1 (smaller R1) enlarges the INL and DNL due to mismatches in the current sources (ISS) and in R1. This is consistent with the fact that, if averaging is not used, these are not sources of zero crossing deviations. Increasing the number of non-saturated differential pairs (increasing N), always improves INL and DNL. This also makes the gain larger, as was already seen. In practical applications VR is usually fixed, which means that enlarging N implies increasing the overdrive voltage. To do this without decreasing the gain, gm0 = ISS/VOVD must be held constant; the power must, thus, be raised such that ISS tracks the change in VOVD.
It can be concluded that the introduction of averaging lowers the contributions of mismatches in Vt, β and R0, but adds two new sources of mismatch that must be taken in account. Finally, one should note that making R0/R1 larger (smaller R1), also decreases the gain which, in turn, increases the input referred offset voltage of subsequent stages, like the latched comparators. There is, thus, a tradeoff associated to this parameter. The improvement in the DNL due to averaging, is more significant than in the INL. This happens because, when averaging is used, the location of two consecutive zero crossings become highly correlated
102
Offset Reduction Techniques in High-Speed ADCs
random variables. Since in the absence of averaging σ(DNL) > σ(INL), there is a value of R0/R1 for which the standard deviation of the DNL becomes smaller than the standard deviation of the INL. As this value is small (between 0.5 and 1 in our example), flash ADCs using averaging are usually INL limited.6 Finally, one can also compare the effect caused by mismatches on R0 and R1 in the INL and DNL, because they have the same area. It can be concluded that mismatches in R0 are worse for the INL; for the DNL a similar behavior is observed, but in the case of large R0/R1 the mismatches in R1 can become more important. Appendix A considers the case where the transfer characteristic of the differential pair is approximated by a piecewise linear function. The σ(VOS[1] − VOS[0]) and σ(VOS) expressions are derived for all sources of mismatch, and are evaluated for the example just described, leading the results plotted in Figs. A.6, A.7 and A.10–A.15. The theoretical results presented in Figs. 2.14–2.22 are always closer to the ones obtained from HSPICE Monte-Carlo simulations, confirming the inferior accuracy of the expressions based on the piecewise linear transfer function. As a final remark to the example just presented, it should be pointed out that there are two possible ways of varying N: by modifying VR or adjusting VOVD. The objective of this example was to compare the offset results in the absence of averaging with the ones obtained employing this technique. This can only be done by leaving the differential pairs untouched; thus, N was changed by adjusting VR. However, when designing a data converter, VR is usually fixed since the full-scale range, VFS, is a common specification. Therefore N is set by VOVD of the transistors. For some types of mismatch, when VOVD (and therefore N) is increased the offset voltages become larger. An example is the β mismatch: when averaging is not used, the standard deviation of the offset voltage increases proportionally to VOVD, as shown by (1.58). When averaging is employed, the increase of N reduces σ(VOS) with respect to the value found in the absence of averaging, but this value is increasing with VOVD – the later effect is stronger. In fact, note that (2.62) is the product of two terms: VOVD , which obviously 2 6
This may not be true if the input referred offset voltages of the comparators are significant, because these are usually uncorrelated.
Chapter 2: Averaging – DC Analysis and Termination N
increases with VOVD, and
∑
k =−N N
∑
k =−N
2 2 C 2 k −2 ⎡⎢1 − (k γ ) ⎤⎥ ⎣ ⎦
C
k −1
2
1 − (k γ )
103
which decreases
2
1−
(k γ )
2 with N (and, therefore, with VOVD). This matter is further discussed in section 3.5.7.
2.5
AVERAGING IN FOLDING CIRCUITS
Until now only averaged pre-amplifier stages have been considered. Averaging is also commonly employed to reduce the offset voltages of folding circuits. Figure 2.24 shows a folding stage with its FB folding circuits (numbered from 0 to FB − 1), each having FF differential pairs. The pre-amplifier and folding stages have some common characteristics:
Each zero crossing is defined by one differential pair. There is a limited number of non-saturated differential pairs surrounding the one whose reference voltage corresponds to the input voltage. The averaging resistors, R1, connect the outputs of differential pairs with consecutive reference voltages. Even though there are several differential pairs in a folding circuit, in practice when the input voltage is at one of its zero crossings, only one should be non-saturated.
Although the overall transfer functions are completely different, these similarities suggest that folding and pre-amplifying stages have an identical behavior near the zero crossings. In this way, one could be tempted to apply to a folding stage the gain, σ(INL) and σ(DNL) expressions that were derived for a pre-amplifier stage. There are, however, relevant differences: in a pre-amplifier stage the averaging network was (considered to be) infinite, but in a folding stage it is circular, having 2FB nodes. This is a fundamental difference that affects the output voltages expression and, therefore, the equations for the gain, σ(INL) and σ(DNL).
Offset Reduction Techniques in High-Speed ADCs
104
VREFP Folding Circuit 0
iFOLDP[0,vI]
vON[0,vI]
iFOLDN[0,vI]
FF
Resistive Ladder
Folding Circuit 1
R0
vOP[0,vI]
R1
iFOLDP[1,vI]
R1
R0
vOP[1,vI] vON[1,vI]
iFOLDN[1,vI]
R0
R0 VDD
FF
Folding Circuit FB−1
R1
iFOLDP[FB−1,vI]
R0
vOP[FB−1,vI] vON[FB−1,vI]
iFOLDN[FB−1,vI]
FF
R1
R1
R0
R1
VREFN vI
Figure 2.24. Folding stage with resistive averaging.
In the (academic) example of FB → ∞, the averaging network of the folding stage becomes infinite and equivalent to the one found in the pre-amplifier stage. In fact, as will be demonstrated, if FB is large and under certain other conditions, the expressions for σ(INL) and σ(DNL) due to Vt and β mismatches, and for the gain, approach the ones derived for the pre-amplifier stage. Another fundamental dissimilarity is that, in a folding stage, there are several differential pairs connected to each output, instead of only
Chapter 2: Averaging – DC Analysis and Termination
105
one. This is a fact that, even in the absence of averaging, leads to relevant differences:
Comparing (1.58) with (1.73) leads to the conclusion that, in a folding circuit, a mismatch in R0 causes an offset voltage FF times larger. As indicated by (1.73), the mismatches in the tail current sources originate zero crossing deviations, which does not happen in a pre-amplifier stage.
When averaging is used, the effects caused by those mismatches will also certainly differ. This suggests that the application of averaging to folding circuits must be carefully examined, because it is not a simple extension of the situation found in pre-amplifying stages. To do so, the process already used in sections 2.3 and 2.4 is followed: first the output voltage expression is derived, from which the DC gain is obtained; then the standard deviation of the INL and DNL is calculated. This derivation, which is significantly more complex than in the pre-amplifier stage, is presented at the Appendix C. The following sub-sections highlight the main results, and identify the situations at which the theoretical expressions approach the ones derived for averaged pre-amplifying stages.
2.5.1
Output Voltage and Gain
It is shown in Appendix C that the differential output voltage of folding circuit j (vODIFF[j,vI] = vOP[j,vI] − vON[j,vI]), for an input voltage vI is FB −1
C q − j −1 − C FB − q − j −1 iFOLDDIFF [q, vI ]. (2.67) 1 + C FB q =0 where iFOLDDIFF[q,vI] is the differential output current of folding circuit q, (2.68) iFOLDDIFF[q,vI] = iFOLDP[q,vI]−iFOLDN[q,vI]. The contribution of folding circuit q to the output voltage of folding circuit j is weighted by: vODIFF [ j, vI ] = −B ∑
The resistance ratio, R0/R1, which determines the C parameter.
The “distance” between those two folding circuits, |q−j|.
The total number of folding circuits, FB.
Offset Reduction Techniques in High-Speed ADCs
106
The absolute values of R0 and R1 influence the output voltages through the B parameter. Equation (2.67) yields the differential output voltages as a function of the total output currents of the folding circuits (iFOLDDIFF[q,vI]). However, most times it is more convenient to have vODIFF[j,vI] expressed as a function of the currents in each differential pair: thus, iFOLDDIFF[q,vI] must be decomposed in the sum of the currents of its FF differential pairs. Considering that the middle differential pair7 of folding circuit 0 has a reference voltage of 0 V, the remaining differential pairs either have a positive or a negative reference voltage. Under this assumption, it can be shown that, for arbitrary FF and FB:
The
reference
voltages
range
from
⎛ F − 1 ⎞⎟ − ⎜⎜FB F ⎟VR ⎝ 2 ⎠⎟
to
⎛ FF + 1 ⎞ ⎜FB − 1⎟⎟⎟VR . The lowest reference voltage is always con⎜⎝ ⎠ 2 nected to the first differential pair of folding circuit 0, and the highest reference voltage connects to the last differential pair of folding circuit FB − 1.
The differential pair k – which has the reference voltage kVR and the differential output current iDIFF[k,vI] – belongs to folding circuit (2.69) q = M [k, FB ], where M[k,FB] is the remainder of the division of k by FB.
Some differential pairs have a positive contribution to the differential output current, and some others have a negative contribution (this is what makes the gain of the folding circuit be positive or negative, depending on the zero crossing). The contribution of differential pair k to the output current of folding circuit q is
(−1)Q [k ,FB ] iDIFF [k, vI ], where Q[k,FB] is the integer division of k by FB.
7
(2.70)
As mentioned in section 1.6.3, the folding circuit must have an odd number of differential pairs. If an even FF is required an extra current source must be connected to one of the outputs, which can be regarded as a differential pair completely unbalanced.
Chapter 2: Averaging – DC Analysis and Termination
107
This leads, finally, to FB
vODIFF [ j, vI ] = −B
FF +1 −1 2
∑F −1
k =−FB
C
F
M [k ,FB ]− j −1
F − M [k ,FB ]− j −1
−C B 1 + C FB
(−1)Q[k ,FB ] iDIFF [k, vI ].(2.71)
2
which expresses the output voltage as a function of the currents in each differential pair. The DC gain is calculated differentiating (2.71) near vI = 0, G0 =
∂vOFOLD [0, vI ] ∂v I
(according to the convention being utilized, vI = 0
this is the zero crossing of middle differential pair of folding circuit 0). Noting that:
Only 2N + 1 non-saturated differential pairs define the gain, because gm[k,0] = 0 for all others.
As mentioned in section 1.6.3 practical implementations must meet (1.66) to maximize the gain and avoid systematic zero crossing deviations. This condition is equivalent to N < FB
leads to
(2.72)
C k −1 − C FB − k −1 (2.73) gm [k, 0]. ∑ 1 + C FB k =−N The particularization for the case of MOS differential pairs, using the quadratic drain current model, is done substituting (2.30) in (2.73), yielding G0 = B
N
2
C k −1 − C FB − k −1 1 − (k γ ) G 0 = g m 0B ∑ . (2.74) 2 1 + C FB k =−N (k γ ) 1− 2 This expression is clearly different from the one obtained for averaged pre-amplifying stages (2.31). When using the same differential pairs (W, L, ISS) and the same resistor values (R0, R1), the gain of a folding stage is always lower than of a pre-amplifier stage. In fact (2.74) only approximates (2.31) when FB is sufficiently large, such that N
C FB 1 , and also sufficiently larger than N, to have C k −1 C FB − k −1 for all k. In section 2.3.4 it was concluded that when N is increased the gain of a pre-amplifier stage always increases, approaching the value found
108
Offset Reduction Techniques in High-Speed ADCs
in the absence of averaging, gm0R0 (see Fig. 2.12). In a folding stage this does not happen; in fact, ⎪⎧⎪C k −1 − C FB − k −1 > 0 if k < FB ⎪⎪ 2 ⎪⎪ F ⎪⎪ k −1 (2.75) − C FB − k −1 = 0 if k = B ⎨C ⎪⎪ 2 ⎪⎪ ⎪⎪C k −1 − C FB − k −1 < 0 if k > FB , ⎪⎪⎩ 2 which means that if N exceeds FB/2, the last terms in (2.73) are negative, decreasing the gain. The same differential pairs of the example in section 2.3.4 (W = 32 μm, L = 1.5 μm and ISS = 155 μA), are used to allow a comparison with the results obtained in the pre-amplifier stages. Once again various resistance ratio values are considered by maintaining R0 at 4 kΩ and varying R1; N is adjusted by changing VR, according to Table 2.1. In this example the folding circuits have FF = 3 differential pairs. Figures 2.25 and 2.26 compare the results obtained from (2.74) with HSPICE simulations, in two cases: FB = 9 and FB = 16. When FB = 16 the folding stage has gain values similar to those found in the pre-amplifying stage (compare Figs. 2.12 and 2.25). Differences would be observable for larger R0/R1 or if N exceeded FB/2. The gain reduction effect when N > FB/2 is visible in Fig. 2.26, where FB = 9. Although the accuracy of the expressions evaluated throughout this chapter is limited by the use of the simple quadratic drain current model, a reasonable agreement with HSPICE simulations was always obtained. However, in the cases N = 6 and N = 7 of Fig. 2.26 (2.74) yielded values which differ appreciably from the simulation results. To understand why let us examine Fig. 2.27, which compares the transfer functions obtained from HSPICE and using the quadratic drain current model, for the differential pair of our example. The most substantial differences occur for large differential input voltages: although the quadratic model indicates VSAT = 2VOVD = 0.308 V, the differential pair actually only becomes fully saturated around 0.4 V. For example, when VR = 40 mV, N actually equals 10 instead of 7. Thus, when using the quadratic model, the contributions from some differential pairs are ignored.
Chapter 2: Averaging – DC Analysis and Termination
3
109
Case without averaging
2.8
R0/R1 = 0.1
Gain (G0)
2.6 2.4
R0/R1 = 0.5
2.2
R0/R1 = 1
2 R0/R1 = 2
1.8 1.6 1.4 1.2
R0/R1 = 10
1
1
2
3
4
5
6
7
N Figure 2.25. Gain as a function of N, for several resistance ratio values, in a folding stage having FB = 16. The dots are from HSPICE simulations and lines are from (2.74).
3
Case without averaging
2.8
R0/R1 = 0.1
2.6
Gain (G0)
2.4 R0/R1 = 0.5 2.2
R0/R1 = 1
2
R0/R1 = 2
1.8 1.6 1.4 1.2 1 0.8
R0/R1 = 10 1
2
3
4
5
6
7
N Figure 2.26. Gain as a function of N, for several resistance ratio values, in a folding stage having FB = 9. The dots are from HSPICE simulations and lines are from (2.74).
Offset Reduction Techniques in High-Speed ADCs
110
From quadratic MOS drain current model
vI [V] -0.5
200 iDIFF[0,vI]
-0.4
-0.3
[μA]
100
HSPICE simulation
50 -0.5
-0.4
-0.3
-0.2
-0.1 -50 -100
0.1
-0.1
0
0.1
0.3
0.4
0.5
0.2
0.3
0.4
vI [V] 0.5
HSPICE simulation
-0.2 -0.3 -0.4
From quadratic MOS drain current model
-0.5 -0.6
-150
-0.7
-200
-0.8 gm[0,vI]
(a)
0.2
-0.1
150
0
-0.2
[mS]
(b)
Figure 2.27. Comparison between the transfer function indicated by HSPICE, with the one obtained using the quadratic drain current model, for the differential pair of our example: (a) differential output current; (b) transconductance.
In a pre-amplifier stage those differential pairs are somewhat far from the one at the zero crossing. Consequently their influence is small, which explains the reasonable agreement with HSPICE simulations observed in the previous sub-sections. In a folding stage the situation may be different. Let us consider the case of VR = 40 mV and FB = 9, where the folding circuit at the zero crossing has more than one non-saturated differential pair8 since, in reality, N = 10. In this situation the quadratic model indicates N = 7, implying that there is only one non-saturated differential pair in that folding circuit – thus, the contribution of the others are disregarded. Therefore, contrarily to what happens in pre-amplifier stages, the differential pairs whose contributions are being neglected may not be far from the one at the zero crossing. This originates the differences between theoretical and simulation results that are observed in Fig. 2.26, for N = 6 and N = 7. It is important to emphasize that these issues are exclusively related to the drain current model. If the theoretical expression was evaluated using the transfer function indicated by HSPICE, there would be a perfect agreement between theoretical and simulation results. Likewise, if the MOS transistors are modeled by the quadratic drain equation in HSPICE, the simulations match perfectly the theoretical results presented in Figs. 2.25 and 2.26.
8
This was the case depicted in Figs. 1.32 and 1.33, at which a gain reduction occurs, even without averaging.
Chapter 2: Averaging – DC Analysis and Termination
2.5.2
111
Effect of Mismatches – INL and DNL
The zero crossing deviations are calculated dividing the output voltages by the DC gain. For the folding circuits two different but equivalent output voltage expressions were presented (2.67) and (2.71), and one must decide which to use. The mismatches in Vt, β and ISS cause deviations in the output current of each differential pair. For those cases the most suitable equation is (2.71), which expresses the output voltages as a function of the currents in each differential pair, iDIFF[k,vI]. The error currents originated by the mismatches on the resistors add directly to the total output current of each folding circuit, iFOLDDIFF[q,vI]. Therefore, in these situations it is more convenient to use (2.67) instead of (2.71). In Appendix C it is shown that, for the mismatches in Vt, β and ISS, the variance of the INL and DNL is calculated, respectively, from FB
σ 2 (VOS )Δψ =
FF +1 −1 2
∑F −1 (C
k =−FB
M [k ,FB ]−1
−C
FB −M [k ,FB ]−1
)f 2
2 Δψ [k , 0 ]
F
2
⎡ FB FF +1 −1 ⎤2 ⎢ ⎥ 2 M k ,F −1 F −M k ,F −1 Q k ,F ⎢ C [ B ] − C B [ B ] (−1) [ B ] gm [k, 0 ]⎥⎥ ⎢ ∑ ⎢k =−F FF −1 ⎥ B ⎢⎣ ⎥⎦ 2
(
(2.76)
σ 2 (Δψ )
(2.77)
)
FB
FF +1 −1 2
∑F −1 ⎡⎣⎢nψ−1 − nψ ⎤⎦⎥
σ 2 (VOS [1] −VOS [0])Δψ =
σ 2 (Δψ )
k =−FB
2
F
2
⎡ ⎤2 ⎢ ⎥ Q [k ,FB ] M [k ,FB ]−1 FB −M [k ,FB ]−1 ⎢ ⎥ −C C gm [k, 0]⎥ (−1) ⎢ ∑ ⎢ ⎥ FF −1 ⎢k =−FB 2 ⎥ ⎣⎢ ⎦⎥ F +1 FB F −1 2
(
)
with
(
n ψ −1 = C
M [k ,FB ]−1 −1
(
−C
FB − M [k ,FB ]−1 −1
)
)(−1)
Q [k ,FB ]
fΔψ [k − 1, 0] (2.78)
M k ,F −1 F −M k ,F −1 n ψ = C [ B ] − C B [ B ] (−1)Q [k ,FB ] fΔψ [k, 0].
(2.79)
As an application example, in that appendix these expressions are particularized to a folding stage designed to respect condition (2.72), in the presence of Vt mismatches:
Offset Reduction Techniques in High-Speed ADCs
112
N
2
∑ (C k −1 − C F − k −1 ) B
k =−N
σ (VOS )ΔV =
N
∑ (C k −1 − C F − k −1 )
t
B
⎡1 − (k γ )2 ⎤ 2 ⎣⎢ ⎦⎥ 2 (k γ ) 1− 2 σ (ΔVt ) 2 1 − (k γ )
k =−N
(2.80)
(k γ )2
1−
2
2
(
2 C N −1 − C FB −N −1
2
)
⎡1 − N γ 2 ⎤ ⎢⎣ ( ) ⎥⎦ + 2 (N γ ) 1− 2
⎡ ⎢ ⎢ N ⎢ k −1 −1 F − k −1 −1 + ∑ ⎢C −C B ⎢ k =−(N −1) ⎢ ⎢ ⎣⎢
(
σ (VOS [1] −VOS [0])ΔV =
N
t
∑
k =−N
(C
)
2
1 − (k − 1) γ 2 1−
k −1
2 (k − 1) γ 2
−C
(
−C
k −1
−C
FB − k −1
)
)
1 − (k γ )
2
1−
2 FB − k −1
2
2
1 − (k γ )
(k γ ) 2
⎤2 ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦
σ (ΔVt )
2
1−
(k γ ) 2
(2.81)
If FB is sufficiently larger than N such that C k –1 C FB – k –1 for all k, these equations approach the result obtained in a pre-amplifier stage. For β mismatches the conclusions are similar. An identical approach is followed to calculate the effect of the mismatches in ISS, using the fΔI SS / I SS [k, vI ] function given by (2.61). However, the result obtained in that case does not approach the one found in averaged pre-amplifying stages. As shown in section 1.6.3, these mismatches cause random zero crossing deviations on the folding circuits even when averaging is not employed, while in a pre-amplifier stage deviations only exist when averaging is used. Therefore, this kind of mismatches is always more problematic in folding stages, either with or without averaging. The following equations are derived in Appendix C, to account the effect of the mismatches in the resistors: FB −1
B
σ (VOS )Δψ =
2
∑ (C q −1 − C F −q −1 )
fΔ2ψ [q, 0 ]
q =0
2
⎡ FB FF +1 −1 ⎤2 ⎢ ⎥ 2 M k ,F −1 F −M k ,F −1 Q k ,F ⎢ C [ B ] − C B [ B ] (−1) [ B ] gm [k, 0 ]⎥⎥ ⎢ ∑ ⎢k =−F FF −1 ⎥ B ⎢⎣ ⎥⎦ 2
(
)
σ 2 (Δψ ), (2.82)
Chapter 2: Averaging – DC Analysis and Termination FB −1
σ 2 (VOS [1] −VOS [0])Δψ =
113
∑ ⎢⎣⎢(C q −1 −1 − C F − q −1 −1 ) fΔψ [q − 1, 0] − (C q −1 − C F −q −1 ) fΔψ [q, 0]⎥⎦⎥ ⎡
B
⎤
B
q =0
⎡ FB FF +1 −1 ⎤2 ⎢ ⎥ 2 M ⎣⎡k , FB ⎦⎤ −1 FB −M ⎣⎡k , FB ⎦⎤ −1 Q ⎣⎡k , FB ⎦⎤ ⎢ gm [k, 0]⎥⎥ −C (−1) ⎢ ∑ C ⎢k =−F FF −1 ⎥ B ⎢⎢⎣ ⎥⎥⎦ 2
(
2
σ 2 (Δψ). (2.83)
)
As an application example, the σ(VOS) due to mismatches in R0 is calculated in Appendix C, yielding σ (VOS )ΔR
0
1 +C 2 (1 − C 2FB ) − 2C FB FB ⎛ ΔR0 ⎞⎟ VOVD 1 −C 2 ⎟ . (2.84) σ ⎜⎜⎜ = FF 2 N ⎜⎝ R0 ⎠⎟⎟ 2C 1 − (k γ ) k −1 FB − k −1 ∑ C −C 2 k =−N (k γ ) 1− 2
/ R0
(
)
If FB is sufficiently large this equation can be approximated by σ (VOS )ΔR
0
/ R0
FF
VOVD 2C
N
∑
k =−N
C
1 +C 2 ⎛ ΔR0 ⎟⎞ 1 −C 2 ⎜⎜ ⎟, σ 2 ⎜⎝ R ⎟⎟⎠ 1 k γ − ( ) 0 k −1
(2.85)
2
1−
(k γ )
2 which is FF times larger than the value found in a pre-amplifier stage. This was expected because the same happens in the absence of averaging – compare the σ(VOS) of a single differential pair (1.58), with the one found in a folding circuit (1.73). As an application example, the evaluation of (2.80) and (2.81) (Vt mismatches) will be compared to HSPICE Monte-Carlo simulation results, for the cases already considered in the previous sub-section to study the gain variations. Figures 2.28 and 2.29 represent the standard deviation of the offset voltage, which is proportional to the INL, for FB = 16 and FB = 9. Figures 2.30 and 2.31 represent the standard deviation of the difference between the offset voltages of two consecutive differential pairs, which is proportional to the DNL, in the same cases.
Offset Reduction Techniques in High-Speed ADCs
114
1200 Case without averaging
1100
R0/R1 = 0.1
σ(VOS)ΔVt [μV]
1000 900 800 700
R0/R1 = 0.5
600
R0/R1 = 1
500
R0/R1 = 2
400
R0/R1 = 10
300 200 2
3
4
5
6
7
8
N Figure 2.28. Standard deviation of the offset voltage, due to Vt mismatch, as a function of N, in a folding stage having FB = 16. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from (2.80).
1200 Case without averaging
1100
R0/R1 = 0.1
σ(VOS)ΔVt [μV]
1000 900 800
R0/R1 = 0.5
700
R0/R1 = 1 R0/R1 = 2 R0/R1 = 10
600 500 400 300 200 2
3
4
5
6
7
8
N Figure 2.29. Standard deviation of the offset voltage, due to Vt mismatch, as a function of N, in a folding stage having FB = 9. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from (2.80).
Chapter 2: Averaging – DC Analysis and Termination
1800
115
Case without averaging
σ(VOS[1]-VOS[0])ΔVt [μV]
1620 1440 R0/R1 = 0.1
1260 1080 900 720
R0/R1 = 0.5
540
R0/R1 = 1
360
R0/R1 = 2
180
R0/R1 = 10
0 2
3
4
5
6
7
8
N Figure 2.30. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to Vt mismatch, as a function of N, in a folding stage having FB = 16. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from (2.81).
1800
Case without averaging
σ(V OS[1]-VOS[0])ΔVt [μV]
1620 1440
R0/R1 = 0.1
1260 1080 900
R0/R1 = 0.5
720
R0/R1 = 1
540
R0/R1 = 2
360
R0/R1 = 10
180 0 2
3
4
5
6
7
8
N Figure 2.31. Standard deviation of the difference between the offset voltages of two consecutive pre-amplifiers, due to Vt mismatch, as a function of N, in a folding stage having FB = 9. The dots are obtained from HSPICE Monte-Carlo simulations and the lines are from (2.81).
Offset Reduction Techniques in High-Speed ADCs
116
It may be concluded that:
In the FB = 16 case, the results are similar to the ones obtained for the pre-amplifying stage (compare Figs. 2.28 and 2.30 to, respectively, Figs. 2.14 and 2.19). Differences would be visible if larger R0/R1 values would have been considered, or if N reached values above FB/2.
A degradation of σ(INL) and σ(DNL) when N > FB/2, is visible on the FB = 9 example.
Noticeable differences between theoretical and simulation results occur in the N = 6 and N = 7 cases (VR = 45 mV and VR = 40 mV) of Figs. 2.29 and 2.31 (FB = 9). As seen in the last sub-section, the actual number of non-saturated differential pairs is larger than the value indicated by quadratic drain current model. Thus, there are differential pairs whose Vt mismatches still influence zero crossing locations, that are being disregarded. These accuracy issues are, again, exclusively related to the drain current model being used to particularize the general expressions. In section 1.6.3 it was concluded that to maximize the gain and avoid systematic zero crossing deviations in a folding circuit, only the differential pair at the zero crossing should be non-saturated – i.e. N < FB. As demonstrated in this section, when averaging is used a more strict condition must be obeyed, N < FB/2, to avoid degrading the gain, σ(INL) and σ(DNL).
2.6
CONSIDERATIONS ABOUT THE YIELD
When averaging is not used the offset voltages of distinct pre-amplifiers are independent random variables, and it is possible to derive expressions for the yield: (1.94) and (1.97) were obtained for a flash ADC, in section 1.6.5. Figure 1.44 shows the Y(INL < 0.5) and Y(DNL < 0.5) for a 7 bit converter. To have Y(DNL < 0.5) = 90% it is required that σ(VOS) = 0.11VLSB, while to have Y(INL < 0.5) = 90% it is necessary σ(VOS) = 0.15VLSB. When averaging is employed the deviations in the zero crossings are not independent, and equations (1.94) and (1.97) are no longer valid. To illustrate this fact let us take the example of a 7 bit flash ADC
Chapter 2: Averaging – DC Analysis and Termination
117
without interpolation, having VFS = 1 V and, therefore, VR = VLSB = 7.8125 mV. For the sake of simplicity, only mismatches on the Vt of the differential pair transistors are considered, where (2.86) σ(VOS) = σ(ΔVt) = 0.8VLSB = 6.250 mV. As seen in Fig. 1.44, without averaging this leads to Y(INL < 0.5) and Y(DNL < 0.5) that are (practically) zero. This is confirmed by the histograms depicted in Fig. 2.32, which show the distribution of the maximum INL and DNL values.9 As expected the DNL takes larger values. 12
14
Percentage of Occurrences
Percentage of Occurrences
16
12 10 8 6 4 2 0
10 8 6 4 2 0
0
0.5
1
1.5
2
2.5
Maximum INL [LSB]
3
3.5
4
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
5.5
6
Maximum DNL [LSB]
Figure 2.32. Histograms showing the distribution of the maximum INL and DNL, in the case without averaging − σ(ΔVt) = σ(VOS) = 6.250 mV.
The histograms for the case with averaging are shown in Fig. 2.33, using the same σ(ΔVt) value. The resistance ratio is R0/R1 = 30 and VOVD = 0.218 V (N = 39), which lowers the σ(VOS) to 0.175VLSB = 1.367 mV. Now Y(INL < 0.5) = 88.6% and Y(DNL < 0.5) = 100%. Let us now consider that, instead of applying averaging, one decides to increase the area of the transistors in order to reduce σ(VOS) from 0.8VLSB = 6.250 mV to 0.175VLSB = 1.367 mV.10 The resultant histograms are shown in Fig. 2.34, and the evaluation of (1.94) and (1.97) indicates Y(INL < 0.5) = 57.5% and Y(DNL < 0.5) = 35.5%. These yield values are lower than the ones obtained above, when averaging is employed, for the same σ(VOS). The correlation between the offset voltages provided by the averaging technique, in addition to decreasing the σ(VOS), further improves the yield.
9
This was obtained with a Monte-Carlo simulation with 10000 runs.
10
The transistor area would have to be increased (6.250/1.367)2 = 20.9 times.
Offset Reduction Techniques in High-Speed ADCs
118
90 80
20
Percentage of Occurrences
Percentage of Occurrences
25
15 10 5 0 0
0.1
0.2
0.3 0.4 0.5 0.6 0.7 Maximum INL [LSB]
0.8
0.9
70 60 50 40 30 20 10 0
1
0
0.1
0.2
0.3 0.4 0.5 0.6 0.7 Maximum DNL [LSB]
0.8
0.9
1
Figure 2.33. Histograms showing the distribution of the maximum INL and DNL, in the case with averaging − σ(ΔVt) = 6.250 mV, R0/R1 = 30 and N = 39, which leads to σ(VOS) = 1.367 mV. 25
30
Percentage of Occurrences
Percentage of Occurrences
35
25 20 15 10 5 0
20 15 10 5 0
0
0.1
0.2 0.3
0.4
0.5
0.6
0.7
Maximum INL [LSB]
0.8
0.9
1
1.1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7 0.8
0.9
1
1.1
Maximum DNL [LSB]
Figure 2.34. Histograms showing the distribution of the maximum INL and DNL, in the case without averaging − σ(ΔVt) = σ(VOS) = 1.367 mV.
This correlation between zero crossing locations prevents the calculation of explicit expressions for the yield of the INL and DNL. One solution is to perform fast Monte-Carlo simulations, by generating random values for each mismatch and calculating the offset voltages in each zero crossing, using the expressions derived in this chapter. This was how the histograms shown in Fig. 2.33 were obtained.
2.7
TERMINATION OF THE AVERAGING NETWORK
The analysis of the averaged pre-amplifying stages was made considering an infinite network. In that ideal case a similar circuit behavior is found, no matter what zero crossing is being considered. Obviously, real pre-amplifier stages are not infinite. Figure 2.35 represents the pre-amplifying stage of an Nb bit flash ADC. The differential pairs located at the extremities of the input range only have neighbors in one of their sides. Moreover the load
Chapter 2: Averaging – DC Analysis and Termination
119
2Nb−2
Upper extremity differential pair
ISS
vON[2Nb−2]
2Nb−3
ISS
vON[2Nb−3]
Middle differential pair
2Nb/2−1 1
VRdown+VR
0 VRdown
vOP[0]
R0
Lower extremity differential pair
ISS
R0
vON[0]
vI
R1
vOP[1]
R1
R0
R0
ISS
vON[1]
vI
(VRdown+VRup)/2
ISS
vON[2Nb/2−1]
R1
R0
R1
R0
VDD
vOP[2Nb/2−1]
vI
R1
R1
VRup-VR
R0
vOP[2Nb−3]
R0
vI
R1
R1
VRup
R0
vOP[2Nb−2]
R0
vI
resistance “seen” by each differential pair now depends on its position in the network. These imbalances cause systematic zero crossing deviations, which degrade the linearity of the ADC.
Figure 2.35. Pre-amplifying stage of an Nb bit flash ADC using averaging (© 2004 by IEEE).
Offset Reduction Techniques in High-Speed ADCs
120
Another problem is that, at the extremities of the input range there are less non-saturated differential pairs contributing to the definition of the zero crossing locations. Thus, the random offset reduction effect is weaker. To illustrate the termination problems and compare existing solutions, we will use the pre-amplifier stage of a 7-bit ADC that is designed with the automated procedure, in section 3.5.4. Figure 2.36 shows the systematic zero crossing deviations in the 7 bit ADC where that stage is employed, when there is no termination. A maximum deviation of ±109 mV (almost ±14 LSBs, since VLSB = 7.8125 mV) occurs at the extremities of the input range. This section starts with a review of previously proposed strategies to deal with this problem. Then a new termination is presented, which guarantees that the circuit operates similarly to what would be found in an averaging network that actually extended to infinite. 120 100
Systematic deviation [mV]
80 60 40 20 0 -20 -40 -60 -80 -100 -120
0
20
40
60
80
100
120
Output Code
Figure 2.36. Systematic zero crossing deviations in a 7-bit ADC, when no termination is used.
In folding circuits the network has no boundaries – it is circular; therefore a terminating circuit is not needed. However some cautions are still required to avoid systematic deviations at the extremities of the input range. This will be discussed in section 2.7.4.
2.7.1
Existing Terminating Strategies
One way to reduce the problems described above is to add extra differential pairs with reference voltages outside the input range [104], as
Chapter 2: Averaging – DC Analysis and Termination
121
represented in Fig. 2.37(a). If a sufficient number of differential pairs is added, the systematic deviations inside the input range can be reduced to an acceptable level. The zero crossings of the differential pairs near the extremities of the enlarged averaging network have large deviations, but this is not a problem since they are outside the input range. The purpose of a termination is to approximate the behavior of the finite averaging network to what is found in the ideal, infinite one. Therefore [104] suggests that resistors with the value given by (2.4) should be added after the extra differential pairs, as Fig. 2.37(b) illustrates. This guarantees that all differential pairs “see” the same equivalent load resistance. Actually, if only this is added after the extra differential pairs, the systematic deviations of the zeros inside the input range may increase, as will be shown in section 2.7.3. A refinement of this terminating strategy consists on the cross-connection of the extremities of the averaging network [80, 104], as shown in Fig. 2.38. The network is now circular and the equivalent resistance seen to the left and to the right of every output node is given by (2.4).11 The differential pairs with lower reference voltages act as extra ones for those with larger reference voltages, and vice-versa. Although there are no boundaries in this solution, extra differential pairs must still be added, as represented in Fig. 2.38. To understand why one should note that, at its zero crossing, each differential pair must have N non-saturated neighbors in each side. This is important not only to have the same amount of offset reduction in all zero crossings inside the input range, but also to avoid systematic deviations. Let us focus our attention on the upper extremity zero crossing (vI = VRup), under the assumption that no extra differential pairs are added, i.e. that the outputs of the differential pairs in the extremities of the input range are simply cross-connected.
11
This averaging network is circular, as in a folding stage. The study of circular networks presented in Appendix C, also allows to derive the output voltages expression for this case, which is similar to (2.67): vODIFF [ j, vI ] = −B
N DP −1
∑
q =0
C q − j −1 − C N DP − q − j −1 iDIFF [q, vI ] 1 + C N DP
where iDIFF[q,vI] is the differential output current of differential pair q, and NDP is the total number of differential pairs (including the extra ones); it is assumed that differential pair 0 is the one having the lowest reference voltage. Note that this expression is different from the one derived for the ideal infinite network. In fact, this solution still suffers from systematic zero crossing deviations, which can be predicted using the expression presented above.
(a)
Extra differential pairs VREFN vI
Req Req
VREFN vI
Extra differential pairs
VRdown
VRdown
Input Range
Input Range
VRup
VRup
Extra differential pairs
Extra differential pairs
VREFP
Req Req
Offset Reduction Techniques in High-Speed ADCs
VREFP
122
(b)
Figure 2.37. Terminations [104] with: (a) extra differential pairs and (b) extra differential pairs and resistors Req at the extremities (© 2004 by IEEE).
123
VREFN vI
Extra differential pairs
VRdown
Input Range
VRup
Extra differential pairs
VREFP
Chapter 2: Averaging – DC Analysis and Termination
Figure 2.38. Termination with cross-connection of the extremities [80, 104] (© 2004 by IEEE).
Its N closer neighbors that have reference voltages immediately below VRup are non-saturated but its neighbors, that result from the
Offset Reduction Techniques in High-Speed ADCs
124
cross-connection (the ones with reference voltages near VRdown), are saturated. Thus, there is still an imbalance that causes systematic zero crossing deviations. This imbalance can be reduced by adding N extra differential pairs with zeros on the top and the bottom of the input range, before the cross-connection is made (see Fig. 2.38). Fewer extra differential pairs can be added if it is guaranteed that the σ(VOS) and the systematic deviations of the zeros in the extremities of the input range remain below acceptable values. This technique was first used in [80] on a 10-bit, 50 MS/s ADC; however, it is unclear if the authors added (enough) extra differential pairs before making the cross-connection, because the INL is not shown for the first and last 100 codes. This may indicate that there were linearity problems in the extremities of the input range, which would certainly come from termination issues. The author of [104] already alerts to the necessity of adding extra differential pairs before making the cross-connection, but does not state how many should be used: this is left to a trial-and-error process using SPICE simulations. The power dissipation and layout area increase when extra differential pairs are added. Moreover, for a certain supply voltage value, the usable input range is decreased. A different terminating strategy, represented in Fig. 2.39, was proposed in [26] to reduce the number of extra differential pairs. The basic idea is to add only one extra differential pair (the one with the reference voltage VRup + VR) and manipulate the resistances RT to have no deviation on the last zero crossing of the input range.
R1
R0
R0
RT
R0
R0
vOP ⎡⎢2Nb − 2⎤⎥ ⎣ ⎦
R1
vON ⎡⎢2Nb − 2 ⎤⎥ ⎣ ⎦
VRup
vI
RT
vI
VRup+VR ISS
2Nb − 2 Upper Extremity differential pair
ISS
Extra differential pair
Figure 2.39. Termination with one extra differential pair, proposed in [26] (example for the upper extreme of the input range).
Chapter 2: Averaging – DC Analysis and Termination
125
Assuming that the differential pairs are perfectly linear transconductors,12 [26] demonstrates that (2.87) RT = R1 − R0 . This solution can only be used if R0/R1 < 1, otherwise RT would have to be negative; this resistance ratio limit yields a rather weak averaging effect. For larger resistance ratios more differential pairs must be added in parallel, as represented in Fig. 2.40. Considering that p (perfectly linear) extra differential pairs are added, it can be shown that R R (2.88) RT = 1 (p + 1) − 0 . 2 p R1
R0
R0
RT
R0
R0
R0
R0
R0
R0
vOP ⎡⎢2Nb − 2⎤⎥ ⎣ ⎦
R1
vON ⎢⎡2N b − 2⎥⎤ ⎣ ⎦
VRup
vI
RT
vI
VRup+VR ISS
2Nb − 2
Upper Extremity differential pair
ISS
vI
vI VRup+2VR
VRup+pVR ISS
ISS
Extra differential pairs
Figure 2.40. Solution used when R0/R1 > 1 (© 2004 by IEEE).
To have a positive RT, the following condition must be satisfied: R0 p (2.89) < ( p + 1). R1 2 Thus, in this solution the number of extra differential pairs depends on the resistance ratio. For R0/R1 = 10, p = 4 extra differential pairs must be used and, when R0/R1 = 20, p = 6 are needed. Consequently, the reduction on the number of extra differential pairs may not be very significant, for “interesting” values of R0/R1. Finally, in what concerns the amount of offset reduction near the extremities of the input range, the situation is unclear. This solution is only interesting if there is a significant saving in the number of extra differential pairs, i.e. if p N. In that case there are less differential pairs defining the location of the zero crossings in the extremities of the input range, which may have a negative impact on the amount of offset reduction in those zero crossings. However, all extra differential pairs 12
In this case it is considered that the transfer function of the differential pairs is perfectly linear and does not saturate. This is, clearly, a very rough approximation.
126
Offset Reduction Techniques in High-Speed ADCs
are now connected to the one at the extremity of the input range just by RT and, thus, their influence may be stronger than in previous terminations. This issue should be evaluated in each design, using MonteCarlo simulations. As a final remark regarding this technique, note that an alternative but equivalent solution is to maintain RT = R1 and manipulate the reference voltage of the extra differential pairs [26]. This is done in [27], using a set of digitally adjustable current sources.
2.7.2
Improved Terminating Strategy
The best possible termination is the one that, for signals within the input range, guarantees that the circuit operates similarly to what would be found in an averaging network that actually extended to infinite. None of the previous solutions does it and this is the main idea behind the termination described in this section, which was proposed in [5]. One must, therefore, analyze the ideal infinite network when the input voltage remains inside the input range. Figure 2.41(a) shows the situation where the input signal is near the middle of the input range. In this case, the 2N + 1 differential pairs which have the reference voltages nearer that input value are non-saturated. All other differential pairs, including the ones with reference voltages outside the input range, are completely unbalanced. In the situation shown in Fig. 2.41(b) the input voltage is at one of the input range extremities: in this case there are, outside the input range, N non-saturated differential pairs. This leads to the conclusion that there may be, at most, N non-saturated differential pairs with reference voltages outside the input range. All the others that have reference voltages beyond these N differential pairs are always completely unbalanced. To make a finite averaging network behave similarly to the (ideal) infinite one, we must add N extra differential pairs in each side of the network, after the ones with reference voltages at the extremities of the input range. This guarantees that all differential pairs with reference voltages inside the input range are always surrounded by the same number of non-saturated neighbors. The effect of the differential pairs which, in an infinite network, would appear after these N extra ones must then be accounted – these are the differential pairs always completely unbalanced.
Chapter 2: Averaging – DC Analysis and Termination
127
Differential pairs always saturated
vI
Saturated differential pair Non-saturated differential pair
Input Range
Input Range
vI
Differential pairs always saturated (a)
(b)
Figure 2.41. Saturated and non-saturated differential pairs in an infinite averaging network (example for N = 2): (a) input voltage near the middle of the input range; (b) input voltage at one extremity of the input range.
Figure 2.42 represents the equivalent circuit of an Nb bit flash, where there are 2Nb − 1 differential pairs with zeros within the input range, and N extra differential pairs in each side. All these differential pairs may or may not be saturated, depending on the input voltage. This means that the currents flowing in their transistors depend on the input voltage and are, thus, represented by dependent current sources.
Offset Reduction Techniques in High-Speed ADCs
128
VDD R0
R0
vOP[-(N+1)]
R0
vOP[-N] R1
R1
Last extra differential pair
R0 vOP[2Nb/2-1]
vOP[0] R1
Lower extremity differential pair
iDP[2Nb/2-1]
Middle differential pair
R0
R0
vOP[2Nb-2]
vOP[2Nb-2+N+1]
Nb R1 vOP[2 -2+N]
R1
iDP[0]
iDP[-N]
0
R0
R1
iDP[2Nb-2] ISS
iDP[2Nb-2+N]
Upper extremity differential pair
Last extra differential pair
VDD R0
R0
vON[-(N+1)]
R0
R1 iDN[-N]
R1 iDN[0]
R0 vON[2Nb/2-1]
vON[0]
vON[-N] R1
ISS
R0
R1 iDN[2Nb/2-1]
R0
R0 vON[2Nb-2] Nb R1 vON[2 -2+N]
vON[2Nb-2+N+1] R1
iDN[2Nb-2] iDN[2Nb-2+N]
0
Figure 2.42. Equivalent model of a Nb bit flash ADC. Current sources model the drain currents of the transistors connected to the positive outputs (above) and to the negative outputs (below) (© 2004 by IEEE).
The differential pairs that, in an infinite averaging network, would exist to the right and to the left of the thick lines, would always be completely unbalanced; thus, they are represented by fixed current sources with values of either 0 or ISS. It is now possible to find the equivalent circuits to the right and to the left of the thick lines for these two cases: these are represented in Fig. 2.43. Using these equivalent circuits after the N extra differential pairs makes the operation of the circuit, when the input voltage is within the input range, equal to what would be found in the infinite averaging network. When all the remaining drain currents are 0, the equivalent circuit is comprised solely by the terminating resistance (RTERM). This resistance must equal the equivalent resistance seen to the right (and to the left) of each output node, in an infinite averaging network, i.e. RTERM = Req, given by (2.4). In the case where all remaining currents are ISS, a current Ieq flows through the thick line (see Fig. 2.43(b)). The terminating current source (ITERM) must, therefore, have the value that originates the same current Ieq. From Fig. 2.43(b) it can be concluded that (RTERM = Req):
Chapter 2: Averaging – DC Analysis and Termination
Ieq = ITERM
Req Req + R0 // Req
⎛ R0 // Req ⎟⎞ ⇔ ITERM = Ieq ⎜⎜⎜ + 1⎟⎟. ⎜⎝ Req ⎟⎟⎠
Infinite averaging network
R1
(2.90)
Equivalent circuits
VDD R0
129
VDD
R0
R0
R1
R0
⇔
R1 0
RTERM
R1
0
Nth extra differential pair
Nth extra differential pair (a) VDD
VDD R0 Req R1
Ieq
R0
R0 Req
R0
R1
⇔
R1 ISS
RTERM
Ieq
R1 ITERM
ISS
Nth extra differential pair
Nth extra differential pair (b)
Figure 2.43. Cases that occur after the thick lines in Fig. 2.42: (a) all remaining drain currents are 0 and (b) all remaining currents are ISS. The equivalent circuit used in each case is also represented (© 2004 by IEEE).
The infinite averaging network represented in Fig. 2.44 is now considered, to calculate Ieq. I [0] k is the current that flows through the thick line, due to the ISS current source connected to a generic node k. Calculations similar to those performed in section 3.2.2 lead to ⎛ R ⎞⎟k −1 ⎜ 0 ⎟⎟ . ⎜ (2.91) I [0] k = I SS Req + R0 // Req ⎜⎜⎝ R0 + Req ⎠⎟⎟ Comparing Figs. 2.43(b) and 2.44 leads to the conclusion that Ieq results from the contribution of all ISS current sources, R0 // Req
∞
Ieq = I [0] = ∑ I [0] k = k =1
I SS R0 R1 (R1 + 4R0 )
.
(2.92)
Offset Reduction Techniques in High-Speed ADCs
130
R0
R0 Req
Req
Req
Req
R1 0
I[0]|k
1
R0
R0 Req
R1
R1
I[1]|k
I[k-2]|k
Req Req
Req
R1 k-1
I[k-1]|k
R1 k
I[k]|k
ISS
Figure 2.44. Currents generated by an ISS current source connected to a generic node k (© 2004 by IEEE).
Combining (2.90) and (2.92) yields, finally, 2I SS R0 R (2.93) = I SS 0 . ITERM = Req R1 + R1 (R1 + 4R0 ) Figure 2.45 shows the new termination, which makes the operation of the circuit equal to what would be found if the averaging network extended to infinite. It consists on the following: 1. Add N extra differential pairs in each side of the averaging network. This guarantees that all differential pairs with reference voltages inside the input range, always have the same number of non-saturated neighbors. 2. The terminating circuits represented in Fig. 2.43 should be placed after the N extra differential pairs, where RTERM = Req given by (2.4), and ITERM is calculated with (2.93). These are the equivalent circuits of all the differential pairs which, in an infinite averaging network, would always be saturated.
Req
VREFN vI
ITERM
Req
Extra differential pairs
VRdown Input Range
VRup Extra differential pairs
VREFP
ITERM
Req Req
Chapter 2: Averaging – DC Analysis and Termination
Figure 2.45. New termination.
131
Offset Reduction Techniques in High-Speed ADCs
132
2.7.3
Comparison of the Terminating Solutions
The pre-amplifying stage that is designed for a 7-bit flash ADC in section 3.5.4, is now used to compare the different terminating solutions. The ADC has a full-scale input range of 1 V and, therefore, VLSB = 7.8125 mV. An interpolation factor of 4 is used, which makes the difference of the reference voltages of consecutive differential pairs, VR (see Fig. 2.3), equal to 31.25 mV. The differential pairs have transistors with W = 7.7 μm and L = 0.77 μm; the tail current sources have a value of ISS = 72 μA. In this case N equals 10; the resistors have the values R0 = 18206 Ω and R1 = R0/20. This pre-amplifying stage exhibits a DC gain of 4.5 and has a standard deviation of the offset voltages of about 1 mV. Figure 2.36 shows the systematic deviations when no termination is used. Figure 2.46 shows the systematic deviations on all the zero crossings of the ADC, in several cases. Curve {1} is obtained using the termination represented in Fig. 2.37(a), where N = 10 differential pairs were added in each side of the averaging network. The maximum deviation is 4.16 mV (not shown in the figure), which is more than 0.5 LSB. More extra differential pairs, which would always be completely unbalanced, must be added to lower this deviation. 3,0 {4}
Systematic deviation [mV]
2,0
1,0 {3} 0,0
{5}
-1,0 {1} -2,0 {2} -3,0 0
20
40
60
80
100
120
Output Code
Figure 2.46. Systematic zero crossing deviations in a 7-bit ADC, for all the terminations described in this book (© 2004 by IEEE).
Chapter 2: Averaging – DC Analysis and Termination
133
Curve {2} is obtained adding resistances with a value of Req = 4552 Ω (given by (2.4)), after the N = 10 extra differential pairs, as shown in Fig. 2.37(b). This actually worsens the deviations: the maximum value is now 13.1 mV. Curve {3} is obtained making the cross-connection represented in Fig. 2.38, after the ten extra differential pairs; the deviations are now much lower (the maximum value is 0.52 mV). This solution is considerably better than the previous ones, because now the differential pairs in the extremities of the input range “see” not only the N extra nonsaturated neighbors, but also a number of completely unbalanced differential pairs – the ones in the other extremity, accessible through the cross-connection. However, this solution does not make the situation equivalent to the infinite network, because after the differential pairs completely unbalanced (accessible through the cross-connection) there are, again, non-saturated differential pairs. These differential pairs may have a significant impact if R0/R1 takes larger values. The solution shown in Fig. 2.40 is now considered. In our example the resistance ratio is R0/R1 = 20; equation (2.89) indicates that at least p = 6 extra differential pairs must be used, which is not much less than the 10 necessary in the previous cases. Equation (2.88) yields RT = 152 Ω. Using this value, a maximum deviation of 15.3 mV is obtained at the extremities of the input range. RT was then altered to 1015 Ω, which makes the deviation of the zero crossings on the extremities of the input range, be almost zero – this is the curve {4}, plotted on Fig. 2.46. The maximum deviation is now 2.58 mV, which is worse than in the termination of Fig. 2.38 – curve {3}. Thus, this solution is not very effective when reasonable values of R0/R1 are used: a significant number of extra differential pairs must still be employed, and the systematic deviations are higher than in one of the previously proposed solutions. Therefore the power and area savings, and the increase on the usable input range may not be very significant after all. The value of RT which ensures no deviation at the extremity zero crossings, differs significantly from the one given by (2.88). This happens because (2.88) was derived under the assumption that the differential pairs have a perfectly linear transfer function without saturation. In fact, if the same simulation is repeated substituting the differential pairs by ideal transconductors without saturation, and using the RT value given by (2.88) – 152 Ω – there are no deviations.
134
Offset Reduction Techniques in High-Speed ADCs
When considering a linear transconductor with saturation (maintaining N = 10), RT must be adjusted to 527 Ω to have no deviations at the extremities. In this situation a result similar to curve {4} is obtained, having the maximum value of 4.9 mV. It is noteworthy that different RT values had to be used in the case of real differential pairs (RT = 1015 Ω), and of piecewise linear differential pairs (RT = 527 Ω). This indicates that RT depends of the shape of the transfer function,13 which may vary significantly with process and temperature. Moreover, if the process variations of the resistors are also accounted, the systematic deviations can change significantly between all process and temperature corners. Therefore, this technique seems better suited to low resolution ADCs, where larger systematic deviations are allowed, and smaller R0/R1 values may be used (which also eases the termination problems and, in this case, results in a small number of extra differential pairs). The curve {5} is obtained using the termination proposed in this book, shown in Fig. 2.45. Equations (2.4) and (2.93) indicate Req = 4552 Ω and ITERM = 288 μA. The maximum deviation is 80 μV, which is much lower than in all previously proposed solutions. To have such low deviations in the terminations of Figs. 2.37–2.38, more extra differential pairs must be added, which increases area and power dissipation and lowers the maximum usable input range, for a certain supply voltage value. The termination of Fig. 2.40 could never achieve the same performance. In the proposed solution there is no dependence on the shape of the transfer function of the differential pairs. There are also no problems with process and temperature variations, as long as the number of extra differential pairs corresponds to the worst case value of N; this occurs for the slow process corner, at the maximum operating temperature.
2.7.4
Folding Circuits
Section 1.5.1 discussed the necessity of having zero crossings outside the input range, to avoid systematic deviations in folding stages. These deviations are similar to those that occur in averaged pre-amplifier
13
The same saturation voltage, VSAT, was used in these two cases, thus leading to the same number of non-saturated differential pairs, 2N + 1. The only difference is the shape of the transfer functions.
Chapter 2: Averaging – DC Analysis and Termination
135
stages of flash ADCs: the differential pairs connected to the extremity reference voltages only have neighbors in one of their sides. The averaging/interpolation network used in folding stages is circular and, therefore, no special terminating circuit is required. To avoid systematic zero crossing deviations one must only guarantee that there are, at least, N differential pairs with reference voltages above and below the limits of the input range. This is a fundamental constrain that must be considered when designing the folding architecture.
Chapter 3 Averaging Technique – Transient Analysis and Automated Design 3.1
INTRODUCTION
The dynamic behavior of pre-amplifier stages using averaging is analyzed in this chapter: the output voltage expression presented in the previous chapter (2.19), is extended to s-domain, allowing the evaluation of the time-domain response. This is fundamental for the automatic design and high-level modeling of flash ADCs. To the best knowledge of the authors, there is no previously published research work covering this subject. Examples of high-level modeling of data converters can be found in [7, 50, 107, 108]. These models allow to assess the impact of the parameters of each constituting sub-block in the global performance of the converter, or even on the system where it will be used. To get, from these models, results as near the reality as possible, each sub-block of the converter must be accurately modeled, including as many non-idealities as possible. The analysis of non-idealities, like the ones presented in [25, 90, 107–109] and at this book are, thus, of great relevance. In fact, the expressions presented in this chapter model the transient behavior of averaged pre-amplifying stages accurately. This includes the effect of all mismatch sources and, therefore, completely characterizes their operation. This is a clear evolution with respect to previous approaches [25], where fitting functions had to be obtained from SPICE simulations. A curious phenomenon which occurs in averaged networks is also identified and studied in this chapter: the offset voltage, i.e., the voltage that must be applied to the input, to have zero output voltage at the end of the amplification phase, depends on its duration. This happens because the contributions of the neighbor differential pairs take time to propagate through the averaging network. The DC gain, offset voltage and settling speed are important design parameters of the pre-amplifying stage of a flash ADC. Exact expressions for these parameters are presented in the previous chapter and in the beginning of this one. The second part of this chapter proposes a design procedure which yields the dimensions of the components that P.M. Figueiredo and J.C. Vital, Offset Reduction Techniques in High-Speed Analog-to-Digital Converters, © Springer Science + Business Media B.V. 2009
137
138
Offset Reduction Techniques in High-Speed ADCs
satisfy the set of design requirements. This design procedure is implemented as a computer program and has an interface with HSPICE, from where it obtains accurate values for the differential drain current, transconductance and parasitic capacitances of a differential pair. The dimensions of the components indicated by the design tool are final, since the theoretical expressions are exact and the parameters of the differential pairs are obtained from HSPICE, and not from the expressions usually employed for hand analysis, which are less accurate. As mentioned before, this chapter addresses the dynamic behavior of averaged pre-amplifying stages. Folding stages can be addressed in the exact same way, by extending their output voltages expression (2.71), to s-domain. This chapter starts with a description of the flash ADC architecture that is going to be considered. In section 3.3 the exact and approximated expressions for the output voltage and dynamic gain of the preamplifiers are derived. Section 3.4 shows that the contributions of the differential pairs take same time to propagate through the averaging network, which leads to a time-dependent offset voltage. The automatic design procedure and several design examples are presented in section 3.5.
3.2
FLASH ADC ARCHITECTURE
A flash ADC with the structure represented in Fig. 3.1 is considered throughout this chapter. A track-and-hold (T/H) samples the input and the pre-amplifiers compare the held voltage with the reference voltages. The latched comparators examine the outputs of each pre-amplifier and generate the thermometer code, which is then transformed by the encoder into the binary output code. The output of the T/H follows the input when clk is high. When clk goes to low the sampling switch opens and the output voltage is held. The pre-amplifiers are short-circuited during the track phase of the T/H (clk at high), which means that their output voltages are zero.1 The pre-amplifiers start their amplification when the T/H enters its hold phase. Figure 3.2 presents the output voltages of pre-amplifiers –2 to 2 (see Fig. 2.3) for vI = 0. The output voltage of the differential pair 0, whose reference is equal to the input voltage, remains zero in the 1
The output voltages are not exactly zero because the reset switches do not have zero resistance.
Chapter 3: Averaging – Transient Analysis and Design
139
amplification phase. All others go towards their final value, vODIFF[k,0,t → ∞],2 but never reach it. The dashed lines represent the output voltages if the amplification phase extended indefinitely.
T/H
vI clk
clk clk R1
Encoder
R1
clk clk
Figure 3.1. Structure considered for the flash ADC.
For small VR the output voltage of differential pair −1 when t → ∞, is related to its differential input voltage by G0. This means that, for example, vODIFF [−1, 0, t → ∞] = G0 (vI +VR )
vI = 0
= G 0VR as
shown in Fig. 3.2. The output voltage for t = Ts/2 (end of amplification phase3) will be smaller than this; in fact, in flash ADCs with high sampling rate, the difference can be significant. The dynamic gain at the time instant t1, G[t1], is defined as the derivative of the output voltage at t = t1 with respect to the input voltage, calculated for vI = 0. This allows to write, for the example being considered, vODIFF [−1, 0,Ts / 2] = G [Ts / 2]VR . The importance of the gain defined in this way can be understood if one notes that, to refer the offset voltage of the latched comparators to the input, one should use the dynamic gain and not the DC gain. As G[Ts/2] < G0 the incomplete settling of the pre-amplifiers increases the contribution of the comparators to the total offset voltage. This notion of dynamic 2
The time dependence will, hereafter, be explicitly indicated.
3
For now the clock rise and fall times will be ignored.
Offset Reduction Techniques in High-Speed ADCs
140
gain has been used in [33] for integrating amplifiers. The amount of settling, α, is the ratio between the dynamic gain and the DC gain,
G [Ts / 2]
. (3.1) G0 If, for example, α = 0.85 then all output voltages reach 85% of their final value at t = Ts/2.
α=
Amplification Phase
Reset Phase G0(2VR) G[Ts/2](2VR)
vODIFF[−2,0,t]
G 0 VR G[Ts/2]VR
vODIFF[-1,0,t]
vODIFF[0,0,t] Ts/2
0
vODIFF[1,0,t]
Ts
t
G[Ts/2](−VR) G0(−VR)
vODIFF[2,0,t] G[Ts/2](−2VR) G0(−2VR)
clk
Figure 3.2. Output voltages of the pre-amplifiers, for vI = 0.
Note that this architecture, characterized by having the zero crossing at the right place during the entire amplification phase, is similar to the one proposed in [84] for folding and interpolation converters, depicted in Fig. 1.27. If a T/H does not exist, the pre-amplifiers must meet a bandwidth specification to maintain a low third order distortion. This will be further discussed in section 4.2.3, where the 7 bit 120 MHz ADC prototype is described.
Chapter 3: Averaging – Transient Analysis and Design
3.3
141
OUTPUT VOLTAGE AND GAIN
In this section the output voltage expression, derived in chapter 2, is extend to s-domain. The time-domain response can then be obtained by inverting the Laplace Transform which, as will be seen, must be done numerically. An approximation will then be presented, that avoids the usage of this numerical inversion algorithm, and provides further insight into the phenomenons of dynamic nature that occur in an averaged pre-amplifying stage.
3.3.1
Exact Expressions
As shown in Fig. 3.3, the parasitic capacitance at each output node, CL, appears in parallel with R0. Substituting R0 by Z0 = R0//(1/sCL) in (2.11) and (2.12), B and C can be re-written as ⎡ ⎤ ⎢ 1 + 2 R0 / R1 ⎥ ⎥ R1 ⎢⎢ 1 + sC L R0 ⎥ (3.2) B [s ] = − 1 ⎥ 2 ⎢⎢ R0 / R1 ⎥ ⎢ 1 + 4 1 + sC R ⎥ L 0 ⎣⎢ ⎦⎥ R0 / R1 2 1 + sC L R0 . (3.3) C [s ] = R0 / R1 R0 / R1 1+2 + 1+4 1 + sC L R0 1 + sC L R0 Comparing these expressions with (2.11) and (2.12) leads to the conclusion that, where there was the resistance ratio, R0/R1, one can now R0 / R1 . 1 + sC L R0 Substituting (3.2) and (3.3) in (2.19) allows to write the s-domain output voltage expression for the differential pair j of a pre-amplifier stage,
find
Vodiff [ j, vI , s ] = −B [s ]
∞
∑
C [s ]k − j −1 I diff [k, vI , s ],
(3.4)
k =−∞
where Idiff[k,vI,s] is the Laplace Transform of the differential current of differential pair k. Folding stages can be addressed in the exact same way, by extending their output voltages expression (2.71), to s-domain.
142
Offset Reduction Techniques in High-Speed ADCs
In what concerns the output voltages of the pre-amplifiers, opening the reset switches at t = 0 is equivalent to have a step input for the differential currents,
I diff [k, vI , s ] =
iDIFF [k, vI ]
, (3.5) s where iDIFF[k,vI] is the DC value that appears on (2.19). This leads to
Vodiff [ j, vI , s ] = −B [s ]
∞
∑
C [s ]k − j −1
iDIFF [k, vI ] s
k =−∞
.
(3.6)
VDD
R1
R0
R0
R1 vON[k,vI]
R1 vOP[k,vI]
CL MN
vI
R1
MP
kVR
ISS
Figure 3.3. MOS differential pair with load capacitance CL.
Finally, the time response can be obtained inverting the Laplace Transform,
vODIFF [ j, vI , t ] = L−1 {Vodiff [ j, vI , s ]} = ⎪⎧ B [s ]C [s ]k − j −1 ⎪⎫⎪ (3.7) iDIFF [k, vI ] L−1 ⎪⎨ ⎬. ⎪⎩⎪ ⎪⎭⎪ s k =−∞ Examining this expression leads to the conclusion that the contribution of differential pair k to the output voltage of differential pair j is ⎧ B [s ]C [s ]k − j – 1 ⎪⎫⎪ ⎪ weighted, in every time instant, by L–1 ⎪ ⎨ ⎬ (this is a time ⎪ ⎪⎭⎪ s ⎪ ⎩ dependent function). This Inverse Laplace Transform must be performed numerically, but an approximation will be presented in the next section, that avoids the usage of the numerical algorithm. Let us consider, without loss of generality, the case of j = 0 i.e. the output voltage of differential pair 0. Figure 3.4 shows the results from =−
∞
∑
Chapter 3: Averaging – Transient Analysis and Design
143
B [s ]C [s ]k –1 , normalized to the DC value, s BC k –1 , for |k| = 2, 4 8 and 16, in the cases of R0/R1 = 2 and R0/R1 = 10. This figure shows, therefore, how the differential pairs ±2, ±4, ±8 and ±16 contribute to the output voltage of differential pair 0. In this example R0 = 4 kΩ, CL = 120 fF, and R1 was varied according to the resistance ratio. The Stehfest inversion method is used [110].
the numerical inversion of
1.2 1
⎧ L ⎨ ⎪ ⎪ ⎩
⎪B [s ]C [s ] −1 ⎪ s BC k −1
k −1 ⎫ ⎪
⎪ ⎬ ⎪ ⎪ ⎭
|k|=2
0.8
|k|=8 |k|=4
0.6
|k|=16
0.4 0.2 0 0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
3
3.5
4
4.5
5
t [ns]
(a) 1.2 1 |k|=2 |k|=8
⎧B [s ]C [s ]k −1 ⎪ ⎫ ⎪ ⎪ L−1 ⎪ ⎨ ⎬ ⎪ ⎪ s ⎪ ⎪ ⎩ ⎭ BC
k −1
0.8 |k|=4 |k|=16
0.6 0.4 0.2 0 0
0.5
1
1.5
2
2.5 t [ns]
(b)
Figure 3.4. Normalized contribution of differential pairs ±2, ±4, ±8 and ±16 to the output voltage of differential pair 0, as a function of time. A numerical Laplace Transform inversion algorithm was used to obtain these results, where two cases are considered: (a) R0/R1 = 2 and (b) R0/R1 = 10.
Offset Reduction Techniques in High-Speed ADCs
144
Examining Fig. 3.4 it can be concluded that the differential pairs which are farther from differential pair 0 start to contribute to the output voltage later than those that are near; for example, in the R0/R1 = 2 case the differential pairs ±8 only start to influence the output voltage being considered after approximately 0.5 ns. This happens because the contributions of the differential pairs take time to propagate through the averaging network. For smaller R1 the propagation is faster, which explains the differences seen in Fig. 3.4 between the cases of R0/R1 = 2 and R0/R1 = 10. Note that for low R0/R1, although the contributions of the differential pairs farther from differential pair 0 take more time to “arrive”, their importance is lower than when R0/R1 is larger. The zero-crossing of differential pair 0 is considered to calculate the dynamic gain, leading to ∞ ⎧⎪ B [s ]C [s ]k −1 ⎫⎪⎪ ∂v [0, vI , t ] = − ∑ gm [k, 0] L−1 ⎪⎨ G [t ] = ODIFF ⎬. (3.8) ⎪⎩⎪ ⎪⎭⎪ ∂v I s k =−∞ vI = 0
When the quadratic drain current model of the MOS transistors is used, gm[k,0] is given by (2.30) and the dynamic gain expression becomes 2
⎧ ⎪ B [s ]C [s ]k −1 ⎫⎪⎪ (3.9) L−1 ⎪ ⎨ ⎬. 2 ⎪ ⎪ s ⎪ ⎪ ⎩ ⎭ k =−N (k γ ) 1− 2 This expression will now be evaluated using the example considered in chapter 3: the transistors have W = 32 μm and L = 1.5 μm; a tail current of 155 μA is used, which yields a transconductance of gm0 = 710 μS and an overdrive voltage of about 218 mV. Several resistance ratio values are considered by setting R0 to 4 kΩ and adjusting R1. N is varied by modifying VR: we use VR = 55 mV for N = 5, VR = 30 mV for N = 10 and VR = 15 mV for N = 20. The load capacitance (CL) has a value of 120 fF, which includes the input capacitance of the subsequent stage, the capacitance of the metal interconnections, and the drain capacitance of the differential pair. The evaluation of (3.9) is compared to HSPICE simulation results in Figs. 3.5–3.7. G [t ] = gm 0
N
∑
1 − (k γ )
Chapter 3: Averaging – Transient Analysis and Design
145
3
R0/R1=0.1 R0/R1=1 2.5
G[t]
2
R0/R1=10
1.5
1
R0/R1=100
0.5
0 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.5. Dynamic gain for several resistance ratio values, when N = 5. The dots are from HSPICE simulations and the lines are from (3.9).
3
R0/R1=0.1 R0/R1=1
2.5
R0/R1=10
G[t]
2
1.5
R0/R1=100
1
0.5
0 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.6. Dynamic gain for several resistance ratio values, when N = 10. The dots are from HSPICE simulations and the lines are from (3.9).
Offset Reduction Techniques in High-Speed ADCs
146
3
R0/R1=0.1 R0/R1=1 R0/R1=10
2.5
R0/R1=100
G[t]
2
1.5
1
0.5
0 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.7. Dynamic gain for several resistance ratio values, when N = 20. The dots are from HSPICE simulations and the lines are from (3.9).
A very good agreement is observed between the theoretical and HSPICE results. When R0/R1 = 0.1 the averaging effect is very small and, therefore, the results are practically independent of N. That situation is near the one without averaging, where there is the transient response of a first order system, with a time constant of R0CL = 0.48 ns. As observed in the previous chapter, the gain decreases when R0/R1 becomes larger, and increases when N is raised. The results of Figs. 3.5–3.7 suggest that near t = 0 the dynamic gain (and, therefore, the output voltage) has a similar evolution in all cases, independently of N and R0/R1. In fact, it can be shown that I ∂G [t ] = SS , ∂t t = 0 C L which is the result found in a single differential pair.
3.3.2
(3.10)
Approximated Expressions
As seen at the previous section, the calculation of the output voltages and the dynamic gain depend on the evaluation of ⎧⎪ B [s ]C [s ]k − j – 1 ⎪⎫⎪ L–1 ⎪⎨ ⎬ ; this function weights, for every time instant, the ⎪⎩⎪ ⎪⎭⎪ s
Chapter 3: Averaging – Transient Analysis and Design
147
contribution of the differential pair k to the output voltage of differential pair j. This evaluation can be done using a numerical Inverse Laplace Transform algorithm – all the results presented in the previous section were obtained in this way. However it would be useful to have an approximation from which one could gain intuition, while avoiding the use of numerical inversion algorithms. For the sake of simplicity, the output voltage of differential pair 0 will be considered in the following discussion. The general case is addressed at the end of this section. The analysis of Fig. 3.4 suggests that the time dependence of the contributions from the differential pairs near the differential pair 0 (low values of |k|), can be approximated by the exponential response of a first order system, which is completely characterized by one parameter: the time constant. One would, therefore, have to find the time constant value that guarantees the best possible fit between the actual and the approximated response. For larger values of |k| there is a delay until the beginning of the transient response. In this case the first order system would not be a satisfactory approximation, and a higher order system would have to be used. The order of the approximating system would increase with |k| and a time domain closed form expression could not be obtained, for every k. A simple alternative is to use the exponential response of a first order system having a time constant τ[k], delayed by td[k] as represented in Fig. 3.8. This can be written as t −td [k ] ⎞ ⎛ − ⎟⎟ ⎧ ⎫ ⎜ B [s ]C [s ]k −1 ⎪ k −1 ⎜ −1 ⎪ ⎪ ⎪ L ⎨ (3.11) ⎜⎜1 − e τ [k ] ⎟⎟ h (t − td [k ]) ⎬ B [0]C [0] ⎟ ⎪ ⎪ s ⎪ ⎪ ⎩ ⎭ ⎟⎠ ⎜⎜⎝ where h(x) is the Heaviside function and B[0] and C[0] are calculated making s → 0 in (3.2) and (3.3), which leads to B and C given by (2.11) and (2.12). For the sake of simplicity, from now on we will write B and C instead of B[0] and C[0]. The approximation given by (3.11) has the advantage of using only two simple parameters with a clear meaning, which are calculated using the method of moments. This method is commonly utilized to approximate high-order transfer functions by low-order ones, which have closed-form treatable solutions [111, 112]. First, the Laplace Transform of the approximating function (3.11), is determined,
Offset Reduction Techniques in High-Speed ADCs
148
t −t [k ] ⎞ ⎧ ⎫ ⎛ ⎪ ⎪ − d ⎟ ⎛ ⎪ ⎪ ⎜ τ [k ] ⎞⎟ τ[k ] ⎟ k −1 ⎜ k −1 −st [k ] ⎜ 1 ⎪ ⎪ ⎟ ⎟⎟. (3.12) ⎜⎜1 − e L ⎨BC ⎟⎟ h (t − td [k ])⎬ = BC e d ⎜⎜ − ⎪ ⎪ ⎟ ⎝⎜ s 1 + s τ [k ]⎠⎟ ⎪ ⎪ ⎜⎜ ⎟ ⎝ ⎠ ⎪ ⎪ ⎩ ⎭ The method of moments consists in calculating the Taylor series expansion of the exact and approximating functions, around s = 0. The s coefficients of the two series expansions (the moments), are then equated to obtain the parameters of approximating function. For (3.12) the series expansion is ⎛1 τ [k ] ⎟⎞ ⎛1 ⎞ ⎟⎟ BC k −1 ⎜ + ma 0 + ma 1s ⎟⎟⎟ (3.13) BC k −1e −std [k ] ⎜⎜⎜ − ⎜ ⎝s ⎠ ⎜⎝ s 1 + s τ [k ]⎟⎠ with the moments
ma 0 = − (td [k ] + τ [k ]) ma 1 =
(3.14)
td [k ]2 + td [k ] τ [k ] + τ [k ]2. 2
(3.15)
BC|k|−1
0
td[k]
td[k]+τ[k]
t
Figure 3.8. Function used to approximate the time dependence of the contribution of differential pair k to the output voltage of differential pair 0.
In what concerns the exact s-domain transfer function,
⎛1 ⎞ B [s ]C [s ]k −1 BC k −1 ⎜⎜ + mb 0 + mb1s ⎟⎟⎟ ⎝ ⎠ s s with, after some algebra, 1+2
mb 0 = −C L R0 ⎛ ⎜⎜ 1 ⎜⎜ C LR0 mb1 = ⎜⎜ 2 ⎜⎜ 1 + 4 R0 R ⎜⎜⎝ 1
⎞⎟2 ⎟⎟⎟ ⎛⎜ ⎟⎟ ⎜3 k ⎟⎟⎟ ⎜⎝⎜ ⎟⎟ ⎠⎟
R0 +k R1 1+ 4
⎛ ⎞ ⎜⎜1 + 2 R0 ⎟⎟ 1 + 4 R0 + 4 R0 ⎟ ⎜⎜ R1 ⎟⎠ R1 R1 ⎝
1+4
R0 R1
R0 R1 ⎞ ⎛ ⎞ ⎜⎜2 + 3 R0 ⎟⎟ + k 2 (1 + 4 R0 ) + 2⎟⎟⎟. ⎟ ⎜⎜ ⎟ ⎟ ⎟⎠ R1 ⎠ R1 ⎝
(3.16)
(3.17)
(3.18)
Chapter 3: Averaging – Transient Analysis and Design
149
Equating ma0 = mb0 and ma1 = mb1 leads finally to 1+4
τ [k ] = C L R0
⎛ R ⎞2 ⎛ R0 R ⎞ R + 8 ⎜⎜ 0 ⎟⎟⎟ + k ⎜⎜1 + 2 0 ⎟⎟⎟ 1 + 4 0 ⎜⎝ R1 ⎟⎠ ⎜⎝ R1 R1 ⎟⎠ R1 R 1+ 4 0 R1 1+2
R0 +k R1
1+4
(3.19)
R0 R1
(3.20) − τ [k ]. R0 1+ 4 R1 Figure 3.9 compares the results obtained by the numerical inversion
td [k ] = C L R0
B [s ]C [s ]k –1 (already presented in Fig. 3.4), with the ones from the s approximation derived above, and a reasonable agreement is found. This approximation indicates that the differential pair k starts to contribute to the output voltage only at t = td[k], where an exponential transient with a time constant τ[k] begins. The value of of
1+2
td [k ] + τ [k ] = C L R0
R0 +k R1
1+ 4
R0 R1
(3.21) R0 R1 gives an indication of when the contribution of that differential pair becomes significant. From (3.21) it can be seen that td[k] + τ[k] increases linearly with |k|. Figure 3.10 shows the variation of τ[k], td[k] and τ[k] + td[k] with |k|, in the same examples used to obtain Figs. 3.4 and 3.9 (the time constant in the absence of averaging, R0CL, is also shown). Both the time delay and time constant increase with |k|, which means that the contributions from the differential pairs farther from the one being considered – in this case differential pair 0 – not only takes more time to “arrive” but also have a larger associated time constant. τ[k] + td[k] can become significant, even for moderate values of |k|. This means that the contributions from differential pairs that are still somehow close to the one whose output voltage is being considered, can take a significant amount of time to propagate through the network. For larger R0/R1 (which means smaller R1, because R0 was held constant) τ[k] and td[k] increase slower with k, because the propagation 1+4
Offset Reduction Techniques in High-Speed ADCs
150
throughout network is faster. All this is consistent with what was observed in Figs. 3.4 and 3.9. 1.2 1
⎧ L ⎨ ⎪ ⎪ ⎩
⎪B [s ]C [s ] −1 ⎪ s BC k −1
k −1 ⎫ ⎪
|k|=2
0.8
|k|=8
⎪ ⎬ ⎪ ⎪ 0.6 ⎭
|k|=16
|k|=4
0.4 0.2 0 0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
3
3.5
4
4.5
5
t [ns]
(a) 1.2 1 |k|=2
⎧B [s ]C [s ]k −1 ⎪ ⎫ ⎪ ⎪ L−1 ⎪ ⎨ ⎬ ⎪ ⎪ s ⎪ ⎪ ⎩ ⎭ k −1 BC
|k|=8
0.8 |k|=4 |k|=16
0.6 0.4 0.2 0 0
0.5
1
1.5
2
2.5 t [ns]
(b)
Figure 3.9. Comparison between the numerical inversion and the approximating model: the dashed lines are the results obtained using the numerical algorithm, already shown in Fig. 3.4; the continuous lines are from the approximating model. Two cases are considered: (a) R0/R1 = 2 and (b) R0/R1 = 10.
For low |k| the time delay, td[k], can take negative values. Note that τ[k] and td[k] are, basically, two fitting parameters of the approximation that was suggested. The method of moments is employed to find the values for these two parameters, that guarantee the best fit to the
Chapter 3: Averaging – Transient Analysis and Design
151
actual transient response. However, nothing ensures that td[k] must be larger than 0. As will be seen this is not a very significant limitation in practice. 3.5
td[k]+τ[k]
3 td[k]
2.5
t [ns]
2 1.5
τ[k]
1 0.5
R0CL
0 −0.5 0
2
4
6
8
10
12
14
16
18
20
|k|
(a) 3.5 3 2.5
t [ns]
2 td[k]+τ[k] 1.5 td[k]
1
τ[k] R0CL
0.5 0 −0.5 0
2
4
6
8
10
12
14
16
18
20
|k|
(b)
Figure 3.10. Parameters that characterize the time dependence of the contribution of differential pair k to the output voltage of differential pair 0, in the approximation being considered. Two cases are presented: (a) R0/R1 = 2 and (b) R0/R1 = 10.
Offset Reduction Techniques in High-Speed ADCs
152
Using the approximation described, the dynamic gain given by (3.8) can be re-written as t −td [k ] ⎞ ⎛ ∞ − ⎟⎟ ⎜⎜ k −1 (3.22) G [t ] −B ∑ C gm [k, 0]⎜⎜1 − e τ [k ] ⎟⎟ h (t − td [k ]). ⎟⎟ ⎜⎝⎜ k =−∞ ⎠⎟ When the quadratic drain current model of the MOS transistors is used, the transconductance of differential pair k for zero input voltage, gm[k,0], is given by (2.30), and (3.22) becomes t −td [k ] ⎞ ⎛ − ⎟⎟ ⎜⎜ G [t ] gm 0B ∑ C ⎜⎜1 − e τ [k ] ⎟⎟ h (t − td [k ]). (3.23) ⎟⎟ 2 k =−N (k γ ) ⎜⎝⎜ ⎟⎠ 1− 2 Figures 3.11–3.13 shows the results from the evaluation of this approximated expression, for the example considered in the previous sub-section. HSPICE simulation results are also indicated and a good agreement is found. N
k −1
2
1 − (k γ )
3
R0/R1=0.1 R0/R1=1 2.5
G[t]
2
R0/R1=10
1.5
1
R0/R1=100
0.5
0 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.11. Dynamic gain for several resistance ratio values, when N = 5. The dots are from HSPICE simulations and the lines are from the approximated expression (3.23).
Chapter 3: Averaging – Transient Analysis and Design
3
153
R0/R1=0.1 R0/R1=1
2.5
R0/R1=10
G[t]
2
1.5
R0/R1=100
1
0.5
0 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.12. Dynamic gain for several resistance ratio values, when N = 10. The dots are from HSPICE simulations and the lines are from the approximated expression (3.23). 3
R0/R1=0.1 R0/R1=1 R0/R1=10
2.5
R0/R1=100
G[t]
2
1.5
1
0.5
0 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.13. Dynamic gain for several resistance ratio values, when N = 20. The dots are from HSPICE simulations and the lines are from the approximated expression (3.23).
Offset Reduction Techniques in High-Speed ADCs
154
Comparing Figs. 3.11–3.13 with Figs. 3.5–3.7 leads to the conclusion that the approximated gain expression yields values close those obtained with the numerical inversion of the Laplace Transform. The largest differences occur near t = 0, where the results obtained with (3.23) do not start from 0 in some of the R0/R1 cases considered. This comes from the fact that one may have td[k] < 0 for low values of |k|. In all the cases shown in Figs. 3.11–3.13 this only causes significant differences for t < 50 ps, and it is not a limitation in practice. Throughout this section we have been considering the output voltage of differential pair 0, which depended from the evaluation of ⎧ ⎪ B [s ]C [s ]k − j – 1 ⎫ ⎪ ⎪ L–1 ⎪ ⎨ ⎬. This was also sufficient to obtain the dynamic ⎪ ⎪ s ⎪ ⎪ ⎩ ⎭ gain. However, to calculate other differential output voltages it is nec⎧ B [s ]C [s ]k − j – 1 ⎪ ⎫ ⎪ ⎪ essary to evaluate L–1 ⎪ ⎨ ⎬. The approximation given by ⎪ ⎪ s ⎪ ⎪ ⎩ ⎭ (3.11) can be re-written as t – t [k – j ] ⎞ ⎛ ⎧⎪ B [s ]C [s ]k – j –1 ⎫⎪⎪ – d ⎟⎟ –1 ⎪ k – j –1 ⎜ ⎜ L ⎨ ⎬ BC ⎜⎜1 – e τ [k – j ] ⎟⎟ h (t – td [k – j ]) (3.24) ⎪⎩ ⎪⎭⎪ s ⎟⎠⎟ ⎜⎝ ⎪ which, when substituted in (3.7), leads to output voltage of differential pair j, vODIFF [ j, vI , t ] −B
t −t [k − j ] ⎞ ⎛ − d ⎟ ⎜⎜ k − j −1 τ [k − j ] ⎟ ⎜ C i k , v 1 e − [ ] ⎟⎟⎟ h (t − td [k − j ]). (3.25) ∑ DIFF I ⎜ ⎜⎜ ⎟ k =−∞ ⎝ ⎠⎟ ∞
This is the expression that must be used in high-level models of flash ADCs using averaging. The values of iDIFF[k,vI] should include the contributions from all mismatch sources, according to (2.40). Similar calculations can be performed for folding circuits, by extending (2.71) to s-domain.
3.4
EFFECT OF MISMATCHES
The offset voltage is the deviation that the input signal must suffer, in order to have zero output voltage in the differential pair whose zero crossing is being considered. When averaging is not used, the offset voltages are caused by the mismatches between each pair of elements on every differential pair. Figure 3.14 represents the output voltage of differential pair 0, which has the offset voltage VOS[0], considering that
Chapter 3: Averaging – Transient Analysis and Design
155
no averaging is employed. Two situations are shown: vI = 0 and vI = VOS[0]. Amplification Phase
Reset Phase
vODIFF[0,0,t] with vI = VOS[0] Ts/2
0
vODIFF[0,0,t] with vI = 0
Ts
t
G[Ts/2](−VOS[0]) G0(−VOS[0])
clk
Figure 3.14. Output voltage of differential pair 0, which has the offset voltage VOS[0], with vI = 0 and vI = VOS[0] (situation without averaging).
When vI = 0 the output voltage will obviously differ from zero, while when vI = VOS[0] it remains 0 during the whole amplification phase. As will be shown, when averaging is used and the offset voltage found in DC conditions is applied to the input, the output voltage does not remain 0. This phenomenon will be illustrated with HSPICE simulations in the next sub-section. The concept of offset voltage is then extended, in order to describe this situation: it becomes a time dependent parameter, that will be quantified.
3.4.1
Simulation Examples
It was shown that the differential pairs farther from differential pair 0 contribute to its output voltage later than those that are near. To understand the implications of this phenomenon, the pre-amplifier stage already considered in the previous examples of this chapter (W = 32 μm, L = 1.5 μm, ISS = 155 μA, R0 = 4 kΩ and R1 = R0/2) will be simulated in several conditions. The difference between consecutive reference voltages is VR = 15 mV which, noting that VOVD = 0.218 V, leads to γ = 0.0487 and N = 20; the total load capacitance is, again, 120 fF. Figure 3.15 shows the output voltage of differential pair 0 in the amplification phase, when there are no mismatches: Fig. 3.15(a) displays the complete transient and Fig. 3.15(b) shows the details of the
Offset Reduction Techniques in High-Speed ADCs
156
first 0.75 ns. As expected, the output voltage remains 0 during the whole amplification phase.
800
600
600
vODIFF[0,0,t] [μ V]
1000
800 vODIFF[0,0,t] [μ V]
1000
400 200 0 -200
400 200 0 -200 -400
-400 -600
0
0.5
1
1.5 t [ns]
2
2.5
-600
3
0
0.5
0.25
0.75
t [ns]
(a)
(b)
Figure 3.15. Output voltage of differential pair 0 for vI = 0, when there are no mismatches: (a) complete transient; (b) first 0.75 ns.
1000
1000
800
800
600
600 vODIFF[0,0,t] [μ V]
vODIFF[0,0,t] [μ V]
In the case shown in Fig. 3.16 there is a 6 mV mismatch on the threshold voltages of the transistors of differential pair 3. Figure 3.16(b) shows that the output voltage remains zero during the first 0.15 ns, and then starts increasing: this is the time that it takes for the contribution of the third differential pair to reach the output of differential pair 0. As time passes the output voltage approaches the final value, 0.724 mV.
400 200 0 -200
200 0 -200 -400
-400 -600
400
0
0.5
1
1.5 t [ns] (a)
2
2.5
3
-600
0
0.25
0.5
0.75
t [ns] (b)
Figure 3.16. Output voltage of differential pair 0 for vI = 0, when the third differential pair has a Vt mismatch of 6 mV: (a) complete transient; (b) first 0.75 ns.
Substituting (2.30) and (2.56) in (2.42), allows to calculate the DC offset voltage in these conditions,
Chapter 3: Averaging – Transient Analysis and Design
157
N
∑ C k −1 fΔV [k, 0] ΔVt [k ] t
VOS [ 0 ]ΔVt = − k =−N
=−
N
∑C
C 3−1 fΔVt [ 3, 0 ] ΔVt [3]
gm [k, 0 ]
k =−N
0.53−1
N
∑C
k −1
gm [k, 0 ]
k =−N
1 − (3 × 0.0487 )2 2
6 × 10−3
(3 × 0.0487 ) 2 − 1 (0.0487k )2 k −1
1− =−
20
∑
0.5
=
k −1
k =−20
1−
(3.26)
= −248 μV.
(0.0487k )2
1000
1000
800
800
600
600
vODIFF[0,-248 μ V,t] [μ V]
vODIFF[0,-248 μ V,t] [μ V]
2 This is the input voltage used to obtain the results shown in Fig. 3.17. The output voltage starts immediately going to negative values due to the negative input voltage, but is then counterbalanced by the contribution of the Vt mismatch introduced on the third differential pair. As the time passes the output voltage approaches zero, which is expected because the input signal equals the offset voltage calculated in DC conditions.
400 200 0 -200
200 0 -200 -400
-400 -600
400
0
0.5
1
1.5 t [ns] (a)
2
2.5
3
-600
0
0.25
0.5
0.75
t [ns] (b)
Figure 3.17. Output voltage of differential pair 0 for vI = –248 μV, when the third differential pair has a Vt mismatch of 6 mV: (a) complete transient; (b) first 0.75 ns.
Note that, in this case, the output voltage is zero only when t > 2.25 ns. If the amplification phase of the ADC ends before 2.25 ns, the output voltage is different from zero. For example if the duration of the amplification phase is 0.75 ns, the output voltage is –130 μV. There must be an input voltage value that makes the output be zero at t = 0.75 ns: that is the offset voltage of the zero-crossing of differential pair 0, for t = 0.75 ns. If any other amplification phase duration is considered, a different input voltage must be applied to have zero output voltage at its end: the offset voltage varies with time.
Offset Reduction Techniques in High-Speed ADCs
158
1000
1000
800
800
600
600
vODIFF[0,-190 μ V,t] [μ V]
vODIFF[0,-190 μ V,t] [μ V]
The case shown in Fig. 3.18 is similar to the one in Fig. 3.17 except that now an input voltage of –190 μV is used. At the beginning of the amplification phase the output goes again to negative values, due to the negative input voltage. The contribution of the mismatch on the third differential pair will then push the output voltage to positive values. Figure 3.18(b) shows that the output voltage is zero at t = 0.75 ns, which means that the offset voltage for t = 0.75 ns is –190 μV.
400 200 0 -200
400 200 0 -200
-400
-400
-600
-600
0
0.5
1
1.5 t [ns] (a)
2
2.5
3
0
0.25
0.5
0.75
t [ns] (b)
Figure 3.18. Output voltage of differential pair 0 for vI = –190 μV, when the third differential pair has a Vt mismatch of 6 mV: (a) complete transient; (b) first 0.75 ns.
The last case we consider is represented in Fig. 3.19: the input voltage is zero, the Vt mismatch of 6 mV on differential pair 3 was maintained, but now a –40 mV Vt mismatch is introduced on the fifth differential pair.4 Figure 3.19(b) shows that in the beginning of the amplification phase, the output voltage is similar to the one found in Fig. 3.16(b): until 0.15 ns it remains zero and then starts to rise due to the influence of the mismatch on differential pair 3. But, as time passes, the contribution from the mismatch on the differential pair 5 also becomes important, decreasing the output voltage and, finally, making it negative (note that the mismatch on the third differential pair is positive while the one at the fifth is negative and much larger). In this case the output is zero for t < 0.15 ns and at t = 0.825 ns, which means that the offset voltage at those time instants is zero (that is the input voltage being used). Note that the latched comparator connected to the output of differential pair 0 would decide high when 0.15 ns < t < 0.825 ns and low for t > 0.825 ns.
4
Such large Vt mismatch is highly improbable, given the area of the transistors in the differential pair. This is just an academic example used to illustrate the circuit behavior.
1000
1000
800
800
600
600
400
vODIFF[0,0,t] [μ V]
vODIFF[0,0,t] [μ V]
Chapter 3: Averaging – Transient Analysis and Design
200 0 -200
400 200 0 -200
-400 -600 0
159
-400 0.5
1
1.5
2
2.5
3
-600 0
0.25
0.5
t [ns]
t [ns]
(a)
(b)
0.75
Figure 3.19. Output voltage of differential pair 0 for vI = 0, when the third differential pair has a Vt mismatch of 6 mV and the fifth has a mismatch of –40 mV: (a) complete transient; (b) first 0.75 ns.
Figure 3.20 shows the variation of the offset voltage with time, when there is only a 6 mV Vt mismatch in the third differential pair, and when there is also a –40 mV Vt mismatch in the fifth differential pair. These results were obtained with the expression that yields the time dependence of the offset voltage (3.27), which is derived in the next section. The results shown in Fig. 3.20 confirm what was previously observed:
When there is only a 6 mV Vt mismatch in the third differential pair, the offset voltage varies between 0 (because differential pair 0 has no mismatches) and the value given by (3.26), –248 μV. For t = 0.75 ns the offset voltage is –190 μV, confirming the results shown in Fig. 3.18. When the third differential pair has a Vt mismatch of 6 mV, and the fifth has a mismatch of –40 mV, the DC offset voltage is 151 μV. This figure also confirms that the offset voltage is zero for t < 0.15 ns and for t = 0.825 ns. For t < 0.25 ns the influence of the mismatch in the fifth differential pair is still not significant, and the offset voltage is similar in the two cases considered.
Offset Reduction Techniques in High-Speed ADCs
160
300
VOS[0,t] [μ V]
200
ΔVt[3] = 6 mV and ΔVt[5] = −40 mV
100
0
-100
-200
ΔVt[3] = 6 mV
-300 0
0.5
1
1.5
2
2.5
3
t [ns]
Figure 3.20. Variation of the offset voltage with time, for the examples previously considered.
From these examples it was concluded that the offset voltage is a time dependent parameter. One consequence of this fact is that the INL (and DNL) of the ADC will vary if the duration of the amplification phase is modified, i.e. if the sampling frequency is altered. There are, of course, other factors that make the INL and DNL of a converter change with the sampling frequency, some having a more relevant effect.
3.4.2
Time Dependence of the Offset Voltage
The averaging technique is used to reduce the standard deviation of the offset voltage. This reduction comes from the fact that the offset voltages are determined by the mismatches in several differential pairs and not in a single one; more differential pairs contributing (larger N), lowers σ(VOS). The neighbor differential pairs will, as time passes, gradually affect the output voltage of the differential pair being considered (the contributions of the ones nearer are the first to “arrive”). Thus, in the beginning of the amplification phase, the offset voltage is determined by only a few differential pairs: σ(VOS) is, effectively, larger than the value found in DC conditions. Sufficient time must pass until the contributions of all the relevant differential pairs arrive. Therefore, the standard deviation of the offset voltage is also time dependent.
Chapter 3: Averaging – Transient Analysis and Design
161
The (time dependent) offset voltage is calculated dividing the output voltage by the (dynamic) gain: equations (3.7) and (3.8) are substituted in (2.39), having (2.40) in consideration, which yields ∞ ⎪⎧ B [s ]C [s ]k −1 ⎪⎫⎪ ⎬ ∑ fΔψ [k, 0] Δψ [k ] L−1 ⎪⎨⎪ ⎪⎭⎪ s ⎪ ⎩ k =−∞ . (3.27) VOS [0, t ]Δψ = − ∞ ⎧ B [s ]C [s ]k −1 ⎪⎫⎪ −1 ⎪ ⎪ ⎬ ∑ gm [k, 0] L ⎨⎪ s ⎪ ⎩ ⎭⎪⎪ k =−∞ The results shown in Fig. 3.20 were obtained evaluating this expression. Although the evaluation of (3.27) requires a numerical Inverse Laplace Transform, it is possible to obtain the initial (t → 0+) and final (t → ∞) values of the offset voltage. The final value can be calculated by applying the Final Value Theorem [113], ∞
∑
(
fΔψ [k, 0] Δψ [k ] lim B [s ]C [s ]k −1 s →0
lim ⎡VOS [0, t ]Δψ ⎤⎥ = − k =−∞ ∞ ⎦ t →∞ ⎢⎣
∑
gm [k, 0]
k =−∞
∞
∑
(
lim B [s ]C [s ]k −1 s →0
)
)
=
C k −1 fΔψ [k, 0] Δψ [k ]
= − k =−∞ ∞
(3.28)
∑
C k −1gm [k, 0]
k =−∞
which is, with no surprise, the result obtained in DC conditions (2.42). The case shown in Fig. 3.17 illustrates this fact: when the offset voltage found in DC conditions is applied to the input, the output voltage goes towards zero as time passes. The Initial Value Theorem [113] is applied to obtain the initial value of the offset voltage, ∞
∑
(
fΔψ [k, 0] Δψ [k ] lim B [s ]C [s ]k −1
lim ⎡VOS [0, t ]Δψ ⎤⎥ = − k =−∞ ∞ ⎦ t → 0+ ⎢⎣
∑
k =−∞
s →∞
(
gm [k, 0] lim B [s ]C s →∞
[s ]k −1
)
)
. (3.29)
As lim B [s ]C [s ]k –1 = 0 for all k, there is a 0/0 indetermination. s →∞
L’Hopital rule may be applied, differentiating the numerator and denominator separately, with respect to t. As the differentiation in time corresponds to a multiplication by s in s-domain, this results in
162
Offset Reduction Techniques in High-Speed ADCs ∞
∑
lim ⎡VOS [0, t ]Δψ ⎤⎥ = − k =−∞ ∞ ⎦ t → 0+ ⎢⎣
∑
k =−∞
Since
(
fΔψ [k, 0] Δψ [k ] lim sB [s ]C [s ]k −1 s →∞
(
gm [k, 0] lim
s →∞
sB [s ]C [s ]k −1
)
)
. (3.30)
⎧ ⎪1/ C L if k = 0 (3.31) lim sB [s ]C [s ]k −1 = ⎪ ⎨ ⎪ s →∞ 0 if k ≠ 0 ⎪ ⎪ ⎩ (3.30) is simplified to fΔψ [k, 0] Δψ [0] fΔψ [k, 0] CL (3.32) =− Δψ [0]. lim+ ⎡⎢VOS [0, t ]Δψ ⎤⎥ = − ⎦ gm [k, 0] t →0 ⎣ gm [k, 0] CL The offset voltage of differential pair 0, when t → 0+, is only determined by the mismatches in its own components (transistors and load resistors). This is the situation found in the absence of averaging; in fact (3.32) corresponds to the offset voltage when averaging is not used. This agrees with what was observed in Figs. 3.16 and 3.19, where there is a zero input voltage, and no mismatches in differential pair 0. The output voltage remains zero when t < 0.15 ns because the contributions of the mismatches of the other differential pairs have not arrived yet. The variance of the offset voltage is calculated using (3.27): 2 ⎛ −1 ⎧ ⎪ B [s ]C [s ]k −1 ⎫⎪⎪⎟⎞ 2 ⎜⎜L ⎪ ⎟ , 0 f k [ ] ⎬⎟ ∑ Δψ ⎜⎜⎝ ⎨⎪ ⎪⎭⎪⎟⎠ 2 s ⎪ ⎩ 2 k =−∞ σ (VOS [t ])Δψ = σ (Δψ ) . (3.33) 2 ⎡ ∞ ⎤ − k 1 ⎧ ⎫ [ ] [ ] ⎪B s C s ⎪⎪⎬⎥ ⎢ ∑ gm [k, 0] L−1 ⎪ ⎨ ⎢ ⎪ ⎪⎭⎪⎥⎥ s ⎢⎣k =−∞ ⎪ ⎩ ⎦ The observations made above about the time dependence of the offset voltage, lead to the conclusion that the σ2(VOS) also varies with time, between the value found when averaging is not used (no contribution from the neighbor differential pairs), and the value given by (2.43), where all differential pairs fully contribute. The pre-amplifier stage that was used as example in section 3.3.1 to obtain Figs. 3.5–3.7, will now be considered. For the case of Vt mismatches and using the quadratic model for the drain current of MOS transistors, equations (2.30) and (2.56) are substituted in (3.33), yielding ∞
Chapter 3: Averaging – Transient Analysis and Design
σ 2 (VOS [t ])ΔV
t
⎛ ⎜⎜ N ⎜ ⎜ ∑ ⎜⎜⎜⎜ k =−N ⎜ ⎜⎜ ⎝⎜ = ⎡ ⎢ ⎢ N ⎢ ⎢ ∑ ⎢k =−N ⎢ ⎣⎢
163
2 ⎟⎟⎞ 2 ⎧ B [s ]C [s ]k −1 ⎪⎪⎫⎟⎟⎟ 1 − (k γ ) −1 ⎪ ⎪ L ⎨ ⎬⎟⎟⎟ 2 ⎪ ⎪⎭⎪⎟ s ⎪ ⎩ (k γ ) ⎟⎟ 1− ⎠⎟⎟ 2 2 σ (ΔVt ). (3.34) ⎤2 ⎥ 2 ⎥ k −1 ⎪ ⎧ ⎫ [ ] [ ] 1 − (k γ ) ⎪ B s C s ⎪⎬⎥ L−1 ⎪⎨ ⎪⎩⎪ ⎪⎭⎪⎥⎥ s (k γ )2 1− ⎥ 2 ⎦⎥
The results from the evaluation of (3.34) are shown in Figs. 3.21– 3.23. The same figures also exhibit the results from HSPICE MonteCarlo simulations with 5000 runs, where the following was made: 1. A zero input voltage was applied and, in each run, the output voltage of differential pair 0 was measured in a number of time instants. 2. At the end of the simulation and for each time instant considered, for example t1, the standard deviation of the output voltage, σ(vODIFF[0,0,t1]), was calculated. 3. The standard deviation of the offset voltage can now be obtained dividing σ(vODIFF[0,0,t1]) by the dynamic gain, G[t1], which was measured in the simulations performed in section 3.3.1 and is shown in Figs. 3.5–3.7.
This process is made for all time instants indicated with dots in Figs. 3.21–3.23.
Offset Reduction Techniques in High-Speed ADCs
164
1200
R0/R1=0.1
σ(VOS[t]) [μV]
1000
800
R0/R1=1
600
R0/R1=10
400
200 0.0
R0/R1=100
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.21. Standard deviation for several resistance ratio values, when N = 5. The dots are from HSPICE simulations and the lines are from (3.34).
1200
R0/R1=0.1
σ(VOS[t]) [μV]
1000
800
R0/R1=1
600
400
R0/R1=10 R0/R1=100
200 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.22. Standard deviation for several resistance ratio values, when N = 10. The dots are from HSPICE simulations and the lines are from (3.34).
Chapter 3: Averaging – Transient Analysis and Design
165
1200
R0/R1=0.1
σ(VOS[t]) [μV]
1000
800
R0/R1=1
600
400
R0/R1=10 200 0.0
R0/R1=100 0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.23. Standard deviation for several resistance ratio values, when N = 20. The dots are from HSPICE simulations and the lines are from (3.34).
There is a good agreement between the theoretical and HSPICE results. The small differences are due to the use of the quadratic model for the drain current of the MOS transistors. As expected, the standard deviation of the offset voltage when t → 0+ is, in all the cases, the one found in the absence of averaging, AVt (3.35) σ (VOS )ΔV = σ 2 (ΔVt ) = = 1.172 mV. t WL As time passes σ(VOS) approaches the value found in DC conditions. The modifications in N affect the DC value of σ(VOS). When the resistance ratio increases (which is achieved by maintaining R0 = 4 kΩ and modifying R1), it is observed that:
The difference between the initial (t → 0+) and final (t → ∞) values of σ(VOS) increases. This was expected since a larger R0/R1 corresponds to a stronger averaging effect. The final value is approached quicker: when R0/R1 = 0.1 the final value is reached in about 2 ns, while when R0/R1 = 100 the final value is reached almost immediately. This happens because, as R1 becomes smaller, the propagation of the contri-
166
Offset Reduction Techniques in High-Speed ADCs butions of the differential pairs throughout the averaging network is faster.
The variation of σ(VOS) with time has, to the best knowledge of the authors, always been ignored in the design of flash ADCs. Examining Figs. 3.21–3.23 leads to the conclusion that it is not problematic in the following two situations: 1. When R0/R1 is very large – in this case the propagation of the contributions of the differential pairs is very fast, and the final σ(VOS) value is reached quickly. In this situation there could only be problems in very high-speed flash ADCs. 2. When R0/R1 is very small – in this case the averaging effect is weak and the difference between the initial and final values of σ(VOS) is small. Thus, ignoring the time dependence of σ(VOS) leads to negligible errors. In practice this is not an interesting case because the purpose of using averaging is obtaining a significant offset reduction.
Consequently it is on intermediate values of R0/R1 that this phenomenon may cause a relevant effect. Let us take the results for N = 20, shown in Fig. 3.23, and consider that the amplification phase ends at 0.5 ns, which corresponds to fs = 1 GHz if the clock rise/fall times are ignored. The σ(VOS) at 0.5 ns for the R0/R1 = 1 case is 19% larger than the DC value and when R0/R1 = 10 it is 16% larger. For the two extreme cases, R0/R1 = 0.1 and R0/R1 = 100, the differences are smaller (9% and 6%). Finally, comparing Figs. 3.21–3.23 with Figs. 3.5–3.7 allows to conclude that σ(VOS) approaches its DC value faster than the dynamic gain does. Thus, if the output voltages are allowed to approach the final values during the amplification phase (α near 1), then σ(VOS) will surely be close to its DC value. This has a cost on power dissipation. The variance of the offset voltage can also be re-written using the approximation proposed in section 3.3.2. Using (3.11) in (3.33) leads to
Chapter 3: Averaging – Transient Analysis and Design
167
2 t −t [k ] ⎞ ⎛ − d ⎟ ⎜ ⎟ ∑ C 2 k −2 fΔ2ψ [k, 0]⎜⎜⎜⎜1 − e τ[k ] ⎟⎟⎟⎟ h (t − td [k ]) k =−∞ ⎜⎝ ⎠⎟ σ 2 (Δψ ) . (3.36) 2 t t k − ⎡ ∞ ⎤ [ ] ⎛ ⎞ − d ⎟ ⎜ ⎢ ⎥ ⎢ ∑ C k −1gm [k, 0 ]⎜⎜⎜1 − e τ[k ] ⎟⎟⎟h (t − td [k ])⎥ ⎟ ⎢k =−∞ ⎥ ⎜⎜ ⎟⎟ ⎢⎣ ⎥⎦ ⎝ ⎠ ∞
σ 2 (VOS [t ])Δψ
The particularization of this expression for the Vt mismatch yields N
∑
k =−N
σ (VOS [t ])ΔV 2
t
⎤2 t −td [k ] ⎞⎥ ⎛ − ⎟⎟⎥ ⎜⎜ ⎜⎜1 − e τ[k ] ⎟⎟⎥⎥ h (t − td [k ]) ⎟⎟ ⎜ ⎟⎠⎟⎥ ⎜⎜⎝ ⎥ ⎥⎦ σ 2 (ΔVt ) . (3.37) ⎤2 ⎥ t −t [k ] ⎞ 2 ⎛ ⎥ − d ⎟ 1 − (k γ ) ⎜⎜ τ [k ] ⎟ ⎥ ⎟ ⎜⎜1 − e − h t t k [ ] ⎟ ( ) d ⎥ ⎟ 2 ⎥ ⎟⎠⎟⎟ (k γ ) ⎜⎜⎝⎜ ⎥ 1− 2 ⎦⎥
⎡ ⎢ 2 ⎢ ⎢C 2 k −2 1 − (k γ ) ⎢ 2 ⎢ (k γ ) ⎢ 1− ⎢⎣ 2
⎡ ⎢ ⎢ N k −1 ⎢ ⎢ ∑ C ⎢k =−N ⎢ ⎣⎢
Figures 3.24–3.26 show the results from the evaluation of (3.37) for the example being considered. 1200
R0/R1=0.1
σ(VOS[t]) [μV]
1000
800
R0/R1=1
600
R0/R1=10 R0/R1=100
400
200 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.24. Standard deviation for several resistance ratio values, when N = 5. The dots are from HSPICE simulations and the lines are from the approximated expression (3.37).
Offset Reduction Techniques in High-Speed ADCs
168
1200
R0/R1=0.1
σ(VOS[t]) [μV]
1000
800
R0/R1=1
600
400
R0/R1=10 R0/R1=100
200 0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.25. Standard deviation for several resistance ratio values, when N = 10. The dots are from HSPICE simulations and the lines are from the approximated expression (3.37). 1200
R0/R1=0.1
σ(VOS[t]) [μV]
1000
800
R0/R1=1
600
400
R0/R1=10 200 0.0
R0/R1=100 0.5
1.0
1.5
2.0
2.5
3.0
3.5
t [ns]
Figure 3.26. Standard deviation for several resistance ratio values, when N = 20. The dots are from HSPICE simulations and the lines are from the approximated expression (3.37).
Chapter 3: Averaging – Transient Analysis and Design
169
A good agreement with the HSPICE simulation results is found, except near t = 0, where two situations can be distinguished:
For low R0/R1 the values given by (3.37) remain, for some time, constant and equal to 1.172 mV. This happens because, in the approximation proposed in section 3.3.2, for t < td[1] (in this case td[1] > 0) there is only the contribution of differential pair 0. For example, when R0/R1 = 0.1 we have td[1] = 0.233 ns. For large R0/R1, the values given by (3.37) when t → 0+ are smaller than 1.172 mV. To understand why let us take the example of R0/R1 = 100, where td[k] < 0 for 0 ≤ k < 7. Under this approximation, at t = 0 the output voltage is already influenced by differential pairs 0–6. The initial value indicated is, therefore, smaller than the real one.
These issues only cause significant errors for very small t and, in practice, are not a limitation to the utilization of (3.36). As a final remark note that, depending on the layout, there may be parasitic capacitances between the outputs of consecutive pre-amplifiers/folding circuits. This happens in the 10-bit 100 MHz ADC described in the next chapter, and a brief theoretical discussion is given on the footnote 11 of that chapter. Interestingly, there is a situation where the offset voltage becomes time independent.
3.5
DESIGN OF AVERAGED PRE-AMPLIFIER STAGES IN FLASH ADCS
The results derived in this chapter and in chapter 2 will now be utilized to create a design procedure that, from the a set of specifications, yields the dimensions of the components. The flash ADC to be designed has the structure represented in Fig. 3.27. It differs from Fig. 3.1 in that the averaging resistors (R1) have been sub-divided in IF smaller resistors to implement resistive interpolation. The quantization step of the ADC, VLSB, and difference between the reference voltage of consecutive differential pairs, VR (see Fig. 2.3), are related by the interpolation factor, VR = IFVLSB. (3.38)
Offset Reduction Techniques in High-Speed ADCs
170
In what concerns the study of the averaging technique it is indifferent if R1 is sub-divided or not. The design flow considers resistive interpolation because of its widespread use.
T/H
vI clk
clk R1/IF
clk
IF resistors clk R1/IF
Encoder
R1/IF
R1/IF clk clk
Figure 3.27. Structure of the flash ADC to be designed (© 2004 by IEEE).
The relevant architecture parameters are:
VFS – Full-scale input range
Nb – Resolution of the ADC
fs – Sampling frequency
IF – Interpolation factor
Note that VLSB is obtained from VFS and Nb. Another parameter important to the design of the pre-amplifier stage is the input capacitance of the subsequent circuit, usually a latched comparator. In the pre-amplifier stage there are five component sizes to be determined: W, L, ISS, R0 and R1. There must, therefore, be an equal number of specifications; the most fundamental design parameters are
G0 – DC gain
σ(INL) – Standard deviation of the INL. Knowing VLSB this leads, according to (2.38), to a certain σ(VOS)
α – Amount of settling – this was defined in section 3.2
Chapter 3: Averaging – Transient Analysis and Design
171
The expressions for all these parameter have been derived. It is assumed that the INL is limiting the linearity, which is the usual case. Since there are five component dimensions to be obtained, and only three design parameters have been specified, two more can still be chosen; a natural choice is to indicate values for N and for the resistance ratio, R0/R1. This choice is not unique: for example, when the supply voltage is low one may have to limit the ISSR0 product to a certain value, to avoid letting the transistors in some differential pairs entering into the triode region. In this case ISSR0 can be specified instead of, for example, the resistance ratio (this is discussed at section 3.5.10). The design procedure presented in this section is implemented as a computer program and has an interface with HSPICE. This allows to obtain accurate values for the differential drain current, transconductance and parasitic capacitances of a differential pair, avoiding the use of the inaccurate expressions employed for hand analysis. The dimensions of the components obtained in this way are final, needing no further trial-and-error process, since the theoretical expressions are exact and the parameters of the differential pairs are obtained directly from HSPICE. Only the mismatches in the transistors of the differential pair are considered – these are the dominant contributions to the offset voltage. Yet, when designing a flash ADC a part of the total offset budget should be reserved to the mismatches in the resistors and current sources. The area of those components is determined after knowing the W, L, ISS, R0 and R1 values indicated by the design tool. The time dependence of the offset voltage described in the previous section will be ignored. This dependence does not cause a relevant effect if α is sufficiently high and for some ranges of R0/R1. It is therefore possible to either specify a high α, or to verify if the solution indicated by the design tool suffers significantly from that effect (this can be done using the expressions derived in the previous section). Section 3.5.1 introduces the interface with HSPICE. Section 3.5.2 discusses some useful properties of differential pairs with the same VSAT. The design procedure is presented in section 3.5.3, and some application examples are given in sections 3.5.4–3.5.11.
3.5.1
Interface with HSPICE
During the execution of the design procedure, each time that it is necessary to know the value of a parameter of a differential pair
Offset Reduction Techniques in High-Speed ADCs
172
(transconductance, differential drain current or parasitic capacitances), one differential pair is simulated in HSPICE to obtain it accurately. The interface with HSPICE is presented in Fig. 3.28. First the dimensions of the differential pair transistors (W and L), the tail current source value (ISS), the mismatches Vt and ΔW5 and the differential input voltage, vD, are written to the param.inc file. Then HSPICE simulates the netlist simul.sp, which contains one differential pair whose dimensions, tail current value and mismatch values are those specified in param.inc. The output file is simul.lis, from which the parameters of interest are read by the design tool. Given a differential input voltage value (vD = vI − kVR) the mismatch function, fΔψ[k,vI], is determined from the differential drain currents obtained with and without the mismatch. For example, in the case of a Vt mismatch, initially the differential output current without the mismatch, iDIFF0[k,vI], is obtained; then ΔVt is set to 100 μV, and HSPICE indicates the new differential output current value, iDIFF[k,vI]. Finally, fΔVt [k, vI ] is calculated inverting (2.40),
fΔVt [k, vI ] =
The Design Tool writes the parameters (W, L, ISS, ΔVt, ΔW/W and vD) to param.inc
OP and DC simulations are performed with the netlist contained in simul.sp
iDIFF [k, vI ] − iDIFF 0 [k, vI ] . 100 × 10−6
(3.39)
VDD Param.inc
RL
Simul.sp
W+ΔW/2 L Vt+ΔVt/2
RL iDN
iDP
W−ΔW/2 L Vt−ΔVt/2
vD The Design Tool reads the parameters (iDIFF, gm, parasitic capacitances) from the output file simul.lis
Simul.lis
ISS
Figure 3.28. Interface with HSPICE (© 2004 by IEEE).
5
As β is proportional to W, the β mismatch is implemented deviating the W of the transistors by ±W/2, with ΔW/W = Δβ/β.
Chapter 3: Averaging – Transient Analysis and Design
3.5.2
173
Properties of Differential Pairs with the Same Saturation Voltage (VSAT)
The number of non-saturated differential pairs in each side of the one whose zero crossing is being considered, N, is a fundamental parameter on the analysis and design of circuits using averaging. As mentioned at the beginning of this section, this parameter is one of the design specifications. Since VR is determined by other design specifications (VFS, Nb and IF), the input voltage for which the differential pairs are required to saturate, VSAT = NVR, is known from the beginning. As will be seen, the design procedure is an iterative algorithm that searches the solution (dimensions of the components), consecutively considering differential pairs with the specified VSAT. This section describes some properties of differential pairs with the same saturation voltage, that can be used to simplify the design procedure. To illustrate those properties, let us consider two differential pairs: for reasons that will be later made clear, there is a reference differential pair, with Wref = 5 μm and Lref = 1 μm, and another with W1 = 20 μm and L1 = 0.5 μm. The tail current source that makes each of them saturate at the required value (VSAT = 0.3 V is chosen in this example), can now be determined. This is done by running an HSPICE DC simulation, where ISS is varied within a wide range (1 μA to 1.5 mA), with the input voltage being the required VSAT. The ISS value to look for is the one that makes the differential output current arbitrarily near ISS or, in other words, which makes the iDIFF/ISS ratio be near 1. Figure 3.29 represents, for the two differential pairs of our example, the iDIFF/ISS ratio as a function of ISS. Stipulating that the differential pairs saturate when iDIFF is 98%6 of ISS, leads to ISSref = 30.7 μA and ISS1 = 274 μA. We have ISS1 > ISSref because (W/L)1 > (W/L)ref. From now on let us consider that the two differential pairs have these tail current values. Figure 3.30 represents the ratio between the transconductances of differential pair 1 and of the reference differential pair, as a function of 6
In “real” MOS differential pairs the differential output current is never ISS, because one of the transistors has always a residual current. This behavior is not found using the quadratic model for the current of the MOS transistors, because it considers that the drain current is zero for VGS < Vt. VSAT is defined as the input voltage which ensures that iDIFF is a large percentage (97–99%) of the tail current.
Offset Reduction Techniques in High-Speed ADCs
174
the input voltage: it is almost constant (in this example the variation is only 2%). Similar results are observed when comparing the transconductances of other differential pairs with the same VSAT. 100
80
iDIFF/ISS [%]
W1 = 20 μm L1 = 0.5 μm 60
40 WREF = 5 μm LREF = 1 μm 20
0 0
200
400
600
800
1000
1200
1400
1600
ISS [μA]
Figure 3.29. Ratio of the differential drain current and ISS, as a function of ISS, for VSAT = 0.3 V in the two differential pairs of our example (© 2004 by IEEE). 9,2
gm1/gmref
9
8,8
8,6
8,4
8,2 8 -0,3
-0,2
-0,1
0 vD [V]
0,1
0,2
0,3
Figure 3.30. Ratio of transconductances of the two differential pairs of our example, as a function of their differential input voltage (© 2004 by IEEE).
This leads to the conclusion that the transconductance function of a differential pair having a certain VSAT, gm[k,vI], is related to the
Chapter 3: Averaging – Transient Analysis and Design
175
transconductance of the reference differential pair, gmref[k,vI], by just a multiplying factor, gm [0, 0] / gmref [0, 0].7 In this way, g [0, 0] , gm [k, vI ] m gmref [k, vI ] = gm [0, 0] gmref [k, vI ] gmref [ 0, 0]
(3.40)
, where gmref [k, vI ] = gmref [k, vI ] / gmref [0, 0] is the normalized transconductance of the reference differential pair. Let us now clarify how this approximation makes the design procedure simpler and faster. Substituting (3.40) in (2.21) and considering only the non-saturated differential pairs, leads to
G0 −gm [ 0, 0] B
N
∑
, C k −1gmref [k, 0].
(3.41)
k =−N
Since in our design procedure VSAT is a parameter known from the beginning, we consider a reference differential pair and obtain its nor, malized transconductance, gmref [k, 0], with a DC sweep simulation. The gain with any other differential pair is calculated using (3.41), where the only necessary information is its transconductance for zero input voltage, gm[0,0], obtained from a very fast OP simulation. In this way the DC sweep is performed only once, for the reference differential pair. The fΔVt [k, vI ] and fΔβ / β [k, vI ] functions of a particular differential pair can also be obtained from the reference differential pair, using approximations similar to (3.40). Regarding the Vt mismatch, it was seen in section 2.4.4 that fΔVt [k, 0] = gm [k, 0], which means that , fΔ' Vt ref [k, 0] = gmref [k, 0]. Using this fact, and substituting (3.41) and (1.47) in (2.43), leads to (only non-saturated differential pairs are considered)
N
σ (VOS )ΔV 2
∑
k =−N
2
, C 2 k −2 (gmref [k, 0])
AV2t
. (3.42) 2 WL ⎡ N ⎤ ⎢ ∑ C k −1g , [k, 0]⎥ mref ⎢ ⎥ ⎣⎢k =−N ⎦⎥ Thus, for a certain transistor area, WL, the variance of the offset voltage due to a Vt mismatch can be calculated using only information from the reference differential pair. t
7
For convenience the multiplying factor is defined as the ratio of the transconductances for zero input voltage. Obviously any other input voltage value can be used.
176
Offset Reduction Techniques in High-Speed ADCs
Looking from a design perspective and inverting (3.42), the necessary WL is calculated using only information from the reference differential pair, given the specifications for σ(VOS) and R0/R1. For the β mismatch similar conclusions can be drawn. This means that having VSAT and R0/R1 specified, and the reference differential pair chosen, the transistor area that satisfies the σ(VOS) requirement is immediately obtained. This fact simplifies considerably the design process.
3.5.3
Design Procedure
Figure 3.31 presents the diagram of the design tool. The architecture and technology parameters, as well as the design specifications are defined at the beginning. First, the reference differential pair is considered which, as shown in the previous section, allows the immediate calculation of the required transistor area,WLreq. An iterative algorithm is then entered, at which the dimensions of the components that satisfy the requirements are obtained. Setting W to an initial value (arbitrary), L is immediately determined because the required area, WLreq, is already known. If the transistor length, obtained in this way, is below the minimum allowed by the technology, Lmin, L is set to Lmin. Having the sizes of the differential pair transistors, the value of ISS that leads to the required VSAT is obtained from HSPICE in the way described in section 3.5.2. At this point the W, L and ISS of a differential pair that meets the VSAT and σ(INL) specifications are known. The transconductance of this differential pair for zero input voltage, gm[0,0], is now obtained from a fast OP simulation. This is used in (3.41) to determine the value of R0 which satisfies the DC gain requirement. R1 is then calculated since the resistance ratio is a specification. The only design specification that was still not verified is α. It is necessary to know the load capacitance to calculate it; all the relevant parasitic capacitances are shown in Fig. 3.32.
Chapter 3: Averaging – Transient Analysis and Design
Pre-amplifer stage design specifications: - VSAT (from VR and N) - G0 - Timing parameters ( α, Ts, tr) - σ(INL) - R0/R1
Technology Matching Data: - AVt - Aβ
Architecture parameters: - VFS and Resolution (Nb) - Offset voltage and input capacitance of the comparator - Interpolation factor (IF)
Consideration of a reference differential pair W = Wref and L = Lref. - Calculation of ISSref to have the required VSAT. - Calculation of iDIFFref[k,0], g’mref[k,0], fΔ' Vt ref [k, 0 ] and f Δ' β / βref [k, vI ] functions
- Calculation of the required transistor area, WLreq, that satisfies the σ(INL) requirement.
Iterative Process
- Calculation of vODIFF[1,0,Ts/2-tr] using iDIFFref[k,0]. This is a function of R0 and CL.
- i=1 - W[i] = Winic
- L[i] = WLreq/W[i]
- Obtention of ISS[i] to have the required VSAT
- i = i+1 - Calculation of the transistor width to use in the new iteration (W[i])
- Obtention of R0[i] that satisfies the DC gain requirement (G0). -Calculation of R1[i]
- Obtain Cdrain[i] from HSPICE - CL[i]= Cdrain[i] + Cwire + ICINcomp
- Evaluation of vODIFF[1,0,Ts/2-tr] - Calculation of α[i].
No
Is α[i] = α ? Yes
- Final Values for W, L, ISS, R0 and R1
Figure 3.31. Design procedure diagram (© 2004 by IEEE).
177
Offset Reduction Techniques in High-Speed ADCs
178
CDrain
CWireAmp
CWireComp
CInComp
clk
CDrain
CWireAmp
CWireComp
CInComp
CWireComp
CInComp
CWireComp
CInComp
R1/IF
clk
clk
Figure 3.32. Parasitic capacitances.
The total transistor drain capacitance, CDrain, is obtained from HSPICE. CWireAmp is the parasitic capacitance of the metal lines that connect the differential pair transistors to the interpolation/averaging resistors; CWireComp is the parasitic capacitance of the connections between these resistors and the latched comparators. Finally, CInComp is the input capacitance of the latched comparator. To calculate the total load capacitance of a pre-amplifier we make the approximation of lumping, in its output nodes, the parasitic capacitances found in the interpolation taps. This leads to C L = C Drain + CWireAmp + I F (CWireComp + C InComp ).
(3.43)
The output voltage of differential pair 1, at the end of the amplification phase and for zero input voltage, vODIFF[1,0,Ts/2 – tr], is now calculated either inverting (3.7) numerically or by using the approximated expression (3.25). Comparing vODIFF[1,0,Ts/2 – tr] with the corresponding DC value, it is verified if the required α is achieved, with the device dimensions obtained on the current iteration. If it is, the design procedure ends because all specifications are met. If not, a new W is chosen based on the previous iteration results, and the process is repeated. The choice of a new W is made using the bisection algorithm that is commonly employed to solve equations numerically.
Chapter 3: Averaging – Transient Analysis and Design
3.5.4
179
Application Example: Pre-amplifier Stage for a 7-bit 200 MS/s Flash ADC
The capabilities of the design methodology will be demonstrated by designing the pre-amplifier stage of a 7-bit 200 MS/s ADC. Table 3.1 has the specifications of the ADC: the full-scale input range (VFS) is 1 V, which means that VLSB = 7.8125 mV. The interpolation factor (IF) is 4, leading to VR = 31.25 mV. Based on yield considerations, we set total standard deviation of the offset voltage of a zero to 1.8 mV. In this example the mismatches in the resistors and current sources will be neglected. The time available for amplification is obtained subtracting the clock signal rise/fall time, 0.5 ns, from half the sampling period, 2.5 ns, yielding 2.0 ns. Table 3.1. ADC architecture specifications. Specification
Value
VFS
1V
IF
4
σ(VOS)total
1.8 mV
fs
200 MHz
tr
0.5 ns
The specifications of the pre-amplifiers are listed in Table 3.2. R0/R1 = 20 and N = 10 were chosen, which means that VSAT = NVR = 312.5 mV. The latched comparators have σ(VOS)comp = 6 mV and an input capacitance of CINcomp = 10 fF. Having established G0 = 4.5 and α = 0.9, the required standard deviation for the zero crossings of the pre-amplifiers is σ (VOS )pre −amp = σ 2 (VOS )total − Let
σ 2 (VOS )comp 2
(αG0 )
= 1.02 mV .
(3.44)
us consider that the metal interconnections have CWireAmp = 5 fF and CWireComp = 2.5 fF. The technology is the same as in the previous examples, at which AV = 8.12 mV.μm and t Aβ = 2%.μm.
180
Offset Reduction Techniques in High-Speed ADCs
Table 3.2. Pre-amplifier design specifications. Specification
Value
R0/R1
20
N
10
σ(VOS)pre-amp
1.02 mV
G0
4.50
α
0.90
The results indicated by the design tool are listed in the Table 3.3. The numerical Laplace Inversion algorithm was used in this case to evaluate α, and it takes about 10 s in a Pentium IV at 1.8 GHz to reach these results. Table 3.3. Dimensions of the components (using the numerical Laplace Transform inversion algorithm). Dimension
Value
W (μm)
7.72
L (μm)
0.77
ISS (μA)
72.05
R0 (Ω)
18206
R1 (Ω)
910.3
When the approximated output voltage expression (3.25), is used to obtain α, the design tool indicates the results listed in Table 3.4. As expected the dimensions are near the ones obtained with the numerical Laplace Transform inversion algorithm, shown in Table 3.3. This is another indication of the validity of the approximation proposed in section 3.3.2. Table 3.5 shows the HSPICE simulation results of the complete preamplifier stage (using the sizes of Table 3.3), which are very near the specified ones. Other examples were tried by the authors, and there was always an exce