Conversion Between Analog and Digital Signals



Similar documents
Digital to Analog and Analog to Digital Conversion

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Chapter 6: From Digital-to-Analog and Back Again

Digital to Analog Converter. Raghu Tumati

Operational Amplifier - IC 741

MAS.836 HOW TO BIAS AN OP-AMP

Analog Signal Conditioning

Welcome to this presentation on Driving LEDs Resistors and Linear Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series.

Chapter 12. Data Converters. à Read Section 19 of the Data Sheet for PIC18F46K20. Updated: 4/19/15

Microcontroller to Sensor Interfacing Techniques

Building the AMP Amplifier

Interfacing Analog to Digital Data Converters

Digital To Analog Converter with Sine Wave Output

Microcontroller-based experiments for a control systems course in electrical engineering technology

Lab 7: Operational Amplifiers Part I

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

Content Map For Career & Technology

OPERATIONAL AMPLIFIER

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

Frequency Response of Filters

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Basic Op Amp Circuits

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

NTE923 & NTE923D Integrated Circuit Precision Voltage Regulator


Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

School of Engineering Department of Electrical and Computer Engineering

Transistor Amplifiers

HT9170 DTMF Receiver. Features. General Description. Selection Table

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

Constant Voltage and Constant Current Controller for Adaptors and Battery Chargers

11: AUDIO AMPLIFIER I. INTRODUCTION

INSTRUMENTATION AND CONTROL TUTORIAL 3 SIGNAL PROCESSORS AND RECEIVERS

BJT Characteristics and Amplifiers

Features. Note Switches shown in digital high state

PC BASED PID TEMPERATURE CONTROLLER

Pressure Transducer to ADC Application

OPERATIONAL AMPLIFIERS

LM118/LM218/LM318 Operational Amplifiers

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

A Digital Timer Implementation using 7 Segment Displays

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Laboratory 4: Feedback and Compensation

The 2N3393 Bipolar Junction Transistor

FEATURES DESCRIPTIO APPLICATIO S. LTC1451 LTC1452/LTC Bit Rail-to-Rail Micropower DACs in SO-8 TYPICAL APPLICATIO

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Bipolar Transistor Amplifiers

Design Project: Power inverter

Lab Experiment 1: The LPC 2148 Education Board

Multipurpose Analog PID Controller

High Speed, Low Power Monolithic Op Amp AD847

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

The Operational Amplfier Lab Guide

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

SIMPLE HEART RATE MONITOR FOR ANALOG ENTHUSIASTS

Model AD558J AD558K AD558S 1 AD558T 1 Min Typ Max Min Typ Max Min Typ Max Min Typ Max Units

Reading: HH Sections , (pgs , )

Using NTC Temperature Sensors Integrated into Power Modules

ADC-20/ADC-24 Terminal Board. User Guide DO117-5

Microcomputers. Analog-to-Digital and Digital-to-Analog Conversion

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

LAB 12: ACTIVE FILTERS

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

LM139/LM239/LM339/LM2901/LM3302 Low Power Low Offset Voltage Quad Comparators

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Operational Amplifiers

Analog-to-Digital conversion

LC2 MOS Quad 8-Bit D/A Converter AD7226

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

1 Coffee cooling : Part B : automated data acquisition

A Collection of Differential to Single-Ended Signal Conditioning Circuits for Use with the LTC2400, a 24-Bit No Latency Σ ADC in an SO-8

Op Amp Circuit Collection

Application Note 142 August New Linear Regulators Solve Old Problems AN142-1

PLL frequency synthesizer

AP-1 Application Note on Remote Control of UltraVolt HVPS

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Analog to Digital Conversion of Sound with the MSP430F2013

Measuring Resistance Using Digital I/O

Features. Applications

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

PowerAmp Design. PowerAmp Design PAD135 COMPACT HIGH VOLATGE OP AMP

Lock - in Amplifier and Applications

DATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS

Ultrasound Distance Measurement

A PIC16F628 controlled FLL (Frequency Locked Loop) VFO for HF

Section 3. Sensor to ADC Design Example

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

LSI/CSI LS7362 BRUSHLESS DC MOTOR COMMUTATOR/CONTROLLER DESCRIPTION:

Analog-to-Digital Converters

LM138 LM338 5-Amp Adjustable Regulators

Constant Current Control for DC-DC Converters

Using a Thermistor to Measure Temperature. Thermistors are resistors that vary their resistance according to temperature.

Transcription:

ELET 3156 DL - Laboratory #6 Conversion Between Analog and Digital Signals There is no pre-lab work required for this experiment. However, be sure to read through the assignment completely prior to starting the practicum. Task: To become familiar with the conversion between analog and digital electronic signals and the properties and definitions associated with those conversions. PART ONE. Analog to Digital Conversion There are many applications of the process related to the conversion of varying analog voltages to correlated binary values. This process is often referred to as digitization and is accomplished by sampling an analog voltage at repeated intervals and then storing, in binary form, a number that identifies the analog value of each sample. The resulting table of binary numbers can be stored, transmitted without electronic interference, and converted back to analog form if need be. There are many different methods to convert analog signals to digital values. Some electronic circuits that deserve attention include the dual-slope integrator used in digital meters, flash converters used for high-speed applications, and the successive approximation type converter used for many digital instrumentation applications. We will be using an ADC0804 8-bit Analog to Digital Converter IC in this experiment. This circuit is a state machine that utilizes a clock to drive an internal counting circuit (successive approximation) and an internal digital-to-analog converter to perform the conversion process. Figure 6.1 illustrates the circuit we will use to perform the conversion. The analog input to this circuit is generated at Pin 6 (V+) by using a voltage divider created by the 100K potentiometer placed between V ref (5V) and ground. The RC pair made up of the 10K resistor and the 150pF capacitor create a digital oscillator that is used to provide clock pulses to the converter chip. The digital output can be connected directly to the trainer LED displays. The conversion is started with a transition on Pin 3, WR. Figure 6.1: Analog to Digital Conversion Circuitry. Step 1: Construct the circuit of Figure 6.1. Apply power, and adjust the potentiometer until the voltage at Pin 6 is equal to 0V. Then, by SLOWLY increasing the voltage at Pin 6, indicate on Table 6.1 the lowest voltage at which the digital output first switches to the indicated binary value. Page - 1

TABLE 6.1 Analog to Digital Conversion Data Analog Binary Value Analog Binary Value 0.00 Volts 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 1 0 On the graph below (Figure 6.2) plot the analog voltage versus the binary value. Digital Value Analog (Millivolts) FIGURE 6.2 Transfer Function Segment of 8-Bit Analog to Digital Conversion. Since this circuit uses an 8-bit conversion, it will divide the voltage between V+ and V- into 256 discrete steps. This full-scale voltage of 5V when divided by 256, produces steps of about 20mv each. Based upon your data, how much of an input voltage swing actually produces a one-bit change on the output?. If this value (voltage resolution per bit) varies from the expected value of 20mV, explain: Based upon the voltage resolution per bit that you obtained, you should be able to predict the expected output binary value for any analog input by dividing the analog input by the resolution per bit. Based upon this calculation, fill in the columns in Table 6.2 that are labeled Expected. Page - 2

TABLE 6.2 Analog to Digital Conversion Data Analog Expected Obtained Vo Analog 0.50 Volts 3.00 Volts 1.00 Volts 3.50 Volts 1.50 Volts 4.00 Volts 2.00 Volts 4.50 Volts 2.50 Volts 5.00 Volts Expected Obtained Vo Step 2: Adjust the potentiometer to the indicated analog voltages in Table 6.2 and record in the table the binary output that was actually obtained. Ignore the column labeled Vo Describe any variations in the expected results: The resolution obtained for a single bit is also expressed as a percentage of the full-scale voltage that is determined by a single bit. That is, 1 % Res x100 N 2 = where N is the number of binary bits in the conversion. Based upon this equation, what is the percentage of full-scale resolution obtained with this 8-bit analog to digital converter? ans. Instructor s Signature: Date: Operative: Inoperative: PART TWO. Digital to Analog Conversion In order to convert an 8-bit digital value to its respective analog value, we will use a DAC0808 chip. This device utilizes an R-2R ladder network to drive a current summing junction resulting in an appropriate analog value. We will use the circuit of Part One to provide the digital signals for our D/A conversion. Step 3: Construct the circuit of Figure 6.3. FIGURE 6.3. Addition of Digital to Analog Conversion Circuit Page - 3

Note that the DAC0808 D/A converter generates a varying analog current at its output, Io, on Pin-4. The fullscale value of this current is determined by the current input at Vref+, on Pin 14, (2.00 ma.) Consequently, this current must be converted back to a voltage to obtain Vo. To do this, an LM741 operational amplifier is configured as a current to voltage converter using the same size current loop (5.1K resistor.) Step 4: For each entry in Table 6.2, measure and record the output voltage (V o ) from the Op-Amp (Pin 6). Explain any variation between the input analog value and the output analog value. Instructor s Signature: Date: Operative: Inoperative: PART THREE. Ambient Temperature Measurement. Figure 6.4 illustrates the replacement of the 100K potentiometer with an LM34 temperature sensor and an operational amplifier as the voltage source for the A/D converter. Note that nothing else has changed from Figure 6.3. The LM34 temperature sensor generates a voltage output equal to 10mV per degree Fahrenheit with an error of less than.1 degrees. Consequently, at room temperature of 72 F, the sensor will generate 200.0mV. In order to measure a voltage that is within the full-scale input of the A/D converter, an LM741 operational amplifier is configured as a non-inverting amplifier with a gain of 2, resulting in a representation of 2.00V for a temperature of 72 F. Note that the pin-out shown for the LM34 is the bottom view. Note also that the inputs to the LM741 are configured for non-inverting amplification. FIGURE 6.4. Temperature Sensing Circuit. Step 5: Construct the circuit of Figure 6.4, removing the potentiometer of Figure 6.3, and replacing it with the LM34 temperature sensor and the LM741 operational amplifier circuit. Record in the first line of Table 6.3 the (1) voltage at Pin 2 of the LM34, (2) the corresponding ambient temperature it represents, (3) the voltage at Pin 6 of the ADC0804 verifying the gain of the input amplifier, (4) the digital value at the inputs of the DAC0808, and (5) the voltage at Pin 6 of the LM741 at the output of the circuit. You may have to wait a little while for the temperature to stabilize. Page - 4

TABLE 6.3 Temperature Acquisition Data (1) LM33 (2) Ambient Temperature, F (3) A/D Input (4) Digital Equivalent (5), Vo Step 6: Heat the temperature sensor by grasping it with your fingers. As the temperature indicates higher values, add respective lines of data to Table 6.3. Record here your comments concerning the circuit operation and reasons for unexpected results. (Why is the temperature seemingly higher than it should be?, etc.) Instructor s Signature: Date: Operative: Inoperative: NOTES: Parts List: 1. Logic Trainer 2. DC Power Supply 3. ADC0804 A-to-D Converter 4. DAC0808 D-to-A Converter 5. LM741 Op-Amp 6. 100kΩ Potentiometer 7. 20KΩ Resistor 8. 10KΩ Resistor 9. 5.1KΩ Resistor 10. 2.2KΩ Resistor 11. 150pF Capacitor 12. 0.1µF Capacitor 13. LM34 Page - 5