Professional Documents
Culture Documents
Lecture Outcome
Syllabus
The concepts of representing analogue signals in a digital format.
Discussion of typical circuits which can implement D/A conversion,
Interface methods, typical examples of application.
Main Objectives
Upon completion of this chapter, you will be able to:
Understand the theory of operation of several types of digital-to-analog
converters (DACs).
Information Domains
Currency
DIGITAL-TO-ANALOG CONVERSION
D/A conversion is the process of taking a value represented in digital code and
converting it to a voltage or current that is proportional to the digital value.
Example 1
A five-bit DAC has a current output. For a digital input of 01010, an output
current of 5 mA is produced. What will IOUT be for a digital input of 11101?
Solution
= 14.5 mA
Example 2
What is the largest value of output voltage from an eight-bit DAC that
001100102 = 5010.
2.0 V = K X 50.
Therefore, K = 40 mV
The largest output will occur for an input of 111111112 = 25510 .
VOUT(max) = 40 mV X 255
= 10.2 V
Input Weights
For the 4 bits DAC, note that each digital input contributes a
different amount to the analog output.
This is easily seen if we examine the cases where only one input is
HIGH (see Table).
Thus, A, which is the LSB, has a weight of 1 V;
B has a weight of 2 V;
C has a weight of 4 V;
and D, the MSB, has the largest weight, 8 V.
The weights are successively doubled for each bit, beginning with
the LSB.
Obviously, 0.1 V is the weight of the LSB. Thus, the weights of the other bits
must be 0.2 V, 0.4 V, 0.8 V, and 1.6 V, respectively.
For a digital input of 11111, then, the value of VOUT will be
1.6 V+0.8 V+0.4 V+0.2 V+0.1 V = 3.1 V.
10
11
12
A fs
Resolution K n
(2 1)
13
Example 4 (Resolution)
A five-bit D/A converter produces VOUT = 0.2 V for a digital input of 00001.
1. What is the resolution (step size) of the DAC ?
2. Describe the staircase signal out of this DAC.
3. Determine VOUT for a digital input of 10001.
Solution
1. The LSB for this converter has a weight of 0.2 V. This is the resolution or step size.
14
Percentage Resolution
15
16
DAC CIRCUITRY
Simple DAC using an op-amp summing amplifier with binary weighted resistors.
Together Towards A Green Environment
17
Solution
1. The weighting of the LSB, which is
(1/8) X 5 V = 0.625 V.
As shown in the table, the analog output increases by
0.625 V as the binary input number advances one step.
2. The MSB passes with gain 1, so its weight in the output is 5 V. Thus
3. If RF is reduced by a factor of 4, to 250 , each input weight
will be four times smaller than the values above.
Thus, the full-scale output will be reduced by this same
factor and becomes -9.375/4 = -2.344 V.
18
Formula
Resolution
Or
Analog Output
Digital Input
Number of Step = 2n 1
Where;
19
Errors
20
Offset Errors
21
22
23
Accuracy
The two most common ways of specifying accuracy are:
full-scale error and linearity error which are normally expressed as a percentage of the
converters full-scale output (% F.S.).
Full-scale error is the maximum deviation of the DACs output from its expected (ideal) value,
expressed as a percentage of full scale.
For example,
4-bit DAC has +0.01%FS accuracy and DAC full- scale is15V.
So 0.01% X 15 = 1.5mV.
This means that the DAC output will be different from the ideal value 1.5mV
Linearity error is the maximum deviation in step size from the ideal step size.
24
Example
An 8-bit DAC has 2mA full-scale value and +0.5% FS accuracy. What is the
output range for input 10000000?
Solution
100000002
12810
= 7.84A
= 0.5% FS X 2mA
= 10A
25
Settling Time
the time required for the DAC output to go from zero to full scale as the binary input is
changed from all 0s to all 1s.
Actually, it is the time for the DAC output to settle within step size (resolution) of
its final value.
For example, if a DAC has a resolution of 10 mV, settling time is measured as the time
it takes the output to settle within 5 mV of its full-scale value.
26
Monotonicity
A DAC is monotonic if its output increases as the binary input is incremented
from one value to the next.
Vout
Vout
Vout
Bin
a
Bin
Bin
b
27
Monotonicity
Another way to describe this is that the staircase output will have no downward steps
as the binary input is incremented from zero to full scale.
28
Higher Work
Rate -
Safer -
Accuracy -
Speed -
29
Applications
30
Applications
31