Professional Documents
Culture Documents
1
Analog Signals every where
Examples of A/D
• Microphones - take your voice varying pressure waves in the air
and convert them into varying electrical signals
• Seat Belt-
• Thermocouple – temperature measuring device converts thermal
energy to electric energy
• Voltmeters
• Digital Multimeters
• ADSL
Most signals are
Need to Sample an analog
analog signal
Then convert to digital
by A/D converter
Figure 9.36 The process of periodically sampling an analog signal. (a) Sample-and-hold (S/H) circuit.
The switch closes for a small part (t seconds) of every clock period (T). (b) Input signal waveform. (c)
Sampling signal (control signal for the switch). (d) Output signal (to be fed to A/D converter). 3
A/D converter and D/A Converters
Analog to Digital Digital to Analog
4
A/D converter
Converts analog signals into binary words
D/A Conversion
Normal Output from digital domain is staircase
Filtered to produce smooth Analog output
Figure 9.38 The analog samples at the output of a D/A converter are usually fed to a sample-and-hold
circuit to obtain the staircase waveform shown. This waveform can then be filtered to obtain the smooth
waveform, shown in color. The time delay usually introduced by the filter is not shown. 6
Conversion accuracy: eg 2-bits
Blue line ?
• Analog is continuous
• Limited by number
of bits
Red ?
7
3-bit conversion example
Quantization levels
Eg 5V divided into 8
levels – each 0.625
Each binary representation is a “range”
8
D/A conversion implementation
Weighted Summing Circuit
in = ?
i =?
Figure 9.39 An N-bit D/A converter using a binary-weighted resistive ladder network.
10
Analog Digital Conversion
2-Step Process:
– Flash ADC
– Delta-Sigma ADC
– Dual Slope (integrating) ADC
– Successive Approximation ADC
ADC Types Comparison
ADC Resolution Comparison
Dual Slope
Flash
Successive Approx
Sigma-Delta
0 5 10 15 20 25
Resolution (Bits)
17
PIC microcontroller A/D
10-bit resolution 8 Analog channels
controlled by
program. registers
If 0-5V range
What is pic resolution
What is 3.65V
In digital domain ?
18
Flash ADC
Advantages Disadvantages
• Simplest in terms of
operational theory • Lower resolution
• Expensive
• Most efficient in terms of • For each additional output
speed, very fast bit, the number of
• limited only in terms of comparators is doubled
comparator and gate
• i.e. for 8 bits, 256
propagation delays
comparators needed
A / D Converter
– CMOS
Implementation
Charge-redistribution
A/D
FYI
Figure 9.46 Charge-redistribution A/D converter suitable for CMOS implementation: (a) sample phase, (b) hold
phase, and (c) charge-redistribution phase.
23