Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Chapter 2 Operational Amplifiers 2.1 The Ideal Op Amp The Op-Amp Terminals From a signal point of view, the op-amp has three terminals: two input terminals and one output terminal. 1 3 2 Most IC op-amps require two dc power supplies. V+ 1 4 4 1 3 4 4 V+ common ground 3 2 2 5 5 V— V— Note that the reference grounding point in op-amp circuits is just the common terminal of the two power supplies; that is, no terminal of the op-amp package is physically connected to ground. The characteristics of an ideal op-amp are: (1) Input impedance is ∞. (2) Output impedance is 0. (3) Open-loop gain is ∞. These imply that: (1) The input terminals draw no current. (2) The output voltage equal to A(v2 v1 ) will be independent of current that may be drawn 1 from the output terminal into a load impedance. (3) The common-mode rejection is infinite. It means that the op-amp responds only to the difference signal (v2 v1 ) and hence ignore any signal common to both inputs. (4) The bandwidth of the op-amp is infinite. That is, an ideal op-amp will amplify signal of any frequency with equal gain. inverting input terminal The output signal is in phase with v2, while out of phase with v1. 1 v1 i-=0 A(v2 v1 ) 3 vout 2 v2 i+=0 power supply common terminal non-inverting input terminal terminal Equivalent circuit of an ideal op-amp The above op-amp is called a differential-input, single-ended-output amplifier. A is called the differential gain, or the open-loop gain. An important characteristic of op-amps is that they are direct-coupled devices or dc amplifiers. Differential-Mode and Common-Mode Gain The double-ended input and single-ended output differential amplifier is represented as the circuit symbol shown below. 1 2 v1 vout v2 vdiff vout vcom 1 2 vdiff The double-input can be expressed as a linear combination of vcom and vdiff. 2 v2 v1 v2 v1 1 v v vdiff 1 com 2 2 2 v2 v2 v1 v2 v1 vcom 1 vdiff 2 2 2 where vcom v2 v1 2 vdiff v2 v1 common-mode input signal differential-mode input signal Define Differential-Mode Voltage Gain Adiff vout vdiff Common-Mode Voltage Gain Acom vout vcom Common-Mode-Rejection-Ratio CMRR Adiff Acom By applying the superposition principle, we can treat vcom and vdiff seperately at first and then add them together. A Closed-Loop Amplifier With Negative Feedback Negative feedback Positive feedback R2 v1 R1 R1 v1 vout vout R2 The non-inverting closed-loop amplifier The inverting closed-loop amplifier 3 2.2 The Inverting Closed-Loop Configuration A. The Closed-Loop Gain (a) If the open-loop gain is infinite, The equivalent circuit of the inverting closed-loop amplifier is shown below: R2 R1 1 i-=0 vin v2 –v1 2 3 A(v2 v1 ) vout i+=0 Virtual Short Since vout A( v2 v1 ) v2 v1 vout 0 v2 v1 A A virtual short circuit means that v2 v1 , because of the infinite gain A. Virtual Ground Because v2 0 v1 0 . A virtual ground means that it is not physically connected to ground. i2 i1 R2 R1 v1= 0 vin (virtual ground) vout The inverting closed-loop amplifier Since the inverting input terminal is at virtual ground and the input impedance is infinite, v i1 i2 in R1 v vout v1 i2 R2 in R2 R1 4 The closed-loop gain G is given by v R G out 2 vin R1 The minus sign means that the output voltage is phase-shifted 1800 with respect to the input signal. The closed-loop gain depends entirely on external passive components and is (ideally) independent of the op-amp gain. This is very significant in applications. The negative feedback makes the closed-loop gain G much smaller than the open-loop gain A, but it is stable and predictable. Thant is, we trade gain for accuracy. (b) If the open-loop gain is finite, i2 i1 vin R2 R1 v1 vout A vout v2 = 0 vout v A( v2 v1 ) and v2 0 v1 out A Since the input draws no current, v vin out v v A i1 i2 in 1 R1 R1 vout v vin out v A v1 i2 R2 out R1 A G v2 v1 vout A Since A is finite, hence v2 v1 0 v1 v2 R 1 R2 / R1 v R2 v out in 2 A R1 vout R2 / R1 (1 R2 / R1 ) vin 1 A R As A , G 2 and the voltage at the inverting input terminal v1 0 . R1 In order to minimize the dependence of the closed-loop gain G on the value of the R open-loop gain A, we should make A 1 2 . R1 5 B. Input Resistance (a) If the open-loop gain is infinite, i2 R2 i1 i1 Ro R1 vout v1= 0 vin vin Rin Gvin vout Rin The input resistance of the closed-loop inverting amplifier is Rin vin vin R1 vin 0 i1 R1 To make R1 high, then R2 could become impractically large for a required gain R2/R1. The inverting configuration suffers from a low input resistance. Remedy: i2 R2 i x 4 R4 i3 i1 R3 R1 v1= 0 vin i1 vout vin v1 vin R1 R1 Since the input terminal draws no current, v i2 i1 in R1 The voltage at the node x, vx is given by v R vx v1 i2 R2 0 in R2 2 vin R1 R1 6 i3 0 vx R 2 vin R3 R1R3 i4 i2 i3 vin R 2 vin R1 R1R3 v R R R R R R vout vx i4 R4 2 vin in 2 vin R4 = 2 4 2 4 vin R1 R1 R1R3 R1 R1 R1R3 R R RR v R R R G out 2 4 2 4 2 1 4 4 vin R1 R2 R3 R1 R1 R1R3 Take R1 R2 R4 1MΩ, R3 10kΩ , then G 1M 1M 1M 1 102 1M 1M 10k Note: i2 1M i x 4 1M 10k i3 i1 Key points: i1 i2 ; i3 100 i2 i3 1M vx v 1M , i2 x i3 i2 10k 1M 10k i4 i2 i3 101 i1 v1= 0 vin vout vout i2 1M (101)i1 1M (102)i1 1M vin i1 1M [Note]: In comparison, if the simple inverting configuration were used with R1 1MΩ , we would have required a feedback resistor of R2 100MΩ , an impractically large value. (b) If the open-loop gain is finite, i2 i1 R2 R1 v1 v2=0 vin vout Rin 7 Rin vin i1 vout A( v2 v1 ) v1 vout A vin v1 vin vout / A R1 R1 i1 Rin vin 1 R1 vin vout / A 1 ( vout / vin ) / A R1 vout v1 i2 R2 Since the input terminals draw no current, i2 i1 . vout v1 i1R2 vout vin vout / A R2 A R1 vout R2 / R1 1 R vin 1 2 A AR1 1 1 A R2 / R1 Rin R1 R1 1 A 1 ( R2 / R1 ) / (1 A R2 / R1 ) R R /R =R1 1 2 1 R1 2 1 A 1 A C. Output Resistance Since the output of the inverting configuration is taken at the terminals of the ideal voltage source A(v2 v1 ) , it follows that the output resistance of the closed-loop amplifier is zero. R2 Rout i1 vout R1 v1 1 i-=0 vin v2 2 Rin vin v2 –v1 Gvin 3 A(v2 v1 ) vout i+=0 Rout 8 vopen ishort A(v2 v1 ) A(v1 ) 0 ishort The detailed calculation of the output resistance of a practical inverting amplifier is as follows: Method #1: R2 vin Rout vout i1 R1 i1 i1 Rin vin v1 v2 –v1 v2=0 vopen Ro A( v2 v1 ) i1 Rout = Av1 (a) Calculate vopen (the output terminals are open.) vopen ( Av1 ) i1Ro v1 vopen i1 R 2 v v vopen Av1 1 open Ro R2 R R vopen 1 o o A v1 R2 R2 v v v v i1 in 1 1 open R1 R2 v1 vin R1 1 R1 vopen R2 1 R2 R2vin R1vopen R1 R2 R R R v R1vopen vopen 1 o o A 2 in R2 R2 R1 R2 R R R1 Ro R2 vopen 1 o o A A vin R1 R2 R2 R1 R2 R2 R2 R1 Ro R2 Ro vopen 1 A A vin R1 R2 R1 R2 R1 R2 R2 vopen μvin Ro R2 R A R R vin 2 1 2 R1 Ro 1 A R1 R2 R1 R2 9 vopen ishort (b) Calculate ishort (the output terminals are shorted.) R2 i1 R1 v1 i1 vin i1 v2 –v1 v2=0 Ro A( v2 v1 ) vout=0 i2 ishort = Av1 ishort i1 i2 i1 vin vout vin R1 R2 R1 R2 i2 ( Av1 ) vout Av 1 Ro Ro ishort But i1 vin Av 1 R1 R2 Ro vin v1 v1 vout R1 R2 ishort R2 and vout 0 v1 vin R1 R2 R2 R2 Ro A vin 1 R A vin vin A R2 o Ro R2 vin R1 R2 Ro R1 R2 R1 R2 R1 R2 The output resistance of the circuit is given by Rout Take B vopen ishort Ro R2 R A R R vin R1 R2 Ro 2 1 2 R1 R1 Ro R2 Ro Ro 1 A A vin 1 A R1 R2 R1 R2 Ro R2 R1 R2 R1 R2 R1 , called the feedback ratio, R1 R2 Rout Ro Ro 1 AB R1 R2 10 Method #2: By setting vin = 0, and applying a constant current source of 1A to the output terminal. R2 i1 Rout vout vin=0 vin=0 i1 R1 i1 μvin= 0 Rin v1 i1 v2=0 vout Ro v2 –v1 A( v2 v1 ) 1+i1 1A 1A Rout = Av1 i1 vin v1 v1 vout R1 R2 v1 1 v1 v v 1 out R1 R2 R2 vout R2 vout ( Av1 ) Ro 0 v1 vout Av1 R1 Ro 1 1 vout A A R1 1 v1 1 vout Ro R1 R0 R1 R0 R1 R2 vout Take B vout vout 1A R1 v 1 1 R1 R2 out R1 R2 1 i1 1 Ro R1 Ro 1 1 A R1 1 A R1 R2 R1 R2 Ro R1 R0 R1 R2 R1 , the feedback ratio, R1 R2 Rout 1A Ro Ro Ro 1 AB 1 AB R1 R2 (because Ro is very small compared to R1 and R2) 11 Putting all of the above parameters together, the equivalent circuit of the inverting amplifier configuration is shown below: Rout vin vout Rin R1 vin Rin Rout 0 Gvin G R2 R1 2.2.4 An Important Application -The Weighted Summer v1 i1 R1 i2 R2 i3 R3 v2 v3 i1 v1 , R1 i2 i Rf i 0V vout v2 , R2 i3 v3 R3 i i1 i2 i3 Since the no current flows into the input terminals, hence 0 vout iR f (i1 i2 i3 ) R f R R R vout f v1 f v2 f v3 R2 R3 R1 In general, R R vout f v1 f v2 R2 R1 vn , called the weighted summer. Rn Rf 12 The Difference Amplifier: vout v2 v1 The R v1 R Rf R v2 R -v2 vout vout difference Rf R v1 (v2 ) Rf R (v2 v1 ) equation can be rewritten as vout v1 ()v2 i i R2 R1 v1 v2 vout vin 2.3 The Non-Inverting Configuration 13 A. Voltage Gain (a) For an ideal op-amp, the open loop voltage gain is infinite, A . vout A(v2 v1 ) v2 v1 v2 v1 Because of impedance input vout 0 A The two input terminals are virtually shorted. Rout=0 vout Rin=∞ vout v1 v1 0vin R1 R2 v v v 1 2 in the infinite input of the ideal op-amp, the terminals draw no current. R vout 1 2 1vin 1 vinR1 R2 R 1 R 2 The closed-loop voltage gain is G vout R 1 2 . vin R1 The gain is positive which means no phase change at the output. [Note]: The voltage divider in the negative feedback path causes a fraction of the output voltage to appear at the inverting input terminal of the op amp, that is R1 v vout v vin R1 R2 The equivalent circuit model for ideal non-inverting op amp is 14 (b) For a practical op-amp, the open loop voltage gain is finite. vin v2 A(v2 v1 ) i2 Ro i2 R2 v1 i 0, at the inverting input terminal. Ro ~ 102 and R2 ~ 104 , i2 Ro i2 R2 A(v2 v1 ) i2 R2 v1 vout v1 v2 i 0 vout v vin out A A i1 i2 i3 0 0 v1 vout v1 vin v1 0 R1 R2 Ri 1 vout 1 1 v v1 in R2 R1 R2 Ri Ri R2 i2 R1 i1 v1 i3 Ri Ro vout A(v2 v1 ) v2 vin R R R R v R R vout v1 2 1 2 vin 2 vin out 2 1 2 vin 2 Ri A R1 Ri R1 Ri Ri 1 R R R vout 1 1 2 2 vin 1 2 R1 Ri Ri A 15 R2 v Ri the closed-loop gain G out vin 1 R R 1 1 2 2 A R1 Ri R R R If A 1 2 2 , then G 1 2 . R1 R1 Ri 1 B. Input Resistance (1) For ideal op amp ( A , Ri , Ro 0 ) Rin vin vin iin 0 The input resistance is infinite. This is a very desirable feature of the non-inverting configuration. (2) For practical op amp ( A , Ri , Ro 0 ) R2 R1 v1 Ro=0 iin 0 Ri=∞ v2 vin Rin 16 A(v2 v1 ) vout [Method #1] : Rin vin iin R2 i2 R1 i1 i2 v1 Ro Ri iin vout A(v2 v1 ) v2 vin Rin At the input terminal, inverting i 0 0 v1 vout v1 vin v1 0 R1 R2 Ri 1 1 1 v v v1 in out R1 R2 Ri Ri R2 Since vout v1 i2 R2 A(v2 v1 ) , therefore 1 1 1 v A(vin v1 ) v1 in R2 R1 R2 Ri Ri 1 A R R vin 2 v1 i 1 1 1 A R1 R2 Ri R2 1 A 1 1 vin R R2 v v 1 R1 R2 vin iin in 1 vin i 1 1 1 A Ri 1 1 1 A Ri Ri R1 R2 Ri R2 R1 R2 Ri R2 17 v Rin in Ri 1 iin 1 A R1 R1R2 Ri R2 A Ri 1 1 1 Ri ( R1 R2 ) R1 R2 R1 R2 BR2 Ri 1 BA Ri (1 AB ) BR2 Ri RR R1 Where B is the feedback ratio and BR2 1 2 R1 //R2 (1 AB ) Ri R1 R2 R1 R2 Rin (1 AB) Ri [Method #2] : by connecting a constant-current source to the input terminal. 1A R2 i2 R1 i1 vin Rin 1A v1 1A Ri Ro Rout Gvin vout A(v2 v1 ) v2 Rin vin vin 1A vin 1A At the inverting input terminal, i 0 0 v1 vout v1 1 0 R1 R1 R1 R1R2 R1 v1 B(vout R2 ), where B vout R1 R2 R1 R2 R1 R2 vout A(v2 v1 ) i2 Ro A(v2 v1 ) vout Avin ( Bvout BR2 ) A AB vout vin R2 1 AB 1 AB 18 Ro is much smaller than R2 , in general. vout Since vin (1A Ri ) v1 Ri B(vout R2 ) , BR2 A AB AB vin Ri B vin R2 R2 Ri vin 1 AB 1 AB 1 AB 1 AB vin (1 AB) Ri BR2 Rin vin (1 AB) Ri BR2 (1 AB) Ri C. Output Resistance (1) For ideal op amp ( A , Ri , Ro 0 ): R2 R1 v1 vout Ro=0 Ri=∞ v2 vin Rout A(v2 v1 ) vopen ishort A(v2 v1 ) 0 The output resistance is zero. (2) For practical op amp ( A , Ri , Ro 0 ): [Method #1] : by connecting a constant-current source to the output terminal. R2 Rout vout vin=0 R1 i2 v1 Rin Ri v2 vout Ro A(v2 v1 ) 1-i2 1A Gvin= 0 1A Rout vin=0 19 1A vout vout 1A R1 //Ri v1 vout R2 R1 //Ri v2 = 0 i2 v2 0 vout R2 R1 //Ri vout A( v2 v1 ) vout 1 i2 1 Ro R2 R1 //Ri vout A R1 //Ri vout vout 1 Ro Ro R2 R1 //Ri R2 R1 //Ri 1 A R1 //Ri 1 vout 1 Ro Ro R2 R1 //Ri R2 R1 //Ri vout 1 1 R1 //Ri A 1 Ro R2 R1 //Ri Ro R1 //Ri Ro R1 //Ri Ro 1 A R2 R1 //Ri R1 //Ri Ri R1 R1 //Ri R1 vout Ro Ro Ro R1 R R 1 AB 1 A o 1 B A o R2 R1 R1 R1 Output Resistance Rout ( A Ro ) R1 Ro 1 AB [Method #2] : by connecting a constant-voltage source to the output terminal. R2 Rout vin=0 R1 I2 Ri v2 Gvin= 0 vout Ro A(v2 v1 ) I Rin v1 I1 I V Rout vin=0 20 vout vout V I I V vd v2 v1 0 v1 v1 R1 //Ri R1 //Ri v1 vout V R2 R1 //Ri R2 R1 //Ri I2 I1 V R2 R1 //Ri vout Avd vout Ro R1 //Ri V 1 A A( v1 ) R2 R1 //Ri Ro Ro R1 //Ri V 1 A V R2 R1 //Ri I I1 I 2 Ro R2 R1 //Ri The output resistance is given by V 1 Rout I R1 //Ri 1 A R2 R1 //Ri Ro 1 R2 R1 //Ri Ro R1 //Ri Ro 1 A R2 R1 //Ri R2 R1 //Ri Ro R1 //Ri Ro 1 A R2 R1 //Ri R1 //Ri Since Ri R1 and A Rout Ro , R1 Ro Ro Ro R1 R R 1 AB 1 A o 1 B A o R2 R1 R1 R1 21 [Method #3] : Rout vopen ishort R2 R1 v1 Ri A(v2 v1 ) v2 vout Ro Io RL vin vd v2 v1 v2 vin At the inverting input terminal, 0 v1 vout v1 vin v1 0 R1 R2 Ri i 1 1 1 v v v1 in out R1 R2 Ri Ri R2 vin vout Ri R2 v1 1 1 1 R1 R2 Ri By opening RL, vout vopen vin vopen Ri R2 v1 1 1 1 R1 R2 Ri v v vopen A(v2 v1 ) I o Ro A(vin v1 ) open 1 Ro R2 R R 1 o vopen Avin A o v1 A(vin v1 ) R2 R2 22 ( A Ro ) R2 R 1 o vopen R2 vin vopen Ri R2 A vin 1 1 1 R1 R2 Ri 1 1 A Avin R R2 R1 R2 1 o vopen 1 1 1 R2 1 1 1 R1 R2 Ri R1 R2 Ri vopen 1 1 Avin R1 R2 Ro 1 1 1 A 1 R R R R R 2 1 2 i 2 By shorting RL, vout 0 vin Ri v1 1 1 1 R1 R2 Ri ishort vin 1 1 Av 0 A A Av Ri R1 R2 d (vin v1 ) vin in 1 1 1 1 1 1 Ro Ro Ro Ro R1 R2 Ri R1 R2 Ri 1 1 1 Ro v R1 R2 Ri Rout open ishort Ro 1 1 1 A 1 R R R R R 2 1 2 i 2 R1 Since Ri R1 , R2 and B , R1 R2 Rout 1 1 Ro Ro Ro R1 R2 Ro 1 1 A 1 Ro AB 1 AB 1 R R R R R2 2 1 2 2 23 The Voltage Follower vout vin This circuit is equivalent to the non-inverting configuration with R1 and R2 0 . G vout R 1 2 1 vin R1 a unity-gain amplifier Input Impedance Rin (1 AB) Ri (1 A) Ri Output Impedance Rout Ro R o 0 1 AB 1 A Equivalent Circuit Rout=0 Rin=∞ vout 1 vin vin The voltage follower is used as “impedance matching” circuit, the buffer amplifier to connect a source with a high impedance to a low impedance load. Examples of Circuit Calculation: (1) Calculate the output voltage: 9kΩ 1kΩ vv1 v2 2kΩ v+ vout 3kΩ 24 Virtual Short: v v The input terminals draw no current. At the inverting terminal, vout v 0 v 0 vout 10v 9k 1k At the non-inverting terminal, 1 v1 v v2 v 0 v (3v1 2v2 ) 5 2k 3k 1 vout 10 (3v1 2v2 ) 6v1 4v2 5 (2) Calculate the output voltage: 9kΩ v3 v1 v2 1kΩ v2kΩ v+ vout 3kΩ Virtual Short: v v The input terminals draw no current. At the inverting terminal, vout v v3 v 0 vout 10v 9v3 9k 1k At the non-inverting terminal, 1 v1 v v2 v 0 v (3v1 2v2 ) 5 2k 3k 1 vout 10 (3v1 2v2 ) 9v3 6v1 4v2 9v3 5 25 2-4 Difference Amplifier R2 R1 v1 vR3 v2 v+ vout R4 Analysis of the circuit: 【Method #1】: i 0 at each of the input terminals of the op-amp. v1 v vout v R2 R2 0 vout v 1 v1 R1 R1 R1 R2 v v 0 v R4 2 v2 0 v R3 R4 R3 R4 v v vout 1 R4 R2 R2 v2 1 v1 R R R1 R1 1 4 3 R2 R1 R3 R4 R v2 2 v1 R1 【Method #2】: by using superposition principle. (a) Find v1 only the by contribution due to grounding v2. R2 R1 v1 vv+ R3 vo1 R4 26 This is equivalent to an inverting amplifier. vo1 R2 v1 R1 (b) Then, find v2 only by the contribution due to grounding v1. R2 R1 vv2 R3 v+ vo2 R4 This is equivalent to a non-inverting amplifier, R vo 2 1 2 v R1 R R4 1 2 v2 R1 R3 R4 R2 1 R1 v2 1 R3 R4 The superposition principle tells us that the output voltage vout is equal to the sum of vo1 and vo2 when they are applied alone. Thus we have vout 1 vo1 vo2 1 R2 R1 R3 R4 R v2 2 v1 R1 The above formula can be rewritten as 27 vout R 2 R1 R1 1 R R2 v2 2 v1 R3 R1 1 R4 If we take R3 R1 and R4 R2 , or vout R1 R3 , then R2 R4 R2 ( v2 v1 ) R1 This is clearly that of a difference amplifier with a voltage gain of R2 . R1 Ideally, the circuit responds in proportional to the difference signal voltage v2 v1 and reject common-mode signals (that is, produce zero output when v2 v1 ). The input signals, v1 and v2 , can be alternatively represented as v v v v 1 v1 2 1 2 1 vcm vd 2 2 2 v2 v2 v1 v2 v1 vcm 1 vd 2 2 2 where vcm v2 v1 2 common-mode input signal vd v2 v1 differential-mode input signal The previous circuit can be redrawn as R2 v1 R1 12 vd vout vcm 1 2 vd v2 R3 R4 Define 28 vout vd Differential-Mode Voltage Gain Ad Common-Mode Voltage Gain Acm vout vcm Although ideally the difference amplifier will amplify only the differential input signal vd and reject completely the common-mode input signal vcm, Practical circuits will have an output voltage vout given by vout Ad vd Acmvcm The efficiency of a differential amplifier is measured by the degree of its rejection of common-mode signals in preference to differential signals. This is usually quantified by a measure known as the common-mode-rejection ratio (CMRR), defined by R2 v1 R1 v- v2 R3 v+ vout R4 Common-Mode-Rejection-Ratio CMRR We are going to derive the theoretical formula of Ad and Acm. For a difference amplifier, the output voltage is given by 29 Ad Acm vout R 2 R1 R1 R1 1 1 R R R2 R v2 2 v1 2 2 v2 v1 R3 R1 R1 R3 1 1 R R4 4 If we take R3 R1 and R4 R2 , or vout R1 R3 , then R2 R4 R2 R (v2 v1 ) 2 vd R1 R1 Differential–mode gain (or simply called differential gain) v R Ad out 2 vd R1 30 In general, consider the following circuit with only the differential signals applied at the input terminals, R2 R1 vd 1 2 vcm = 0 1 2 vd vR3 vout v+ R4 R2 1 v1 vd 2 R1 1 v2 vd 2 R3 vv+ R4 1 1 If v1 vd and v2 vd , then 2 2 vout R 2 R1 R1 R1 1 1 v v R R2 R d d 2 2 1 vd R3 R 2 2 2 R 3 1 1 1 R4 R4 v R Ad out 2 vd 2 R1 R1 1 R2 1 R3 1 R4 31 vout Consider the circuit with only a common-mode signal applied at the input terminals, R2 R1 vR3 vcm v+ vout R4 R4 v vcm R3 R4 v v ( with a negative feedback) At the inverting input terminal, i 0 v v v v cm out 0 R1 R2 vout 1 R2 R2 R2 vcm v 1 = vcm R1 R1 R1 1 R2 R1 R3 R4 vcm R4 R2 R3 1 vcm R1R4 R3 R4 The common-mode gain is Acm If vout R4 R2 R3 1 vcm R3 R4 R1R4 R1 R3 , then Acm 0 CMRR . R2 R4 However, any mismatch in the resistance ratios can make Acm nonzero, and hence CMRR finite. 32 Common-Mode-Rejection-Ratio (CMRR) In general, the output voltage of a difference amplifier is given by vout 1 1 R2 R1 R3 R4 R1 1 R R R v2 2 v1 2 2 v2 v1 R1 R1 R3 1 R 4 R2 R1 v1 vR3 v2 v+ R4 By using v2 v1 v2 v1 1 v v vd 1 cm 2 2 2 v2 v2 v1 v2 v1 vcm 1 vd 2 2 2 vout R 2 R1 vout R 2 2 R1 R Ad 2 2 R1 R1 1 1 1 R2 vcm vd vcm vd R3 2 2 1 R4 R1 R1 1 1 R R2 R 1 vd 2 2 1 vcm Ad vd Acm vcm R3 R3 R 1 1 R 1 R4 4 R1 1 R2 1 R3 1 R4 R Acm 2 R1 R1 RR 1 1 2 3 R2 R1R4 1 R3 R 1 1 3 R4 R4 R 1 1 R2 R2 1 2 R1 1 R3 R4 A CMRR 20log d 20log RR Acm 1 2 3 R1R4 R 1 3 R4 33 R R 1 1 3 2 R2 2 R4 20log R1 R3 R2 R4 vout Input Resistance of the Common-Mode Signal Amplifier R2 i1 R1 i vR3 vcm v+ vout i2 R4 R4 v vcm R3 R4 v v i2 vcm R3 R4 i1 vcm v vcm vcm R4 vcm R3 R1 R1 R1 R3 R4 R1 R3 R4 i i1 i2 If vcm R3 vcm R1 R3 R4 R3 R4 i 1 1 1 vcm R1 ( R4 / R3 ) 1 R3 R4 R4 R2 , then R3 R1 1 i 1 1 1 1 1 Rin vcm R1 ( R2 / R1 ) 1 R3 R4 R1 R2 R3 R4 Rin ( R1 R2 )//( R3 R4 ) If we take R3 R1 and R4 R2 , then 1 Rin ( R1 R2 )//( R1 R2 ) ( R1 R2 ) 2 34 Input Resistance of the Difference Amplifier For the circuit shown below, R2 R1 v1 vR3 v2 v+ vout R4 if we take R3 R1 and R4 R2 , then vout R2 R2 (v2 v1 ) v1 R1 i1 R1 R2 i2 R2 R (v2 v1 ) 2 vd , a difference amplifier. R1 R1 v1 R2 v2 v1 R1 R1 R2 R1 v2 R1 i1 R1 v- vout v+ R2 R (v2 v1 ) 2 vd R1 R1 i2 v2 R1 R2 R2 i1 i2 , in general. The following circuit is equivalent to the above one. R2 R2 i R1 R1 v2 v1 i R1 i v v Rin 2 1 i vd v- 1 2 v+ i 12 vd vout R2 Virtual Short v0 R1 v+ R2 35 vout Proof: For the equivalent circuit, Let vd v2 v1 vout vd i ( R1 R2 ) i ( R1 R2 ) 2i ( R1 R2 ) vd iR1 iR1 i vd 2 R1 v R vout vd 2 d ( R1 R2 ) vd 2 2 R1 R1 vout R2 ( v2 v1 ) R1 The input resistance of the difference amplifier is given by Rin v2 v1 2 R1 i Note that if the difference amplifier is required to have a large differential gain, then R1, of necessity, will be relatively small and the input resistance will be correspondingly small, a drawback of the circuit. 36 A Superior Circuit- The Instrumentation Amplifier In the design of instrumentation system, we need an amplifier that can reject the large common interference signal while amplify the small differential signal. This is called “instrumentation amplifier”. The drawbacks of the difference amplifier used as instrumentation purpose are: (1) low input impedance and (2) gain cannot be easily varied. v1 vo1 A1 R4 R2 v1 v v i 1 2 R1 R1 v2 i R3 2R (v1 v2 ) 1 2 R1 i vout A3 R3 R4 2 R2 1 (v1 v2 ) R3 R1 R2 R4 A2 vo2 v2 Current flowing through R1: i v1 v2 R1 Since the input terminals draw no current, the same current I also flows through the R2 of A1 and the R2 of A2. v v 2R vo1 vo 2 iR2 iR1 iR2 1 2 ( R1 2 R2 ) (v1 v2 ) 1 2 R1 R1 The A3 circuit is a typical difference amplifier, therefore vout R4 R 2R (vo 2 vo1 ) 4 1 2 (v1 v2 ) R3 R3 R1 Differential Voltage Gain: vd Ad 2R R vout 1 2 4 v2 v1 R1 R3 The gain can be easily varied by varying the single resistor R1. In the circuit, there are two R2 resistors, two R4 resistors, but only one R1 resistor. 37 For the common-mode component, assuming that for now we have made vd 0 , i.e., vo1 vo 2 vcm , if the second stage difference amplifier is properly balanced, it will produce a zero output voltage in response to vcm, indicating that the common-mode gain of the instrumentation amplifier has the ideal value of zero. Common-Mode Gain: Acm vout vout 0 vcm (v1 +v2 ) / 2 Input Impedance: Since both of the input-stage op amps are connected in the non-inverting configuration, the input impedance seen by each of v1 and v2 is ideally infinite. This is the major advantage of this instrumentation amplifier configuration. Design Example: Want to design an instrumentation amplifier having a gain adjustable over the range 2 to 1000. Solution: It is usually preferable to obtain all the required gain in the first stage, leaving the second stage to perform the task of taking the difference between the outputs of the first stage and thus rejecting the common-mode signal. In other words, the second stage is usually designed for a gain of one. Take R3 R4 10 k and R1 = the series combination of a fixed resistor R1f and a variable resistor R1v. 2 R2 Ad 1 2 to 1000 R1 f R1v 2 R2 1 R 1000 1f 2 R2 1 2 R1 f 100k R1f R1 = R1v 100kΩ POT R2 50.050 k R1 f 100.2 We can choose standard resistors (1% tolerance metal-film type) of R2 49.9 k and R1 f 100 . 38 2-5 Integrators and Differentiators The Inverting Configuration with General Impedances Closed-loop transfer function v Z T out 2 vin Z1 i2 i1 Z2 Z1 v- vin v+ = 0 vout Example: Find: (1) DC gain and magnitude response; (2) 3-dB frequency; (3) phase shift at the output. Solution: C2 Z1 R1 Z 2 R2 //X C2 where 1 Y2 R2 R1 vout Z 1 2 vin Z1 Z1Y2 vin vout 1 1 1 Y2 jC2 R2 X C2 R2 T ( ) vout vin 1 1 R1 jC2 R2 1 R1 j R1C2 R2 Magnitude response of the transfer function T ( ) 1 2 R1 2 R ( R1C2 ) 2 R2 , R1 At 0 , G (0) T (0) At , G() T () 0 the dc gain 39 R2 R1 1 R2C2 2 A low-pass STC network (an active low-pass filter) 3-dB frequency 0 1 R2C2 G ( ) R2 / R1 1 R2 / R1 2 0 3dB 【Note】: (a) The capacitor behaves as an open circuit at dc, thus at dc the gain is simply R2 . R1 (b) Because there is a virtual ground at the inverting input terminal, the resistance seen by the capacitor is R2 and thus the time constant of the STC network is R2C2. cos j sin The phase response of the transfer function is T ( ) R1 j R1C2 R2 2 R1 2 R R1C2 2 R1 R j R1C2 2 2 R1 2 R R1C2 2 should be in the second quadrant, because cos 0 and sin 0 . T () tan 1 R2C2 At 0 , At , T (0) 180 , T () 180 90 90 【Note】: For a low-pass STC network, the phase shift at 3dB is approximately 90 . To this, we must add the 180 arising from the inverting nature of the amplifier. Thus at 3dB , the total phase shift will be 270 or equivalently, 90 . 40 41 The Inverting Integrator The circuit response can be analyzed in two ways: 1. In Time Domain The capacitor is charged by the current i. iC C dvC dt vC i R t 1 dvC i (t )dt C0 V0 vin i v- = 0 t vC V0 1 i (t )dt C 0 where V0 is the initial voltage across the capacitor. Since the output voltage vout vC (t ) and i (t ) vin (t ) , we have R t vout (t ) 1 vin (t )dt V0 RC 0 where RC is the time constant of the circuit. This integrator circuit is said to be an inverting integrator, also known as Miller Integrator. 2. In Frequency Domain The transfer function is given by v Z X 1 / ( jC ) 1 T ( ) out 2 C vin Z1 R R j RC The magnitude response of the transfer function is T ( ) 1 RC The phase response of the transfer function is T ( ) 90 42 vout The Bode plot of the integrator magnitude response is shown below: T () (dB) 6 dB / octave or 20 dB / decade 0 log 1 0 RC (1 / RC ) T ( ) (dB) 20log T ( ) 20log( RC ) 20log 20log 0 At 0 1 , T (0 ) 0 dB . RC At 20 , T (20 ) 20log2 6 dB . 【Note】: T (1 ) 20log If 2 21 , If 2 101 , 0 , 1 T (2 ) 20log T (2 ) T (1 ) 20log 0 2 0 / 2 20log 1 0 / 1 2 T (2 ) T (1 ) 20log2 6 dB 6 dB / octave . T (2 ) T (1 ) 20log10 20 dB 20 dB / decade . The frequency response of the integrator behaves like a STC low-pass filter with a corner frequency at zero. T () (dB) T () (dB) 0 20 dB / decade 3dB Corner frequency at zero 20 dB / decade 0 log Passive Low-Pass Filter log Integrator 43 1 0 RC For the integrator circuit, note that at 0 , T () . This means that the op-amp is operating with an open loop ( open-loop gain = ). This can be seen from the integrator circuit in which the feedback is a capacitor, and thus at dc, the capacitor is charged to its saturation. Therefore, it behaves like an open circuit, there is no negative feedback from the output. This indicates a source problem: Any tiny dc component in the input signal will theoretically produce an infinite output. Of course, no infinite output voltage results in practice. The output saturates at a voltage close to the op-amp’s positive or negative power supply, depending on the polarity of the input dc signal. Remedy for the problem: By connecting a resistor RF in parallel with the integrator capacitor C, the resistor RF closes the feedback loop at dc and provides the integrator with a finite dc gain of RF / R . RF The introduction of RF gives the 3dB frequency given by 3dB 1 / RF C . C R vin vout To minimize the imperfection in the integrator function introduced by RF, we select RF as large as possible. Example: Find the output of a Miller integrator in response to an input pulse of 1V height and 1ms width. Assume R 10 k and C 10 nF . Solution: Case #1: Without the feedback resistor RF t 1 vout (t ) vC (t ) Idt V0 C0 44 Assume V0 0 , i.e., no initial charge stored on the capacitor. t vout (t ) Since I 1 Idt C 0 vin(t) 1V vin , R 1V 0.1 mA for 0 t 1 ms I 10 k for t 1 ms 0 0 1 ms t vout(t) I 0.1 mA 4 t t 10 t for 0 t 1 ms vout (t ) C 10 nF 104 103 10 V for t 1 ms 1 ms 0 t -10 V Case #2: With the feedback resistor RF The input current I vin (t ) / R is supplied to an STC network composed of RF in parallel with C. dvC I C C dt 0 vout ( I I C ) RF vout (t ) vC (t ) vin (t ) I R RF I - IC C IC R I vin d ( vout ) vout I C RF dt vout IRF RF C I v-=0 vout dvout dt dvout 1 ( vout IRF ) dt RF C For 0 t 1 ms , vin 1 V I vout 0 1 , R t v IRF dvout 1 dt ln out vout IRF RF C 0 IRF t vout (t ) IRF 1 e RF C 45 t RF C 1V IRF 1 M 100 V 10 k RF C 1 M 10 nF 106 10 109 102 s 10 ms t vout (t ) 100 1 e 10 (Note: t in unit of ms) At t t1 1 ms , V1 vout (1 ms) 100(1 e 1 10 ) 9.5 V . For t 1 ms , vin 0 I 0 , dvout v out dt RF C vout (t ) V1e vout V1 t t 1 RF C t dvout 1 dt vout RF C t1 9.5e t 1 RF C The capacitor discharges through RF with the time constant of 10 ms. vout 0 1 ms t to -0V -9.5V exponential curve with time constant of 10ms to -100V 46 The Op-Amp Differentiator R i C v- = 0 i vin vout In time domain, vout (t ) i (t ) R i (t ) C dvin dt vout (t ) RC dvin dt In frequency domain, T ( ) vout Z R 2 j RC vin Z1 XC Magnitude Response T ( ) RC Phase Response T ( ) 90 The 0dB gain occurs at 0 0 1 , where RC is the differentiator time constant. The RC frequency response of the differentiator behaves like that of a passive STC high-pass filter with a corner frequency at infinity. T () (dB) T () (dB) 0 20 dB / decade Corner frequency at infinity 20 dB / decade 3dB log 0 log 0 Passive High-Pass Filter 47 1 RC Differentiator Disadvantage of OP Amp Differentiator: The very nature of a differentiator circuit causes it to be a “noise magnifier”. This is due to the spike introduced at the output every time there is a sharp change in vin(t). For this reason and because they suffer from stability problems (caused by feedback), differentiator circuits are generally avoided in practice. When the circuit is used, it is usually necessary to connect a small resistance in series with the capacitor. This modification, unfortunately, turns the circuit into a non-ideal differentiator. R i C r v- = 0 i vin vout Circuit of Differential Integrator C i v1 v2 R i R vv+ vout C In frequency domain, vout ( ) XC 1 (v2 v1 ) (v2 v1 ) R j RC Magnitude response T () vout 1 v2 v1 RC an active low-pass filter In time domain, iC C dvC dt 48 d (vout v ) (v1 v ) 0 C dt R d (0 v ) (v2 v ) 0 C dt R v v dvout 1 (v2 v1 ) dt RC C vout dvout ( v2 v1 ) 0 dt R 1 (v2 v1 )dt RC Circuit of Phase Shifter (also known as “first-order all-pass filter”) R1 i R1 i C vin vv+ vout R vout v vin v 0 R R1 1 vin v 0 v 0 X R C v v vout 2v vin R v vin R XC 2R R XC R (1 / jC ) vout vin vin vin vin R (1 / jC ) R XC R XC T ( ) Magnitude Response vout RC j vin RC j T ( ) ( RC )2 1 1 ( RC )2 1 Phase Response T ( ) tan 1 (1 / RC ) ( tan 1 (1 / RC )) 2 tan 1 (1 / RC ) 2cot 1 ( RC ) 2 / 2 tan 1 ( RC ) 2 tan 1 ( RC ) 49 2-6 DC Imperfections Offset Voltage If the two input terminals are tied together and connected to ground, then the output is given by vout AVos where Vos is called the input offset voltage. If the op amp output has a high dc gain, the output will be at either the positive or negative saturation voltage level. vout = AVos The input offset voltage arises as a result of the unavoidable mismatches present in the input differential stage inside the op amp. The general-purpose op amps exhibit Vos in the range of 1 to 5 mV, and the value of Vos depends on temperature, usually expressed in μV / o C . Different units of the same op amp may exhibit either a positive or a negative Vos. Circuit model of an op amp with input offset voltage Vos : Actual Op Amp 1 1 3 3 2 2 Vos Offset-Free Op Amp 50 Effects of Vos (A) If the open-loop gain is infinite, R2 vin v vout v 0 R2 R1 v v V os vin R1 vv+ R R vout 2 vin 1 2 Vos R1 R1 vout Vos (B) If the open-loop gain is finite, vin v vout v 0 R2 R1 v A(v v ) A(V v ) out os R R 2 vin 1 2 Vos R R1 vout 1 1 R 1 1 2 A R1 If A 1 R2 , then R1 R R vout 2 vin 1 2 Vos R1 R1 【Note】: Although negative feedback reduces the output of the offset voltage, it doesn’t improve the ratio of signal-to-offset. vout (signal) ( R2 / R1 )vsiganl vsiganl , If ( R2 / R1 ) is large. vout (offset) (1 R2 / R1 )Vos Vos When the error signal occurs before the amplification, negative feedback provides no net improvement. Remedies for input offset voltage Offset Nulling: The important factor is not the size of the offset, but the amount it drifts with time and temperature. 51 (1) The output dc offset voltage of an op + amp can be connecting a offset-nulling V trimmed to zero by potentiometer to the two terminals. offset-nulling terminals V— R2 100kΩ R1 vin 1kΩ vout 1MΩ Vos -15V +15V 100kΩ POT (2) Trim the offset voltage to zero by using an external trimming network. R R R vout 2 vin 2 Voffset 1 2 Vos R1 1M R1 52 100 k 1 Voffset ( 15 V ~ 15 V) 10 1 M (3) If we don’t need voltage at dc, use a capacitor to drop the gain to unity at dc. As the dc offset voltage Vos is concerned, its output at dc is given by R2 R2 Vout (error due to dc offset voltage) 1 Vos 1 Vos Vos X C R1 R1 This is is output because the capacitor open at dc. Hence the is given by C i RR2 in voutv vinv- Vos X C i R1 vout For circuit with 3dB high frequencies, the will have a STC network response Vos 1 . R1C (4) Choose an op amp with smaller Vos. The Effect of the Op Amp Input Offset Voltage Vos on the Miller Integrator Circuit R2 C vin R1 vout Vos 53 RF i vin v dv d (v vout ) C C C C R dt dt 1 v vout R (vin v )dt vin RC vvout Since Vos follows vout v v Vos , it 1 1 1 V vin dt Vos Vos dt vin dt Vos os t RC RC RC RC Since the output rises linearly with time, the op amp eventually saturates. The problem can be alleviated by connecting a resistor RF across the integrator capacitor. The resistor RF provides a dc path through which the dc current Vos can flow (at dc, C is R R open). Thus, vout will have a dc component of Vos 1 F , instead of rising linearly. R To keep the dc offset at the output small, one would select a low value for RF. However, the lower the value of RF, the less ideal the integrator circuit becomes. A “trade-off” must be made. Input Bias Current 54 In order for the op amp to operate, its two input terminals have to be supplied with dc currents, termed as current”. current are fact that a finite, large the “input bias The input bias independent of the real op amp has input resistance. R2 i2 R1 IB1 i1 vout Definition: IB2 1 I B I B1 I B 2 2 Input bias current Input Offset Current Ios I B1 I B 2 For bipolar transistor op amps, IB~100 nA, Ios~10 nA. For FET op amps, IB~1 pA. Analysis of the closed-loop amplifier, taking into account the input bias current 1 IB1 At the terminal, 3 vout 2 IB2 55 inverting input 0 v v vout I B1 0 R1 R2 v v 0 vout I B1R2 I B R2 1 I B ( I B1 I B 2 ) I B1 2 This places an upper limit on the choice of R2, because voltage gain is equal to How to reduce the error output voltage due to the input bias current? Remedy:Connect a resistance R3 in series with the non-inverting input terminal. 0 v v vout I B1 0 R1 R2 R2 0 v I 0 B2 i2 R3 R 1 v v v IB1 i1 R3 v+ IB2 i3 vout v I B 2 R3 R R2 R R vout I B1R2 v 1 2 I B1R2 I B 2 R3 1 2 I B1R2 I B 2 R2 R3 1 R1 R1 R1R2 R3 I B1R2 I B 2 R2 R1 //R2 (1) Case #1: if I B1 I B 2 I B , 56 R2 . R1 R3 vout I B R2 1 R1 //R2 If we choose R3 R1 //R2 , then vout 0 . (2) Case #2: if I B1 I B 2 , but still choose R3 R1 //R2 , then vout I B1R2 I B 2 R2 ( I B1 I B 2 ) R2 I os R2 【Notes】: (1) The connection of R3 reduces much of the error output voltage due to the input bias current. vout (with R 3 ) I R I 10 nA os 2 os 101 vout (without R 3 ) I B1R2 I B1 100 nA (2) R3 R1 //R2 is the dc resistance seen by the inverting terminal. If the amplifier is ac-coupled, then the R3 should be chosen as R3 R2 in the circuit shown below. R2 C vin R1 v- IB1 vout R3=R2 v+ IB2 57 In this ac-coupled amplifier, the dc resistance seen by the inverting terminal is R2. Hence, R3 R2 . Consider the input signal, input offset voltage, and input bias current all together. R2 R1 vin v- IB1 v+ R3 Vos vout IB2 vin v v vout I B1 0 R1 R2 v Vos I B 2 R3 v A(v v ) out From (1), vin vout I B1 R1 R2 v 1 1 R1 R2 (1) (2) (3) (4) If we choose R3 R1 //R2 , then (4) becomes v v v R3 in out I B1 R1 R2 (5) By substituting (2) and (5) into (3), we have v v vout A Vos I B 2 R3 R3 in out I B1 R1 R2 vout If Vos R3 ( I B 2 I B1 ) R3 vin R1 1 R3 A R2 1 R R //R << 3 1 2 , take I os I B1 I B 2 , then A R2 R2 vout R R2 vin 1 2 Vos I os R2 R1 R1 Output signal Error due to input offset voltage 58 Error due to input offset current Important Note: For an ac-coupled amplifier, one must always provide a continuous dc path between each of the input terminals of the op amp and ground. Because the input bias currents IB1 and IB2 are required to operate op amp, they need a dc path to ground. R2 C1 This ac-coupled amplifier will not work without the resistor R3. R1 C2 vin v- IB1 v+ R3 vout IB2 Rin Unfortunately, including R3 lowers considerably the input resistance of the closed-loop amplifier. Rin vin iin vin X C 2 R3 R3 for high frequency signals vin X C 2 R3 59 2-7 Effect of Finite Open-Loop Gain and Bandwidth on Circuit Performance Frequency Dependence of the Open-Loop Gain In dealing with the practical operational amplifiers, the most serious op amp non-idealities are finite gain and bandwidth. Open-loop gain of a typical general-purpose internally compensated 741-type op amp A (dB) Ao = 105 100 3dB 80 -20dB/decade or -6dB/octave 60 40 20 100 0 1 10 102 103 104 fb 105 106 f(Hz) ft 【Notes】: (1) The uniform -20dB/decade gain rolloff is typical of internally compensated op amps. A single capacitor is included on the same IC chip whose function is to cause the op amp gain to have the STC low-pass response (called “frequency compensation”). Its purpose is to ensure the op amp will be stable (cut down the oscillation). (2) fb = 3dB frequency (3) ft = unity-gain frequency (4) The gain is quite high at dc and low frequencies (Ao = 100dB or 105), it starts to fall off at a rather low frequency ( 10 Hz ). By analogy to the response of low-pass STC circuits, Ao A( ) 1 j b 60 For frequencies b (or 10b ), A( ) Aob j A( ) Aob At the unity-gain frequency ft, A(t ) 1 , t Aob (called the gain-bandwidth product, GB) Open-loop gain is given by A( ) t f t f As a matter of practical importance, the production spread in the value of ft between op-amp units of the same type is usually much smaller than that observed for Ao and fb. For this reason, the ft is preferred to be chosen as a specification parameter. The uniform -6dB/octave or -20dB/decade rolloff is said to have a “single-pole” model. Frequency Response of Closed-Loop R2 Amplifiers R1 vin vout The inverting closed-loop amplifier The closed-loop voltage gain of an inverting amplifier is given by G vout vin 1 R2 R1 1 R2 1 A R1 Note that the open-loop voltage gain is a function of frequency, A A( ) Ao 1 j b where Ao is the open-loop voltage gain at dc. 61 G( ) R2 R1 1 R 1 1 j 1 2 Ao b R1 R2 R1 G ( ) 1 R 1 1 2 j Ao R1 t 1 1 R2 R2 1 j 1 Ao R1 Aob R1 R2 1 R 1 R2 R1 R2 R1 1 R2 (1 R2 / R1 ) 1 1 1 j R1 1 R2 / R1 Ao t 1 Ao Go 1 j 3dB 1 R R2 t 1 1 2 Ao R1 R1 and 3dB Go R 1 R 1 2 1 1 2 R1 Ao R1 where G ( ) G0 1 3dB As an example, given Ao 105 , f 3dB 2 R2 100 , f t 106 Hz R1 1 R f t 1 1 2 106 1 1 100 Ao R1 105 9.91 kHz R 1 100 1 2 R1 R2 100 R1 G0 99.9 1 1 R2 1 (1 100) 1 1 105 Ao R1 At f 0.1 f 3dB 0.991 kHz , G (0.991 kHz) 62 99.9 0.991 1 9.91 2 99.4 . At f f 3dB 9.91 kHz , G (9.91 kHz) At f 10 f 3dB 99.1 kHz , 99.9 9.91 1 9.91 G (99.1 kHz) 105 100 104 80 103 60 102 40 101 20 100 0 99.9 99.1 1 9.91 G03dB 9.94 . -20dB/decade or -6dB/decade G( ) 10 102 103 104 105 106 f3dB (closed-loop) fb (open-loop) where 2 3dB 0 G ( ) 70.6 . G (dB) A (dB) For 3dB , 2 f(Hz) ft Go G o 3dB / 3dB 1 R R R2 t 1 1 2 2 t Ao R1 R1 R1 t R2 R2 1 R2 1 1 1 1 R1 R1 Ao R1 G ( ) t For open-loop amplifier, Aob t . For closed-loop amplifier, Go3dB t . t Aob Go3dB (Gain) (BW) Constant 63 2-8 Large Signal Operation of Op Amps (1) Output Saturation Op amps operate linearly over a limited range of output voltages. The L+ and L- are within 1 to 3V of the positive and negative power supplies. For example, if the power supplies are 15 V , then L 13 V and L 13 V in general op amps. The rated output voltage is said to be 13 V . (2) Slew Rate Slew Rate SR dvout dt V / μs max It is defined as the maximum rate of change possible at the output voltage. Example: For a unity-gain voltage follower configuration, what is the output shape of an input step waveform? vout vin vin vout If V is large Slope = SR V 0 V 0 t t The distinction between the effects of the bandwidth and slew rate is described below: The finite op amp bandwidth is a linear phenomenon and does not result in a change in the shape of an input sinusoid. It does not lead to nonlinear distortion. The slew rate limitation can cause nonlinear distortion to an input sinusoidal signal when its frequency and amplitude are such that the corresponding ideal output would require vout to change at a rate greater than SR. If the step voltage V is sufficiently small, the output can be the exponentially rising ramp shown below. 64 vin vout If V is sufficiently small slope tV SR V 0 V 0 t t For a non-inverting amplifier, the transfer function is given by R2 vout R1 vin 1 j R 1 j 1 2 3dB t R1 where t is the unity-gain frequency. For voltage-follower configuration, R2 0 and R1 . 1 R2 R1 1 vout 1 vin 1 j t which is a low-pass STC response with a time constant of 1 t . Hence the output of the input step response is vout (t ) V 1 e t t dvout V t e t t dt The initial slope of this exponentially rising function is tV . As long as V is sufficiently small so that tV SR , the output is as shown. (3) Full Power Bandwidth Assume the input waveform is given by vin (t ) Vi sin t , the rate change of input voltage is dvin Vi cos t dt Its maximum rate change of the input voltage is dvin Vi , happened at zero crossings. dt max 65 If Vi SR , the output waveform will be distorted. Definition of Full-Power Bandwidth MVo max SR fM SR 2Vo max where Vomax is the rated output voltage. fM is called the “Full-Power Bandwidth”. If the output Vo is smaller than Vomax, it will show slew-rate distortion at frequencies higher than fM. Vo MVo max SR V M o max or Vo Vo max M Vo This means that, at a frequency higher than M , the maximum amplitude of the undistorted output sinusoid is given by Vo Vo max M 66 . Applications of Operational Amplifier 1. Logarithmic Amplifier C1 D1 V+ Q1 R1 ID Vin Q2 Vout = log Vin R2 2. Anti-logarithmic Amplifier R3 R1 Q2 Q1 Vout e Vin R1 Vref Vin R2 R3 67 3. Multiplication A Log. Amp. B Log. Amp. logA R R - R logB + Antilog. Amp. -log(AB) elog(AB)=AB V1 Vout = kV1V2 V2 4. Division V1 R V2 - R Vout V2 kV1Vout 0 R R 1 V V0ut 2 k V1 + 5. Square V Vout = kV2 6. Square Root R V1 R - Vout + 68 2 V1 kVout 0 R R V1 V0ut ( k )