0% found this document useful (0 votes)
237 views15 pages

0800 0804

The document describes a digital to analog converter (DAC) that uses the IC DAC 0800. It explains how the DAC uses a binary weighted resistor network to convert an input binary word into a proportional analog output voltage. The DAC has an 8-bit resolution, providing 256 possible output levels between 0V and the full scale output of 9.9609V. The document also includes the circuit diagram, equations to calculate the output voltage for a given input, and experimental results to test and verify the operation of the DAC.

Uploaded by

anantmithal123
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
237 views15 pages

0800 0804

The document describes a digital to analog converter (DAC) that uses the IC DAC 0800. It explains how the DAC uses a binary weighted resistor network to convert an input binary word into a proportional analog output voltage. The DAC has an 8-bit resolution, providing 256 possible output levels between 0V and the full scale output of 9.9609V. The document also includes the circuit diagram, equations to calculate the output voltage for a given input, and experimental results to test and verify the operation of the DAC.

Uploaded by

anantmithal123
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

DIGITAL TO ANALOG CONVERTER

AIM: To construct and test a digital to analog converter using the IC DAC 0800.

D/A CONVERTER

The purpose of the digital to analog converter is to convert a binary word to a proportional analog current or voltage. A binary weighted resistive divider network is used for conversion. Let us consider the circuit diagram for DAC. When one of the switches is closed, a current will flow from reference voltage point (+5V) through the corresponding resistor to the summing point. The operational amplifier will pull the current on through the feedback resistor to produce a proportional output voltage.

For example, if the switch D0 is closed, the value of the current that flows to the summing point is equal to 5/100K = 0.05mA. In order to pull this current through feedback resistor the operational amplifier must put a voltage of 0.05mA*10K = 0.5V at this point. If also the switch D1 is closed, it will send a current = 5/50K 0.1mA. The voltage drop = 0.1mA*10K = 1V. The total drop across the output = 1+0.5 = 1.5V.

Hence the binary weighted resistors produce binary weighted currents, which are summed by the operational amplifier to produce a proportional output voltage. The output voltage VO is calculated as follows,
VO = Vref {A1/2+A2/4+A3/8+ A4/16+A5/32+A6/64+A7/128+A8/256} For Vref = 10V, and if all switches are closed, then VO = 10 {1/2+1/4+1/8+1/16+1/32+1/64+1/128+1/256} VO = 10 (255/256) = 9.9609V.

RESOLUTION: It is determined by the number of input bits of the D/A converter. For example, an 8-bit converter has 28 (=256) possible output levels. Hence the resolution is = 1/28 = 1/256 Volts.

FULL SCALE OUTPUT VOLTAGE: The full scale output voltage is = Vref (2n 1/2n) where n is the number of bits in the input word. The full scale output voltage is = 10(28 1/28) = 10 (255/256) = 9.9609V. The maximum output voltage is 1LSB less than that of the named value. Therefore 1LSB = 10V (1/256) = 0.03906V.

PROCEDURE: Give the connections as per the circuit diagram shown in Fig.1.
Switch on the power supply. Provide the required digital input through the switches as indicated in tabular column. Observe the corresponding output voltage and compare with the theoretical value.

Fig.1. Circuit diagram of Digital to Analog converter using DAC 0800

PREDETERMINATION OF OUTPUT VOLTAGE:

(00) VO = 10 {0/2+0/4+0/8+0/16+0/32+0/64+0/128+0/256 1/2} = -5.000V (19) VO = 10 {0/2+0/4+0/8+1/16+1/32+0/64+0/128+1/256 1/2} = -4.023V (33) VO = 10 {0/2+0/4+1/8+1/16+0/32+0/64+1/128+1/256 1/2} = -3.007V (4C) VO = 10 {0/2+1/4+0/8+0/16+1/32+1/64+0/128+0/256 1/2} = -2.031V (66) VO = 10 {0/2+1/4+1/8+0/16+0/32+1/64+1/128+0/256 1/2} = -1.016V (80) VO = 10 {1/2+0/4+0/8+0/16+0/32+0/64+0/128+0/256 1/2} = 0.000V (99) VO = 10 {1/2+0/4+0/8+1/16+1/32+0/64+0/128+1/256 1/2} = +0.977V (B2) VO = 10 {1/2+0/4+1/8+1/16+0/32+0/64+1/128+0/256 1/2} = +1.953V (CC) VO = 10 {1/2+1/4+0/8+0/16+1/32+1/64+0/128+0/256 1/2} = +2.969V (E5) VO = 10 {1/2+1/4+1/8+0/16+0/32+1/64+0/128+1/256 1/2} = +3.945V (FF) VO = 10 {1/2+1/4+1/8+1/16+1/32+1/64+1/128+1/256 1/2} = +4.961V

DIGITAL INPUT TABULAR COLUMN:

ANALOG OUTPUTS

HE X
00

INPUT IN BCD FORM


A
8

A
7

A
6

A
5

A
4

A
3

A
2

A
1

PREDETERMINED (Volts)

ACTUAL (Volts)

0 -5.000

19

1 -4.023

33

1 -3.007

4C

0 -2.031

66

0 -1.016

80

0 0.000

99

1 +0.977

B2

0 +1.953

CC

0 +2.969

E5

1 +3.945

FF

+4.961

(B)

ANALOG TO DIGITAL CONVERTER AIM: To construct and test an analog to digital converter using the IC ADC 0804. THEORY: The IC ADC 0804 is an 8-bit analog to digital converter based on Successive Approximation technique with 120 seconds conversion time. Fig.2 shows the block diagram of Analog to Digital converter based on Successive Approximation technique. Also shown in the figure are the pattern of clock input, comparator output and the bits. On the first clock pulse at the start of the conversion cycle, the Successive Approximation Register (SAR) outputs a high on the MSB, this corresponds to Vref/2 which is applied to one input of the comparator. If this voltage is higher than the input voltage applied at the other end of the comparator, the comparator outputs a low to make the SAR to turn off that bit. If the input voltage is higher than the MSB, the SAR makes that bit ON.

When the next clock pulse occurs, the SAR turns ON the next MSB, based on the output produced from the comparator. The SAR will retain or reset the bit in this way until the least significant bit is reached. ADC 0804 works with an internal clock for which resistors 10K and capacitor 150Pf are connected at pins 4 and 19 for clock generation. The conversion is initiated by writing logic 0 at pin 3. After the time greater than the conversion time of 120 s, the digital data will be available on the output pins.

PROCEDURE: Give the connections as per the circuit diagram shown in Fig.3. Switch on the power supply.

Vary the analog input voltage from 0v to 5v in steps of 0.5 volts.


Observe the corresponding digital value through the glow of LED and compare with the theoretical value as shown in tabular column.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy