Ana 6
Ana 6
Ana 6
(DAC)
Objectives
• The objectives of this lecture are to understand:
• how a binary-weighted-resister DAC can be used to
convert digital quantities to analog quantities.
• how an R-2R resistor ladder DAC can be used to convert
binary numbers to analog numbers.
• the meaning of the terms used to specify DAC accuracy
Introduction
Physical (Real) world signals are typically "analog" or continuously varying quantities.
In order to use the power of digital electronics, one must convert from analog to
digital form on the input side and convert from digital to analog form on the output
end of a system.
A digital signal processing scheme (Figure 8.1), consists of:
• an anti-aliasing filter, an analog-to-digital converter (ADC), a digital signal processor (DSP), a
digital-to-analog converter (DAC), and a reconstruction (anti-image) filter.
What is a DAC?
• A digital to analog converter (DAC) converts a digital signal
to an analog voltage or current output as shown in Figure
8.2.
100101… DAC
Types of DACs
• Many types of DACs are available.
• Usually switches, resistors, and op-amps are used to
implement DACs
• Two Types:
• DAC using Binary Weighted Resistor
• DAC using R-2R Ladder resistors
DAC Symbol
DAC using Binary-Weighted Resistors
• Transistors are used to switch between Vref (when the bit is 1) and
ground (when the bit is 0)
• Disadvantages
• Requires large range of resistors (2000:1 for 12-bit DAC) with
necessary high precision for low resistors
• Requires low switch resistances in transistors
• Can be expensive.
2R 2R
Req
2 R 2 R
R
2 R 2 R
Figure 8.7
Vref V2 V1 V0 V1 V0
R R
I
Likewise,
Vout
Figure 8.8
Operation
Vout IR
Figure 8.9 shows that the output for Rf = 2R. The output is a negative going staircase
waveform with 15 steps of -0.625V each.
Figure 8.9: DAC with R and 2R Resistors – Resultant Circuit Graph
Advantages and Disadvantages
• Advantages
• Only two resistor values (R and 2R)
• Does not require high precision resistors
• Disadvantage
• Lower conversion speed than binary weighted DAC
Specifications of DACs
• Resolution
• Speed
• Linearity
• Settling Time
• Reference Voltages
• Errors
Resolution
• Smallest analog increment corresponding to 1 LSB change
• An N-bit resolution can resolve 2N distinct analog levels
• Common DAC has a 8-16 bit resolution
Vref
Resolution VLSB N
2
where N number of bits
Speed
• Rate of conversion of a single digital input to its analog equivalent
• When the input changes rapidly, the DAC conversion speed must
be high.
Linearity
• The difference between the desired analog output and the actual output
over the full range of expected values.
Analog Output Signal
• Gain
• Offset
• Full Scale
• Resolution
• Non-Linearity
• Non-Monotonic
• Settling Time and Overshoot