Analog-to-Digital Converter (ADC) : Siyumie Wijesinghe
Analog-to-Digital Converter (ADC) : Siyumie Wijesinghe
Siyumie Wijesinghe
Background Information
What is ADC?
Conversion Process
Accuracy
Examples of ADC applications
Signal Types
Analog Signals
Any continuous signal that a
time varying variable of the
signal is a representation of
some other time varying
quantity
Measures one quantity in
terms of some other quantity t
Examples
• Speedometer needle as
function of speed
• Radio volume as function of
knob movement
Signal Types
Digital Signals
Consist of only two states
Binary States
On and off 1
Quantizing
and
Encoding
Sampling and
Hold
t
Input: Analog Signal t
ADC Process
Sampling & Hold
01
00
K=22 00 01
10
11
ADC Process
Quantization & Coding
01
00
K=22 00 01
10
11
ADC Process
Quantization & Coding
t t
Sampling Rate, Ts Resolution, Q
Based on number of steps Improves accuracy in
required in the conversion measuring amplitude of
process
analog signal
Increases the maximum
frequency that can be measured
Limited by the signal-to-
noise ratio (~6dB)
ADC Process-Accuracy
The accuracy of an ADC can be improved by increasing:
t t
Sampling Rate, Ts Resolution (bit depth), Q
Based on number of steps
required in the conversion Improves accuracy in
process measuring amplitude of
Increases the maximum analog signal
frequency that can be measured
ADC-Error Possibilities
Aliasing (sampling)
Occurs when the input signal is changing much faster than
the sample rate
Should follow the Nyquist Rule when sampling
• Answers question of what sample rate is required
• Use a sampling frequency at least twice as high as the maximum
frequency in the signal to avoid aliasing
• fsample>2*fsignal
Quantization Error (resolution)
Optimize resolution
Dependent on ADC converter of microcontoller
ADC Applications
ADC are used virtually everywhere where an
analog signal has to be processed, stored, or
transported in digital form
Microphones
Strain Gages
Thermocouple
Digital Multimeters
Types of ADC
+
_
Control
Logic
Start Stop
Clock Counter
Dual-Slope ADC – How It Works
An unknown input voltage is applied to the input of the integrator and allowed to
ramp for a fixed time period (tu)
Then, a known reference voltage of opposite polarity is applied to the integrator
and is allowed to ramp until the integrator output returns to zero (t d)
The input voltage is computed as a function of the reference voltage, the constant
run-up time period, and the measured run-down time period
The run-down time measurement is usually made in units of the converter's clock,
so longer integration times allow for higher resolutions
The speed of the converter can be improved by sacrificing resolution
td
Vin Vref
tu
Delta-Sigma A/D Converter