28
What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied from Georgia Tech It is slightly modified from the original

What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Embed Size (px)

Citation preview

Page 1: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs

Analog to Digital Converter

Denis BISSIERES

Ian CAMPBELL

Yohan LESPERAT

Mechatronics - Fall 04

This presentation is copied from Georgia TechIt is slightly modified from the original

Page 2: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs

Contents

• What is ADC ?• Types of ADCs• HC11 & ADC

Page 3: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

What is ADC ?

Types of ADCs

• Definition• Examples of use• Conversion process• Accuracy

Page 4: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• Most signals we want to process are analog• i.e.: they are continuous and can take an

inifinity of values

x(t)

t

What is ADC ?

Types of ADCs

Definition

Page 5: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• Digital systems require discrete digital data• ADC converts an analog information into a

digital information

Digital System?Analog Digital

What is ADC ?

Types of ADCs

Definition

Page 6: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• Voltmeter

What is ADC ?

Types of ADCs

Examples of use

• Cell phone (microphone)

ΔV 7.77 V

Wave

Voice

Page 7: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

3 steps:• Sampling• Quantification• Coding

These operations are all performed in a same element: the A to D Converter

What is ADC ?

Types of ADCs

Conversion process

Page 8: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

xs(t=k*Ts)

• Digital system works with discrete states• The signal is only defined at determined

times• The sampling times are proportional to the

sampling period (Ts)

x(t)

Ts

What is ADC ?

Types of ADCs

Conversion process: Sampling

x(t)

tTs

xs(t)

Page 9: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

The signal can only take determined values

Belonging to a range of conversion (ΔVr)• Based on number of bit combinations that

the converter can output• Number of possible states:

N=2n where n is number of bits• Resolution: Q= ΔVr/N

What is ADC ?

Types of ADCs

Conversion process: Quantification

tTs

xs(t)

ΔVrQ

xq(t)

Page 10: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• Assigning a unique digital word to each sample

• Matching the digital word to the input signalWhat is ADC ?

Types of ADCs

Conversion process: Coding

tTs

ΔVrQ

xq(t)

012

N-1N-2

Page 11: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

The accuracy of an ADC can be improved by increasing:

• The sampling rate (Ts)

• The resolution (Q)

What is ADC ?

Types of ADCs

Accuracy

Page 12: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

tTs

Q

xq(t)

What is ADC ?

Types of ADCs

Accuracy

tTs

xq(t)Higher Sampling rate

t

Q

xq(t)Higher Resolution

Page 13: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs

Sampling rate

Nyquist-Shannon theorem: Minimum sampling rate should be at least twice the highest data frequency of the analog signalfs>2*fmax

Page 14: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs

Sampling rate

• Analog signals are composed of an infinity of harmonics

• Need to limit the frequency band to its useful part

• Use of an analog filter

ADCAnalog DigitalAnalog AnalogFilter

In practice: fs ≈ (3…5)*ffilter

Page 15: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs

Example

• 8 bits converter: n=8

• Range of conversion: ΔVr=5V

• Sampling time: Ts=1ms

Analog

0

5

0

255

Digital

• Number of possible states: N=28=256

• Resolution: Q=ΔVr/N=19.5 mV

• Analog Filter: ffilter ≈ fs/5 = 200 Hz

fGain

Page 16: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Types of ADCs

• Flash ADC• Sigma-delta ADC• Dual slope converter• Successive approximation converter

What is ADC ?

Types of ADCs

Page 17: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• “parallel A/D”• Uses a series of

comparators• Each comparator

compares Vin to a different reference voltage, starting w/ Vref = 1/2 lsb

What is ADC ?

Types of ADCs

Flash ADC

Page 18: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Comparator is one use of an Op-Amp

+

-

VIN

VREF

VOUT If Output

VIN > VREF High

VIN < VREF Low

What is ADC ?

Types of ADCs

Flash ADC

Page 19: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Advantages• Very fast

Disadvantages• Needs many parts

(255 comparators for 8-bit ADC)

• Lower resolution • Expensive• Large power

consumption

Flash ADC

What is ADC ?

Types of ADCs

Page 20: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• Oversampled input signal goes in the integrator• Output of integration is compared to GND• Iterates to produce a serial bitstream • Output is serial bit stream with # of 1’s proportional

to Vin

What is ADC ?

Types of ADCs

Sigma-Delta ADC

Σ

Integrator

Digital

low-pass filter

Sample decimator

Vin +-

+

1-bit

DAC

-

OversamplerSerial output

Page 21: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Advantages

• High resolution• No precision

external components needed

Disadvantages

• Slow due to oversampling

What is ADC ?

Types of ADCs

Sigma-Delta ADC

Page 22: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• The sampled signal charges a capacitor for a fixed amount of time

• By integrating over time, noise integrates out of the conversion.• Then the ADC discharges the capacitor at a fixed rate while a

counter counts the ADC's output bits. A longer discharge time results in a higher count.

t

VintFIX tmeas

What is ADC ?

Types of ADCs

Dual Slope converter

Page 23: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Advantages

• Input signal is averaged

• Greater noise immunity than other ADC types

• High accuracy

Disadvantages

• Slow• High precision

external components required to achieve accuracy

What is ADC ?

Types of ADCs

Dual Slope converter

Page 24: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

• Sets MSB• Converts MSB to

analog using DAC• Compares guess to

input• Set bit• Test next bit

SAR DAC

Out

VIN

-+What is ADC ?

Types of ADCs

Successive Approximation

1000 0000

Is Vin > ½ ADC range?

0100 0000

If no, then test next bit

Page 25: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

Advantages

• Capable of high speed

• Medium accuracy compared to other ADC types

• Good tradeoff between speed and cost

Disadvantages

• Higher resolution successive approximation ADCs will be slower

• Speed limited ~5Msps

What is ADC ?

Types of ADCs

Successive Approximation

Page 26: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs

Successive Approximation

Page 27: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

ADC Resolution Comparison

0 5 10 15 20 25

Sigma-Delta

Successive Approx

Flash

Dual Slope

Resolution (Bits)

Type Speed (relative) Cost (relative)

Dual Slope Slow Med

Flash Very Fast High

Successive Appox Medium – Fast Low

Sigma-Delta Slow Low

What is ADC ?

Types of ADCs

ADC Types Comparison

Page 28: What is ADC ? Types of ADCs Analog to Digital Converter Denis BISSIERES Ian CAMPBELL Yohan LESPERAT Mechatronics - Fall 04 This presentation is copied

What is ADC ?

Types of ADCs Questions ?