Feedback, and the margin
What is left at crossover
A feedback loop is stable or not according to one number read at one frequency — how much phase remains before −180° at the point where the loop gain passes unity. The loop gain here is obtained the way it is obtained on a bench: cut the loop, drive one side of the cut, and measure what comes back to the other.
Two measurements of one margin
A phase margin is computed from the loop gain in the frequency domain, without ever looking at a step. An overshoot is measured from the closed-loop step response in the time domain, without ever looking at a Bode plot. Inverting the standard relation on the second returns 34.9° against the first's 34.9°, and the residue is the third pole.
The ideal amplifier, and where it stops being one
An ideal operational amplifier's closed-loop gain is set by two resistors and nothing else — a horizontal line at every frequency. The real one is already a tenth of a per cent low at direct current, one per cent low by 1.35 kHz, and above 10 kHz has no loop gain left, at which point the ideal answer is not an approximation to anything.
Stable, and unstable with less gain
A three-pole loop with two lead sections is stable for gains between 1.81 × 10⁶ and 3.36 × 10⁷ and unstable on both sides of that window. Turning its gain *down* is what breaks it. Neither margin can see this, because a phase margin describes the loop at one frequency and a gain margin at one other, and this loop's phase crosses −180° at three: 189 Hz, 3.46 kHz and 23.5 kHz.
How much of the amplifier gets through
The reason to build an amplifier from a bad amplifier and two resistors is that a change in the device barely reaches the answer — a tenth of a per cent of it at low frequency, measured by making the device better and solving again. Near crossover the same fraction rises above one, so feedback makes the gain more device-dependent than no feedback at all, and below fifty degrees of margin it changes sign on the way.
The node that is at ground for a while
An inverting amplifier's summing junction is held at ground by the loop, so it is at ground exactly as well as the loop is strong. Driven with a current and measured, it is a tenth of an ohm at direct current, ten ohms at a kilohertz, and 909 ohms above a megahertz — which is the two feedback resistors in parallel, with the amplifier contributing nothing.
The gain the loop closes against
An inverting amplifier with two equal resistors has a gain of one and a loop that closes against two, so it has half the bandwidth of a follower built from the same part — 4.99 megahertz against ten. Nine picofarads at the summing junction, less than a scope probe, takes the phase margin from ninety degrees to forty-five, and a hundred picofarads puts twelve decibels of peaking on a response whose designed gain is nought decibels and whose measured gain at a kilohertz has not moved by three parts in a million.
The load that gets inside the loop
Hanging a capacitor on an amplifier's output changes nothing a reader can find in any expression for its gain, and takes the phase margin of a unity-gain inverter from ninety degrees to thirty. The mechanism is fifty ohms of output resistance that no data sheet page puts next to the stability page: the load works against it, the pole that results is in the forward path, and forty-five degrees arrives at 905 picofarads — which is a metre of coaxial cable.
The resistor that buys the margin back
Two point two nanofarads takes a unity-gain inverter's phase margin from ninety degrees to thirty. Ten ohms between the amplifier and the load restores forty-five, twenty-three restores sixty, and it works for a reason that reads as a cheat: the feedback is taken from the wrong side of the resistor, so its pole is outside the loop. Take the feedback from the load instead — which is what anyone controlling the load would do — and the same resistor makes every value worse. What it costs is that the loop no longer regulates the load's node at all: ten ohms is one per cent of error into a kilohm, at direct current, uncorrected.
The path that buys the error back
An isolation resistor restores a capacitively loaded amplifier's phase margin and costs it the thing feedback was for: the loop stops regulating the node the load is on, and a kilohm of load pulls the output down by a per cent. The standard repair is a second feedback path, and its cost is not an error or a margin — it is a range. At twelve picofarads it settles to a hundredth of a per cent in 0.745 microseconds, faster than the circuit it repairs; at a hundred it takes 9.18, and the phase margin there is better.
What the second path costs at the floor
The arrangement that repaired a capacitively loaded amplifier was suspected of paying for itself in noise, because that is how compensations usually pay. It does not: it has no peak in its noise gain at all, and the total at the load falls from 54.9 microvolts to 28.9 as the capacitor is added. What it costs is settling, and the capacitor that is quietest is eighteen times the capacitor that settles fastest — a trade the phase margin says nothing about, because the margin is comfortable at both.
What the load sees looking back
Four rungs of this argument have measured what the amplifier does to the signal — the margin, the settling, the error, the noise. None has asked the question from the other end. A load that draws its own current sees an impedance looking back, and with the feedback taken from the amplifier that impedance is the isolation resistor, with no loop gain in it whatever: ten ohms, and a load step leaves an error that never goes away. The two-path arrangement recovers to a thousandth of it and charges for that in a quantity none of the four rungs below measured.
Where the trouble is at the input
Every other arrangement in this field has its difficulty at the output — a capacitive load, an isolation resistor, a load that draws current. A photodiode amplifier has it at the input, and the capacitance causing it is not a parasitic: it is the diode's junction, which is the price of its area, and area is what a photodiode is bought for. The feedback resistor's own noise is 127 nV/√Hz against the amplifier's 4, and the amplifier is still ninety-five per cent of the noise at a large diode.
The step too large to have an impedance
The rung below drove the load node with a current step and reported an impedance: a voltage divided by a current, which is a number only if the ratio does not depend on the current. Give the amplifier the differential pair's own tanh in place of a linear transconductor and it is a number up to 10.6 milliamps and not above — where the input error is 3.63 thermal voltages, and where the slew rate that decides it is twice the thermal voltage times the gain-bandwidth in radians, containing no design choice at all.
The current above which there is no impedance
The sixth rung found the impedance leaving at 10.6 mA, where the input pair's own tanh takes over and the slew rate is twice the thermal voltage times the gain-bandwidth in radians, with no design choice in it. A real output stage has a second limit that is nothing but design choice, and the two do not bind at the same load: at 0.47 nF the input pair's departure is 19.4 per cent against the output stage's 4.2, at 22 nF it is 0.9 against 2.3, and above the output stage's rating the excursion does not come back at all — 2,254 Ω for a quantity that was 37.
The rail the load moves
Seven rungs of this ladder end by saying the same thing: the supply is an ideal voltage source, so a load step is drawn from a node that cannot be disturbed. Giving the rail an impedance turns out to change the disturbing channel's own output impedance by three parts in ten million — its loop corrects the supply along with everything else — and to open a path to a second amplifier that shares nothing with it but a wire. How large that path is is a modelling choice: 3.84 microvolts per ampere with the compensation capacitor returned to ground, 17.3 millivolts with it returned to the rail, a factor of four and a half thousand.
The window the resistors own
Eight essays have priced one compensated stage, and the fourth of them left two of the amplifier's own generators named and uncounted. With the current generator put in the netlist the floor at ten kilohms goes from 28.88 microvolts to 30.13, and the resistors carry more than half the noise power only between 2.91 kΩ and 85.9 kΩ — outside that window, in both directions, the part does. The flicker corner turns out to be worth 1.00009 in this stage's own band, and 3.474 one band away.
The factor the expression leaves out
The classical compensation for a photodiode amplifier is quoted both as the forty-five degree choice and as the maximally flat one, and it is neither: it leaves 1.18 dB of peaking and 52.4° of margin. Flat is at exactly √2 times it — fitted at 1.4186 against 1.4142, at every detector from 3 pF to 1 nF. And the third quantity the capacitor is supposed to trade, the noise, does not move at all inside the signal band: three compensations spanning a factor of fourteen give 8.37 against 8.36 µV in a 4.36 kHz measurement and 230 against 65 µV over the whole plane.
The loop that never crosses
Every loop this field draws carries two margins, and one of them is not always a number. Take the third pole out of the standard loop and its crossover moves by 2.45 parts per million and its phase margin by 0.164 degrees — the third pole's own arctangent there, to five decimal places — while its gain margin goes from 46.06 decibels to no number at all. The phase reaches −180° only where the magnitude has already reached −62 decibels, and the two instruments that are supposed to notice report 3.19 × 10⁻⁶ either way.
The load that neither limit owns
Nine rungs of this argument asked which of an amplifier's two large-signal limits binds, and drew the load capacitance where the answer changes hands. Both are present at every load: the excursion with both in the netlist is the two departures added and between 2 and 12 per cent more, never the larger of them. So the crossing is not a handover but a maximum — at 12 nanofarads the pair costs 2.084 times what the worse of them costs alone, against 1.35 at 2.2 nanofarads and 1.07 at 47 — and the same peak sits on the resistance axis at 20 ohms and the gain-bandwidth axis at 50 megahertz.
The error a bigger resistor cannot help
Every other quantity in a photodiode amplifier improves with a larger feedback resistor: the signal grows as R and the resistor's own noise as √R, so the ratio goes as √R. The bias current does not behave like either — it flows in the same resistor the signal does, so its contribution is the ratio of the two currents with the resistance cancelled, 0.1 per cent at 25 °C and the same 0.1 per cent at a megohm and at a gigohm. The offset behaves the other way, growing as one plus the resistor over the diode's own leakage, and at 85 °C the two are 6.40 and 0.74 per cent against 0.10 and 0.11 at room temperature.
The tee that charges for its own compensation
A feedback tee makes a large transimpedance out of small resistors, and R₁(1 + R₂/R₃) + R₂ is the whole of what is usually said about it. The expression has no term for the noise gain, and the tap sets that to 1 + R₁/R₃ — nine, where a single feedback resistor of any value gives exactly one, because at direct current the source is a capacitor. One quantity then does everything: the signal and R₁'s own noise are multiplied together so the tee buys no signal-to-noise ratio at all, and the phase margin RISES from 1.8° to 15.9°.