Instrumentacion Modular
Instrumentacion Modular
Practice 5: Digital to
anaog converter:
Applications
Equipment required:
2 multimeters 1 protoboard
1 VCD voltage source 1 5.6Ohm resistor
1 oscilloscope 2 1kOhm resistor
1 function generator 1 10kOhm potentiometer
6 Banana-Alligator clips 1 2kOhm potentiometer
2 Banana – Banana clips 1 4kOhm potentiometer
1 8kOhm potentiometer
1 2N2222
1 LM358
1 1N4148
1 LM741
Digital to Analog Converter
DACs and
their inverse, ADCs, are part of an enabling technology that has
contributed greatly to the digital revolution. To illustrate, consider a typical
long-distance telephone call. The caller's voice is converted into an analog
electrical signal by a microphone, then the analog signal is converted to a
digital stream by an ADC. The digital stream is then divided into packets
where it may be sent along with other digital data, not necessarily audio.
The digital packets are then received at the destination, but each packet
may take a completely different route and may not even arrive at the
destination in the correct time order. The digital voice data is then
extracted from the packets and assembled into a digital data stream. A
DAC converts this into an analog electrical signal, which drives an audio
amplifier, which in turn drives a loudspeaker, which finally produces sound.
given an ideal ADC and neglecting quantization error. The presence of
quantization error limits the dynamic range of even an ideal ADC, however,
if the dynamic range of the ADC exceeds that of the input signal, its effects
may be neglected resulting in an essentially perfect digital representation
of the input signal.
We built the following circuit, using the operational amplifier LM358 which
we energized with +Vcc = 12V.
To adjust the engine’s velocity, we manipulated the binary input value; for
that, we made the voltage reach to 5 v, for the logic 1 and to 0v for the
logic 0 on each input terminal of the DAC, using the two pole switches.
We built the following circuit, using the function generaton and the
oscilloscope, as illustrated to analize its operation. We used a V= 5VCD to
energize the Op-Am.
𝐵𝑖𝑛𝑎𝑟𝑦 𝐼𝑛𝑝𝑢𝑡
𝑉𝑠𝑎𝑙 = 𝑉𝑟𝑒𝑓 𝑥
2𝑛
We filled the following table to verify the digital control of the amplitude
with the data recquired and holding the sinusoidal signal with a still
amplitude of 3.5Vrms
Using the PROTEUS tool, we built the following circuit to verify the conversion
process in the bipolar mode of the DAC and we filled the following chart
with the requested data.
Binary Code Output voltage Vo(V)
00000000 -9.87
00000001 -8.70
00000010 -8.44
00001000 -6.30
00010010 -5.82
00110111 -4.70
01000101 -3.10
01100110 -2.09
01111111 -1.64
10000000 0
10010101 1.04
10110101 2.62
11001000 3.42
11010110 4.92
11101100 5.70
11100111 6.80
11111100 7.37
11111111 9.42
Questionnaire:
Most modern audio signals are stored in digital form (for example, MP3 and
CD) and to be heard through speakers they must be converted into
analog. CD players, digital music players and sound cards mounted PCs
therefore a device of this type internally.
Using a separate DAC (in this issue of CEC analyze one of them), you can
also be found as a separate chassis in hi-fi systems. These separate DAC
take the digital output of a CD (or dedicated transport) and convert the
signal to send to the amplifier. Some of them can be connected to PCs
using a USB interface. In fact, analysis of Josep Armengol on the Moon 300D
DAC explains how.
2.- What are the characteristics of the DAC 08?
o 8-bit resolution
o Full Scale Error: ± 1 LSB
o Settling time of the output current 100 ns typical
o Nonlinearity with temperature: ± 0.19% max.
o Moving the current full scale: ± 10 ppm / ° C typical
o Compatible with TTL logic levels and MOS
o It can easily be used with microprocessors and μC or just
o Complementary current outputs
o Output high voltage on a load resistor: -10 V to + 18V, 20 Vpp
differential using the two outputs
o Supply voltage: ± 4.5 to ± 18 V
o Low power consumption: 33 mW @ ± 5V
o Encapsulation DIP 16 pin
3.- What is it and how the resolution of the DAC is determined?
A DVD has its own DAC. A discman has its own DAC. The computer you are
using has its own DAC, in the sound card (if you have a sound card in your
computer not blame me me), mobile phones have DAC, and of course
portable audio players have a DAC.
Conclusions:
http://www.analog.com/media/en/technical-documentation/data-sheets/DAC08.pdf
http://www.datasheetcatalog.com/datasheets_pdf/D/A/C/0/DAC08.shtml
http://noel.feld.cvut.cz/hw/philips/acrobat/8133.pdf