Experiment #2 OP-AMP THEORY & APPLICATIONS

Similar documents
Physics 303 Fall Module 4: The Operational Amplifier

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

Experiment #6 MOSFET Dynamic circuits

Chapter 13: Comparators

Experiment #7 MOSFET Dynamic Circuits II

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

Experiment #12 BJT Differential Pairs

Unit WorkBook 1 Level 4 ENG U22 Electronic Circuits and Devices 2018 UniCourse Ltd. All Rights Reserved. Sample

Unit 6 Operational Amplifiers Chapter 5 (Sedra and Smith)

v 0 = A (v + - v - ) (1)

Inverting input R 2. R 1 Output

Operational Amplifiers

Başkent University Department of Electrical and Electronics Engineering EEM 311 Electronics II Experiment 8 OPERATIONAL AMPLIFIERS

Experiment 7: Frequency Modulation and Phase Locked Loops

LAB 4: OPERATIONAL AMPLIFIER CIRCUITS

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

Operational amplifiers

OPERATIONAL AMPLIFIER PREPARED BY, PROF. CHIRAG H. RAVAL ASSISTANT PROFESSOR NIRMA UNIVRSITY

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

Op-Amp Specifications

C H A P T E R 02. Operational Amplifiers

Combination Notch and Bandpass Filter

Operational Amplifiers. Boylestad Chapter 10

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Hands-On Introduction to EE Lab Skills Laboratory No. 2 BJT, Op Amps IAP 2008

Physical Limitations of Op Amps

Applied Electronics II

L02 Operational Amplifiers Applications 1

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

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

An active filter offers the following advantages over a passive filter:

Experiment 1: Amplifier Characterization Spring 2019

EE 233 Circuit Theory Lab 2: Amplifiers

EE301 Electronics I , Fall

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

Lab 2: Discrete BJT Op-Amps (Part I)

ECE4902 C Lab 7

Instrumentation Amplifiers Filters Integrators Differentiators Frequency-Gain Relation Non-Linear Op-Amp Applications DC Imperfections

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

Chapter 14 Operational Amplifiers

Gechstudentszone.wordpress.com

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

Chapter 9: Operational Amplifiers

CHARACTERIZATION OF OP-AMP

tyuiopasdfghjklzxcvbnmqwertyuiopas dfghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq

HOME ASSIGNMENT. Figure.Q3

Introduction to Operational Amplifiers

Chapter 9: Operational Amplifiers

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

LINEAR IC APPLICATIONS

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

Common mode rejection ratio

Difference between BJTs and FETs. Junction Field Effect Transistors (JFET)

+ power. V out. - power +12 V -12 V +12 V -12 V

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

Operational Amplifiers

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

Op-amp characteristics Operational amplifiers have several very important characteristics that make them so useful:

Schmitt trigger. V I is converted from a sine wave into a square wave. V O switches between +V SAT SAT and is in phase with V I.

ECEN 325 Lab 5: Operational Amplifiers Part III

CMOS Operational-Amplifier

Operational Amplifiers

Emitter Coupled Differential Amplifier

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

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

University of Pittsburgh

Laboratory 8 Operational Amplifiers and Analog Computers

Integrators, differentiators, and simple filters

ENE/EIE 211 : Electronic Devices and Circuit Design II Lecture 1: Introduction

Section 6 Chapter 2: Operational Amplifiers

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

EE 210 Lab Exercise #5: OP-AMPS I

Positive Feedback and Oscillators

Common-emitter amplifier, no feedback, with reference waveforms for comparison.

Digital Applications of the Operational Amplifier

CHAPTER 3. Instrumentation Amplifier (IA) Background. 3.1 Introduction. 3.2 Instrumentation Amplifier Architecture and Configurations

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Analog Electronic Circuits Code: EE-305-F

CHAPTER 6 DIGITAL INSTRUMENTS

EE431 Lab 1 Operational Amplifiers

Operational Amplifier as A Black Box

inverting V CC v O -V EE non-inverting

An input resistor suppresses noise and stray pickup developed across the high input impedance of the op amp.

EXPERIMENT 2.2 NON-LINEAR OP-AMP CIRCUITS

Lecture 2: Non-Ideal Amps and Op-Amps

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

UNIT - 1 OPERATIONAL AMPLIFIER FUNDAMENTALS

Chapter 2. Operational Amplifiers

Field Effect Transistors

Operational Amplifier

ELECTRONICS. EE 42/100 Lecture 8: Op-Amps. Rev B 3/3/2010 (9:13 PM) Prof. Ali M. Niknejad

ELECTRONICS. EE 42/100 Lecture 8: Op-Amps. Rev A 2/10/2010 (6:47 PM) Prof. Ali M. Niknejad

ES250: Electrical Science. HW6: The Operational Amplifier

OPERATIONAL AMPLIFIERS (OP-AMPS) II

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

Operational Amplifiers

Lab 10: Single Supply Amplifier

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

Lab Exercise # 9 Operational Amplifier Circuits

UNIT I. Operational Amplifiers

CMOS Operational-Amplifier

Transcription:

Experiment #2 OP-MP THEOY & PPLICTIONS Jonathan oderick Scott Kilpatrick Burgess Introduction: Operational amplifiers (op-amps for short) are incredibly useful devices that can be used to construct a multitude of electronic circuits. They are particularly attractive in both amplifier design and academic instruction because, more often than not, they can be treated as ideal amplifiers. n ideal op-amp has four basic characteristics; infinite gain, infinite bandwidth, infinite input impedance and zero output impedance. n ideal op-amp draws no power from the input due to the infinite input impedance. While the inherent low output impedance enables the op-amp to establish an output that is independent of the circuitry loading. While no amplifier is in fact ideal, the clarity and insight afforded by the assumption of ideal behavior makes the op-amp an attractive first step in designing any amplifier, even those that do not in fact exploit op-amps (e.g., other transistor amplifiers, which we will consider in later labs). Broadly speaking, op-amps can be used two ways: ) in the so-called open-loop mode, which is useful for comparators and triggers, and 2) with feedback, which is how nearly all amplifiers, filters and oscillators using opamps are designed. Theory: Ideal Op-mp Basics: Conceptually, an ideal op-amp is nothing more than a voltage-controlled voltage source (VCVS) with infinite gain, as shown in shown in figure 2.. Normally, the op-amp is represented schematically as a triangle with two input terminals and one output terminal; the internal VCVS is implied. Note that in the VCVS representation, the input port is shown as an open circuit; the implication is that the op-amp input impedance is so high that is does not load the circuitry driving the op-amp. If the input impedance, of the op-amp, were comparable to the output impedance of the driver circuitry, there would be a significant voltage division at the input port. This would not only reduce the op-amp output signal, but also cause the op-amp output to vary directly with the preceding stage output impedance. This is undesirable, because the op-amp performance should depend entirely on its own characteristics, not those of external, and hence variable, components. Likewise, the ideal op-amp has no series output impedance, meaning that the op-amp can drive any load without voltage-divider attenuation. Further, notice that since the op-amp output port consists of a voltage source, there is no limit the output current of an ideal op-amp. in= = - Figure 2.(a) VCVS conceptual representation of op-amp, (b) schematic representation. t this point, you may be wondering about the practicality of a voltage source with infinite gain. Unless the input voltage is exactly zero, won t the output voltage damage the electronics at the output port, or give a large undefined output voltage? This dilemma is resolved by the observation that the op-amp is a VCVS, an active element, necessitating an energy source to supply the gain. This source is the power supply, which is limited to a few volts

(for op-amps in the lab, this may be ±2 V, on integrated circuits, perhaps as low as ±V), constraining the output voltage to reside within the power supply boundaries. For everything to make sense then, the infinite gain is only large for very small inputs signals, and for input voltages greater than this threshold, the output simply clips at one of the supply rails, determined by whether the input signal is positive or negative. This behavior is shown in Fig. 2.2. This type of operation is used to exploit the op-amp as a comparator or trigger. v o 2V 200µV 200µV v in -2V Fig. 2.2 Behavior of op-amp output voltage, assuming power supply = ±2V. Comparator: comparator does exactly what its name implies. It compares two signals, and then produces an output based on the comparison. Making a comparator with an op-amp is really easy, as is indicated in Figure 2.3. Connect the input into one terminal (positive) and a reference voltage into the other terminal (negative). The reference voltage is achieved with the voltage divider shown. The op-amp output will saturate at either the positive (V cc ) or negative rail (V ee ), depending on whether the input is greater than or less than, respectively, the reference voltage. The exact opposite would occur if the inputs were switched to the opposite input terminal of the op-amp. The comparator can be though to have a digital output; its output is either high or low depending on the comparison executed at the input. So, if your input happens to be a sinusoid, then the output will be a square wave of the same period. V cc 2 Fig. 2.3 Basic op-amp comparator. While the principle is simple, there is a problem with this circuit, which the Schmitt trigger in the next section will eliminate. The problem is noise, which can cause the op-amp output to switch incorrectly. Consider a small sinusoid input that has just gone positive relative to the reference, and imagine that the sinusoid is corrupted by noise of a power significant relative to the signal power. This noise could subtract from the input right after the positive transition, causing the output to erroneously dip negative until the sine wave becomes more positive and corrects the 2

output. If this comparator were used as a simple clock circuit, then clearly these glitches in the output waveform would cause considerable errors in the timing. Schmitt Trigger Comparator: 4 V cc Vs 3 V Vo V ref 2 Fig. 2.4 Schmitt trigger circuit. The Schmitt trigger is a glorified comparator that provides glitch-free output by exploiting hysteresis. Hysteresis means that the switching reference voltage of the circuit is different depending on if the circuit is experience a low to high or a high to low transition. For example, the output experiences a maximum when the input rises above some reference voltage, say V, while the output is minimum when the input dips below a different reference voltage, call it V 2. Hysteresis results when V and V 2 are not equal. Thus, if the input signal causes the output to go high, but there also happens to be noise (e.g., 60 Hz hum ) out of phase with the input, effectively causing the noninverting input to fall back below the high trip point, the output will not go low incorrectly. By having two different trip points, V and V 2, the Schmitt trigger experiences a much better immunity to undesirable switching from input sources other than the signal input. Vcc V 2 V -V ee Figure 2.5 Graphical output of a comparator with Hysteresis. 3

To achieve two different trip points, one violates the standard assumption that negative feedback permits, namely, that the two op-amp input terminals are equal in value. In fact, the op-amp is operated with positive feedback, which causes the two inputs to diverge in value. ecognizing that the output is always at one of the supply rails (neglecting the small transition time as the output swings from one extreme to the other), one can determine the trip point voltages for the circuit in Figure 2.4, by using equation 2., in terms of the reference voltage and the additional two resistors. This is left as an exercise in the Pre-lab. V o V 4 VS V 3 = 0 (2.) Feedback: For the situation of Fig. 2.2, it is clear that the VCVS acts linearly only for inputs less than ±200µV! This is so small compared to the supply as to seem insignificant. It would appear that to be practical, one might just as well ignore the linear region, modeling the VCVS as Vo =2V (with the polarity sign of being determined by the sign of ). In fact, with the exception of comparator/trigger-type functions, the linear region is the only region in which the opamp is used! This is achieved by utilizing feedback, in which a portion of the op-amp output is fed back to the inverting terminal. The op-amp will produce an output signal that varies proportional to the input signal by forcing the two input terminals to be at nearly the same potential. Consider the situation depicted in Fig. 2.6: 2 Fig. 2.6 (a) Op -amp without feedback, (b) with feedback. Without feedback, the op-amp output lies at the supply rail. However, when resistor 2 is connected, as seen in figure 2.6b, the following Kirchhoff equations can be written: V s V V = o V 2, V = v o (2.2) 4

resulting in v v o s 2 = 2 2 (2.3) Suppose now that v s is a sine wave with amplitude 00 mv. The amplitude of the source voltage is much more than the permissible 200 µv range shown before. The feedback path provided by the - 2 voltage divider (recognize that shorting out and treating v o as the source, the signal fed back to the inverting terminal is v x ) causes the opamp to realize a net input differential very close to zero and an output amplitude of V. This feedback network forces the op-amp output voltage to be much less than the power supply. V = V (2.4) o 2 Op-mp Characteristics: So far, a very simple model of the op-amp has been explored, and in general this is quite suitable for many designs, and certainly adequate as a first-pass at almost any design. However, real-life designs often have stringent specifications that force one to consider complicated non-ideal op-amps. Because of this, it is worth exploring the sources of some common non-idealities to see what can be done to mitigate their effects. Slew ate: The term slew rate refers to how fast the output can swing without becoming distorted. Consider the circuit discussed in Fig. 2.6(b), again with a sinusoidal input. ecall that the slope of a sinusoid is directly proportional to its frequency and amplitude; this means that as one increases the amplitude and/or frequency of the input sinusoid and/or the closed-loop gain of the op-amp, the output voltage must swing at a faster and faster rate. It turns out that the input stage of an op-amp is a transconductor, which ideally converts the input signal voltage into a proportional signal current. However, in reality, as the input voltage swing gets too large, the signal current available from the transconductor approaches an asymptotic limit, which is a non-linear phenomenon. It follows that even if the signal current is run through a perfect current-to-voltage converter to produce the final output voltage, the op-amp output voltage is necessarily not perfectly proportional to the input voltage, and will appear distorted. Furthermore, the output of any op-amp is capacitive to some degree, which complicates matters still more. ecalling that the I-V relation of a capacitor is dv I = dt C (2.5) It is clear that the rate at which the output voltage can swing is diminished for large output capacitance and small charging current. The charging current is limited by how much DC current the input stage is able to provide the output stage, which ties directly to the limiting signal current phenomenon discussed earlier. While the input voltage may increase very rapidly, the output climbs a bit slower; once the input sinusoid has reached its peak and beings to decrease, the output naturally wants to reach its peak, though the input is directing it to change direction and decrease. Simply put, slew rate is electrical momentum at low speeds, it is easy to change the direction of a moving object, but the faster that object moves, the longer the response time for the object to pursue the direction dictated by the driving force. 5

Bandwidth: Like slew rate, the finite bandwidth of an op-amp limits the performance at high frequencies. However, whereas slew rate non-linearly distorts the shape of a given output frequency (i.e., alters its shape from that of the input), the bandwidth of the op-amp causes the output amplitude to decrease with increasing frequency. The bandwidth also causes the output to incur some phase shift relative to the input, which is a linear effect. The culprit is typically compensation capacitance internal to the op-amp. Compensation capacitance is used to guarantee a one-pole response, and as we will see later, guarantee a stable response when feedback is applied. To account for this effect, one may replace the gain with a frequency-dependent gain, /( s/p). One final note is that the finite bandwidth can cause linear distortion if the input waveform consists of more than one sinusoid, each experiencing a different phase shift and amplitude reduction due to the one-pole response. While the response is still linear, the output waveform may look completely different from the input. Offset Voltage: ssuming the op-amp is totally balanced inside, so when both input terminals are at the same potential, the output voltage should be precisely zero. However, in reality, the circuitry looking into both terminals is not precisely matched (due both to asymmetry in the input stage of the op-amp as well as processing imperfections in manufacturing the op-amp), and this results in an innate imbalance leading to an offset voltage. The offset voltage of an op-amp is defined as the input voltage differential required to adjust the output voltage to zero. Note that as long as this input voltage lies within the range necessary to cause linear VCVS gain, one can relate the input offset voltage to the output voltage resulting from zero input by the gain of the op-amp. Conclusion: The op-amp is one of the fundamental building blocks in most analog circuits. From an ideal standpoint, it is very easy to implement and analyze. The ideal op-amp has four basic features that make it irreplaceable in circuit design, these are; infinite input impedance, zero output impedance, infinite bandwidth, and infinite gain. This lab teaches you the basics behind using the op-amp as a linear device to achieve gain and filtering. The non-ideal attributes of finite slew-rate, finite bandwidth, and non-zero offset voltage limit the performance and the validity of the ideal model. Thus, circuit designers go to great lengths to minimize these non-idealities. Schematic diagram of a 74 op-amp: 8 7 6 5 Vcc Offset null Offset null - 2 3 4 Figure 2.7. Schematic diagram of a 74 op-amp: -Vee 6

eference eading ) oland E. Thomas & lbert J. osa. The nalysis and Design of Linear Circuits, chapter 4. Prentice-Hall Inc., Englewood Cliffs, New Jersey, 994. 2) Donald. Neamen. Electronic Circuit nalysis and Design, chapters 9 & 3. Irwin, Chicago, 996. 3) David Johns & Ken Martin. nalog integrated Circuit Design, chapters 5 & 6. John Wiley & Sons, Inc., New York, 997. 4) Paul. Gray & obert G. Meyer. nalysis and Design of nalog Integrated Circuits, chapter 6. John Wiley & Sons, Inc., New York, 993. 5) John Choma, Jr. EE348 lecture notes. University of Southern California. Spring 200. 7

Pre-lab exercise ) Consider the Schmitt trigger circuit in Fig. 2.4 Derive the equations for the two input trip points in terms of the resistances and the symmetric power supplies. Don t forget that this circuit exploits positive feedback, so unlike in the previous lab, the op-amp input terminals are not at equal potential, but rather diverge. Come up with appropriate 3 and 4 values, while using a DC reference of 5 V, so that your trip points lie at 4 V and 6 V. Use rail of ±2V for V cc and V ee. Confirm your design in SPICE. dd a noise source and re-simulate. Confirm that this design is glitch free. 2) Compute the transfer function of the amplifier in figure 2.8, assuming an ideal op-amp. Use the model of an op-amp given in Experiment # and verify you results in HSpice. Using the following values; V cc =2V, V ee =-2V, =kω, 2 =5kΩ, and V S is a sine wave with a frequency of 0k H z and mv amplitude. 2 Figure 2.8 3) Derive the transfer function of the mplifier in figure 2.6(b), assuming an ideal op-amp and the same source from question 2. Use the model of an op-amp given in Experiment # and verify you results in HSpice. Using the following values; V cc =2V, V ee =-2V, =2kΩ, 2 =4kΩ. 4) What is the main difference in the gain of the op-amp configuration in figure 2.8 compared to the amplifier in figure 2.6(b)? 5) Derive the transfer function of the topology featured in figure 2.9. What is this purpose? Why is it a good one? Figure 2.9 8

6) Derive the transfer function of the circuit in figure 2.0. By observing the transfer function, what is the purpose of this topology? Verify your results in Spice with an.c simulation using =500Ω, 2 =2.5k, a source with a 0.5V magnitude, and C=0.0µF. Do the Spice results agree with what you derived? C 2 Figure 2.0 7) epeat the procedure in problem #6 for the circuit in figure 2.. 2 C Figure 2. 9

Lab Exercises ) Build the comparator in figure 2.3. pply a sin wave input with a frequency of k and amplitude of 2.5V. Use ground a your reference voltage, thus eliminating the resistor divider in the figure. Graph vs. Is your a square with the same period as your input signal? 2) Build the circuit you designed in part of the pre-lab. Verify to your instructor that it works. Does it meet a ±0% tolerance? If not, tune it so it does. 3) For both circuits in questions #2 and #3 of the Pre-lab, build the circuit and compare the gain you measure to the one you calculated. Sketch the input and output wave forms in the space below. Is the measured gain equivalent to the one you calculated? Why or Why not? Calculate the maximum error you should get with the components given to you for this experiment. 4) Build the circuit in figure 2.9. Use a sinusoidal input and vary the amplitude. Take 5 measurements and observe the output. From the data you gather, what is this circuit? Does the hand analysis that you did in the Pre-lab agree with the data you gathered? Vs (magnitude) Vo (Magnitude) 3) Build the circuit in figure 2.0. Use the values specified in the Pre-lab. Use a frequency generator to input a sin wave at Vs. Vary the frequency of the sin wave and observe the output. Start taking measurements a k Hz and take a measurement every 0k Hz until you have gathered enough data to determine what this circuit is. Now go back and take additional measurements at smaller intervals at any sudden transition points in the output. This will give you a more accurate and detailed response. What does this op-amp configuration do? State the resistor values you used and the performance specs you observed. You re your results agree with the transfer function you derived in part 5 of the pre-lab? Plot your results in excel (or an equivalent). Vs (frequency) Vo (Magnitude) Vs (frequency) Vo (Magnitude) 0

4) epeat lab exercise 3 for the op-amp configuration in figure 2.. Vs (frequency) Vo (Magnitude) Vs (frequency) Vo (Magnitude)