Professional Documents
Culture Documents
Bab 5
Bab 5
Bab 5
Operational
Amplifiers
He who will not reason is a bigot; he who cannot is a fool; and he who
5
dares not is a slave.
—Lord Byron
173
174 Chapter 5 Operational Amplifiers
Learning Objectives
By using the information and exercises in this chapter you will be
able to:
1. Comprehend how real operational amplifiers (op amps) function.
2. Understand that ideal op amps function nearly identically to
real ones and that they can be used to model them effectively
in a variety of circuit applications.
3. Realize how the basic inverting op amp is the workhorse of the
op amp family.
4. Use the inverting op amp to create summers.
5. Use the op amp to create a difference amplifier.
6. Explain how to cascade a variety of op amp circuits.
5.1 Introduction
The term operational amplifier was Having learned the basic la ws and theorems for circuit analysis, we are
introduced in 1947 by John Ragazzini now ready to study an acti ve circuit element of paramount importance:
and his colleagues, in their work on the operational amplifier, or op amp for short. The op amp is a versatile
analog computers for the National circuit building block.
Defense Research Council after World
War II. The first op amps used vacuum The op amp is an electronic unit that behaves like a voltage-controlled
tubes rather than transistors. voltage source.
An op amp may also be regarded as a It can also be used in making a v oltage- or current -controlled current
voltage amplifier with very high gain. source. An op amp can sum signals, amplify a signal, inte grate it, or
differentiate it. The ability of the op amp to perform these mathematical
operations is the reason it is called an operational amplifier. It is also the
reason for the widespread use of op amps in analog design. Op amps are
popular in practical circuit designs because the y are versatile, inexpen-
sive, easy to use, and fun to work with.
We begin by discussing the ideal op amp and later consider the non-
ideal op amp. Using nodal analysis as a tool, we consider ideal op amp
circuits such as the in verter, voltage follower, summer, and dif ference
amplifier. We will also analyze op amp circuits with PSpice. Finally, we
learn how an op amp is used in digital-to-analog converters and instru-
mentation amplifiers.
to treat the op amp as a circuit b uilding block and simply study what
takes place at its terminals.
Op amps are commercially a vailable in integrated circuit packages
in several forms. Figure 5.1 sho ws a typical op amp package. A typical
one is the eight-pin dual in-line package (or DIP), shown in Fig. 5.2(a).
Pin or terminal 8 is unused, and terminals 1 and 5 are of little concern to
us. The five important terminals are:
1. The inverting input, pin 2. Figure 5.1
2. The noninverting input, pin 3. A typical operational amplifier.
3. The output, pin 6. © McGraw-Hill Education/Mark Dierker,
4. The positive power supply V +, pin 7. photographer
5. The negative power supply V −, pin 4. The pin diagram in Fig. 5.2(a)
The circuit symbol for the op amp is the triangle in Fig. 5.2(b); as sho
wn, corresponds to the 741 general-
the op amp has tw o inputs and one output. The inputs are mark ed with purpose op amp made by Fairchild
minus (−) and plus (+) to specify inverting and noninverting inputs, re- Semiconductor.
spectively. An input applied to the noninverting terminal will appear with
the same polarity at the output, while an input applied to the in verting
terminal will appear inverted at the output.
As an active element, the op amp must be powered by a voltage sup-
ply as typically shown in Fig. 5.3. Although the power supplies are often
ignored in op amp circuit diagrams for the sake of simplicity, the power
supply currents must not be overlooked. By KCL,
io = i1 + i2 + i+ + i− (5.1)
The equivalent circuit model of an op amp is shown in Fig. 5.4. The
output section consists of a v oltage-controlled source in series with the
V+
7
v1
– Ro
i+ + vd Ri vo
i1 VCC +
7 io + Avd
2 – –
6
3 +
4 v2
i2 VCC
i–
–
output resistance Ro. It is evident from Fig. 5.4 that the input resistance
Ri is the Thevenin equivalent resistance seen at the input terminals, while
the output resistance Ro is the Thevenin equivalent resistance seen at the
output. The differential input voltage vd is given by
vd = v2 − v1 (5.2)
where v1 is the voltage between the inverting terminal and ground and v2
is the voltage between the noninverting terminal and ground. The op amp
senses the difference between the two inputs, multiplies it by the gain A,
and causes the resulting voltage to appear at the output. Thus, the output
vo is given by
Sometimes, voltage gain is expressed A is called the open-loop voltage gain because it is the g ain of the op
in decibels (dB), as discussed in amp without any external feedback from output to input.Table 5.1 shows
Chapter 14. typical values of voltage gain A, input resistance Ri, output resistance Ro,
A dB = 20 log10 A and supply voltage VCC.
The concept of feedback is crucial to our understanding of op amp
circuits. A negative feedback is achieved when the output is fed back to
the inverting terminal of the op amp. As Example 5.1 shows, when there
is a feedback path from output to input, the ratio of the output voltage to
the input voltage is called the closed-loop gain. As a result of the ne ga-
tive feedback, it can be shown that the closed-loop gain is almost insensi-
tive to the open-loop gain A of the op amp. For this reason, op amps are
used in circuits with feedback paths.
A practical limitation of the op amp is that the magnitude of its
output voltage cannot e xceed |VCC |. In other w ords, the output v oltage
is dependent on and is limited by the po wer supply voltage. Figure 5.5
illustrates that the op amp can operate in three modes, depending on the
differential input voltage vd :
1. Positive saturation, vo = VCC.
2. Linear region, −VCC ≤ vo = Avd ≤ VCC.
3. Negative saturation, vo = −VCC.
If we attempt to increase vd beyond the linear range, the op amp becomes
saturated and yields vo = VCC or vo = −VCC. Throughout this book, we
vo
will assume that our op amps operate in the linear mode.This means that
the output voltage is restricted by
Positive saturation
−VCC ≤ vo ≤ VCC (5.4)
VCC
TABLE 5.1
0 vd
Typical ranges for op amp parameters.
–VCC
Negative saturation Parameter Typical range Ideal values
Open-loop gain, A 5
10 to 10 8
`
Input resistance, Ri 105 to 1013 Ω `Ω
Figure 5.5 Output resistance, Ro 10 to 100 Ω 0Ω
Op amp output voltage vo as a function of Supply voltage, VCC 5 to 24 V
the differential input voltage vd.
5.2 Operational Amplifiers 177
Although we shall al ways operate the op amp in the linear re gion, the Throughout this book, we assume that
possibility of saturation must be borne in mind when one designs with an op amp operates in the linear range.
op amps, to a void designing op amp circuits that will not w ork in the Keep in mind the voltage constraint on
laboratory. the op amp in this mode.
A 741 op amp has an open-loop voltage gain of 2 × 105, input resistance Example 5.1
of 2 MΩ, and output resistance of 50 Ω. The op amp is used in the circuit
of Fig. 5.6(a). Find the closed-loop gain vo∕vs. Determine current i when
vs = 2 V.
20 kΩ
20 kΩ i
10 kΩ v1 Ro = 50 Ω v
10 kΩ 1 i o
– 1 O
741 – i
+ O + +
vs + vs + vd Ri = 2 MΩ Avd
– vo – –
+
–
(a) (b)
Figure 5.6
For Example 5.1: (a) original circuit, (b) the equivalent circuit.
Solution:
Using the op amp model in Fig. 5.4, we obtain the equivalent circuit of
Fig. 5.6(a) as shown in Fig. 5.6(b). We now solve the circuit in Fig. 5.6(b)
by using nodal analysis. At node 1, KCL gives
vs − v1
________ v1 v1 − vo
= __________ + _______
10 × 10 3
2000 × 10 3
20 × 103
Multiplying through by 2000 × 103, we obtain
or
2vs + vo
2vs ≃ 3v1 − vo ⇒ v1 = _______ (5.1.1)
3
At node O,
v1 − vo
________ vo − Avd
= _______
20 × 103 50
Practice Problem 5.1 If the same 741 op amp in Example 5.1 is used in the circuit of Fig. 5.7,
calculate the closed-loop gain vo∕vs. Find io when vs = 1 V.
io
+
741 Answer: 9.00041, 657 μA.
–
vs +
– 40 kΩ +
5 kΩ 20 kΩ vo
– 5.3 Ideal Op Amp
To facilitate the understanding of op amp circuits, we will assume ideal
Figure 5.7 op amps. An op amp is ideal if it has the following characteristics:
For Practice Prob. 5.1. 1. Infinite open-loop gain, A ≃ ∞.
2. Infinite input resistance, Ri ≃ ∞.
3. Zero output resistance, Ro ≃ 0.
Figure 5.8
Ideal op amp model.
This is due to infinite input resistance. An infinite resistance be-
tween the input terminals implies that an open circuit e xists there
and current cannot enter the op amp. But the output current is not
necessarily zero according to Eq. (5.1).
2. The voltage across the input terminals is equal to zero; i.e.,
vd = v2 − v1 = 0 (5.6)
or
v1 = v2 (5.7)
The two characteristics can be
exploited by noting that for voltage
calculations the input port behaves as Thus, an ideal op amp has zero current into its tw o input terminals
a short circuit, while for current calcula- and the v oltage between the tw o input terminals is equal to zero.
tions the input port behaves as an Equations (5.5) and (5.7) are e xtremely important and should be
open circuit. regarded as the key handles to analyzing op amp circuits.
5.4 Inverting Amplifier 179
Rework Practice Prob. 5.1 using the ideal op amp model. Example 5.2
Solution: i2 = 0
We may replace the op amp in Fig. 5.7 by its equivalentmodel in Fig. 5.9 v2
+
as we did in Example 5.1. But we do not really need to do this. We just v1
– i0
need to keep Eqs. (5.5) and (5.7) in mind as we analyze the circuit in i1 = 0
Fig. 5.7. Thus, the Fig. 5.7 circuit is presented as in Fig. 5.9. Notice that
v2 = vs (5.2.1) vs +
– 40 kΩ O
+
Since i1 = 0, the 40 - and 5 -kΩ resistors are in series; the same current 5 kΩ
vo 20 kΩ
flows through them. v1 is the voltage across the 5 -kΩ resistor. Hence, –
using the voltage division principle,
5 v = __ vo
v1 = _____ (5.2.2) Figure 5.9
5 + 40 o 9
For Example 5.2.
According to Eq. (5.7),
v2 = v1 (5.2.3)
Substituting Eqs. (5.2.1) and (5.2.2) into Eq. (5.2.3) yields the closed -
loop gain,
v vo
vs = __o ⇒ __ vs = 9 (5.2.4)
9
which is very close to the value of 9.00041 obtained with the nonideal
model in Practice Prob. 5.1. This shows that negligibly small error re -
sults from assuming ideal op amp characteristics.
At node O,
vo v
io = ______ + ___o mA (5.2.5)
40 + 5 20
From Eq. (5.2.4), when vs = 1 V, vo = 9 V. Substituting for vo = 9 V in
Eq. (5.2.5) produces
Repeat Example 5.1 using the ideal op amp model. Practice Problem 5.2
Answer: −2, 200 μA.
i2
Rf
i1 0A
R1 v1
5.4 Inverting Amplifier 1 – –
0V
In this and the following sections, we consider some useful op amp cir - vi + v2 + +
– +
cuits that often serv e as modules for designing more comple x circuits. vo
The first of such op amp circuits is the inverting amplifier shown in –
Fig. 5.10. In this circuit, the nonin verting input is grounded, vi is con -
nected to the in verting input through R1, and the feedback resistor Rf is Figure 5.10
connected between the inverting input and output. Our goal is to obtain The inverting amplifier.
180 Chapter 5 Operational Amplifiers
the relationship between the input v oltage vi and the output v oltage vo.
Applying KCL at node 1,
vi − v1 ______
______ v − vo
i 1 = i2 ⇒ = 1 (5.8)
Rl Rf
A key feature of the inverting amplifier But v1 = v2 = 0 for an ideal op amp, since the nonin verting terminal is
is that both the input signal and the grounded. Hence,
feedback are applied at the inverting vi
__ v
terminal of the op amp. = − __o
Rl Rf
or
Rf
vo = − __vi
Rl (5.9)
Note there are two types of gains: The
one here is the closed-loop voltage The voltage gain is Av = vo∕vi = −Rf∕R1. The designation of the circuit in
gain Av , while the op amp itself has an Fig. 5.10 as an inverter arises from the negative sign. Thus,
open-loop voltage gain A.
An inverting amplifier reverses the polarity of the input signal while am-
+ + plifying it.
– Rf
vi R1 + v vo
R1 i
– –
Notice that the g ain is the feedback resistance di vided by the in -
put resistance which means that the gain depends only on the external
Figure 5.11 elements connected to the op amp. In view of Eq. (5.9), an equivalent
An equivalent circuit for the inverter in circuit for the inverting amplifier is shown in Fig. 5.11. The inverting
Fig. 5.10. amplifier is used, for example, in a current-to-voltage converter.
Example 5.3 Refer to the op amp in Fig. 5.12. If vi = 0.5 V, calculate: (a) the output
voltage vo, and (b) the current in the 10-kΩ resistor.
25 kΩ
Solution:
10 kΩ (a) Using Eq. (5.9),
–
+
+ vo
__ Rf
__ 25
__
vi +
– vo vi = − Rl = − 10 = −2.5
–
vo = −2.5vi = −2.5(0.5) = −1.25 V
Practice Problem 5.3 Find the output of the op amp circuit shown in Fig. 5.13. Calculate the
280 kΩ current through the feedback resistor.
Figure 5.13
For Practice Prob. 5.3.
5.5 Noninverting Amplifier 181
Two kinds of current -to-voltage converters (also known as transresis- Practice Problem 5.4
tance amplifiers) are shown in Fig. 5.15.
(a) Show that for the converter in Fig. 5.15(a),
vo
__ = −R
is
(b) Show that for the converter in Fig. 5.15(b),
( Rl R2 )
vo
__ R R
= −Rl 1 + ___3 + ___3
is
Answer: Proof.
R R1 R2
– R3
+ –
+
+ +
is vo is vo
– –
(a) (b)
Figure 5.15
For Practice Prob. 5.4. i2 Rf
i1
R1 v1
–
+
v2 +
vi +
+ vo
-–
5.5 Noninverting Amplifier –
between the ground and the in verting terminal. We are interested in the
output voltage and the voltage gain. Application of KCL at the inverting
terminal gives
v − vo
0 − v1 ______
______
i1 = i2 ⇒ = 1 (5.10)
Rl Rf
But v1 = v2 = vi. Equation (5.10) becomes
v − vo
−vi ______
___ = i
Rl Rf
or
vo = (1 + __
R) i
Rf
v (5.11)
l
The voltage gain is Av = vo∕vi = 1 + Rf ∕R1, which does not have a nega-
tive sign. Thus, the output has the same polarity as the input.
–
vo = vi (5.12)
+
First + + Second
stage vi vo stage Such a circuit has a ve ry high input impedance and is therefore use -
– –
ful as an intermediate-stage (or buffer) amplifier to isolate one circuit
Figure 5.18 from another, as portrayed in Fig. 5.18. The v oltage follo wer mini -
A voltage follower used to isolate two mizes interaction between the tw o stages and eliminates interstage
cascaded stages of a circuit. loading.
Example 5.3 For the op amp circuit in Fig. 5.19, calculate the output voltage vo.
Solution:
We may solve this in two ways: using superposition and using nodal
analysis.
where vo1 is due to the 6-V voltage source, and vo2 is due to the 4-V input. 10 kΩ
To get vo1, we set the 4-V source equal to zero. Under this condition, the
circuit becomes an inverter. Hence Eq. (5.9) gives 4 kΩ a
–
b +
+
10 (6) = −15 V
vo1 = −__
4 6V +
– 4V + vo
–
–
To get vo2, we set the 6 -V source equal to zero. The circuit becomes a
noninverting amplifier so that Eq. (5.11) applies.
Figure 5.19
vo2 = (1 + __
4)
10 4 = 14 V For Example 5.5.
Thus,
9V + 8 kΩ 5 kΩ vo
–
2 kΩ
–
that the current entering each op amp input is zero. Applying KCL at
node a gives
i = i1 + i2 + i3 (5.13)
But
v1 − va v2 − va
i1 = ______ , i2 = ______
R1 R2
(5.14)
− v
v______ v − vo
i3 = 3 a
, i = ______
a
R3 Rf
We note that va = 0 and substitute Eq. (5.14) into Eq. (5.13). We get
( R1 R3 )
Rf Rf Rf
vo = − ___ v1 + ___ v2 + ___ v3 (5.15)
R2
5 kΩ 10 kΩ
a io
–
+
2.5 kΩ
2V + b
+
–
2 kΩ vo
+ 1V –
–
Figure 5.22
For Example 5.6.
Solution:
This is a summer with two inputs. Using Eq. (5.15) gives
vo = −[__
2.5 ]
10 (2) + ___
10 (1) = −(4 + 4) = −8 V
5
The current io is the sum of the currents through the 10- and 2-kΩ resis-
tors. Both of these resistors have voltage vo = −8 V across them, since
va = vb = 0. Hence,
vo − 0 ______
v −0
io = ______ + o mA = −0.8 − 4 = −4.8 mA
10 2
5.7 Difference Amplifier 185
Find vo and io in the op amp circuit shown in Fig. 5.23. Practice Problem 5.6
20 kΩ 8 kΩ
10 kΩ io
–
6 kΩ +
1.5 V +
– +
2V +
– 4 kΩ vo
+ 1.2 V
– –
Figure 5.23
For Practice Prob. 5.6.
Consider the op amp circuit sho wn in Fig. 5.24. K eep in mind that
zero currents enter the op amp terminals. Applying KCL to node a,
v1 − va ______
______ v − vo
= a
R1 R2
or
( R1 )
R R
vo = ___2 + 1 va − ___2 v1 (5.16)
R1
R2
R1 0
va
–
R3 0
vb
+ +
v1 +
– + v vo
– 2 R4
–
Figure 5.24
Difference amplifier.
186 Chapter 5 Operational Amplifiers
( R1 ) R3 + R4
R2
___ R4 R
vo = + 1 _______ v2 − ___2 v1
R1
or
R2(1 + R1∕R2) R
vo = ____________v2 − ___2 v1 (5.18)
R1(1 + R3∕R4) R1
Since a difference amplifier must reject a signal common to the two in-
puts, the amplifier must have the property that vo = 0 when v1 = v2. This
property exists when
R
R1 ___
___ = 3 (5.19)
R2 R4
Thus, when the op amp circuit is a dif ference amplifier, Eq. (5.18)
becomes
R
vo = ___2 (v2 − v1) (5.20)
R1
If R2 = R1 and R3 = R4, the dif ference amplifier becomes a subtractor,
with the output
vo = v2 − v1 (5.21)
Example 5.7 Design an op amp circuit with inputs v1 and v2 such that
vo = −5v1 + 3v2.
Solution:
The circuit requires that
Design 1 If we desire to use only one op amp, we can use the op amp
circuit of Fig. 5.24. Comparing Eq. (5.7.1) with Eq. (5.18), we see
R2 = 5
___ ⇒ R2 = 5R1 (5.7.2)
R1
5.7 Difference Amplifier 187
Also,
6
__
(1 + R1∕R2) 3
5 __________ = 3 ⇒ _________
5
= __
(1 + R3∕R4) 1 + R3∕R4 5
or
R
2 = 1 + ___3 ⇒ R3 = R4 (5.7.3)
R4
If we choose R1 = 10 k Ω and R3 = 20 k Ω, then R2 = 50 k Ω and
R4 = 20 kΩ.
R1 ( R4 )
R 2R
vo = ___2 1 + ____3 (v2 − v1)
Solution:
We recognize that the amplifier A3 in Fig. 5.26 is a difference amplifier.
Thus, from Eq. (5.20),
R
vo = ___2 (vo2 − vo1) (5.8.1)
R1
Since the op amps A1 and A2 draw no current, current i flows through
the three resistors as though they were in series. Hence,
vo1 − vo2 = i(R3 + R4 + R3) = i(2R3 + R4) (5.8.2)
188 Chapter 5 Operational Amplifiers
+ vo1 R1 R2
v1 + – A1
–
R3
0 va
–
R4 i A3 vo
0 +
vb
R3
– R1
A2
+ vo2
R2
v2 +
–
Figure 5.26
Instrumentation amplifier; for Example 5.8.
But
va − vb
i = ______
R4
and va = v1, vb = v2. Therefore,
v1 − v2
i = ______ (5.8.3)
R4
Inserting Eqs. (5.8.2) and (5.8.3) into Eq. (5.8.1) gives
R1 ( R4 )
R 2R
vo = ___2 1 + ____3 (v2 − v1)
Practice Problem 5.8 Obtain io in the instrumentation amplifier circuit of Fig. 5.27.
6.98 V +
40 kΩ
–
20 kΩ
–
+
io
20 kΩ
–
7V + 40 kΩ 50 kΩ
Figure 5.27
Instrumentation amplifier; for Practice Prob. 5.8.
A = A1A2A3 (5.22)
Although the cascade connection does not affect the op amp input-output
relationships, care must be e xercised in the design of an actual op amp
circuit to ensure that the load due to the ne xt stage in the cascade does
not saturate the op amp.
+ + + +
Stage 1 Stage 2 Stage 3
v1 v2 = A1v1 v3 = A2v2 vo = A3v3
A1 A2 A3
– – – –
Figure 5.28
A three-stage cascaded connection.
vo = (1 + __
4) a
10 v = (1 + 2.5)100 = 350 mV
Figure 5.29
The required current io is the current through the 10-kΩ resistor. For Example 5.9.
vo − vb
io = ______ mA
10
190 Chapter 5 Operational Amplifiers
Practice Problem 5.9 Determine vo and io in the op amp circuit in Fig. 5.30.
5V +
– 200 kΩ vo
50 kΩ
io –
Figure 5.30
For Practice Prob. 5.9.
A
6 kΩ
2 kΩ C
v1 5 kΩ
–
+ a 10 kΩ
B –
+ vo
8 kΩ
4 kΩ
v2 15 kΩ
–
+
b
Figure 5.31
For Example 5.10.
Solution:
1. Define. The problem is clearly defined.
2. Present. With an input of v1 of 1 V and of v2 of 2 V, determine
the output voltage of the circuit shown in Figure 5.31. The op amp
circuit is actually composed of three circuits. The first circuit acts
as an amplifier of gain −3(−6 kΩ∕2 kΩ) for v1 and the second
functions as an amplifier of gain −2(−8 kΩ∕4 kΩ) for v2. The last
circuit serves as a summer of two different gains for the output of
the other two circuits.
3. Alternative. There are different ways of working with this circuit.
Because it involves ideal op amps, then a purely mathematical
5.8 Cascaded Op Amp Circuits 191
= −2(−3) − (2∕3)(−4)
= 6 + 2.667 = 8.667 V
5. Evaluate. To properly evaluate our solution, we need to identify
a reasonable check. Here we can easily use PSpice to provide that
check.
Now we can simulate this in PSpice. The results are shown in
Fig. 5.32.
R4 –3.000
6 kΩ
R6 OPAMP
–
2 kΩ R2
+ v1
1V 5 kΩ R1 8.667 V
– +
U1
10 kΩ
OPAMP
–
R5 –4.000
+
U3
8 kΩ
R7 OPAMP
–
R3
4 kΩ
+ v2
2V 15 kΩ
– +
U2
Figure 5.32
For Example 5.10.
Practice Problem 5.10 If v1 = 5 V and v2 = 5 V, find vo in the op amp circuit of Fig. 5.33.
60 kΩ
20 kΩ
–
+ –
+ vo
v1 +
–
50 kΩ 30 kΩ
10 kΩ
–
+
v2 +
–
Figure 5.33
For Practice Prob. 5.10.
Answer: 35 V.
U4 U2 U3
3 2 8 3 4 U1A 3
+ 7 5 + 5 6 + +
7
5
V+ B2 6 V+ BB /S 7 V+ 1 V+ 052 6
V– G
B1 051
2 V– 3 2 V– 2 V–
– 1 – 1 – – 1
4 4 11 4
LF411 LM111 LM324 uA741
(a) JFET–input op (b) Op amp (c) Five– (d) Five–connection
amp subcircuit subcircuit connection op amp subcircuit
op amp subcircuit
Figure 5.34
Nonideal op amp model available in PSpice.
5.9 Op Amp Circuit Analysis with PSpice 193
Use PSpice to solve the op amp circuit for Example 5.1. Example 5.11
Solution:
Using Schematics, we draw the circuit in Fig. 5.6(a) as shown in
Fig.�5.35. Notice that the positive terminal of the voltage source vs is
connected to the inverting terminal (pin 2) via the 10-kΩ resistor, while
the noninverting terminal (pin 3) is grounded as required in Fig. 5.6(a).
Also, notice how the op amp is powered; the positive power supply
terminal V + (pin 7) is connected to a 15 -V dc voltage source, while
the negative power supply terminal V− (pin 4) is connected to −15 V.
Pins 1 and 5 are left floating because they are used for offset null adjust-
ment, which does not concern us in this chapter. Besides adding the dc
power supplies to the original circuit in Fig. 5.6(a), we have also added
pseudocomponents VIEWPOINT and IPROBE to respectively measure
the output voltage vo at pin 6 and the required current i through the
20-kΩ resistor.
0 V2
U1 +
–
VS + 2V 3 7 15 V
+ 5 –3.9983 –
V+ 052 6
R1 051
+
2 V–
– 1 0
4 – 15 V
10 K
uA741
V3
1.999E–04
R2
20 K
Figure 5.35
Schematic for Example 5.11.
†
5.10 Applications
The op amp is a fundamental b uilding block in modern electronic
instrumentation. It is used e xtensively in man y de vices, along with
resistors and other passi ve elements. Its numerous practical applica -
tions include instrumentation amplifiers, digital-to-analog converters,
analog computers, level shifters, filters, calibration circuits, inverters,
summers, inte grators, differentiators, subtractors, log arithmic ampli -
fiers, comparators, gyrators, oscillators, rectifiers, regulators, voltage-
to-current con verters, current -to-voltage converters, and clippers.
Some of these we have already considered. We will consider two more
applications here: the digital-to-analog converter and the instrumenta-
Digital
tion amplifier.
Four-bit Analog
input
DAC output
(0000 –1111)
5.10.1 Digital-to-Analog Converter
(a)
The digital-to-analog converter (DAC) transforms digital signals into
V1 V2 V3 V4 analog form. A typical e xample of a four -bit D AC is illustrated in
Fig. 5.36(a). The four-bit DAC can be realized in many ways. A sim-
Rf ple realization is the binary weighted ladder , shown in Fig. 5.36(b).
R1 R2 R3 R4
The bits are weights according to the magnitude of their place v al-
– ue, by descending v alue of Rf∕Rn so that each lesser bit has half the
+ Vo
MSB LSB weight of the ne xt higher. This is ob viously an in verting summing
amplifier. The output is related to the inputs as sho wn in Eq. (5.15).
(b) Thus,
Figure 5.36
Rf Rf Rf Rf
Four-bit DAC: (a) block diagram, −Vo = __ Vl + ___ V2 + ___ V3 + ___ V4 (5.23)
(b) binary weighted ladder type. Rl R2 R3 R4
Input V1 is called the most significant bit (MSB), while input V4 is the
In practice, the voltage levels may be least significant bit (LSB). Each of the four binary inputs V1, . . . , V4 can
typically 0 and ± 5 V. assume only two voltage levels: 0 or 1 V. By using the proper input and
feedback resistor v alues, the D AC provides a single output that is pro -
portional to the inputs.
Solution:
Substituting the given values of the input and feedback resistors in
Eq. (5.23) gives
Rf Rf Rf Rf
−Vo = __ Vl + ___ V2 + ___ V3 + ___ V4
Rl R2 R3 R4
Similarly,
[V1V2V3V4] = [0010] ⇒ −Vo = 0.25 V
[V1V2V3V4] = [0011] ⇒ −Vo = 0.25 + 0.125 = 0.375 V
[V1V2V3V4] = [0100] ⇒ −Vo = 0.5 V
⋮
[V1V2V3V4] = [1111] ⇒ −Vo = 1 + 0.5 + 0.25 + 0.125
= 1.875 V
Table 5.2 summarizes the result of the digital -to-analog conversion.
Note that we have assumed that each bit has a value of 0.125 V. Thus,in
this system, we cannot represent a voltage between 1.000 and 1.125, for
example. This lack of resolution is a major limitation of digital-to-analog
conversions. For greater accuracy, a word representation with a greater
number of bits is required. Even then a digital representation of an ana -
log voltage is never exact. In spite of this inexact representation, digital
representation has been used to accomplish remarkable things such as
audio CDs and digital photography.
TABLE 5.2
Input and output values of the four-bit DAC.
Binary input Output
[V1V2V3V4] Decimal value −Vo
0000 0 0
0001 1 0.125
0010 2 0.25
0011 3 0.375
0100 4 0.5
0101 5 0.625
0110 6 0.75
0111 7 0.875
1000 8 1.0
1001 9 1.125
1010 10 1.25
1011 11 1.375
1100 12 1.5
1101 13 1.625
1110 14 1.75
1111 15 1.875
Inverting input v + R R
1
Gain set –1
R –
+3 vo Output
RG R
Gain set R
–
Noninverting input v2 +2
–
R
(a) (b)
Figure 5.38
(a) The instrumentation amplifier with an external resistance to adjust the gain, (b) schematic diagram.
–
RG
+
Small differential signals riding on larger Instrumentation amplifier Amplified differential signal,
common-mode signals no common-mode signal
Figure 5.39
The IA rejects common voltages but amplifies small signal voltages.
5.11 Summary 197
voltages. Since the common-mode voltages are equal, they cancel each
other.
The IA has three major characteristics:
1. The voltage gain is adjusted by one external resistor RG.
2. The input impedance of both inputs is v ery high and does not vary
as the gain is adjusted.
3. The output vo depends on the dif ference between the inputs v1 and
v2, not on the voltage common to them (common-mode voltage).
Due to the widespread use of IAs, manuf acturers have developed
these amplifiers on single-package units. A typical e xample is the
LH0036, developed by National Semiconductor . The g ain can be v ar-
ied from 1 to 1,000 by an e xternal resistor whose v alue may vary from
100 to 10 kΩ.
Solution:
(a) The voltage gain is
2 × 10,000
2R = 1 + ________
Av = 1 + ___ = 41
RG 500
Answer: 251.3 Ω.
5.11 Summary
1. The op amp is a high -gain amplifier that has high input resistance
and low output resistance.
2. Table 5.3 summarizes the op amp circuits considered in this chapter.
The expression for the g ain of each amplifier circuit holds whether
the inputs are dc, ac, or time-varying in general.
198 Chapter 5 Operational Amplifiers
TABLE 5.3
R2 Noninverting amplifier
( R1 )
R
R1 vo = 1 + ______2 vi
– vo
vi +
Voltage follower
– vo = vi
vi + vo
R1 Rf Summer
( )
v1 Rf Rf Rf
vo = − __ v + __ v + __ v
R 1 R 2 R 3
R2 l 2 3
v2 – vo
+
R3
v3
R1 R2 Difference amplifier
v1 R
vo = __
2
R 2
(v − v1)
l
– vo
+
R1 R2
v2
Review Questions
5.1 The two input terminals of an op amp are labeled as: voltage is:
(a) high and low. (a) −44 mV (b) −8 mV
(b) positive and negative. (c) 4 mV (d) 7 mV
(c) inverting and noninverting.
(d) differential and nondifferential. 5.7 Refer to Fig. 5.41. If vs = 8 mV, voltage va is:
5.2 For an ideal op amp, which of the following (a) −8 mV (b) 0 mV
statements are not true?
(c) 10∕3 mV (d) 8 mV
(a) The differential voltage across the input
terminals is zero. 5.8 The power absorbed by the 4-kΩ resistor in
(b) The current into the input terminals is zero. Fig. 5.42 is:
(c) The current from the output terminal is zero.
(a) 9 mW (b) 4 mW
(d) The input resistance is zero.
(e) The output resistance is zero. (c) 2 mW (d) 1 mW
Figure 5.40
For Review Questions 5.3 and 5.4.
5.9 Which of these amplifiers is used in a digital-to-
analog converter?
5.4 For the circuit in Fig. 5.40, current ix is: (a) noninverter
(a) 600 μA (b) 500 μA (b) voltage follower
(c) 200 μA (d) 1∕12 μA (c) summer
5.5 If vs = 0 in the circuit of Fig. 5.41, current io is: (d) difference amplifier
(a) −10 μA (b) −2.5 μA
(c) 10∕12 μA (d) 10∕14 μA 5.10 Difference amplifiers are used in (please check all
that apply):
5.6 If vs = 8 mV in the circuit of Fig. 5.41, the output
(a) instrumentation amplifiers
(b) voltage followers
8 kΩ
(c) voltage regulators
4 kΩ (d) buffers
–
a (e) summing amplifiers
+ io
+ (f ) subtracting amplifiers
10 mV +
– vs + 2 kΩ vo
–
–
Figure 5.41 Answers: 5.1c, 5.2c,d, 5.3b, 5.4b, 5.5a, 5.6c, 5.7d, 5.8b,
For Review Questions 5.5, 5.6, and 5.7. 5.9c, 5.10a, f.
200 Chapter 5 Operational Amplifiers
Problems
60 Ω
– 5.7 The op amp in Fig. 5.46 has Ri = 100 kΩ,
vd 1.5 MΩ
+ 8× 104v Ro = 100 Ω, A = 100,000. Find the differential
– d
voltage vd and the output voltage vo.
+
Figure 5.43
For Prob. 5.1.
+ +
vd
– –
– –
+ +
– + +
+ vo
+ 1 mA vo 1V +
–
2 kΩ
–
vi + vo –
–
–
(a) (b)
Figure 5.44 Figure 5.47
For Prob. 5.5. For Prob. 5.8.
2 kΩ 25 kΩ
5 kΩ
–
– +
+ +
+ vs +
– 10 kΩ vo
1 mA + vo –
– 4V
–
Figure 5.51
For Prob. 5.12.
+
– 5.13 Find vo and io in the circuit of Fig. 5.52.
+ +
3V +
– – 1V
2 kΩ vo 10 kΩ
–
+ io
–
1V +
– 100 kΩ +
Figure 5.48 90 kΩ 10 kΩ vo
For Prob. 5.9. –
50 kΩ
Figure 5.52
20 kΩ For Prob. 5.13.
+
–
+ 5.14 Determine the output voltage vo in the circuit of
10 kΩ Fig. 5.53.
10 kΩ
vs + vo
–
10 kΩ 10 kΩ
– 20 kΩ
–
+
+
Figure 5.49 2 mA 5 kΩ vo
For Prob. 5.10. –
R2
Figure 5.50 –
For Prob. 5.11. + +
is vo
–
5.12 Calculate the voltage ratio vo∕vs for the op amp
circuit of Fig. 5.51. Assume that the op amp is
Figure 5.54
ideal. For Prob. 5.15.
202 Chapter 5 Operational Amplifiers
5.16 Using Fig. 5.55, design a problem to help students 5.19 Determine io in the circuit of Fig. 5.58.
better understand inverting op amps.
2 kΩ 4 kΩ 10 kΩ
R3
io
–
ix 750 mV +
– 4 kΩ +
R1 iy
– 2 kΩ
+
V
+ R4 Figure 5.58
– For Prob. 5.19.
R2
5.20 In the circuit of Fig. 5.59, calculate vo of vs = 2 V.
8 kΩ
Figure 5.55
For Prob. 5.16. 2 kΩ
4 kΩ 4 kΩ
–
+
5.17 Calculate the gain vo∕vi when the switch in Fig. 5.56 +
is in: 9V +
– vs + vo
–
(a) position 1 (b) position 2 (c) position 3. –
12 kΩ
Figure 5.59
1 For Prob. 5.20.
80 kΩ
2
5.21 Calculate vo in the op amp circuit of Fig. 5.60.
2 MΩ 3 10 kΩ
5 kΩ
– 4 kΩ
+ –
+
vi + +
– 10 kΩ vo +
– vo
4V +
– 2V +
–
–
Figure 5.56
For Prob. 5.17. Figure 5.60
For Prob. 5.21.
* 5.18 For the circuit shown in Figure 5.57, solve for the
Thevenin equivalent circuit looking into terminals A 5.22 Design an inverting amplifier with a gain of −15.
and B.
5.23 For the op amp circuit in Fig. 5.61, find the voltage
10 kΩ
gain vo∕vs.
10 kΩ Rf
–
+
+ R1
9V – 2.5 Ω
–
+ +
vs + R2
vo
–
Figure 5.57 –
For Prob. 5.18.
Figure 5.61
* An asterisk indicates a challenging problem. For Prob. 5.23.
Problems 203
5.24 In the circuit shown in Fig. 5.62, find k in the voltage 5.28 Find io in the op amp circuit of Fig. 5.66.
transfer function vo = kvs.
50 kΩ
Rf –
+
R1 io
R2
vs 10 kΩ + 0.4 V 20 kΩ
– –
–+ +
+
R3 R4 vo
Figure 5.66
–
For Prob. 5.28.
Figure 5.62 5.29 Determine the voltage gain vo∕vi of the op amp
For Prob. 5.24. circuit in Fig. 5.67.
vi + R2 vo
– R2
12 kΩ
– R1
+ –
+
+ 20 kΩ vo
15 V –
– Figure 5.67
For Prob. 5.29.
Figure 5.63 5.30 In the circuit shown in Fig. 5.68, find ix and the
For Prob. 5.25. power absorbed by the 20-kΩ resistor.
V +
– R2 R3
R1
Figure 5.68
For Prob. 5.30.
Figure 5.64
For Prob. 5.26. 5.31 For the circuit in Fig. 5.69, find ix.
6 kΩ
16 Ω
v1 – v2 8 Ω +
+ ix –
+
+
25 mA 3 kΩ
7.5 V +
– 24 Ω 12 Ω vo 6 kΩ vo
–
–
vs +
– R2
ix R1
20 kΩ
+
– b
+ Figure 5.73
10 mV +
–
50 kΩ
60 kΩ 30 kΩ vo For Prob. 5.36.
–
10 kΩ
Section 5.6 Summing Amplifier
5.37 Determine the output of the summing amplifier in
Fig. 5.74.
Figure 5.70 3V
For Prob. 5.32. 10 kΩ
–+ 30 kΩ
5.4 V
20 kΩ
5.33 Refer to the op amp circuit in Fig. 5.71. Calculate ix –+ –
and the power absorbed by the 3-kΩ resistor. + +
–3.5 V vo
30 kΩ –
1 kΩ +–
ix
+ Figure 5.74
– For Prob. 5.37.
2.5 mA 4 kΩ 2 kΩ 3 kΩ
5.38 Using Fig. 5.75, design a problem to help other stu-
dents better understand summing amplifiers.
V1
Figure 5.71 R1
For Prob. 5.33. –+
+
V2 R2
–
+– +
5.34 Given the op amp circuit shown in Fig. 5.72, express vo
vo in terms of v1 and v2. V3 –
R3
–+ R5
R1 V4
v1 vin R4
+ +–
v2 –
R4 +
R2
vo Figure 5.75
R3 For Prob. 5.38.
–
5.36 For the circuit shown in Fig. 5.73, find the Thevenin
equivalent at terminals a-b. (Hint: To find RTh, apply Figure 5.76
a current source io and calculate vo.) For Prob. 5.39.
Problems 205
5.40 Referring to the circuit shown in Fig. 5.77, deter- 5.46 Using only two op amps, design a circuit to solve
mine Vo in terms of V1 and V2.
v3 − v1 ______
v − v2
−vout = ______ + 1
5 2
100 kΩ 200 kΩ
2 kΩ
Figure 5.77 –
For Prob. 5.40. 2 kΩ
+ +
v1 +
– vo
v2 + 20 kΩ
5.41 An averaging amplifier is a summer that provides –
an output equal to the average of the inputs. By –
using proper input and feedback resistor values,
one can get
Figure 5.79
1 (v + v + v + v )
−vout = __ For Prob. 5.47.
4 1 2 3 4
R4 20 kΩ
80 kΩ
R3
–
R1
vo Figure 5.80
v1 + For Prob. 5.48.
R2
v2
Figure 5.83
(b) For Prob. 5.56.
Problems 207
5.57 Find vo in the op amp circuit of Fig. 5.84. 5.61 Determine vo in the circuit of Fig. 5.88.
vs2
Figure 5.88
For Prob. 5.61.
Figure 5.84
For Prob. 5.57. 5.62 Obtain the closed-loop voltage gain vo∕vi of the
circuit in Fig. 5.89.
5.58 Calculate io in the op amp circuit of Fig. 5.85.
Rf
10 kΩ
R2
1 kΩ 2 kΩ
– –
+ +
R1
R3 –
5 kΩ io –
+ + +
1.8 V +
– 3 kΩ 4 kΩ vi +
R4 vo
–
–
Figure 5.89
Figure 5.85 For Prob. 5.62.
For Prob. 5.58.
5.63 Determine the gain vo∕vi of the circuit in Fig. 5.90.
5.59 In the op amp circuit of Fig. 5.86, determine the
voltage gain vo∕vs. Take R = 10 kΩ. R3
2R 4R R2 R4
R R1
– R R5
– –
+ + –
+ + +
vi + R6 +
vs + vo
– vo
– –
–
Figure 5.90
Figure 5.86 For Prob. 5.63.
For Prob. 5.59.
5.64 For the op amp circuit shown in Fig. 5.91, find
5.60 Calculate vo∕vi in the op amp circuit of Fig. 5.87. vo∕vs.
G4
100 kΩ G
+ 80 kΩ
G3
+ –
G1
40 kΩ 50 kΩ G
– –
vi + –
+ + +
+ G2 +
100 kΩ vo vs vo
–
– –
–
5.65 Find vo in the op amp circuit of Fig. 5.92. 5.68 Find vo in the circuit of Fig. 5.95, assuming that
Rf = ∞ (open circuit).
100 kΩ
+
100 kΩ –
10 kΩ 100 kΩ Rf
– 30 kΩ 30 kΩ
+ – 15 kΩ
+ +
70 mV +
– 5 kΩ
70 kΩ vo –
+ +
– –
+
+
Figure 5.92 15 mV – 6 kΩ vo 1 kΩ
For Prob. 5.65. 2 kΩ –
5.66 For the circuit in Fig. 5.93, find vo. Figure 5.95
For Probs. 5.68 and 5.69.
25 kΩ
20 kΩ
20 kΩ
–
+ –
6V +
–
+ +
+ 10 kΩ
4V – vo 5.70 Determine vo in the op amp circuit of Fig. 5.96.
2V +
–
–
Figure 5.93 30 kΩ
For Prob. 5.66. 40 kΩ
10 kΩ A
– 20 kΩ C
–
+ vo
5.67 Obtain the output vo in the circuit of Fig. 5.94. 1V +
– +
60 kΩ
10 kΩ 10 kΩ
80 kΩ 80 kΩ
–
20 kΩ
40 kΩ 2V +
– 20 kΩ
+ –
+ –
+ vo 10 kΩ
B
1.2 V +
–
–
+
20 kΩ 3V +
–
– 10 kΩ
+
+
2.8 V +
–
4V –
5.71 Determine vo in the op amp circuit of Fig. 5.97. 5.74 Find io in the op amp circuit of Fig. 5.100.
100 kΩ 32 kΩ
20 kΩ 10 kΩ io 1.6 kΩ
100 kΩ – –
5 kΩ + +
40 kΩ 20 kΩ
– + + 0.6 V
0.9 V – –
+
1.5 V + 80 kΩ –
– 10 kΩ + +
vo
20 kΩ Figure 5.100
For Prob. 5.74.
10 kΩ –
–
+
+
– Section 5.9 Op Amp Circuit Analysis with
+
PSpice
2.25 V –
50 kΩ
30 kΩ
5.75 Rework Example 5.11 using the nonideal op amp
LM324 instead of uA741.
5.76 Solve Prob. 5.19 using PSpice or MultiSim and
Figure 5.97
For Prob. 5.71. op amp uA741.
5.77 Solve Prob. 5.48 using PSpice or MultiSim and
op amp LM324.
5.78 Use PSpice or MultiSim to obtain vo in the circuit of
5.72 Find the load voltage vL in the circuit of Fig. 5.98.
Fig. 5.101.
10 kΩ 20 kΩ 30 kΩ 40 kΩ
100 kΩ 250 kΩ
– –
+ + +
20 kΩ – –
vo
+ + + 1V +
– 2V +
–
–
5.6 V +
–
2 kΩ vL
–
Figure 5.101
For Prob. 5.78.
Figure 5.98
For Prob. 5.72.
5.79 Determine vo in the op amp circuit of Fig. 5.102,
using PSpice or MultiSim.
5.73 Determine the load voltage vL in the circuit of
Fig. 5.99. 20 kΩ 10 kΩ
5V +
–
50 kΩ +
– +
10 kΩ – vo
– 100 kΩ –
+ 20 kΩ 10 kΩ 40 kΩ
+
+
5 kΩ
4 kΩ vL
+ 5.4 V +
– – 1V –
– +
5.80 Use PSpice or MultiSim to solve Prob. 5.70. 5.86 Design a voltage controlled ideal current source
(within the operating limits of the op amp) where the
5.81 Use PSpice or MultiSim to verify the results in
output current is equal to 200 vs(t) μA.
Example 5.9. Assume nonideal op amps LM324.
Rf
2R
Figure 5.105
V1 – For Prob. 5.87.
+ Vo
R
2R
V2
R
2R
V3
25 kΩ 500 kΩ
+
Figure 5.103 20 kΩ 30 kΩ –
For Prob. 5.84.
vi –
10 kΩ + vo
5.85 In the op amp circuit of Fig. 5.104, find the value of
R so that the power absorbed by the 10-kΩ resistor is 40 kΩ 80 kΩ
10 mW. Determine the power gain. 2 kΩ
R
20 kΩ 10 kΩ
– 25 kΩ
–
+ +
10 V +
–
1 kΩ 500 kΩ
Comprehensive Problems
5.89 Design a circuit that provides a relationship between 5.92 Refer to the bridge amplifier shown in Fig. 5.109.
output voltage vo and input voltage vs such that Determine the voltage gain vo∕vi.
vo = 12vs − 10. Two op amps, a 6-V battery, and
several resistors are available. 90 kΩ
30 kΩ
5.90 The op amp circuit in Fig. 5.107 is a current ampli- –
fier. Find the current gain io∕is of the amplifier. +
+
40 kΩ 50 kΩ RL vo
20 kΩ –
– –
+ + +
vi
–
4 kΩ
io Figure 5.109
is 5 kΩ 2 kΩ For Prob. 5.92.
Figure 5.110
For Prob. 5.93.
Figure 5.108
For Prob. 5.91.