EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247...

25
EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 1 EE247 Lecture 18 ADC Converters – Sampling switch charge injection Bottom plate sampling Flip around track & hold Sample and hold including gain Sample and hold including offset cancellation – Impact of ESD protection on converters – ADC architectures EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 2 Sampling Switch Charge Injection Summary Extra charge injected onto sampling capacitor @ switch device turn-off Charge sharing with C ov Channel charge transfer Issues: DC offset Input dependant error voltage distortion Solutions: Complementary switch only cancels offset, does not address input signal dependant error Addition of dummy switches cancels charge injection to 1 st order but not fully Bottom-plate sampling?

Transcript of EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247...

Page 1: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 1

EE247Lecture 18

ADC Converters– Sampling switch charge injection

• Bottom plate sampling• Flip around track & hold• Sample and hold including gain• Sample and hold including offset cancellation

– Impact of ESD protection on converters– ADC architectures

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 2

Sampling Switch Charge InjectionSummary

• Extra charge injected onto sampling capacitor @ switch device turn-off– Charge sharing with Cov– Channel charge transfer

• Issues:– DC offset– Input dependant error voltage à distortion

• Solutions:– Complementary switchà only cancels offset, does not

address input signal dependant error– Addition of dummy switchesà cancels charge injection to 1st

order but not fully– Bottom-plate sampling?

Page 2: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 3

Switch Charge InjectionBottom Plate Sampling

Vi+

VO+

M1A

Vi-

VO-M1B •Switches M2A@ B are opened slightly earlier

compared to M1A&Bà Injected charge by the opening or M2AB is constant & eliminated when used differentially

•Since bottom plate of Cs is open when M1A&B are openedà no charge injected on Cs

φ1b

φ1a

M2B

M2A

φ1aVH

VL

t

φ1b

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 4

Flip-Around T/H

vIN vOUT

C

S1A

φ1D

S2

φ2

S2A

φ2

S3

φ1D

φ1 S1

vCM

φ1

φ1D

φ2

•Concept based on bottom-plate sampling

Page 3: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 5

Flip-Around T/H

vIN vOUT

C

S1A

φ1D

S2

φ2

S2A

φ2

S3

φ1D

φ1 S1

vCM

Charging C

φ1

φ1D

φ2

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 6

Flip-Around T/H

vIN vOUT

C

S1A

φ1D

S2

φ2

S2A

φ2

S3

φ1D

φ1 S1

vCM

Holding

φ1

φ1D

φ2

Page 4: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 7

Flip-Around T/H - Timing

vIN vOUT

C

S1A

φ1D

S2

φ2

S2A

φ2

S3

φ1D

φ1 S1

vCM

Sampling

S1 opens early tosample the input"Bottom Plate Sampling"

φ1

φ1D

φ2

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 8

Charge Injection• At the instant of sampling, some of the

charge stored in sampling switch S1 is dumped onto C

• With "Bottom Plate Sampling", charge injection comes only from S1 and is to first-order independent of vIN– Only a dc offset is added to the input signal– This dc offset can be removed with a

differential architecture

Page 5: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 9

Flip-Around T/H

vIN vOUT

C

S1A

φ1D

S2

φ2

S2A

φ2

S3

φ1D

φ1 S1

vCM

Constant switch VGSto minimize distortion

φ1

φ1D

φ2

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 10

Flip-Around T/H

vIN vOUT

C

S1A

φ1D

S2

φ2

S2A

φ2

S3

φ1D

φ1 S1

vCM

Small Nch-only φ1

φ1D

φ2

Page 6: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 11

Flip-Around T/H• S1 is an n-channel MOSFET• Since it always switches the same voltage, it’s on-

resistance, RS1, is signal-independent (to first order) • Choosing RS1 >> RS1A minimizes the non-linear

component of R = RS1A+ RS1– S1A is a wide (much lower resistance than S1) constant VGS

switch– In practice size of S1A is limited by the (nonlinear) S/D

capacitance that also adds distortion– If S1A’s resistance is negligible à delay depends only on S1

resistance– S1 resistance is independent of vIN à delay is independent

of vIN

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 12

Differential Flip-Around T/H

Ref: W. Yang, et al. “A 3-V 340-mW 14-b 75-Msample/s CMOS ADC With 85-dB SFDRat Nyquist Input,” IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 36, NO. 12, DECEMBER 2001 1931

Offset voltage associated with charge injection of S11 & S12 cancelled by differential nature of the circuit

S11

S12

Page 7: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 13

Differential Flip-Around T/H

• Gain=1• Feedback factor=1• ∆Vin-cm=Vout_com-Vsig_com

à Amplifier needs to have large input common-mode compliance

φ1’φ1φ2

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 14

Differential Flip-Around T/HChoice of Sampling Switch Size

Ref: K. Vleugels et al, “A 2.5-V Sigma–Delta Modulator for Broadband Communications Applications “ IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 36, NO. 12, DECEMBER 2001, pp. 1887

•THD simulated w/o sampling switch boosted clock à -45dB•THD simulated with sampling switch boosted clock (see figure)

Page 8: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 15

Input Common-Mode Cancellation

Ref: R. Yen, et al. “A MOS Switched-Capacitor Instrumentation Amplifier,” IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. SC-17, NO. 6,, DECEMBER 1982 1008

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 16

Input Common-Mode Cancellation

Track mode (φ high)VC1=VI1 , VC2=VI2Vo1=Vo2=0

Hold mode (φ low)Vo1+Vo2 =0Vo1-Vo2= -(VI1-VI2)(C1/(C1+C3))

à Input common-mode level removed

Page 9: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 17

S/H + Charge Redistribution Amplifier

Track mode (S1, S3 àon S2à off)VC1=Vos –VIN , VC2=0Vo=Vos

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 18

S/H + Charge Redistribution AmplifierCont‘d

Hold/amplify mode (S1, S3 àoff S2à on)

àOffset NOT cancelled, but not amplifiedàInput-referred offset =(C2/C1)xVOS, & C2<C1

2

1

Page 10: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 19

S/H & Input Difference Amplifier

Sample mode (S1, S3 àon S2à off)VC1=Vos –VI1 , VC2=0Vo=Vos

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 20

Input Difference AmplifierCont‘d

Subtract/Amplify mode (S1, S3 àoff S2à on)During previouse phase:VC1=Vos –VI1 , VC2=0Vo=Vos

1

àOffset NOT cancelled, but not amplifiedàInput-referred offset =(C2/C1)xVOS, & C2<C1

Page 11: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 21

S/H & Summing Amplifier

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 22

S/H & Summing AmplifierCont‘d

Sample mode (S1, S3, S5àon S2, S4à off)VC1=Vos –VI1 , VC2=Vos-VI3, VC3=0Vo=Vos

Page 12: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 23

S/H & Summing AmplifierCont‘d

Amplify mode (S1, S3, S5àoff, S2, S4à on)

3

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 24

Differential S/H Combined with Gain Stage

Ref: S. H. Lewis, et al., “A Pipelined 5-Msample/s 9-bit Analog-to-Digital Converter” IEEE JSSC, VOL. SC-22,NO. 6, DECEMBER 1987

Page 13: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 25

Ref: S. H. Lewis, et al., “A Pipelined 5-Msample/s 9-bit Analog-to-Digital Converter” IEEE JSSC, VOL. SC-22,NO. 6, DECEMBER 1987

Differential S/H Combined with Gain Stage

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 26

Ref: S. H. Lewis, et al., “A Pipelined 5-Msample/s 9-bit Analog-to-Digital Converter” IEEE JSSC, VOL. SC-22,NO. 6, DECEMBER 1987

• Gain=4C/C=4• Feedback factor =1/(1+G)=0.2• Input common-mode level removed• Amplifier offset not removed

Differential S/H Combined with Gain Stage

Page 14: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 27

Ref: H. Ohara, et al., "A CMOS programmable self-calibrating 13-bit eight-channel data acquisition peripheral," IEEE Journal of Solid-State Circuits, vol. 22, pp. 930 - 938, December 1987.

• Operation during offset cancellation shown• Auxilary inputs added with Amain/Aaux.=10• During offset cancellation phase AZ and S1 closed à main amplifier offset stored on CAZ• Auxiliary amp chosen to have lower gain so that aux. amp offset & charge injection

associated with opening of switch AZ à reduced by Aaux/Amain=1/10• Requires an extra auto-zero clock phase

Differential S/H Including Offset Cancellation

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 28

Differential S/H Including Offset CancellationOperational Amplifier

Ref: H. Ohara, et al., "A CMOS programmable self-calibrating 13-bit eight-channel data acquisition peripheral," IEEE Journal of Solid-State Circuits, vol. 22, pp. 930 - 938, December 1987.

• Operational ampliferàdual input folded-cascode opamp

• M3,4 auxilary input, M1,2 main input

• To achieve 1/10 gain ratio WM3, 4 =1/10x WM1,2 & current sources are scaled by 1/10

• M5,6,7 à common-mode control

• Output stage à dual cascodeà high DC gain

Page 15: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 29

ESD ProtectionADC Architectures

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 30

What is ESD?

• Electrostatic discharge• Example: Charge built up on human body

while walking on carpet...• Charged objects near or touching IC pins

can discharge through on-chip devices• Without dedicated protection circuitry, ESD

events are destructive

Page 16: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 31

Model and Protection Circuit

[http://www.ce-mag.com/archive/03/ARG/dunnihoo.html]

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 32

Equivalent Circuit

• Nonlinear capacitance causes distortion• Distortion increases with frequency

– Today's converters: High frequency, low distortion!

[I. E. Opris, "Bootstrapped pad protection structure,"IEEE J.Solid-State Circuits, pp. 300, Feb. 1998.]

Page 17: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 33

ESD Circuit Distortion

[I. E. Opris, "Bootstrapped pad protection structure," IEEE J.Solid-State Circuits, pp. 300, Feb. 1998.]

C(Vin)= 2..4pFfor Vin=2..0V

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 34

ESD Circuit Distortion

• Analysis: – Model nonlinear cap & run SPICE – Hand calculations using Volterra Series

• Example:

R Cj CL

vi vo R=25ΩCjo=1pFCL=5pFVipeak=0.5V

Page 18: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 35

ESD Circuit Distortion

HD3(37.5MHz) = -92dBHD3(100MHz) = -84dB

f

1MHz 10MHz 100MHz 1GHz

-100

-80

-60

Second Order Distortion [dBc]

Input frequency

20 lo

g H

D2

-120

-100

-80

Third Order Distortion [dBc]

20 lo

g H

D3

1MHz 10MHz 100MHz 1GHz

Input frequency

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 36

ESD Circuit Distortion• Distortion from ESD circuits approaches state

of-the-art ADC performance!• If you are working on a new, record breaking

ADC, better think about ESD now...• Ref.: A. Wang, "Recent developments in ESD

protection for RF IC," Proc. DAC Conference, Jan. 2003

• Solutions still pre-mature• Lots of company IP

Page 19: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 37

ADC Architectures• Slope Converters• Successive approximation• Flash• Folding• Time-interleaved / parallel converter• Residue type ADCs

– Two-step– Pipeline– Algorithmic– …

• Oversampled ADCs

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 38

Single Slope ADC

• Low complexity• Hard to generate precise ramp• Better: Dual Slope, Multi-Slope

RampGenerator

Time

VR

amp

VRampVIN

"0"

Counterstop

start

Clock

Page 20: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 39

Dual Slope ADC

http://www.maxim-ic.com/appnotes.cfm/appnote_number/1041

• Integrate Vin for fixed time, de-Integrate with Vref applied à TDe-Int ~ Vin/Vref

• Insensitive to most linear error sources

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 40

Successive Approximation

• Binary search over DAC output• High accuracy achievable (16+ Bits) • Moderate speed proportional to B (MHz range)

DAC

VIN

ControlLogic

Clock

VREF

VDAC / VREF

Time / Clock Ticks

1

1/2

3/45/8

VIN

1/2 3/4 5/8 11/16 21/32 41/64

Page 21: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 41

Flash Converter

• Very fast: only 1 clock cycle per conversion

• High complexity: 2B-1 comparators

• High input capacitance

R/2

R

R

R

R/2

R

Encoder DigitalOutput

VINVREFfs

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 42

Folding Converter

• Significantly fewer comparators than flash • Fast• Nonidealities in folder limit resolution to ~10Bits

LSBADC

MSBADC

Folding Circuit

VIN

DigitalOutput

Page 22: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 43

Time Interleaved Converter

• Extremely fast:Limited by speed of S/H

• Accuracy limited by mismatch in individual ADCs (timing, offset, gain, …)

S/H

4fs

ADC

fs

ADC

fs + T/4

ADC

fs + 2T/4

ADC

fs + 3T/4

Ser

ial /

Par

alle

l Con

vers

ion

VIN

Dig

ital O

utpu

t

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 44

Residue Type ADC

• Quantization error output (“residuum”) enables cascading for higher resolution

• Great flexibility for stages: flash, oversampling ADC, …• Optional S/H enables parallelism (pipelining)• Fast: one clock per conversion (with S/H), latency

S/H & Gain(optional)

coarse ADC (1 ... 6 Bit)

Partial Digital Output

VIN

ErrorDAC

Page 23: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 45

Pipelined ADC

• Approaches speed of flash, but much lower complexity• One clock per conversion, but K clocks latency• Efficient digital calibration possible• Versatile: from 16Bits / 1MS/s to 14Bits / 100MS/s

Digital Correction Logic

Stage 1B1 Bits

Stage 2B2 Bits

Stage KBk Bits

Digital outputup to (B1 + B2 + ... + Bk) Bits

VIN

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 46

Algorithmic ADC

• Essentially same as pipeline, but a single stage is used for all partial conversions

• K clocks per conversion

S/H coarse ADC (1 ... 6 Bit)

Digital Output

VIN ErrorDAC

Shift Register& Correction Logic

start of conversion

2B

Page 24: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 47

Oversampled ADC

• Hard to comprehend … “easy” to build• Input is oversampled (M times faster than output rate)• Reduces Anti-Aliasing filter requirements and

capacitor size• Accuracy independent of component matching• Very high resolution achievable (> 20 Bits)

H(z)Digital

DecimationFilter

DAC

VINDigitalOutput

fs fs/M

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 48

Throughput Rate Comparison

100

101

102

103

104

105

0

2

4

6

8

10

12

14

16

18

Clock Cycles per Conversion

Res

olut

ion

[Bit

]

Fla

sh, P

ipel

ine~

1 to

2

Suc

cess

ive

App

roxi

mat

ion~

B2

ndO

rder

1-B

it

Ove

rsam

pled

~2(0

.4B+

1)

Serial ~2B

Page 25: EE247 Lecture 18 - University of California, Berkeleyee247/fa04/fa04/lectures/L18_f04.pdf · EE247 Lecture 18 ADC Converters – Sampling switch charge injection ... – Only a dc

EECS 247 Lecture 18: Data Converters © 2004 H.K. Page 49

Speed-Resolution Map

[www.v-corp.com]