Professional Documents
Culture Documents
4 Bit Dac
4 Bit Dac
4 Bit Dac
Experiment no. : 7
AIM: To design 4- bit Digital to Analog Converter for required step size.
APPARATUS:
1. Op-amp IC741 INo.
2. Resistors(R) 10 K 4 No.
2R 20K Q 6 No.
3. Potentiometer INo.
4. Multimeter
CIRCUIT DIAGRAM:
XR Nodefn-1), Node(n-2) Node 0
w MSB LSB
R 2R R R R R
w w*
2R 2R 2R 2R 2R
MSB LS8
THEORY
A Digital-to-Analog Converter is used when a Binary output from a digital system
must be converted to some cquivalent Analog voltage or Current. The Binary output
from a digital system is difficult to interpret. However a DAC makes the
interpretation casier. The function of DAC is exactly opposite to that of ADC.
Advantages: 1) It is simpler in construction when compared to ADC 2) It can be used
to form the ADC.
Types of D/A Converters:
There are two types of DACs available
1. D/A converter with Binary -weighted Resistors
2. D/A converter with R and 2R resistors.
i.e.. A D/A converter in its simplest form uses an op-amp and either binary weigncu
resistors or R and 2R resistors.
D/A converter with Binary -weighted Resistors
The schematic ofa DAC is shown in Fig.7.2. The input is an n-bit binary word D and
IS combined with a reference volage Vr lo give an analog output signal. The oulput
of a DAC can be cither
voltage or current. Theory o/p voltage
a
K =
scaling factor usualy adjusted to unity
bib.bn=n-bit binary fractional word with the decimal point located at the left
bi = most significant bit (MSB) with a weight of Vrs/2
(MSB) lo
Binary
b Vo
ba O-- DAC
Word B bn- O--
bn
(LSB)
Fig.7.2 Schematic ofa DAC
OPERATION:
D/A converter with R and 2R
Fig7.1 shows D/A converter with R and 2R resistors. As before, the binary inputs are
simulated by switches bo through b3 and the output is proportional to the binary
inputs. Binary inputs can be in either the high (+5v) or low (0v) state. Assume that the
most significant bit (MSB) switch b3 is connected to +5V and other switches are
connected to ground, as in Fig.7.1.
Thevenizing the circuit to the left of switch b3 .Thevenin's equivalent resistance RTH
S
RTH =
ISV
RIIF2R
V.
ZR
R 10KQ2
15V
+5V
Using the same analysis, the output voltage corresponding to all possible
combinations of binary inputs can be calculated. The maximum or full -scale output
of-9.375 V is obtained when all the inputs are high .The output voltage equation can
be written as
b3 bl b2, b0)
V-R34R
V.--
8R 16R 2R
Where cach of the inputs b3, b2, bl and b0 may be either high(+5V) or low (0V)
The great advantage of the D/A Converter of Fig8.2 is that it requires only two
sets of precision resistance values; nevertheless, it requires more resistors and is also
PROCEDURE:
AhoLn in
(onnet
(cnreu +h l h a , 1,
v.=-Reb3 , b2, b, -
100 b
V.-RF2R 4R 8R 16R 2 yule
low (OV)
bl and b0 may be either high(+5V) or
Where each of the inputs b3, b2,
0 10-p 2 30 -0.625 v
4 0 01 ,s 200
0 1 00-2S -55 -1.875 V
6 0 1 01-3:12 3.125 V
7 0|10-:1
8 0 1|1|1-. 2 S
9 1 0 0 050
10 10 01 5 6)5 5 69 -8.875 V
1
0-6:25 6:3H -9.375V
12 Output-Vo
CALCULATIONS:
Vo R ICe
B3 B 3, B
O VOD
o 0:6a1 B3 B Vo
O S (
25
6-2
O