Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Converters (ADC)
Ben Lester, Mike Steele,
Quinn Morrison
Topics
Introduction
Why?
Types and Comparisons
Process
Discrete
Voltage
Ranges (V)
0.00-1.25
1.25-2.50
2.50-3.75
3.75-5.00
5.00-6.25
6.25-7.50
7.50-8.75
Out
Binary
-put Equivalent
0
000
001
010
011
100
101
110
111
Flash ADC
Sigma-delta ADC
Wilkinson ADC
Integrating ADC
Successive Approximation
Converter
Flash ADC
Speed: High
Cost: High
Accuracy: Low
Sigma-delta ADC
Speed: Low
Cost: Low
Accuracy: High
Wilkinson ADC
Speed: High
Cost: High
Accuracy: High
Wilkinson Analog
Digital Converter
(ADC) circuit
schematic diagram
Integrating ADC
Speed: Low
Cost: Low
Accuracy: High
Successive Approximation
Converter
Speed: High
Cost: High
Accuracy: High but limited
Topics
Introduction
Why?
Types and Comparisions
Successive Approximation
ADC Example
Mike Steele
Goal: Find digital
value Vin
8-bit ADC
Vin = 7.65
Vfull scale = 10
Successive Approximation
ADC Example
Vfull scale = 10, Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 7
(Vfull scale +0)/2 = 5
1
Successive Approximation
ADC Example
Vfull scale = 10, Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 6
(Vfull1
1
scale +5)/2 = 7.5
Successive Approximation
ADC Example
MSB LSB
Successive Approximation
ADC Example
Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 4
1
(8.75+7.5)/2
8.125
1
0
0
Successive Approximation
ADC Example
Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 3
1
(8.125+7.5)/2
=07.8125
1
0
0
Successive Approximation
ADC Example
Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 2
1
(7.8125+7.5)/2
=
1
0
0
0
7.65625
Successive Approximation
ADC Example
Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 1
1
(7.65625+7.5)/2
1
0
0
0=
0
7.578125
Successive Approximation
ADC Example
Vin = 7.65
MSB LSB
Average high/low limits
Compare to Vin
Vin > Average MSB
=1
Vin < Average MSB
=0
Bit 0
(7.65625+7.578125)/2 =
7.6171875
1 1 0 0 0 0 1
Successive Approximation
ADC Example
Vin = 7.65
110000112 = 19510
0.8
8-bits, 28 = 256
0.6
Digital Output
195/256 = 0.761718750.4
Analog Input
0.2
7.65/10 = 0.765
0
Voltage
Resolution
(Vmax Vmin)/2n 10/256 = 0.039
0 0
0 1
Bit
ADC Applications
Measurements / Data Acquisition
Control Systems
PLCs (Programmable Logic Controllers)
Sensor integration (Robotics)
Cell Phones
Video Devices
Audio Devices
e*
t
u*(t)
Controller
1001
0010
1010
0101
e*(t)
0010
0101
0011
1011
ATD10B8C on MC9S12C32
Presented by
Quinn Morrison
MC9S12C32
Block Diagram
ATD
10B8C
ATD10B8C
Block Diagram
ATD10B8C
Key Features
Resolution
Conversion Time
ATD10B8C
Modes and Operations
Modes
Stop Mode
Wait Mode
Freeze Mode
Operations
Setting up and Starting the A/D Conversion
Aborting the A/D Conversion
Resets
Interrupts
AN6/PAD6 AN0/PAD0
Analog input
General purpose digital I/O
VRH, VRL
VDDA, VSSA
ATD10B8C
Registers
ATD10B8C
Control Register 2
ATD10B8C
Control Register 3
ATD10B8C
Control Register 4
ATD10B8C
Control Register 5
ATD10B8C
Single Channel
Conversions
ATD10B8C
Multi-channel Conversions
ATD10B8C
Status Register 0
ATD10B8C
Status Register 1
ATD10B8C
Results Registers
ATD10B8C
Results Registers
ATD10B8C
ATD Input Enable Register
ATD10B8C
Port Data Register
ATD10B8C
Setting up the ADC
References
Dr. Ume, http://www.me.gatech.edu/mechatronics_course/
Maxim Integrated Products, AN1870, AN 1870, APP1870, Appnote1870,
Appnote
1870
"An Introduction to Sigma Delta Converters."Die Homepage Der Familie
Beis. 10
June 2008. Web. 27 Sept. 2010.
<http://www.beis.de/Elektronik/DeltaSigma/SigmaDelta.html>.