Adc F09
Adc F09
Adc F09
In presenting Order:
Josh Navikonis
Moiz H
Mike Hochman
Brian Post
ME 6405
9/29/2009
Agenda
Introduction to ADC
Types of ADC
Characteristics of ADC in MC9S12C
Application and Selection of ADC
Introduction of ADC
What is ADC?
Why is ADC important?
How does it work?
What is ADC?
ADC (Analog to Digital Converter) is an electronic device
that converts a continuous analog input signal to
discrete digital numbers (binary)
Analog
Real world signals that contain noise
Continuous in time
Digital
Discrete in time and value
Binary digits that contain values 0 or 1
Why is ADC Important?
2 Stages:
Sampling
Sample-Hold Circuit
Aliasing
Quantizing and
Encoding
Resolution
Binary
output
Sampling
Simple Sample and Hold Circuit Response of Sample and Hold Circuit
Sampling
Sampling rate depends on
clock frequency
Use Nyquist Criterion
Increasing sampling rate
increases accuracy of
conversion
Possibility of aliasing
Sampling Signal: Tw
1
Sampling Period: Ts f
s
fs
Can exist even when: 2 f max
Prevented through the use of Low-Pass (Anti-aliasing)
Filters
Quantizing and Encoding
Approximates a continuous range of values and
replaces it with a binary number
Error is introduced between input voltage and
output binary representation
Error depends on the resolution of the ADC
Resolution
Resolution
Resolution
Increase in resolution improves the accuracy of the conversion
Comparator
FLASH A/D
CONVERTER
Resoluti
on
23-1 = 7
Comparators
Pro Con
s
Fastest (in s additional
Each
the order of bit of resolution
nano seconds) requires twice
Simple the number of
operational comparators
theory Expensive
Speed is Prone to
limited only produce glitches
by gate and in the output
comparator
propagation
delay
Elements of Dual-Slope
ADC
Integrator
Dual-Slope ADC
*
Elements of the Successive
Approximation ADC
Successive Approximation
Register
Vref = 10
V
5
7.7.
55
6.25
6.25 Cumulative
DAC Input DAC Vout Voltage
6.875 D7 5.0000 5.0000
D6 2.5000 7.5000
6.5625
6.5625 D5 1.2500 8.7500
D4 0.6250 9.3750
6.71875
D3 0.3125 9.6875
6.79687
6.79687 D2 0.15625 9.84375
55 D1 0.078125 9.921875
6.83593
6.83593 D0 0.0390625 9.9609375
7575
6.84
V
Dual Slope A/D Converter
Contd.
Pros Con
High s
Slow
accuracy Accuracy is
Fewer dependent on
adverse the use of
affects from precision
noise external
components
Delta-Sigma ADC
Delta-Sigma ADC
contd.
#1 Delta-Sigma
Modulator
Delta-Sigma ADC
contd.
#2 Digital
Filter
Decimator
Sigma-Delta A/D Converter
Contd.
Pros Con
High s
Slow due to
Resolution over sampling
No need of Good for low
precision bandwidth
components
ADC Comparison
Presented by:
Michael Hochman
MC9S12C32 Block Diagram
ATD10B8C Block Diagram
ATD10B8C Key Features
Resolution
8/10 bit (manually chosen)
Conversion Time
7 usec, 10 bit
Successive Approximation ADC architecture
8-channel multiplexed inputs
External trigger control
Conversion modes
Single or continuous sampling
Single or multiple channels
ATD10B8C External Pins
12 external pins
AN6/PAD6 AN0/PAD0
Analog input
General purpose digital I/O
VRH, VRL
High and low reference voltages for ADC
VDDA, VSSA
Power supplies for analog circuitry
ATD10B8C Registers
0010
1011
0101
e e*
0011
1001
0101
0010
1010
Controller
t t t t
e*(t) u*(t)
Digital
R + e S/H D/A u Y
& CPU & Plant
Controll
- ADC er Hold
Clock
0010
1011
0101
e e*
0011
1001
0101
0010
1010
Controller
t t t t
Analog
Analog
Output
Input
ADC D/A
Programmable Logic
Controllers
ADC in PLCs Rockwell PLC
PLCs are the industry standard Analog I/O Module
for automation tasks including:
Motion Control
Safety Systems
designed for:
multiple inputs and output
arrangements
extended temperature ranges
immunity to electrical noise
resistance to vibration and
impact
Most I/O are Boolean, however
most PLC systems have an
analog I/O module
Sensor Integration
(Robotics)
Many robots use
microprocessors
ADC allows robots to
interpret
environmental cues
and compensate
If the algorithm needs
to be changed its a
simple matter of
modifying the code
Analog control
systems require a
complete circuit
redesign
Cell Phones
Why Digital?
Digital signals can be easily
manipulated
Digital phones convert your
voice intobinaryinformation
and then compress it
Thiscompressionallows
between three and 10 digital
calls to occupy the space of
asingleanalog call.
Theanalog-to-
digitalanddigital-to-
analogconversion chips
translate the outgoing audio
signal from analog to digital
and the incoming signal from
digital back to analog
Audio Devices
TV Tuners