Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Similar documents
Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Lab 2: Diode Characteristics and Diode Circuits

Lab 6: MOSFET AMPLIFIER

Lab 5: MOSFET I-V Characteristics

Lab 5: MOSFET I-V Characteristics

Lab 3: BJT I-V Characteristics

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

Integrators, differentiators, and simple filters

Lab 6: Instrumentation Amplifier

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

Chapter 12: Electronic Circuit Simulation and Layout Software

EE 1210 Op Amps, Gain, and Signal Integrity Laboratory Project 6

EK307 Active Filters and Steady State Frequency Response

Lab 6 Prelab Grading Sheet

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

EE 233 Circuit Theory Lab 3: First-Order Filters

Introduction to the Analog Discovery

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

OPERATIONAL AMPLIFIERS (OP-AMPS) II

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions:

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

Operational Amplifiers 2 Active Filters ReadMeFirst

Intro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved.

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Digital Applications of the Operational Amplifier

Prelab 10: Differential Amplifiers

EE320L Electronics I. Laboratory. Laboratory Exercise #3. Operational Amplifier Application Circuits. Angsuman Roy

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - II

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

University of Pittsburgh

Each individual is to report on the design, simulations, construction, and testing according to the reporting guidelines attached.

10: AMPLIFIERS. Circuit Connections in the Laboratory. Op-Amp. I. Introduction

BME 3512 Bioelectronics Laboratory Five - Operational Amplifiers

Instructions for the final examination:

EE 3305 Lab I Revised July 18, 2003

Using LTSPICE to Analyze Circuits

EK307 Passive Filters and Steady State Frequency Response

ECEN Network Analysis Section 3. Laboratory Manual

Common-Source Amplifiers

EE 210 Lab Exercise #5: OP-AMPS I

TTL LOGIC and RING OSCILLATOR TTL

BME/ISE 3512 Bioelectronics. Laboratory Five - Operational Amplifiers

LABORATORY 2: Bridge circuits, Superposition, Thevenin Circuits, and Amplifier Circuits

ELEG 205 Analog Circuits Laboratory Manual Fall 2017

DiMarzio Section Only: Prelab: 3 items in yellow. Reflection: Summary of what you learned, and answers to two questions in green.

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - I

Laboratory Project 1: AC Circuit Measurements and Simulation

Dept. of Electrical, Computer and Biomedical Engineering. Inverting and non inverting amplifier

EE 233 Circuit Theory Lab 4: Second-Order Filters

PHYSICS 330 LAB Operational Amplifier Frequency Response

EE4902 C Lab 7

Electronics. RC Filter, DC Supply, and 555

Name: First-Order Response: RC Networks Objective: To gain experience with first-order response of RC circuits

ECE4902 C Lab 7

EE2210 Laboratory Project 1 Fall 2013 Function Generator and Oscilloscope

Op-Amp Simulation Part II

Laboratory #4: Solid-State Switches, Operational Amplifiers Electrical and Computer Engineering EE University of Saskatchewan

Lab: Operational Amplifiers

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 2 ACTIVE FILTERS

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

Fill in the following worksheet-style pages. A colored pen or pencil works best. The procedure is:

EE 210 Lab Exercise #3 Introduction to PSPICE

EE 233 Circuit Theory Lab 2: Amplifiers

EECS 100/43 Lab 6 Frequency Response

1.5k. (a) Resistive Circuit (b) Capacitive Circuit

ECE 310L : LAB 9. Fall 2012 (Hay)

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit

Lab Exercise # 9 Operational Amplifier Circuits

Electronics I. laboratory measurement guide

Physics 310 Lab 6 Op Amps

ENSC 220 Lab #2: Op Amps Vers 1.2 Oct. 20, 2005: Due Oct. 24, 2004

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

California University of Pennsylvania. Department of Applied Engineering & Technology. Electrical / Computer Engineering Technology

On-Line Students Analog Discovery 2: Arbitrary Waveform Generator (AWG). Two channel oscilloscope

ECE3042 Lab Report and Homework Guidelines. Homework. Lab Report

Common-source Amplifiers

ECEN 325 Lab 5: Operational Amplifiers Part III

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

BME/ISE 3511 Laboratory One - Laboratory Equipment for Measurement. Introduction to biomedical electronic laboratory instrumentation and measurements.

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC 180A DIGITAL SYSTEMS I Winter 2015

Data Conversion and Lab Lab 1 Fall Operational Amplifiers

Lab 4: Analysis of the Stereo Amplifier

Lab 13 AC Circuit Measurements

Class #7: Experiment L & C Circuits: Filters and Energy Revisited

Chapter 2 BASIC LINEAR AMPLIFIER CIRCUITS Name: Date

Operational Amplifier Circuits

ITT Technical Institute. ET275 Electronic Communications Systems I Onsite Course SYLLABUS

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Combinational logic: Breadboard adders

MultiSim and Analog Discovery 2 Manual

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier

UC Berkeley, EECS Department EECS 40/42/100 Lab LAB3: Operational Amplifier UID:

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS

Transcription:

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits 1. Learning Outcomes In this lab, the students evaluate characteristics of the non-ideal operational amplifiers. Students use a simulation tool (LTspice) to simulate the two most popular configurations op-amp circuits: inverting and non-inverting amplifiers. Students also build, predict the results, and observe the gain and frequency response of the amplifiers. 2. Health and Safety Any laboratory environment may contain conditions that are potentially hazardous to a person s health if not handled appropriately. The Electrical Engineering laboratories obviously have electrical potentials that may be lethal and must be treated with respect. In addition, there are also mechanical hazards, particularly when dealing with rotating machines, and chemical hazards because of the materials used in various components. Our LEARNING OUTCOME is to educate all laboratory users to be able to handle laboratory materials and situations safely and thereby ensure a safe and healthy experience for all. Watch for posted information in and around the laboratories, and on the class web site. 3. Lab Report Students work in groups of 2 with laboratories being on alternative week (in 2C80/82). Each student must have a lab book for the labs. The lab book is used for lab preparation, notes, record, and lab reports. The lab books must be handed before 5:00 pm on the due date (same day of the following week) into the box labeled for your section across from 2C94. The lab books are marked and returned before the next lab. Marking Scheme All labs must be performed and a lab write-up submitted in order to pass the class. If one or more labs have not been performed, then a grade of INC (incomplete) will be submitted. You will be required to demonstrate correct operation of various parts of the lab to a lab instructor during your scheduled lab period (these parts are highlighted in the lab procedure section) to be considered as having "completed" the lab. A mark for each lab will be assigned based upon your submitted lab book. Lab books can be considered to be fulfilling the same functions as logbooks in industry. Logbooks are used to record the results of all tests performed on systems, subsystems and equipment during the various phases of a project including R&D, design, systems integration, etc. Logbooks are official, permanent documents, and can be used in court to prove ownership of a design! The following points must be followed when writing up lab reports: The first page must contain a table of contents. All pages in the lab book must be numbered. Formal structure is not critical; logical order is important. Rev A Copyright 2016 University of Saskatchewan Page 1 of 18

Try to use pen, avoid pencil. Legibility and neatness are important, as is orderly notes. The lab book is standalone. There should be no references to any outside documents. Remember that you may be allowed to bring in your lab books for the final exam. They are your cheat sheets make sure they re complete! Theory and background information must be completed prior to the lab. Cross out unwanted or erroneous material with a single large X. Do not remove any pages from your lab book. The left-hand page can be used for rough calculations, notes, measurements, etc. This page is not considered part of the official write-up, unless you ask that it be considered. Do not cut and paste any material from the lab manual into your lab book; only graphs, plots, experimental waveforms, and schematics can. Use glue wherever possible; tape is acceptable, but staples are not! One lab partner must have the original of any experimental waveform; his/her partner may have a photocopy of that waveform. Label all diagrams and schematics; include an equipment list. Schematic diagrams and waveforms without explanation are not acceptable. Discussion of results and/or conclusions resulting from each portion of the lab should be found with that portion. The end of the lab should have a short summary of all conclusions. The instructors may request you to hand-in your lab books at the end of the term for accreditation purposes. If in doubt about what to include (and how), remember that it should be clear, concise and complete. 4. Material and Equipment Material (supplied by department) TL082 op-amp Resistors: 2 x 1 kω, 1 x 10 kω Capacitors: 1 x 470 pf Equipment (supplied by student) Analog Discovery Waveforms 2015 software Breadboard and wiring kit Rev A Copyright 2016 University of Saskatchewan Page 2 of 18

5. Prelab Op Amp Specifications The TL082 Op-Amp is used for this lab. The pin-out diagram for the TL082 op-amp IC is shown in Figure 5-1. 8 dot 1 4 Figure 5-1: TL082 Op-Amp 1. Go to www.digikey.ca and search for TL082. Select the Linear Amplifiers category and apply the Mounting Type = Through Hole filter. Select the TL082IP. Fill in the following table: Price Break 1 10 100 1,000 10,000 Unit Price 2. Using the datasheet link in step #1, make note of the following ratings/characteristics: Rating Maximum Positive Supply Voltage Maximum Negative Supply Voltage Input Voltage Range Typical Loop Signal Voltage Gain Input Resistance Slew Rate Gain Bandwidth Value Rev A Copyright 2016 University of Saskatchewan Page 3 of 18

Rev A Copyright 2016 University of Saskatchewan Page 4 of 18

Inverting Amplifier 1. Analytically determine the gain of the inverting amplifier shown in Figure 6-1 (ignore the Capacitor C1). 2. Simulate the inverting amplifier shown in Figure 6-1 using SPICE (see Appendix A on how to run LTSpice) and include a screen shot of the output plot. A SPICE circuit file for the inverting amplifier is shown in Figure 5-2. An on-line SPICE Reference Manual can be found at http://www.eecg.toronto.edu/~kphang/teaching/spice/index.html Inverting Amplifier ** Subcircuit: ideal_opamp ** Voltage controlled voltage source.subckt ideal_opamp 1 2 3 Evcvs 1 0 2 3 1e6 ; V_1_0 = V_2_3 * 1e6.ends ideal_opamp ** Inverting Amplifier Circuit Vin Vin 0 DC 0 AC 100mV ; Input voltage 100 mv AC signal R1 Vin 2 1k ; 1 kohm input resistor R2 2 Vo 10k ; 10 kohm feedback resistor C1 2 Vo 470pF ; 470 pf feedback capacitor R3 Vo 0 1k ; 1 kohm load resistor on output XA1 Vo 0 2 ideal_opamp ; Op Amp subcircuit set up with negative feedback ** Analysis.AC LIN 100 1Hz 100kHz ; AC analysis from 1 Hz to 100 khz.end Non-Inverting Amplifier Figure 5-2: Inverting Amplifier SPICE Circuit File 1. Analytically determine the gain of the non-inverting amplifier shown in Figure 6-7 (ignore the Capacitor C1). 2. Simulate the non-inverting amplifier shown in Figure 6-7 (include the Capacitor C1) using SPICE and include a screen shot of the output plot. You will need to modify the SPICE circuit file from the inverting amplifier. Rev A Copyright 2016 University of Saskatchewan Page 5 of 18

Breadboards 1. Watch the video at "https://www.youtube.com/watch?v=oiqnaspti7w". 2. Answer the following questions: 2.1. Why is it called a breadboard? 2.2. What feature makes it easy to connect to the power supply? Resistors 1. Watch the video at "https://www.youtube.com/watch?v=sjlnw5g9np4". 2. Answer the following questions (a Resistor Colour Code Chart can be found in Appendix B): 2.1. What would be the colour code of a 2.2 kω resistor with 5% tolerance? 2.2. A resistor has colour code Brown-Black-Orange-Gold. What is its resistance value? 2.3. A resistor has colour code Brown-Black-Black-Brown-Brown. What is its resistance value? 3. You can also download one of a number of apps to your smartphone for identifying resistors (e.g. Resistor Color Code for Android). Rev A Copyright 2016 University of Saskatchewan Page 6 of 18

6. Lab Procedures Debugging (or What To Try When Things Aren't Working) There are a number of things/procedures you should use to debugging circuits when things are not working correctly. These include (but are not limited to): Check that all component pins are correctly inserted in the breadboard (sometimes they get bent underneath a component). Make sure that components are not "misaligned" in the breadboard (e.g. off by one row). Double check component values (you can measure resistors, capacitors, and inductors). Try a different section in the breadboard (in case there is a bad internal connection). Measure the source voltages to verify power input. Measure key points in the circuit for proper voltage/waveform (i.e. divide-and-conquer). Inverting Amplifier One of the most common applications of the op-amp is the simple inverting amplifier. The output is inverted relative to the input and the amplification gain is determined by the ratio of the feedback resistor (R2) to the input resistor (R1). 1. Construct the circuit shown in Figure 6-1 on your breadboard. A Resistor Colour Chart can be found in Appendix B and an Analog Discovery Pin Out in Appendix C: 1.1. The +5 V supply is provide by V+ of the Analog Discovery (red wire) and the -5 V supply is provided by V- of the ADM (white wire). 1.2. V in is supplied by the Arbitrary Waveform Generator W1 (yellow wire), make sure to include at least one ground (black wire). 1.3. An example of a circuit layout with above connections is shown in Figure 6-2. C1 470 pf R2 R1 1 kω 10 kω +5 V _ TL082 + Vo Vin -5 V R3 1 kω Rev A Copyright 2016 University of Saskatchewan Page 7 of 18

Figure 6-1: Inverting Amplifier Circuit Schematic Figure 6-2: Inverting Amplifier Example Layout 2. Use "Supplies" on Waveforms 2015 to turn on the V+ and V- supplies. 3. Set "Vin" to be a 100 mv 1 khz sine wave using the "WaveGen" tool as shown in Figure 6-3 and turn on by pressing "Run". Figure 6-3: Arbitrary Waveform Generator 1 Setting 4. Connect "Channel 1" to measure the input voltage "Vin" (relative to ground). Channel 1 is the voltage difference between 1+ (orange wire, also called "Scope Channel 1 Positive") and 1- (orange/white wire, also called "Scope Channel 1 Negative"). Rev A Copyright 2016 University of Saskatchewan Page 8 of 18

5. Connect "Channel 2" to measure the output voltage "Vo" (relative to ground). Channel 2 is the voltage difference between 2+ (blue wire, also called "Scope Channel 2 Positive") and 2- (blue/white wire, also called "Scope Channel 2 Negative"). 6. Bring up the Scope window by selecting "Scope" from the WaveForms main screen. Press "Run" and the Scope window should look similar to Figure 6-4 if everything is working correctly. Figure 6-4: Initial Scope Window 7. To be able to better see and measure the waveforms: 7.1. Set "Time Base" = 200 us/div, set "C1 Range" = 50 mv/div and set "C2 Range" = 500 mv/div. Turn off Noise for both channels (refer to Lab 0 if you need instructions). 7.2. Click on the "View Measure" option and "Add": 7.2.1. "Channel 1 Horizontal Frequency" 7.2.2. "Channel 1 Vertical Amplitude" 7.2.3. "Channel 2 Vertical Amplitude" 7.3. Click on "Single" to freeze the capture and read off the Measurements. 7.4. The Scope window should look similar to Figure 6-5: 7.4.1. Include a screen capture in your report. 7.4.2. Note that the output waveform should have an amplitude 10 times larger than the input waveform and that they are 180 o out of phase with each other (e.g. when the input reaches a peak, the output reaches a valley). The Gain is -10. 7.5. REQUIRED: Demonstrate to a lab instructor and make sure your demonstration is recorded by the lab instructor. Rev A Copyright 2016 University of Saskatchewan Page 9 of 18

Figure 6-5: Scope Window With Measurements 8. Measure and fill in the values for the table below (be sure to include units). You will need to adjust "Time Base" so that the sine waves are discernable as you change frequency. Frequency Vin Amplitude Vo Amplitude Gain = Vo/Vin Modeled Vo from Prelab 1 khz 5 khz 10 khz Every 10 khz until 100 khz 9. Comment on what happens to the relative "phase" (delay) between the input and output voltages when the frequency is changed from 1 khz to 100 khz. Get a screen capture of the Scope at 100 khz. 10. Determine the frequency at which the gain equals 0.707 of the maximum gain: 10.1. This is most easily accomplished by determining the target Vo, and using the slider on the Frequency parameter in Wavegen (change Simple to Basic, see Figure 6-6). Move the slider until the "C2 Amplitude" closely matches as possible to the target Vo. Note that setting appropriate "Max" and "Min" value for the slider makes it easier. You may need to adjust "Time Base" so that you only see a few cycles of the sine waves (to get reasonable measurements) as you change frequency. 10.2. Include a screen capture of the Oscilloscope window showing the found 0.707 gain point. 10.3. Is there a specific name for this frequency? Rev A Copyright 2016 University of Saskatchewan Page 10 of 18

Figure 6-6: Basic Waveform Generator Mode 11. Remove Capacitor C1. Measure and fill in the values for the table below (be sure to include units): Frequency Vin Amplitude Vo Amplitude Gain = Vo/Vin 1 khz 5 khz 10 khz 20 khz 50 khz 100 khz 12. Plot the output voltage Vo versus Frequency for the measured Vo from step 6.2.8 and step 6.2.11 and the simulated Vo from Prelab 5.2. Rev A Copyright 2016 University of Saskatchewan Page 11 of 18

Non-Inverting Amplifier 1. Construct the circuit shown in Figure 6-7 on your breadboard. C1 470 pf R2 R1 1 kω 10 kω +5 V _ TL082 + Vo Vin -5 V R3 1 kω 2. Set "Vin" to be a 100 mv 1 khz sine wave. Figure 6-7: Non-Inverting Amplifier Circuit Schematic 3. Connect "Channel 1" to measure the input voltage "Vin" and connect "Channel 2" to measure the output voltage "Vo". 4. Similar to section 6.2, bring up the Scope window and adjust its parameters (including the Measurement functions) to provide a good picture of the input and output voltages. Include a screen capture in your report. 4.1. REQUIRED: Demonstrate to a lab instructor and make sure your demonstration is recorded by the lab instructor. 5. Measure and fill in the values for the table below (be sure to include units): Frequency Vin Amplitude Vo Amplitude Gain = Vo/Vin Modeled Vo from Prelab 1 khz 5 khz 10 khz Every 10 khz until 100 khz 6. Comment on what happens to the relative "phase" (delay) between the input and output voltages when the frequency is changed from 1 khz to 100 khz. 7. Determine the frequency at which the gain equals 0.707 of the maximum gain. Include a screen capture of the Oscilloscope window showing the found 0.707 gain point. Rev A Copyright 2016 University of Saskatchewan Page 12 of 18

8. Remove Capacitor C1. Measure and fill in the values for the table below (be sure to include units): Frequency Vin Amplitude Vo Amplitude Gain = Vo/Vin 1 khz 5 khz 10 khz 20 khz 50 khz 100 khz 9. Plot the output voltage Vo versus Frequency for the measured Vo from step 6.3.5 and step 6.3.8 and the simulated Vo from Prelab 5.3. Rev A Copyright 2016 University of Saskatchewan Page 13 of 18

Appendix A SPICE "SPICE (Simulation Program with Integrated Circuit Emphasis) is a general-purpose, open source analog electronic circuit simulator. It is a powerful program that is used in integrated circuit and board-level design to check the integrity of circuit designs and to predict circuit behavior" (from Wikipedia). There are a number of freeware SPICE simulation programs available. "LTspice IV" is available on the Engineering computers in the "Electrical Engineering" folder under the Start menu. It can also be downloaded to your home computer from http://www.linear.com/designtools/software/#ltspice. To run a simulation: 1. Create a text file with the SPICE circuit description with a ".cir" extension (a good Windows text editor is Notepad++ can be found at https://notepad-plus-plus.org). 2. Run "LTspice IV" and "File Open" the file from step 1 (make sure you select "Files of type: Netlists (*.cir, *.net, *.sp)"). Your screen should look similar to Figure A-1. Figure A-1: LTspice IV Circuit Description 3. Select the "Simulate Run" menu item to run the simulation. A blank plot window should be opened as shown in Figure A-2. 4. Select the "Plot Settings Add trace" menu item. Select the "V(vin)" and "V(vo)" traces to plot as shown in Figure A-3. 5. Maximize the plot window. The screen should look similar to Figure A-4. Note that the vertical scale is in "db". Change the range using the "Plot Settings Manual Limits" menu item to match what is shown in Figure A-5. Also Plot Settings Grid. The final plot window should now look similar to Figure A-6. Rev A Copyright 2016 University of Saskatchewan Page 14 of 18

Figure A-2: Initial Plot Window Figure A-3: Add Traces Dialog Figure A-4: Maximized Plot Window Rev A Copyright 2016 University of Saskatchewan Page 15 of 18

Figure A-5: Plot Limits Dialog Figure A-6: Final Plot Rev A Copyright 2016 University of Saskatchewan Page 16 of 18

Appendix B - Resistor Colour Codes http://itll.colorado.edu/electronics_center/resistor_chart/ Rev A Copyright 2016 University of Saskatchewan Page 17 of 18

Appendix C - ADM Pin Out Rev A Copyright 2016 University of Saskatchewan Page 18 of 18