Académique Documents
Professionnel Documents
Culture Documents
Operational Amplifier
3. Operational Amplifier
3-1
Overview
Terminology and history The Differential Amplifier The Ideal Operational Amplifier Analysis of Circuits Containing Ideal Operational Amplifiers
-
Inverting and Noninverting Amplifier Voltage Follower Summing Amplifier, Difference Amplifier, Instrumentation-Amplifier Configuration, Low-Pass Filter, Integrator Comparator, Schmitt Trigger, Astable Multivribator, Monostable Multivibrator
Amplifier Terminology Review Nonideal Operational Amplifiers Frequency Response and Bandwidth of Operational Amplifiers Large-Signal Limitations Slew Rate and Full-Power Bandwidth
3-2
3. Operational Amplifier
The operational amplifier or op amp is a fundamental building block of analog circuit design. The name operational amplifier originates from the use of this type of amplifier to perform specific electronic circuit functions or operations, such as scaling, summation, and integration, in analog computers. The A-709, introduced by Fairchild Semiconductors in 1965, was one of the first widely used general-purpose IC operational amplifiers. The now classic A-741 amplifier by Fairchild Semiconductors, which appeared in the late 1960s, is a robust amplifier with excellent characteristics for most general-purpose applications.
3. Operational Amplifier
3-3
+
v+
+
v-
+ vID -
+
A
+ vO
VCC
+
-V
EE
EE
In most applications, VCC 0 and VEE 0, and the voltages are often symmetric that is, 5V, 12V, 15V, and so on. These power supply voltages limit the output voltage range: -VEE vO VCC
3. Operational Amplifier
3-4
+ v id
+
A + vo
+ vid
+
A + vo (b)
(a)
But we must always remember that the power and ground terminals are always present in the implementation of a real circuit!
3. Operational Amplifier
3-5
RO
open-ciruit voltage gain or open-loop gain (v+ - v- ) = differential input signal voltage amplifier open-loop input resistance amplifier open-loop output resistance
3-6
vid = RID = RO =
3. Operational Amplifier
3. Operational Amplifier
3-7
vo = Avid vid = vs
RL RO + RL
RID RID + RS
RS + + vs vid RID + -
AV =
RO
vo RID RL =A RID + RS Ro + RL vs
vo
Av id
RL
vo = Avid
or
AV =
vo =A vid
Reminder: A was referred to as either the open-circuit voltage gain or open-loop gain of the amplifier and represented the maximum voltage gain available from the device.
3. Operational Amplifier
3-9
The case of infinite input resistance RID>>RS and zero output resistance RO<<RL corresponds to a fully mismatched condition.
For this mismatched case, the overall amplifier gain is independent of the source and load resistances, and multiple amplifier stages can be cascaded without concern for interaction between stages.
3. Operational Amplifier
3-10
R ID RO = 0 A
Infinite gain leads to the first of two central assumption in analyzing circuits containing op amps:
v id =
vo lim vid = 0 A A
(1) If A is infinite, then the input voltage vid will be forced to zero for any finite output voltage:
vID = 0
3. Operational Amplifier
3-11
(2) If the input resistance RID is infinite, then the two input currents i+ and i- will be forced to zero:
i+ = 0
and
i = 0
These two results, combined with Kirchhoffs voltage (KVL) and current laws (KCL), form the basis for analysis of ALL ideal op amp circuits.
3. Operational Amplifier
3-12
Infinite common-mode rejection Infinite power supply rejection Infinite output voltage range (not limited by VEE vO VCC) Infinite output current capability Infinite open-loop bandwidth Infinite slew-rate Zero output resistance Zero input-bias currents and offset currents Zero input-offset voltage
3-13
3. Operational Amplifier
R1
vo vs
+ Inverting amplifier-circuit
3. Operational Amplifier
3-14
R2
loop
i
s
R1
i-
vs
v id
+
vo
loop:
vs is R1 i2R2 vo = 0
node:
is = i +i2
3-15
3. Operational Amplifier
vs is R1 is R2 vo = 0
and because of virtual ground:
(1)
vid =v+ v =0 v+ =0
(2) (3)
is =
vs v vs = R1 R1 R2 vo = 0 R1
v =0
(2) in (1): vs
AV =
vo vs
AV =
R2 R1
v s is R1 + vid = 0 vo + i2 R2 vid = 0
v id = 0
(1) (2)
AV =
vo R = 2 vs R1
3. Operational Amplifier
3-17
is =
RIN =
vs R1 vs = R1 is
(2)
Virtual ground: the operational amplifier adjusts its output to whatever voltage is necessary to force v- to be zero. But: a virtual ground is NOT connected directly to ground, so there is no direct dc path for current to reach ground. ( virtual!)
3. Operational Amplifier
3-18
ROUT =
ix
3-19
3. Operational Amplifier
+
ix
+
vx
loop
loop: v x = i2 R2 + i1 R1
v x = i1 ( R2 + R1 ) i1 = 0 because v = 0
i1 = i2 because i = 0
( (
Assumption 2) Assumption 1)
ROUT = 0
3. Operational Amplifier
3-20
+ vs v id -
R2 i -
v1
R1
3. Operational Amplifier
3-21
R1 v1 = vo R1 + R2 vs vid = v1
assumption 1:
i+ = 0
vs
+ vid -
+
R2
vo
vid = 0 v s = v1 v o = v s
R1 + R 2 R1
i = 0
v 1 R1
AV =
vo R = 1+ 2 vs R1
Note that AV 1, because R1 and R2 are positive numbers for real resistors.
3. Operational Amplifier
3-22
RIN = because i+ = 0
To find the output resistance, a test current is applied to the output terminal and the source vs is set to 0.
ROUT =
vx ix
i+ + vid -
+
vx iR2 v 1 R1
ix
vx
virtual ground
3-23
+
+ vo -
vs
The unity-gain buffer, or voltage follower (as shown above) is a special case of the noninverting amplifier with R1 = and R2 = 0. Writing a loop equation:
vs vid = vo or vo = vs
vid = 0
AV = 1
3-24
3. Operational Amplifier
The ideal unity-gain buffer provides a gain of 1 with infinite input resistance and zero output resistance and therefore provides a tremendous impedance-level transformation while maintaining the level of the signal voltage. Many transducers represent high-source impedances and cannot supply any significant current to drive a load. The ideal unity-gain buffer, however, does not require any input current, yet can drive any desired load resistance without loss of signal voltage. Thus, the unity-gain buffer is found in many sensor and data acqusition applications.
3. Operational Amplifier
3-25
Voltage Gain AV
R2 R1
1+
R2 R1
R1
0
3. Operational Amplifier
3-26
v1 R1 i = 0 i1 =
vo =
v v2 i3 = o R2 R3 node : i3 = i1 + i2 i2 =
i1 v1 i2
R3 i3 ivo
R3 R v1 3 v2 R1 R2
R1
+
R2
io
RIN1 =
R1 1 v2 R2 v1 R1 + R2
i1 =
vo = v
R2 (v1 v ) = R1 + R2 v R2 v1 R1 R1 R1
v1 v R1
where
v = v+ .
v+ =
R2 v2 R1 + R2
R1 + R2 R2 R2 vo = v v1 2 R R + R R 1 2 1 1 R2 vo = (v1 v2 ) R 1
If R2=R1, then the circuit is sometimes called differential subtractor.
3-29
3. Operational Amplifier
We often need to amplify the difference in two signals but cannot use the difference amplifier presented on the last slide, because its input resistance is too low.
In such a case, we can combine two noninverting amplifiers with a difference amplifier to form the high-performance composite instrumentation amplifier.
As we will see, the instrumentation amplifier has a voltage gain that is equivalent to the product of the gains of the noninverting and difference amplifiers.
3. Operational Amplifier
3-30
+
1
va R R2
3
Difference Amplifier
i- = 0
i i 2R1
v1 3 vo
+
i v2
i- = 0 R2
R v2
vb
3. Operational Amplifier
3-31
R4 vo = R (va vb ) 3
and using the loop equation
v v2 where i = 1 2 R1
vo =
va vb = 2i( R1 + R2 )
The input resistance presented to both input sources is infinite because the input current to op- amps is zero, and the output resistance is forced to zero by the difference
we get
R4 R2 1 + (v1 v2 ) R3 R 1
3. Operational Amplifier
3-32
AV (s ) =
Vo (s ) Z (s ) = 2 Vs (s ) Z1 ( s )
Z2 (s)
Z 1(s) vs
+
Generalized inverting-amplifier configuration
3. Operational Amplifier
3-33
yield
Z2 (s)
1 sC R2 vo
R1
+
Inverting amplifier with frequency-dependent feedback
where H = 2 f H =
1 R2C
3. Operational Amplifier
3-34
-20 dB/dec
log f fH Frequency
3. Operational Amplifier
3-35
Integrator
This circuit provides an opportunity to explore op amp circuit analysis in the time domain. Input loop with virtual ground:
vs dv and ic = C o R dt i = 0 ic = is is =
1 = dv o RC vs d
with initial capacitor value
1 t vs ( ) d + vo (0 ) vo (t ) = RC 0
i v(t)
c
vo (0) = Vc (0)
is
R i-
vs (a)
vo (b)
vo
virtual ground
3. Operational Amplifier
3. Operational Amplifier
3-37
R1
+
v1
A, R , R O
ID
+
v2
(a)
+
v1
+
v2
(a) Inverting amplifier using an operational amplifier (b) Two-port representation of the overall amplifier
3. Operational Amplifier
3-38
+
v
S
V
REF
-V
EE
It is often useful to compare a voltage to a known reference level. This can be done electronically using the comparator circuit shown above.
3. Operational Amplifier
3-39
For input signals exceeding the reference voltage VREF, the output saturates at VCC; for input signals less than VREF, the output saturates a -VEE, as indicated in the voltage transfer characteristic shown on the right.
-V
V CC
v V
REF
EE
3. Operational Amplifier
3-40
REF
However, a problem occurs when high-speed comparators are used with noisy signals. As the input signal crosses the reference level, multiple transitions may occur due to the noise present on the input.
-V
EE
3. Operational Amplifier
3-41
In digital systems, we often want to detect this threshold crossing cleanly by generating only a single transition, and the Schmitttrigger circuit helps solve this problem. The Schmitt trigger uses a comparator whose reference voltage is derived from a voltage divider across the output (positive feedback).
3. Operational Amplifier
VCC
+
vO vS -V EE
( is defined as the fraction of the output voltage that is fed back from the output to the input and called the feedback factor)
3-42
R1 R1 + R2
V CC 0
vS
-V EE
3-43
Now consider the case for an input voltage decreasing from a high level, as in the figure on the right hand on this slide. The output is at -VEE and VREF=-VEE. As the input voltage crosses through VREF, the output switches state to VCC.
VCC
V EE 0 vS
-V
EE
The Schmitt trigger with positive feedback is an example of an circuit with two stable states: a bistable circuit,or bistable multivibrator.
3. Operational Amplifier
3-44
vS
Bistable Circuits
Ball balanced on top of fence is analogous to a Schmitt trigger with an output voltage of zero
3. Operational Amplifier
3-46
R1
v+
VCC
+
v+ -VEE vO -
3. Operational Amplifier
3-47
t'
CC
T1 t T2 -V
The output voltage switches periodically (oscillates) between the two output VCC and -VEE. Let us assume that the output has just switched to vo=VCC at t=0. The voltage at the inverting-input terminal of the op amp charges exponentially toward a final value of VCC with a time constant =RC. The voltage on the capacitor at the time of the output transition is vC=-VEE. Thus:
EE
vV
CC
To VCC
EE
To -V
EE
t RC
3. Operational Amplifier
3-48
T1 RC
V 1 + EE VCC T1 = RC ln 1
t' RC
3. Operational Amplifier
3-49
V 1 + CC VEE T2 = RC ln 1
T = T1 + T2
And finally for the common case of symmetrical power supply voltages VCC=VEE:
T = 2 RC ln
1+ 1
3. Operational Amplifier
3-50
R2
C4
C6
R 1 R
+
R
3
+
Square Wave Output Triangle Wave Output Sine Wave Output
C3
Astable Multivibrator
Integrator
3. Operational Amplifier
3-51
R D1 2
CC
+
R1 -V 3 R
EE
vO
3-52
R D1 v t R1 2
CC
+
vO -V 3 R
EE
Diode D1 has been added to the astable multivibrator to couple the triggering signal vT into the circuit, and clamping diode D2 has been added to limit the negative voltage excursion on capacitor C.
3. Operational Amplifier
3-53
vT <
diode D1is cut off. Capacitor C discharges through R until diode D2 turns on, clamping the capacitor voltage at one diode-drop VD below ground potential. In this condition, the differentialinput voltage vID to the comparator is given by:
R1 VEE = VEE R1 + R2
where =
then the output of the circuit will have one stable state.
R1 R1 + R2
3. Operational Amplifier
3-54
v V
CC
t T -VEE vV To VCC
CC
VD T T To -V r
EE
3-55
vc (t ) = VCC (VCC + VD )e
RC
where the time origin (t=0) coincides with the start of the trigger pulse. However, the comparator changes state when the capacitor voltage reaches +VCC. Thus, the pulse width T is given by
T RC
V 1+ D V T = RC ln CC 1
3-56
3. Operational Amplifier
Infinite common-mode rejection Infinite power supply rejection Infinite output voltage range (not limited by -VEE vO VCC) Infinite output current capability Infinite open-loop bandwidth Infinite slew-rate Zero output resistance Zero input-bias currents and offset currents Zero input-offset voltage
3-57
3. Operational Amplifier
We explore the effects of the removal of the various explicit and implicit assumptions mentioned at the beginning. Using the two-port model for the operational amplifier, we explore the effects of only one nonideal parameter at a time. Method of approach: Express the nonideal parameter Analyze the circuit by taking this nonideality into consideration
3. Operational Amplifier
3-58
A
GE
ROUT RIN
CMRR PSRR
fM
3-59
3. Operational Amplifier
+
v
+ id -
+ Av
id
vo R2 Feedback Network v i
1
vs
We will define the feedback factor which represents the fraction of the output voltage that is fed back from the output to the input.
3. Operational Amplifier
R1
3-60
vo = Av id = A(v s v1 )
because i- = 0
(1) (2)
v1 =
R1 vo = vo R1 + R2
Combining (2) and (1) and solving for vo yields the classic feedback amplifier voltage-gain formula
AV =
vid = vs v1 = vs vo =
3. Operational Amplifier
3-61
AV ,ideal =
and
AV =
GE =
FGE =
A 1 = 1 + A (1 + A )
for
A 1 + A
1 1 1 + A A
A >> 1
This gain error does not include the effect of resistor tolerances, which are an additional source of gain error.
3. Operational Amplifier
3-62
+ + -
RO
io i2
ix
v A v id R2
v1 ii1 R1
R1 vx = vx R1 + R2
3-63
3. Operational Amplifier
1 ROUT
ix 1 + A 1 = + vx RO R1 + R2
ROUT =
For
RO 1 + A Note that RO would be infinite if A were assumed to be infinite. This is the reason why we must assume A to be finite. ROUT
3. Operational Amplifier
3-64
RO (R1 + R2 ) 1 + A
RIN =
vx , ix
ix =
vx v1 RID
(1)
v
x
ix
+
v id
+ -
v R ID
+
Finite input resistance means i-= 0, but still i-<<i2, and therefore i1 i2.
Av i-
id
R2 i2 i1
v1 = i1 R1 = (i 2 + i ) R1 i 2 R1
and
v1
v1 =
A vx 1+ A
R1 vo = ( Av id ) = A (v x v1 ) R1 + R2
eq. (1)
R1
RIN =
vx = RID(1+ A) RIDA ix
3-65
3. Operational Amplifier
R IN =
v x i x R1 + v v = = R1 + ix ix ix
vx
vid
R ID
+
vo -
A v id
ix = i + i2 = ix =
v v vo + RID R2
and
v v + Av + RID R2
RIN
G1 =
i1 1 1+ A = + v1 R ID R2
v R2 R + R2 RIN = R1 + = R1 + RID 1 + ix 1 A 1+ A
3. Operational Amplifier
for largeRID
3-66
Voltage Gain
AV
R2 A R2 R1 R1 1 + A
A 1 R = 1+ 2 1+ A R1
Input Resistance
RIN
ROUT
R1 + RID
R2 R1 1+ A
RID (1 + A ) RID A
RO R O A 1 + A
Output Resistance
RO R O A 1 + A
3. Operational Amplifier
3-67
vic =
v1 + v2 2
which is amplified by the common-mode gain Acm to give an overall output voltage
where A = Adm is the differential-mode gain and vid=(v1 v2) the differentialmode input voltage. Solving vid and vic with respect to v1 and v2 , we obtain: and
v2 = vic
vid 2
3. Operational Amplifier
3-68
with
CMRR =
A Acm
CMRR dB = 20 log
A dB Acm
Generally, the sign of Acm in unknown ahead of time, and CMRR specifications represent a lower bound.
+
+
v1 v2 A, A cm + vo
v id
2
+
+ vo
v ic
vid
2
3. Operational Amplifier
3-69
When power supply voltages change due to long-term drift of the existence of noise on the supplies, the equivalent input-offset voltage VOS changes slightly. PSRR is a measure of the ability of the amplifier to reject these power supply variations.
PSRR values are similar to those of CMRR, with typical values in the range of 60 to 120 dB.
3. Operational Amplifier
3-70
+
+
v id
2
2R R ID
IC
vic
vid
2
2R
+ vo
IC
3. Operational Amplifier
3-71
2R
IC
R ID vic
+
RIN = RIC
2R
IC
IC
2R v id
+
IC
R ID 2R
RIN RID
3-72
When the inputs of the op amp are both zero, the output is not truly zero but is resting at some dc voltage level VO :
v O = VO
VOS =
VO A
3. Operational Amplifier
3-73
vO
R2 VO = 1+ R VOS 1
Because we do not know the sign of VOS, and the VOS specifications represent an upper bound, we have
R1
Offset voltage can be modeled by a voltage source VOS in series with the amplifier input
VO 1+
R2 VOS R1
3-74
3. Operational Amplifier
+
I B1 I B2 + vO
I OS = I B1 I B 2
The sign of IOS is also not known.
Operational amplifier with input bias currents modeled by current sources IB1 and IB2
3. Operational Amplifier
3-75
I OS I MAX
VO , 2 = I B 2 R2
R2
R1 VO = VO ,1 + VO , 2
R1 R 2 R1 + R 2
RB =
IB2
VO
+
RB IB1
VO = (I B 2 I B1 )R2 = I OS R2
VEE vO VCC
Commercial op amps contain circuits that restrict the magnitude of the current in the output terminal in order to limit power dissipation in the amplifier and to protect the amplifier from accidental short circuits. The output-current specification affects the size of load resistor and places lower limits on the value of the feedback resistors R1 and R2 . Total output current:
+
v
S
iO iF R2 i=0 RL i
vO
v vO v iO = iL + iF = O + = O RL R1 + R2 REQ
where
REQ = RL (R1 + R2 )
R1
which represents the output current constraint and helps us choose the size of the feedback resistors.
3. Operational Amplifier
A A(s) = o B = T s + B s + B
Ao is called open-loop gain at
dc
A dB 80
- 3 dB 20 log |A | o
60 - 20 dB/decade
B is called open-loop
bandwidth of the op amp
40 20
t B
T is called unity-gain
frequency at which
A( j ) = 1 (0 dB )
0 10
3
10
10
3. Operational Amplifier
3-78
A( j )
Ao B
T
for
A( j)
Rewriting this result:
T =1
= T
A( j ) T A( j ) f fT
This equation states that, for any frequency >>B, the product of the magnitude of amplifier gain and frequency has a constant value equal to the unity-gain frequency T. For this reason, the parameter T or fT is often referred to as gain-bandwidth product (GBW) of the amplifier. This important result is a property of single-pole amplifiers that can be represented by transfer functions given on the last slide.
3. Operational Amplifier
3-79
No n - In ver t in g Am p lifier R2 R1
In ver t in g Am p lifier
D c G a in
A V(0 ) = 1 +
A V(0 ) =
R2 R1
F eed b a ck F a ct o r
1 A V (0 )
1 1 + A V (0 )
B a n d wid t h R IC
fB = f
fB = f R1 RO 1 + A
In p u t R es is t a n ce O u t p u t R es is t a n ce
R ID (1 + A ) RO 1 + A
3. Operational Amplifier
3-80
However, the internal amplifier nodes all have an equivalent capacitance to ground, and only a finite amount of current is available to charge these capacitances.
Thus, there will be some limit to the rate of change on the various nodes. This limit is described by the slew-rate (SR) specification of the op amp. Typical values are:
0.1V/s SR 10V/s
For a given frequency, the slew rate limits the maximum amplitude of a signal that can be amplified without distortion.
3. Operational Amplifier
3-81
v o = V M sin t
dvo dt
= VM cost max = VM
max
0V
For no signal distortion, this maximum rate of change must be less than the slew SR rate:
VM SR or
VM
The full-power bandwidth fM is the highest frequency at which a full-scale signal amplitude VFS can be developed:
3. Operational Amplifier
fM
SR 2 V FS
3-82
Summary
Terminology and history The Differential Amplifier The Ideal Operational Amplifier Analysis of Circuits Containing Ideal Operational Amplifiers
-
Inverting and Noninverting Amplifier Voltage Follower Summing Amplifier, Difference Amplifier, Instrumentation-Amplifier Configuration, Low-Pass Filter, Integrator Comparator, Schmitt Trigger, Astable Multivribator, Monostable Multivibrator
Amplifier Terminology Review Nonideal Operational Amplifiers Frequency Response and Bandwidth of Operational Amplifiers Large-Signal Limitations Slew Rate and Full-Power Bandwidth
3-83
3. Operational Amplifier