Introduction to Op Amp Circuits ELEC 121 Basic Op-Amp The op-amp is a differential amplifier with a very high open loop gain 25k ≤ AVOL ≤ 500k (much higher for FET inputs) high input impedance 500k ≤ ZIN ≤ 10M low output impedance 25 ≤ RO ≤ 100 April 2004 ELEC 121 Op Amps 2 Op-Amp Equivalent Circuit April 2004 ELEC 121 Op Amps 3 Op-Amp Specifications – DC Offset Parameters • Even though the input voltage is 0, there will be an output. This is called offset. The following can cause this offset: – Input Offset Voltage – Output Offset Voltage due to Input Offset Current – Total Offset Voltage Due to Input Offset Voltage and Input Offset Current – Input Bias Current • See lm301.pdf or mc1741c.pdf for sample specification sheets April 2004 ELEC 121 Op Amps 4 General Op-Amp Specifications VIO • Input Offset Voltage VIO – The voltage that must be applied to the input terminals of an op amp to null the output voltage – Typical value is 2mV with a max of 6mV – When operated open loop, must be nulled or device may saturate April 2004 ELEC 121 Op Amps 5 General Op-Amp Specifications IIO • Input Offset Current – The algebraic difference between the two input currents – These are base currents and are usually nulled – Typical value IIO 20 nA with a max of 200nA April 2004 ELEC 121 Op Amps 6 Technique to Null VO • Short Input terminals to ground • Connect potentiometer between compensation pins with wiper to VEE – Potentiometer is usually a 10 turn device • Connect meter to output and adjust potentiometer for VO = 0 April 2004 ELEC 121 Op Amps 7 General Op-Amp Specifications CMRR VO VIN VOCM ACM = VCM AD = AD CMRR = 20 log A CM • Common Mode Rejection Ratio – The ratio of the differential voltage gain (AD) to the common mode gain (ACM) – ACM is the ratio between the differential input voltage (VINCM) applied common mode, and the common mode output voltage (VOCM) – it can exceed minimum is 70db with a typical value of 90 db – in properly designed circuit, it may exceed 110db April 2004 ELEC 121 Op Amps 8 General Op-Amp Specifications • Input Bias Current – The average of the currents that flow into the inverting and noninverting terminals – Typical values rage from 7nA to 80 nA IB+ + IBIB = 2 • Differential Input Resistance – Also know as the input resistance – Resistance seen looking into the input terminals of the device – Runs from a low of 2M for an LM741 to a high of 1012 for FET input devices • Output resistance – Resistance between the output terminal ad ground – Typical values are 75 or less • Input Capacitance – The equivalent capacitance measured at either the inverting or noninverting terminal with the other terminal connected to ground – May not be on all spec sheets – Typical value for LM741 is 1.4pF April 2004 ELEC 121 Op Amps 9 General Op-Amp Specifications • Power Supply Range – May be differential or single ended – Max is ± 22V • Output Voltage Swing – Range of output voltage – Depends on power supply voltage used (typically about 85% to 90%) – Usually about ±13.5V for a power supply voltage of ±15V • Slew Rate – The maximum rate of change in the output voltage in response to an input change – Depends greatly on device, higher is better (output resonds faster to input changes) – For LM741 it is .5V/s while for the LM318 it is 70V /s • Gain Bandwidth Product – The bandwidth of the device when the open loop voltage gain is 1 April 2004 ELEC 121 Op Amps 10 Op Amp Equivalent Circuit April 2004 ELEC 121 Op Amps 11 Op-Amp Gain • Op-Amps have a very high gain. They can be connected open- or closed loop. • Open-loop (AVOL) refers to a configuration where there is no feedback from output back to the input • AVOL may exceed 10,000 • Closed-loop (AVCL) configuration reduces the gain In order to control the gain of an op-amp it must have negative feedback • Negative feedback will reduce the gain and improve many characteristics of the op-amp April 2004 ELEC 121 Op Amps 12 Typical Op Amp Frequency Response April 2004 ELEC 121 Op Amps 13 Change in AV with Feedback April 2004 ELEC 121 Op Amps 14 Virtual Ground Since ZIN is very high, we assume no current can flow into any lead of the op amp When the noninverting input pin is at ground, the inverting input pin is at 0V The equivalent circuit. April 2004 ELEC 121 Op Amps 15 Practical Op-Amp Circuits Typical Op-amp circuit configurations include the: • Unity Gain Buffer (Voltage Follower) • Inverting Amplifier • Noninverting Amplifier • Summing Amplifier • Integrator • Differentiator Note: the integrator and differentiator are considered active filters April 2004 ELEC 121 Op Amps 16 Unity Gain Buffer (Follower) VO AV = V1 VO = V1 AV = 1 April 2004 ELEC 121 Op Amps 17 Inverting Op Amp The input is applied to the inverting (-) input the non-inverting input (+) is grounded RF is the feedback resistor, and is connected from the output to the inverting input This is called negative feedback April 2004 ELEC 121 Op Amps 18 Inverting Op Amp We assume that no current enters the inverting terminal II- < 100nA VD 0V April 2004 VO IIN RF AV = = VS IIN R1 RF AV = R1 ELEC 121 Op Amps 19 Inverting Op-Amp Gain Closed Loop Gain is controlled by the external resistors: RF and R1 VO IIN RF AV = = VS IIN R1 RF AV = R1 RF = -1 For Unity Gain: AV is -1 and RF = R1 AV = R1 The minus sign denotes a 180 degree phase shift between input and output April 2004 ELEC 121 Op Amps 20 Inverting Op Amp Compensated for Ibias R is used to compensate for difference in IBIAS+ and IBIAS- RF AV = R1 April 2004 ELEC 121 Op Amps 21 Inverting Op-Amp A This configuration achieves high gain with a smaller range of resistor values than the basic inverter V- V+ R2 RF R2 + RF AV = - + R1 R1 R3 April 2004 ELEC 121 Op Amps 22 Inverting Amplifier with High Zin Use a Unity Gain Buffer to obtain a very high input resistance with an inverting amplifier April 2004 ELEC 121 Op Amps 23 Inverting Amplifier for Low RL Use a Unity Gain Buffer to obtain a very high input resistance to drive a low impedance load April 2004 ELEC 121 Op Amps 24 Noninverting Amplifier R2 VO = Vin 1 + R1 VO R2 AV = = 1 + Vin R1 V- = V+ = vi April 2004 ELEC 121 Op Amps 25 Noninverting Op Amp Compensated for IBIAS Rbias is used to compensate for difference in IBIAS+ and IBIASApril 2004 ELEC 121 Op Amps 26 Differential (Difference) Amplifier A V1 V2 A AV = - April 2004 VO = V2 - V1 - ELEC 121 Op Amps R2 R1 27 Differential Amplifier Output April 2004 ELEC 121 Op Amps 28 Instrumentation Amplifier Buffered Input R1 = R2, RF1 = RF2 April 2004 ELEC 121 Op Amps AV = - RF R1 29 Instrumentation Amplifier R1 = R2, RF1 = RF2 April 2004 RA RF AV = - 1 + 2 RB R1 ELEC 121 Op Amps 30 Inverting Summing Amplifier By applying KCL to the multiple inputs, we can consider the contribution of each source individually IF + I - = I1 + I 2 + I 3 but I- 0 IF = I1 + I2 + I3 VO = -IF RF RF RF VO = - V1 + V2 + R2 R1 V2 V1 VO = - RF + + R2 R1 April 2004 ELEC 121 Op Amps RF V3 R3 V3 R3 31 Non-inverting Summing Amplifier Perform a source transformation for each input Sum the current sources and find RTH for the resistances VIN+ = IT RTH VIN + V2 V3 V1 = + + RTH R2 R3 R1 where RTH = R1 // R2 // R3 VIN + VO = RIN + RF RIN VO RF AV = = 1 + VIN + R IN April 2004 ELEC 121 Op Amps 32