1 introduction to analog-to-digital converters shraga kraus adc

Post on 21-Dec-2015

240 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Introduction to Analog-to-Digital

Converters

Shraga Kraus

ADC

2

Contents

Background Some Basic Analog

Circuits ADC Architectures

Flash ADC Folding ADC Algorithmic ADCs Pipeline ADC

Time-Interleaved Structure

Characterization in the Lab

Discussion

3

Background

4

ADC Model (1/2)

Analog signal: continuous both in time and value

Digital signal: discrete both in time and value

Discrete time (sampling) aliasing Discrete value (resolution)

quantization

5

ADC Model (2/2)

Modeled as a linear system + quantization noise

For easy analog treatment, noise is input-referred noise

6

Sampling for Dummies (1/3)

Sampling = multiplication by an impulse train

Y (t ) = X (t ) · S (t ) Ts = sampling interval fs = 1/Ts = sampling frequency

t

Ts

7

Sampling for Dummies (2/3)

In the frequency domain: Y (f ) = X (f ) * S (f )

“Aliasing” is evident

8

Sampling for Dummies (3/3)

Nyquist sampling:

Over-sampling:

Under-sampling:

9

Anti-Aliasing Filter Nyquist

sampling:

Over-sampling:

Under-sampling:

10

Incoherence – by Comics

Consider the following sinusoidal inputs, sampled at fs:

t

11

Quantization (1/4)

Δ = LSB m = num of

bits Full scale

amplitude:2

2

m

A

0

Δ

A

76543210

12

Quantization (2/4)

For incoherent sinusoidal input: Assuming uniform distribution of

quantization noise from –Δ/2 to +Δ/2

–Δ/2 +Δ/20

1/ΔFqn

x

13

Quantization (3/4) For incoherent sinusoidal input

with full scale amplitude: Signal power:

Noise power:

2

2 2 2 31 1 22

2 2 2

mm

sigP A

3 22 2

2 2

2 2

1 1 1

3 4 12qn qnP F x x dx x dx

14

Quantization (4/4) SNR:

Effective number of bits (ENOB):

2 2 32

2

10

2 322

1210log 6.02 1.76

msig m

qn

dB

PSNR

P

SNR SNR m

1.76

6.02dBSNR

ENOB

15

Example Simulated ideal 7-bit ADC:

SNR = 43.8 dB ENOB = 7

16

Practical Over-Sampling Out-of-band noise is filtered out digitally

OSR = 2 SNR x2 (+3dB) ENOB +½

1.76

6.02dBSNR

ENOB

17

What is ½ Bit?

18

Non-Linear Effects (1/2)

Integral Non-Linearity (INL)

Vin

outputcode

76543210

Vref0

19

Non-Linear Effects (2/2)

Differential Non-Linearity (DNL)

Vin

outputcode

76543210

Vref0

20

Some Basic Analog Circuits

21

Differential Pair

The core of every op amp Finite gain (Av = gmRD) Finite bandwidth Finite slew rate Input capacitance Non-linearity

22

Voltage Buffer (1/2)

Theoretically Vout = Vin

Finite gain results in output offest Finite bandwidth (esp. with 2 stages) Finite settling time Input capacitance

reduced by feedback, but still exists

23

Voltage Buffer (2/2) Settling time:

Time

Outp

ut

Volt

age

slew rate

damping

Tsettling

24

Switch (CMOS Only!) (1/2)

Has finite resistance Resistance depends on the input

voltage (linearity issues) Parasitic capacitances result in

charge sharing Complicated

correction circuits

25

Switch (CMOS Only!) (2/2)

Resistance depends on the input voltage (linearity issues)

26

Comparator

Basically an open-loop op amp Must make a decision quickly Memory effect Input capacitance not reduced

by feedback Latched comparator –

triggered by clock

27

Sample & Hold

Triggered by clock Finite settling time Must be very accurate when

placed at the ADC’s input (noise/linearity)

Speed and accuracy are achieved only by very complicated circuits

28

10-Minute Break

29

ADC Architectures

30

Implementation Methods Discrete time

Requires switches Takes advantage of

switched capacitors Continuous Time

1 clock cycle / decision

Frequencies set by absolute R-C values

31

Flash ADC Continuous Time No. of comparators

= 2m – 1 Output in

thermometer code Thermometer code

is converted to binary by simple logic

Fastest topology0011111 = ‘101 = 5

32

Flash ADC Limitations Many comparators

– a lot of area & power

Resistors must be matched (area)

Input drives comparators’ capacitances

Number of bits is limited (~ 5 bits)

33

Non-Linearity of Flash ADC Resistor ladder

mismatch Input buffer CLK/vin skew

or input S&H non-linearity

Comparators’ “memory effect”

34

Folding ADC Continuous Time No. of

comparators = 2m/ 2 (approx.)

Fast with quite a high resolution

Common in instrumentation

vout

vin

VREF

VREF

35

Folding ADC Limitations

Flash drawbacks are alleviated, but still there

The folding amplifier must fold accurately and be linear

The folding amplifier introduces a delay and result in skew between the two flash ADCs

36

Non-Linearity of Folding ADC

Inherited flash non-linearity

Non-linearity of the folding amplifier

CLK/vin skew between the two flashes or input S&H non-linearity

37

Algorithmic ADCs Discrete Time Small No. of comparators (reduced area &

power) High resolution (up to 16 bits) Digital circuitry, usually plenty of switches Output data rate = fs /m or fs /2m (= slow…) Types: single/dual slope, successive

approximation register (SAR), integrating (Agilent’s patent)

Common in slow instrumentation and consumer devices (e.g. digital cameras)

38

Example: Single-Slope ADC

t

VREF

vin

Start!

• Counter reset to 0 and starts counting• Slope triggered

Stop!

• Comparator’s output flips • Counter stops

S&H

39

Single-Slope ADC Limitations

Calibrations are required: Absolute R-C or L-C values Non-linearity of the slope

Maximum time per decision: 2m clock cycles (sloooooooooooow)

S&H must be as accurate as the ADC

However : one slope + one counter can be used for many ADCs

40

Non-Linearity of Single-Slope

Non-linearity of the slope Input S&H non-linearity Incomplete capacitor discharge

(“memory effect” of the slope)

41

Pipeline ADC Discrete Time No. of comparators = m Switched capacitor circuitry Common in CMOS

42

C0x2

‘1’

C1

–VREF/2thenx2

‘0’

Pipeline ADC – ExampleVREF = 1 Vvin = 0.65 VDout = ‘101

C2

‘1’

43

Pipeline ADC Limitations

Speed limited by switches and op amp settling time

The first comparator must be extremely accurate (1½ bit arch.)

Switches and op amps are lousy in contemporary CMOS technologies

44

Non-Linearity of Pipeline ADC

Input S&H non-linearity (if exists) Amplifiers’ gain error (low gain) Amplifiers’ gain different than x2

(feedback capacitor mismatch) Amplifiers’ settling time Inaccuracy in VREF /2 subtraction

45

Time-Interleaved Structure

46

The Principle

Using many slow ADCs Each ADC samples the signal

at a different phase

t

47

The Structure

τ

τ

τ

ADC 1

ADC 2

ADC 3

ADC 4

vin

CK

48

Limitations

Many ADCs – area, power Signal and clock distribution

networks are required Signal and clock distributed

with different delays Advanced RF techniques Complicated calibration

49

Characterization in the Lab

50

Pure Sine

Effective Number of Bits

Signal Generator

Signal Generator

ADC

51

Dual Tone

Linearity

Signal Generator

Signal Generator

ADC

SFDR

52

Discussion

53

Periodic Non-Uniform Sampling

Recall the example from Moshiko’s presentation: L = 7 p = 3 C = {0, 2, 3}

Are there two adjacent elements from L in C ?

54

Two Adjacent Samples C = {0, 2, 3}

Speed constraints on the ADC are not relaxed

Time-interleaved structure can benefit from omitting some of the ADCs

0123456

55

No Adjacent Samples C = {0, 2, 5}

Speed constraints on the ADC are now relaxed

Clock generator implemented by a simple logic circuit

Time-interleaved structure can benefit from omitting some of the ADCs

0123456

56

top related