Download EELab2_Exp8_AD_Converter

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Power engineering wikipedia , lookup

Ground loop (electricity) wikipedia , lookup

Three-phase electric power wikipedia , lookup

Power inverter wikipedia , lookup

Islanding wikipedia , lookup

Time-to-digital converter wikipedia , lookup

Flip-flop (electronics) wikipedia , lookup

Electrical substation wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Pulse-width modulation wikipedia , lookup

History of electric power transmission wikipedia , lookup

Rectifier wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Stray voltage wikipedia , lookup

Alternating current wikipedia , lookup

Amtrak's 25 Hz traction power system wikipedia , lookup

Voltage regulator wikipedia , lookup

Oscilloscope types wikipedia , lookup

Multimeter wikipedia , lookup

Metadyne wikipedia , lookup

Voltage optimisation wikipedia , lookup

Oscilloscope history wikipedia , lookup

Television standards conversion wikipedia , lookup

Integrating ADC wikipedia , lookup

Schmitt trigger wikipedia , lookup

Power electronics wikipedia , lookup

Buck converter wikipedia , lookup

Mains electricity wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Analog-to-digital converter wikipedia , lookup

Opto-isolator wikipedia , lookup

Transcript
Department of Electrical and Electronics
Electrical & Electronics Lab 2
(ELEG 3103)
Experiment 8
A/D
CONVERTER
KOLEJ SELATAN
Southern College
Objectives
1. Understanding the operation of an analog-to-digital converter.
2. Understanding the characteristics of ADC0804 and ADC0809.
3. Understanding the applications of ADC0804 and ADC0809.
Introduction
Analog-to-digital converters (ADC or A/D converters) translate from analog measurement, which are
usually continuous voltages or currents, to digital words used in computing, data transmission,
information processing and storage, and control systems. We do this conversion because digital signals
are eas to store, debug, and are almost free from noise.
ADC0804
The ADC0804, which is a 20-pin dual-in-line package, is an 8-bit ADC which operates on the successive
approximation principle. Its major characteristics include single 5V power supply, 0V to 5V analog input
voltage range, 15mW power dissipation, and 100us conversion time. Since the resolution of ADC0804 is
8 bits, the analog input is divided into 28, or 256 discrete ranges. With 5V reference voltage, each range
represents 5/256=0.01953V. Thus the digital output code 0000 0000 (00H) corresponds to an analog
input voltage of 0.00V, and 1111 1111 (FFH) represents 4.9805V. The unadjusted error, which contains
full-scale, offset and nonlinearity errors, is +/- 1 LSB or 0.01953V.
The connection diagram of ADC0804 is shown in Fig. 8-1. When data is to be read from the output port
D0 – D7, the combination of both CS and RD being low will enable the 3-state output latches to provide
the 8-bit digital outputs.
Fig 8-1 ADC0804
The ADC0804 converter is started by having CS and WR simultaneously low. This resets the 8-bit
register. When WR goes high, the converter starts the conversion process. The CLK IN (pin 4) is the
input pin of clock pulses whose frequency can be from 100 to 800kHz. The INTR pin remain high during
the conversion and will make a high-to-low transition if the conversion is completed.
The analog differential input voltage is applied to the pins Vin(+) and Vin(-). If a single-end input is
desired, the Vin(-) should be connected to ground. The AGND is the ground for analog signal and the
DGND is for digital signal.
Fig. 8-2 shows an analog-to-digital converter with the ADC0804.
Fig 8-2 ADC0804 Circuit
Equipment Required
(1) Module KL-92001
(2) Module KL-94001
(3) DMM
Procedure
1. Locate ADC0804 circuit on Module KL-94001. Power on the power supply.
2. Using DVM, measure the voltage at Vref/2 input (pin 9) and slowly adjust the VR1 until measured
voltage reaches 2.5V. Thi sets the ADC0804 analog voltage input from 0V to 5V.
3. Measure the analog input (pin 6) and slowly adjust the VR2 until the measured voltage reaches
0V.
4. Insert the connect plug from J1. This will hold the digital outputs. Observe LED display states and
record the results in Table 8-1.
5. Remove the connect plug from J1. The digital output will vary with the change of analog input.
6. Carefully adjust the VR2 to get other analog input voltages listed on Table 8-1. and repeat steps 4
and 5. Complete Table 8-1
Questions
1. Give your comments on the function of R3 and C1 in ADC0804 circuit.
2. What is the unadjusted error of the ADC0804?
Table 8-1