Bjectives: Onverters
Bjectives: Onverters
Bjectives: Onverters
1. OBJECTIVES
Understanding the operation of a digital-to-analog converter.
Understanding the operation of DAC0800.
Studying how to generate unipolar and bipolar outputs using DAC0800.
2. DISCUSSION OF FUNDAMENTALS
The digital-to-analog converters (DAC’s or D/A converters) are used in transforming the
digital signals of transmitted data, stored on media, or the results of computation back to
analog signals for control, information display, or further analog processing.
DAC Operation
In short, D/A converters are the devices by which digital systems communicate with
outside world. A DAC converts digital input states to analog output voltages or currents.
The schematic symbol of a 4-bit DAC is shown in Figure 5-1(a).
The digital inputs D3, D2, D1 and D0 are usually driven by the register output of a digital
system. Figure 5-1(b) shows the truth table of the 4-bit DAC. Each input binary word
produces a single, discrete analog output value. Over the output range of the converter,
24 or 16 different voltage values are produced including zero, and the output has a one-
to-one correspondence with input.
-22-
Digital Communications
LAB VI (EE4331) D/A Converters
Figure 5-2 provides a DAC block diagram. The DAC includes a precision reference voltage
source, digitally controlled switches, resistor network, and an OP AMP. Each resistor in
resistor network is connected to a digitally controlled switch, which connect the resistor
to the reference voltage Vref. The other end of each resistor is connected to the summing
point of OP AMP. The digital input states determine the states of switches and the OP AMP
converts the DAC output current Iout to the output voltage Vout.
Resistor network is the major configuration of DAC circuit. There are two popular types:
weighted-resistor network and R-2R ladder resistor network. The weighted-resistor
method can be considered that the value of each summing resistor is inversely
proportional to the weight of the digital bit actuating the series switch. The weighted-
resistor technique has the advantages of simplicity and high speed. A difficulty in
implementing higher resolution DAC designs is that a wide range of resistors is required,
and very high value resistors cause problems with both temperature stability and
switching speed. If the resistors were to be manufactured in integrated circuit (IC) form,
such a range would be totally impractical. The advantage of the R-2R ladder method is
that only two values (R and 2R) of resistors are required, with the resultant ease of
matching or trimming.
Figure 5-3 shows a 4-bit R-2R ladder DAC circuit. The resistor network consists of series
resistors of R and shunt resistors of 2R. Observation of the R-2R ladder configuration
reveals that at any of points A, B, C, and D the resistance is 2R looking to the right;
therefore, the reference input to the ladder has a resistance of R. According to this
property, the output current can be derived from the following:
-23-
Digital Communications
LAB VI (EE4331) D/A Converters
where D3, D2, D1 and D0 may be either “1” or “0” depended on the positions of switches.
Input Weight
For a DAC each digital input bit has its own weight which is the analog output value when
the bit is 1. Consider the 4-bit DAC of Figure 5-1(a). If D0 = 1 and D1 = D2 = D3 =0, the
analog output value of 1V is the weight of D0. Similarly, the weights of D2 and D3 are 2V,
4V and 8V, respectively. To obtain the resultant analog output, it is simple by adding these
weights up. For example, the analog output voltage Vout should be 4+2+1= 7V for the
digital input 0111.
-24-
Digital Communications
LAB VI (EE4331) D/A Converters
The resolution of DAC is defined as the smallest difference of the analog output when the
digital input changes a unit count. It is usually an LSB weight. Referring to Figure 5-1(b),
the Vout increases an analog value of 1 V for each unit count fed to the digital input. Thus,
the resolution of this DAC is 1V.
The resolution is also called the step value or the step height. Consider the 4-bit staircase-
ramp DAC shown in Figure 5-4. The output voltage increases by 1V for each unit count fed
to the input. The output difference between steps, called the step height, is exactly 1V.
The DAC 0800 is an inexpensive monolithic 8-bit DAC including the reference voltage
source, R-2R ladder and transistor switches. Figure 5-5 shows the pin configuration of
DAC0800.
-25-
Digital Communications
LAB VI (EE4331) D/A Converters
Power supply requirements of the DAC0800 are ±4.5 V to ±18 V. Power dissipation is
33mW with ± 5 VDC power supplies and the settling time is about 85 nS. With
complementary current outputs Iout (pin 4) and ̅̅̅̅̅
𝐼𝑜𝑢𝑡 (pin 2), the DAC0800 can be used in
either unipolar or bipolar output.
Figure 5-6 shows the unipolar voltage output DAC using the DAC0800 with µA741. The
Vref(-) pin is grounded through the resistor R2. The positive reference source +5 V is
applied to Vref(+) pin through series resistor R1. Therefore, the reference current lref
flowing through Ri is found to be
𝑉𝑟𝑒𝑓
𝐼𝑟𝑒𝑓 = (10-1)
𝑅1
(10-2)
-26-
Digital Communications
LAB VI (EE4331) D/A Converters
This Iout, the current flowing out of the converter, is then converted to an output voltage
by the µA741. The voltage output Vout can be given by
The bipolar voltage output circuit of DAC0800 is shown in Figure 5-7. The ̅̅̅̅̅
𝐼𝑜𝑢𝑡 pin is
connected to the noninverting input of µA741 instead of to ground in Figure 5-6. Thus, the
µA741 output voltage can be evaluated by
3. EQUIPMENT REQUIRED
Module KL-96001
Module KL-94001
DMM
-27-
Digital Communications
LAB VI (EE4331) D/A Converters
-28-
Digital Communications
LAB VI (EE4331) D/A Converters
Table 5-1
-29-
Digital Communications
LAB VI (EE4331) D/A Converters
Table 5-2
5. QUESTIONS
In Figure 5-6, if the digital inputs are 01101010, calculate the output voltage by the
weight of bit.
From a point of view of the step size or the output range, compare the unipolar output
with the bipolar output.
According to the results of Table 5-2, comment on the relationship between Iout and
̅̅̅̅̅
𝐼𝑜𝑢𝑡 .
-30-