The black box, opened
Chapter 8 handed you an op-amp as a sealed unit: enormous open-loop gain, a virtual short at the input once feedback closes the loop, and no explanation of what was inside. Here is the inside, and you have already built both halves of it. The input stage is chapter 9 and chapter 10's mirror-loaded differential pair — two matched transistors, a current-mirror load, a single high-impedance output node. The second stage is a plain common-emitter gain stage, one transistor, driving the final output node.
Chain them and the gain multiplies: stage 1 turns a differential input into a voltage at its high-impedance node, A, with gain Gm1·RA; stage 2 takes that voltage and delivers −Gm2·ROUT more. The whole amplifier's open-loop DC gain is the product, and with realistic numbers it lands in the hundred-thousands to millions — comfortably enough to explain why chapter 8 called it "too high to use directly." This chapter's default lands at 133 dB, a touch under 4.5 million.
Node A is exactly the node chapters 9 and 10 built and warned you about: high impedance, because it is the output of a current source loaded by another current source, with nothing but two transistors' ro pulling it toward either rail. High impedance at DC also means high impedance at any frequency an external capacitance can act on — and node A has one, however small, whether you put it there deliberately or not. That is where this chapter's whole subject begins.
Commit before you touch anything
With no capacitor deliberately placed anywhere except each node's own small parasitic capacitance, is this two-stage amplifier, run open-loop at its full gain, likely to behave as a clean single low-pass filter all the way up to where its gain finally falls to 1?
In the wild
Every general-purpose op-amp datasheet's Bode plot. The open-loop gain and phase curves on page one of a 741 or an LM358 datasheet are exactly this chapter's bench 1, measured on real silicon.
Why op-amps are never sold "uncompensated" for general use. A handful of specialist parts are sold that way, for designers who want to choose their own compensation — everything else ships already compensated, for exactly the reason this lesson's bench shows.
The two-pole rolloff on an oscilloscope's own front-end amplifier. Scope input buffers are themselves multi-stage amplifiers with this same stability problem, solved the same way.
Before you move on
Node A in this chapter's amplifier is the same node as…
One capacitor, pushed apart
The fix bench 1 needs is deliberate: put a capacitor, Cc, bridging node A directly to the output. It looks like it should simply add a little capacitance to node A. It does something far larger. Because the second stage inverts and amplifies, a small change in node A's voltage produces a much bigger, opposite change at the output — and Cc has to supply the current for both swings. From node A's point of view, Cc behaves as if it were roughly (1 + Gm2ROUT) times larger than its physical value. With this chapter's numbers, that multiplier is in the thousands.
The consequence is exactly what a stability problem needs: node A's own pole crashes down in frequency (a huge effective capacitance on a high-impedance node makes for a very low corner), while the output node's pole — no longer starved of current by a struggling first stage — effectively moves higher. The two poles that were close together in bench 1 get pushed apart, one down and one up. This is pole splitting, and it is the entire mechanism behind "just add one capacitor."
The gain-bandwidth product that falls out of this is unusually clean. Once Cc is large enough to dominate node A, the frequency where the open-loop gain crosses 1 works out to Gm1/Cc — and nothing else. Not RA, not ROUT, not even Gm2. Two entirely different second stages, with wildly different gain and output resistance, give the same amplifier the same unity-gain frequency, so long as Gm1 and Cc are unchanged.
Commit before you touch anything
You triple the second stage's output resistance ROUT (a weaker current source, more gain), leaving Cc, Gm1 and Gm2 unchanged. What happens to the frequency where the open-loop gain crosses 1?
In the wild
The compensation capacitor on almost every classic op-amp die. The 741's famous 30 pF capacitor, visible as the largest single feature on the die photo, is exactly this component, sized for exactly this reason.
Why op-amp datasheets quote a single "gain-bandwidth product." That one number is Gm1/Cc, and it is quoted alone precisely because it does not depend on which gain you configure the part for.
External compensation pins on some precision op-amps. A handful of parts expose a pin for the designer's own external Cc, trading a fixed factory compensation for the freedom to trade bandwidth against stability margin by hand.
Before you move on
The Miller effect multiplies Cc's apparent value at node A by roughly…
The compensation capacitor's other path
Cc was drawn as a one-way path from node A to the output, feeding the Miller effect that split the poles. It is not actually one-way. A capacitor conducts in both directions, and at high enough frequency Cc becomes a low-enough impedance that a signal can leak straight from node A to the output without going through the amplifying transistor at all — a feedforward path that bypasses the gain stage entirely.
That feedforward path fights the amplifier's own signal. At low frequency the amplified path dominates completely and Cc only does its intended job. At some higher frequency the two paths become comparable, and the transfer function picks up a real, solvable zero — on the right half of the complex plane, at roughly Gm2/Cc. A right-half-plane zero adds gain the way any zero does, but it subtracts phase the way a pole does — the worst of both worlds, and exactly what a stability margin does not need.
Look at where that zero sits: Gm2/Cc, against the unity-gain frequency from lesson 2, Gm1/Cc. If the two transconductances are similar, the zero and the unity-gain crossing land at almost the same frequency — the zero's phase damage arrives exactly where it hurts most. The fix does not touch Cc at all: bias the second stage at a noticeably higher current than the first, so Gm2 > Gm1, and the zero moves safely above the crossover with room to spare.
Commit before you touch anything
The bench's default has the second stage biased at four times the first stage's per-device current, so Gm2 ≈ 4×Gm1. You cut the second stage's bias current down to match the first stage exactly. What happens to the phase margin at unity gain?
In the wild
"Nulling resistor" compensation networks. A resistor placed in series with the compensation capacitor, sized to cancel the feedforward path exactly — a refinement on top of this lesson's cruder but simpler fix of just raising Gm2.
Why output stages in audio op-amps are biased in Class AB, not just for efficiency. Output-stage bias current is a stability lever as much as a power one; chapter 6's crossover-distortion trade-off and this chapter's zero-placement trade-off share the same knob.
Datasheet phase margin numbers that look worse than the simple two-pole formula predicts. A real amplifier's measured phase margin is often a few degrees worse than a clean two-pole estimate suggests — the right-half-plane zero is frequently the uncredited reason.
Before you move on
The right-half-plane zero introduced by Cc's feedforward path is dangerous because it…
The same amplifier, two verdicts
Everything so far has measured the amplifier open-loop — input to output, feedback disconnected. No one runs an op-amp that way. Close a feedback loop around it with a resistive divider feeding back a fraction β of the output to the input, and the quantity that actually decides stability is not the amplifier's own open-loop gain and phase — it is the loop gain, β·A(s), and specifically its phase at the frequency where its magnitude crosses 1.
Chapter 8 already introduced β from a different angle: it called 1/β the noise gain, and used it to explain the trade-off between how much a feedback network amplifies and how much bandwidth it delivers. That same β now decides something chapter 8 did not have the tools to show — how much of the open-loop phase margin the loop actually gets to keep. A large β (low closed-loop gain, heavy feedback, β close to 1) pushes the loop-gain crossing out toward the amplifier's own highest frequencies, where the most phase has already been lost to the second pole and the zero from lessons 2 and 3. A small β (high closed-loop gain, light feedback) crosses much lower, where those effects have barely begun.
This produces the sentence at the top of this chapter. Wire the exact same amplifier — same Cc, same bias currents, nothing changed inside the box — as a unity-gain buffer (β = 1, the heaviest feedback there is) and it may show a thin, workable phase margin or none at all. Wire it as a ×100 amplifier (β = 0.01) and the same box is rock stable. Nothing inside the amplifier changed. Only the loop did.
Commit before you touch anything — this is the chapter's misconception
A designer says: "This op-amp has 58° of phase margin, so it's a stable part." Is that a complete statement?
In the wild
Unity-gain-stable vs. decompensated op-amp parts. Some op-amps are deliberately sold "stable for closed-loop gains of 5 or more" — a smaller, cheaper Cc buys more bandwidth at high gain, at the cost of being unusable as a unity-gain buffer at all.
Why adding a feedback capacitor sometimes fixes ringing. Tweaking the feedback network changes β's frequency behaviour, not just its DC value — a common real-world fix that operates on exactly the mechanism this lesson describes.
Instrumentation amplifiers explicitly specifying "gain of 10 minimum." Some parts are stability-guaranteed only above a stated closed-loop gain, for exactly the reason bench 4 demonstrates live.
Before you move on
An amplifier is unstable wired as a unity-gain buffer but perfectly stable wired for a closed-loop gain of ×20. What is the most accurate description?
One number, measured twice
Chapter 8 measured slew rate from outside the box: drive a large step into a real op-amp and its output ramps at a fixed maximum rate, utterly unlike the smooth exponential a small-signal bandwidth would predict. It was presented there as a separate fact about the black box, alongside open-loop gain and offset, with no claim about where the number came from. It comes from here.
Drive the input hard enough — a big enough step — and chapter 10's differential pair does exactly what chapter 10's lesson 1 warned it would: it fully steers. All of the tail current, Itail, is diverted to one side and none reaches the other. The transistor that used to supply a small signal current to node A is now supplying the entire tail, with nowhere else for it to go but into — or out of — the one capacitor sitting on that node: Cc, doing the dominant-pole job lesson 2 gave it.
A fixed current into a fixed capacitor gives a fixed rate of voltage change: dV/dt = Itail/Cc. That is slew rate, in full. It has nothing to do with gain, bandwidth, or phase margin — it is a large-signal current-into-a-capacitor limit that only starts to matter once an input step is too big for the small-signal picture to apply at all, which is exactly why chapter 8 had to treat it as a separate specification rather than something the gain and bandwidth numbers already implied.
Commit before you touch anything
You double the compensation capacitor Cc to improve phase margin (lesson 2's fix), leaving the tail current unchanged. What happens to the slew rate?
In the wild
Audio op-amps specifically chosen for high slew rate. Driving a fast-changing waveform at reasonable amplitude needs dV/dt headroom that a low-slew-rate part simply cannot deliver, no matter how much open-loop gain or bandwidth it has on paper.
"Slew-rate limiting" distortion on an oscilloscope. A sine wave that looks trapezoidal instead of smooth at its steepest points is this exact current-into-a-capacitor ceiling, visible directly on the screen.
Why increasing tail current is a standard trick for a faster op-amp. Raising Itail raises both gm (more open-loop gain, chapter 10) and slew rate (this chapter) together — at the cost of power, chapter 11's own subject.
Before you move on
Slew rate is best described as…
Sizing the one capacitor that does everything
Five lessons have each moved one dial and watched one consequence. A real design has to move all of them at once, against a spec sheet. Bigger Cc buys phase margin (lesson 2) and moves the right-half-plane zero relatively closer if Gm2 is not raised to compensate (lesson 3), at the direct cost of slew rate (lesson 5) and gain-bandwidth (lesson 2, read the other way). A heavier output load capacitance, CL, pulls the second, non-dominant pole down toward the crossover, eating back some of whatever margin Cc bought — which is the one variable this chapter has not yet turned a dial on.
None of this is free in a second sense, either. Cc is a real capacitor on the die, and a capacitor is area, and area on a wafer priced per square millimetre costs money regardless of what sits on it — Interlude II's whole argument, one sentence: a 30 pF compensation capacitor is not a rounding error next to a matched pair's tens of square micrometres; on many analogue processes it is the single largest passive component on the chip, competing for die area with everything else this course has built.
The practical version of every lesson so far is a single design sentence: pick the smallest Cc that delivers the phase margin the application needs, at the closed-loop gain the application will actually run at, against the load capacitance the application will actually drive — and check the resulting slew rate and bandwidth are still enough. Every term in that sentence has its own bench, three lessons back.
Commit before you touch anything
You are compensating this amplifier for unity-gain stability, and someone doubles the output load capacitance CL after the design is finished. What happens to the phase margin, with Cc unchanged?
In the wild
"Capacitive load stability" as its own datasheet section. Precision op-amp datasheets frequently include a dedicated plot of phase margin versus load capacitance, for exactly the trade this lesson's bench demonstrates.
Buffer stages added purely for stability. A unity-gain buffer inserted between a marginal amplifier and a heavy capacitive load is a common fix — not because the buffer adds gain, but because it isolates the fragile node from the load that was eating the margin.
Why analogue IP blocks quote die area alongside performance. A compensation capacitor's area is a real line item in exactly the sense Interlude II priced — and a designer choosing between two compensation schemes is choosing between two die-area costs, not just two Bode plots.
Before you move on
Which single change makes an already-compensated amplifier's phase margin worse, without changing Cc, Gm1, or Gm2?
Checkpoint
1. Node A in this chapter's amplifier — the node the compensation capacitor lands on — is…
2. The Miller effect makes Cc's apparent capacitance at node A roughly…
3. The right-half-plane zero from Cc's feedforward path is dangerous because it…
4. The same amplifier is wired first as a unity-gain buffer, then for a closed-loop gain of ×50. Phase margin…
5. ch 8 Slew rate, measured from inside this chapter's amplifier, works out to…
6. Doubling the output load capacitance CL, with nothing else changed, tends to…