EE 233 Circuit Theory Lab 3: First-Order Filters

Similar documents
EE 233 Circuit Theory Lab 4: Second-Order Filters

EE 233 Circuit Theory Lab 2: Amplifiers

Integrators, differentiators, and simple filters

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

OPERATIONAL AMPLIFIERS (OP-AMPS) II

Experiment 8 Frequency Response

Laboratory 9. Required Components: Objectives. Optional Components: Operational Amplifier Circuits (modified from lab text by Alciatore)

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

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.

Lab 6: Building a Function Generator

Experiment 6: Biasing Circuitry

Experiment 6: Biasing Circuitry

BME 3512 Bioelectronics Laboratory Two - Passive Filters

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

ECEN 325 Lab 5: Operational Amplifiers Part III

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

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

EK307 Passive Filters and Steady State Frequency Response

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

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

EK307 Active Filters and Steady State Frequency Response

A 3-STAGE 5W AUDIO AMPLIFIER

Operational Amplifiers: Part II

EE 221 L CIRCUIT II. by Ming Zhu

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps

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

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

Physics 310 Lab 6 Op Amps

Prelab 10: Differential Amplifiers

11. Audio Amp. LM386 Low Power Amplifier:

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

Lab 4: Analysis of the Stereo Amplifier

transformer rectifiers

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

Laboratory 4: Amplification, Impedance, and Frequency Response

EECS 100/43 Lab 6 Frequency Response

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.

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

Real Analog - Circuits 1 Chapter 11: Lab Projects

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

ECEN Network Analysis Section 3. Laboratory Manual

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

PHYSICS 330 LAB Operational Amplifier Frequency Response

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

OPERATIONAL AMPLIFIERS LAB

Operational Amplifiers 2 Active Filters ReadMeFirst

In-Class Exercises for Lab 2: Input and Output Impedance

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

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

TTL LOGIC and RING OSCILLATOR TTL

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

University of Pittsburgh

Objectives The purpose of this lab is build and analyze Differential amplifier based on NPN transistors.

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - I

LINEAR APPLICATIONS OF OPERATIONAL AMPLIFIERS

EE 221 L CIRCUIT II. by Ming Zhu

EE 3305 Lab I Revised July 18, 2003

Lab 6: Instrumentation Amplifier

UNIVERSITY OF UTAH ELECTRICAL ENGINEERING DEPARTMENT

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

EE43 43/100 Fall Final Project: 1: Audio Amplifier, Part Part II II. Part 2: Audio Amplifier. Lab Guide

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

PHYS 536 The Golden Rules of Op Amps. Characteristics of an Ideal Op Amp

EE 210: CIRCUITS AND DEVICES

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

LABORATORY 7 v2 BOOST CONVERTER

Audio Power Amplifiers with Feedback Linearization

FREQUENCY RESPONSE AND PASSIVE FILTERS LABORATORY

STATION NUMBER: LAB SECTION: Filters. LAB 6: Filters ELECTRICAL ENGINEERING 43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

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

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Audio Amplifier. November 27, 2017

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - II

Class #3: Experiment Signals, Instrumentation, and Basic Circuits

ECE 2201 PRELAB 6 BJT COMMON EMITTER (CE) AMPLIFIER

Operational Amplifiers

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 7 LAB MANUAL MOSFET AMPLIFIER DESIGN AND ANALYSIS

Transmit filter designs for ADSL modems

Electronics I. laboratory measurement guide

Laboratory Project 1: AC Circuit Measurements and Simulation

EE 230 Lab Lab 9. Prior to Lab

The Operational Amplifier This lab is adapted from the Kwantlen Lab Manual

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits

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

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

INDIANA UNIVERSITY, DEPT. OF PHYSICS, P400/540 LABORATORY FALL Laboratory #6: Operational Amplifiers

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

Spectrum analyzer for frequency bands of 8-12, and MHz

ECE159H1S University of Toronto 2014 EXPERIMENT #2 OP AMP CIRCUITS AND WAVEFORMS ECE159H1S

EECS 216 Winter 2008 Lab 2: FM Detector Part II: In-Lab & Post-Lab Assignment

I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

Problem set: Op-amps

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

Low_Pass_Filter_1st_Order -- Overview

Lab 2: Common Emitter Design: Part 2

Transcription:

EE 233 Circuit Theory Lab 3: First-Order Filters Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 Inverting Amplifier... 3 3.2 Non-Inverting Amplifier... 4 3.3 Integrating Amplifier... 5 3.4 Differentiating Amplifier... 7 4 Experimental Procedure and Data Analysis... 8 4.1 Equalizer... 8 4.1.1 Preamplifier... 8 4.1.2 Summing Amplifier... 9 4.2 Microphone... 10 4.3 Mixer... 10 Table of Figures Figure 3.1: Inverting amplifier... 3 Figure 3.2: Non-inverting amplifier... 4 Figure 3.3: Integrating amplifier... 5 Figure 3.4: Integrating amplifier with shunt resistor... 6 Figure 3.5: Differentiating amplifier... 7 Figure 4.1: Preamplifier circuit... 8 Figure 4.2: Summing amplifier circuit... 9 Figure 4.3: Microphone circuit... 10

1 Introduction This lab is designed to teach students how to create and interpret Bode plots for various op-amp circuit topographies, through both mathematical analysis and SPICE simulation. Afterword, the lab will have students analyze and measure characteristics of simple analog amplifiers built with op-amps. The circuits built in this lab are also part of the audio mixer system; more specifically, they are the preamplifier and the output summing amplifier in the equalizer. You should keep them assembled on your breadboard, and arrange them with the other audio mixer parts in mind. Read Overview of Audio Mixer.pdf for more information of the entire project. This lab is split into a prelab exercise and hardware implementation. Submit one prelab report and one lab report per group, with the members names are clearly written on the front page. There is no template for the prelab report, and the lab report template is available on Canvas. These reports must be in pdf format. There are multiple apps, including CamScanner, for Apple and Android phones that turn photos into pdf s. 2 Precautions Op-amps (and all other IC chips) can be easily damaged by static electricity, so make sure that you always store them with their prongs attached to plastic foam, which you can acquire (for free) at the EE store. In addition, make sure to ground yourself by touching a metallic surface before handling an op-amp. Over the course of the lab, your op-amp might burn out due to improper handling and use: Static Discharge Damage: Your finger might carry a high static voltage (up to hundreds of volts) due to a combination of the clothing you wear (synthetic or wool is worse), the environmental humidity (dry is worse), or other factors. Picking up an IC package could burn out the circuit inside due to this static voltage. Remember to touch a grounded piece of metal (usually a wrist-strap attached to test benches) to discharge the static voltage before handling the IC. Applying Out-of-Range Input Values: The input signals must be in the range set by the power supplies (see the specifications). If the input signal exceeds the power supplies, either more negative or more positive, the circuit might get burned out. Burned-out chips look the same as good ones, and you can waste a lot of time trouble-shooting your circuit. Two signs of a burned-out op-amp are excessive current drawn from the power supply (greater than about 10mA with no load) and/or an op-amp hot to the touch. Of course, a blown-out op-amp may exhibit none of these symptoms. If you suspect that your op-amp is faulty, replace it. You should also pay close attention to the circuit connections and the polarity of the power supplies, function generator, and oscilloscope inputs. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 1 of 10

3 Prelab Exercises Any linear, time-invariant system can be represented by its frequency response H(jω) = V out(jω) V in (jω) The magnitude of the frequency response, H(jω), is the gain of the system as a function of frequency, while the phase of the frequency response, H(jω), shows the difference between the input and output s phases as a function of frequency. Example: Suppose the output voltage over a capacitor is V out (jω) = 1 1+jωRC V in(jω). The transfer function is H(jω) = V out(jω) V in (jω) = 1 1+jωRC = N D The gain is H(jω) = N D = 1 1+jωRC = 1 1+ω 2 R 2 C 2 The phase is H(jω) = N D = 0 tan 1 ( ωrc 1 ) = tan 1 (ωrc) The Bode plot is a graph of the frequency response, and it is composed of two plots: one each for the gain and phase. The gain plot has frequency on the x-axis, in a log scale, and the magnitude in decibels (db) on the y-axis. The phase plot has the same x-axis properties as the gain s, and the y-axis is in degrees. Together these are referred as the frequency domain behavior of a system. Example: Suppose R = 10kΩ and C = 0.01μF for the system above. The gain in db is H(jω) db = 20log 10 ( The phase is H(jω) = tan 1 (ω10 4 ) 1 ) 1+ω 2 (10 8 ) EE 233 Lab 3: First-Order Filters Laboratory Manual Page 2 of 10

Note: In this prelab procedure the default power supply voltage to the op-amp is ±12V. 3.1 Inverting Amplifier Prelab #1: Derive the frequency response for the circuit in Figure 3.1, in terms of R s and R f, and explain why this circuit is known as an inverting amplifier. Figure 3.1: Inverting amplifier Prelab #2: Design an inverting amplifier that has a gain of 47 (this gain is negative). Pick resistor values that you have in your lab kit. Include a schematic of this circuit, with the component values labeled, with your completed prelab. Prelab #3: a) Use Lab3_prelab.m and lab3plot.m to plot the Bode plot for your inverting amplifier. b) Simulate this inverting amplifier circuit with SPICE to make sure the circuit works as designed. Include the Bode plot generated by SPICE in your completed prelab. Comment on any differences from the results from part (a) and explain which result is closer to the actual behavior. Hint: Read the Bode plots in the op-amp s datasheet. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 3 of 10

3.2 Non-Inverting Amplifier Prelab #4: Derive the frequency response for the circuit in Figure 3.2, in terms of R s and R f, and explain why this circuit is known as a non-inverting amplifier. Figure 3.2: Non-inverting amplifier Prelab #5: Design a non-inverting amplifier that has a gain of +48 (this gain is positive). Pick resistor values that you have in your lab kit. Include a schematic of this circuit, with the component values labeled, with your completed prelab. Prelab #6: a) Use Lab3_prelab.m and lab3plot.m to plot the Bode plot for your non-inverting amplifier. b) Simulate this non-inverting amplifier circuit with SPICE to make sure the circuit works as designed. Include the Bode plot generated by SPICE in your completed prelab. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 4 of 10

3.3 Integrating Amplifier The resistors in the inverting amplifiers can be substituted by any other type of impedance to achieve other functions rather than simple constant positive or negative gain. Change the resistor in the feedback loop to a capacitor, shown in Figure 3.3, and it becomes an integrating amplifier (integrator). Figure 3.3: Integrating amplifier Prelab #7: Derive the frequency response for the circuit in Figure 3.3, in terms of R s and C, then show that the circuit performs the function of an integrator. Prelab #8: Use SPICE transient analysis to simulate the circuit in the time domain using a sine wave input with an amplitude of 100mV and a frequency of 10kHz, with capacitor C = 47pF and the resistor you chose in Prelab #2. From the SPICE output plot of the input and output waveforms, confirm that this circuit is an integrator. Hint: The output signal takes time to reach steady state, so you might see unexpected waveforms in the beginning. To find the steady state output, you could use the oscilloscope in the software or set the time in transient analysis much later than zero. The integration of a sine wave should be a cosine wave. Prelab #9: a) Use Lab3_prelab.m and lab3plot.m to plot the Bode plot for your integrating amplifier. b) Simulate this integrating amplifier circuit with SPICE, using the same resistor and capacitor, to make sure the circuit works as designed. Include the Bode plot generated by SPICE in your completed prelab. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 5 of 10

Now consider what happens when another resistor is added in parallel to the feedback capacitor, as shown in Figure 3.4. Figure 3.4: Integrating amplifier with shunt resistor Prelab #10: a) Derive the frequency response for the circuit in Figure 3.4, in terms of R s, R f, and C. b) What is the magnitude of the gain of this circuit? Use Lab3_prelab.m and lab3plot.m to plot the Bode plot, with capacitor C = 47pF and the resistors chosen in Prelab #2. Prelab #11: a) Explain why the low-frequency (ω 0Hz) gain of this circuit is the same as the gain of an inverting amplifier. Compare this Bode plot with the plot for the inverting amplifier and explain any differences between them. b) Explain why the high-frequency (ω 1/(R f C)) gain of this circuit is the same as the gain of a simple integrator at high frequencies. c) Explain the function of the resistor R f in the circuit, compared to the circuit in Figure 3.3. Hint: Compare the difference of gain with and without the shunt resistor R f, especially at low frequencies. Prelab #12: a) Use SPICE to simulate the frequency response of Figure 3.4. If the input signal has a low frequency what is the expected gain? If the input signal has a high frequency what is the expected gain? b) Comment on whether this circuit is a low-pass, high-pass, or band-pass filter. Explain why this circuit is a better choice for an audio preamplifier, over a simple inverting or non-inverting amplifier. Hint: Consider noise from the input signal. Read Reference Error! Reference source not f ound. for more details about noise. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 6 of 10

3.4 Differentiating Amplifier Replacing the source resistor with a capacitor turns an inverting amplifier into a differentiating amplifier (differentiator). Figure 3.5: Differentiating amplifier Prelab #13: Derive the frequency response for the circuit in Figure 3.5, in terms of R f and C, then show that the circuit performs the function of a differentiator. Prelab #14: Use SPICE transient analysis to simulate this circuit in the time domain using a sine wave input with an amplitude of 100mV and a frequency of 1kHz, with capacitor C = 0.1μF and R f = 50kΩ. From the SPICE output plot of the input and output waveforms, confirm that this circuit is an integrator. Hint: The output signal takes time to reach steady state, so you might see unexpected waveforms in the beginning. To find the steady state output, you could use the oscilloscope in the software or set the time in transient analysis much later than zero. Prelab #15: a) Use Lab3_prelab.m and lab3plot.m to plot the Bode plot for your differentiating amplifier. b) Simulate this differentiating amplifier circuit with SPICE, using the same resistor and capacitor, to make sure the circuit works as designed. Include the Bode plot generated by SPICE in your completed prelab. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 7 of 10

4 Experimental Procedure and Data Analysis Make sure to keep what is built on the breadboard in this lab for later experiments. Also, have your TA check your circuit before you leave to make sure that it is working well. 4.1 Equalizer 4.1.1 Preamplifier Build the circuit in Figure 4.1, with power supplies V CC = 12V, V EE = 12V. Set R s = 1kΩ, R f = 47kΩ, and C = 47pF; then let R v be a 50kΩ potentiometer set to zero in the circuit. Figure 4.1: Preamplifier circuit Use the function generator to produce an input sine wave with an amplitude of 100mV and frequency of 10Hz, then vary the frequency using the 1-2-5 sequence up to 5kHz, keeping the amplitude 100mV. Record the amplitude and phase change of the output signal at every frequency. Analysis #1: Using Microsoft Excel, draw the Bode plot from 10Hz to 5kHz and compare it to the results in Prelab #10b. Apply a sine wave input signal with an amplitude of 300mV and a frequency of 300Hz. Display the input signal on Channel 1 of the oscilloscope and the output signal on Channel 2. Adjust the time base to display 2-3 complete cycles of the signals. Capture both the waveforms in the scope display to confirm that the circuit is an integrator. Turn this oscilloscope waveform in as part of your lab report. Now set the potentiometer to 50kΩ and repeat the same frequency sweep from Analysis #1 (the input amplitude should be 100mV). Record the amplitude and phase change of the output signal at every frequency. Analysis #2: Using Microsoft Excel, draw the Bode plot from 10Hz to 5kHz. Compare the plot with that Analysis #1 and comment on the difference caused by changing the potentiometer. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 8 of 10

4.1.2 Summing Amplifier Build the circuit in Figure 4.2, with power supplies V CC = 12V, V EE = 12V. Set the capacitor to 0.1μF and make all the resistors 100kΩ potentiometers. Figure 4.2: Summing amplifier circuit Apply the function generator to V 1 with an amplitude of 500mV, and leave the other two inputs empty. Sweep the frequency of V 1 starting at 10Hz, then vary it using the 1-2-5 sequence up to 5kHz, while keeping the amplitude the same. Record the amplitude and phase change of the output signal at every frequency. Analysis #3: Using Microsoft Excel, draw the Bode plot from 10Hz to 5kHz and comment on whether the circuit is a low-pass, high-pass or band-pass filter. Set R 1 = 0Ω and R f = 50kΩ. Apply a sine wave input signal to V 1 with an amplitude of 300mV and a frequency of 300Hz. Display the input signal on Channel 1 of the oscilloscope and the output signal on Channel 2. Adjust the time base to display 2-3 complete cycles of the signals. Capture both the waveforms in the scope display to confirm that the circuit is a differentiator. Turn this oscilloscope waveform in as part of your lab report. Apply a sine wave input signal to V 1 with an amplitude of 100mV and a frequency of 1kHz and display the output signal in the oscilloscope. Set R 1 = 1kΩ and increase R f until the output waveform becomes distorted. Analysis #4: Explain the reason why the output becomes distorted, and comment on how to avoid such distortion. Hint: The distorted sine waveform should become flat on top and bottom. Record the maximum and minimum value of the distorted waveform and compare them with V CC and V EE. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 9 of 10

Apply a low frequency sine wave to V 1 and connect V out to the speaker. Listen to the sound in the speaker, then remove the capacitor and listen to the sound again. Analysis #5: Explain the function of the capacitor in the output summing amplifier. 4.2 Microphone The microphone in your lab kit has two pins: pin 1 is the positive end, and pin 2 the negative end. To use the microphone, you need to ground pin 2 and use a resistor to connect pin 1 to a positive voltage supply (this is known as a pull-up resistor, since it pulls the pin up to power). A capacitor is then connected between the output of the microphone and the input of the preamplifier, to help reduce noise. Figure 4.3: Microphone circuit Build the circuit in Figure 4.3, using the power source V EE = 12V, R L = 10kΩ, and C = 1μF. Connect the microphone to your preamplifier, and then connect the output of the preamplifier to the speaker. Play a sound from a cell phone, harmonica, guitar or any other instrument into your microphone, or you can sing into or tap on the microphone and listen to the sound from the speaker. 4.3 Mixer Now that you have a microphone and some filters, you are ready to mix signals with the audio mixer. Connect the speaker to the output terminal of the output summing amplifier and use headphone jacks to provide three channels of signals from your laptops or cell phones. You can also use your microphone for one of the channels. Listen to the sound of the speaker and tell whether the three signals are mixed. Now use the potentiometers in the output summing amplifier to change the whole volume and the ratio of volumes between three channels. This is exactly the same thing as what happens in audio studios. Let your TA check your sounds to make sure your mixer works well. EE 233 Lab 3: First-Order Filters Laboratory Manual Page 10 of 10