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

Similar documents
EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

ECE 2274 Diode Basics and a Rectifier Completed Prior to Coming to Lab

EK307 Active Filters and Steady State Frequency Response

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

TTL LOGIC and RING OSCILLATOR TTL

ECE 2274 Pre-Lab for Experiment # 4 Diode Basics and a Rectifier Completed Prior to Coming to Lab

ECEN Network Analysis Section 3. Laboratory Manual

EE 2274 MOSFET BASICS

Operational Amplifiers: Part II

LT Spice Getting Started Very Quickly. First Get the Latest Software!

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.

Integrators, differentiators, and simple filters

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

Lab 4: Analysis of the Stereo Amplifier

Revised: Summer 2010

ENGR 201 Homework, Fall 2018

Lab 6: Building a Function Generator

Lab 3: RC Circuits. Construct circuit 2 in EveryCircuit. Set values for the capacitor and resistor to match those in figure 2 and set the frequency to

Lab 6 Prelab Grading Sheet

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

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

LAB 8: Activity P52: LRC Circuit

Lab 9: Operational amplifiers II (version 1.5)

EK307 Passive Filters and Steady State Frequency Response

ECE 2274 MOSFET Voltmeter. Richard Cooper

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Lab 3: AC Low pass filters (version 1.3)

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 4 SINGLE STAGE AMPLIFIER

EE2210 Laboratory Project 1 Fall 2013 Function Generator and Oscilloscope

EE 368 Electronics Lab. Experiment 10 Operational Amplifier Applications (2)

Lab Reference Manual. ECEN 326 Electronic Circuits. Texas A&M University Department of Electrical and Computer Engineering

Lab 6: Instrumentation Amplifier

ECE 2201 PRELAB 6 BJT COMMON EMITTER (CE) AMPLIFIER

Department of Electrical & Computer Engineering Technology. EET 3086C Circuit Analysis Laboratory Experiments. Masood Ejaz

Background Theory and Simulation Practice

ENEE207 Electric Circuits Lab Manual

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

EE 3305 Lab I Revised July 18, 2003

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

EE431 Lab 1 Operational Amplifiers

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

ECE 2274 Lab 2 (Network Theorems)

Laboratory Project 1: AC Circuit Measurements and Simulation

University of Pittsburgh

Introduction to LT Spice IV with Examples

Digital Applications of the Operational Amplifier

ECE 3274 Common-Emitter Amplifier Project

Class #8: Experiment Diodes Part I

ENG 100 Lab #2 Passive First-Order Filter Circuits

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

Lab 10: Oscillators (version 1.1)

EXPERIMENT NUMBER 8 Introduction to Active Filters

Lab #2 First Order RC Circuits Week of 27 January 2015

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

Simulating Circuits James Lamberti 5/4/2014

Problem 1: Voltage Limiting 1.1. Simulate the following simple resistor-diode circuit (shown on the left in Figure 1):

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

.dc Vcc Ib 0 50uA 5uA

OPERATIONAL AMPLIFIERS (OP-AMPS) II

EE 233 Circuit Theory Lab 3: First-Order Filters

Sirindhorn International Institute of Technology Thammasat University at Rangsit

Laboratory 4 Operational Amplifier Department of Mechanical and Aerospace Engineering University of California, San Diego MAE170

EE 221 L CIRCUIT II. by Ming Zhu

Lab 9 Frequency Domain

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2005

Since transmission lines can be modeled using PSpice, you can do your analysis by downloading the student version of this excellent program.

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

Experiment 8 Frequency Response

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - II

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

Lab 6: MOSFET AMPLIFIER

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

ENGR4300 Test 3A Fall 2002

Page 1 of 7. Power_AmpFal17 11/7/ :14

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

Laboratory 4: Amplification, Impedance, and Frequency Response

EE 210 Lab Exercise #3 Introduction to PSPICE

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

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

LAB 4 : FET AMPLIFIERS

ME 365 EXPERIMENT 7 SIGNAL CONDITIONING AND LOADING

Transmit filter designs for ADSL modems

Experiment #6: Biasing an NPN BJT Introduction to CE, CC, and CB Amplifiers

Class #9: Experiment Diodes Part II: LEDs

EE 210 Lab Exercise #5: OP-AMPS I

LABORATORY #3 QUARTZ CRYSTAL OSCILLATOR DESIGN

EE 210: CIRCUITS AND DEVICES

Activity P52: LRC Circuit (Voltage Sensor)

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

Laboratory 6. Lab 6. Operational Amplifier Circuits. Required Components: op amp 2 1k resistor 4 10k resistors 1 100k resistor 1 0.

ECE 2274 Lab 2. Your calculator will have a setting that will automatically generate the correct format.

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide

LTSpice Basic Tutorial

Fig. 1. NI Elvis System

Transmit filter designs for ADSL modems

In a cascade configuration, the overall voltage and current gains are given by:

Basic operational amplifier circuits In this lab exercise, we look at a variety of op-amp circuits. Note that this is a two-period lab.

UNIVERSITY OF PENNSYLVANIA EE 206

Laboratory on Filter Circuits Dr. Lynn Fuller

Transcription:

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab Prelab Part I: RC Circuit 1. Design a high pass filter (Fig. 1) which has a break point f b = 1 khz at 3dB below the midband level (the -3dB point). Uses a C= 0.1uF capacitor, and calculate the value for R. f b = 1 / (2πRC ) Vin 5Vac 0Vdc C 0.1uF R? Vout Fig. 1 2. Use LTspice to perform an AC sweep of your designed circuit from 10Hz to 10kHz with 10 points per decade. Place a Voltage source on the schematic from the edit tab - component tab - right click on voltage source - select advanced sine. You will need to use 5 Vpeak, 0 DC as your voltage source. Print out the AC sweep and label the frequency of the point on the plot that is 3dB below the midband level (the -3dB point). Run the AC sweep simulation. The graph the gain with a scale is in db with the decade selection command, which is a 20*log scale, then add the gain trace V OUT/V IN versus frequency. You do not need to add the scale factor of 20*log(Vout/Vin). What type of filter? ans: 3. Exchange C with R (Fig. 2) and measure the voltage across C and Vin as you did above. Do the LTspice sweep and change the graph to db as in 2. What type of filter? ans: Label and turn in both graphs., R Vin 5Vac 0Vdc? C 0.1uF Vout Fig. 2 Page 1 of 8

Prelab Part II: Op-Amp Circuit Adding a model to LTspice. Copy the LM741.sub model file to the subcircuit directory for LTspice. Your folder Documents\LTspiceXVII\lib\sub In the drawing select Edit spice directive enter in text box.lib LM741.sub - place on drawing OK Place an OPamp on the drawing select Edit Component [Opamps] OK - opamp2 OK place on drawing. Change name opamp2 to LM741 on drawing 1. Simulate an inverting amplifier circuit using a LM741 Op amp. a. The closed loop voltage gain (Av = Vout/Vin) should be designed to be -7 with error less than 10%. Av = R2/R1, Vout is on pin 6 of the OP amp. b. Choose resistor values for R1 and R2 between 500Ω-20kΩ from the list of 10% nominal resistor values. c. The positive and negative voltage supplies, V+ and V-, should be set to 5Vdc (pin 7) and -5Vdc (Pin 4), for the LM741. d. The input voltage source should be a part called Vs. Set the DC offset voltage, VOFF, to 0V; the amplitude of the sinusoidal voltage source, VAPML, to 100mVp, and the frequency of the voltage source, FREQ, to 1k (which is equal to 1000 Hz). e. Put two voltage markers into the circuit. One should be Vin and the other Vout should be at the output of the LM741 Op Amp. Graphing both the input signal and the output signal allows comparison of what the circuit did to the input signal. f. Run a Transient analysis to confirm the gain of -7. Print out this transient to be turned in. g. Place the probe on node voltage to be displayed in the plot window (Vin Vout). h. Using the cursors, Right click on waveform label at top of plot window select Attached Cursor find the exact AC gain Vout/Vin of the op amp. Page 2 of 8

Figure 3: Inverting op-amp. Page 3 of 8

LTspice Setting For Vs 2. Run the following simulations: a. DC Sweep i. Create a new simulation profile from simulate tab select edit simulation cmd ii. Select DC Sweep tab the select 1st Source. iii. Type the input voltage source label in the box next to the field Name of 1 st Source to Sweep. Note that this would be Vs in the drawing above, but this will not be the default name of the input voltage source in your LTspice drawing. The start value should be 0V and the end value should be 2V increment of 0.1V Ensure that a linear sweep will be performed. Click OK in the Simulation Setup window. iv. Run the simulation. Another window should open and a plot of the output voltage versus the input voltage should appear. This graph is commonly known as the voltage transfer function. Use this plot to answer the questions located on the Pre-Lab Answer sheet v. Print a copy of the graph open Tools tab Control Panel - Waveforms check box Plot data with thick lines or for newer LTspice change Data Trace Width to 4. b. AC Sweep. i. Go to the edit simulation cmd window. ii. Select AC Sweep from the Analysis type pull-down box. iii. Ensure that the type of sweep is decade. The graph scale is in db iv. The start frequency should be 1k and the end frequency should be 1000k Vin = 0.2Vpp (amplitude 100mV) Select a reasonable number of points per decade to obtain a smooth curve. (10 points per decade). v. Click OK Simulation Setup window. vi. Run the AC sweep simulation. The graph scale is in db with the decade selection command which is a 20*log scale, then add the gain trace V OUT/V IN versus frequency. You do not need to add the scale factor of 20*log(Vout/Vin). In the plot window right click on equation at the top of the window. Select attach curser 1. Drag the cursor to the pass band on the plot select Plot Settings Notes & Annotations Label Curs. Pos. Now to determine the -3dB frequency point drag the curer to the breakpoint which is the point 3dB below the pass band value. Print a copy of the graph. c. Transient simulation of op-amp i. Run a Transient simulation of op-amp Vin = 0.2Vpp (amplitude 100mV) Frequency = 1KHz Plot Vin and, Vout on the same plot, between 2 and 5 complete waveforms. Print a copy of the graph. ii. Adjust the amplitude of the function generator Vs until you observe clipping of the waveform. Print a copy of the graph. Page 4 of 8

Answer Sheet: Prelab RC and Op Amp CRN# Student Name: Date: Part I: RC Circuit %error = (Measured-Expected)/Expected 1. What value of R gave a cutoff point 3dB below the midband gain (-3dB point) at 1 khz? R = 2. Cutoff point Fig 1 Breakpoint Gain (db) Frequency Filter Type 3. Cutoff point Fig 2 Breakpoint Gain (db) Frequency Filter Type 4. Explain why in Fig. 1 we measured across R, then in Fig. 2 across C, and is a different type of filter? (hint: X c= -1/2πfC) Part II: Op-Amp Circuit 1. What is the DC gain of the op amp from LTspice? At what input voltage V IN does the output voltage V OUT reach an absolute maximum? V IN = V OUT = Why does the output voltage hit an absolute maximum at this value? 2. What is the AC gain of the op amp from LTspice? Vin = 0.2Vpp Frequency = 1KHz 3. At what frequency does the output voltage V OUT reach high frequency cutoff the 3dB below the midband level? Frequency = save plot. 4. At what high frequency does V OUT equal the input voltage V IN? Frequency = 4. Run a Transient simulation of op-amp Vin = 0.2Vpp Frequency = 1KHz save plot Vin, and Vout 5. Adjust the amplitude of the function generator Vs until you observe clipping of the wave form. Save plot Vin, and Vout. Required Attachments: 1. AC Sweep of first circuit 4. AC Sweep of op-amp circuit frequency response. 2. AC Sweep of second circuit 5. Transient simulation of op-amp 3. DC Sweep of op-amp circuit 6. Transient simulation of op-amp clipping Page 5 of 8

Experiment Lab procedure: RC and Op Amp Circuit Power off the PC (shutdown) and cycle the power switch on the back (by the power cord) of the 3 multimeters before you start the lab. Use a 0.1uF, 0.047uF, 0.001uf or 0.0047uF for the bypass capacitor on the OpAmp. Part I: Passive RC filter 1. Build the high pass filter designed (Fig. 1) in the Pre-Lab 2. Open the BasicACsweep project, save a copy to your flash memory and modify the exponential sweep range to 10Hz to 10,000Hz with the sine waveform amplitude of 5Vp. Use 10 steps per decade, (3 decades) x (10 steps )+ 1 = 31 steps. Check that the function generator output impedance is set to High Z by setting the output impedance in the function generator step to 0. Note: the cursors will not work with the XY graph type. 3. Two multimeters are used one connected to the input voltage multimeter (DM3068LL). The other connected to the output multimeter (DM3068LR) both set to AC volts. a. Save the plot snapshot (must use snapshot for multiple plots) of Gain db verse frequency (plot with log-x and db-y axis) and paste it to the project document. Select the plot in project document right click on the plot select visible items, select cursors. Use the scales (you may need to zoom in) to identify the two 3dB below the midband points. How close is the frequency from the design value? What could cause this error? b. Export the project document to your flash to be printed include both student s names. Mark on the printed graphs by hand the cutoff points. c. Measure the exact value of the capacitor using the capacitance meter and measure the exact value of your resistance. d. Recalculate the -3dB cutoff point (3dB below MidBand) using the measured capacitance and resistance value. 4. Build the low pass filter designed (Fig. 2) in the Pre-Lab. 5. Run an AC sweep from 10Hz to 10,000Hz with the waveform amplitude of 5Vp. Set the total number of steps such that there are 10 steps per decade. a. Print out the plot with log-x and db-y axis. b. Again, mark on the graphs the point 3dB below midband level (-3dB point). Page 6 of 8

Part II: OP amp 1. DC Sweep: a. Build the inverting amplifier that you designed in the pre-lab. Supply power (lower Right Channel 2, 3) to LM741-5Vdc Pin 4 and +5Vdc Pin 7 include a bypass capacitor on the two supplies, place it between -V Pin 4 and +V Pin 7. Select the (BasicDCsweep) from the signal express software. Use the other supply (lower Left _ channel 2) that is not being used supply the power to the op amp to sweep. Sweep parameters for the supply: Initial 0V, end voltage 1V, set the total number of steps such that the per step voltage is 50mv. (Number of steps = V_per sweep / V_per step). Configure the multimeter for DC volts. Save your waveform to the project document to be printed out and turn in with your lab data. 2. AC Sweep: a. Run an AC Sweep from 100Hz to 300,000Hz with the waveform amplitude of 200mVpp set the total number of steps such that there are 10 steps per decade. b. Print the plot with a log-x and db-y axis. c. What frequency is the point 3dB below the midband level? How does this compare to LTspice? 3. Transient: a. Using the function generator Vs, select a sinusoid with an amplitude of 100mVp (200mV peak to peak) and a frequency of 1 khz. b. Using the oscilloscope, measure the maximum output voltage in the positive and negative halves of is cycle. c. Adjust the amplitude of the function generator Vs until you observe clipping of the waveform. d. Capture this waveform on the scope (BasicScopeCapture), turn in with your lab to show clipping e. At what output voltage does this clipping occur? Why? f. How does this compare to LTspice? LM324 Top View LM741 Top View Page 7 of 8

RC and Op Amp Circuit Experiment Data Sheet CRN# Students: #1 #2 Bench # Date: Part I: 2. a. Frequency of the cutoff point 3dB below the midband level of high pass filter Fig1. Frequency = b. % error from LTspice %error = (measured- LTspice)/LTspice c. What could have caused the error? d. Frequency of cutoff point calculated from measured values. 4. a. Frequency of the point 3dB below the midband level of low pass filter Fig2. Frequency = b. % error from LTspice c. What could have caused error? Part II: add Bypass capacitor. 2. c. 3dB cutoff point of op-amp Measured: LTspice: % error from LTspice 3. b. Maximum output voltages Measured: LTspice: 3. e. When does clipping occur? V in = V out = Why? 3. f. How does this compare with LTspice? Required Attachments: 1. AC Sweep of low pass 4. AC Sweep of op-amp 2. AC Sweep of high pass 5. Scope capture of op-amp 3. DC Sweep of op-amp 6. Scope capture of op-amp clipping Page 8 of 8