Operational Amplifiers: Basic Concepts
Total Page:16
File Type:pdf, Size:1020Kb
Operational Amplifiers: Basic Concepts Prof. Greg Kovacs Department of Electrical Engineering Stanford University Design Note: The Design Process • Definition of function - what you want. • Block diagram - translate into circuit functions. • First Design Review. • Circuit design - the details of how functions are accomplished. – Component selection – Schematic – Simulation – Prototyping of critical sections • Second Design Review. • Fabrication and Testing. EE122, Stanford University, Prof. Greg Kovacs 2 EE122 Parts Kit EE122, Stanford University, Prof. Greg Kovacs 3 Parts Kit Guide LT1175 LT1011 Adjustable Comparator Negative Voltage AD654 V-F Regulator LT1167 Converter Instrum. Sockets Amp 7805 +5V Regulator Yellow LEDs MJE3055 NPN Power Transistor Bright Red LEDs 555 Timer IRLZ34 Logic-Level Power LM334 Temp. Sensor MOSFET (N-Chan) CdS Cell LT1036 Voltage Regulator +12/+5 SFH300-3B LT1033 Voltage Phototransistor Regulator 3A Negative, LT1056 Op- LTC1064-2 Adjustable Amps Switched Capacitor Filter EE122, Stanford University, Prof. Greg Kovacs 4 Each set of five pins are shorted together internally so you can make multiple connections to one i.c. pin or component lead... Each of the long rows of pins is shorted together so you can use them as power supply and ground lines... Protoboards... EE122, Stanford University, Prof. Greg Kovacs 5 USE decoupling capacitors (typically 0.1 µF) from each power supply rail to ground. This is essential to prevent unwanted oscillations. The capacitors locally source and sink currents from the supply rails of the chips, preventing them from “talking” to each other and their own inputs! EE122, Stanford University, Prof. Greg Kovacs 6 Point-To-Point Soldering On A Ground-Planed Board EE122, Stanford University, Prof. Greg Kovacs 7 What Is an Op-Amp Anyway? OBJECTIVES (Why am I sitting in this classroom?) • To obtain a practical understanding of what operational amplifiers (“op-amps”) are and some applications they can be used for. • To understand the basic op-amp circuit configurations. • To understand the basic characteristics (good and bad) of op-amps before measuring some of them in the lab. • To keep your parents happy! "WeWe don't don't need needno education...." no education.... EE122, Stanford University, Prof. Greg Kovacs 8 The Ideal Op-Amp 1) The input impedance is infinite - i.e. no current ever V1 flows into either input of the op-amp. A(V2-V1) 2) The output impedance is V2 + - zero - i.e. the op-amp can drive any load impedance to any voltage. 3) The open-loop gain (A) is infinte. The Op-Amp produces an output voltage that is the difference between 4) The bandwidth is infinite. the two input terminals, multiplied by the gain A... 5) The output voltage is zero when the input voltage difference is zero. EE122, Stanford University, Prof. Greg Kovacs 9 Types of Op-Amps • Single • Low power • Dual • Low noise • Quad • Low offset • High power • High voltage • High speed NICE HAT! Traditional costumes of analog circuit designers. EE122, Stanford University, Prof. Greg Kovacs 10 A Bit of History... • The first Op-Amps were invented during the time of the Second World War... • Dr. C. A. Lovell of Bell Telephone Laboratories introduced the Op-Amp... • George A. Philbrick independently introduced a single vacuum tube operational amplifier in 1948. • SO, Op-Amps are NOT new! • The ever-popular 741 monolithic Op-Amp was designed by Dave Fullagar in 1967.... EE122, Stanford University, Prof. Greg Kovacs 11 The First "Real" OpAmp -> The K2-W +300 VDC 510K NE-68 220K 680K 1M 7.5pF 12AX7 - Vin 12AX7 NE-68 Vout + Vin 221K 9.1K 220K 2.2M 120K 4.7M 500pF -300 VDC EE122, Stanford University, Prof. Greg Kovacs 12 K2-XA EE122, Stanford University, Prof. Greg Kovacs 13 The K2-W Tube OpAmp • Invented by Julie Loebe and George Philbrick (early 1950's) • The first "mass production" OpAmp... • Cost (in 1950's) approximately $22.00... • Basic specifications comparison to 741 and LT1037... Parameters K2-W OpAmp 741 OpAmp LT1037 OpAmp Power Supplies +/- 300 VDC, +/- 15V +/- 15V 6.3 VAC (filaments) Open-Loop 1.5X104 5X104 30X106 Gain Vout Swing +/- 50V +/- 12V +/- 13.5 V Iout +/- 1 mA 25 mA 25 mA Idrain 5 mA (no load) 1.7 mA 2.7 mA RL(min) 50 KW none (SC none (SC protect) protect) Slew Rate +/- 12 V/µSec +/- 0.5 V/µS 15 V/µS EE122, Stanford University, Prof. Greg Kovacs 14 Good Op-Amp Web Sites • www.linear-tech.com • www.national.com • www.burr-brown.com • www.maxim-ic.com • www.intersil.com EE122, Stanford University, Prof. Greg Kovacs 15 Cool New Project/Design Website: www.designnotes.com Submit your favorite circuit or program. Every month the best design entry (judged by your peers), wins $100 in cash! Monthly winners are eligible for the $1200 Grand Prize! EE122, Stanford University, Prof. Greg Kovacs 16 Courtesy Mr. Charlie Kiers. EE122, Stanford University, Prof. Greg Kovacs 17 Op-Amp Datasheets for EE122: Some Example Devices • LM741 (basic) • LT1056 (JFET input) • LMC660 (CMOS - low power) • LT1220/1221 (fast) • LM675 (medium power) • LM12 (high power) EE122, Stanford University, Prof. Greg Kovacs 18 The Ideal Op-Amp In SPICE Use a voltage-controlled voltage source: EXXXXXXX N+ N- NC+ NC- GAIN Eout 3 0 1 2 100K 2 V1 A(V2-V1) 3 V2 + 1 - 0 EE122, Stanford University, Prof. Greg Kovacs 19 Feedback: What is it and Where Can I Get Some? NEAT THINGS YOU CAN DO TO AN AMPLIFIER BY USING FEEDBACK (OF THE NEGATIVE KIND...) 2 • The gain of the circuit is made less sensitive to the values of individual components. • Nonlinear distortion can be reduced. • The effects of noise can be reduced. • The input and output impedances of the amplifier can be modified. • The bandwidth of the amplifier can be extended. EE122, Stanford University, Prof. Greg Kovacs 20 WHAT CAN YOU DO WITH OP-AMPS? • Feed the hungry. • Save the dolphins. • Amplify signals. • Differentiate signals. • Heal the sick. • Pay off the deficit. • Buffer signals. • Sum multiple signals. • End global warming. • Make music very loud! • Integrate signals. EE122, Stanford University, Prof. Greg Kovacs 21 Jim Williams EE122, Stanford University, Prof. Greg Kovacs 22 Analog Hacker’s Bible EE122, Stanford University, Prof. Greg Kovacs 23 THE VOLTAGE FOLLOWER V- = VOUT V- VOUT VIN V+ VOUT = AV+ - V- What is it good for? V = A V OUT 1 + A + Buffering a high-impedance signal to "beat" Heisenberg... You don't load it down when you 1 measure it... It has the best bandwidth of any op-amp circuit. Some op-amps need to be COMPENSATED for stable unity-gain operation (more later....). EE122, Stanford University, Prof. Greg Kovacs 24 THE INVERTING AMPLIFIER R2 i fb VIN R1 R2 V- V OUT AV = - i V+ R1 in The V- terminal is referred to as a "virtual ground"... Why is that? VOUT = A(0 - V- ) thus, Due to NEGATIVE FEEDBACK!!!! V V V = OUT » OUT = 0 - A ¥ THIS IS A KEY POINT!!! EE122, Stanford University, Prof. Greg Kovacs 25 Op-Amp Application: CLIPPER (or "Fuzz Box") Mellow Tunes Heavy Metal IN R2 OUT R1 Input signal must be large enough to turn on diodes... EE122, Stanford University, Prof. Greg Kovacs 26 THE NON-INVERTING AMPLIFIER R2 i R1 2 V- V+ VOUT i1 VIN A key point to note here is that the V- node is not a virtual ground in this configuration! The important thing to consider is that the voltage difference between V+ and V- is kept near zero. In other words, V- VIN. æ R2 A = 1+ ö V è R1ø EE122, Stanford University, Prof. Greg Kovacs 27 THE SUMMING AMPLIFIER R1 V Rf 1 i 1 R2 V2 i f R3 V- V3 V R4 V+ OUT V 4 Rf Rf Rf VOUT = - V1 - V2 - L - VN Rn R1 R2 RN Vn or, æV V = - Rf i ö OUT å è ø i Ri What is it good for? Summing multiple input signals in any proportion desired (determined by the relative values of the input resistors. Averaging signals (do you know how?). EE122, Stanford University, Prof. Greg Kovacs 28 Noise Canceling Circuit EE122, Stanford University, Prof. Greg Kovacs 29 Instrumentation Amplifier • Very high input impedance. • Gain can be set with only one resistor. • Can optimize CMRR. æ R4 ç 2R2 ÷ö A V = - 1+ R3 è R1 ø Source: Sedra, A. S., and Smith, K. C., “Microelectronic Circuits,” Oxford, 1998. For one-resistor gain adjust, set R4 = R3 and fix R2. EE122, Stanford University, Prof. Greg Kovacs 30 Op-Amp Application: EKG Filter (0.04 - 150 Hz) Instrumentation Amplifier Source: Webster, J. G., “Medical Instrumentation: Application and Design,” Houghton Mifflin, 1978. EE122, Stanford University, Prof. Greg Kovacs 31 A Safe Heart Signal Interface Polar™ heart-rate transmitter - provides magnetically coupled bursts of 5 kHz energy that mark the start of each heartbeat (i.e., you don’t get the actual waveform). www.polarusa.com EE122, Stanford University, Prof. Greg Kovacs 32 Polar™ OEM Receiver EE122, Stanford University, Prof. Greg Kovacs 33 THE INTEGRATOR Need R2 to make the integrator "leaky"... Otherwise small DC offsets would R2 charge it up (and up, and up!!!!). C1 For DC inputs: R1 V V- IN VOUT V i V+ OUT = - R2 in VIN R1 For AC inputs: What is it good for? iin = ifb Triangle wave generation. v d v Ramp generation ('scopes!). in = - C1 out Math (yuk) as it used to be done! R1 dt v = - 1 v dt What kind of filter is this? out R1 C1 in EE122, Stanford University, Prof. Greg Kovacs 34 OP-AMP INTEGRATOR SIMULATION Op-Amp Integrator Simulation R2 *YOU fill in the component values! R1 1 2 ? C1 CI2 2 3 ? 1 R1 2 R2 2 3 ? V V- IN 3 E1 3 0 0 2 100K VOUT i V+ Vin 1 0 pulse(-1 1 0 5nS 5nS 500uS 1mS) in .TRAN 100uS 10mS 0 .probe .end V(3) V(1) 10V V 0.0V -10V 0.0S 2mS 4mS 6mS 8mS 10mS tran3 TIME mS EE122, Stanford University, Prof.