Beruflich Dokumente
Kultur Dokumente
1
Op Amp
The op amp is an electronic device consisting of a complex
arrangement of resistors, transistors, capacitors, and diodes. A full
discussion of what is inside the op amp is the subject of another
course.
In this course, it will suffice to treat the op amp as a circuit
building block and simply study what takes place at its terminals.
2
Op Amp
The op amp is an active circuit element that behaves like a
voltage-controlled voltage source.
It can also be used in making a voltage- or current-controlled
current source.
An op amp is designed to perform mathematical operations of
addition, subtraction, multiplication, division, differentiation,
and integration.
The ability of the op amp to perform these mathematical
operations is the reason it is called an operational amplifier.
3
Op Amp Pin Configuration
Op amps are commercially available in integrated circuit packages
in several forms. The figure shows a typical op amp package.
i p + in + i0 + ic+ + ic- = 0
8
Open Loop Gain
The differential input voltage vd is given by vd= vp – vn
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
vo= Avd = A(vp – vn)
A is called the open-loop voltage gain because it is the gain of the
op amp without any external feedback from output to input.
9
Closed Loop Gain
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.
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.
The closed-loop gain is almost insensitive to the open-loop gain A
of the op amp.
For this reason, op amps are used in circuits with feedback paths.
10
Negative Feedback
vF
vF+ Feedback factor F = vF = F vo
F vo
vo
Open loop gain A =
vF vi
+ + +
v1 +
vi A vo Closed loop gain K =
vo
v1
vo vo vo vi A A
Closed loop gain K = = = = =
v1 vF + vi vF vi + vi vi Fvo vi +1 FA +1
1 1
K= » if A F
F +1 A F
Assume a passive feedback network with F £ 1, then A = 105 F and
1
K= ³1
F 11
Ideal Op Amp
An op amp is ideal if it has the following characteristics:
1. Infinite open-loop gain, A ≈ ∞
2. Infinite input resistance, Ri ≈ ∞
3. Zero output resistance, Ro ≈ 0
The currents into both input terminals are zero
The voltage across the input terminals is negligibly small
Ri » ¥ i p = 0, in = 0
vd = v p - vn » 0 v p = vn
An inverting amplifier reverses the polarity of the input signal while amplifying it.
13
Example 5.1
Assume that the op amp is ideal. Calculate the output voltage vo for the following
values of vs : 0.4V, 2.0V, 3.5V, -0.6V, -1.6V, -2.4V.
80k
16k 10V
-15V
14
Example 1
Find the output voltage of the op amp circuit. Calculate the current through
the feedback resistor.
15
Example 2
Determine vo.
va - v0 6 V - va
=
40 k 20 k
va - v0 = 12 V - 2va
v0 = 3va -12 V
va = vb = 2 V
v0 = 6 V -12 V = -6 V
16
Example 5.2
a) Design an inverting amplifier with a voltage gain of -12. Use 15V power supplies.
b) What range of input voltages allows the op amp to operate in its linear region?
Rf
15V a) Since vo = - vs ,
Rs
choose Rs = 1k R f = 12k
-15V
b) 15V ³ (-12)(vs )
vs £ 15V 12 = 1.25V
17
Noninverting Amplifier
Since i p = 0 v p = vg = vn
Use voltage divider to get vn :
Rs
vn = vo = vg
R f + Rs
R f + Rs æ Rf ö÷
vo = vg = ççç1+ ÷÷ vg
Rs è R s ø
÷
vo Rf
The voltage gain Av is = 1+
vg Rs
An noninverting amplifier provides a positive gain which is greater or equal unity.
Such a circuit has a very high input impedance and is therefore useful as an
intermediate-stage (or buffer) amplifier to isolate one circuit from another. The
voltage follower minimizes interaction between the two stages and eliminates inter
stage loading.
Noninverting amplifier:
æ 5k ö÷
v0 = ççç1 + ÷v
çè 2 k ø÷÷ 1
= 3.5 ⋅ 2 V = 7 V
21
Summing Amplifier
ia
KCL: ia + ib + ic = in
va - vn vb - vn vc - vn vn - vo
+ + =
Ra Rb Rc Rf
vn = v p = 0
A summer can have more than
three inputs.
æ Rf Rf R f ö÷
ç
vo = -çç va + vb + vc ÷÷
è Ra Rb Rc ÷ø
22
Example 5
Find vo and io.
æ8 8 8 ö÷
ç
v0 = -ç 1.5V+ 2 V 1.2 V÷÷ = -3.8V
çè 20 10 6 ø
v0 v -3.8V -3.8V
i0 = + 0 = + = -1.425mA
8k 4 k 8k 4 k
23
Digital-to-Analog Converter
Four-bit DAC:
(a) block diagram
(b) binary weighted ladder type
24
Example 6
In the op amp circuit, let Rf = 10 kΩ, R1 = 10 kΩ, R2 = 20 kΩ, R3 = 40 kΩ, and R4 = 80
kΩ. Obtain the analog output for binary inputs [0000], [0001], [0010], . . . , [1111].
25
Difference Amplifier
va - vn vn - vo
=
Ra Rb
Rb va - Rb vn = Ra vn - Ra v0
( Ra + Rb )vn = Rb va + Ra v0
Rb va + Ra v0
vn =
Ra + Rb
Rd Rd ( Ra + Rb ) Rb
vp = vb vn = v p vo = vb - va
Rc + Rd Ra ( Rc + Rd ) Ra
A difference amplifier amplifies the difference between two inputs but rejects any
signals common to the two inputs.
Ra R R
Note: If = c v0 = b (vb - va )
Rb Rd Ra
If Ra = Rb and Rc = Rd v0 = vb - va 26
Example 7
Design an op amp circuit with inputs
v1 and v2 such that vo = −5v1+3v2.
R4 ( R1 + R2 ) R
vo = v2 - 2 v1
R1 ( R3 + R4 ) R1
R2 (1 + R1 R2 ) R2
vo = v2 - v1
R1 (1 + R3 R4 ) R1
Design 1
27
Example 7 cont’d
Design a different op amp circuit with inputs v1 and v2 such that vo = −5v1+3v2.
Design 2
28
Example 8
Design a difference amplifier with gain of 4.
R2 (1 + R1 R2 ) R2
vo = v2 - v1
R1 (1 + R3 R4 ) R1
Figure 5.24
R1 R R
if = 3 v0 = 2 (v2 - v1 )
R2 R4 R1
But
R1 R
= 3 R4 = 4 R3
R2 R4
29
Instrumentation Amplifier
Show that:
Recall:
Figure A
compare
40 k
v0 = - (8.01- 8) V = 0.02 V
20 k
v0 0.02 V
i0 = = = 2μA
10 k 10 k
31
Summary
32
Summary
33
Op Amp Circuit Analysis With PSPICE
PSpice does not have a model for an ideal op amp.
PSpice has four nonideal, commercially available op amps in its eval.slb
library.
Note that each of them requires dc supplies, without which the op amp will not
work.
vo -3.9983V
= = -1.99915
vs 2V
vo 20 k
Using the ideal op-amp model: =- = -2.0
vs 10 k
35
Controlled Sources
Voltage Controlled Voltage Source (VCVS)
Non-inverting amplifier:
vo R2
= 1+ independent of RL
vi R1
36
Controlled Sources
Voltage Controlled Current Source (VCCS)
Redraw the circuit:
R vi - vo v2 - vo
vo = v+ = v- = v2 KCL: ii + i2 - io = 0 + - io = 0
R+R R R
v2 = 2vo vi vo vo vo vi
io = - + 2 - =
R R R R R
1
io = vi independent of RL
R
37
Controlled Sources
Current Controlled Voltage Source (CCVS)
æ R2 ö÷
vo = ççç1 + ÷÷ vi , vi = R3ii since i+ = 0
çè R ÷ø
1
æ R2 ÷ö
v0 = R3 ççç1 + ÷÷ ii independent of RL
çè R ÷ø 1
38
Controlled Sources
Current Controlled Current Source (CCCS)
Redraw the circuit:
39