Professional Documents
Culture Documents
Converters (DAC)
Adam Fleming
Mark Hunkele
3/11/2005
Outline
Purpose
Types
Performance Characteristics
Applications
Purpose
Reference Voltage
Digital Value
DAC
Analog Voltage
DACs
Types
Binary Weighted Resistor
R-2R Ladder
Multiplier DAC
The reference voltage is constant and is set by the manufacturer.
Non-Multiplier DAC
The reference voltage can be changed during operation.
Characteristics
Comprised
I
R
2R
4R
Vo
8R
MSB
LSB
-VREF
5
Binary Representation
Rf = R
I
Most
Significant Bit
2R
4R
Vo
8R
Least
Significant Bit
-VREF
6
Binary Representation
SET
CLEARED
Most
Significant Bit
Least
Significant Bit
-VREF
( 1
1 )2 = ( 15 )10
Weighted
Resistors
based on bit
Reduces
current by a
factor of 2 for
each bit
Rf = R
I
R
2R
4R
Vo
8R
MSB
LSB
-VREF
8
Result:
B3 B2 B1 B0
I VREF R 2R 4R 8R
VOUT
Bi =
B2 B1 B0
I R f VREF B3
2
4 8
Value of Bit i
More Generally:
VOUT VREF
Bi
n i 1
2
VREF Digital Value Resolution
Bi =
Value of Bit i
n = Number of Bits
10
R-2R Ladder
VREF
MSB
LSB
11
R-2R Ladder
Same input switch setup as Binary
Weighted Resistor DAC
All bits pass through resistance of 2R
MSB
VREF
LSB
12
R-2R Ladder
The less significant the bit, the more resistors the signal
muss pass through before reaching the op-amp
The current is divided by a factor of 2 at each node
LSB
MSB
13
R-2R Ladder
2R
I0
4
R
2R
I0
8
R
2R
2R
I0
VREF
B0
B1
B2
Op-Amp input
Ground
VREF
VREF
I0
2 R 2 R 2 R 3R
14
R-2R Ladder
Result:
VREF B2 B1 B0
I
3R 2
4 8
Rf
B2 B1 B0
VOUT
VREF
R
4
8
2
Bi =
Value of Bit i
Rf
15
R-2R Ladder
Bi
2 n i
VOUT VREF
Bi =
Bi
n i 1
Value of Bit i
16
R-2R Ladder
VREF
VREF
I0
1.67 mA
2 R 2 R 2 R 3R
I0 I0
I op amp 1.04 mA
8 2
VOUT I opamp R f 4.17 V
Example:
Input = (101)2
VREF = 10 V
R=2
Rf = 2R
R
2R
2R
I0
I0
VREF
VREF
B0
B2
2R
2R
Op-Amp input
Ground
17
R-2R
Pros
Easily understood
Cons
Limited to ~ 8 bits
Large # of resistors
Susceptible to noise
Expensive
Greater Error
18
Performance
Common
Specifications
Applications
19
-Performance Specifications
Resolution
Reference Voltages
Settling Time
Linearity
Speed
Errors
20
-Performance Specifications
-Resolution
Resolution VLSB
VRef
N
2
N = Number of bits
21
-Performance Specifications
-Resolution
Better Resolution(3 bit)
Vout
Desired Analog
signal
110
Approximate
output
8 Volt. Levels
2 Volt. Levels
Digital Input
101
100
011
010
001
110
101
100
011
010
001
000
000
Approximate
output
Digital Input
22
-Performance Specifications
-Reference
Reference Voltage
Non-multiplier:
manufacturer
Multiplier: external, variable, user specified
23
-Performance Specifications
-Reference
Reference Voltage
Non-Multiplier: (Vref = C)
Voltage
Voltage
11
11
10
10
10
01
01
10
01
01
0
00
00
Digital Input
00
00
Digital Input
24
-Performance Specifications
-Settling Time
25
-Performance Specifications
-Settling Time
Analog Output Voltage
Expected
Voltage
+VLSB
-VLSB
Settling time
Time
26
-Performance Specifications
-Linearity
27
-Performance Specifications
-Linearity
Desired/Approximate Output
Digital Input
Perfect Agreement
NON-Linearity(Real World)
Analog Output Voltage
Linearity(Ideal Case)
Desired Output
Approximate
output
Digital Input
Miss-alignment
28
-Performance Specifications
-Speed
Speed
Depends
29
-Performance Specifications
-Errors
Non-linearity
Differential
Integral
Gain
Offset
Non-monotonicity
30
-Performance Specifications
Ideal Output
2VLSB
VLSB
Digital Input
31
-Performance Specifications
Ideal Output
1VLSB
Digital Input
32
-Performance Specifications
-Errors: Gain
Desired/Ideal Output
Low Gain
Digital Input
33
-Performance Specifications
-Errors: Offset
Offset Error: A constant voltage difference
between the ideal DAC output and the actual.
The
Desired/Ideal Output
Positive Offset
Negative Offset
Digital Input
34
-Performance Specifications
-Errors: NonNon-Monotonicity
Desired Output
Non-Monotonic
Monotonic
Digital Input
35
-Common Applications
Generic use
Circuit Components
Digital Audio
Function Generators/Oscilloscopes
Motor Controllers
36
-Common Applications
-Generic
Digital Input
Piece-wise
Continuous Output
0 bit
011010010101010100101
101010101011111100101
000010101010111110011
010101010101010101010
111010101011110011000
100101010101010001111
n bit DAC
Analog
Continuous Output
Filter
nth bit
37
-Common Applications
-Circuit Components
Programmable Filters
Digitally
-Common Applications
-Digital Audio
CD Players
MP3 Players
Digital Telephone/Answering Machines
1. http://electronics.howstuffworks.com/cd.htm
2. http://accessories.us.dell.com/sna/sna.aspx?c=us&cs=19&l=en&s=dhs&~topic=odg_dj
3. http://www.toshiba.com/taistsd/pages/prd_dtc_digphones.html
39
-Common Applications
-Function Generators
Digital Oscilloscopes
Digital
Input
Analog Ouput
Signal Generators
Sine wave generation
Square wave generation
Triangle wave generation
Random noise generation
1. http://www.electrorent.com/products/search/General_Purpose_Oscilloscopes.html
2. http://www.bkprecision.com/power_supplies_supply_generators.htm
40
-Common Applications
-Motor Controllers
Cruise Control
Valve Control
Motor Control
1. http://auto.howstuffworks.com/cruise-control.htm
2. http://www.emersonprocess.com/fisher/products/fieldvue/dvc/
3. http://www.thermionics.com/smc.htm
41
References
Cogdell, J.R. Foundations of Electrical Engineering. 2nd ed. Upper Saddle River,
NJ: Prentice Hall, 1996.
Simplified DAC/ADC Lecture Notes, http://www-personal.engin.umd.umich.edu/
~fmeral/ELECTRONICS II/ElectronicII.html
Digital-Analog Conversion, http://www.allaboutcircuits.com.
Barton, Kim, and Neel. Digital to Analog Converters. Lecture, March 21, 2001.
http://www.me.gatech.edu/charles.ume/me4447Spring01/ClassNotes/dac.ppt.
Chacko, Deliou, Holst, ME6465 DAC Lecture Lecture, 10/ 23/2003,
http://www.me.gatech.edu/mechatronics_course/
Lee, Jeelani, Beckwith, Digital to Analog Converter Lecture, Spring 2004,
http://www.me.gatech.edu/mechatronics_course/
42