Lecture 20 - University of California,...

34
EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 1 Lecture 20 Analog-to-Digital Converters (continued) Comparator design (continued) Comparator architecture examples Techniques to reduce flash ADC complexity Interpolating Folding Interpolating & folding Residue Type ADCs Two-Step flash Pipelined ADCs Architecture basics Effect of sub-ADC, sub-DAC, gain stage non-idealities on overall ADC performance EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 2 CMOS Comparator Example Flash ADC Ref: A. Yukawa, “A CMOS 8-bit High-Speed A/D Converter IC,” JSSC June 1985, pp. 775-9 Flash ADC: 8bits, +-1/2LSB INL @ fs=15MHz (Vref=3.8V, LSB~15mV) No offset cancellation Preamp. Latch

Transcript of Lecture 20 - University of California,...

Page 1: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 1

Lecture 20

Analog-to-Digital Converters (continued)

– Comparator design (continued)• Comparator architecture examples

– Techniques to reduce flash ADC complexity• Interpolating

• Folding

• Interpolating & folding

– Residue Type ADCs• Two-Step flash

• Pipelined ADCs

– Architecture basics

– Effect of sub-ADC, sub-DAC, gain stage non-idealities on overall ADC performance

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 2

CMOS Comparator Example

Flash ADC

Ref: A. Yukawa, “A CMOS 8-bit High-Speed A/D Converter IC,” JSSC June 1985, pp. 775-9

• Flash ADC: 8bits, +-1/2LSB INL @ fs=15MHz (Vref=3.8V, LSB~15mV)

• No offset cancellation

Preamp. Latch

Page 2: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 3

Comparator with Auto-Zero

Ref: I. Mehr and L. Singer, “A 500-Msample/s, 6-Bit Nyquist-Rate ADC for Disk-Drive Read-Channel

Applications,” JSSC July 1999, pp. 912-20.

Note:

Reference & input

both differential

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 4

Ref: I. Mehr and D. Dalton, “A 500-Msample/s, 6-Bit Nyquist-Rate ADC for Disk-Drive Read-Channel

Applications,” JSSC July 1999, pp. 912-20.

Voffset

C C

Re f Re f Offset

V VV V V

Flash ADC

Comparator with Auto-Zero

Page 3: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 5

Ref: I. Mehr and D. Dalton, “A 500-Msample/s, 6-Bit Nyquist-Rate ADC for Disk-Drive Read-Channel

Applications,” JSSC July 1999, pp. 912-20.

Voffset

Vo

Offseto P1 P2 In In C C

C C

Re f Re fo P1 P2 In In

VV A A V V V V

Subst i tut ing for from previous cycle:V V

V VV A A V V

Note: Offset is cancel led & di f ference b etweeninput & reference establ ished

Flash ADC

Comparator with Auto-Zero

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 6

Ref: I. Mehr and D. Dalton, “A 500-Msample/s, 6-Bit Nyquist-Rate ADC for Disk-Drive Read-Channel

Applications,” JSSC July 1999, pp. 912-20.

Flash ADC

Using Comparator with Auto-Zero

Page 4: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 7

Auto-Zero Implementation

Ref:I. Mehr and L. Singer, “A 55-mW, 10-bit, 40-Msample/s Nyquist-Rate CMOS ADC,” JSSC

March 2000, pp. 318-25

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 8

Comparator Example

Ref: T. B. Cho and P. R. Gray, "A 10 b, 20 Msample/s, 35 mW pipeline A/D converter," IEEE

Journal of Solid-State Circuits, vol. 30, pp. 166 - 172, March 1995

• Variation on Yukawa latch

used w/o preamp

• Good for low resolution

ADCs (in this case

1.5bit/stage for a pipeline

we will see later are

tolerant of high offset)

• Note: M1, M2, M11, M12

operate in triode mode

• M11 & M12 added to vary

comparator threshold

• Conductance at node X is

sum of GM1 & GM11

x

Page 5: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 9

Comparator Example (continued)

Ref: T. B. Cho and P. R. Gray, "A 10 b, 20 Msample/s, 35 mW pipeline A/D converter," IEEE Journal of Solid-State Circuits, vol. 30, pp. 166 - 172, March 1995

Vo1

G1 G2

Cox V V V VG W WI1 th R th1 1 11L

Cox V V V VG W WI2 th R th2 1 11L

WC W 11ox 1 V V V VG I1 I2 R RWL 1

Vo1 Vo2

• M1, M2, M11, M12 operate in triode mode with all having equal L

• Conductance of input devices:

• To 1st order, for W1= W2 & W11=W12Vth

latch = W11/W1 x VR

where VR = VR+ - VR-

VR fixed W11, 12 varied from comparator to comparator Eliminates need for resistive divider

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 10

Comparator Example• Used in a pipelined ADC with digital

correction

No offset cancellation required

Differential reference & input

• M7, M8 operate in triode region

• Preamp gain ~10

• Input buffers suppress kick-back

• f1 high Cs charged to VR & f2B is also

high current diverted to latch

comparator output in hold mode

• f2 high Cs connected to S/Hout &

comparator input (VR-S/Hout), current sent

to preamp comparator in amplify mode

Ref: S. Lewis, et al., “A Pipelined 5-Msample/s 9-bit Analog-to-Digital Converter”

IEEE JSSC , NO. 6, Dec. 1987

Page 6: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 11

Bipolar Comparator Example

• Used in 8bit 400Ms/s

& 6bit 2Gb/s flash

ADC

• Signal amplification

during f1 high, latch

operates when f1 low

• Input buffers suppress

kick-back & input

current

• Separate ground and

supply buses for front-

end preamp kick-

back noise reduction

Ref: Y. Akazawa, et al., "A 400MSPS 8b flash AD conversion LSI," IEEE International Solid-State Circuits

Conference, vol. XXX, pp. 98 - 99, February 1987

Ref: T. Wakimoto, et al, "Si bipolar 2GS/s 6b flash A/D conversion LSI," IEEE International Solid-State Circuits

Conference, vol. XXXI, pp. 232 - 233, February 1988

Preamp Latched Comparator

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 12

Reducing Flash ADC Complexity

E.g. 10-bit “straight” flash

– Input range: 0 … 1V

– LSB = : ~ 1mV

– Comparators: 1023 with offset < 1/2 LSB

– Assuming Cin for each comparator is 0.1pF & power 3mW

• Total input capacitance: 1023 * 100fF = 102pF

• Power: 1023 * 3mW = 3W

High power dissipation & large area & high input cap.

Techniques to reduce complexity & power dissipation :

– Interpolation

– Folding

– Folding & Interpolation

– Two-step, pipelining

Page 7: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 13

Interpolation• Idea

– Reduce number of preamps & instead interpolate between preamp outputs

• Reduced number of preamps– Reduced input capacitance

– Reduced area, power dissipation

• Same number of latches (2B-1)

• Important “side-benefit” – Decreased sensitivity to preamp offset

Improved DNL

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 14

Flash ADC

Preamp Output

Zero crossings (to be detected

by latches) at Vin =

Vref1 = 1

Vref2 = 2

0 0.5 1 1.5 2 2.5 3

-0.5

0

0.5

Vin /

Pre

am

p O

utp

ut [V

]

A2A1

VinA2

Vref1 Vref2

Vref1

Vref2

A1A1

A2

Page 8: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 15

Simulink Model

2

Y

1

Vin

2*Delta

Vref2

1*Delta

Vref1

Vi

Preamp2

Preamp1

Vin

A2

A1

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 16

Differential Preamp Output

Differential output crossings @ Vin =

Vref1 = 1

Vref2 = 2

Note: Additional crossing ofA1&-A2 (A2&-A1)

A1-(-A2 )=A1+A2

cross zero at:

Vref12 = 0.5*(1+2) 1.5

0 0.5 1 1.5 2 2.5 3

-0.5

0

0.5

Pre

am

p O

utp

ut

0 0.5 1 1.5 2 2.5 3

A1+

A2

A2-A2A1-A

1

A1-(-A2)

Vin /

-0.5

0

0.5

Page 9: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 17

Interpolation in Flash ADC

Half as many reference voltages and preamps

Interpolation factor:x2

Example: For 10bit straight Flash

ADC need 2B=1024 preamps compared 2B-1=512 for x2 interpolation

Possible to accomplish higher interpolation factor

Interpolation at the output of preamps

Vin

A1

A2

Compare A2& -A1

Comparator output is sign of A1+A2

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 18

Interpolation in Flash ADC

Preamp Output Interpolation

Interpolate between two

consecutive output via

impedance Z

Choices of Z:

1. Resistors (Kimura)

2. Capacitors (Kusumoto)

3. Current mode (Roovers)

Vin

A1

A2

Z

Z

Z

Vo1

Vo2

Vo1.5 = (Vo

1+Vo2)/2

Ref: H. Kimura et al, “A 10-b 300-MHz Interpolated-Parallel A/D Converter,” JSSC, pp. 438-446, April 1993

K. Kusumoto et al, "A 10-b 20-MHz 30-mW pipelined interpolating CMOS ADC," JSSC, pp.1200 -1206,

December 1993.

R. Roovers et al, "A 175 Ms/s, 6 b, 160 mW, 3.3 V CMOS A/D converter," JSSC, pp. 938 - 944, July 1996.

Z

.

.

.

.

.

.

Page 10: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 19

Interpolation in Flash ADC

Preamp Output Interpolation

Vin

A1

A2

.

.

.

.

.

.

.

.

.

0 0.5 1 1.5 2 2.5 3

-0.5

0

A2-A2A1-A

1

With 2 sets of interpolation

resistors at each preamp

outputs three extra

intermediate points 2extra

bits

0.5

Pre

am

p O

utp

ut

.

.

.

.

.

.

X

Y

-A1

-A2

X Y

A1

A2

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 20

Higher Order Resistive Interpolation

Ref: H. Kimura et al, “A 10-b 300-MHz Interpolated-Parallel A/D Converter,” JSSC April 1993, pp. 438-446

• Resistors produce additional levels

• With 4 resistors per side, the “interpolation factor” M=8 extra 3bits

• (M ratio of latches/preamps)

Page 11: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 21

Preamp Output Interpolation

DNL Improvement• Preamp offset distributed over

M resistively interpolated

voltages:

Impact on DNL divided by M

• Latch offset divided by gain of

preamp Use “large” preamp gain

Next: Investigate how large

preamp gain can be

Ref: H. Kimura et al, “A 10-b 300-MHz Interpolated-Parallel A/D Converter,” JSSC April 1993, pp. 438-446

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 22

Preamp Input RangeIf linear region of preamp

transfer curve do not overlap

Dead-zone in the

interpolated transfer curve!

Results in error

Linear consecutive preamp

input ranges must overlap

i.e. input range w/o output

saturation>

Sets upper bound on preamp

gain: Preampgain <VDD /

0 0.5 1 1.5 2 2.5 3

A2

-A2

A1

-A1

0 0.5 1 1.5 2 2.5 3

-0.5

0

0.5

Pre

am

p O

utp

ut

A1+

A2

Vin /

Linear region of transfer curve

not overlapping

-0.5

0

0.5

A1+A2

Page 12: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 23

Interpolated-Parallel ADC

Ref: H. Kimura et al, “A 10-b 300-MHz Interpolated-Parallel A/D Converter,” JSSC April 1993, pp. 438-446

• 10-bit overall resolution:

• 7-bit flash (127 preamps

and 128 resistors for

reference V) & x8

interpolation

• Use of Gray Encoder

minimizes effect of

sparkle code & meta-

stability

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 24

Measured Performance

Ref: H. Kimura et al, “A 10-b 300-MHz Interpolated-Parallel A/D Converter,” JSSC April 1993, pp. 438-446

(7+3)

Low input capacitance

1LSB=2mV

Page 13: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 25

Interpolation Summary

• Consecutive preamp transfer curve linear region need to have overlap Limits gain of preamp to ~VDD/

• The added impedance at the output of the preamp typically reduces the bandwidth and affects the maximum achievable frequencies

• DNL due to preamp offset reduced by interpolation factor M

• Interpolation reduces # of preamps and thus reduces input C-however, the # of required latches the same as “straight” Flash

Use folding to reduce the # of latches

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 26

Folding Converter

• Two ADCs operating in parallel– MSB ADC

– Folder + LSB ADC

• Significantly fewer comparators compared to flash

• Medium fast

• Typically, nonidealities in folder limit resolution

L

O

G

I

CLSB

ADC

MSB

ADC

Folding Circuit

VIN

Digital

Output

Page 14: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 27

Example: Folding Factor of 4

Vin

VFSVFS/2

Vout

00

01

10

11

To

LSB

Quantizer

MSB

bits• Folding factor:

number of folds (2BMSB)

• Folder maps input to smaller range

• MSB ADC determines which fold input is in

• LSB ADC determines position within fold

• Logic circuit combines LSB and MSB results

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 28

Example: Folding Factor of 4

Vin

VFSVFS/2

Vout

00

01

10

11• How are folds generated?

• Note: Sign change every

other fold + reference shift

Fold 1 Vout=+ Vin

Fold 2 Vout= - Vin + VFS/2

Fold 3 Vout=+ Vin - VFS/2

Fold 4 Vout= - Vin + VFS

1 32 4

Page 15: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 29

Generating Folds

via Source-Coupled Pairs

M1 M2

IS

Vref1M3 M4

IS

Vref2M5 M6

IS

Vref3M7 M8

IS

Vref4

R1 R2

VDD

-Vo+

Vin

Vref1 < Vref2 < Vref3 < Vref4

As Vin changes, only one of M1, M3, M5, M7 is on depending on the input level

IS

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 30

CMOS Folder Output

CMOS folder transfer

curve max. min.

portions:

Rounded

Accurate only

at zero-crossings

In fact, most folding

ADCs do not use the

folds, but only the

zero-crossings!

0 0.5 1 1.5 2 2.5 3 3.5 4

0

Fo

lde

r O

utp

ut

0 0.5 1 1.5 2 2.5 3 3.5 4-20%

0

20%

Err

or

(Id

ea

l-R

ea

l)

Vin /

Ideal

Folder

CMOS

Folder

-ISxR

ISxR

Vref1 Vref2 Vref3 Vref4

Page 16: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 31

Parallel Folders Using Only Zero-Crossings

Vref + 3/4 *

Folder 3

Folder 2

Folder 1

Folder 4

LogicVref + 2/4 *

Vref + 1/4 *

Vref + 0/4 *

Vin

LSB bits

(to be combined with MSB bits)

x4Comparator

x4Comparator

x4Comparator

x4Comparator

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 32

Parallel Folder Outputs

• 4 folders with 4 folds

each

• 16 zero crossings

• 4 LSB bits

• Higher resolution

• More folders Large complexity

• Better solution:

Combine with

interpolation

0 1 2 3 4 5

-0.4

-0.2

0

0.2

0.4

Vin /

Fold

er

Outp

ut

F1F2F3F4

Page 17: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 33

Folding & Interpolation

Fine

Flash

ADC

E

N

C

O

D

E

R

Vref + 3/4 *

Folder 3

Folder 2

Folder 1

Folder 4

Vref + 2/4 *

Vref + 1/4 *

Vref + 0/4 *

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 34

Folder / Interpolator Output

Example:4 Folders + 4 Resistive Interpolator per Stage

0 1 2 3 5-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

0.5

Vin /

Fold

er

/ In

terp

ola

tor

Outp

ut F1

F2I1I2I3

1.5 1.6 1.7 1.8

-0.02

0

0.02

0.04

4

Note: Output of two

folders only +

corresponding

interpolator only

shown

Page 18: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010 Page 35

Folder / Interpolator Output

Example:2 Folders + 8 Resistive Interpolator per Stage

Zero-crossing not equally

spaced Non-linear

distortion

Interpolate only between

closely spaced folds to

avoid nonlinear distortion

1.5 1.6 1.7 1.8 1.9 2 2.1

-0.06

-0.04

-0.02

0

0.02

0.04

0.06

0 1 2 3 4 5-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

0.5

Fo

lder

/ In

terp

ola

tor

Outp

ut F1

F4I1I2I3

Vin /

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 36

A 70-MS/s 110-mW 8-b CMOS Folding

and Interpolating A/D Converter

Ref: B. Nauta and G. Venes, JSSC Dec 1985, pp. 1302-8

Page 19: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 37

A 70-MS/s 110-mW 8-b CMOS Folding and Interpolating A/D Converter

Note:

Total of 40 (MSB=8, LSB=32) comparators compared to 28-1= 255 for straight flash

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 38

A 70-MS/s 110-mW 8-b CMOS Folding and Interpolating A/D Converter

Ref: B. Nauta and G. Venes, JSSC Dec 1985, pp. 1302-8

Page 20: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247 Lecture 18: Data Converters- Nyquist Rate ADCs © 2010 Page 39

ADC Architectures

• Slope type converters

• Successive approximation

• Flash

• Interpolating & Folding

• Residue type ADCs– Two-step Flash

– Pipelined ADCs

– …

• Time-interleaved / parallel converter

• Oversampled ADCs

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 40

Two-Step

Example: (2+2)Bits

• Using only one ADC: output contains large quantization error

• "Missing voltage" or "residue" ( -eq1)

• Idea: Use second ADC to quantize and add -eq1

0 1 2 3

00

01

10

11

0 1 2 3-1

-0.5

0

0.5

1

[LS

B]

ADC Input [LSB]

Vin

+

Dout = Vin + eq1

2-bit ADC 2-bit ADC

???

e q1

Dout

Vin

Page 21: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 41

Two Stage Example

• Use DAC to compute missing voltage

• Add quantized representation of missing voltage

• Why does this help? How about eq2 ?

• Since maximum voltage at input of the 2nd ADC is Vref1/4 then for 2nd ADC Vref2=Vref1/4 and thus eq2= eq1/4 =Vref1/16 4bit overall resolution

Vin “Coarse“

+

Dout

= Vin

+ eq1

2-bit ADC 2-bit ADC

“Fine“+-

2-bit DAC

-eq1

-eq1+e

q2

-eq1+e

q2

Vref2Vref1

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 42

Two Step (2+2) Flash ADC

Vin Vin Vin

4-bit Straight Flash ADC Ideal 2-step Flash ADC

Voltage quantized

by 2nd ADC

Page 22: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 43

Two Stage Example

• Fine ADC is re-used 22 times

• Fine ADC's full scale range needs to span only 1 LSB of coarse quantizer

22

1

2

2

2222

refref

q

VVe

00 01 10 11

Vref1

/22

eq1

00

01

10

11

First ADC“Coarse“

Second ADC“Fine“VinVref1

Vref2

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 44

Two-Stage (2+2) ADC Transfer Function

0000

0001

0010

0011

0100

0101

01100111

1000

1001

1010

1011

1100

1101

11101111

Coarse

Bits

(MSB)

Fine

Bits

(LSB)

Dout

Vin

Vref1

Page 23: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 45

Residue or Multi-Step Type ADC

Issues

• Operation:– Coarse ADC determines MSBs

– DAC converts the coarse ADC output to analog- Residue is found by subtracting (Vin-VDAC)

– Fine ADC converts the residue and determines the LSBs

– Bits are combined in digital domain

• Issue: 1. Fine ADC has to have precision in the order of overall ADC 1/2LSB

2. Speed penalty Need at least 1 clock cycle per extra series stage to resolve one sample

(optional)Coarse ADC

(B1-Bit)

Vin

Residue

DAC(B1-Bit)

Fine ADC(B2-Bit)

Bit C

om

bin

er

(B1+

B2)-

Bit

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 46

Solution to Issue (1)

Reducing Precision Required for Fine ADC

• Accuracy needed for fine ADC relaxed by introducing inter-stage gain

– Example: By adding gain of x(G=2B1=4) prior to fine ADC in (2+2)bit case, precision required for fine ADC is reduced to 2-bit only!

– Additional advantage- coarse and fine ADC can be identical stages

Vin “Coarse“

+

Dout

= Vin

+ eq1

2-bit ADC 2-bit ADC

“Fine“+-

2-bit DAC-e

q1

-eq1+e

q2

-eq1+e

q2

G=2B1

Page 24: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 47

Solution to Issue (2)

Increasing ADC Throughput

• Conversion time significantly decreased by employing T/H between stages

– All stages busy at all times operation concurrent

– During one clock cycle coarse & fine ADCs operate concurrently:

• First stage samples/converts/generates residue of input signal sample # n

• While 2nd stage samples/converts residue associated with sample # n-1

Vin“Coarse“

+

Dout

= Vin

+ eq1

2-bit ADC

2-bit ADC

“Fine“+-

2-bit DAC-e

q1

- eq1+e

q2

T/H+(G=2B1)

T/H

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 48

Residue Type ADCs• Two-Step flash

• Pipelined ADCs– Basic operation

– Effect of sub-ADC, sub-DAC, gain stage non-idealities on overall ADC performance

• Error correction by adding redundancy

• Digital calibration

• Correction for inter-stage gain nonlinearity

– Implementation

• Practical circuits

• Stage scaling

• Combining the bits

• Stage implementation– Circuits

– Noise budgeting

• How many bits per stage?

Page 25: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 49

Pipeline ADC

Block Diagram

• Idea: Cascade several low resolution stages to obtain high overall resolution (e.g. 10bit ADC can be built with series of 10 ADCs each 1-bit only!)

• Each stage performs coarse A/D conversion and computes its quantization error, or "residue“

• All stages operate concurrently

Align and Combine Data

Stage 1

B1 Bits

Stage 2

B2 Bits

Digital output

(B1 + B

2 + ... + B

k) Bits

Vin

MSB... ...LSB

Stage k

Bk Bits

Vres1

Vres2

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 50

Pipeline ADC

Concurrent Stage Operation

• Stages operate on the input signal like a shift register

• New output data every clock cycle, but each stage introduces at least ½ clock cycle latency

Align and Combine Data

Stage 1

B1 Bits

Stage 2

B2 Bits

Digital output

(B1 + B2 + ... + Bk) Bits

VinStage k

Bk Bits

f1f2

acquireconvert

convertacquire

...

...

CLKf1

f2

Page 26: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 51

Pipeline ADC

Latency

[Analog Devices, AD 9226 Data Sheet]

Note: One conversion per clock cycle & 8 clock cycle latency

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 52

Pipeline ADC

Characteristics

• Number of components (stages) grows linearly with resolution

• Pipelining– Trading latency for overall component count

– Latency may be an issue in e.g. control systems

– Throughput limited by speed of one stage Fast

• Versatile: 8...16bits, 1...400MS/s

• One important feature of pipeline ADC: many analog circuit non-idealities can be corrected digitally

Page 27: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 53

Pipeline ADC

Digital Data Alignment

• Digital shift register aligns sub-conversion

results in time

Stage 2

B2 BitsVin

Stage k

Bk Bits

f1f2

acquireconvert

convertacquire

...

...

+ +D

out

CLK CLK CLK

Stage 1

B1 Bits

CLKf1

f2

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 54

Cascading More Stages

• LSB of last stage becomes very small

• All stages need to have full precision

• Impractical to generate several Vref

VinADC

+-

DACADC

B3bitsB2bitsB1bits

Vref Vref /2B1 Vref /2

(B1+B2) Vref /2(B1+B2+B3)

Page 28: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 55

Pipeline ADC

Inter-Stage Gain Elements

• Practical pipelines by adding inter-stage gain use single Vref

• Precision requirements decrease down the pipe

– Advantageous for noise, matching (later), power dissipation

VinADCB3bitsB2bitsB1bits

Vref

2B1

+-

DACADC

Vref Vref Vref

2B22B3

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 56

Complete Pipeline Stage

Vin +-

B-bit

DAC

B-bit

ADC

D

-GVres

Vin0

0

Vref

eq1

“Residue

Plot“

E.g.:

B=2

G=22 =4

Vres

VrefNote: None of the blocks have ideal performance

Question: What is the effect of the non-idealities?

Page 29: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 57

Pipeline ADC

Errors

• Non-idealities associated with sub-ADCs, sub-DACs and gain stages error in overall pipeline ADC performance

• Need to find means to tolerate/correct errors

• Important sources of error– Sub-ADC errors- comparator offset

– Gain stage offset

– Gain stage gain error

– Sub-DAC error

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 58

Pipeline ADC Single Stage

Model

Vin

Dout

-GV res

eq

S

eq

S

Vres = Gxeq

Page 30: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 59

Pipeline ADC Multi-Stage Model

1 q2 2

out in,ADC q1

d1 d1 d 2

q( n 1) ( n 1) qn

n 2 n 1

d( n 1)dj dj

j 1 j 1

G GD V 1 1

G G G

G.. . 1

GG G

ee

e e

S

Se

q1

- G1

S

S

Se

q2

- G2

S

S

Se

q(n-1)

- Gn-1

S

Vin,ADC

Dout 1/G

d11/G

d2

Vres1

Vres2

Vres(n-1)

S

1/Gd(n-1)

eqnD

1D

2D

(n-1)D

n

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 60

Pipeline ADC Model• If the "Analog" and "Digital" gain/loss is precisely matched:

1

1

2

1

1

2

1

1

1

1

log

2log

22

3log20

212

22log20

.log20..

n

j

jnADC

n

j

j

B

ADC

n

j

j

B

n

j

j

B

ref

ref

GBB

GB

G

G

V

V

NoiseQuantrms

SignalFSrmsRD

n

n

n

stage finalin bits of # & 2

where1

1

,

BnV

G

VDBn

ref

qnn

j

j

qn

ADCinout ee

Page 31: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 61

Pipeline ADC

Observations

• The aggregate ADC resolution is independent of sub-ADC resolution!

• Effective stage resolution Bj=log2(Gj)

• Overall conversion error does not (directly)depend on sub-ADC errors!

• Only error term in Dout contains quantization error associated with the last stage

• So why do we care about sub-ADC errors?

Go back to two stage example

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 62

Pipeline ADC

Sub-ADC Errors

1

1

, n

j

j

qn

ADCinout

G

VDe

1

2

,G

VDq

ADCinout

e

Grows outside ½ LSB bounds

Vin,ADC

ADC

2-bitsB1 =2-bits

Vref Vref

Vres1

Veq2Vin

00

Vref

Vres1

ref

Page 32: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 63

Pipeline ADC1st-Stage Comparator Offset

First stage ADC Levels:

(Levels normalized to LSB)

Ideal comparator threshold: -1, 0, +1

Comparator threshold including offset: -1, 0.3, +1

Problem: Vres1 exceeds 2nd pipeline stage

overload range

Missing Code!

Overall ADC Transfer Curve

Vres1

Vres2

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 64

Pipeline ADC

Three Ways to Deal with Sub-ADC Errors

• All involve “sub-ADC redundancy”

• Redundancy in stage that produces errors

– Choose gain for residue to be processed by the 2nd stage < 2B1

– Higher resolution sub-ADC & sub-DAC

• Redundancy in succeeding stage(s)

Page 33: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 65

(1) Inter-Stage Gain Following 1st Stage <2B1

00

VinADCB1 bits

Vref

eq2

Vres1

• Choose G1 less than

2B1

• Effective stage

resolution could

become non-integer

B1eff=log2G1

• E.g. if G1=3.8

B1eff=1.8bit

-Ref: A. Karanicolas et. al.,

JSSC 12/1993

Vref

Vref

Vres1

Vin

Vref

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 66

Correction Through Redundancy

“enlarged” residuum still within

input range of next stage

Overall ADC Transfer Curve

Vres1

Vres2

If G1=2 instead of 4

Only 1-bit resolution from first stage (3-bit

total) In spite of comparator offset: No overall

error!

Page 34: Lecture 20 - University of California, Berkeleyinst.eecs.berkeley.edu/~ee247/fa10/files07/lectures/L20_2_f10.pdf · EECS 247 Lecture 20: Data Converters: Nyquist Rate ADCs © 2010

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 67

(2) Higher Resolution Sub-ADC

VinADCB1 bits

Vref

Vres1

Vref

00

eq2

Vref

Vres1

Vin

Vref

• Keep G1 precise

power of two

(e.g. G1=4)

• Add extra decision

levels in sub-ADC

(e.g. add 1 extra bit to

1st stage)

• E.g. B1=B1eff+1

-Ref: Singer et. al., VSLI 1996

EECS 247- Lecture 20 Pipelined ADCs © 2010 Page 68

(3) Over-Range Accommodation

Through Increase in Following Stage Resolution

• No redundancy in

stage with errors

• Add extra decision

levels in succeeding

stage

Ref: Opris et. al.,

JSSC 12/1998V

in

Vref

00

Vref

Vres1

Vin,ADC

ADCB1 bits

Vref

Vref

eq2

Vres1