12 Converting Between Digital and Analog
|
|
- Ashlee Johnston
- 7 years ago
- Views:
Transcription
1 12 CONVERTING BETWEEN DIGITAL AND ANALOG 12 Converting Between Digital and Analog For many applications, it is necessary to convert analog signals from a circuit or sensor to digital signals that can be manipulated by a computer, and vice versa. The simplest such tasks can be be performed by a comparator, but more generally, an ADC (analog-to-digital converter) or DAC (digital-to-analog converter) will be required. In this lab, we will explore a few aspects of these processes. This lab will require two days. Reading: HH sections , , (pgs , , ) 12.1 Comparator A comparator is a high-gain differential amplifier, much like an op amp. It is not designed, however, to be operated with negative feedback. Instead, it provides a binary output, railing high if the input V + > V and low if V + < V. In this way, it can serve as a simple interface between analog and digital systems. The pin designations for the LM311 comparator are shown in Fig. 1(a). The Balance inputs can be used to adjust the offset voltage, just as in an op amp, while the Strobe input can be used to force the output low, regardless of the inputs. We will not be using either of these features and you can leave pins 5 and 6 unconnected. An interesting feature of the LM311, and most comparators, is that it has an opencollector output, represented schematically in 1(b). Here an external pull-up resistor must be used to complete the circuit. Typically, a value of 1 kω is a good compromise between high speed and low power dissipation. Note that the need for an output resistor is not always made perfectly clear in device datasheets, but the circuit will not function correctly without one. An advantage of the open-collector output scheme is seen in Fig. 1(c), where the pull-up voltage can be varied. This lets the comparator serve as a very simple DAC: it converts 0-10 V Gnd In+ In- V LF V+ Out Balance/Strobe Balance V V in 1k (a) (b) (c) Figure 1: LM311 comparator. (a) Pin designations. (b) Open collector output configuration. (c) Circuit for lab. 12-1
2 12.2 Schmitt Trigger 12 CONVERTING BETWEEN DIGITAL AND ANALOG an input digital signal at standard logic levels to an output signal that switches between whatever voltage the analog circuit requires. Construct this circuit, taking V in from a DIO pin, and using the variable power supply to generate the pull-up voltage. Use 1 for the positive supply and ground for the negative supply. Observe the output on the scope, and note how you get a digitally controlled version of the VPS voltage. How close to zero does the output get in its low state? Does the low value depend on the VPS voltage? Conversely, if you use for the pull-up voltage and the variable supply for the input, the the circuit serves as a basic inverting ADC. It provides a single-bit output that is low when the input is above the threshold and high when it is below the threshold. Modify the circuit of 1(c), accordingly, and observe the output with the Digital Reader while the input level is varied. You might notice that if you slowly step the input across the threshold, the reader display light flickers. When the input is very close to the threshold, even very small noise signals can cause the comparator state to change. To observe this effect more clearly, drive the input with a 500 khz triangle wave from the function generator, using a pp amplitude and a 2. dc offset. Observe both the input and output with the scope. You should see the output switching as expected. Trigger the scope on the input signal, and adjust the trigger level so that the output switches just after the start of the trace. If you now zoom in on the output transition, you should be able to see multiple back-and-forth transitions between states, due to input noise. You can imagine that using a signal such as this as the trigger for a digital circuit would be problematic. Fortunately, the problem has a straightforward fix, the Schmitt trigger Schmitt Trigger A Schmitt trigger consists of a comparator combined with positive feedback, as seen in Fig. 2(a). The effect of the feedback is to create hysteresis in the switching behavior. If the circuit output is originally low, then the signal at V + will be lower than V in. Therefore, V in must rise somewhat higher than V ref before the output will switch. Once the output is high, V + will be higher than V in, so V in will have to drop somewhat lower than V ref before the output will switch low again. The difference between the two input thresholds is termed R2 hysteresis R1 1k V in (a) V ref LM311 (b) 0 V V ref V in Figure 2: (a) Schmitt trigger circuit. (b) Hysteresis curve. 12-2
3 12.3 The AD7569 DAC/ADC12 CONVERTING BETWEEN DIGITAL AND ANALOG the hysteresis, as illustrated in Fig. 2(b). This technique reduces the sensitivity to noise, since the input signal would need to fluctuate by an amount larger than the hysteresis in order to affect the output. Of course, hysteresis also reduces the accuracy of the comparator, since the output no longer precisely measures how V in compares to V ref. Wire up the circuit using R 1 = 10 kω and a 100 kω potentiometer for R 2, with the pot resistance initially maximum. Use the scope to observe the switching behavior with a 500 Hz triangle wave drive, and compare to what you observed before. Does the output now exhibit a single clean transition? To analyze the circuit and calculate the hysteresis, note that the R 1 and R 2 resistors form a voltage divider between the output and the input, so that V + = R 2V in + R 1 R 1 + R 2. The output will change states when V + = V ref. Solving for V in in that condition gives ( V in = 1 + R ) 1 V ref R 1. R 2 R 2 If varies by (here ), the corresponding hysteresis V in will be V in = R 1 R 2. Note that this analysis assumes the output pullup resistor is small compared to R 1 + R 2, so that the voltage drop across it is not significant. You can observe the hysteresis in your circuit using the oscilloscope s XY mode. In XY mode, the horizontal sweep is controlled by the Ch 1 signal, rather than a temporal ramp. This allows the scope to diplay the Ch 2 signal as a function of the Ch 1 signal instead of as a function of time. Attach your function generator signal to the scope Ch 1, and the circuit output to Ch 2. Set the trigger source to Ch 1, but display only Ch 2. Then put the scope in XY mode by depressing both the B and Alt buttons near the cursor control knob. Set the scope to display Ch 2 only. Finally, turn the input signal frequency up to 10 khz. You should now see the hysteresis curve on the scope, with a noticeable difference between where the output signal drops and rises. The horizontal separation of these points gives V in. Measure it, and compare to the above formula for your resistor values. (Note that you ll have to display Ch 1 to see what voltage scale it is set at.) Vary the pot, and describe how the hysteresis responds. When designing a Schmitt trigger, you would set the hysteresis based on the amount of noise in the input signal. Integrated Schmitt triggers circuits are also available, such as the 7414 hex inverter. The nominal hysteresis level for the 7414 is 0.8 V. Once you have completed this section, disassemble the comparator circuit and put it away The AD7569 DAC/ADC When more than one bit of A/D conversion is needed, it is normally best to use an appropriate IC chip. You can choose from a variety of chips using a variety of methods. To give you a 12-3
4 12.4 Negative Supply 12 CONVERTING BETWEEN DIGITAL AND ANALOG 1 uf R uf Adj R1-1 In Out (a) Adj In Out (b) Figure 3: LM337 negative voltage regulator. (a) Pin designations. (b) Wiring diagram. little familiarity with the topic, we will examine one general purpose chip here, the AD7569 from Analog Devices. The AD7569 is a complicated device. It contains both a DAC and ADC, with 8 bits precision each. The ADC uses the successive approximation register technique. The chip also features a variety of control signals designed to allow flexible interfacing with different systems. A datasheet for the device will be provided to each group, and you should consult it for reference. Note that the datasheet also describes the AD7669, which we are not using. A few things to look at now: Page 1: The functional block diagram gives an overview of what the chip does. Note that the data lines DB0... DB7 form a bus that serves as the output for the ADC and the input for the DAC, depending on the control signals applied. Page 6: Pin designations. We have the DIP configuration. Some paper labels with the pin numbers are available that you can tape to the top of the chip, to avoid pin counting errors. Page 7: Pin function descriptions. Note that there are three different grounds provided. In precise work, it would be desirable to keep the digital and analog grounds separate, to avoid putting digital noise on your analog signal. We shall not worry about that here, and just tie all the grounds together. Note also that the CS pin is not described very well. When this pin is high, the data lines are set to the off state of three-state logic. This allows the data bus to be shared with other devices. Since we have only one device to worry about, we will keep CS tied low. Page 10 12: The Digital Interface section explains how the DAC and ADC are controlled by the digital signals. This is the key information that explains how to make the chip work. Skim through it now, and refer back to it when constructing the circuits below. Page 15: Unipolar vs Bipolar operation. We will be using bipolar operation, so make sure you understand Table V. This is called two s-complement encoding, and is the standard way to represent negative values in binary Negative Supply For bipolar operation, the AD7569 requires supply voltages of ±. Our breadboards supply +, but not -. (We could use the variable power supply, but we will want to use that as a signal source.) We can conveniently derive - from our -1 supply using an LM
5 12.5 DAC 12 CONVERTING BETWEEN DIGITAL AND ANALOG negative voltage regulator. This device and its wiring diagram are shown in Fig. 3. It produces an output voltage ( = ( 1.2olts) 1 + R ) 2 R 1 from an input voltage more negative than this. R 1 should be around 100 Ω. Obtain a chip and wire up the circuit to produce an output voltage close to -. Record the voltage you obtain. Note that there is a positive voltage version of this device, the LM317. Voltage regulators provide a simple and convenient way to generate various supply voltages from a single source DAC We shall first use the AD7569 to implement a simple DAC. Obtain a chip and wire the supply voltages, noting that V DD is positive and V SS is negative. (The notation refers to the drain and source of a FET.) Wire all three grounds to a common ground, and tie CS low. Tie Range high. We won t be changing any of these settings. To operate as a DAC, tie Reset and Read high, and ST low. Whenever an upward transition is applied to the WR input, the chip will read the eight data lines, convert them to an analog voltage, and output that voltage on the pin. To start, use a DIP switch to control the WR input. Tie the pin to through a 1 kω resistor, and also to ground through a switch. We don t need to worry about debouncing the switch here, because we don t mind if the chip performs the DAC conversion several times whenever we flip the switch. Start with the switch closed (so WR is low). Take the DB0 7 lines (here acting as inputs) from the DIO pins, which will be controlled by the Digital Writer tool. Monitor the output with your scope and a voltmeter. Power up the circuit, and set the DIO signals to all zeros. Switch WR high and then low again. Does the output voltage go to zero? Try several different digital inputs, and verify that that output voltage responds appropriately in each case. Make a table in your report of the signals you applied and the resulting outputs. Be sure to include some negative values in your exploration. What is the minimum step size for the output voltage? More often, the inputs for a DAC are generated electronically. As a simple example, set up a 74LS193 counter as in Lab 11. Drive its clock with the sync pulse from the function generator. The same signal can drive the WR pin of the AD7569. Use the four outputs of the counter to drive pins DB0 3 of the DAC, and tie pins DB4 7 low. Observe the output on the scope. You should see a sawtooth ramp, and at higher speeds, the discrete output levels should be evident. What do you observe at very high clock speeds, for instance 500 khz to 5 MHz? The DAC is specified to have a 1 µs settling time. Are your observations consistent with that? 12.6 ADC Converting from analog to digital is a little more complicated because there are two different modes of operation. In Mode 1, the conversion timing is controlled with the RD and ST pins, while in Mode 2, only the RD signal is used and the timing is more automatic. 12-5
6 12.7 Nyquist Sampling Theorem 12 CONVERTING BETWEEN DIGITAL AND ANALOG Either mode requires a clock signal to drive the successive approximation register circuitry. This can be generated internally, by tying a resistor and capacitor in parallel from the Clk pin to ground. The recommended values (see Fig. 21 on page 15 of the datasheet) are R = 7.3 kω and C = 68 pf. If these values aren t available, try to choose a similar pair with about the same RC. Mode 1 is convenient for manual operation. Connect RD and ST to a pair of DIO pins that are set low. Tie WR low. Apply a voltage to V in from the variable power supply, but do not exceed ±2.. Monitor all eight DB pins on DIO channels with the Digital Reader. Monitor the input level with a voltmeter. To make a conversion, first toggle RD high, which temporarily disables the DB pins. Then apply a rising edge to ST, which initiates the conversion. Set ST low again, and then set RD low again to display the new data. Try a handful of input levels, both positive and negative. Again, make a table of the results in your report, and make sure they are what you expect. How repeatable are the results, and what does the repeatability indicate about the noise in the circuit? To make a more automatic measurement, let us digitize a sine wave. Here it will be more convenient to use Mode 2 of the ADC. If ST is tied high, then a conversion will start whenever RD goes low. After the conversion, the new values will automatically be updated to the outputs. See for instance Figure 12 in the datasheet. To drive RD, we can use a DIO pin with the digital writer in the Alternating 1/0 s configuration, in which the bits automatically toggle at about 7 Hz. Drive the input with a 0.2 Hz sine wave, with 1 Vpp amplitude and 0.6 V offset. Observe the digital outputs on the Digital Reader. The output changes too fast to track directly, but as the input signal oscillates up and down, you should see the bit pattern shift from the left to the right. If we wanted to take the trouble, it would be simple to store such data into a RAM chip for later retrieval Nyquist Sampling Theorem When converting between digital and analog values, the Nyquist Sampling Theorem provides important guidance on the relation between signal bandwidth and sampling frequency. It states that in order to accurately encode a signal of frequency f, the wave form must be sampled at a frequency of at least 2f. Thus if your signal contains frequency components up to 10 khz, your ADC/DAC system must run at at least 20 khz. If the sampling rate is slower than this, the digitized wave form will be inaccurate. We can use the AD7569 chip to see this effect in action. We wil start with an analog sine wave and digitize it. If the sample rate is too low, Nyquist indicates that our digitized version will be erroneous. It is hard to tell this by looking at the digital values, however, so we will instead try to recreate the analog signal with the ADC. If there are no errors, the initial and final wave forms should be similar. We shall observe what happens when this is not the case. The 7 Hz trigger signal from the Digital Writer is to slow to be convenient here. So first, build a circuit to generate your own trigger using a 7555 timer chip, as in Lab 11. Pick a resistor/capacitor pair to give a clock frequency between 50 khz and 100 khz. Measure this frequency using your scope. 12-6
7 12.7 Nyquist Sampling Theorem 12 CONVERTING BETWEEN DIGITAL AND ANALOG Using the DAC and ADC together is relatively straightforward. The ADC puts its results on the data bus shortly after the RD signal drops low, and holds them there until the signal goes high. The DAC takes it s values from the bus when the WR signal goes high. So if we wire RD and WR together, then the DAC will always have the current value available when needed. The data pins can be simply left open. In fact, this scheme is not ideal, because it relies on a logic race. In practice, the DAC needs to have its inputs held on the bus for about 10 ns after the WR signal rises, because it takes that long to transfer the data into its internal register. On the other hand, the ADC takes about 10 ns to clear the bus after the RD signal goes high. So our scheme will only work if the clear time of the ADC is a little longer than the hold time of the DAC. In fact, it is. A better design would not leave this to chance, but would instead delay the RD signal slightly by, for instance, passing it through two inverters before applying it to the chip. For simplicity, however, we won t bother with that here. To implement this, apply the signal from your 7555 timer chip to both the RD and WR pins. (Make sure the ST pin is still held high.) Drive the ADC input with a sine wave with 1 Vpp amplitude, and monitor both the input and the output on the scope. Start with an input frequency of about 1 khz. You should see the output follows the input nicely. To understand the Nyquist phenomenon, start by observing the output wave only, using it as your trigger source. This is appropriate, because you would not normally have the input signal available when you are later trying to reconstruct it from the digitized data. (For instance, if you digitally recorded a music concert, you would not have the original analog sound signal available when you later tried to play back your recording.) Observe the signal as you gradually increase the input wave frequency. The signals will probably be clearest if you adjust the trigger level to near the top (or bottom) of the wave form. You can locate these points as the edges of the range over which the scope triggers. Does the signal still look like a sine wave as you approach and then exceed half the timer frequency? What happens if the input frequency is close to the timer frequency? To help see what is going on, display the input and output signals together on the scope. Keep using the output signal for the trigger, however. Sweep over the input frequencies again. It should be clear that near the Nyquist frequency, the samples occur at basically random times within the wave form, leading to a jumbled output signal. Can you explain why the output appears as it does when the input frequency is near the timer frequency? Finally, change the scope to trigger on the input signal. In this configuration, does anything special seem to happen as you pass through the Nyquist frequency? By using the input signal as a reference, the scope is able to sort the jumbled output signal levels appropriately, so that it looks like the output is more or less correct. What do you observe at the timer frequency now? The fact that an under-sampled high frequency signal is reconstructed at a lower frequency is called aliasing. It can be a source of confusion, since it causes spurious signals to occur at frequencies you don t expect. The best solution is to always use a low-pass filter on the input to an ADC so that signal components above the Nyquist frequency are attenuated away rather than aliased. 12-7
Reading: HH Sections 4.11 4.13, 4.19 4.20 (pgs. 189-212, 222 224)
6 OP AMPS II 6 Op Amps II In the previous lab, you explored several applications of op amps. In this exercise, you will look at some of their limitations. You will also examine the op amp integrator and
More informationCHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
More informationNTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
More informationEXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS
1 EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS The oscilloscope is the most versatile and most important tool in this lab and is probably the best tool an electrical engineer uses. This outline guides
More informationChapter 6: From Digital-to-Analog and Back Again
Chapter 6: From Digital-to-Analog and Back Again Overview Often the information you want to capture in an experiment originates in the laboratory as an analog voltage or a current. Sometimes you want to
More informationMassachusetts Institute of Technology Department of Electrical Engineering and Computer Science. 6.002 Electronic Circuits Spring 2007
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.002 Electronic Circuits Spring 2007 Lab 4: Audio Playback System Introduction In this lab, you will construct,
More informationChapter 19 Operational Amplifiers
Chapter 19 Operational Amplifiers The operational amplifier, or op-amp, is a basic building block of modern electronics. Op-amps date back to the early days of vacuum tubes, but they only became common
More informationA Lesson on Digital Clocks, One Shots and Counters
A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters
More informationOp-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.
Op-Amp Simulation EE/CS 5720/6720 Read Chapter 5 in Johns & Martin before you begin this assignment. This assignment will take you through the simulation and basic characterization of a simple operational
More informationConversion Between Analog and Digital Signals
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
More informationA Lesson on Digital Clocks, One Shots and Counters
A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters
More informationDigital to Analog and Analog to Digital Conversion
Real world (lab) is Computer (binary) is digital Digital to Analog and Analog to Digital Conversion V t V t D/A or DAC and A/D or ADC D/A Conversion Computer DAC A/D Conversion Computer DAC Digital to
More informationARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME
The national association for AMATEUR RADIO ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME This supplement is intended for use with the ARRL Morse Code Oscillator kit, sold separately.
More informationAUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR
AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR INTRODUCTION This Project "Automatic Night Lamp with Morning Alarm" was developed using Microprocessor. It is the Heart of the system. The sensors
More informationOperational Amplifier - IC 741
Operational Amplifier - IC 741 Tabish December 2005 Aim: To study the working of an 741 operational amplifier by conducting the following experiments: (a) Input bias current measurement (b) Input offset
More informationQUICK START GUIDE FOR DEMONSTRATION CIRCUIT 956 24-BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION
LTC2485 DESCRIPTION Demonstration circuit 956 features the LTC2485, a 24-Bit high performance Σ analog-to-digital converter (ADC). The LTC2485 features 2ppm linearity, 0.5µV offset, and 600nV RMS noise.
More informationLab 1: The Digital Oscilloscope
PHYSICS 220 Physical Electronics Lab 1: The Digital Oscilloscope Object: To become familiar with the oscilloscope, a ubiquitous instrument for observing and measuring electronic signals. Apparatus: Tektronix
More informationFrequency Response of Filters
School of Engineering Department of Electrical and Computer Engineering 332:224 Principles of Electrical Engineering II Laboratory Experiment 2 Frequency Response of Filters 1 Introduction Objectives To
More informationAVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE
Atmel 8-bit and 32-bit Microcontrollers AVR127: Understanding ADC Parameters APPLICATION NOTE Introduction This application note explains the basic concepts of analog-to-digital converter (ADC) and the
More information1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver
Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,
More informationLock - in Amplifier and Applications
Lock - in Amplifier and Applications What is a Lock in Amplifier? In a nut shell, what a lock-in amplifier does is measure the amplitude V o of a sinusoidal voltage, V in (t) = V o cos(ω o t) where ω o
More informationProgrammable Single-/Dual-/Triple- Tone Gong SAE 800
Programmable Single-/Dual-/Triple- Tone Gong Preliminary Data SAE 800 Bipolar IC Features Supply voltage range 2.8 V to 18 V Few external components (no electrolytic capacitor) 1 tone, 2 tones, 3 tones
More informationPCM Encoding and Decoding:
PCM Encoding and Decoding: Aim: Introduction to PCM encoding and decoding. Introduction: PCM Encoding: The input to the PCM ENCODER module is an analog message. This must be constrained to a defined bandwidth
More informationObjectives: Part 1: Build a simple power supply. CS99S Laboratory 1
CS99S Laboratory 1 Objectives: 1. Become familiar with the breadboard 2. Build a logic power supply 3. Use switches to make 1s and 0s 4. Use LEDs to observe 1s and 0s 5. Make a simple oscillator 6. Use
More informationUse and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)
Use and Application of Output Limiting Amplifiers (HFA111, HFA110, HFA11) Application Note November 1996 AN96 Introduction Amplifiers with internal voltage clamps, also known as limiting amplifiers, have
More informationDIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION
DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION Introduction The outputs from sensors and communications receivers are analogue signals that have continuously varying amplitudes. In many systems
More informationTESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin
TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin (Updated 7/19/08 to delete sine wave output) I constructed the 1 MHz square wave generator shown in the Appendix. This
More informationA Digital Timer Implementation using 7 Segment Displays
A Digital Timer Implementation using 7 Segment Displays Group Members: Tiffany Sham u2548168 Michael Couchman u4111670 Simon Oseineks u2566139 Caitlyn Young u4233209 Subject: ENGN3227 - Analogue Electronics
More informationPhysics 120 Lab 6: Field Effect Transistors - Ohmic region
Physics 120 Lab 6: Field Effect Transistors - Ohmic region The FET can be used in two extreme ways. One is as a voltage controlled resistance, in the so called "Ohmic" region, for which V DS < V GS - V
More informationSequential Logic: Clocks, Registers, etc.
ENEE 245: igital Circuits & Systems Lab Lab 2 : Clocks, Registers, etc. ENEE 245: igital Circuits and Systems Laboratory Lab 2 Objectives The objectives of this laboratory are the following: To design
More informationFREQUENCY RESPONSE OF AN AUDIO AMPLIFIER
2014 Amplifier - 1 FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER The objectives of this experiment are: To understand the concept of HI-FI audio equipment To generate a frequency response curve for an audio
More informationDigital to Analog Converter. Raghu Tumati
Digital to Analog Converter Raghu Tumati May 11, 2006 Contents 1) Introduction............................... 3 2) DAC types................................... 4 3) DAC Presented.............................
More informationCornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial
Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial Administration: o Prayer Robot Building for Beginners, Chapter 15, Voltage Comparators: o Review of Sandwich s Circuit:
More informationLAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS
LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS Objective In this experiment you will study the i-v characteristics of an MOS transistor. You will use the MOSFET as a variable resistor and as a switch. BACKGROUND
More informationTransistor Amplifiers
Physics 3330 Experiment #7 Fall 1999 Transistor Amplifiers Purpose The aim of this experiment is to develop a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must accept input
More information1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.
CHAPTER 3: OSCILLOSCOPE AND SIGNAL GENERATOR 3.1 Introduction to oscilloscope 1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal. 2. The graph show signal change
More informationInterfacing Analog to Digital Data Converters
Converters In most of the cases, the PIO 8255 is used for interfacing the analog to digital converters with microprocessor. We have already studied 8255 interfacing with 8086 as an I/O port, in previous
More informationStep Response of RC Circuits
Step Response of RC Circuits 1. OBJECTIVES...2 2. REFERENCE...2 3. CIRCUITS...2 4. COMPONENTS AND SPECIFICATIONS...3 QUANTITY...3 DESCRIPTION...3 COMMENTS...3 5. DISCUSSION...3 5.1 SOURCE RESISTANCE...3
More informationAP-1 Application Note on Remote Control of UltraVolt HVPS
Basics Of UltraVolt HVPS Output Voltage Control Application Note on Remote Control of UltraVolt HVPS By varying the voltage at the Remote Adjust Input terminal (pin 6) between 0 and +5V, the UV highvoltage
More informationThe components. E3: Digital electronics. Goals:
E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC
More informationBasics of Digital Recording
Basics of Digital Recording CONVERTING SOUND INTO NUMBERS In a digital recording system, sound is stored and manipulated as a stream of discrete numbers, each number representing the air pressure at a
More informationOperational Amplifiers
Module 6 Amplifiers Operational Amplifiers The Ideal Amplifier What you ll learn in Module 6. Section 6.0. Introduction to Operational Amplifiers. Understand Concept of the Ideal Amplifier and the Need
More informationLab 11 Digital Dice. Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation
Lab 11 Digital Dice Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation From the beginning of time, dice have been used for games of chance. Cubic dice similar to modern dice date back to before
More informationElectronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P4.2.1.1
Electronics Operational Amplifier Internal design of an operational amplifier LD Physics Leaflets Discrete assembly of an operational amplifier as a transistor circuit P4.2.1.1 Objects of the experiment
More informationLab 5 Operational Amplifiers
Lab 5 Operational Amplifiers By: Gary A. Ybarra Christopher E. Cramer Duke University Department of Electrical and Computer Engineering Durham, NC. Purpose The purpose of this lab is to examine the properties
More informationHaving read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.
Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage
More informationMeasuring Electric Phenomena: the Ammeter and Voltmeter
Measuring Electric Phenomena: the Ammeter and Voltmeter 1 Objectives 1. To understand the use and operation of the Ammeter and Voltmeter in a simple direct current circuit, and 2. To verify Ohm s Law for
More information1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs
CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-246 Digital Logic Lab EXPERIMENT 1 COUNTERS AND WAVEFORMS Text: Mano, Digital Design, 3rd & 4th Editions, Sec.
More informationIntroduction to Digital Audio
Introduction to Digital Audio Before the development of high-speed, low-cost digital computers and analog-to-digital conversion circuits, all recording and manipulation of sound was done using analog techniques.
More informationLab Unit 4: Oscillators, Timing and the Phase Locked Loop
Chemistry 8 University of WisconsinMadison Lab Unit : Oscillators, Timing and the Phase Locked Loop Oscillators and timing circuits are very widely used in electronic measurement instrumentation. In this
More informationTheory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC2101. 27.4 kω AREF.
In many applications, a key design goal is to minimize variations in power delivered to a load as the supply voltage varies. This application brief describes a simple DC brush motor control circuit using
More informationPulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip
Pulse Width Modulation (PWM) LED Dimmer Circuit Using a 555 Timer Chip Goals of Experiment Demonstrate the operation of a simple PWM circuit that can be used to adjust the intensity of a green LED by varying
More informationMicro-Step Driving for Stepper Motors: A Case Study
Micro-Step Driving for Stepper Motors: A Case Study N. Sedaghati-Mokhtari Graduate Student, School of ECE, University of Tehran, Tehran, Iran n.sedaghati @ece.ut.ac.ir Abstract: In this paper, a case study
More information12-Bit, 4-Channel Parallel Output Sampling ANALOG-TO-DIGITAL CONVERTER
For most current data sheet and other product information, visit www.burr-brown.com 12-Bit, 4-Channel Parallel Output Sampling ANALOG-TO-DIGITAL CONVERTER FEATURES SINGLE SUPPLY: 2.7V to 5V 4-CHANNEL INPUT
More informationLM 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.
LM 358 Op Amp S k i l l L e v e l : I n t e r m e d i a t e OVERVIEW The LM 358 is a duel single supply operational amplifier. As it is a single supply it eliminates the need for a duel power supply, thus
More informationScaling and Biasing Analog Signals
Scaling and Biasing Analog Signals November 2007 Introduction Scaling and biasing the range and offset of analog signals is a useful skill for working with a variety of electronics. Not only can it interface
More informationSection 3. Sensor to ADC Design Example
Section 3 Sensor to ADC Design Example 3-1 This section describes the design of a sensor to ADC system. The sensor measures temperature, and the measurement is interfaced into an ADC selected by the systems
More informationElectronic WorkBench tutorial
Electronic WorkBench tutorial Introduction Electronic WorkBench (EWB) is a simulation package for electronic circuits. It allows you to design and analyze circuits without using breadboards, real components
More informationBipolar Transistor Amplifiers
Physics 3330 Experiment #7 Fall 2005 Bipolar Transistor Amplifiers Purpose The aim of this experiment is to construct a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must
More informationDigital Sampling Oscilloscope
Digital Sampling Oscilloscope Mary Anne Peters & Joseph Tylka Department of Mechanical and Aerospace Engineering Princeton University, Princeton, NJ 8, USA INTRODUCTION This paper summarizes the construction
More informationDecimal Number (base 10) Binary Number (base 2)
LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be
More informationLab 7: Operational Amplifiers Part I
Lab 7: Operational Amplifiers Part I Objectives The objective of this lab is to study operational amplifier (op amp) and its applications. We will be simulating and building some basic op amp circuits,
More informationECEN 1400, Introduction to Analog and Digital Electronics
ECEN 1400, Introduction to Analog and Digital Electronics Lab 4: Power supply 1 INTRODUCTION This lab will span two lab periods. In this lab, you will create the power supply that transforms the AC wall
More informationElectrical Resonance
Electrical Resonance (R-L-C series circuit) APPARATUS 1. R-L-C Circuit board 2. Signal generator 3. Oscilloscope Tektronix TDS1002 with two sets of leads (see Introduction to the Oscilloscope ) INTRODUCTION
More informationEvaluating AC Current Sensor Options for Power Delivery Systems
Evaluating AC Current Sensor Options for Power Delivery Systems State-of-the-art isolated ac current sensors based on CMOS technology can increase efficiency, performance and reliability compared to legacy
More informationEET272 Worksheet Week 9
EET272 Worksheet Week 9 answer questions 1-5 in preparation for discussion for the quiz on Monday. Finish the rest of the questions for discussion in class on Wednesday. Question 1 Questions AC s are becoming
More informationCounters and Decoders
Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter
More informationPLL frequency synthesizer
ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture
More informationLittle LFO. Little LFO. User Manual. by Little IO Co.
1 Little LFO User Manual Little LFO by Little IO Co. 2 Contents Overview Oscillator Status Switch Status Light Oscillator Label Volume and Envelope Volume Envelope Attack (ATT) Decay (DEC) Sustain (SUS)
More informationLM118/LM218/LM318 Operational Amplifiers
LM118/LM218/LM318 Operational Amplifiers General Description The LM118 series are precision high speed operational amplifiers designed for applications requiring wide bandwidth and high slew rate. They
More informationSupply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff
Supply voltage Supervisor TL77xx Series Author: Eilhard Haseloff Literature Number: SLVAE04 March 1997 i IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to
More informationPOCKET SCOPE 2. The idea 2. Design criteria 3
POCKET SCOPE 2 The idea 2 Design criteria 3 Microcontroller requirements 3 The microcontroller must have speed. 3 The microcontroller must have RAM. 3 The microcontroller must have secure Flash. 3 The
More informationChapter 12: The Operational Amplifier
Chapter 12: The Operational Amplifier 12.1: Introduction to Operational Amplifier (Op-Amp) Operational amplifiers (op-amps) are very high gain dc coupled amplifiers with differential inputs; they are used
More informationCurrent Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015
Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) The standard tuning values used in ADVANCED Motion Controls drives are conservative and work well in over 90%
More informationReading assignment: All students should read the Appendix about using oscilloscopes.
10. A ircuits* Objective: To learn how to analyze current and voltage relationships in alternating current (a.c.) circuits. You will use the method of phasors, or the vector addition of rotating vectors
More informationRoutinely DIYers opt to make themselves a passive preamp - just an input selector and a volume control.
The First Watt B1 Buffer Preamp Nelson Pass, June 2008 Side A So here we are in the New Millennium, and thanks to Tom Holman and THX we ve got lots of gain in our electronics. More gain than some of us
More informationEXPERIMENT 3: TTL AND CMOS CHARACTERISTICS
EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS PURPOSE Logic gates are classified not only by their logical functions, but also by their logical families. In any implementation of a digital system, an understanding
More informationLABORATORY 2 THE DIFFERENTIAL AMPLIFIER
LABORATORY 2 THE DIFFERENTIAL AMPLIFIER OBJECTIVES 1. To understand how to amplify weak (small) signals in the presence of noise. 1. To understand how a differential amplifier rejects noise and common
More informationRedesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF. Horn circuit. Train Circuitry
Redesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF Train Circuitry Horn circuit New Design After many comments by interested hobbyists not being able to obtain parts like the LM566
More informationMeasuring Resistance Using Digital I/O
Measuring Resistance Using Digital I/O Using a Microcontroller for Measuring Resistance Without using an ADC. Copyright 2011 John Main http://www.best-microcontroller-projects.com Page 1 of 10 Table of
More informationDATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS
INTEGRATED CIRCUITS DATA SHEET File under Integrated Circuits, IC01 February 1991 FEATURES Low distortion 16-bit dynamic range 4 oversampling possible Single 5 V power supply No external components required
More informationMaking Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz
Author: Don LaFontaine Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz Abstract Making accurate voltage and current noise measurements on op amps in
More informationLab E1: Introduction to Circuits
E1.1 Lab E1: Introduction to Circuits The purpose of the this lab is to introduce you to some basic instrumentation used in electrical circuits. You will learn to use a DC power supply, a digital multimeter
More informationOPERATIONAL AMPLIFIER
MODULE3 OPERATIONAL AMPLIFIER Contents 1. INTRODUCTION... 3 2. Operational Amplifier Block Diagram... 3 3. Operational Amplifier Characteristics... 3 4. Operational Amplifier Package... 4 4.1 Op Amp Pins
More informationwww.jameco.com 1-800-831-4242
Distributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. LF411 Low Offset, Low Drift JFET Input Operational Amplifier General Description
More informationThe Operational Amplfier Lab Guide
EECS 100 Lab Guide Bharathwaj Muthuswamy The Operational Amplfier Lab Guide 1. Introduction COMPONENTS REQUIRED FOR THIS LAB : 1. LM741 op-amp integrated circuit (IC) 2. 1k resistors 3. 10k resistor 4.
More informationLab #9: AC Steady State Analysis
Theory & Introduction Lab #9: AC Steady State Analysis Goals for Lab #9 The main goal for lab 9 is to make the students familar with AC steady state analysis, db scale and the NI ELVIS frequency analyzer.
More informationMore Op-Amp Circuits; Temperature Sensing
ECE 2A Lab #5 Lab 5 More OpAmp Circuits; Temperature Sensing Overview In this lab we will continue our exploration of opamps but this time in the context of a specific application: temperature sensing.
More informationLow Cost Pure Sine Wave Solar Inverter Circuit
Low Cost Pure Sine Wave Solar Inverter Circuit Final Report Members: Cameron DeAngelis and Luv Rasania Professor: Yicheng Lu Advisor: Rui Li Background Information: Recent rises in electrical energy costs
More informationFeatures. Applications
LM555 Timer General Description The LM555 is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. In the
More informationDigital Logic Elements, Clock, and Memory Elements
Physics 333 Experiment #9 Fall 999 Digital Logic Elements, Clock, and Memory Elements Purpose This experiment introduces the fundamental circuit elements of digital electronics. These include a basic set
More informationUltrasound Distance Measurement
Final Project Report E3390 Electronic Circuits Design Lab Ultrasound Distance Measurement Yiting Feng Izel Niyage Asif Quyyum Submitted in partial fulfillment of the requirements for the Bachelor of Science
More informationMAS.836 HOW TO BIAS AN OP-AMP
MAS.836 HOW TO BIAS AN OP-AMP Op-Amp Circuits: Bias, in an electronic circuit, describes the steady state operating characteristics with no signal being applied. In an op-amp circuit, the operating characteristic
More informationSIMPLE HEART RATE MONITOR FOR ANALOG ENTHUSIASTS
SIMPLE HEART RATE MONITOR FOR ANALOG ENTHUSIASTS Jelimo B Maswan, Abigail C Rice 6.101: Final Project Report Date: 5/15/2014 1 Project Motivation Heart Rate Monitors are quickly becoming ubiquitous in
More informationSINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS
SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS One of the most common applications questions on operational amplifiers concerns operation from a single supply voltage. Can the model OPAxyz be operated
More informationChapter 9 Latches, Flip-Flops, and Timers
ETEC 23 Programmable Logic Devices Chapter 9 Latches, Flip-Flops, and Timers Shawnee State University Department of Industrial and Engineering Technologies Copyright 27 by Janna B. Gallaher Latches A temporary
More informationSG2525A SG3525A REGULATING PULSE WIDTH MODULATORS
SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS 8 TO 35 V OPERATION 5.1 V REFERENCE TRIMMED TO ± 1 % 100 Hz TO 500 KHz OSCILLATOR RANGE SEPARATE OSCILLATOR SYNC TERMINAL ADJUSTABLE DEADTIME CONTROL INTERNAL
More informationAnalog Representations of Sound
Analog Representations of Sound Magnified phonograph grooves, viewed from above: The shape of the grooves encodes the continuously varying audio signal. Analog to Digital Recording Chain ADC Microphone
More informationClock Recovery in Serial-Data Systems Ransom Stephens, Ph.D.
Clock Recovery in Serial-Data Systems Ransom Stephens, Ph.D. Abstract: The definition of a bit period, or unit interval, is much more complicated than it looks. If it were just the reciprocal of the data
More information