SAR Cyclic and Integrating ADCs

download SAR Cyclic and Integrating ADCs

of 50

Transcript of SAR Cyclic and Integrating ADCs

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    1/50

    Department of Electrical and Computer Engineering

    Vishal Saxena -1-

    SAR, Algorithmic and IntegratingADCs

    Vishal Saxena, Boise State University([email protected])

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    2/50

    Vishal Saxena -2- 2

    Successive Approximation ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    3/50

    Vishal Saxena -3-

    Successive Approximation ADC

    3

    Binary search algorithm N*Tclk to complete N bits

    Conversion speed is limited by comparator, DAC, and digital logic

    (successive approximation register or SAR)

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    4/50

    Vishal Saxena -4-

    Binary Search Algorithm

    4

    DAC output gradually approaches the input voltage

    Comparator differential input gradually approaches zero

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    5/50

    Vishal Saxena -5-

    Charge Redistribution SA ADC

    5

    4-bit binary-weighted capacitor array DAC (aka charge scaling DAC)

    Capacitor array samples input when 1 is asserted (bottom-plate)

    Comparator acts as a zero crossing detector

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    6/50

    Vishal Saxena -6-

    Charge Redistribution (MSB)

    6

    R i Ri R X 4 X 3 2 1 0 X iV 8C- V 16C V

    V 16C = V - V C - V C +C +C +C V - V16C 2

    Start with C4 connected to VR and others to 0 (i.e. SAR=1000)

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    7/50

    Vishal Saxena -7-

    Comparison (MSB)

    7

    If VX < 0, then Vi > VR/2, and MSB = 1, C4 remains connected to VR

    If VX > 0, then Vi < VR/2, and MSB = 0, C4 is switched to ground

    X

    iR

    X V2

    V V:TESTMSB

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    8/50

    Vishal Saxena -8-

    Charge Redistribution (MSB1)

    8

    R ii R X X X R iV 12C V 16C 3

    V 16C V V 12C V 4C V V V16C 4

    SAR=1100

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    9/50

    Vishal Saxena -9-

    Comparison (MSB1)

    9

    If VX < 0, then Vi > 3VR/4, and MSB-1 = 1, C3 remains connected to VR

    If VX > 0, then Vi < 3VR/4, and MSB-1 = 0, C3 is switched to ground

    X R i3

    MSB -1 TEST : V V V4

    X

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    10/50

    Vishal Saxena -10-

    Charge Redistribution (Other Bits)

    10

    Test completes when all four bits are determined w/ four charge

    redistributions and comparisons

    SAR=1010, and so on

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    11/50

    Vishal Saxena -11-

    After Four Clock Cycles

    11

    Usually, half Tclk is allocated for charge redistribution and half forcomparison + digital logic

    VX always converges to 0 (Vos if comparator has nonzero offset)

    X

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    12/50

    Vishal Saxena -12-

    Summing-Node Parasitics

    12

    If Vos = 0, CP has no effect eventually; otherwise, CP attenuates VX

    Auto-zeroing can be applied to the comparator to reduce offset

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    13/50

    Vishal Saxena -13-

    SAR ADC Summary

    13

    High accuracy achievable (12+ Bits)

    Low power and linear as no Opamp is required

    Relies on highly accurate comparator

    Moderate speed (10 MHz) Regaining interest in scaled CMOS processes

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    14/50

    Vishal Saxena -14-

    SAR ADC Limitations

    14

    Conversion rate typically limited by finite bandwidth of RC network

    during sampling and bit-tests

    For high resolution, the binary weighted capacitor array can becomequite largeE.g. 16-bit resolution, Ctotal~100pF for reasonable kT/C noise contribution

    If matching is an issue, an even larger value may be needed

    E.g. if matching dictates Cmin=10fF, then 216Cmin=655pF

    Commonly used techniquesImplement "two-stage" or "multi-stage" capacitor network to reduce array

    size [Yee, JSSC 8/79]

    Split DAC or C-2C network

    Calibrate capacitor array to obtain precision beyond raw technology

    matching [Lee, JSSC 12/84]

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    15/50

    Vishal Saxena -15- 15

    Algorithmic (Cyclic) ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    16/50

    Vishal Saxena -16-

    Algorithmic (Cyclic) ADC

    16

    Essentially same as pipeline

    But a single MDAC stage is used in a cyclic fashion for all operationsNeed many clock cycles per conversion

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    17/50

    Vishal Saxena -17-

    Algorithmic (Cyclic) ADC

    17

    Input is sampled first, then circulates in the loop for N clock cycles

    Conversion takes N cycles with one bit resolved in each Tclk

    Sample

    mode

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    18/50

    Vishal Saxena -18-

    Modified Binary Search

    18

    If VX < VFS/2, then bj = 0, and Vo = 2*VX

    If VX > VFS/2, then bj = 1, and Vo = 2*(VX-VFS/2)

    Vo is called conversion residue

    RA = residue amplifier

    Conversionmode

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    19/50

    Vishal Saxena -19-

    Modified Binary Search

    19

    Constant threshold (VFS/2) is used for each comparison

    Residue experiences 2X gain each time it circulates the loop

    X

    iFS

    clk

    FS

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    20/50

    Vishal Saxena -20-

    Loop Transfer Function

    20

    Comparison if VX < VFS/2, then bj = 0; otherwise, bj = 1

    Residue generation Vo = 2*(VX - bj*VFS/2)

    VX

    Vo

    VFS/20 VFS

    VFSbj=0 bj=1

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    21/50

    Vishal Saxena -21-

    Algorithmic ADC

    21

    Hardware-efficient, but relatively low conversion speed (bit-per-step)

    Modified binary search algorithm

    Loop-gain (2X) requires the use of a residue amplifier, but greatly simplifies

    theDAC 1-bit, inherently linear (why?)

    Residue gets amplified in each circulation; the gain accumulated makes the

    later conversion steps insensitive to circuit noise and distortion

    Conversion errors (residue error due to comparator offset and/or loop-gain

    non-idealities) made in earlier conversion cycles also get amplified againand again overall accuracy is usually limited by the MSB conversion step

    Redundancy is often employed to tolerate comparator/loop offsets

    Trimming/calibration/ratio-independent techniques are often used to treat

    loop-gain error, nonlinearity, etc.

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    22/50

    Vishal Saxena -22-

    Offset Errors

    22

    Ideal RA offset CMP offset

    Vo = 2*(Vi - bj*VFS/2) Vi = bj*VFS/2 + Vo/2

    Vi

    Vo

    VFS/20 VFS

    VFSb=0 b=1

    Vi

    Vo

    VFS/20 VFS

    VFSb=0 b=1

    Vi

    Vo

    VFS/20 VFS

    VFSb=0 b=1Vos

    Vos

    Vi

    Do

    VFS/20 VFS Vi

    Do

    VFS/20 VFS Vi

    Do

    VFS/20 VFS

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    23/50

    Vishal Saxena -23-

    Redundancy (DEC, RSD)

    23

    Vi

    Vo

    VFS/20 VFS

    VFSbj=0 bj=1

    VFS/2

    Bj+1=0

    Bj+1=1

    Vi

    Do

    VFS/20 VFS00

    01

    10

    11

    Vi

    Vo

    VFS/20 VFS

    VFSbj=0 bj=1

    VFS/2

    Bj+1=0

    Bj+1=1

    Bj+1=-1

    Bj+1=2

    Vi

    Do

    VFS/20 VFS00

    01

    10

    11

    1 CMP 3 CMPs

    RSD= Redundant Signed Digit

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    24/50

    Vishal Saxena -24-

    Loop Transfer Function

    24

    Original w/ Redundancy

    Subtraction/addition both required to compute final sum

    4-level (2-bit) DAC required instead of 2-level (1-bit) DAC

    Vi

    Vo

    VFS/20 VFS

    VFSb=0 b=1

    Vi

    Vo

    VFS/20 VFS

    b=0 b=1b=-1 b=2

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    25/50

    Vishal Saxena -25-

    Comparator Offset

    25

    Max tolerance of

    comparator offset isVFS/4 simple

    comparators

    Similar tolerance also

    applies to RA offset

    Key to understand

    digital redundancy:

    jo

    o

    i

    j

    FSVV = +

    2b

    2

    V

    V

    b

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    26/50

    Vishal Saxena -26-

    Modified 1-Bit Architecture

    26

    1-b/s RA transfer curve

    w/ no redundancy

    One extra CMP

    added at VR/2

    0

    VR/2

    -VR/2

    Vi

    Vo

    -VR/2 VR/2-VR

    VR

    VR

    0

    VR/2

    -VR/2

    Vi

    -VR/2 VR/2-VR

    VR

    VR

    b=0 b=1 b=0 b=1b=0.5

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    27/50

    Vishal Saxena -27-

    From 1-Bit to 1.5-Bit Architecture

    27

    -VR/4 VR/4

    0

    VR/2

    -VR/2

    Vi

    -VR

    VR

    VR

    b=0 b=1b=0.5

    -VR/4 VR/4

    0

    VR/2

    -VR/2

    Vi

    -VR

    VR

    VR

    b=0 b=2b=1

    Vo

    A systematic offset VR/4

    introduced to both CMPs

    A 2X scaling is performed

    on all output bits

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    28/50

    Vishal Saxena -28-

    The 1.5-Bit Architecture

    28

    3 decision levels

    ENOB = log23 = 1.58

    Max tolerance of comparator

    offset is VR/4

    An implementation of the

    Sweeny-Robertson-Tocher

    (SRT) division principle The conversion accuracy

    solely relies on the loop-gain

    error, i.e., the gain error and

    nonlinearity

    A 3-level DAC is required o i RV = 2 V - b -1 V

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    29/50

    Vishal Saxena -29-

    The Multiplier DAC (MDAC)

    29

    2X gain + 3-level DAC + subtraction all integrated A 3-level DAC is perfectly linear in fully-differential form

    Can be generalized to n.5-b/stage architectures

    Vo

    Vi

    0-VR

    VR

    Decoder

    1 C1

    1 C2

    2

    1e

    A

    2

    -VR/4

    VR/4

    R1

    2i

    1

    21o V

    C

    C1bV

    C

    CCV

    o i RV = 2 V - b -1 V

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    30/50

    Vishal Saxena -30-

    A Linear 3-Level DAC

    30

    b = 0 b = 1 b = 2

    Ri

    TB

    1

    2i

    1

    21

    ooo

    VV2

    VVC

    CV

    C

    CCVVV

    i

    CMCM

    1

    2i

    1

    21

    ooo

    V2

    VVC

    CV

    C

    CCVVV

    Ri

    BT

    1

    2i

    1

    21

    ooo

    VV2

    VVC

    CV

    C

    CCVVV

    Vo-

    C1

    C2

    Vo+

    C1

    C2

    AVT

    VBVo-

    C1

    C2

    Vo+

    C1

    C2

    AVCM

    VCM Vo-

    C1

    C2

    Vo+

    C1

    C2

    AVT

    VB

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    31/50

    Vishal Saxena -31-

    Alternative 1.5-Bit Architecture

    31

    Ref: E. G. Soenen and R. L. Geiger, An architecture and an algorithm for fully digital

    correction of monolithic pipelined ADCs, IEEE Trans. on Circuits and Systems II, vol.

    42, issue 3, pp. 143-153, 1995.

    -VR/2 VR/2

    0Vi

    -VR

    VR

    VR

    b=0 b=2b=1

    Vo

    How does

    this work?

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    32/50

    Vishal Saxena -32-

    Error Mechanisms of RA

    32

    Capacitor mismatch

    Op-amp finite-gain error and

    nonlinearity

    Charge injection and clock

    feedthrough (S/H)

    Finite circuit bandwidth

    o i RV = 2 V - b -1 V

    1 2 2o S/H i R

    1 2 1 21 1

    o o

    C C CV t f V b 1 V

    C C C CC C

    A V A V

    Vo

    Vi

    0-VR

    VR

    Decoder

    1 C1

    1 C2

    2

    1e

    A

    2

    -VR/4

    VR/4

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    33/50

    Vishal Saxena -33-

    RA Gain Error and Nonlinearity

    33

    Raw accuracy is usually limited to 10-12 bits w/o error correction

    R R

    R

    R

    i

    R

    R

    R

    o

    iR R

    o

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    34/50

    Vishal Saxena -34-

    Static Gain-Error Correction

    34

    1 2 2o i R i R

    1 2 1 21 1

    1 2

    C C CV V b V V -b V

    C Cka ka

    C CC C

    A A

    1 2

    1 21

    oi 2i o

    R 1 2 R 1 2

    C CC

    VV CA b D = D + bV C C V C C

    kd kd

    Analog-domain method:

    Digital-domain method:

    Do we need to correct for kd2 error?

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    35/50

    Vishal Saxena -35-

    RA Gain Trimming

    35

    Precise gain-of-two is achieved by adjustment of the trim array

    Finite-gain error of op-amp is also compensated (not nonlinearity)

    C1/C2 = 1 nominally

    1 2

    o i1 2

    1

    2R

    1 21

    C CV V

    C CC

    A

    C b 1 VC CC

    A

    Vo-

    Vo+

    i+

    i-

    X+

    X-

    12

    12

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    36/50

    Vishal Saxena -36-

    Split-Array Trimming DAC

    36

    Successive approximation utilized to find the correct gain setting

    Coupling cap is slightly increased to ensure segmental overlap

    2C1.2C

    8C4C2CC8C4C2CC

    2C1.2C

    8C4C2CC8C4C2CC

    VX+

    VX-

    Vi+

    Vi-

    8-bit gain

    1-bit sign

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    37/50

    Vishal Saxena -37-

    Digital Radix Correction

    37

    2 1

    2 1 2 1

    2 1

    j j j+1

    j j+1 j+2

    2

    j j+1 j+2

    2 3

    j j+1 j+2 j+3

    2 3

    j j+1 j+2

    2 1

    2 1 2 1 2 1

    2 1 j+32 1 2 1 2

    kd kdkd kd kd kd

    kd kd kd kd

    kd kd kd kd kd kd

    kd kd kd kd

    D = b + D= b + b + D

    = b + b + D

    = b + b + b + D

    = b + b + bkd kd kd+ b +...

    1 2

    1 21

    oi 2

    i oR 1 2 R 1 2

    C CC

    VV CA b D = D + bV C C V C C

    kd kd

    Unroll this:

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    38/50

    Vishal Saxena -38- 38

    Integrating ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    39/50

    Si l Sl I i ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    40/50

    Vishal Saxena -40-

    Single-Slope Integration ADC

    40

    INL depends on the linearity of the ramp signal

    Precision capacitor (C), current source (I), and clock (Tclk) required

    Comparator must handle wide input range of [0, VFS]

    1i 1 o

    clk

    io

    clk

    clk

    tIV = t , D =

    C T

    VD = ,

    I T

    CI T

    LSB =C

    D l Sl I t ti ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    41/50

    Vishal Saxena -41-

    Dual-Slope Integration ADC

    41

    RC integrator replaces the I-C integrator

    Input and reference voltages undergo the same signal path

    Comparator only detects zero crossing

    i

    fclk

    o

    X

    R

    D l Sl I t ti ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    42/50

    Vishal Saxena -42-

    Dual-Slope Integration ADC

    42

    Exact values of R, C, and Tclk are not required

    Comparator offset doesnt matter (what about its delay?) Op-amp offset introduces gain error and offset (why?)

    Op-amp nonlinearity introduces INL error

    i Rm 1 2

    i 2 2o

    R 1 1

    o 2 1

    V VV = t = tRC RC

    V t ND = = =

    V t N

    or D =N for fixed N

    X 1 2

    m

    os

    O A Off t

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    43/50

    Vishal Saxena -43-

    Op-Amp Offset

    43

    Vi = 0 Vi = VR

    N2 0 Offset Longer integration time!

    Vi

    Do

    0 VR

    Actual

    IdealDos

    S b i D l Sl ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    44/50

    Vishal Saxena -44-

    Subranging Dual-Slope ADC

    44

    MSB discharging stops at the immediate next integer count past Vt Much faster conversion speed compared to dual-slope

    Two current sources (matched) and two comparators required

    Vi

    Control

    Logic

    SHA

    Cnt 1

    (8 bits) MSBs

    VX

    Cmp2

    I

    CS

    I

    256

    Cmp1Vt

    Cnt 2

    (8 bits)LSBs

    fclk Carry

    Subranging Dual Slope ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    45/50

    Vishal Saxena -45-

    Subranging Dual-Slope ADC

    45

    Precise Vt is not required if carry is propagated

    Matching between the current sources is critical

    if I1 = I, I2 = (1+)I/256, then || 0.5/256

    Itd be nice if CMP 1 can be eliminated ZX detector!

    X

    X

    dV 1 I,

    dt CdV 2 I

    dt 256C

    21o NWND

    X

    1 2

    t

    Subranging Dual Slope ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    46/50

    Vishal Saxena -46-

    Subranging Dual-Slope ADC

    46

    CMP 1 response time is not critical

    Delay from CNT 1 to MSB current shut-off is not critical

    constant delay results in an offset (why?)

    CMP 2 response time is critical, but relaxed due to subranging

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    47/50

    Subranging Multi Slope ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    48/50

    Vishal Saxena -48-

    Subranging Multi-Slope ADC

    48

    Single comparator detects zero-crossing

    Comparator response time greatly relaxed

    Matching between the current sources still critical

    X

    X

    X

    dV 1 I,

    dt C

    dV 2 I,

    dt 16C

    dV 3 I

    dt 256C

    32211o NWNWND

    Subranging Multi Slope ADC

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    49/50

    Vishal Saxena -49-

    Subranging Multi-Slope ADC

    49

    Comparator response time is not critical except the last one

    Delays from CNTs to current sources shut-off are not critical

    constant delays only result in offsets

    Last comparator response time is critical, but relaxed due to multi-

    step subranging

    References

  • 8/12/2019 SAR Cyclic and Integrating ADCs

    50/50

    Vishal Saxena -50-

    References

    1. Rudy van de Plassche, CMOS Integrated Analog-to-Digital and Digital-to-AnalogConverters, 2nd Ed., Springer, 2005..

    2. Y. Chiu, Data Converters Lecture Slides, UT Dallas 2012.

    3. B. Boser,Analog-Digital Interface Circuits Lecture Slides, UC Berkeley 2011.