In this guest video Bob DuHamel from RSD Academy does a follow-up to my opamp tutorial video explaining with a neat visual aid how the virtual ground on an inverting opamp works.
UPDATE: A slightly corrected version is here: https://youtu.be/km6delqG-Dc
Check out his channel here and subscribe:
https://www.youtube.com/channel/UCOausWDNRDJikQ11gSLj7nA
Forum: http://www.eevblog.com/forum/blog/guest-video-bob-duhamel-how-opamp-virtual-grounds-work/'>http://www.eevblog.com/forum/blog/guest-video-bob-duhamel-how-opamp-virtual-grounds-work/
EEVblog Main Web Site: http://www.eevblog.com
The 2nd EEVblog Channel: http://www.youtube.com/EEVblog2
Support the EEVblog through Patreon!
http://www.patreon.com/eevblog
Donate With Bitcoin & Other Crypto Currencies!
https://www.eevblog.com/crypto-currency/
EEVblog Amazon Store (Dave gets a cut):
http://astore.amazon.com/eevblogstore-20
T-Shirts: http://teespring.com/stores/eevblog
๐ Likecoin โ Coins for Likes: https://likecoin.pro/ @eevblog/dil9/hcq3
UPDATE: A slightly corrected version is here: https://youtu.be/km6delqG-Dc
Check out his channel here and subscribe:
https://www.youtube.com/channel/UCOausWDNRDJikQ11gSLj7nA
Forum: http://www.eevblog.com/forum/blog/guest-video-bob-duhamel-how-opamp-virtual-grounds-work/'>http://www.eevblog.com/forum/blog/guest-video-bob-duhamel-how-opamp-virtual-grounds-work/
EEVblog Main Web Site: http://www.eevblog.com
The 2nd EEVblog Channel: http://www.youtube.com/EEVblog2
Support the EEVblog through Patreon!
http://www.patreon.com/eevblog
Donate With Bitcoin & Other Crypto Currencies!
https://www.eevblog.com/crypto-currency/
EEVblog Amazon Store (Dave gets a cut):
http://astore.amazon.com/eevblogstore-20
T-Shirts: http://teespring.com/stores/eevblog
๐ Likecoin โ Coins for Likes: https://likecoin.pro/ @eevblog/dil9/hcq3
Hello Dave I'm making this video in response to your video on operational amplifiers, particularly on the section on inverting amplifiers where you said people become confused because of the signal at the input to the amplifier. This seems to disappear at the virtual ground. I Think the confusion happens because people see that we have an input at this point here. but by the time we get to the amplifier, it's zero volts and the other input is also zero volts.
So the inputs to the amplifier are always zero. So how on God's green earth can an input here be having any effect on the output if the two inputs to the amplifier are always zero volts? Let me give a quick explanation about how operational amplifiers work before: I Move on. As you said very well, in your video, the operational amplifier will change its output voltage to whatever voltage it takes within the limits of the circuit to make the two input voltages equal. In the case of the inverting amplifier, we take the non-inverting input of the Op amp and tie it to ground.
The ground is by definition, zero volts and it will remain zero. No matter whatever else happens to the circuit. The operational amplifier will adjust its output to whatever voltage it takes to make the inverting input also zero volts. And so we call this inverting input a virtual ground.
Now, when we look at this ground and this virtual ground, it's important to remember that zero volts is not the absence of voltage here. I have for five volt batteries, giving us a total of 20 volts from here. to here. Now let me use these pins as a virtual voltmeter.
and if I put my voltmeter like this, of course I will read 20 volts if I do like that 5 volts, 5 volts, 5 volts, and 5 volts. If I put my volt meters like this once again have 5 volts now 10 volts, 15 volts, and 20 volts. But what if I put the black lead of my voltmeter right here, then if I take the red lead and I put it here I will measure positive 10 volts, positive 5 volts, zero volts, - five volts and - ten volts. So my zero volts simply depends on where I put the black lead of my volt meter when I'm measuring my voltage and if I decide that I'm going to measure all of my voltages.
From this point here, this becomes my ground and so now my ground is not my lowest voltage, but it's between my lowest voltage and my highest voltage. So I have voltage is higher than ground and I have voltages lower than ground. So I have positive voltages and I have negative voltages. So zero volts is not the absence of voltage.
Here my zero volts is ten volts above my lowest possible voltage and as 10 volts below my highest possible voltage. So in our typical Op Amp circuit, we are going to put our ground in the middle of our stack of batteries or stack of power supplies. We don't have to, but this is the way we typically do it. And so we measure our voltages.
Some are positive and some are negative with zero in the middle. Voltage like altitude is a type of potential energy and so altitude can represent voltage. We have zero volts on up to 25 volts on the side of my building. I Have my black lead of my voltmeter here that I can use to set my ground point and wherever I put this becomes my actual zero volts for the circuit. This ruler represents the resistors in the circuit right now. I have equal space on the sides of my marker here, which means that my resistors are equal. So we have a circuit with equal resistors in the feedback loop. Now if my lovely assistant will come here now.
she is the brains of the operational amplifier. Her job is to move the output voltage up or down to whatever voltage it takes to keep this centered on my zero volts. There is nothing to anchor this except her moving her output and I will be moving the input to wherever I need to because I am the input signal and she is the output signal of the amplifier. So I'm going to put my black lead of my Voltmeter at some arbitrary point like right there it says 15 volts.
But now this is my new zero volts because zero is wherever you put the black lead of your volt meter. So now this becomes one, Two, Three, Four, Five Volts, Six, Seven, Eight Nine ten. this becomes - One, two, three, Four, - Five, Six, Seven, Eight, Nine, Ten - Ten, and so forth. So we're going to put the middle of the ruler at the zero point level I am going to increase my input signal and she will compensate to make sure that that stays centered on zero volts.
So here we go and there's no fulcrum there other than the Op-amp changing its output voltage. So now if I decrease my voltage, it the Op-amp increases the voltage to make sure that the input stays or the in or the virtual ground stays at that zero volts. Right now, it's like DC it's a steady voltage. But if I continually move this up and down, it becomes like alternating current.
and no matter where I move it, she compensates to keep the middle at zero volts. So if I go down to minus 10 volts, she goes up to plus 10 volts. And that's what the inverting amplifier does. If your two resistors are equal, the output voltage will be the same as the input voltage, but the opposite polarity.
Notice that our polarity is not an opposite type of voltage, but just a difference in the voltage itself. So a positive voltage is merely above zero, and a negative voltage is merely below zero. So I'm going to negative ten She goes to positive 10 I moved back up to positive 10. She goes down to negative 10 to compensate.
Now she's not interested in her output voltage, only in keeping this at the zero. Now if I move my middle here. this is like changing the ratio of our resistors. Let me move this over.
Now this is like having the main feedback resistor larger than the resistor on the input. and so now we put that at the ground and as I move it I'm gonna move it to +2 volts and notice she had to put the output to plus 2 minus 1, 2, 3, 4, 5 minus 5 volts to compensate. and as I move this down, she has to move up to compensate and notice that she's making a bigger movement than I am because the feedback resistor is bigger than the input resistor and so the higher the ratio between the two resistors, the more she has to move her out. but to compensate. So now we have amplification I make a small input change and she has to make a large output change to compensate, always making sure that the junction between the two resistors which is at the virtual ground is at the same place. So as this voltage increases, it does increase the voltage at this point. but then the Op-amp reacts by decreasing this voltage to make sure that this voltage stays equal to that voltage or zero so this is not 0 volts because it is tied to this voltage. It's 0 volts because the output of the amplifier constantly reacts to changes over here to make sure that this stays at the same voltage.
If these two resistors are equal, then if this voltage goes up, this has to compensate by going down the same amount. But if this resistance is higher than that resistance, for example, we have twice the resistance here as we have here. Now, the output will have to compensate by changing the voltage twice as much. So if this goes up one volt, this voltage will have to go down two volts.
If this voltage goes down one volt, this voltage will have to compensate by going up two volts all in order to keep this at zero volts. So the confusion appears to come from the fact that in an inverting amplifier, the two inputs appear to have no voltage in there. There appears to be no input even though I have 5 volts here and minus five volts out here. there's nothing at the inputs for the Op-amp so that can be confusing to some people.
But remember that zero volts is not the absence of voltage, it is merely the voltage where we have put the black lead of our volt meter. In this case, we have 20 volts worth of batteries and the black lead is in the middle. So there's our zero volts. and we have plus 10 and minus 10 if we move the black lead down to here.
Now this is zero volts and we have plus five, plus 10, plus 15 and plus 20 and it changes all the voltages on our Op-amp circuit to where now our two inputs are at. Plus ten volts and this is plus 15 and this is plus five volts. This is probably confusing and that's why we don't do our amps this way, and we usually use Op Amps in places where it makes sense to have both positive and negative voltages. So this is not a good place to designate as our ground or our zero volts.
So let's move the black lead back here. Make that our zero volts make that our ground. And now things make a lot more sense. We have positive 5 volts here.
Negative 5 volts Here, The Op Amp is doing about Op amps always do it's adjusting its output voltage to whatever it takes within the parameters available to make the two input voltages equal. Now, those two voltages happen to be zero volts. but that's not because there's nothing there, it's simply the same voltage or the black lead happens to be. So thanks for watching and thanks for your video! Dave It's one of the better videos I've seen on operational amplifiers on the internet, but even you said people get confused about the voltages seeming to disappear when they get to the Op amp. so hopefully this cleared it up for some people. Hello Dave I'm good golly.
TRUTH is that anthropomorphizing such concepts is an issue. An opamp only outputs the diff between input terminals.
Wonderful demonstration ๐
Why on green Earth I find this video this much lately. Amazing demonstration ๐คฉ
Really hope Bob can get RSD Academy back on youtube!
Hi Mrs. Duhamel!
Thanks for this, Dave. Bob is a treasure, who got screwed by yt!
Brilliant video. Explains it so well!
Why are all these explanations made so overly complicated ? They all highlight very specific cases. Alter the question a bit and nobody can figure it out anymore. Virtual ground .. there is no such thing as virtual ground. What if the + input is at 1 volt ? Confusion all over. The explanation for inverting does nto work for non-inverting or differential. They are all unique cases with simplifications that hide the real operation.
There is only two things you need to remember about an (ideal) opamp : 1) It wants to see the both inputs at the same level. The output will do whatever it can to get there. 2) the inputs of an opamp do not take or give current (again, ideal opamp). Let's take the inverting circuit. R1 is from signal source to the – input. R2 is from output to – input. Doesn't matter what the+ input is connected to. Let's set it to 0 volt. So rule 1: says the opamp wants to see both inputs at the same level . That means it wants to see 0 there as well. The source applies 1 volt. That means there is 1 volt across R1. ! volt to the left, 0 volt to the right. That gives a current of 1volt/R1. We know the inputs of an opamp do not take current, so the current can only go through R2 to output. Take that same current going through r1 and multiply it by r2. That gives you the voltage across r2. You can now calculate the output voltage of the opamp using a simple subtraction.
If i put the + input at 0.5 volts the same rule still works. Vin – V(-input) / R1 = current through R1. That current x R2 = voltage across R2. V(-input)+V(r2) = output voltage.
The same is applicable for the non-inverting opamp. The + input wants to be equal to the – input. if i put 1 volt at the – input , the opamp want 1 volt at the + input. Find the current through one resistor and multiply it by the value of the other resistor and you have your answer.
Differential amplifier ? Same deal. Find the current , multiple by resistor value. It is as simple as that. Ohms law is all you need.
Want to do it for AC ? have capacitors in there ? Treat your resistors as impedances. Doing that by hand gets tedious because you have to sweep frequency and amplitude and take into account phase shift : send it to the computer. it can do the monkey work.
Thanks for the good work, it was very helpful. If I understand correctly, there is a power supply with a + and 0 voltage and in the middle let's say between two resistors which are in series connected to the + and 0 of the power supply a virtual 0 volt, and from here on you use the virtual 0 volt as ground through the whole circuit. Please let me know if I 'm wrong.
Uh oh. his PFP on the account is gone. Hope things are okay
Great job Bob. That's the most intuitive description I've ever seen of off amp
Excellent demonstration!!!
A nice understandable explanation of virtual grounding โค
It makes sense now. Thank you for demonstration
Best operational description ever, on VG-OP Amp for that fact best ever on any voltage compensation regulating amplifying component. This was great even for those that do have a good understanding of the function of a VG circuited OP Amp. Feel free to create more content.
With great understandable content like this. If you not already, you could become a heavy hitter in the electronic educational YT world.
For me personally, I had a good understanding of how the VG worked understanding it was not a true zero and that input and output fluctuated to maintain virtual (0) volts.
However, your demonstration truly took my knowledge on this topic and created a deeper understanding that could also be visualized. That makes it unforgettable. Great video!
Student From India ๐ฎ๐ณ
Where where you when I was in college struggling!!!!!
Bob, you are an excellent teacher. It is a rare gift and you have it.
This pretty much nails it!
Is Op-Amp deliberately designed to make it's both inputs equal?