Professional Documents
Culture Documents
Chapter 5
Circuits 2
Consider a mobile 1 that is all balanced and nice and hanging from a ceiling. If you were to add
an additional weight to it (of significant size), you would expect the positions of all of the mobile
components to readjust in order to compensate for the new weight. You would not expect the
position of all the balanced parts to remain exactly as they were prior to the addition.
The same goes for circuits. If you have a circuit that already exists like that shown below, and then
add an additional resistor (or any component) to it, the entire circuit will readjust based off of that
new resistor. The amount of readjustment will vary depending on the values of the components,
but it will nevertheless readjust.
http://bit.ly/1lBoHwh
5 Circuits 2
Youve already seen this phenomenon in Software Lab 5 and in the previous section with voltage
dividers. In the following two sections, well be looking at ways to handle this issue.
5 Circuits 2
Because all of the relationships in our circuits are linear, these two values are sufficient to characterize the constraint that this whole box will exert on a circuit connected to it. In fact we can even
plot it:
I
V
Voc
isc
1
R
The constraint will be a relationship between the voltage across its terminals and the current flowing through the box. We can derive it by using Thvenins theorem:
Any combination of current sources, voltage sources, and resistances with two terminals can
be replaced by a single voltage source Vth and a single series resistor Rth . The value of Vth is
the open circuit voltage at the terminals Voc , and the value of Rth is Vth divided by the current
with the terminals short circuited (isc ).
Lets look at a picture, then an example.
I
Rth
Vth
Here, we show a picture of a black box, abstracted as being made up of a circuit with a single
voltage source Vth and a single resistor Rth in series. The open-circuit voltage from + to - terminals
(nodes) is clearly Vth 2.
The short-circuit current isc (in the direction of the arrow denoting current variable I) is
Vth /Rth
So, this circuit would have the desired measured properties.
I
V
RB
RA
Vs
Because the circuit is open, there is no loop, and consequently there is no where for current to flow. Lack of current
through the circuit means there is no I R voltage drop across the resistor so node voltage e+ will equal node voltage
directly above the voltage source.
5 Circuits 2
The first step is to compute the open-circuit voltage. This just means figuring out the difference
between the voltage at nodes e+ and e nodes (the nodes above and below the output voltage V ,
respectively), under the assumption that the current I = 0. An easy way to do this is to set e as
ground and then find the node voltage at e+ . Well call the top right node voltage e1 . Lets write
down the equations:
e+ e1 = iA RA
e1 e = es
e+ e = iB RB
iA iB = 0
iA iS = 0
e = 0
We can solve these pretty straightforwardly to find that
B
e+ = Vs RAR+R
B
Now, we need the short-circuit current, isc . To find this, imagine a wire connecting e+ to e ; we
want to solve for the current passing through this wire. We can use the equations we had before,
but we can represent the presence of the wire by adding a "short equation" equating e+ to e , and
adding the short circuit current isc to the sets KCL equation.
I
V
RB
RA
e+ e1 = iA RA
e1 e = Vs
e+ e = iB RB
iA iS = 0
e = 0
and add a short...:
e+ = e
isc iA iB = 0
We can solve this system to find that
Vs
5 Circuits 2
isc = RVAs
and therefore that
th
Rth = Visc
RB
A +RB
Vs
RA
Vs R
RA RB
RA +RB
What can we do with this information? We could use it during circuit analysis to simplify parts of
a circuit model, individually, making it easier to solve the whole system. We could also use it in
design, to construct a simpler implementation of a more complex network design 3.
I
V
RA RB
RA +RB
B
Vs RAR+R
B
One important point is that the Thvenin equivalent circuit is not exactly the same as the original one. It will exert the
same constraints on the voltages and currents of a circuit that it is connected to, but will, for example, have different heat
dissipation properties.
5 Circuits 2
Check Yourself 1. Solve for the Thvenin equivalent between the two terminals shown.
e1
RA
e2
RB
RC
V
Vs
RD
e3
Answer:
2k
I
+
V
7.5V
-
Its a bit more hassle than the previous one, but you can write down the
equations to describe the constituents and KCL constraints, as before. If we
let RA = 2K, RB = RC = RD = 1K, and VS = 15V , then we can solve
for Vth = 7.5V and Rth = 2K. So, it is indistinguishable by current and
voltage from the circuit shown in the equivalent circuit.
5 Circuits 2
Check Yourself 2. Here is the same circuit, but with the connections that run outside the box
made to different nodes in the circuit. Note the direction of the + and - at
the terminals under analysis.
e1
RA
e2
RB
-
RC
V
I
+
Vs
RD
e3
Answer:
1.75k
I
+
V
3.75V
If we solve, using the same values for the resistors and voltage source as before, we find that Vth = 3.75V and Rth = 1750. We show the Thvenin
equivalent circuit next to the original.
These results are quite different: so, the moral is, it matters which wires
you connect up to what!
I
V
RTh
IN
The process for deriving Norton equivalents is similar in spirit to the process outlined above. For
some circuits, the Norton Equivalent can be easier to solve for. Importantly, IN = isc .
5 Circuits 2
First: The Thvenin Equivalent Voltage is equal to the open-circuit voltage (Voc ).
Second: The Norton Equivalent Current (as we define it) is equal to the short circuit current
(isc ).
Third: The Thvenin Equivalent Resistance (RT h ) can be determined by "turning off" all sources
in the circuit and then calculating the equivalent resistance between the terminals of interest.
By "turn off" we mean:
Voltage sources become 0V sources (which are wires)
Current sources become 0A sources (which are "opens" or lack of wires)
The values which we extract result in the plots below:
I
V
Voc
VTh
isc
IN
1
RT h
1
R
VT h = IN RT h
With this equation at our disposal, in order to solve a circuit for either its Thvenin or Norton
Equivalent, we really only need to extract two values from the original circuit and then use
the I-V relationship (if necessary) to find the third. This gives us flexibility in solving these
circuits. If youre trying to find the Thvenin equivalent of a particular complicated circuit,
it might be really difficult and annoying to find V_oc, but placing a shorting wire across the
terminals to find isc might be really easy mathematically. If you can then find RT h by shutting
off the sources and finding the equivalent resistance (through parallel and series combinations
or another technique), you could then figure out VT h through the I-V relationship. Boom,
youre done.
I
V
I
RTh
VTh
R
Th
Rth
V
Vth
not cool
5 Circuits 2
"Life was going so good," you say. "Why mess things up by bringing in a new component?" Well
the answer is that op-amps bring something new and useful to the table. They can decouple
some aspects of complex circuits, so that separate circuit chunks can be designed independently
and then connected afterwards. This modularity is super-important in making design easier.
Op-amps are also important for amplifying small voltage differences into larger ones, and can
be used to scale, invert, and add voltages. These are things resistors, voltage sources, and
current sources could never do on their own.
I1
+
e+
V1
eout
K e+ e
egnd
I2
+
V2
A model of the constraint that an op-amp exerts on the circuit it is connected to relates the
voltages at its four terminals in this way:
V2 = K(e+ e )
where K is a very large gain, on the order of 10,000.
In addition, op amps are built so that no current flows into the input terminals of the op amp.
Therefore:
i+ = i = 0
So, we can think of the voltage V2 as constituting a voltage source, whose voltage is defined to
be
K(e+ e ) = KV1 .
We can see it as amplifying the voltage difference e+ e . Its hard to really understand how
this model works without seeing it in context. So, well study an op-amp that is wired up in a
configuration called a voltage follower:
10
5 Circuits 2
e+
Vi +
eout
K e+ e
Vo
egnd
Vo = K(Vi Vo )
(1 + K)Vo = KVi
K
Vo
=
1
Vi
1+K
Note that we have connected a wire from the output, eout , to the negative input, e , and so
those constitute one node with a single voltage, which we call eout . We can write down the
equations:
e+ = Vi
eout egnd = K(e+ eout )
egnd = 0
Solving this system, we find that
K
eout = Vi K+1
So, for large K, the voltage difference between the output terminals is very close to the voltage
difference between the input terminals.
In this circuit we have set egnd = 0; in practice this doesnt matter. If we had left egnd in our
equations, we would have found that:
K
1
eout = Vc K+1
+ egnd K+1
Since K is very large, that second term can be ignored. In fact, if you look at an actual op-amp,
you wont even find an output corresponding to egnd . Therefore, we will always treat it as
being zero.
5.2.2 Buffering
The crucial additional fact about an op-amp is that no current flows between the input and
output terminals, so the op-amp acts as a buffer between the input and output signal. It provides
a disconnect between the currents on either side of it. This is a big deal and you should be
excited by it: it gives us a way of implementing a kind of modularity in our circuits that we
havent had before, by limiting the kinds of influence of one part of the circuit on the other
(think loading). The ability to partially disconnect sub-parts of our circuits will make it easier
to do complex designs.
We can appreciate the value of a buffer in the context of using a variable voltage to control a
motor. If we have a 15V supply, but only want to put 7.5V across the motor terminals, what
should we do? A voltage divider seems like a good strategy: we can use one with two equal
resistances, to make 7.5V , and then connect it to the motor as shown here:
11
5 Circuits 2
i
10k
+
15V
Motor
10k
Vmotor
But what will the voltage Vmotor end up being? It all depends on the resistance of the motor.
If the motor is offering little resistance, say 100, then the voltage Vmotor will be very close to
0 V 5. So, this is not an effective solution to the problem of supplying 7.5V to the motor.
But what if we place an op amp in between the voltage divider and the motor. Could it buffer
the two from each other?
i
10k
e+
15V
10k
eout
K e+ e
egnd
Motor
Vmotor
In the figure above we have used an op amp in a voltage follower configuration to connect the
voltage divider to the motor. Based on our previous analysis of the follower, we expect the
voltage at eout to be 7.5V , at least before we connect it up to the motor. Lets see how this all
works out by writing the equations out for the whole circuit: Letting the current through the
top resistor be i1 , the current through the second resistor be i2 , the current through the motor
be im , and recalling that eout = e (since they are the same node), we have
i1 i2 i+ = 0
iout i im = 0
i+ = 0
i = 0
(15 e+ ) = 10000i1
(e+ 0) = 10000i2
(e 0) = K(e+ e )
5
Think back to the loading phenomenon investigated at the end of Software Lab 5
12
5 Circuits 2
(e 0) = im Rm
Solving these equations, we find that
e+ = 7.5 <br
e =
K
K+1 7.5
im =
K 7.5
K+1 Rm
So, now, the voltage across the motor stays near 7.5V , and because of the isolation provided by
the op-amp, it will remain that way, no matter what the resistance of the motor. If, for example,
the motor has resistance of 5, then we can find that the current through the motor, im , is
approximately 1.5A.
Deep Thoughts: What we just experienced is really useful. Before if we designed a voltage
divider and then attached something else to it, the original values we designed for would be
all wrong. Now what we can do with an op amp in a buffer format is:
1. Design the voltage divider to give whatever voltage we desire.
2. Attach the output of the voltage divider to the input of an op amp in voltage follower mode.
3. Attach the output of the buffer to the motor
4. Watch the motor spin
e+
e
eout = K e+ e
The simplified behavioral model is that the op-amp adjusts eout in order to try to maintain the
constraint that e+ e and that no current flows in to + or inputs of the op amp. In what
follows we will assume that the op-amp enforces e+ = e .
13
5 Circuits 2
eout = Vout
+
Vin
RF
RI
Lets see if we can figure out the relationship between Vin and Vout . The circuit constraints
tell us that
e+ = Vin
e = iI RI
e eout = iF RF
iI iF = 0
Vin = e
The KCL equation above has no term for the current into the op-amp, because we assume it is
zero. So, we find that
I
Vout = Vin RFR+R
I
This is cool. Weve arranged for the output voltage to be greater than the input voltage. We can
get any gain (greater than one) by choosing the values of RF and RI .
We can think intuitively about how it works by examining some cases. First, if RF = 0, then
well have Vout = Vin , so theres not a particularly interesting change in the voltages. This is
still a useful device, essentially the voltage follower, which we have already seen, with an additional resistor. This extra resistor does not change the voltage relationships but does increase
the current flowing from the op-amp. Note also that choosing RI very much larger than RF also
gives us a follower.
Now lets think about a more interesting case, but simplify matters by setting RF = RI . We can
look at the part of the circuit running from eout (Vout ) through RF and RI to ground. This
looks a lot like a voltage divider, with e coming out of the middle of it. Because e needs to
be the same as Vin , and it is Vout being divided in half, then Vout clearly has to be 2Vin .
RF
RI
Vin
Vout
14
5 Circuits 2
The difference is that the + terminal of the op-amp is connected to ground, and were now
thinking of the path through the resistors as the terminals of the resulting circuit. Lets figure
out the relationship between Vin and Vout for this one. The circuit constraints tell us that
Vin e = iI RI
e Vout = iF RF
iI iF = 0
e+ = e
e+ = 0
Solving, we discover that
F
Vout = Vin R
RI
If RF = RI , then this circuit simply inverts the incoming voltage. So, for example, if Vin is +10V
with respect to ground, then Vout will be 10V . Again, we can see the path from the node ein
(which is at Vin ) through the resistors, to the eout (Vout ), as a voltage divider. Knowing that
e has to be 0, we can see that Vout has to be equal to Vin . If we want to scale the voltage, as
well as invert it, we can do that by selecting appropriate values of RF and RI .
RF
V1
V2
RI
RI
Vout
You should be able to write down the equations for this circuit, which is very similar to the
inverting amplifier, and derive the relationship:
F
Vout = R
RI (V1 + V2 )
15
5 Circuits 2
Vi
Vi
Vo
Vo
If we use our simplest model to predict their behavior, in both cases, well predict that Vo = Vi .
K
. For the bad
If we use the VCVS model, well predict that, for the good follower Vo = Vi K+1
follower, things are connected a little bit differently:
e = Vi
Vo egnd = K(e+ e )
e+ = Vo
egnd = 0
Solving this system, we find that
K
Vo = Vi K1
Those two predictions are basically the same for large K. But, in fact, the prediction about the
behavior of the bad follower is completely bogus! In fact, if you connect an op-amp this way,
it is likely to burn out, possibly generating smoke, noise , lights, and smells 6 in the process.
To see why this happens, well actually need to make a more detailed model.
vo [t] = vo [t 1] g e[t 1]
= vo [t 1] g (vo [t 1] K(v+ [t 1] v [t 1]))
We would expect this system to adjust Vo to be closer to K(V+ V ) on every step. The gain
g is a property of the design of the op-amp.
16
5 Circuits 2
Now, what happens when we use this model to predict the temporal behavior of the voltage
followers? Lets start with the good one.
Vo = (1 g gK)RVo + gKRV+
Vo (1 R(1 g gK)) = gKRV+
Vo
V+
gKR
1R(1ggK)
This system has a pole at 1 g gK, so if we let g = 1/(1 + K), then we have a pole at 0, which
means the system will, ideally, converge in a single step, with
Vo =
K
K+1 RV+
Vo = (1 g + gK)RVo gKRV
Vo (1 R(1 g + gK)) = gKRV
Vo
V
gKR
1R(1g+gK)
This system has a pole at 1 g + gK, so with g = 1/(1 + K) as before, we have a pole at
2K/(1 + K), which means the system will diverge for large positive values of K. There is no
positive value of g that will make this system stable (and, if we were to pick a negative value,
it would make the good follower become a bad follower).
The prediction we get for g = 1/(1 + K) agrees with the empirical behavior of op-amps, at least
in so far as op-amps wired up in feedback to the postive input terminal do not converge to a
stable output voltage, but typically burn themselves out, or behave otherwise unpredictably.
5 Circuits 2
17
maintain the necessary voltage difference on the output side, and supply current to, e.g., drive
the motor? The answer is that it uses current from the power supplies to regulate the output
voltage and to supply the necessary output current.
One metaphorical way of thinking about this is that VCC is a big main water-supply pipe and
that V+ V is the controlling the handle of a faucet. As we change the size of the difference
V+ V , we open or close the faucet; but the water is being supplied from somewhere else
entirely.
This metaphor is appropriate in another way: the total voltage on the output of the op-amp is
limited by VCC . So, if the VCC = 10, then the output of the op-amp is limited to be between 0
and 10. If we connect the ground connection of the op-amp to a negative supply voltage, then
the output of the op-amp can be negative as well as positive; this has many applications.