Operational Amplifiers Microelectronic Circuits Fifth Edition SedraSmith 1

  • Slides: 39
Download presentation
Operational Amplifiers Microelectronic Circuits - Fifth Edition Sedra/Smith 1

Operational Amplifiers Microelectronic Circuits - Fifth Edition Sedra/Smith 1

Introduction (The first IC op amp was introduced in mid-1960 s. ) Why op

Introduction (The first IC op amp was introduced in mid-1960 s. ) Why op amp is so popular ? Ø We can do almost anything with op amp, such as, summation, subtraction, amplification, differentiation, integration, …. Ø Op amp has almost ideal characteristics. Ø Op amp works almost same as it is expected. What’s inside of op amp ? Operational Amplifier You should be able to design nontrivial circuit by the end of this chapter ! Chap. 9, complex but useful for high level engineer. 2. 1 The Ideal Op Amp 2. 1. 1 The Op-Amp Terminals No terminal of op-amp package is physically connected to ground. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 2

2. 1. 2 Function and Characteristics of the Ideal Op Amp • Op amp

2. 1. 2 Function and Characteristics of the Ideal Op Amp • Op amp is a differential-input single ended-output amplifier. • Op amp is a directly-coupled or dc amplifier. - useful, but can cause some serious practical problems A: open-loop gain, differential gain 2. 1. 3 Differential and Common-mode Signals TABLE 2. 1 Characteristic of the ideal Op Amp 1. Infinite input impedance 2. Zero output impedance 3. Zero common-mode gain or, equivalently, infinite common-mode rejection 4. Infinite open-loop gain A (How are we going to use it? ) (Feedback, closed loop) 5. Infinite bandwidth Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 3

2. 2 The Inverting Configuration Negative feedback Figure 2. 5 The inverting closed-loop configuration.

2. 2 The Inverting Configuration Negative feedback Figure 2. 5 The inverting closed-loop configuration. (Output is 180 o phase-shifted w. r. t the input. ) Figure 2. 12 The noninverting configuration. p. 77 Sect. 2. 3 (Output is in phase with the input. ) 2. 2. 1 The closed-Loop Gain Ideal op amp: open loop gain A = ∞ The terminal 1 and 2 are virtually shorted. The terminal 1 is a virtual ground ! The virtual ground is not an actual ground. Do not short the inverting input to ground to simplify analysis ! Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 4

Procedure to find output voltage υo. ① • υo will be 180 o phase-shifted

Procedure to find output voltage υo. ① • υo will be 180 o phase-shifted with respect to the input wave. Inverting amplifier ! • We can make the closed-loop gain as accurate as we want by selecting passive components of appropriate accuracy. • The closed-loop gain is (ideally) independent to the op-amp gain. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 5

2. 2. 2 The Effect of Finite Open-Loop Gain (A≠∞) ① EXAMPLE 2. 1

2. 2. 2 The Effect of Finite Open-Loop Gain (A≠∞) ① EXAMPLE 2. 1 p. 72 υ1 103 104 105 Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 6

The production spread in the value of open-loop gain A between opamp units of

The production spread in the value of open-loop gain A between opamp units of the same type (part number) is very wide. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 7

2. 2. 3 Input and output Resistance of Inverting Amplifier (not op-amp) What would

2. 2. 3 Input and output Resistance of Inverting Amplifier (not op-amp) What would happen if R 1 is too small ? R ① Therefore, input resistance R 1 should be much larger than output resistance of previous stage. Unfortunately, the internal resistance of most sensors are large. Ideal input resistance of inverting amplifier, not op-amp. For high gain (- R 2 / R 1), we need small R 1, otherwise, R 2 would be impractically large. Contradiction ! Solution: example 2. 2 Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 8

EXAMPLE 2. 2 p 73 (a) Find (b) Design the inverting amplifier with gain

EXAMPLE 2. 2 p 73 (a) Find (b) Design the inverting amplifier with gain of 100 and an input resistance 1 MΩ. (a) (b) input resistance 1 MΩ R 1=1 MΩ maximum resistance in practical circuits: 1 MΩ R 2, R 4=1 MΩ gain of -100 R 3=10. 2 k Ω (If we adopt a typical inverting amplifier and R 1=1 MΩ, R 2=100 MΩ, impractically large !) Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 9

Transresistance (transimpedance) amplifier and current amplifier • Photodiode (photodetector) generates electronhole pairs proportional to

Transresistance (transimpedance) amplifier and current amplifier • Photodiode (photodetector) generates electronhole pairs proportional to the incident light power. • Therefore, photodiode is a current source (I). • υo = - IR 2 means current input, voltage output ! Transresistance amplifier ! • Input resistance is R 2/A, very small. (Try this!) • Since the photodiode has capacitance inside, if a large resistor for high output voltage is used instead of op-amp, time constant would be large, which means it can not be used in high frequency circuit. • Transresistance amplifier is currently used as a part of receiver in high speed fiber-optic communication systems. Microelectronic Circuits - Fifth Edition Sedra/Smith Figure 2. 9 A current amplifier based on the circuit of Fig. 2. 8. The amplifier delivers its output current to R 4. It has a current gain of (1 + R 2/R 3), a zero input resistance, and an infinite output resistance. The load (R 4), however, must be floating (i. e. , neither of its two terminals can be connected to ground). Copyright 2004 by Oxford University Press, Inc. 10

2. 2. 3 An Important Application-The Weighted Summer. Figure 2. 10 A weighted summer.

2. 2. 3 An Important Application-The Weighted Summer. Figure 2. 10 A weighted summer. Mom, virtual grounds are extremely handy ! Figure 2. 11 A weighted summer capable of implementing summing coefficients of both signs. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 11

2. 3 The Non-inverting Configuration 2. 3. 1 The close-Loop Gain The inverting configuration.

2. 3 The Non-inverting Configuration 2. 3. 1 The close-Loop Gain The inverting configuration. Figure 2. 12 The noninverting configuration. Let’s derive the expression of the voltage gain. v Another derivation υo is divided to R 1 and R 2. Microelectronic Circuits - Fifth Edition Sedra/Smith v the Role of Negative feedback 1. Let υI increase. 2. υId is increased. 3. υo is increased. 4. Fraction of υo will be fed back to (-) terminal. 5. This feedback will be counteract the increase in υId , driving back to zero. – degenerative feedback Copyright 2004 by Oxford University Press, Inc. 12

2. 3. 2 Characteristics of the noninverting Configuration - Input and output signals have

2. 3. 2 Characteristics of the noninverting Configuration - Input and output signals have same phase. -noninverting. - Input impedance is infinite. - output impedance is zero. 2. 3. 3 Effect of Finite Open-Loop Gain - Follow the procedure used for inverting amplifier. - non-inverting amplifier - denominators are identical ! How come? - inverting amplifier identical negative feedback (think about 0 V input !) - numerators are different ! How come? different amount of feedback (closed loop gain) In order to minimize the effect of the finite open-loop gain, Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 13

2. 3. 4 The Voltage Follower - Input impedance is infinite. - very desirable

2. 3. 4 The Voltage Follower - Input impedance is infinite. - very desirable feature. - Buffer Amplifier ! to connect a source with a high impedance to a low-impedance load Usually, gain = 1 (Sect. 1. 5) Why do we need this? - 100% feedback ! - Used as impedance transformer or power amplifier. - Elegant in simplicity ! The unity-gain buffer or voltage follower. Microelectronic Circuits - Fifth Edition equivalent circuit model. Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 14

2. 4 Difference (differential) Amplifiers (very important application) Common mode input differential gain differential

2. 4 Difference (differential) Amplifiers (very important application) Common mode input differential gain differential input Common mode gain≈0 • The efficacy of a differential amp is measured by the degree of its rejection of common-mode signals in preference to differential input signals. Transducer (sensor) Noise (Electromagnetic Interference, EMI) from motor, spark, lightning… We want to amplify the sensor output only. (we want to reject common-mode noise signal. ) 2. 4. 1 A single Op-Amp Difference Amplifier Gain of the inverting amplifier = -R 2/R 1 Gain of the non-inverting amplifier = 1+R 2/R 1 Microelectronic Circuits - Fifth Edition Sedra/Smith Combine these two amp. Independently adjustable or matched gain Copyright 2004 by Oxford University Press, Inc. 15

Figure 2. 16 A difference amplifier. To make gain R 2/R 1, Superposition !

Figure 2. 16 A difference amplifier. To make gain R 2/R 1, Superposition ! For easier matching, R 3=R 1, R 4=R 2 Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 16

Differential input Resistance Rid Drawback 1: for large gain, very small R 1 is

Differential input Resistance Rid Drawback 1: for large gain, very small R 1 is required. Drawback 2: to vary the gain, two resistances should be changed. 2. 4. 2 A Superior Circuit-The Instrumentation Amplifier The Goal: High differential gain with high input resistance and easy gain control HOW? Voltage follower with gain + Difference amplifier Disadvantages 1: in the first stage, common-mode gain = differential gain may causes saturation of op-amp. 2: in the first stage, two amplifiers have to be perfectly matched. 3: to vary the gain, two resistances (two R 1) should be changed. There is a simple solution ! Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 17

Instrumentation Amplifier 1 2 6 4 5 8 7 3 9 1 Microelectronic Circuits

Instrumentation Amplifier 1 2 6 4 5 8 7 3 9 1 Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 18

EXAMPLE 2. 3 Design The instrumentation amplifier circuit to provide a gain that can

EXAMPLE 2. 3 Design The instrumentation amplifier circuit to provide a gain that can be varied over the range of 2 to 1000 utilizing a 100 kΩ variable resistance ( a potentiometer or “pot” for short). (Sol. ) - It is usually preferable to obtain all the required gain in the first stage. (Low Noise) - The second stage (difference amp) is usually designed for a gain of 1. - We select all the second-stage resistors to be 10 kΩ, practically convenient value. Microelectronic Circuits - Fifth Edition Sedra/Smith R 1 f =100. 2 Ω, R 1 f =100 Ω, 1% R 2 = 50. 050 kΩ, R 2 = 49. 9 kΩ, 1% Copyright 2004 by Oxford University Press, Inc. 19

2. 5 Effect of Finite Open-Loop Gain and Bandwidth on Circuit Performance A circuit

2. 5 Effect of Finite Open-Loop Gain and Bandwidth on Circuit Performance A circuit designer has to be thoroughly familiar with the characteristics of practical op amps and the effects of such characteristics on the performance of op-amp circuits. 2. 5. 1 Frequency Dependence of the Open-Loop Gain - Internally compensated op amps are unit that have a network (usually a single capacitor) within the IC chip. - Capacitor’s function is to cause the op-amp gain to have the STC low-pass response. - This process of modifying the open-loop gain is termed to frequency compensation. - The purpose of frequency compensation is to ensure that the op-amp will be stable (as oppose to oscillation: Ch. 8). Figure 2. 22 Open-loop gain of a typical generalpurpose internally compensated op amp. - ft = ωt/2π is specified on the data sheet as unity-gain band width. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 20

- If ft is known, one can easily determine the magnitude of the op-amp

- If ft is known, one can easily determine the magnitude of the op-amp gain at a given frequency when f >> fb. The production spread in the value of ft between opamp units of the same type (part number) is much smaller than that of A 0 and fb. ft is preferred as a specification parameter. - An op amp having this -6 d. B/octave (= - 20 d. B/decade) gain roll off is said to have a single-pole model. - Since this single pole dominates the amplifier frequency response, it is called a dominant pole. (for more on poles and zeros, refer to Appendix E. ) 2. 5. 2 Frequency Dependence of the Closed-Loop Gain The effect of limited op-amp gain and bandwidth on the closed-loop transfer functions. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 21

Low-Pass STC Network ! EXAMPLE 2. 4 ft = 1 MHz, find 3 -d.

Low-Pass STC Network ! EXAMPLE 2. 4 ft = 1 MHz, find 3 -d. B frequency of closed-loop amp with gain of 1000, 10, 1, -10, -1000 Gain-bandwidth product = 1000 V/V-k. Hz = 60 d. B-k. Hz Microelectronic Circuits - Fifth Edition Sedra/Smith Non-inverting amplifier Copyright 2004 by Oxford University Press, Inc. 22

2. 6 Large-signal Operation of Op Amps 2. 6. 1 Output Voltage Saturation Rated

2. 6 Large-signal Operation of Op Amps 2. 6. 1 Output Voltage Saturation Rated output voltage (output saturation voltage) = ± L (L=VDD – α V ) 2. 6. 2 Output Current Limits For example, maximum output current of 741 is ± 20 m. A. EXAMPLE 2. 5 Output saturation voltage = ± 13 V, output current limits = ± 20 m. A (a) Output voltage for Vp =1 V, RL= 1 kΩ υo/ υI = (1+R 2/R 1): Vop = 10 V, Iop = 10 m. A (b) Output voltage for Vp =1. 5 V, RL= 1 kΩ Vop = 15 V, Iop = 14. 3 m. A (c) for RL= 1 kΩ, Vpmax = ? for undistorted output. 13/10 = 1. 3 V ( 14. 3 m. A) (d) for Vp =1. 5 V, RLmin = ? for undistorted output. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 23

2. 6. 3 Slew Rate - Another nonlinear distortion due to the large output

2. 6. 3 Slew Rate - Another nonlinear distortion due to the large output signal Slew Rate : maximum rate of change possible at the output of a real op amp Why this happens ? : Chap. 9 SR is distinct from the finite op-amp bandwidth. - The limited bandwidth : linear, no distortion, but reduced gain at higher frequency. - The limited Slew-rate : nonlinear distortion, even at low frequency when output is too large. When V is sufficiently small, the output can be the exponentially rising ramp. This is a low-pass STC response. Output from capacitor of RC network ! Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 24

2. 6. 4 Full-Power Bandwidth Figure 2. 27 Effect of slew-rate limiting on output

2. 6. 4 Full-Power Bandwidth Figure 2. 27 Effect of slew-rate limiting on output sinusoidal waveforms. At which an output sinusoid with amplitude equal to the rated output voltage of the op amp begins to show distortion due to slew-rate limiting. 2. 7 DC Imperfection 2. 7. 1 Offset Voltage Op amps are direct-coupled devices. They are prone to dc problems. • With inputs being zero, the amplifier output rests at some dc voltage level instead of zero. The equivalent dc input offset voltage is Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 25

R 1 =1. 2 kΩ, R 2 = 1 MΩ, To include effect of

R 1 =1. 2 kΩ, R 2 = 1 MΩ, To include effect of offset voltage, υO = ? If υid =0, When an input signal is applied to the amplifier, the corresponding signal output will be superimposed on the 2. 5 V dc. Then the allowable signal swing at the output will be reduced. If signal is dc, we would not know where the output is due to VOS or the signal. (another interpretation of CMMR) • * To overcome dc offset problem Thus, CMRR is a measure of how total offset voltage v. OS changes from its dc value VOS when common-mode voltage is applied. * The gain will fall off at the low- frequency. Figure 2. 28 Circuit model for an op amp with input offset voltage VOS. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 26

2. 7. 2 Input Bias and Offset Current In order for the op amp

2. 7. 2 Input Bias and Offset Current In order for the op amp to operate, its two input terminals have to be supplied with current, termed the input bias current. Why? * To find the dc output voltage of the closed-loop amp due to the input bias current Bias currents ( base currents in BJTs or gate currents in MOSFETs or JFETs) are similar in value with directions depending on internal amplifier circuit type. How to reduce the dc output voltage due to the input bias current Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 27

Conclusion: To minimize the effect of the input bias current, Place in the positive

Conclusion: To minimize the effect of the input bias current, Place in the positive lead a resistance equal to the dc resistance seen by the inverting terminal. • There should be a continuous dc path between each input terminal and ground. This circuit will not work. Microelectronic Circuits - Fifth Edition Sedra/Smith This circuit will work. Copyright 2004 by Oxford University Press, Inc. 28

2. 8 Integrators and Differentiators 2. 8. 1 The Inverting Configuration with General Impedances

2. 8 Integrators and Differentiators 2. 8. 1 The Inverting Configuration with General Impedances Example 2. 6, p 106 Sol) * Is this STC circuit? 40 d. B = 100 V/V * dc gain=? , 3 d. B frequency=? * Design a circuit of dc gain=40 d. B, 3 d. B frequency=1 k. Hz, input resistance = 1 kΩ * Frequency of gain=1 and phase at this frequency Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 29

2. 8. 2 The inverting Integrator Figure 2. 39 (a) The Miller or inverting

2. 8. 2 The inverting Integrator Figure 2. 39 (a) The Miller or inverting integrator. (b) Frequency response of the integrator. CR : integrator time-constant. * An integrator behaves as a low-pass filter with a corner frequency of zero. * At f=0, the magnitude of the integrator transfer function is infinite and the op amp is operating with an open loop. * Any tiny dc component input signal will theoretically produce an infinite output ! Serious problem !!! * In practice, the output saturates at power supply voltage. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 30

* Deleterious effect from the presence of the op-amp input dc offset voltage *

* Deleterious effect from the presence of the op-amp input dc offset voltage * Deleterious effect from the presence of the op-amp input dc offset current ( R is added in (+) to reduce the effect of bias current. ) Place in the positive lead a resistance equal to the dc resistance seen by the inverting terminal. Op amp will saturate very soon !!! The dc offset current produces a similar problem !! Solution Let’s provide a dc current (VOS and IOS) path ! Low RF is better for dc of High RF is better for ideal integrator. Selecting a value for RF present the designer with a trade-off between dc performance and signal performance. (example 2. 7, p 110) Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 31

EXAMPLE 2. 7 Find the output by the Miller integrator due to Sol) Constant

EXAMPLE 2. 7 Find the output by the Miller integrator due to Sol) Constant current (1 V/10 kΩ= 0. 1 m. A) to capacitor. Important Applications: square-wave input to triangular output Exercise 2. 27, (Function Generator !!), : Active Filter !! (Ch. 12) Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 32

2. 8. 3 The Op-Amp Differentiator * Differentiator is an STC highpass filter with

2. 8. 3 The Op-Amp Differentiator * Differentiator is an STC highpass filter with a corner frequency at infinity. * Differentiator is a noise magnifier. Input Output * Spikes in output could cause EMI problems. * A small resistor in series with the capacitor might solve this problem, but the circuit becomes non-ideal differentiator. * Due to the EMI and stability (Ch. 8) problem, differentiator is seldom used in practice. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 33

2. 9 The SPICE Op-Amp Model and Simulation Examples Figure 2. 45 A linear

2. 9 The SPICE Op-Amp Model and Simulation Examples Figure 2. 45 A linear macromodel used to model the finite gain and bandwidth of an internally compensated op amp. The differential gain : A 0 d of the voltage-controlled voltage source Ed Frequency response : Rb-Cb low-pass filter with corner frequency Eb with gain of 1 is used to isolate the low-pass filter from any load at output. Figure 2. 46 A comprehensive linear macromodel of an internally compensated op amp. Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 34

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 35

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 35

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 36

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 36

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 37

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 37

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 38

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. 38

Dual In-line Package Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University

Dual In-line Package Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc. Small Out-line Package 39