Set 15 — Operational Amplifier Circuits
An operational amplifier is a voltage-controlled voltage source with enormous gain, and every circuit here could be solved by the nodal analysis of Set 6 with that dependent source written out. In practice nobody does, because the gain is large enough that two approximations — no current into the inputs, no voltage between them — collapse the algebra to a line or two. This set derives those approximations rather than asserting them, works the standard configurations, and then asks what the idealisation costs: finite gain, finite bandwidth, finite slew rate and non-zero offsets each set a limit that the ideal model cannot see.
The ideal model. Open-loop gain \(A \to \infty\), input resistance \(\to \infty\), output resistance \(\to 0\). The device itself is a VCVS: \(v_o = A(v_+ - v_-)\).
The two golden rules, valid only with negative feedback and only while the output is unsaturated:
\[ i_+ = i_- = 0 \qquad\text{and}\qquad v_+ = v_- \]The second rule is a consequence, not an assumption. A finite output demands \(v_+ - v_- = v_o/A \to 0\) — Problem 2.
Method: apply KCL at the inverting node, using \(v_- = v_+\) and taking no current into the op-amp. One equation usually suffices.
Never apply KCL at the output node unless you are prepared to carry the unknown current the op-amp supplies. That current is whatever the output needs it to be.
Check saturation afterwards. If the computed \(v_o\) exceeds the supply rails the linear solution is invalid and the output simply sits at a rail — Problem 13.
An op-amp has its non-inverting input grounded, a 10 kΩ resistor from the source \(v_{in} = 0.4\ \text{V}\) to the inverting input, and a 50 kΩ feedback resistor from the output back to that same node. Find the gain, the output voltage, the current drawn from the source, and the resistance the source sees.
Apply the two rules. The non-inverting input is grounded, so \(v_+ = 0\), and the virtual short gives
The inverting node sits at zero volts without being connected to ground — a virtual ground. Nothing holds it there but the feedback.
KCL at the inverting node, remembering that no current enters the op-amp:
The source current. The source sees 10 kΩ to a node held at 0 V, so
and since none of it enters the op-amp, all 40 µA continues through the feedback resistor: \(v_o = 0 - (40\ \mu\text{A})(50\ \text{k}\Omega) = -2\ \text{V}\;\checkmark\)
The input resistance is therefore just
— a genuine drawback of this configuration. The source is loaded by \(R_1\), and raising \(R_1\) to reduce the loading also reduces the gain unless \(R_f\) rises with it.
Where the output current comes from. The op-amp supplies whatever the feedback resistor and any load demand. That current does not appear in the KCL above, which is why the equation was written at the inverting node and not at the output.
Solve Problem 1's circuit exactly, treating the op-amp as a VCVS of finite gain \(A\). Show that the ideal result is the limit as \(A \to \infty\), and tabulate the error for realistic values of \(A\).
The exact model. The op-amp is a dependent source of exactly the kind Set 6 handles:
so \(v_- = -v_o/A\), which is not assumed zero.
KCL at the inverting node, still with no input current:
Substituting \(v_- = -v_o/A\) and collecting terms:
The extra term in the denominator is the entire departure from ideal. As \(A \to \infty\) it vanishes and the gain becomes \(-R_f/R_1\).
Evaluating for \(R_1 = 10\ \text{k}\Omega\), \(R_f = 50\ \text{k}\Omega\):
| \(A\) | Actual gain | Error from \(-5\) |
|---|---|---|
| \(10^2\) | −4.71698 | −5.66% |
| \(10^3\) | −4.97018 | −0.596% |
| \(10^5\) | −4.99970 | −0.0060% |
| \(10^6\) | −4.99997 | −0.0006% |
A typical general-purpose op-amp has \(A \approx 10^5\) at DC, so the ideal answer is wrong by six parts per hundred thousand — far below the tolerance of the resistors themselves.
How small is the input voltage difference? With \(v_o = -2\ \text{V}\) and \(A = 10^5\):
Twenty microvolts, against a 400 mV input — five parts in a hundred thousand. Calling that zero is an excellent approximation, and it is forced by the requirement that the output remain finite.
The logic worth internalising. The virtual short is not a property of the op-amp; it is a property of the op-amp with negative feedback and an unsaturated output. Remove the feedback, or drive the output to a rail, and \(v_+ - v_-\) is free to be large — which is exactly what Problems 13 and 15 exploit.
The source drives the non-inverting input directly; a 10 kΩ resistor runs from the inverting input to ground and a 40 kΩ feedback resistor from the output to that node. Find the gain for \(v_{in} = 0.6\ \text{V}\), and compare the configuration with the inverting one.
The virtual short now places the input voltage on the inverting node:
KCL at the inverting node. The two resistors form a divider from \(v_o\) to ground, tapped at \(v_-\), and no current is drawn from the tap:
An equivalent reading. The output drives a divider whose tap must equal \(v_{in}\):
The output does whatever it must to make the divider output match the input — which is a useful way to see every negative-feedback circuit.
Comparing the two configurations:
| Inverting | Non-inverting | |
|---|---|---|
| Gain | \(-R_f/R_1\) | \(1 + R_f/R_1\) |
| Sign | Inverts | Preserves |
| Minimum gain | 0 (with \(R_f \to 0\)) | 1 — cannot attenuate |
| Input resistance | \(R_1\) — loads the source | Very large — Problem 11 |
| Inverting node | Virtual ground, fixed at 0 V | Sits at \(v_{in}\) — moves with signal |
| Suits | Summing, virtual-ground applications | Buffering high-impedance sources |
The gain of 1 is a hard floor. Since \(R_f/R_1 \ge 0\) for real resistors, a non-inverting stage can never attenuate. Attenuation requires either the inverting configuration or a divider before the input.
A sensor of 100 kΩ internal resistance produces 2 V and must drive a 10 kΩ load. Find the voltage delivered directly, then with a unity-gain buffer between them, and explain why a gain of one is worth a component.
Direct connection. The sensor and load form a divider:
Nine-tenths of the signal is lost inside the sensor — and the error depends on the load, so it changes whenever anything else is connected.
The buffer is the non-inverting amplifier of Problem 3 with \(R_f = 0\) and \(R_1 = \infty\):
The output is simply connected back to the inverting input, so \(v_o = v_- = v_+ = v_{in}\).
With the buffer inserted. Its input draws no current, so the sensor is unloaded:
The full signal reaches the load — an elevenfold improvement from a device with a gain of one.
What the buffer actually provides is not gain but isolation:
| Quantity | Direct | Buffered |
|---|---|---|
| Voltage at the load | 0.182 V | 2.00 V |
| Current drawn from the sensor | 18.2 µA | ≈ 0 |
| Power drawn from the sensor | 3.3 µW | ≈ 0 |
| Sensitivity to load changes | Strong | None |
The output current now comes from the op-amp's power supply rather than from the sensor. Energy is not created — it is simply drawn from a different place.
The general principle. Set 13, Problem 18 established that a voltage source should see \(R_L \gg R_{TH}\). A buffer makes that true by construction, whatever the real load is — and it makes each stage of a cascade independent of the next, which is what Problem 7 relies on.
Three sources feed an inverting amplifier through separate resistors: \(v_1 = 1\ \text{V}\) through 10 kΩ, \(v_2 = 2\ \text{V}\) through 15 kΩ, and \(v_3 = -3\ \text{V}\) through 30 kΩ. The feedback resistor is 30 kΩ. Find \(v_o\), and explain why the inputs do not interact.
KCL at the virtual ground, where every input resistor terminates:
Substituting:
Why the inputs do not interact. Every input resistor terminates on a node held at exactly 0 V, whatever the other inputs are doing. So the current each source delivers,
depends only on that source and its own resistor. The currents then simply add at the node — which is what makes the circuit a true summer rather than an averager.
Compare with resistors meeting at an ordinary node. There the common voltage would depend on all three sources, each source's current would depend on the others, and the result would be Millman's weighted average (Set 14) rather than a weighted sum. The virtual ground is what breaks the coupling.
Two standard specialisations:
| Choice | Result | Use |
|---|---|---|
| All \(R_k = R_f\) | \(v_o = -\sum v_k\) | Plain adder |
| \(R_k = nR_f\) for \(n\) inputs | \(v_o = -\frac1n\sum v_k\) | Averager |
| \(R_k \propto 2^k\) | Binary weighting | Digital-to-analogue converter |
The last is the weighted-resistor DAC, and it is the reason the R–2R ladder of Set 10, Problem 17 exists — matching resistors in a binary sequence is far harder than matching two values.
A difference amplifier has \(R_1 = R_3 = 10\ \text{k}\Omega\) and \(R_2 = R_4 = 50\ \text{k}\Omega\), with \(v_1\) through \(R_1\) to the inverting input and \(v_2\) through \(R_3\) to the non-inverting input, which also has \(R_4\) to ground. Derive \(v_o\), evaluate it for \(v_1 = 1\ \text{V}\) and \(v_2 = 1.5\ \text{V}\), and find the CMRR if \(R_4\) is 1% high.
Superposition is the cleanest route (Set 11), since the op-amp is linear.
a\(v_1\) alone, with \(v_2\) grounded. Then \(v_+ = 0\) and the circuit is Problem 1's inverting amplifier:
b\(v_2\) alone, with \(v_1\) grounded. The divider sets \(v_+\), and the stage is non-inverting for that voltage:
Adding, and imposing the matching condition \(R_4/R_3 = R_2/R_1\):
The common part of the two inputs cancels exactly — but only because the ratios match.
Now break the matching. With \(R_4 = 50.5\ \text{k}\Omega\) the two gains no longer cancel:
Read what that means. Perfect matching gives infinite CMRR; a single resistor 1% out reduces it to 56 dB. A 10 V common-mode signal — mains hum on both leads, say — then appears at the output as
which would swamp a millivolt-level differential signal entirely.
The practical consequence. CMRR is set by resistor matching, not by the op-amp. Achieving 100 dB needs matching to about 0.001%, which is why precision difference amplifiers come as integrated parts with laser-trimmed on-chip resistors rather than being built from discrete components.
An inverting stage of gain \(-4\) drives a non-inverting stage of gain \(+3\). Find the overall gain and the output for \(v_{in} = 0.2\ \text{V}\). Explain why the stage gains simply multiply here but would not for two passive dividers.
The gains multiply:
Why they multiply. An op-amp output is an ideal voltage source — zero output resistance, by Problem 11 almost exactly true. So the second stage's input resistance, whatever it is, does not load the first:
Each stage can be designed in isolation, and the results composed.
Contrast with two passive dividers. Cascade two \(10\ \text{k}\Omega\!/\!10\ \text{k}\Omega\) dividers, each apparently halving:
But the second divider's 20 kΩ loads the first. The first now sees \(10 \parallel 20 = 6.67\ \text{k}\Omega\) in its lower arm, giving \(6.67/16.67 = 0.4\), and the overall ratio is \(0.4 \times 0.5 = 0.2\), not 0.25 — a 20% error.
The general rule:
| Stages separated by | Do gains multiply? |
|---|---|
| An op-amp output (\(R_{out} \approx 0\)) | Yes |
| A buffer | Yes — Problem 4 |
| Nothing (direct passive connection) | No — must account for loading |
Design freedom this gives. A required gain of \(-12\) could be one stage with \(R_f/R_1 = 12\), but splitting it as here keeps both resistor ratios small — easier to match, and, by Problem 17, each stage retains more bandwidth than a single high-gain stage would.
A photodiode delivers 10 µA into the inverting input of an op-amp whose non-inverting input is grounded, with a 100 kΩ feedback resistor. Find the output voltage, and explain why this configuration is preferred to simply passing the current through a 100 kΩ resistor to ground.
All the input current flows through the feedback resistor, since none enters the op-amp:
The transfer function has units of ohms — hence transimpedance, here \(-100\ \text{k}\Omega\).
Why not just use a resistor to ground? That would also give 1 V from 10 µA, but with two serious penalties.
Penalty 1 — the diode's bias changes. With a plain resistor, the diode's terminal voltage swings by the full 1 V of output. A photodiode's junction capacitance depends on that voltage, so the response becomes signal-dependent and non-linear. With the op-amp, the inverting node stays at a virtual ground:
Penalty 2 — speed. The diode's capacitance \(C_d\) with a plain resistor gives a time constant \(R_fC_d\). With \(C_d = 50\ \text{pF}\) and \(R_f = 100\ \text{k}\Omega\):
The transimpedance amplifier holds the diode voltage constant, so its capacitance is never charged by the signal and the bandwidth is set by the op-amp instead.
Penalty 3 — output impedance. The plain resistor presents 100 kΩ to whatever follows and is loaded by it, as in Problem 4. The op-amp output is stiff.
Choosing \(R_f\) is the whole design: it sets the gain directly, so large \(R_f\) gives more volts per amp. The limits are the op-amp's input bias current (Problem 16), which flows through \(R_f\) and appears as an output offset, and the resistor's own thermal noise, which grows as \(\sqrt{R_f}\) while the signal grows as \(R_f\) — so a larger \(R_f\) actually improves the signal-to-noise ratio.
The three-op-amp instrumentation amplifier has two input buffers with cross-coupled feedback resistors \(R_1\) and a gain-setting resistor \(R_g\) between their inverting inputs, followed by a unity difference amplifier. Derive the gain, evaluate it for \(R_1 = 25\ \text{k}\Omega\) and \(R_g = 1\ \text{k}\Omega\), and explain what it fixes about Problem 6.
The first stage. Each op-amp's virtual short puts its input voltage on its own inverting node, so the voltage across \(R_g\) is exactly the differential input:
That same current flows through both \(R_1\) resistors, since no current enters either op-amp input. So the outputs of the two buffers differ by
The second stage is a unity-gain difference amplifier, so
What it fixes. Three things, each a defect of the simple difference amplifier:
| Problem 6's difference amplifier | Instrumentation amplifier |
|---|---|
| Input resistance \(= R_1\), and unequal on the two inputs | Both inputs go straight to op-amp inputs — very high, and equal |
| CMRR set by four matched resistors | First stage has unity common-mode gain, so its matching hardly matters |
| Changing gain requires changing two resistors together | Gain set by \(R_g\) alone |
The second point is the important one. A common-mode signal applied to both inputs appears at both buffer outputs unchanged — no current flows in \(R_g\), so there is no differential drive and the first stage has a common-mode gain of exactly 1. The differential gain is 51. The stage therefore improves the signal-to-common-mode ratio by 51 before the difference amplifier's imperfect matching ever acts on it.
The consequence for CMRR. With the 55.6 dB matching of Problem 6, the overall CMRR becomes
from exactly the same 1%-tolerance resistors. Raising the first-stage gain raises the CMRR proportionally.
A non-inverting amplifier is designed for a gain of 10. Derive the closed-loop gain for finite open-loop gain \(A\), define the loop gain, and tabulate the error for \(A = 10^3, 10^4\) and \(10^5\).
The feedback fraction. The resistor divider returns a fraction of the output to the inverting input:
so the ideal gain is \(1/\beta = 10\).
The exact closed-loop gain. With \(v_o = A(v_{in} - \beta v_o)\):
The second form separates the ideal gain \(1/\beta\) from a correction factor that approaches 1 as the loop gain \(A\beta\) grows.
The fractional error:
| \(A\) | Loop gain \(A\beta\) | \(A_{CL}\) | Error |
|---|---|---|---|
| \(10^3\) | 100 | 9.90099 | −0.990% |
| \(10^4\) | 1 000 | 9.99001 | −0.0999% |
| \(10^5\) | 10 000 | 9.99900 | −0.0100% |
The error is simply the reciprocal of the loop gain, and the closed-loop gain is always slightly low.
Loop gain is the quantity that matters, not open-loop gain. An op-amp with \(A = 10^5\) used at a closed-loop gain of 1000 has \(A\beta = 100\) and a 1% error — the same as a much poorer op-amp used at a gain of 10.
Feedback also desensitises the gain to changes in \(A\). Differentiating,
With \(A\beta = 10^4\), a 50% fall in open-loop gain — common with temperature and between production samples — changes the closed-loop gain by 0.005%. This is the real reason op-amps are usable at all: their open-loop gain is neither accurate nor stable, and feedback makes that irrelevant.
An op-amp has differential input resistance 2 MΩ, output resistance 75 Ω and \(A = 10^5\). Find the input and output resistance of a non-inverting amplifier of gain 10 built with it, and state the general rule.
The loop gain, from Problem 10 with \(\beta = 0.1\):
Input resistance. The voltage across the op-amp's input terminals is only \(v_o/A\), so the current the source must supply is smaller than \(v_{in}/R_{id}\) by the loop-gain factor:
Series feedback raises input resistance. In practice the figure is meaningless — stray leakage and the op-amp's common-mode input resistance dominate long before 20 GΩ — but the conclusion that the source is essentially unloaded is sound.
Output resistance. If the load pulls the output down, the feedback detects it and the op-amp drives harder, opposing the change:
Which is why Problem 7's cascade works and Problem 4's buffer is effective.
The general rule depends on how the feedback is connected:
| Configuration | \(R_{in}\) | \(R_{out}\) |
|---|---|---|
| Non-inverting (series–shunt) | \(R_{id}(1+A\beta)\) — raised | \(R_o/(1+A\beta)\) — lowered |
| Inverting (shunt–shunt) | \(\approx R_1\) — set by the resistor | \(R_o/(1+A\beta)\) — lowered |
Voltage feedback always lowers output resistance. Whether input resistance rises depends on whether the feedback is applied in series with the input or in shunt with it — which is why the inverting amplifier's input resistance is stubbornly \(R_1\) (Problem 1).
The pattern across Problems 10 and 11. Every desirable property improves by the same factor:
Show that an op-amp amplifier violates the reciprocity theorem of Set 14, and explain why that violation is the entire point of the device.
The test. Reciprocity (Set 14, Problem 5) requires that interchanging an ideal source and an ideal meter leaves the reading unchanged. Take Problem 1's inverting amplifier:
| Experiment | Result |
|---|---|
| 0.4 V at the input, measure the output | −2 V — a gain of 5 |
| 0.4 V at the output, measure the input | ≈ 0 — the input node is unaffected |
Nothing like symmetry. The transfer impedance in one direction is thousands of times the other.
Why, in matrix terms. Set 14 traced reciprocity to \(\mathbf{R} = \mathbf{R}^{\mathsf T}\), which holds when every element is bilateral. The op-amp's VCVS contributes to the equation for the output node without any matching term in the input node's equation:
Why this is the point. A reciprocal network cannot amplify. If it could deliver more power at the output than it received at the input, running it backwards would deliver more still — and reciprocity guarantees the reverse path is as good as the forward one. Gain requires non-reciprocity:
The practical consequence is isolation. Because the reverse transmission is negligible, what happens after a stage cannot affect what happens before it — which is exactly the property Problem 7 used to multiply the gains of cascaded stages, and Problem 4 used to unload a sensor.
Where the energy comes from. The op-amp does not create power; it draws it from its supply rails and uses the input only to control that flow. This is the physical content of the dependent source. A circuit with no power supply and only bilateral elements is necessarily reciprocal and necessarily passive.
A non-inverting amplifier of gain 5 runs from \(\pm 15\ \text{V}\) supplies and saturates at \(\pm 13.5\ \text{V}\). Find the largest input it can handle, and determine the output for inputs of 2 V and 4 V.
The linear range ends when the output reaches a saturation limit:
a\(v_{in} = 2\ \text{V}\): within range, so the linear result stands:
b\(v_{in} = 4\ \text{V}\): the linear formula predicts 20 V, which the supplies cannot deliver. The output simply sits at the rail:
What breaks when the op-amp saturates. The virtual short fails, because Problem 2's argument required the output to be free to move:
In saturation the output is stuck, the feedback no longer controls anything, and \(v_+ - v_-\) becomes whatever the input demands. Here \(v_- = 13.5/5 = 2.7\ \text{V}\) while \(v_+ = 4\ \text{V}\) — a difference of 1.3 V, not microvolts.
Why \(V_{sat} < V_{supply}\). The output stage's transistors need a volt or two of headroom to conduct. "Rail-to-rail" devices reduce this to millivolts but never to zero.
The procedural rule. Always compute the linear answer first, then check it against the rails. If it exceeds them, the true output is the rail and every ideal-op-amp conclusion about that circuit is void.
Set out the general procedure for analysing any op-amp circuit by nodal analysis, and explain the two rules that make it differ from Set 6's method.
The procedure. Four steps, and every configuration in this set follows them:
| Step | Action |
|---|---|
| 1 | Label every node. Mark op-amp output nodes as known-unknown: their voltage is an unknown, but no KCL will be written there. |
| 2 | Apply \(v_+ = v_-\) at each op-amp, eliminating one unknown per device. |
| 3 | Write KCL at every node except op-amp outputs and the reference, taking zero current into op-amp inputs. |
| 4 | Solve, then check that no output exceeds its rails. |
Rule 1 — never write KCL at an op-amp output. The op-amp supplies an unknown current from its rails, so the node equation would introduce an unknown that appears nowhere else:
The equation is true but useless. Skipping it is not an approximation — it is the correct treatment of a node attached to an ideal source, exactly as Set 7 skipped nodes attached to voltage sources.
Rule 2 — the virtual short replaces one equation. Each op-amp adds one unknown (its output voltage) and one constraint (\(v_+ = v_-\)), so the count stays balanced. For \(n\) non-reference nodes and \(m\) op-amps:
An immediate consequence: the op-amp's output node never needs its own equation, so a circuit with several op-amps is usually no harder than one with none. Problem 9's three-op-amp instrumentation amplifier needed no simultaneous equations at all.
The relationship to earlier sets. This is Set 6's nodal analysis with Set 7's supernode idea applied to a different kind of source. Nothing is new — the op-amp output is simply a node whose voltage is set by something other than the resistors attached to it.
An op-amp saturating at \(\pm 13\ \text{V}\) has its output fed back to the non-inverting input through a divider of 90 kΩ and 10 kΩ, with the input signal applied to the inverting input. Find the switching thresholds and the hysteresis, and explain why this circuit is useful.
The virtual short does not apply. Feedback to the non-inverting input is positive: any small difference is amplified and drives the output further in the same direction, so the output is always at one rail or the other.
The threshold is the divider's output, which depends on which rail the output currently occupies:
The switching behaviour. The output flips when \(v_{in}\) crosses the current threshold:
| Present output | Threshold | Switches when |
|---|---|---|
| +13 V | +1.3 V | \(v_{in}\) rises above +1.3 V |
| −13 V | −1.3 V | \(v_{in}\) falls below −1.3 V |
Why hysteresis is wanted. A plain comparator with a single threshold chatters when a slowly-changing noisy signal crosses it — each noise excursion causes another transition. With hysteresis, once the output has switched, the threshold moves away from the signal by 2.6 V, so noise smaller than that cannot cause a second transition.
Positive and negative feedback compared:
| Negative (to \(v_-\)) | Positive (to \(v_+\)) | |
|---|---|---|
| Effect of a disturbance | Opposed | Reinforced |
| Output | Linear, follows input | Saturated at a rail |
| Virtual short | Holds | Does not hold |
| Gain set by | Resistor ratio | Nothing — output is binary |
| Use | Amplifiers, filters | Comparators, oscillators, memory |
The connection to negative resistance. Set 9, Problem 14 built a network with \(R_{TH} < 0\) and Set 13, Problem 13 showed the maximum-power theorem fails for it. Positive feedback is the same phenomenon: the circuit reinforces its own response, and the linear model predicts unbounded growth. What limits it here is saturation — the non-linearity the linear model does not contain.
A non-inverting amplifier of gain 10 uses \(R_1 = 10\ \text{k}\Omega\) and \(R_f = 90\ \text{k}\Omega\). The op-amp has input offset voltage 2 mV, bias current 80 nA and offset current 20 nA. Find the DC error at the output, and show how to reduce it.
Offset voltage is the input difference needed to make the output zero — a real op-amp's inputs are not perfectly matched. It sits in series with the input and is amplified by the full closed-loop gain:
Bias current is the small DC current each input actually draws — the golden rule \(i_\pm = 0\) is an approximation. Flowing through the feedback network, it produces
The bias-current term can be cancelled. Insert a resistor \(R_3\) in series with the non-inverting input equal to the resistance seen from the inverting input:
Then equal bias currents produce equal drops at both inputs and the effect cancels. What remains is only the difference between the two bias currents:
A fourfold improvement from one resistor.
Total worst-case output error:
Offset voltage now dominates entirely, which is typical for a modern op-amp — bias currents have fallen much faster than offset voltages.
Whether 21.8 mV matters depends on the signal:
| Signal at output | Error | Verdict |
|---|---|---|
| 10 V (audio, control) | 0.2% | Usually irrelevant |
| 100 mV (thermocouple chain) | 22% | Fatal |
| AC-coupled signal | — | Blocked by the coupling capacitor |
The third row is the usual escape: a series capacitor removes the DC error entirely, at the cost of losing DC response.
The remaining remedies are a chopper-stabilised or auto-zero op-amp (offsets of microvolts), or trimming — though trimming corrects only at one temperature, and drift with temperature is often the real limit.
An op-amp has a unity-gain bandwidth of 1 MHz. Find the closed-loop bandwidth at gains of 1, 10, 100 and 1000, explain why the product is constant, and comment on the design implication.
The open-loop gain rolls off above a very low corner frequency — typically a few hertz — as a single pole:
So above the corner, \(|A|f\) is constant and equal to the unity-gain frequency \(f_T = A_0f_c = 1\ \text{MHz}\).
Closed-loop bandwidth. Problem 10 showed the closed-loop gain stays accurate while the loop gain \(A\beta \gg 1\). The response falls off where \(|A|\) drops to the closed-loop gain, so
| Closed-loop gain | Bandwidth | Product |
|---|---|---|
| 1 | 1 MHz | 1 MHz |
| 10 | 100 kHz | 1 MHz |
| 100 | 10 kHz | 1 MHz |
| 1000 | 1 kHz | 1 MHz |
Why it is constant. Loop gain is the resource (Problem 10), and it is being spent twice over. Raising the closed-loop gain lowers \(\beta\), which lowers \(A\beta\) at every frequency — so the frequency at which the loop gain runs out falls in exact proportion.
The design implication: split the gain. A gain of 100 in one stage gives 10 kHz. Two cascaded stages of gain 10 each give 100 kHz per stage — and although the cascade's overall bandwidth is somewhat less than 100 kHz because two roll-offs combine, it remains far better than 10 kHz.
This is the quantitative reason for Problem 7's cascade, beyond the convenience of smaller resistor ratios.
Why the single pole is deliberate. The internal compensation capacitor that produces this roll-off is put there on purpose: it guarantees the phase shift stays below 180° while the loop gain exceeds 1, so the amplifier is stable at any closed-loop gain. Bandwidth is traded for unconditional stability — Set 28's Bode plots make the argument precise.
An op-amp has a slew rate of 0.5 V/µs. Find the largest undistorted sine wave of 10 V peak it can produce, the peak amplitude available at 20 kHz, and the time taken to respond to a 10 V step. Distinguish this limit from the bandwidth limit of Problem 17.
Slew rate is the maximum rate at which the output can change, set by how fast the internal compensation capacitor can be charged by a limited current:
For a sine wave \(v_o = V_p\sin\omega t\), the fastest rate occurs at the zero crossings:
This is the full-power bandwidth — and note it is over a hundred times lower than the small-signal bandwidth of Problem 17 at unity gain.
At 20 kHz the amplitude must be reduced:
For a 10 V step, the output cannot jump — it ramps at the slew rate:
During that ramp the op-amp is not behaving linearly at all, and the virtual short does not hold.
The two limits compared:
| Bandwidth (Problem 17) | Slew rate | |
|---|---|---|
| Nature | Linear | Non-linear |
| Depends on amplitude? | No | Yes |
| Effect on a sine | Reduced amplitude, phase shift | Becomes a triangle |
| Improved by | Lower closed-loop gain | Nothing external |
A slew-limited sine wave is distorted, not merely attenuated — the output tries to follow at the maximum rate and produces straight segments, generating harmonics that were never in the input.
Which limit binds is decided by amplitude. Small signals are bandwidth-limited; large ones are slew-limited. A design must check both, and for power-amplifier stages the slew limit is almost always the binding one.
Replace the feedback resistor of an inverting amplifier by a capacitor, with \(R = 100\ \text{k}\Omega\) and \(C = 0.1\ \mu\text{F}\). Derive the response, find the output after a 1 V input lasting 5 ms, and explain why the differentiator — obtained by exchanging the two components — is troublesome in practice.
The integrator. The input resistor delivers \(v_{in}/R\) to the virtual ground, and all of it flows into the capacitor. Using Set 17's element law:
For a 1 V input lasting 5 ms, starting from an uncharged capacitor:
A constant input gives a linear ramp — the op-amp version of Set 17, Problem 3, but now with the capacitor voltage appearing directly at a low-impedance output.
Why this beats a plain \(RC\) circuit. A passive \(RC\) only approximates an integral, and only while its output stays small compared with the input. Here the virtual ground holds the resistor's right-hand end at exactly 0 V, so the input current is \(v_{in}/R\) exactly, whatever the output does. The integration is ideal over the full output range.
The integrator's practical problem is DC. At zero frequency the capacitor is an open circuit, so the DC gain is infinite — and the offset voltage of Problem 16 is integrated without limit until the output saturates. The cure is a large resistor across the capacitor, which caps the DC gain at \(-R_f/R\) while leaving the integration intact above \(1/2\pi R_fC\).
The differentiator exchanges the components — capacitor at the input, resistor in feedback:
With the same \(RC = 10\ \text{ms}\), an input ramping at 100 V/s gives \(v_o = -1\ \text{V}\).
Why it is troublesome. Its gain rises with frequency — at 20 dB per decade, indefinitely. Three consequences follow:
| Consequence | Reason |
|---|---|
| Noise is amplified severely | Noise is broadband; the gain is highest where the signal is not |
| Prone to instability | Rising gain meets the op-amp's falling \(A(f)\) at an unfavourable phase — Set 28 |
| Slew-rate limited easily | Fast input edges demand large \(dv_o/dt\) — Problem 18 |
The standard fix is a small resistor in series with the input capacitor, which limits the high-frequency gain to \(R_f/R_s\) and restores stability.
Set out what is genuinely new about op-amp circuits, what is not, and where each idealisation of this set breaks down.
What is not new. The analysis. An op-amp is a VCVS, and Sets 4, 6 and 11 have handled dependent sources throughout. Problem 14's procedure is Set 6's nodal analysis with one rule added and one node skipped.
What is genuinely new is that a single component now delivers gain, and with it three things no passive network can do:
| Capability | Why passive networks cannot | Problem |
|---|---|---|
| Voltage gain above 1 | Passive networks only attenuate | 1, 3 |
| Isolation between stages | Reciprocity forbids one-way transmission | 7, 12 |
| Behaviour set by ratios, not absolutes | No feedback loop to enforce it | 1, 10 |
Where each idealisation breaks:
| Ideal assumption | Reality | Consequence | Problem |
|---|---|---|---|
| \(A = \infty\) | \(10^5\) at DC | Gain error \(1/A\beta\) | 2, 10 |
| \(A\) at all frequencies | Falls at 20 dB/decade | Gain–bandwidth product | 17 |
| \(i_\pm = 0\) | Nanoamps | DC offset; correctable | 16 |
| \(v_+ = v_-\) | Millivolt offset | DC error; not correctable by resistors | 16 |
| Unlimited output | Clips at the rails | Saturation | 13 |
| Instant response | Finite slew rate | Large-signal distortion | 18 |
| \(R_{out} = 0\) | 75 Ω, reduced by feedback | 7.5 mΩ — negligible | 11 |
Only the last is genuinely eliminated by feedback. The others set real limits, and a design is usually bounded by one of them.
The unifying idea is loop gain. Gain accuracy, input and output resistance and linearity all improve by \(1+A\beta\), and bandwidth is where that factor runs out. Loop gain is finite, so every benefit is finite and they compete with each other.
And one boundary worth naming. The op-amp is the first device in this book that requires a power supply to function. Everything before Set 15 was passive or a source; the dependent source is a model of energy being controlled, not created, and Problem 12 showed that this is exactly what non-reciprocity means.
Practice Problems
Work each on paper before opening the answer. The answer is given so you can check yourself; the method is deliberately not.
P1. An inverting amplifier has \(R_1 = 4\ \text{k}\Omega\) and \(R_f = 36\ \text{k}\Omega\). Find the gain and the output for \(v_{in} = -0.3\ \text{V}\).
Show answer
\(A_v = -9\); \(v_o = +2.7\) V.P2. What resistors give a non-inverting gain of 9 using a 10 kΩ grounded resistor?
Show answer
\(1 + R_f/10\text{k} = 9\), so \(R_f = 80\ \text{k}\Omega\).P3. Can a non-inverting amplifier have a gain of 0.5?
Show answer
No — its gain is \(1+R_f/R_1 \ge 1\). Use an inverting stage or an input divider — Problem 3.P4. A summing amplifier has \(R_f = 20\ \text{k}\Omega\) with inputs 2 V through 10 kΩ and 3 V through 20 kΩ. Find \(v_o\).
Show answer
\(v_o = -(2\times2 + 1\times3) = -7\) V.P5. Why does the summing amplifier's inputs not interact?
Show answer
Every input resistor terminates on a virtual ground fixed at 0 V, so each current depends only on its own source — Problem 5.P6. A photodiode gives 25 µA into a transimpedance amplifier with \(R_f = 200\ \text{k}\Omega\). Find \(v_o\).
Show answer
\(v_o = -(25\times10^{-6})(2\times10^{5}) = -5\) V.P7. An op-amp with \(A = 2\times10^5\) is used at a closed-loop gain of 100. What is the gain error?
Show answer
\(\beta = 0.01\), loop gain \(= 2000\), error \(\approx -1/2000 = -0.05\%\) — Problem 10.P8. An amplifier of gain 20 runs on \(\pm12\ \text{V}\) rails saturating at \(\pm10.5\ \text{V}\). What is the largest usable input?
Show answer
\(10.5/20 = 0.525\) V — Problem 13.P9. An op-amp has \(f_T = 4\ \text{MHz}\). What bandwidth is available at a gain of 50?
Show answer
\(4\times10^6/50 = 80\) kHz — Problem 17.P10. With a slew rate of 2 V/µs, what is the largest 5 V peak sine wave frequency?
Show answer
\(f = \text{SR}/2\pi V_p = 2\times10^6/(2\pi\times5) = 63.7\) kHz — Problem 18.P11. Feedback is taken to the non-inverting input. Does the virtual short apply?
Show answer
No — that is positive feedback and the output sits at a rail. Expect a comparator or Schmitt trigger — Problem 15.P12. An integrator has \(R = 50\ \text{k}\Omega\) and \(C = 0.2\ \mu\text{F}\). Find the output after 2 V is applied for 10 ms.
Show answer
\(RC = 10\) ms, so \(v_o = -(2)(10)/10 = -2\) V — Problem 19.
Challenge Problems
Each needs an idea rather than a formula. Decide what the governing principle is before opening the answer.
C1. A "negative impedance converter" has an op-amp with equal resistors \(R\) from the output to both inputs, the non-inverting input driven by \(v_{in}\), and a resistor \(R_L\) from the inverting input to ground. Find the input resistance seen by the source, and connect the result to Sets 9 and 13.
Show answer
Analysis. The virtual short gives \(v_- = v_+ = v_{in}\). The current in \(R_L\) is \(v_{in}/R_L\), and it must come through the upper \(R\) from the output, soNow the input current, flowing from the source through the other \(R\) towards the output:\[ v_o = v_{in} + R\frac{v_{in}}{R_L} \]\[ i_{in} = \frac{v_{in}-v_o}{R} = \frac{-Rv_{in}/R_L}{R} = -\frac{v_{in}}{R_L} \]The source sees a negative resistance. Current flows out of the input terminal when a positive voltage is applied — energy comes from the op-amp's supply, exactly as Problem 12 requires of any active device.\[ R_{in} = \frac{v_{in}}{i_{in}} = -R_L \]
Connection to Set 9, Problem 14, which produced \(R_{TH} = -4\ \Omega\) from a dependent source. This is the same effect built deliberately, and Set 13, Problem 13 showed what it does to the maximum power transfer theorem: with \(R_{TH} < 0\) the load power is unbounded and the theorem's stationary point is spurious.
What it is used for. A negative resistance cancels a positive one. Placing \(-R\) across a lossy resonator removes its damping, which is how oscillators are built; the growth is limited by saturation (Problem 13), the non-linearity the linear model omits. It is also the basis of the gyrator, which converts a capacitor into a synthetic inductor — the practical escape from Set 16, Problem 18's observation that real inductors are poor components.C2. Problem 17 stated that the gain–bandwidth product is constant. Derive the closed-loop bandwidth properly, starting from \(A(s) = A_0/(1+s/\omega_c)\), and show that the closed-loop response is also single-pole. What is the closed-loop DC gain error?
Show answer
Substitute into the feedback expression of Problem 10:Dividing through by \((1+\beta A_0)\):\[ A_{CL}(s) = \frac{A(s)}{1+\beta A(s)} = \frac{\dfrac{A_0}{1+s/\omega_c}}{1 + \dfrac{\beta A_0}{1+s/\omega_c}} = \frac{A_0}{1 + \beta A_0 + s/\omega_c} \]Still a single pole, but with two changes:\[ A_{CL}(s) = \frac{\dfrac{A_0}{1+\beta A_0}}{1 + \dfrac{s}{\omega_c(1+\beta A_0)}} \]The gain has fallen by \(1+\beta A_0\) and the bandwidth has risen by exactly the same factor — so\[ \text{DC gain} = \frac{A_0}{1+\beta A_0} \approx \frac{1}{\beta}, \qquad \omega_{CL} = \omega_c\left(1+\beta A_0\right) \]constant, and equal to the unity-gain frequency — which proves Problem 17's assertion rather than asserting it.\[ \text{gain} \times \text{bandwidth} = \frac{A_0}{1+\beta A_0} \times \omega_c(1+\beta A_0) = A_0\omega_c = \omega_T \]
The DC gain error is Problem 10's result, \(-1/(1+\beta A_0) \approx -1/\beta A_0\). Note the same factor \(1+\beta A_0\) appears three times over: it divides the gain error, multiplies the bandwidth, and (Problem 11) divides the output resistance. That single quantity is the whole currency of feedback.C3. An ideal op-amp has infinite gain, yet its output is finite and well-defined. Resolve this apparent contradiction precisely, and explain why the same argument fails for positive feedback.
Show answer
The apparent problem. \(v_o = A(v_+-v_-)\) with \(A = \infty\) seems to give an infinite output for any non-zero input difference.
The resolution: \(v_+ - v_-\) is not an independent input. With feedback, the output influences \(v_-\), so the two are coupled. Solving the pair simultaneously — as Problem 2 did — givesa perfectly finite limit. Formally the product \(A(v_+-v_-)\) is an indeterminate form \(\infty \times 0\), and the feedback equation is what evaluates it.\[ v_o = \frac{A}{1+A\beta}v_{in} \;\xrightarrow[A\to\infty]{}\; \frac{v_{in}}{\beta} \]
The physical statement. The input difference is not zero and then amplified; rather, the output takes whatever value drives the difference to zero. Cause and effect run in a loop, which is what "feedback" means.
Why positive feedback is different. Repeat with \(\beta\) negative — feedback to the non-inverting input:The denominator vanishes at \(A|\beta| = 1\) and is negative beyond it. There is no finite limit as \(A \to \infty\): the equation has no stable solution, and the physical circuit runs to a rail (Problem 15). The mathematics is signalling that the linear model has no valid solution, not that the answer is large.\[ v_o = \frac{A}{1-A|\beta|}v_{in} \]
The general test is the sign of \(1+A\beta\). Positive and large means stable with a well-defined limit; passing through zero means instability. Set 28's Nyquist and Bode criteria are this test applied at every frequency at once, where \(\beta A\) is complex and the sign question becomes one of phase.
Multiple-Choice Questions
Twelve questions in GATE/ESE style. Commit to an answer before opening the explanation.
Q1. The gain of an inverting amplifier is
(a) \(1+R_f/R_1\) (b) \(-R_f/R_1\) (c) \(-R_1/R_f\) (d) \(R_f/R_1\)
Show answer
(b). Option (a) is the non-inverting gain — Problems 1 and 3.Q2. The virtual short is valid
(a) always (b) with negative feedback and an unsaturated output (c) with any feedback (d) only at DC
Show answer
(b). It follows from \(v_+-v_- = v_o/A\) with \(v_o\) finite — Problems 2, 13 and 15.Q3. The input resistance of an inverting amplifier is
(a) infinite (b) \(R_1\) (c) \(R_f\) (d) \(R_1 \parallel R_f\)
Show answer
(b). The source drives \(R_1\) into a virtual ground. Only the non-inverting configuration has high input resistance — Problems 1 and 11.Q4. The minimum gain of a non-inverting amplifier is
(a) 0 (b) 1 (c) −1 (d) unlimited
Show answer
(b). \(1+R_f/R_1 \ge 1\) — it cannot attenuate — Problem 3.Q5. A voltage follower is used to
(a) provide gain (b) isolate a source from its load (c) invert the signal (d) filter noise
Show answer
(b). Its gain is 1; the benefit is a high input and low output resistance — Problem 4.Q6. The CMRR of a difference amplifier is limited chiefly by
(a) the op-amp's gain (b) resistor matching (c) the supply voltage (d) the input signal
Show answer
(b). A 1% mismatch gives only 56 dB — Problem 6.Q7. Two op-amp stages of gain 5 and −4 in cascade give
(a) 1 (b) −20 (c) 20 (d) it depends on the loading
Show answer
(b). The gains multiply because each op-amp output is a stiff source — Problem 7.Q8. The gain error of a feedback amplifier is approximately
(a) \(1/A\) (b) \(1/\beta\) (c) \(1/A\beta\) (d) \(A\beta\)
Show answer
(c) — the reciprocal of the loop gain, not the open-loop gain — Problem 10.Q9. Negative feedback in a non-inverting amplifier changes the output resistance by
(a) \(\times(1+A\beta)\) (b) \(\div(1+A\beta)\) (c) no change (d) \(\times A\)
Show answer
(b). Output resistance falls, input resistance rises, by the same factor — Problem 11.Q10. An op-amp with \(f_T = 2\ \text{MHz}\) used at a gain of 40 gives a bandwidth of
(a) 2 MHz (b) 80 MHz (c) 50 kHz (d) 500 kHz
Show answer
(c). \(2\times10^6/40 = 50\) kHz — Problem 17.Q11. Slew-rate limiting differs from bandwidth limiting because it
(a) is linear (b) depends on signal amplitude (c) affects only DC (d) can be fixed by feedback
Show answer
(b). It is non-linear and produces distortion, not attenuation — Problem 18.Q12. Feedback taken to the non-inverting input produces
(a) a linear amplifier (b) a saturated, two-state output (c) an integrator (d) unity gain
Show answer
(b). Positive feedback — the virtual short does not apply and hysteresis results — Problem 15.
Key Formulas
| Configuration | Relation | Notes |
|---|---|---|
| Ideal rules | \(i_\pm = 0\), \(v_+ = v_-\) | Negative feedback, unsaturated |
| Inverting | \(A_v = -R_f/R_1\) | \(R_{in} = R_1\) |
| Non-inverting | \(A_v = 1 + R_f/R_1\) | \(A_v \ge 1\) always |
| Buffer | \(A_v = 1\) | Isolation, not gain |
| Summing | \(v_o = -R_f\sum v_k/R_k\) | Inputs independent |
| Difference | \(v_o = \frac{R_2}{R_1}(v_2-v_1)\) | Requires \(R_4/R_3 = R_2/R_1\) |
| Instrumentation | \(A_v = \left(1+\frac{2R_1}{R_g}\right)\frac{R_3}{R_2}\) | Gain set by \(R_g\) alone |
| Transimpedance | \(v_o = -i_{in}R_f\) | Units of ohms |
| Integrator | \(v_o = -\frac{1}{RC}\int v_{in}\,dt\) | Needs a DC-limiting resistor |
| Differentiator | \(v_o = -RC\,dv_{in}/dt\) | Noisy; needs a series resistor |
| Finite gain (inverting) | \(\dfrac{-R_f}{R_1+(R_1+R_f)/A}\) | Exact |
| Closed-loop gain | \(A_{CL} = A/(1+A\beta)\) | Error \(\approx -1/A\beta\) |
| Resistances | \(R_{in}(1+A\beta)\), \(R_o/(1+A\beta)\) | Series–shunt feedback |
| Gain–bandwidth | \(A_{CL} \times \text{BW} = f_T\) | Constant |
| Slew rate | \(f_{\max} = \text{SR}/2\pi V_p\) | Full-power bandwidth |
| Schmitt thresholds | \(\pm V_{sat}R_1/(R_1+R_2)\) | Positive feedback |
| Offset at output | \(V_{os}(1+R_f/R_1) + I_{os}R_f\) | With balancing resistor \(R_1\!\parallel\!R_f\) |
Common Mistakes
Writing KCL at the op-amp output node. The op-amp supplies an unconstrained current from its rails, so the equation adds an unknown and no information — Problem 14.
Applying the virtual short with positive feedback. Check which input the feedback reaches first. To the non-inverting input means a comparator, not an amplifier — Problem 15.
Forgetting to check saturation. Compute the linear answer, then test it against the rails. Beyond them the output simply sits at a rail — Problem 13.
Using \(-R_f/R_1\) for the non-inverting gain, or omitting the \(1+\). The two configurations differ by exactly that term — Problem 3.
Assuming a non-inverting stage can attenuate. Its gain is at least 1 for any real resistors.
Accounting for loading between op-amp stages. There is none — the output resistance is milliohms, so gains simply multiply — Problems 7 and 11.
Expecting good CMRR from ordinary resistors. 1% tolerance gives about 56 dB. Use an instrumentation amplifier or matched networks — Problems 6 and 9.
Quoting open-loop gain when loop gain is what matters. All feedback benefits scale with \(A\beta\), which falls as the closed-loop gain rises — Problem 10.
Confusing bandwidth with slew rate. One is linear and amplitude-independent; the other is neither. Check both — Problems 17 and 18.
Building a bare differentiator. Its gain rises with frequency without limit, amplifying noise and inviting instability. Add a series input resistor — Problem 19.
Part 1 is complete. Kirchhoff's laws, four analysis methods, network topology, the whole family of theorems, both storage elements and one active device — and every result followed from two facts: Kirchhoff's laws, which come from charge conservation, and linearity, which comes from the element laws. Nothing else has been assumed anywhere.
Sets 16 and 17 introduced elements whose laws are derivatives, but the circuits there responded to waveforms that were given. What has not yet been done is to connect a storage element to a resistor and let the circuit decide its own response over time. The exponential that appeared in Set 17, Problem 4 was handed to us; from here it arrives as the solution of a differential equation.
Next: Set 18 — First-Order Circuits, where a single time constant \(\tau = RC\) or \(L/R\) governs everything, and the continuity results of Sets 16 and 17 supply the initial conditions.