Developing Computer-Based Laboratory Instruments in a New Undergraduate Electrical Engineering Program a Summary

Similar documents
Undergraduate Research Projects for Engineering Technology Students


Lock - in Amplifier and Applications

Frequency Response of Filters

TDA W Hi-Fi AUDIO POWER AMPLIFIER

Experiment # (4) AM Demodulator

Precision Diode Rectifiers

OPERATIONAL AMPLIFIERS. o/p

LM118/LM218/LM318 Operational Amplifiers

Teaching the Importance of Data Correlation in Engineering Technology

Chapter 12: The Operational Amplifier

Measuring Temperature withthermistors a Tutorial David Potter

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

MATRIX TECHNICAL NOTES

Isolated AC Sine Wave Input 3B42 / 3B43 / 3B44 FEATURES APPLICATIONS PRODUCT OVERVIEW FUNCTIONAL BLOCK DIAGRAM

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

Analog Signal Conditioning

isim ACTIVE FILTER DESIGNER NEW, VERY CAPABLE, MULTI-STAGE ACTIVE FILTER DESIGN TOOL

Laboratory 4: Feedback and Compensation

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

TDA W Hi-Fi AUDIO POWER AMPLIFIER

Basic Op Amp Circuits

LF412 Low Offset Low Drift Dual JFET Input Operational Amplifier

Buffer Op Amp to ADC Circuit Collection

TL074 TL074A - TL074B

LM833 LOW NOISE DUAL OPERATIONAL AMPLIFIER

A Low Frequency Adapter for your Vector Network Analyzer (VNA)

High Common-Mode Rejection. Differential Line Receiver SSM2141. Fax: 781/ FUNCTIONAL BLOCK DIAGRAM FEATURES. High Common-Mode Rejection

PLL frequency synthesizer

LM101A LM201A LM301A Operational Amplifiers

LM1596 LM1496 Balanced Modulator-Demodulator

TL082 Wide Bandwidth Dual JFET Input Operational Amplifier

Conversion Between Analog and Digital Signals

Op Amp Circuit Collection

PIN CONFIGURATION FEATURES ORDERING INFORMATION ABSOLUTE MAXIMUM RATINGS. D, F, N Packages

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

Homework Assignment 03

FREQUENCY RESPONSE ANALYZERS

LM381 LM381A Low Noise Dual Preamplifier

RF Network Analyzer Basics

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

A PC-BASED TIME INTERVAL COUNTER WITH 200 PS RESOLUTION

MPC 4. Machinery Protection Card Type MPC 4 FEATURES. Continuous on-line Machinery Protection Card

Lab 1: The Digital Oscilloscope

Application of Rail-to-Rail Operational Amplifiers

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

LH0091 True RMS to DC Converter

Performing Amplifier Measurements with the Vector Network Analyzer ZVB

Reading: HH Sections , (pgs , )

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

LM1036 Dual DC Operated Tone/Volume/Balance Circuit

W-band vector network analyzer based on an audio lock-in amplifier * Abstract

Title : Analog Circuit for Sound Localization Applications

DATA SHEET. TDA1518BQ 24 W BTL or 2 x 12 watt stereo car radio power amplifier INTEGRATED CIRCUITS

Laboratory #5: RF Filter Design

Wide Bandwidth, Fast Settling Difet OPERATIONAL AMPLIFIER

Lab #9: AC Steady State Analysis

Features. Note Switches shown in digital high state

6.101 Final Project Report Class G Audio Amplifier

TL084 TL084A - TL084B

Bipolar Transistor Amplifiers

Signal Types and Terminations

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Scaling and Biasing Analog Signals

28V, 2A Buck Constant Current Switching Regulator for White LED

Lab 7: Operational Amplifiers Part I

Precision, Unity-Gain Differential Amplifier AMP03

Table 1 Mixed-Signal Test course major topics. Mixed-signal Test and Measurement Concepts ENCT 351 What are Mixed-signal circuits

Experiment 7: Familiarization with the Network Analyzer

Laboratory Manual. ELEN-325 Electronics

Transistor Amplifiers

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.

100V - 100W DMOS AUDIO AMPLIFIER WITH MUTE/ST-BY THERMAL SHUTDOWN STBY-GND

LM386 Low Voltage Audio Power Amplifier

High Speed, Low Power Dual Op Amp AD827

Understanding Power Impedance Supply for Optimum Decoupling

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

Introduction to Receivers

Application of network analyzer in measuring the performance functions of power supply

Sophomore Physics Laboratory (PH005/105)

AN-837 APPLICATION NOTE

Low Cost Instrumentation Amplifier AD622

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

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

Step Response of RC Circuits

INTEGRATED CIRCUITS DATA SHEET. TDA7000 FM radio circuit. Product specification File under Integrated Circuits, IC01

High Speed, Low Cost, Triple Op Amp ADA4861-3

Selected Filter Circuits Dr. Lynn Fuller

DATA SHEET. TDA8560Q 2 40 W/2 Ω stereo BTL car radio power amplifier with diagnostic facility INTEGRATED CIRCUITS Jan 08

How To Calculate The Power Gain Of An Opamp

Single-Supply, Rail-to-Rail, Low Power, FET Input Op Amp AD820

Active Vibration Isolation of an Unbalanced Machine Spindle

HP 8970B Option 020. Service Manual Supplement

THERMAL ANEMOMETRY ELECTRONICS, SOFTWARE AND ACCESSORIES

High Speed, Low Power Monolithic Op Amp AD847

HT9170 DTMF Receiver. Features. General Description. Selection Table

Transcription:

Session 1320 Developing ComputerBased Laboratory Instruments in a New Undergraduate Electrical Engineering Program a Summary David M. Beams University of Texas at Tyler ABSTRACT: This paper describes the culmination of a twoyear project which had two aims: (1) development of computerbased laboratory instruments (CLIs) consisting of LabVIEW virtualinstrument programs coupled with custom external hardware; (2) integration of these CLIs into the undergraduate curriculum. Students were brought into the design process wherever possible, giving them firsthand experience with openended design problems. Project TUNA (Texas Universal Network Analyzer), a CLI which characterizes the frequency response (magnitude and phase) of linear networks over a frequency range of 10 Hz to 100 khz, was designed as a class project in EENG 4409 (Electronic Circuit Analysis II) in 1999, and served as the model for this project. Project TUNA was described in a previous paper presented to the 2000 ASEE Annual Conference. A grant from the National Science Foundation (DUE9952292) was received in April, 2000, to support further development of CLIs at the University of Texas at Tyler. An interim progress report was presented to the 2001 ASEE Annual Conference. This paper summarizes the CLIs and their use in the curriculum and describes the resources developed by this project which have been made available to other electrical engineering programs. Project TUNA II: Project TUNA (Texas Universal Network Analyzer), an instrument for measuring ac frequency response of active and passive networks, was described in a paper presented at the 1999 ASEE Annual Conference 1 which later appeared in an updated version 2. Curricular resources available for Project TUNA include a tutorial describing how Project TUNA functions and how Project TUNA is used in a laboratory exercise in characterization of active filters. Construction details for those interested in duplication of Project TUNA include schematics, parts lists, AutoCAD drawings, and the Project TUNA virtualinstrument program written in LabVIEW (National Instruments, Austin, TX). Permanent copies of the Project TUNA hardware have been constructed and have been successfully used in the electrical engineering laboratory curriculum at the University of Texas at Tyler. Resources related to Project TUNA may be obtained from http://www.eng.uttyl.edu/usr/dbeams/tuna/project_tuna.htm. Figure 1 shows a block diagram of the Project TUNA instrument. The heart of Project TUNA is a dual switchingtype phasesensitive demodulator and a pair of lowpass filters. A GPIBcontrolled HP33120A signal generator (Agilent Technologies, Palo Alto, CA) serves as the signal source; quadrature networks provide produce two sinusoidal outputs in phase quadrature relative to each other. The cosine signal is applied to the device under test through a buffer. The sine and cosine outputs of the quadrature networks are converted into square waves by highspeed voltage comparators, and these square waves serve as reference signals for the

demodulator. Three quadrature networks are employed to cover the frequency range between 10 Hz and 100 khz with the appropriate network chosen depending upon the generator frequency. Four dc voltage measurements (taken by a GPIBcontrolled Agilent HP34401 DMM) are necessary to determine the voltage gain of the device under test at each frequency. The inphase and quadrature output voltages are read for the phase detector connected to the input of the device under test to determine the magnitude and phase of the input voltage to the device under test; these voltages are read again with the phase detector connected to the output of the device under test to determine the magnitude and phase of the output voltage. Figure 1 below shows the block diagram of the Project TUNA unit. Quadrature network selection cos(wt) Buffer HP E3631A Power Supply ( 0 6V output ) In Device Under Test Out Control Unit Quadrature Networks sin(wt) HP33120A Signal Generator cosine reference sine reference Highspeed voltage comparators Signal in I out I ref Switching Phasesensitive Demodulator Q ref Q out Fixed timeconstant RC lowpass filters To HP34401A DMM Fig. 1. Block diagram of the Project TUNA computerbased laboratory instrument. Project TUNA is not without its shortcomings: It requires relativelyexpensive GPIBbased test equipment for both the signal source and data acquisition. The GPIBbased equipment provides no digital I/O for direct control of the hardware. This difficulty was overcome by building a control unit to configure the hardware. This control board includes a 4bit A/D converter connected to the 0 6Vdc output of a GPIBcontrolled triple dc power supply (Agilent E3631A) and combinatorial logic to convert these bits into specific control signals. The LabVIEW virtualinstrument program contains code which to forces the required voltages at the power supply. The switchingtype phasesensitive demodulator was also found to produce unreliable results above a few hundred khz for signals in the range of tens of millivolts or less, attributed to charge injection from the gates to the channels of the ADG201HS highspeed analog switches (Analog Devices, Norwood, MA) used in the demodulator. Thus the finished TUNA instrument was limited to 100 khz.

The dynamic range of the Project TUNA instrument is limited to voltage gains of ±30 db. Significant limits to the dynamic range were imposed by the unitygain input amplifier of the phasesensitive demodulator and by the necessity to maintain the generator output at or above approximately 0.5V pp to ensure proper operation of the highspeed voltage comparators. The fixed time constants of the RC lowpass filters was 160 ms, chosen to provide sufficient filtering at the lowest frequency of operation (10 Hz). This limited how rapidly the Project TUNA instrument could step from one frequency to the next. The use of a switchingtype phasesensitive detector with a squarewave reference signal means that the demodulator produces dc outputs from demodulator input signals containing odd harmonics of the measurement frequency. 3 Senior electricalengineering student Zinnour Soultanov undertook a redesign of Project TUNA as his senior design project in 2001. Project TUNA II was to include a number of improvements: Increased frequency range; Increased measurement dynamic range; Shortened analysis times; Reduced dependence upon GPIB instrumentation; Use of a multifunction I/O card for dataacquisition and control. Figure 2 shows the block diagram of Project TUNA II. The principal changes in TUNA II are: A multiplying phasesensitive demodulator using AD734 highspeed fourquadrant analog multipliers (Analog Devices) replaced the switchingtype demodulator; A variable attenuator was added ahead of the buffer driving the device under test to permit varying the drive level to the device under test without having to change the output voltage of the generator; The gain of the amplifier preceding the phasesensitive demodulator was made variable; Variable timeconstant RC lowpass filters were used, permitting shorter analysis times at higher frequencies ( >5 khz); Direct control of TUNA II hardware by digital I/O with a PCI1200 multifunction I/O card (National Instruments, Austin, TX) was implemented; Simultaneous readings are made of the inphase and quadrature outputs of the phasesensitive demodulator by analog inputs of the PCI1200 multifunction I/O card. A prototype of Project TUNA II has been constructed and tested and has substantially met its design goals. Resources available for Project TUNA II include schematics, a description of the software, and the virtualinstrument program. All are available through links found at http://www.eng.uttyl.edu/usr/dbeams/home/tuna2/project_tuna2.htm. A permanent copy of the TUNA II instrument has not yet been constructed.

Attenuator In Device Under Test Out Quadrature Networks sin(wt) HP33120A Signal Generator cos(wt) 1.0 0.01 0.1 0.001 cosine reference Buffer Amplifer (A v =1, 10) Signal in I out I ref Multiplying Phasesensitive Demodulator Q ref Q out To Analog Input 1 of PCI1200 sine reference Variable timeconstant RC lowpass filters To Analog Input 0 of PCI1200 Fig. 2. Block diagram of the hardware of Project TUNA II. Project TUGBOAT: Project TUGBOAT (Texas UnderGraduate Basic Op Amp Tester) is a computerbased laboratory instrument designed to measure certain nonideal characteristics of common operational amplifiers (inputoffset voltage, inputbias current, dc openloop gain, and ac openloop gain at 1 khz and 10 khz). Project TUGBOAT s measurement techniques were outlined in an application note from Analog Devices 4 and the instrument itself was described in detail in a paper presented at the 2001 ASEE Annual Conference 5. Curricular resources currently available for Project TUGBOAT include a tutorial on its operation and a laboratory exercise suitable for a juniorlevel course in electronics. The tutorial explains techniques for measuring these parameters and their implementation in the TUGBOAT instrument. The laboratory exercise consists of two phases. The first part leads students through measurement of inputoffset voltage, inputbias currents, dc openloop gain, and ac gainbandwidth product of common operational amplifiers with the Project TUGBOAT instrument. The second half has students build circuits with these amplifiers to observe the effects of the measured nonidealities on circuit behavior. Resources available for duplication of the Project TUGBOAT instrument are the LabVIEW virtualinstrument program, schematic diagrams in.pdf format, printedcircuit artwork (produced with AutoCAD Release 12), and a list of components. These resources are available at http://www.eng.uttyl.edu/usr/dbeams/home/tugboat/project_tugboat.htm. Another finding of Project TUGBOAT was the existence of large differences for some op amps between their dc openloop gains measured by the prototype instrument (which was the subject of the report in 2001) and by the instrument constructed with a printedcircuit board (PCB). A representative sample is produced below in Table 1. The results are somewhat confusing. Experiments undertaken to determine the origin of the differences showed that the measured gain was affected by the outputvoltage swing forced at the output of the device under test and whether any additional load resistance was placed between the output and ground.

Further experimentation is needed to explain the phenomenon; it may be noted, however, that the gains measured by the permanent version of Project TUGBOAT are more consistent with published manufacturers data than those of the prototype instrument. Device Type and DC Open Loop Gain Test Serial No. Manufacturer Lot Code Prototype PCB TL084 (#1) Texas Instruments 82A3CFM 104,000 77,900 TL084 (#2) Texas Instruments 82A3CFM 97,700 73,600 TL084 (#3) Texas Instruments 03A53KM 80,600 62,100 LM741 (#1) National HM92AJ 2.57 10 6 467,000 LM741 (#2) National HM92AJ 3.37 10 6 512,000 LM741 (#3) Harris H9640 257,000 397,000 LM741 (#5) Harris H9640 251,000 393,000 LM324 (#2) National PM948DH 1.49 10 6 712,000 LM324 (#3) RCA H401 1.93 10 6 547,000 LM324 (#4) National 209C 3.15 10 6 442,000 Table 1. Comparison of dc openloop gains for various devices measured by both the prototype and PCB versions of the Project TUGBOAT instrument. Lot Code reflects markings other than device type and manufacturer s logo found on the devices. One minor modification has been introduced to the Project TUGBOAT virtualinstrument program since the instrument was first described. It was found in testing the Project TUGBOAT instrument realized on a printedcircuit board that ac openloop gain measurements of LM324 operational amplifiers at 1 khz and 10 khz were grossly in error given the specified gainbandwidth product of this device (approximately 1 MHz) whereas measured gains of TL084 and LM741 operational amplifiers were close to what was expected. Investigation of this effect showed that the LM324 devices ac output voltages were not sinusoidal suffered significant crossover distortion when the output stage of the device was lightly loaded. A simple fix for this unexpected difficulty (which was not seen with the prototype TUGBOAT instrument) was to introduce a user adjustment permitting a dc offset to be superimposed upon the output of the device under test during ac openloop voltage gain measurement. Figure 3 shows the revised panel of the Project TUGBOAT virtual instrument.

Fig. 3. Revised front panel of the Project TUGBOAT virtual instrument. The added user adjustment for dc output offset voltage during measurement of ac voltage gain is at the bottom of the AC Parameters subpanel. Project GUISE: Project GUISE (Generalpurpose Universal Instrumentation System for Education) consists of a series of building blocks for instrumentation systems and a LabVIEW virtualinstrument program which configures these blocks. Figure 4 shows the block diagram of the Project GUISE external hardware. The configuration of Fig. 4 differs from that originally projected for this instrument in the following: Two separate ac/dccoupled amplifiers were provided instead of one, and a variable dc output offset voltage (±10V) was incorporated in Amplifier 0. Both ac/dccoupled amplifiers may be used as inverting or noninverting amplifiers. Two unitygain Butterworth lowpass filters were provided. A precision fullwave rectifier with gain of 2 was included. External amplitude control of the quadrature oscillator was deleted. A buffer amplifier was included for the thermocouple interface. Means were included to permit the instrumentation amplifier to be operated in electrical isolation from the remainder of the Project GUISE instrument. This would permit the use of the instrumentation amplifier as part of an isolation amplifier. External cables are used to interconnect the blocks of the hardware of Project GUISE.

Instrumentation Amplifier AC/DCCoupled Amplifiers DigitallyControlled SPDTAnalog Switches 2Pole Active LowPass Filters Gain = 1, 5, 10, 50 Inputoffset voltage < 150mV Inputbias current < 2nA Gain = ± 1, 5, 10, 50 Z in = 1MW Z o = 470W BW > 30kHz (A v =50) DC Offset ± /10V (Amplifier 0 only) DC gain = 1 f 3dB = 4.3 Hz Fullwave precision rectifier Quadrature Oscillator Thermocouple ColdJunction Compensation and Amplifier cos(wt) cosine sync sin(wt) sine sync Frequency range: 100 Hz to 10 khz Sinusoidal outputs: Output voltage = 10Vpp Max. output current = 50 ma Squarewave outputs: Output voltage= 0 to 5V Coldjunction compensation LT1025 Thermocouple connections Amplifier (Gain = 50) Fig. 4. Block diagram of the Project GUISE hardware. Figure 5 shows the panel of the Project GUISE virtual instrument. The controls for the instrumentation amplifier, thermocouple selection, and the ac/dccoupled amplifiers are at left; controls for the quadrature oscillator are at the upper right. Slope and offset adjustments are provided for calibration of the oscillator frequency. The middle subpanel on the righthand side provides realtime readings of the voltages at analog channels 0 and 1 of the PCI1200 card. It also contains the parameters of a quadratic function to convert the raw voltage readings to calibrated readings in other units (e.g., temperature). The sampling rate of the analog channels is adjustable with a control at the lowerleft corner. Curricular resources available or in process for Project GUISE include a tutorial on the operation of its various sections and laboratory exercises (measurement of commonmode rejection ratio of the instrumentation amplifier; construction of chopperstabilized and lockin amplifiers; construction of an isolation amplifier; construction of a thermocouple amplifier; and construction of a straingage amplifier). Resources available for duplication of Project GUISE include schematic diagrams, artwork (created with AutoCAD Release 12), and the virtualinstrument program. See http://www.eng.uttyl.edu/usr/dbeams/home/guise/project_guise.htm. (As a parenthetical note, the prototype of the instrumentation amplifier achieved measured commonmode rejection ratios of 84dB at 200 Hz with a differentialmode gain of 50).

Fig. 5. Project GUISE virtualinstrument panel. ZAP (Impedance Apparatus Project): The last project planned in this sequence will be developed as a class project in EENG 4309 (Electronics II) and EENG 4109 (Electronics II Lab) in spring, 2002. It has been tentatively named Impedance Apparatus Project, or ZAP using Z to stand for Impedance. (The name is subject to change should the students devise a better one). ZAP will be an impedancemeasuring instrument similar to an LRC bridge. LRC bridges are neither excessively expensive nor difficult to obtain; the rationale for designing and building such an instrument in this course is threefold: 1. to give students experience in openended design problems; 2. to give students experience in modern engineering tools (e.g., LabVIEW); 3. to give students understanding of how such an instrument makes its measurements. Tentative goals for ZAP are as follows: 1. Frequency range from 10 Hz to 1 MHz; 2. Measurement range of magnitude of 50Ω to 100kΩ, and phase of ±90 ;

3. Userselectable readout of impedance or admittance. Figure 6 below shows one possible implementation of ZAP. One of the open questions to be settled in the early phases of the design process will be the design of the signal source. One possibility is to use an HP33120A signal generator as a sinusoidal source and use quadrature networks to generate sine and cosine reference signals as in Projects TUNA and TUNA II. This has the advantage that any frequency within the intended frequency range of ZAP can easily be synthesized; it has the disadvantage of requiring an IEEE488 interface. Another possibility is to use a squarewave oscillator at 4f meas and a simple state machine to produce two square waves in phase quadrature at f meas.(where f meas is the frequency of measurement). A cosinusoidal signal can be produced from the cosinereference square wave with a bandpass filter. This approach can be readily realized in hardware but is restricted to a few discrete measurement frequencies. reference Fig. 6. Block diagram of the proposed ZAP instrument to be developed in EENG 4309 / 4109 in the spring semester of 2002 at the University of Texas at Tyler. Developments of ZAP will be detailed at the 2002 Annual Conference of ASEE. RotatingMachine Laboratory Instrument: The original proposal for this project included a computerbased laboratory instrument for a laboratory in electricpower systems and rotating machines. This development was shelved, however, after the departure of the faculty member for whom this instrument was to be developed. Publication: Unknown Impedance cos(wt) A booklet describing these computerbase laboratory instruments and the resources available for them will be prepared in the spring of 2002 and disseminated according to the dissemination plan included in the proposal for NSF DUE 9952292. Acknowledgement: Voltage Current Input Phasesensitve Demodulator cosine reference Lowpass filter Lowpass filter Development of TUNA II was supported by departmental funds. Support for other work described in this paper has been received from the National Science Foundation under grant DUE 9952292. sine I Q V oi V oq

References: 1. D. M. Beams, Project TUNA: the development of a LabVIEW virtual instrument as a class project in a juniorlevel electronics course. Presented at the 2000 Annual Conference of the American Society for Engineering Education, St. Louis, MO, June 18 21, 2000. 2. D. M. Beams. Project TUNA the development of a LabVIEW virtual instrument as a class project in a juniorlevel electronics course. Computers in Education Journal 11:1 (Jan Mar 2001), 2833. 3. R. PallasAreny and J. G. Webster, Analog signal processing. New York: John Wiley and Sons, 1999, 259 264. 4 Anonymous. How to test basic operational amplifier parameters. Application note published by Analog Devices Inc., Norwood, MA. No date given. 5. D. M. Beams, Developing ComputerBased Laboratory Instruments in a New Undergraduate Electrical Engineering Program. Presented at the 2001 Annual Conference of the American Society for Engineering Education, Albuquerque, NM, June 24 27, 2001. DAVID M. BEAMS David Beams is an Assistant Professor of Electrical Engineering at the University of Texas at Tyler. He received the B.S. degree in Electrical Engineering in 1974 and the M.S. degree in 1977, both from the University of Illinois at UrbanaChampaign. He was employed in industry for 16 years.. He received the Ph.D. degree from the University of Wisconsin Madison in 1997. He is a licensed PE in Wisconsin and Texas and holds or shares four patents.