Professional Documents
Culture Documents
Introduction
* The process of converting an analog signal
into an equivalent digital signal is known as
Analog to Digital (AD) conversion.
* The
conversion
time
depends
upon
the
03 07 10 14 09 02
00 04
Conversion Methods
* Ladder Comparison
* Successive Approximation
* Slope Integration
* Flash Comparison
Ladder Comparison
Successive Approximation
* Charge a capacitor at
constant current
* Count clock ticks
* Stop when the capacitor
voltage matches the input
* Cannot achieve high
resolution
* Capacitor and/or
comparator
Start
Slope integration
20
18
16
14
12
10
8
6
4
2
0
Vin
Start
Conversion
Conversion
10
Counting time
C
IN
Oscillator
14
16
Time
Enable
Counter
12
Clk
N-bit Output
Flash comparison
* If N is the number of bits in the
output word.
* Then
2N comparators
will
be
required.
ADC Essentials
Basic I/O Relationship
ADC is Rationing
System
x = Analog input
/
Reference
Fraction: 0 ~ 1
ADC Essentials
Quantization Error
n bits ADC
Number
of
discrete
output level : 2n
Quantum
LSB size
Q = LSB = FS / 2n
1/2 LSB
Reduced by increasing
n
Converter Errors
Offset Error
Gain Error
Converter Errors
Integral Linearity Error
Differential Linearity
Error
Approximation
ADC
Most Commonly Used
Dual Slop Integrating ADC
Voltage to Frequency ADC
Parallel or Flash ADC
Fast Conversion
Software Implementation
Shaft Encoder
Wave
form
Up/Down
to
input
track
signal
continuously
For slow varying
input
Successive Approximation
ADC
Based
on
approximating
the
approximation
until
best
approximation is achieved
SAR(Successive
Register)
holds
Approximation
the
current
Block Diagram
Successive Approximation
ADC
Circuit wave form
Logic Flow
T1
vi dt
Reset and
t2
integrate
t
vi ( AVG ) Vr 2
T1
Thus
T1vi ( AVG ) t2Vr
Vr dt
Low speed
If T1 = 60Hz, converter
throughput rate < 30
samples/s
Counter
Converter)
high
speed
2n 1 comparator
conversion
Precision Resistive
Up to 100MHz for 8 bit
Network
resolution
Encoder
Video, Radar, Digital
Oscilloscope
Resolution is limited
Large number of
comparator in IC
Software Implementation
Implementing
software
using Microprocessor
Counting
Shifting
Inverting
responsible cost
Code conversion
..
Shaft Encoder
Electromechanical ADC
Convert shaft angle to
digital output
Encoding
Optical or magnetic
sensor
Applications
Machine tools,
Shaft Encoder
Binary Encoder
Misalignment of
mechanism causes
large error.
Ex: 011 -> 111 (180 deg)
Gray Encoder
Misalignment causes of
1 LSB error.
The End
. Thank You