Opamp and Filters
Opamp and Filters
2 7
inverting input 6
output
non-inverting input +
3 4
V
2
The ideal op-amp
• Infinite voltage gain
– a voltage difference at the two inputs is magnified infinitely
– in truth, something like 200,000
– means difference between + terminal and terminal is
amplified by 200,000!
• Infinite input impedance
– no current flows into inputs
– in truth, about 1012 for FET input op-amps
• Zero output impedance
– rock-solid independent of load
– roughly true up to current maximum (usually 5–25 mA)
• Infinitely fast (infinite bandwidth)
– in truth, limited to few MHz range
– slew rate limited to 0.5–20 V/s
3
Op-amp without feedback
• The internal op-amp formula is:
Vout = gain(V+ V)
• So if V+ is greater than V, the output goes positive
• If V is greater than V+, the output goes negative
V
Vout
V+ +
4
Infinite Gain in negative feedback
• Infinite gain would be useless except in the self-
regulated negative feedback regime
– negative feedback seems bad, and positive good—but in
electronics positive feedback means runaway or oscillation,
and negative feedback leads to stability
• Imagine hooking the output to the inverting terminal:
• If the output is less than Vin, it shoots positive
• If the output is greater than Vin, it shoots negative
– result is that output quickly forces itself to be exactly Vin
5
Even under load
• Even if we load the output (which as pictured wants
to drag the output to ground)…
– the op-amp will do everything it can within its current
limitations to drive the output until the inverting input reaches
Vin
– negative feedback makes it self-correcting
– in this case, the op-amp drives (or pulls, if Vin is negative) a
current through the load until the output equals Vin
– so what we have here is a buffer: can apply Vin to a load
without burdening the source of Vin with any current!
6
Positive feedback
• In the configuration below, if the + input is even a
smidge higher than Vin, the output goes way positive
• This makes the + terminal even more positive than
Vin, making the situation worse
• This system will immediately “rail” at the supply
voltage
– could rail either direction, depending on initial offset
Vin
+
positive feedback
7
Op-Amp “Golden Rules”
• When an op-amp is configured in any negative-
feedback arrangement, it will obey the following two
rules:
8
Inverting amplifier example
R2
R1
Vin
Vout
+
R1
Vout
Vin +
10
Summing Amplifier
Rf
R1
V1
R2
Vout
V2 +
11
Differencing Amplifier
R2
R1
V
Vout
V + +
R1
R2
12
Differentiator (high-pass)
R
C
Vin
Vout
+
13
Low-pass filter (integrator)
C
R
Vin
Vout
+
14
Reference
•Introductory Electronic Devices and Circuits By
Robert T. Paynter
•Electronics Devoces and Circuit Theory by Robert L.
Boylestad.
15