eet260: a/d and d/a converters

22
EET260: A/D and D/A converters

Upload: zaynah

Post on 25-Feb-2016

56 views

Category:

Documents


4 download

DESCRIPTION

EET260: A/D and D/A converters. A/D conversion. We will consider process and circuits required to convert an analog waveform into a digital output. 0110 0111 1000 1010 1100 1110 1111 1111 1111 1110 1100 1010 0111 0101 0011. Analog-to-digital conversion. A/D conversion. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: EET260:  A/D and D/A converters

EET260: A/D and D/A converters

Page 2: EET260:  A/D and D/A converters

A/D conversion We will consider process and circuits required to

convert an analog waveform into a digital output.

011001111000101011001110111111111111111011001010011101010011

Analog-to-digital conversion

0 1 2 3 4 5 6

-1.00

-0.75

-0.50

-0.25

0.00

0.25

0.50

0.75

1.00

Time (ms)

Vol

tage

(V)

Page 3: EET260:  A/D and D/A converters

A/D conversion A modern A/D converter is a single-chip IC

which performs the following processes.

[ADC IC picture]

Anti-aliasingfilter

Sample-and-hold(S/H) circuit

A/D converter

011001111000101011001110111111111111111011001010011101010011

Page 4: EET260:  A/D and D/A converters

Sampling and aliasing Sampling is basically a multiplication process,

and it gives rise to sidebands just like AM modulation does.

analog input

sampling pulses

sampled output

Page 5: EET260:  A/D and D/A converters

The frequency spectrum resulting from sampling looks like:

Decreasing the sampling frequency ( fs ), we get:

If we continue to decrease fs to a value less than the Nyquist rate, aliasing (overlapping of the spectra) occurs:

Sampling and aliasing (frequency)

We get a carrier and upper and lower sidebands at multiples of the sampling frequency: fs, 2fs, 3fs , etc.

Page 6: EET260:  A/D and D/A converters

Sampling and aliasing To eliminate the problem, a low-pass filter called

an anti-aliasing filter is included at the input of the A/D converter to block any frequencies higher than one-half the sampling frequency.

Anti-aliasingfilter

Sample-and-hold(S/H) circuit

A/D converter

Page 7: EET260:  A/D and D/A converters

Sample-and-hold circuit A/D conversion begins with sampling, which is

carried out by a sample-and-hold (S/H) circuit. The S/H circuit takes a precise measurement of

the analog voltage at specified intervals.

Anti-aliasingfilter

Sample-and-hold(S/H) circuit

A/D converter

Page 8: EET260:  A/D and D/A converters

Sample-and-hold circuit A sample-and-hold (S/H) circuit accepts the

analog input signal and passes it through, unchanged, during its sampling mode.

In the hold mode, the amplifier remembers or memorizes a particular voltage level at the instant of sampling.

The output is a fixed DC level whose amplitude is the value at the sampling time.

Page 9: EET260:  A/D and D/A converters

Conversion The constant S/H output during the sampling

interval permits accurate quantization. The last step is the conversion from an analog

voltage into a binary number. Two common converters are:

Successive-approximation converter Flash converter

Anti-aliasingfilter

Sample-and-hold(S/H) circuit

A/D converter

Page 10: EET260:  A/D and D/A converters

Comparator Comparators are found in both types of A/D

converters. A comparator compares two analog inputs and

produces a binary output.

+A

B

+Vcc= +5 V

-Vcc= 0 V

Cinputs outputsif A > B C is true (+5 V)if A < B C is false (0 V)

Page 11: EET260:  A/D and D/A converters

Successive-approximation converter This converter contains an 8-bit successive-

approximations register (SAR).

Page 12: EET260:  A/D and D/A converters

Successive-approximation converter Special logic in the register causes each bit to

be turned on one at a time from MSB to LSB until the closest binary value is stored in the register.

At each clock cycle, a comparison is made. If the D/A output is greater than the analog input, that

bit is turned off (set to 0) If the D/A output is less than the analog input, that bit

is left on (set to 1). Process repeats until 8 bits are checked.

Page 13: EET260:  A/D and D/A converters

Successive-approximation converter If the clock frequency is 200-kHz, how long does

it take to complete the conversion for an 8-bit D/A converter?

Page 14: EET260:  A/D and D/A converters

Successive-approximation converter Successive-approximation converters are fast

and consistent. Conversion times range from 0.25 to 200 ms and

8-, 10-, 12-, and 16-bit versions are available.

Page 15: EET260:  A/D and D/A converters

Flash converter A flash converter uses a large resistive voltage

divider and multiple analog comparators.

Page 16: EET260:  A/D and D/A converters

Flash converter The encoder logic circuit converts the 7-bit input

from the comparators into a 3-bit binary output. The flash converter produces an output as fast

as the comparators can switch and the signals can be translated to binary levels by the logic circuits.

Flash converters are the fastest type of A/D converter.

Page 17: EET260:  A/D and D/A converters

Flash converter The number of comparators is equal to 2N – 1,

where N is the number of desired output bits.

0 1 2 3 4 5 6 7 8 9 10 110

200

400

600

800

1000

1200

n-bits

Num

ber o

f com

parto

rs (2

n )

Number of Comparators Required for an n-bit Flash ADC

Page 18: EET260:  A/D and D/A converters

Flash converter Flash A/D converters are complicated and

expensive but are the best choice for high-speed conversions. Conversion speeds < 100 ns are typical. Speed less than 0.5 ns are possible.

6-, 8-, 10-bit flash converters are available.

Page 19: EET260:  A/D and D/A converters

Digital-to-analog (D/A) conversion We will consider a circuit which convert a digital

signal into and analog output.

Analog-to-digital conversion

0 1 1 1 0 0 1 1 0 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1

0 1 2 3 4 5 6

-1.00

-0.75

-0.50

-0.25

0.00

0.25

0.50

0.75

1.00

Time (ms)

Vol

tage

(V)

D/Aconversion

Page 20: EET260:  A/D and D/A converters

Digital-to-analog (D/A) conversion One of the most popular D/A circuits is the R-2R

ladder shown below

Page 21: EET260:  A/D and D/A converters

R-2R ladder DAC The output voltage is given .

f 1 1Ref 1 21

2 2 2n n

o n

R b b bV VR

b0

b1

b2

b3Vref

Vo

Page 22: EET260:  A/D and D/A converters

Assume the R-2R ladder DAC circuit below as the following values: R = 50 k and Rf = 100 k. Assume Vref = 1 V. Determine the D/A converter output for the following binary inputs.a. 00002

b. 00012

c. 01012

d. 11112

e. What is the resolution of this D/A converter. b0

b1

b2

b3Vref

Vo

Example Problem 1