Chapter 5: Operational Amplifiers
Welcome to Last Minute Lecture.
This free chapter overview is designed to help students review and understand key concepts.
These summaries supplement not replaced the original textbook and may not be redistributed or resold.
For complete coverage, always consult the official text.
He who will not reason is a bigot,
he who cannot is a fool, and he who dares not is a slave.
Wow, it is quite the choice to open a dense engineering text like Chapter 5 of Fundamentals of Electric Circuits with a striking quote from Lord Byron.
Right.
It definitely catches your attention immediately.
I mean, you don't really expect 19th century poetry when you're just sitting down to learn basic circuit analysis.
Yeah, but it actually sets a really profound stage for the chapter.
You see, physicists are usually described as the people who seek to measure reality, but engineers...
Engineers are the ones building the actual tools to do that measuring.
Exactly.
The voltmeters, the oscilloscopes,
all those complex medical sensors.
If you want to reason about the physical world, you need to translate it into a language you can analyze.
Which is where this chapter comes in, because the operational amplifier, or op -amp, is basically the absolute fundamental building block of that translation.
It really is.
Master this one component, and you basically unlock the ability to measure the universe.
Okay, let's unpack this.
Because before we get too philosophical about measuring the universe, let's talk about the practical reality of what an op -amp actually looks like.
Yeah, good idea.
Because if you hold one in your hand, it doesn't exactly look like a revolutionary tool.
No, not at all.
It's usually just a tiny black chip with eight metal legs.
It's known as an eight -pin dual inline package, or DIP.
Right, but when you look at a circuit diagram on your page, it transforms into that iconic sideways triangle.
Yeah, the triangle symbol.
And inside that tiny black plastic shell is just a tremendously complex labyrinth of transistors, resistors, and capacitors.
But the true beauty of circuit analysis at this level is that, well, you don't need to care about that labyrinth at all.
We just treat it as a black box, right?
Exactly.
We treat the op -amp as a single functional building block.
It's an active circuit element specifically designed to perform math, you know, addition, subtraction, integration.
Oh, which is why they're called operational amplifiers.
They do mathematical operations.
You got it.
But to make it perform that math, you have to wire it up correctly.
Out of the eight pins on that physical chip,
only five actually matter for our analysis.
Right, so let's map those to the triangle symbol you'll see on your exams.
On the flat side of the triangle, you've got two input pins.
The inverting input, which is marked with a minus sign, and the non -inverting input marked with a plus sign.
And then on the pointy end of the triangle, you just have a single output pin.
And finally, you have two power supply pins, a positive voltage supply plus VCC and a negative voltage supply minus VCC.
Which usually raises an important question for people, like, why do we need power supply pins at all?
Yeah, I remember wondering about that when I first saw these diagrams.
If we're feeding a signal into the inputs and getting a signal out, what is the power supply actually doing?
Right.
Like, say you're building a wearable health monitor.
You take a microscopic voltage from a heartbeat sensor on your skin.
You feed it into the op amp, and the output is this massive, readable voltage.
Where does that extra energy come from?
Yeah, it definitely can't just materialize out of thin air.
Wait, does it create energy?
Because that breaks, like, all the laws of physics.
No, definitely not.
The op amp is an active element.
Think of it kind of like a massive water valve.
That tiny heartbeat signal you feed into the input isn't providing the power.
It's just the hand turning the valve.
Exactly.
The actual rushing water, the heavy current that drives the output that comes directly from those power supply pins.
Ah, so it's pulling energy from an external battery to create the amplified output signal.
Correct.
And for you analyzing these circuits, this is a crucial point regarding Kirchhoff's current law, or KCL.
Because in a lot of simplified textbook diagrams, they simply erase the power supply wires, right?
Just to keep the drawing clean.
Yeah.
They just draw the triangle.
But you must never forget, they are physically there.
The current flowing out of the output pin is not magically appearing from the input pins.
It's being drawn straight from those hidden power supplies.
So KCL has to account for those currents if you look at the whole op amp.
Exactly.
So let's look at the mathematical mechanics of that amplification.
The textbook provides this simplified equivalent circuit for the inside of the op amp.
Right, the one with the huge input resistance, Ri, and the tiny output resistance, Ro.
So mechanically, it senses the voltage difference between the two input pins.
It literally takes the voltage at the non -inverting pin, V2, subtracts the voltage at the inverting pin, V1, and looks at that tiny difference, Vd.
And then it acts as a voltage controlled voltage source.
It multiplies that difference by its open loop gain, which we call A, to get the output voltage.
And that open loop gain is staggering.
A typical cheap op amp has a built -in multiplier of like a hundred thousand to a hundred million.
But hold on.
If the gain is a hundred thousand and I have just a simple one volt difference between my two input pins, the op amp wants to output a hundred thousand volts.
The battery running my health monitor is only like nine volts.
Yeah.
And that brings us to the hard wall of physical reality saturation.
An op amp can never, ever output a voltage higher than the positive power supply it's connected to.
Or lower than its negative power supply.
Right.
So if your battery is nine volts, your output is strictly trapped.
The math might demand a hundred thousand volts, but the op amp will just slam into that nine volt ceiling and stay there.
Which you call positive saturation.
Exactly.
But for all of the circuit analysis we're about to do, we assume the op amp is operating in the linear region, meaning the output is safely hovering between the power supply limits.
Even in the linear region, though, dealing with numbers like a hundred million for gain makes the circuit math brutal.
Oh, it's tedious.
There's an example in the text, example 5 .1, where they calculate a circuit using all those massive non -ideal numbers.
You have to juggle complex fractions and the final gain comes out to something like 9 .00041.
Yeah.
But right after that, in example 5 .2, they apply a shortcut called the ideal op amp model to the exact same circuit, and the answer is just exactly 9.
The error is practically nonexistent.
Right, which is amazing, so we just use the ideal model instead.
Always.
Modern op amps are so well engineered that we can just pretend their internal parameters are absolute infinity.
We assume the open loop gain is infinite, and we assume the input resistance is infinite.
And by making those assumptions, all of that miserable, tedious algebra just evaporates.
We are left with two absolute unbreakable foundational rules.
The two golden rules.
Yes.
If you internalize these two golden rules, you can decode basically any op amp circuit thrown at you.
Well, let's lay them out for the listener.
Golden rule number one, zero current flows into the input terminals.
Right, because we assume the op amp has infinite input resistance, ri.
It acts like a brick wall.
So for your nodal analysis, you treat the input pins as perfect, open circuits.
Not a single electron of current enters the inverting or non -inverting terminals.
I1 equals zero, and I2 equals zero.
Perfect.
And golden rule number two, there is zero voltage difference across the input terminals.
Meaning the voltage at the inverting terminal is strictly forced to equal the voltage at the non -inverting terminal,
V1 equals V2.
You basically treat it like a short circuit for voltages.
Exactly right.
So what does this all mean?
The textbook says this happens because the gain is infinite, but mechanically, how does that actually force the voltages to match?
It happens through the magic of negative feedback.
Remember, the op amp wants to multiply any difference at the inputs by a hundred million.
Right.
If the non -inverting input is even a fraction of a microvolt higher than the inverting input, the output voltage shoots toward positive saturation.
But in most circuits, we physically wire the output back to the inverting input through a resistor.
Ah, the feedback resistor.
Yes.
So as the output shoots up, it drags the inverting input's voltage up with it.
The moment the inverting input's voltage exactly matches the non -inverting input's voltage, the difference becomes zero.
And the op amp stops swinging and stabilizes.
Exactly.
It all happens at the speed of light.
The op amp automatically adjusts its own output to continually squash the input difference to zero.
I love visualizing this.
I tell people to imagine the input terminals are guarded by the world's most intense VIP bouncer.
A bouncer.
Okay.
I like that.
Yeah.
That bouncer represents the infinite input resistance.
Absolutely zero current is getting past the velvet rope into the op amp.
But simultaneously, there is a magical, perfect mirror strung between the two inputs.
Ah, to reflect the voltage.
Right.
Whatever voltage level appears on the non -inverting side is instantly reflected, and the op amp forces that exact same voltage to appear on the inverting side.
The bouncer stops the current, the mirror matches the voltage.
That is a great analogy.
And if we connect this to the bigger picture, you now have everything you need to analyze the standard configurations, starting with the inverting amplifier.
Let's go back to our wearable health monitor example.
We have a weak heartbeat signal, and we need to make it bigger.
So for an inverting amplifier setup, the non -inverting input, the plus pin, is grounded.
It's tied to zero volts.
Okay.
Then we take our weak heartbeat signal, push it through an input resistor, R1, and connect it to the inverting input.
And finally, we take a feedback resistor, RF, and bridge it from the output pin back to that same inverting input.
Let's trace the logic using KCL.
Let's do it step by step.
The non -inverting pin is grounded, so it's at zero volts.
Right.
And because of our mirror rule, the golden rule, the op -amp forces the inverting pin to also be zero volts.
We call this a virtual ground.
Because it isn't actually wired directly to the earth, but it behaves exactly like it is zero volts.
Exactly.
Now apply KCL at that virtual ground node.
Your heartbeat signal is a positive voltage pushing current through the input resistor, R1, toward the node.
And where does that current go?
The bouncer rule says it cannot enter the op -amp.
So the current hits the node and has to, like, turn the corner and flow entirely through the feedback resistor, RF, toward the output.
And here's the beautiful mechanical balancing act.
For that current to flow through the feedback resistor, the output pin actually has to drop to a negative voltage to pull the current along.
It's a tug of war.
The input signal pushes current in, and the op -amp's output drops negative to build that exact same current out, maintaining the node perfectly at zero volts.
Yes.
And this yields the famous equation for the inverting amplifier.
The gain is simply negative RF divided by R1.
Notice how the gain depends only on the external resistors.
If your feedback resistor is 10 times larger than your input resistor,
the op -amp has to swing its output 10 times as hard to pull the same amount of current.
Your gain is 10.
But the negative sign means the polarity is flipped.
A positive heartbeat peak becomes a negative output trough.
That's why it is an inverting amplifier.
But what if you don't want your signal flipped upside down?
Then you build a non -inverting amplifier.
The setup changes.
You feed your heartbeat signal directly into the non -inverting input.
Okay, so the mirror rule forces the inverting input to rise to match that heartbeat voltage, BI.
Right.
Then you use a resistor network connected to ground to force the output to scale upward.
KCL at the inverting node gives a positive gain of 1 plus RF divided by R1.
The math works out so the output is always a positive multiple of the input.
But there's a fascinating edge case of the non -inverting setup.
What if we remove the R1 resistor, so it's infinite, and we make RF0, just a plain wire?
Connecting the output directly back to the inverting input.
Right.
By the math, the ratio is 0, and the gain becomes exactly 1.
The output voltage flawlessly mimics the input voltage.
It's called a voltage follower.
It is.
So what does this all mean?
Honestly, why go to the trouble?
Why power up an amplifier just to multiply a signal by 1?
Because of the bouncer.
Remember, the input resistance of an op -amp is practically infinite.
A delicate heartbeat sensor placed on the skin can generate a voltage, but it cannot provide any meaningful current.
Oh, I see.
If you connect that sensor directly to a processing chip, the chip will try to draw current, and the delicate sensor voltage will completely collapse.
What it did now?
Exactly.
So you place a voltage follower in between them.
The follower reads the sensor's voltage without drawing any current from it whatsoever.
Right.
Because of the infinite input resistance.
Then the follower uses its own power supplies to generate an incredibly strong, identical voltage on its output pin.
It acts as an electrical buffer.
It perfectly isolates the fragile sensor from the heavy demands of the rest of the circuit.
Wow.
It's basically an electrical bodyguard.
Okay, so we've scaled signals up, and we've buffered them.
But our heartbeat signal, even amplified, is probably a mess, right?
What do you mean?
Well, your body acts like an antenna.
It picks up the 60 hertz electromagnetic hum from the lights and wiring in whatever room you're standing in.
Oh.
So our signal isn't just a heartbeat.
It's a heartbeat riding on top of a massive wave of electrical noise.
Ah, yes.
To solve that, we use a difference amplifier.
Instead of amplifying a single signal against ground, this circuit takes two separate input signals and amplifies only the difference between them.
Here's where it gets really interesting.
If you place two sensor pads on your chest, both pads act as antennas.
Both pads pick up the exact same 60 hertz hum from the room lights.
That hum is common to both inputs, but the actual heartbeat voltage is slightly different at pad A than it is at pad B.
So when you look at the KCL at both input nodes,
if the resistor ratios are matched, meaning R2 over R1 equals R4 over R3, the math simplifies beautifully.
The output is proportional strictly to V2 minus V1.
Exactly.
It subtracts the signal at pad A from the signal at pad B.
The 60 hertz hum minus the exact same 60 hertz hum equals zero.
The noise is completely rejected.
But the heartbeat at pad A minus the heartbeat at pad B leaves you with a clean, isolated electrocardiogram signal.
This property is known as common mode rejection, and it is the only way we can measure delicate signals in noisy real -world environments.
That is just brilliant.
It's like active noise cancellation for raw electricity.
But what if we want to add signals together instead of subtracting them?
Well, then we can use a summing amplifier.
The summing amplifier is just a variation of the inverting amplifier.
Instead of one input path, you have multiple input pads, V1, V2, V3 each with its own resistor.
And they all meet at the inverting node.
Right.
Because that node is held at a virtual ground of zero volts, the currents from all the different inputs simply flow to the node and add together.
It's like multiple streams pouring into a single river.
They all meet at the virtual ground.
And because of the bouncer rule, none of that combined current can enter the op -amp.
It all has to flow through the single feedback resistor.
So the output voltage becomes an inverted, blended, weighted sum of all the inputs.
Oh, wow.
So if you need to mix audio channels on a soundboard or add a constant DC voltage to shift a signal up or down, the summing amplifier does the math physically.
And this leads us to how engineers actually design complex systems.
Individual math operations are useful, but real engineering involves chaining them together to form cascaded circuits.
Connecting the output of one op -amp stage directly into the input of the next.
Right.
A wearable health monitor doesn't just use one op -amp.
It uses dozens.
And the beauty of cascading is that because op -amps have that buffer property we talked about, infinite input resistance and zero output resistance, the stages don't interfere with each other.
So if you have an initial stage with a gain of 10 fed into a second stage with a gain of 5, the total overall gain of your system is simply the product.
It's just 50.
The math is beautifully straightforward, though you do have to be careful not to let your cascaded gain multiply so high that you hit your power supply saturation limit.
Saturation is the silent killer in cascade design.
Definitely.
Also, just a quick note for anyone simulating these cascaded circuits in software programs like PSPICE.
Oh, yeah.
This is important.
While your hand calculations use the ideal model, PSPICE uses realistic non -ideal models.
If you do not physically wire up the DC power supply connections in the software, the simulation will completely fail to run.
Good practical tip.
Let's look at a real -world cascade that is arguably the most important circuit in modern measurement, the instrumentation amplifier, or IA.
The MVP of medical and process control measurement.
We talked about how great the difference amplifier is for rejecting that 60 Hertz room hum.
But the basic difference amplifier has a fatal flaw, doesn't it?
It does.
To maintain that perfect subtraction and reject the noise, the resistors in the difference amplifier must be matched with absolute mathematical precision.
And if you want to change the gain, say, you want to amplify the heartbeat 50 times instead you would have to manually adjust two separate microscopic resistors simultaneously, keeping them perfectly balanced.
Which is practically impossible to do with physical dials.
Enter the instrumentation amplifier.
It solves this by cascading three op amps together.
Right.
The first stage uses two op amps to buffer the incoming signals from the two chest pads, which prevents any loading of the sensors.
Then the outputs of those buffers feed into a third op amp, which is wired as a standard difference amplifier.
But what's fascinating here is the sheer genius of the wiring between those first two buffer op amps.
They are cross -connected by a specific resistor network.
And because of the way the currents interact in that first stage, the entire massive gain of the system can be adjusted by swapping out just one single external resistor, RG.
Just one.
You don't have to perfectly balance multiple dials.
You just turn one knob to change that single resistor and you can sweep the gain without ever messing up the delicate noise -rejecting balance of the final difference amplifier.
That is exactly why it's the MVP.
High input resistance, perfect noise rejection, and easily adjustable gain.
Exactly.
Now, once you have used your instrumentation amplifier to capture and clean that heartbeat, you have a perfect continuous analog voltage wave.
But your smartphone screen, which is going to display your heart rate, is a digital device.
It only understands computer code ones and zeros.
So we need one final translation.
We need to turn an analog wave into digital bits, or vice versa.
The textbook covers a real -world application for this, the Digital to Analog Converter, or DA.
Oh, like when you listen to a digital audio file?
A D is taking ones and zeros and turning them into an analog voltage that moves the physical magnet in your headphones.
Yes, and a very clever way to build a DAC is using a summing amplifier configured as a binary -weighted ladder.
A binary -weighted ladder.
Yeah.
How does that work?
Let's say your computer outputs a 4 -bit binary number.
You connect those four digital outputs to the four inputs of a summing amplifier.
But here is the trick.
You scale the resistors perfectly.
Oh.
The resistor for the most significant bit lets a specific amount of current through.
The resistor for the next bit is exactly twice as large, which means it lets exactly half the current through.
And next resistor is twice as large again, letting a quarter of the current through.
So when the computer sends a voltage signal to represent a digital one, that specific branch pushes its mathematically -weighted current into the virtual ground.
And the summing amplifier instantly adds up all those carefully -scaled currents and translates them into a single proportional analog output voltage.
It is a physical embodiment of base -2 mathematics.
Incredible.
So to wrap up our journey through Chapter 5, the operational amplifier might look like an intimidating black box, but for circuit analysis, you really only need to remember the two golden rules of the ideal up -amp.
First, the bouncer.
Zero current enters the input pins.
And second, the mirror.
Negative feedback forces the voltage at the inverting pin to perfectly match the non -inverting pin.
Apply those two rules, run your basic KCL node equations, and the math just solves itself, whether you're doing an inverting amplifier, a voltage follower, or a complex cascade.
It's all just KCL and the golden rules.
Yep.
And I'd like to leave you with something to ponder.
Think back to our wearable health monitor.
Your heartbeat, your body temperature, your nervous system, everything your body does is a continuous, messy, analog reality.
Not a digital one or a zero -in -site?
None.
The physical world speaks analog.
So if you were designing that health monitor from scratch, think about how many different op -amp stages, buffers, difference amps, DACs it would take just to get a clean signal from your pulse to your smartphone screen.
It's a lot of translation.
You are not just solving algebraic node equations, you are literally learning how to translate the messy physical world into signals we can use.
The op -amp really is the bridge.
It absolutely is.
Well, thank you so much for tuning in on behalf of the Last Minute Lecture team.
Good luck on your upcoming circuit analysis exams.
You got this.
ⓘ This audio and summary are simplified educational interpretations and are not a substitute for the original text.
Using this chapter to study? Last Minute Lecture is free and student-run. If it helped, consider supporting the project.
Support LML ♥