Michael said:
This has been bothering me for a while now... How exactly does an op-
amp work? I mean - I know what they do as a block unit, and how to use
them in many useful ways - but how do they actually accomplish what
they accomplish? In textbooks they always say that they just amplify
the difference between their two terminals - but that can't be it
completely... I mean if you are using an op-amp as a buffer (V+ = Vin,
Vout = V-), and let's say it's doing it's job so V+ = V- = Vout = Vin.
But V+ - V- = 0, so shouldn't the op-amp be outputting 0, instead of
Vin? Then when it started outputting 0, it'd try to amplify the
difference and would just oscillate back and forth. So - what am I
missing here?
Actually that is exactly what it does and the only thing your missing is the
other part of the circuit that is "connected" to the op amp.
So if you ground one of the inputs to the opamp then the other must be
ground to(approximately of of course). But Vout isn't 0.
V out is determined by the output of the op amp + the feedback. V- is
usually not Vout except in a buffer configuration.
Ok, heres the deal about op amps. They let you specify a voltage at a
particular point in a circuit by another voltage. In a sense you can program
a voltage.
Your basic inverting amplifier configuration is just a voltage divider. But
guess what? By using an op amp to program the voltage inbetween you get to
set it to 0, for example, to make solving the equation for the circuit very
simple.
basically you have
VI ---R1---x----R2---VO
Now because we don't know what VO is we can't solve this. i.e., it makes no
sense.
But if, say, we know what x is, then we can easily solve it....
i.e.
(x - VI)/R1 = (VO - x)/R2
and we can solve for VO.
The op amp supplies us x. If we make it 0 then guess what?
-R2*VI/R1 = VO
is just our basic inverting amplifier configuration.
But its not that simple. What if we just grounded the point at x to get 0
volts?
Then we have the same equations above. Whats the difference?
With an op amp we are able to get drive to drive the following stages. By
grounding it we cannot. This is why VO is hooked up to the output of the op
amp. So we get VO but with variable current instead of fixed. (The op amp
acts as a voltage source in this case with VO sorta "programming the
voltage" or a current source that adds to the current at VO)
Thats why op amps are so nice. They let us "insert" specific voltages in
parts of the circuit so we can solve it very easily and they supply all the
drive we need(up to a point).
This is just one point of view though and doesn't explain the internals.
But thats probably not all that important at this point and if your
interested in that then you probably need to ask specifics about it and look
it up in a book. The basics are not hard though and its essentially just a
differential amplifier and current source with a bunch of cool tricks to
make it work very well. (such as current mirrors, active resistors, etc...
AOE deals with all those tricks and stuff and is a good book if your
interested)
In some sense an op amp is sorta like an "active zener". It fixes a
voltage(although which may be varying) and supplies current to drive the
output. I suppose this is an oversimplied view but works in explaining all
the basics.
Jon