Analog-to-Digital Converter (ADC)
Analog-to-Digital Converter (ADC)
Module
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 of 1
V k
t t
ADC Conversion Process
Two main steps of process:
1. Sampling and Holding
2. Quantization and Encoding
Analog-to-Digital Converter
Quantizing
and
Encoding
Sampling and
Hold
t
Input: Analog Signal t
ADC Process
Sampling & Hold
10
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