1 / 31

EE 174 Spring 2019

EE 174 Spring 2019. Operational Amplifiers. Table of Contents. Introduction to Operational Amplifier (Op-Amp) Brief of History Op-Amp Internal Circuit Op-Amp: Ideal, Typical Circuit and Characteristics Table The Op-Amp Golden Rules Op-Amp: Negative and Positive Feedback

lwillie
Télécharger la présentation

EE 174 Spring 2019

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE 174Spring 2019 Operational Amplifiers

  2. Table of Contents • Introduction to Operational Amplifier (Op-Amp) • Brief of History • Op-Amp Internal Circuit • Op-Amp: Ideal, Typical Circuit and Characteristics Table • The Op-Amp Golden Rules • Op-Amp: Negative and Positive Feedback • Gain and Bandwidth (GBP) • Op-Amp: The Four Amplifier Types • Common Mode Rejection Ratio (CMRR) • Fundamentals of Op-Amps • Basic operation • Gain • Offset • CMRR • Applications

  3. Introduction to Op-Amp • Operational Amplifier (a.k.a. Op-Amp) is used in circuit to perform mathematical operations such as add, subtract, filter, integrate, differentiate, etc. • Op-Amp is an active circuit element consisting of transistors, resistors, diodes and capacitors. • Op-Amps are two-port networks in which the output voltage or current is directly proportional to either input voltage or current. Four different type of amplifiers exits: • Voltage amplifier (VCVS): Av = Vo / Vi • Current amplifier (ICIS): Ai = Io / Ii • Transconductance amplifier (VCIS): Gm = Io / Vi (Siemens) • Transresistance amplifier (ICVS): Rm = Vo / Ii • Op-Amp is ideal device which takes a relatively weak signal (sensor) as an input and produce a much stronger signal as an output without affecting its other properties. • Op-Amps are commonly used for both linear and nonlinear applications: Inverting/Non-inverting Amplifiers, Variable Gains Amplifiers, Summers, Integrators/Differentiators, Filters and Schmitt trigger, Comparators, A/D converters.

  4. Brief History of Op-Amp • Monolithic IC Op-Amp • First created in 1963 μA702 by Fairchild Semiconductor • μA741 created in 1968, became widely used due to its ease of use 8 pin, dual in-line package (DIP) • Further advancements include use of field effects transistors (FET), greater precision, faster response, and smaller packaging Vacuum Tube Op-Amps (1930’s-1940’s) Dual-supply voltage of +300/-300 V Output swing +/- 50 volts Open-loop voltage gain of 15,000 to 20,000, Slew rate of +/- 12 volts/µsecond Maximum output current of 1 mA George Philbrick Solid State Discrete Op-Amps (1960’s) Dual-supply voltage of +15/-15 V Output swing +/- 11 volts Open-loop voltage gain of 40,000, Slew rate of +/- 1.5 volts/µsecond Maximum output current of 2.2 mA

  5. Op-Amp Internal Circuit • Op-Amp 3-stages: • Differential Amplifier (Blue) • Gain Stage (Magneta) • Output Stage (Cyan) • Current Mirrors/Sources (Red) • Voltage Level Shifter (Green)

  6. Op-Amp: Ideal, Typical Circuit and Characteristics Table

  7. Op-Amp: Common Mode Rejection Ratio (CMRR) Differential Mode Gain (Ad) is defined as: Ad = =  VO = Ad Vd where Vd = Common Mode Gain (AC) is defined as: AC = Ideally, VOCM = 0, since V+ = V- The op amp common-mode rejection ratio (CMRR) is the ratio of the common-mode gain to differential-mode gain. CMRR = or CMRR = 20 log in dB Example: Calculate the CMRR for the circuit with measurement values as follow: VCM = 1mV, VOCM = 5mV and V1 = - 0.2mV, V2 = 0.8mV, VO = 10V Solution: AC = = = 5, Ad = = = 10000  CMRR = = = 2000 or 20 log(2000) = 66dB

  8. Op-Amp Offset • Another practical concern for op-amp performance is voltage offset. • The primary cause of the Op-Amp offset is a slight mismatch of the base-emitter voltages of the differential input stage of the Op-Amp. • For an ideal op-amp with both inputs shorted to ground or when there is no difference between its inputs would produce output to zero. •  v+= v–= 0  VO = A(v+ – v–) = 0. • However, for a real op-amp  An offset input can drive the output to either negative or positive saturated level even if the op-amp in question has zero common-mode gain (infinite CMRR). This deviation from zero is called offset. • The 741 OPAMP have offset voltage null capability by connecting 10kΩ potentiometer between pin 1 and pin 5. By varying the potentiometer, output offset voltage (with inputs grounded) can be reduced to zero volts. For the 741C the offset voltage adjustment range is ± 15 mV. • Effect of offset voltage on Op-Amp produces error at the output. • VO = – Vin+ (1 +) + • Desired output Error

  9. Op-Amp Offset Example • 1) Determine the output voltage for the open loop differential amplifier Fig #1. • vOS- = 5 µVdc, vOS+ = –7 µVdc • vOS- = –10 mVdc, vOS+ = 0Vdc • Specifications of the Op-Amp are given below: A = 200,000, Ri = 2 MΩ , RO = 75Ω, + VCC = + 15 V, - VEE = - 15 V, and output voltage swing = ± 14V. • Solution: • a) VO = A(vOS+– vOS-) = 200,000 (– 7 – 5) µV = 2.4 V • Remember that vo = 2.4 V dc with the assumption that the dc output voltage is zero when the input signals are zero. • b) VO = A(vOS+– vOS-) = 200,000 (0 – (– 10mV)) = 2000 V  Saturation VO = 14V • Thus the theoretical value of output voltage vo = 2000 V However, the OPAMP saturates at ± 14 V. • 2) Given circuit in Fig #2 with Vin = 0.25V, R1 = 1kΩ , R2 = 4 kΩ Vos+ = 5mV. Determine the offset voltage error. • Solution: • Use superposition to obtain: • VO = – Vin + (1 +) += – 4(0.25V) + 5(0.005V) = (– 1 + 0.025)V = – 0.975V Fig #1 Fig #2

  10. V V0 V+ V0 VIN + +   Op-Amp: Gain and Bandwidth The Voltage Gain (A) of the operational amplifier can be found using the following formula: In Decibels or (dB) is given as: • Open loop gain:Gain is measured when no feedback is applied to the op amp. Open-loop gain AOLis very high. • Closed loop gain:Gain is measured when the feedback loop is closed and the overall gain of the circuit is much reduced. • Loop gain: The difference between the open-loop gain and the closed-loop gain. This is useful information because it gives you the amount of negative feedback that can apply to the amplifier system. Gain versus Bandwidth: Applying feedback will reduce the gain but increase the bandwidth. • Gain-bandwidth (GBW) product is defined as the op-amp gain A multiplied by the bandwidth BW. • The GBW product can be used to calculate the closed-loop gain bandwidth. • GBW = A x BW where A is in ratio (not in dB) • Example: Closed loop gain 70 dB. What is closed-loop BW? • Gain: 20log = 70dB  logA = 70/20 = 3.5 or A = 103.5 = 3162 •  Closed-loop BW = 10 MHz / 3162 = 3163 Hz. A = 105, BW = 10Hz, GBW = 105x10Hz = 1MHz A = 1, BW = 1 MHz, GBW = 1x1MHz = 1MHz

  11. Op-Amp Slew Rate The slew-rate (SR) is the maximum possible rate of change of the op amp output voltage. Slew Rate (SR) = max inV/µs Square Wave: Applied a square wave input to the 741 Op-amp in Fig. 1, find the slew rate SR = ΔVO/Δt = 2.06V / 3.16 µs = 0.63V/ µs (Ref Lab #1). Sine Waves: The maximum rate of change for a sine wave occurs at the zero crossing and for a given vo = VP sin(2π f t), the slew rate SR is: Slew Rate (SR) = max = 2π fmax VP SR = 0.63V/ µs. Fig. 1 • Example: Given Slew rate SR = 1 V/μs; input voltage vin (t) = 1 sin(2π × 105t); • closed loop gain AV =10. • Sketch the theoretically output and the actual output in the same graph. • What is the maximum frequency that will not violating the given slew rate? • What is the maximum gain A that will not violating the given slew rate? • What is the required SR to prevent distortion output? • Solutions: • See graph Fig. 2 • fmax = SR / (A x 2π) = 1 x 106 / (10 x 2π) = 15.9 kHz • VPmax = SR / (f x 2π) = 1 x 106 / (105 x 2π) = 1.59 V  A = 1.59 • For voltage gain A = 10  vo(t) = 10 sin(2π × 105t)  SR = |= 2π x fx 10 = 2π × 105 x 10 = 6.28 V/μs Fig. 2

  12. Op-Amp: Negative and Positive Feedback Negative feedback:Vout = A(V+ – V–) = A(Vin – Vout) If Vout > Vin  Vout ↓ goes down toward Vin If Vout < Vin  Vout ↑ goes up toward Vin This drives Vout = Vin or V+= V-  Negative feedback Op-Amp can produce any voltage in the supply power range. Positive feedback:Vout = A(V+ – V–) = A(Vout – Vin) If Vout > Vin  Vout ↑ goes way up to + saturation If Vout < Vin  Vout ↓ goes way down to – saturation This drives Vout to either directions: + / – saturation  Positive feedback Op-Amp can only produce maximum and minimum voltages of the range. Positive feedback: Negative feedback:

  13. The Op-Amp Golden Rules vd= v+ –v– vo= Avd =A(v+ – v–) i+ = i – = 0(Since Ri = ꚙ. This is always true for any feedback configuration). v+ = v–(In negative feedback, the output of the op amp will try to adjust its output so that the voltage difference between the + and − inputs is zero  V+ = V−). Rule 2. is not applied if VOin saturation. Note: The resistances used in an op-amp circuit must be much larger than Ro and much smaller than Ri in order for the ideal op-amp equations to be accurate.

  14. Op-Amp: The Four Amplifier Types

  15. Op-Amp Saturation • The op-amp output voltage is limited by the supply voltages.  In practice the limits are about 1.5 to 2 V below the value of the supply voltages. • The op amp has three distinct regions of operation: • Linear region: −VEE < Vo < VCC  Vo/Vi = A = constant • Positive saturation: Vo > VCC Vo = VCC • Negative saturation: Vo < −VEE  Vo = –VEE • Note that the saturation voltage, in general, is not symmetric. • For an amplifier with a given gain, A, the above range of Vo translate into a certain range for Vi • − VEE < Vo < VCC or − VEE < AVi < VCC •  − VEE / A < Vi < VCC / A • Any amplifier will enter its saturation region if Vi is raised above certain limit. The figure shows how the amplifier output clips when amplifier is not in the linear region. • Example: For A= 105, –VDD = –12V, VCC = +15V, find range of input Vi to prevent saturation. • Solution: –12V / 105 < Vi < 15V / 105 or – 0.12mV< Vi < 0.15mV

  16. Op-Amp: The Four Amplifier Types

  17. Op-Amp Two Basic Operations The Inverting Op Amp The Non-inverting Op Amp In negative-feedback configuration, op-amp always “wants” both inputs (inverting and non-inverting) to be the same value.

  18. Op-Amp Applications (c) Voltage follower IO (d1) Voltage Adder (d) Scaling Summer n = 3 (d2) Averager For RI =nROwhere n is # of inputs http://www.ti.com/lit/an/sboa092b/sboa092b.pdf

  19. Op-Amp Applications (e) Differential Input (f) Adder-Subtracter Ef I1 = IO and I2 = I3 Ef For R1 = R2 =RI and R3 = RO  As an adder-subtracter, unused inputs should be grounded. R and RI not necessarily equal http://www.ti.com/lit/an/sboa092b/sboa092b.pdf

  20. Op-Amp Applications General Form of the Inverting Amplifier One practical method of reducing noise and preventing instability is shown below. The transition “point” is the frequency at which  XCI = RI Differentiator (High pass filter): Bode plot is shown below. When XC = 1/(2πfCI) = RO  Gain = 1 Since highest gain is encountered at high frequencies, this circuit is very susceptible to random noise. Low frequency cutoff fO= High frequency cutoff fI= Gain: =– http://www.ti.com/lit/an/sboa092b/sboa092b.pdf

  21. Op-Amp Applications Integrator (Low pass filter): Bode plot is shown below. Gain: = – = – When ZC = 1/(2πfC) = R Gain = 1 Integrator (Low pass filter with Gain): Bode plot is shown below. DC Gain: = – AC gain: = – Corner Frequency: f0= Example: For LPF with gain, find suitable components to achieve a −3-dB frequency of 1 kHz with a dc gain of 20 dB and an input resistance of at least 10 kΩ At what frequency does gain drop to 0 dB?

  22. Op-Amp Applications (a) Find i, if and vo. i = 0 A (b) For the ideal op amp shown below, what should be the value of resistor Rf to obtain a gain of 5? Solution: Want Vo = 5Vi For non-inverting: For Input V+ = and Output VO = 5Vi  Gain == Gain = 1 +  Rf = 19.5kΩ Another way: i = = Vo = (Rf + )i = (Rf + ) = 5Vi Rf = 19.5kΩ V+

  23. Op-Amp Applications • (a) Given an op-amp circuit below. If the power supplies for the op-amp are ± VCC = ± 12V. Determine: • Overall gain A = VOUT / VIN, VOUT and IOUT . • If op-amp in saturation, what is voltages at V+ and V-. • Solution: • (a) Vx= • i = • Vz= • Vy= • IOUT = 2 mA + 2 mA = 4 mA • VOUT = = 16V  A = VOUT / VIN = 16V/ 4V = 4 • However, VOUT = 16V > Power supply 12V • Saturation  VOUT = 12V Clamp • For VOUT = 12V  IOUT = 12V / ( + //2 • i = 3 mA / 2 = 1.5 mA • Vz= • Vy= V-= 1kΩ x 1.5 mA = 1.5V • V+= Vx = 2V • V+ ≠ V- when op-amp in saturation mode.

  24. Op-Amp Applications (a) Given gain A1 = RF/RS = 100, GBW product = A0 ω0 = K = 4π × 106 . Determine the overall 3-dB bandwidth of the cascade amplifier below: Solutions: The 3-dB bandwidth for each amplifier is: ω1 = = 4π × 104 rad/s  BW of the cascade = 4π × 104 & cascade gain A = A1A1= 102 × 102 = 104. To achieve the same gain A = 104 with a single-stage amplifier having the same K  BW: ω2 = = 4π × 102 rad/s << 4π × 104 rad/s of cascade (b) Voltage follower application: Solutions: Assume Rs = 1 kΩ, RL = 100Ω VL = 0.1 Vin  Huge attenuation of the signal source. If voltage follower (buffer amplifier) is used.  VL = Vout = Vin

  25. Op-Amp Applications (1) Find Vx , Vo (3) Find Vy , Vo Vx = 3.2V Vo = -11.2V Vy =3/2Vo Vo = -11.4V (2) Find Vx , Vo (4) Find Vy , Vo Vo = 6Vi Vx = 0.5Vo Vo = 0.8Vi

  26. Op-Amp Applications (5) Find Vo • (7) • Find Vout as a function of Vs. • Due to supply voltage limitations, 0V ≤ Vout ≤ 10V. Plot Vout vs. Vs. • (a) (Vs – Vout)/20k = (1 – Vs)/2k • Vout = 11Vs– 10 • (b) See Plot +10V v+= v-= 6V –10V (6) Find Vo v+= v-= 5V

  27. Basic Comparators • A comparator is a device that compares two input voltages (inverting and noninverting input) and produces an output indicating the relationship between them. The inputs can be two signals or a signal and a fixed dc reference voltage. The output that usually swings from rail to rail. • A typical comparator has low offset, high gain, and high common-mode rejection. • Comparators are designed to work as open-loop systems, to drive logic circuits, and to work at high speed, even when overdriven. Inverting comparator Non-inverting comparator Zero detection Vref = 0V

  28. The Comparators with and without Hysteresis • Non-hysteresis uses a voltage divider (Rx and Ry) to set up the reference voltage. The comparator will compare the input signal (Vin) to the reference voltage (Vref). The comparator input signal is applied to the non-inverting input, so the output will have a non-inverted polarity • Hysteresis uses two different threshold voltages to avoid the multiple transitions introduced in the previous circuit. For this non-inverting comparator, the input signal must exceed the upper threshold (VH) to transition high or below the lower threshold (VL) to transition low. Calculate VH and VL: 1kΩ // 5.76kΩ = 0.85k Ω VH = = 2.7V VL = = 2.3V

  29. Design of Hysteresis Comparator • The design requirements are as follows: • Supply Voltage: +5 V • Input: 0V to 5V • VL (Lower Threshold) = 2.3V • VH (Upper Threshold) = 2.7V • VH - VL = 0.4V • Vth ± 0.2V = 2.5V ± 0.2V Equations (1) and (2) can be used to select the resistors needed to set the hysteresis threshold voltages VH and VL. One value (Rx) must be arbitrarily selected. In this example, Rx was set to 100kΩ to minimize current draw. Rh was calculated to be 575kΩ, so the closest standard value 576kΩ was used

  30. When To Use Op-amp Comparator Circuit??? Although op amps are not designed to be used as comparators, there are, nevertheless, many applications where the use of an op amp as a comparator is a proper engineering decision. WHY USE AN OP AMP AS A COMPARATOR? • Convenience • Economy (e.g. use spare op-amps in quad package and cheaper than comparator) • Low bias current (IB) • Low offset voltage (VOS) Note: This is not a good design practice. WHY NOT USE AN OP AMP AS A COMPARATOR? • Speed • Inconvenient input structures (Comparator is designed for large differential input voltages) • Inconvenient logic structures (Compartor TTL, CMOS) • Stability/hysteresis (stability)

  31. References: • http://www.ume.gatech.edu/mechatronics_course/OpAmp_F08.ppt • http://www.allaboutcircuits.com/textbook/semiconductors/chpt-8/operational-amplifier-models/ • http://www.ti.com/lit/an/slaa068a/slaa068a.pdf • http://www.radio-electronics.com/info/circuits/opamp_basics/operational-amplifier-slew-rate.php • http://www.planetanalog.com/author.asp?section_id=483&doc_id=562347 • http://www-ferp.ucsd.edu/najmabadi/CLASS/ECE60L/02-S/NOTES/opamp.pdf • http://www-inst.eecs.berkeley.edu/~ee105/fa14/lectures/Lecture06-Non-ideal%20Op%20Amps%20(Offset-Slew%20rate).pdf • http://nptel.ac.in/courses/117107094//lecturers/lecture_6/lecture6_page1.htm • http://www.ti.com/ww/en/bobpease/assets/AN-31.pdf • http://www.cs.tut.fi/kurssit/TLT-8016/Chapter2.pdf • http://www.electronics-tutorials.ws/opamp/op-amp-comparator.html • http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/schmitt.html • http://lpsa.swarthmore.edu/Bode/BodeExamples.html • http://www.allaboutcircuits.com/worksheets/inverting-and-noninverting-opamp-voltage-amplifier-circuits/ • Fundamentals of Electrical Engineering, Giorgio Rizzoni, McGraw-Hill Higher Education • http://chrisgammell.com/how-does-an-op-amp-work-part-1/ • http://electronicdesign.com/analog/whats-all-noise-gain-stuff-anyhow • http://howtomechatronics.com/how-it-works/electrical-engineering/schmitt-trigger/ • http://www.analog.com/media/en/training-seminars/design-handbooks/Basic-Linear-Design/Chapter1.pdf • http://www.ti.com/lit/an/sloa011/sloa011.pdf • http://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf • http://www.ti.com/lit/ug/tidu020a/tidu020a.pdf

More Related