Concept

Loop gain — where it appears

The gain a signal acquires going once round a feedback loop, whose magnitude and phase where it passes unity decide whether that loop is stable. It is measured here by breaking the loop in the netlist and driving the break, rather than by writing down what the block diagram says it should be.

Named by 32 essays across 9 fields — each of them below, with the objects they name alongside it.

The closed-loop poles at a gain of 3.05. The locus of the two poles as the amplifier's gain runs from 2.7 to 3.3. It crosses the imaginary axis at a gain of 3.000000 — bisected on the netlist, not quoted — and at 3.05 the real part is 2.500e+2 radians a second, which is an envelope multiplying by 1.17015 every cycle. The crosses are the closed form ω₀(k−3)/2 and they sit on the measured circles.

The gain that is exactly one

An oscillator is designed by making the loop gain one at the frequency where the phase is zero. The gain at which this circuit's poles reach the imaginary axis is 3.000000000000, bisected on the netlist — an equality, not a range. A gain three per cent high multiplies the envelope by 1.0987 every cycle and reaches the rails in 61 milliseconds; three per cent low divides it by the same factor. A one per cent resistor cannot hold the condition, and neither can any other component.

applied · Oscillator
Loop gain of a three-pole amplifier closed for a gain of 100. Unity loop gain at 5.73 kHz, where 34.9° of phase remains before −180°. The phase reaches −180° at 89.6 kHz, where the loop gain is 46.1 dB below unity.

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.

feedback · Loop gain
A gain of 100 asked of an amplifier with 1.00 MHz of gain–bandwidth. The ideal amplifier — a nullor, so the two golden rules exactly — holds 100 at every frequency. The real one is 0.10% low at direct current, 1% low by 1.35 kHz, and 3 dB down at 10.0 kHz. Above 10.0 kHz there is no loop gain left and the ideal answer is not an approximation to anything.

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.

feedback · Gain-bandwidth
A loop whose phase comes back, at a gain of 1.0e+7. computed by solving, not by drawing. Three identical poles take the phase to −270°, two lead sections bring it back to −158°, and their own poles take it down again — so ∠L = −180° at 189 Hz, 3.46 kHz and 23.5 kHz. The gain moves the magnitude curve and not those three frequencies, so it decides only which side of each the unity-gain point falls. At 1.00e+7 the crossover is 10.6 kHz, in the recovered band, and the loop is stable.

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.

feedback · Loop gain
How much of the amplifier reaches the answer, at 35° of phase margin. computed by solving, not by drawing by multiplying the forward path's gain by 1 + 10⁻⁵ and solving again. At low frequency 0.0999% of a fractional change in the device reaches the closed-loop gain, which is one over the loop gain of 995.04. It changes sign at 258 Hz — above there a better amplifier gives a smaller gain — and reaches 1.61 at 8.08 kHz, which is worse than having no feedback, and settles at exactly 1 above crossover (5.73 kHz), where there is no loop gain left to spend. The second route, the real part of 1/(1 + T) from the cut loop, agrees to 9.6e-6.

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.

feedback · Desensitivity
A five-volt regulator's output impedance, with 1.00 Ω of series resistance. 0.430 mΩ at direct current, 1.95 Ω at 10.0 kHz — a factor of 4.52e+3 — and it has already doubled by 4.81 Hz. The upper curve is the same circuit with its loop opened, and the ratio between them is the loop gain. A regulator is a voltage source below a frequency and the datasheet's milliohms are the value at the bottom of it.

A source below a frequency

A five-volt regulator's output impedance is 0.43 milliohms, which is the number a datasheet quotes. It has doubled by 4.8 hertz, is ten times worse by 27, and reaches 1.95 ohms at ten kilohertz — four and a half thousand times its own specification, and higher there than the same circuit with its feedback loop cut. Two routes to that curve, sharing only the netlist, agree to a part in ten to the thirteenth.

applied · Regulator
What the summing junction of an inverting amplifier actually is, at 1.00 MHz of gain–bandwidth. computed by solving, not by drawing by driving a current into the node and reading the voltage. It is 100 mΩ at direct current, rises 1.000 decades per decade of frequency, and settles at 909.5 Ω — which is the 1 kΩ and 10 kΩ in parallel, with the amplifier contributing nothing. It passes one per cent of the input resistor at 995 Hz, a factor of 1,005 below the gain–bandwidth. The second route — the open-loop impedance over one plus the return ratio from the cut loop — agrees to 0.045%.

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.

feedback · Virtual earth
An inverting unity gain, and the 100 pF that only the loop can see. computed by solving, not by drawing. Two ten-kilohm resistors around a 10 MHz amplifier make a gain of 1.00, and a loop that closes against 2.01 — one plus the ratio, not the ratio. Adding 100 pF at the summing junction leaves the closed-loop gain at a kilohertz unchanged — 0.99998051 against 0.99997988, three parts in a million at the far end of the slider — and takes the phase margin from 90.0° to 14.4°, because the noise gain now rises a decade per decade and the loop closes at forty decibels per decade instead of twenty. Forty-five degrees is reached at 9.00 pF, bisected on the netlist. The capacitance is not part of the signal path and does not appear in any expression for the gain.

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.

feedback · Noise gain
An inverting unity gain driving 2.2 nF, and the pole that is inside the loop. computed by solving, not by drawing. Two ten-kilohm resistors around a 10 MHz amplifier make a gain of 1.00, and a loop that closes against 2.01 — one plus the ratio, not the ratio. Hanging 2.2 nF on the output leaves the closed-loop gain at a kilohertz unchanged — 0.99998002 against 0.99997988 — and takes the phase margin from 90.0° to 30.1°. The mechanism is at the other end of the amplifier from the summing-junction case and the arithmetic is the same: the load works against the amplifier's own fifty ohms of output resistance, which puts a second pole in the forward path — inside the loop, where the feedback has to live with it — while the gain the loop closes against does not move at all. Forty-five degrees is reached at 905 pF, bisected on the netlist. The capacitance is not part of the signal path and does not appear in any expression for the gain.

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.

feedback · Capacitive load
Rejection is not a property of the loop. The same regulator with the same loop gain and the same 46.5° of phase margin, drawn twice. With the amplifier's output referred to ground the rail reaches the output at -67.3 dB at the bottom and 5.79 dB at 10.0 kHz — where it is amplified. Referred to the rail instead, every point is 60.00 dB lower, which is 20 log(gm·ro) for the pass device and not a design choice.

What gets through from the rail

A regulator's job is to hold its output still while its input moves, and the measurement says it does that well at ten hertz, badly at a kilohertz, and not at all at ten kilohertz — where this one puts out 1.9 times what arrives. Then the same netlist with one node moved, the same loop gain and the same 46.5 degrees of margin, rejects 60.009 decibels better at every frequency in six decades. The sixty decibels is the pass device's own intrinsic gain and it is not a design choice.

applied · Regulator
A first stage of 100 buys 40.0 dB of rejection, and gives it back above 10.0 kHz. computed by solving, not by drawing. The rejection of a three-amplifier instrumentation amplifier against frequency, beside the one-amplifier difference stage it is built around. At low frequency the two differ by 39.99 dB against 20 log 100 = 40.00 dB, and the reason is that the input stage passes a common-mode voltage at exactly unity: the common-mode gain of the whole instrument is 1.998 mV/V, which is the difference stage's own. So the four resistors around the last amplifier decide the rejection and the two that set the gain do not — ten per cent between them moves it by less than a hundredth of a decibel. What ends it is bandwidth: above 10.0 kHz, which is the amplifier's gain–bandwidth divided by the gain that bought the rejection, the differential gain falls and the rejection falls with it at twenty decibels a decade.

The four resistors that decide, and the two that do not

A difference amplifier's rejection is decided by four resistors and one-tenth-per-cent parts give 54 decibels. Putting a two-amplifier stage in front adds exactly twenty times the log of its gain — 94 decibels at a gain of a hundred — and the reason is not that the input stage rejects anything. It passes common mode at exactly unity, so the common-mode gain of the whole instrument is 1.998 millivolts per volt at every gain tried, and the improvement is entirely the differential signal arriving larger. The two resistors that set that gain may be ten per cent apart without moving the answer a hundredth of a decibel.

instruments · Common-mode rejection
9.9 Ω restores 45°, 23 Ω restores 60°, and the load pays for it in ohms. computed by solving, not by drawing. Phase margin against the resistor placed between a unity-gain inverter's output and 2.2 nF of load capacitance, with the feedback taken from the amplifier's own side of it. With no resistor the margin is 30.11°; 9.90 Ω restores 45° and 23.20 Ω restores 60°. The lower curve is the same resistor with the feedback taken from the load instead, where it makes every value worse — the pole is then inside the loop rather than outside it, and at 220 Ω the margin is 13.4°. The rising curve is what it costs: the loop no longer regulates the load's node, so 1 kΩ of resistive load pulls the output down by 0.990% at 10 Ω, uncorrected, at direct current.

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.

feedback · Capacitive load
The second path costs nothing at 12 pF and an order at 100 pF. computed by solving, not by drawing. Settling time to 0.01% of final value, marched on the closed loop, against the value of the second feedback path's capacitor — with the phase margin of the same circuit divided by ten drawn on the same axis so the two can be compared. The direct-current error the previous rung recorded as the isolation resistor's cost, 0.99% into 1 kΩ, falls to 1.20e-4% with the second path in. What the second path costs instead is a range: at 12 pF the circuit settles in 0.745 µs against the isolation resistor's 1.419 µs — faster than the thing it repairs — and at 100 pF it takes 9.18 µs, 12 times longer, at a phase margin of 47.9° that reports nothing whatever about it. What it is settling by there is one exponential of time constant 0.99 µs, which is the feedback network's own RC and contains no amplifier.

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.

feedback · Capacitive load
A fit to the held curve reads the series resistance falling to nothing at 532 K/W. computed by solving, not by drawing. Each point is a three-parameter fit — a constant, an ideality factor and a series resistance — to the held forward curve between 10 and 100 mA, for a junction built with 0.6 Ω and no temperature coefficient on it, mounted at the thermal resistance on the axis. With no thermal resistance the fit returns 0.580 Ω with a residual of 43.9 µV. At 350 K/W it returns 0.184 Ω, an ideality of 1.086 and a residual of 34.0 µV. The resistance it reports reaches zero at 531.7 K/W and is negative beyond.

The resistance a slow curve cannot see

A diode's series resistance is read off the top of its forward curve, and a bench curve is a slow one: each point is held until the junction has warmed to it. Through 350 kelvin per watt the held curve sits 39.7 millivolts below the pulsed one at 100 milliamps, and the three-parameter fit that reads 0.580 ohms from the pulsed curve reads 0.184 from the held one — with a smaller residual. The fitted resistance reaches zero at 531.7 kelvin per watt, and the resistance it hid is what keeps the junction from folding back: with 0.05 ohms instead of 0.6 the held curve turns over at 87.6 milliamps.

limits · Diode model
The load sees 10.0 Ω, 1.2e-3 Ω or 1.2e-3 Ω at direct current, and the peak is lowest for the arrangement with both paths. computed by solving, not by drawing. The impedance at the load node of all three arrangements, measured by grounding the input and driving a unit current into the load. Feedback from the amplifier leaves the load looking at the isolation resistor — 10.0 Ω, with no loop gain in it at all. Feedback from the load gives 1.2e-3 Ω, and the two-path arrangement has the same, which is what its direct-current path is for. All three resonate with the load capacitance near 3.2 MHz, and the two-path arrangement's peak is the lowest — 27.6 Ω against 37.4 and 59.2. What it gives up is between: above the 159 kHz handover it has let go of the load node.

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.

feedback · Capacitive load
An inrush limiter's steady state, and how little of it is still a limiter. computed by solving, not by drawing. A negative-temperature-coefficient thermistor in series with a supply, at 1 ampere of load current. The falling curve is what it dissipates at a temperature — I²R with R following the two-point β fit a catalogue prints — and the rising line is what its mounting removes. They cross once, at 83.1 degrees, and the loop gain there is -1.374: negative, so the part is stable at every current rather than below a boundary. What is left of its cold 10 ohms at that temperature is 1.937 — 19.4 per cent. The slider moves the load current, and more current leaves less resistance.

The protection that is gone by the second time

An inrush thermistor is ten ohms cold and holds the first cycle down; then the load current warms it and it settles at 83 degrees and 1.94 ohms, which is 19 per cent of what was bought. That is the design working. It is also a part that takes 198 seconds to recover half its cold resistance, against a reservoir capacitor that empties in tens of milliseconds — so a mains dip in that window hands the rectifier an unlimited inrush into an empty capacitor, which is the exact event the part is on the bill of materials for.

power · Thermal feedback
A photodiode's own capacitance sets the bandwidth, as its -0.50 power. computed by solving, not by drawing. The bandwidth of a 1.0 MΩ transimpedance stage against the capacitance of the diode driving it, with the feedback capacitor at each point bisected to give exactly forty-five degrees of phase margin on the solved loop. The classical expression √(GBW/2π·rf·cd) is drawn over it: the right shape, and conservative by about a fifth at every capacitance. The bandwidth falls as the -0.497 power of the capacitance — a square-root law, so a diode of four times the area costs half the bandwidth rather than three quarters of it. At 30 pF the compensation is 0.598 pF against the expression's 0.725, and the bandwidth 295 kHz against 220.

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.

feedback · Transimpedance
A clean board is 14.0 mV of error, and a guard makes it 1.0 nV. computed by solving, not by drawing. Two boards differing by one wire, solved with the leakage present and again with it removed, so the number plotted is the leakage's own contribution and nothing else. Unguarded, a teraohm across the laminate from a 15 V rail through a 1 GΩ source is 13.99 millivolts — and a humid morning takes that resistance down two decades, which is the left-hand end of this axis. Guarded, the ring is held at the input's own potential by the amplifier, so what is across the leakage is the amplifier's own error and the result is 1.00 nanovolts. The guarded line is flat in the rail and proportional to the signal: the offset has become a gain error of 1.00 parts per billion, and the reading is low by it rather than high: the ring sits a little below the input, so the last of the leakage pulls the input down.

The current that does not reach the input

A teraohm across a board from a fifteen-volt rail is fourteen millivolts of error through a gigohm source, and a humid morning takes that resistance down two decades. A ring held at the input's own potential leaves a nanovolt — proportional to the signal rather than to the rail, so an offset has become a gain error of one part in a billion — and the same wire multiplies the input resistance by the loop gain, which makes it 10¹⁸ Ω at direct current and 10¹² Ω at a megahertz.

instruments · Guarding
What one temperature costs the loop gain of a part that has a gradient. computed by solving, not by drawing. The thermal loop gain of a 30 mm core, solved as a body with its own internal temperature profile and again as a single lump at that profile's mean, against the Biot number. Both are negative, so the core is a stabilising feedback either way — but the body's loop is the more negative of the two at every point, by 3.0 per cent at a Biot number of 0.108 and 38 per cent at 10.8. A lumped calculation therefore understates how stable a wound part is, and the amount it understates by is not a property of the material but of how well the surface is cooled relative to how well the inside conducts. Below a Biot number of about a tenth it is worth under two per cent and the lump is the right model; at the cooled end the part has 7 kelvin inside it and half the feedback is invisible to a single temperature.

The loop gain one temperature understates

Every thermal loop gain this collection has computed was computed at a single temperature, because a lumped fixed point has only one — and the essay that measured the gradient inside a core recorded, without measuring it, that this makes each of those numbers a lower bound. It is a lower bound by three per cent where a ferrite usually sits and by thirty-eight per cent at the well-cooled end, always in the direction that makes the part safer than the calculation said. The obvious candidate for what decides it is refused: three geometries at one Biot number are 3.3 times apart.

power · Thermal feedback
The straight lines report 45.00° of margin, and the solved loop has 51.83°. computed by solving, not by drawing. The gain and phase of a loop made of an integrator and one pole, the corner at 1.00 kHz, with the integrator set so that the straight-line asymptotes cross unity at 1.00 kHz. The solved loop crosses at 786 Hz instead. Read at the lines' crossover, with the phase taken from the solve, the margin is 45.00°; at the loop's own crossover it is 51.83°. Closed, the loop is stable: the largest real part among its closed-loop poles is -5.00e-1 of the corner's angular frequency. The solved gain never rises above its asymptotes, so the lines cannot report more margin than the loop has.

The margin the straight lines report

A phase margin read off a sketch is read where the straight lines cross unity, and that is not where the loop does. For an integrator and one real pole the lines report 45.00 degrees on a loop that has 51.83 — short, and always short, because a real pole's response never rises above its asymptotes. A pair that peaks reverses the sign and removes the bound: at a quality factor of two the lines report 71.57 degrees on a loop that has no margin at all, and at five they report 82.41 on a loop that is unstable.

frequency · Asymptotic approximation
One channel's load step reaches another through the supply, and the compensation decides by 4497×. computed by solving, not by drawing. Two identical amplifiers on one rail — sharing no signal node — with an ampere of load step pulled from the first and the second's output read. With the wiring left out the coupling is exactly zero, which is what the seven rungs below this one computed. With 30 nanohenries and fifty milliohms of rail and 10 microfarads of decoupling it is not: 3.84 microvolts per ampere at 271 kHz if the compensation capacitor returns to ground, and 17.29 millivolts per ampere at 2.33 MHz if it returns to the rail. That is a factor of 4497 decided by a modelling choice, which is why both are drawn. The channel that caused the step is unaffected: its own loop corrects the disturbance along with everything else, and the crosstalk is entirely a problem for the channel that did not.

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.

feedback · Capacitive load
The ripple 1000 µF leaves, through the regulator: 60.62 mV rather than 21.11 mV. One settled cycle of the reservoir's output — 1.331 V peak to peak across 1000 µF — split into 1000 Fourier lines, each passed through the solved regulator's rail-to-output response, and summed. The output is 60.62 mV peak to peak. The ripple times the rejection at 100 Hz, -36.00 dB, gives 21.11 mV, which is 2.872 times too little: the rejection worsens at twenty decibels a decade, so each harmonic of the sawtooth arrives at nearly the size of the first. The 100 Hz line carries 23.4% of the output's mean square and the lines above 1 kHz 10.4%; the first three arrive at 7.731 mV at 100 Hz, 7.200 mV at 200 Hz, 6.388 mV at 300 Hz. The dashed curve is the 100 Hz line alone.

The ripple that arrives as a comb

The rejection essay multiplied two numbers: 1.331 volts of reservoir ripple and the regulator's 36.0 decibels of rejection at a hundred hertz, for 21 millivolts at the output. The ripple is a sawtooth, a comb of lines at every multiple of a hundred hertz, and the rejection worsens at twenty decibels a decade — so the second line arrives at nearly the size of the first, and the third too. Summed with their phases, the output is 60.62 millivolts, 2.87 times the estimate, and the hundred-hertz line carries only 23.4 per cent of it. A reservoir twenty-one times larger cuts the rail's ripple 14.8 times and the regulated ripple 5.95.

applied · Regulator
The capacitor across the upper resistor: 90.9° of margin at 836.5 pF, and less ripple past it. The regulator's phase margin against a capacitor across the upper divider resistor, with the output ripple the 1000 µF reservoir leaves beside it. With no capacitor the margin is 46.47° at a crossover of 9.73 kHz, the output impedance at 10 kHz is 1.95 Ω, the worst rail rejection is 5.79 dB and the ripple 60.62 mV. The margin is greatest, 90.929°, at 836.5 pF — a zero at 6.34 kHz and a pole at 25.4 kHz around a crossover moved to 16.9 kHz — where the output impedance at 10 kHz is 828 mΩ, the worst rail rejection -1.50 dB and the ripple 52.33 mV. At 10 nF the margin has fallen back to 66.34° and the ripple is 35.40 mV.

The capacitor across the upper resistor

The rejection essay said a regulator reproduces its reference times its divider's four, and that a capacitor across the lower divider resistor brings that down to one at high frequency. Measured, the loop peaks the reference's gain to 5.68 near its crossover before any capacitor is added; a nanofarad across the lower resistor raises the peak to 11.2; and the capacitor that brings it down belongs across the upper resistor, where a nanofarad keeps the gain from ever exceeding four. The same capacitor is a lead pair in the loop: 836.5 picofarads takes the phase margin from 46.5 to 90.9 degrees, and ten nanofarads, past that optimum, still holds 66 while cutting the output ripple from 60.6 millivolts to 35.4.

applied · Regulator
A capacitor across the upper divider resistor removes the output capacitor's resistance floor. computed by solving, not by drawing. Two series resistances against the capacitance across the upper divider resistor: the smallest the loop tolerates at 45° of margin (lower curve), and the one that gives the smallest droop after a 100 mA load step (upper). With no capacitor they are 939 mΩ and 885 mΩ — the second BELOW the first, which is the conflict this design has: the best transient is one the loop refuses. The floor falls as the capacitor grows and between 500 and 836.5 pF it leaves the sweep altogether, so every series resistance down to a milliohm is stable. Past about 5000 pF the floor climbs back and overtakes the optimum again. The shaded band is where the design a transient wants is one the loop allows.

The floor a second capacitor removes

Two requirements pulling one capacitor found a regulator whose best transient is one it must not be built with: below 939 milliohms of output-capacitor series resistance the loop has under 45 degrees of margin, and the droop is smallest at 885. The capacitor across the upper divider resistor, added for the reference's sake, dissolves that conflict. At 836.5 picofarads the 45-degree floor leaves the sweep entirely — every series resistance down to a milliohm is stable — and the droop falls 40 per cent at the same time. The band of capacitances that do it runs from 100 picofarads to 5 nanofarads, and above it the conflict returns.

applied · Regulator
Loop gain of a two-pole amplifier closed for a gain of 100. Unity loop gain at 5.73 kHz, where 35.0° of phase remains before −180°. The phase never reaches −180° at any frequency, so there is no gain margin to quote: 2 poles contribute at most 180° and the last of it arrives only at infinity.

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.

feedback · Loop gain
The "offset" a switch leaves moves by 1.863 mV across a volt of signal. computed by solving, not by drawing. The charge a switch leaves on a 1 pF hold capacitor, as the input it was sampling changes. It is W·L·C_ox·(V_gs − V_th) with the clock's high level for the gate, so it falls as the input rises for two reasons at once: less gate drive, and a threshold that rises with the source potential through the body effect. The dashed line is the part that does not know what the signal is — the clock coupling through the gate overlap capacitance, -1.649 mV — and it is the only part of this that is honestly an offset. The curve stops where the switch does: an n-channel device passes nothing within a threshold of its own gate, and the model refuses rather than returning a zero.

The offset that knows the signal

The charge a switch leaves on the capacitor it was sampling is the gate oxide capacitance times the channel area times the overdrive, and both terms in that overdrive depend on the input — one directly and one through the body effect. So the 5.67 mV a data sheet would call an offset moves by 1.86 mV across a volt of signal, which is a gain error of 0.186 per cent and only 3.4 µV of anything else. Opening the summing-node switch first divides the gain error by the amplifier's own gain, exactly, and what is left goes from twenty-nine times the sampled-noise floor to nineteen times below it.

filters · Switched capacitor
The guard leaves a negative resistance, and it reaches −1.59 kΩ. computed by solving, not by drawing. The magnitude of the conductance a source sees looking into the input, guarded and not, with 100 pF of cable and a 1.00 MHz amplifier. The unguarded input's conductance is positive everywhere — a capacitance to ground and a leakage to a rail are both losses. The guarded one is negative above 0.0404 Hz, and its magnitude rises as the square of frequency: −15.9 MΩ at 10 kHz, −161 kΩ at 100 kHz, −3.18 kΩ at a megahertz. Above the amplifier's gain-bandwidth product it flattens at ωₜ·C, which is −1.59 kΩ. That is the same input the guard raises to 10¹⁸ Ω at direct current, and nothing about the leakage the guard was installed for appears in it: the negative resistance is a product of the amplifier's bandwidth and the cable it is driving.

The sign of what the guard gives back

A guard ring is sold on two numbers and they are both about magnitudes: a teraohm of leakage multiplied to 10¹⁸ ohms, and a hundred picofarads of cable bootstrapped out of the way. The guard is also driving that capacitance with a copy of the input that lags it, and a capacitance driven by a lagging copy of its own voltage takes current out of phase with the voltage across it. What the guarded input presents is a negative conductance rising as the square of frequency — −15.9 megohms at ten kilohertz, −3.18 kilohms at a megahertz, flattening at the gain-bandwidth product times the capacitance — and a faster amplifier makes it worse.

instruments · Guarding
The heat a core makes against the heat its path removes, and the two temperatures where they are equal. computed by solving, not by drawing. The rising straight line is what the thermal path can carry away at a temperature — (T − 25)/45 watts, a line because a thermal resistance is a resistance. The curve is what the wound part actually dissipates at that temperature, marched from a hysteresis loop at a material whose saturation flux and permeability both move with temperature. They cross twice. The lower crossing at 88.8 degrees is the operating point and its loop gain is -0.192 — negative, so the core is a stabilising feedback and not a destabilising one. The upper crossing at 191.1 degrees is an ignition temperature: above it the part cannot get rid of what it makes. The slider moves the thermal resistance.

The loss that depends on what it causes

Every thermal figure in this collection has had the power handed in. A ferrite's has no business being: its saturation flux falls with temperature, its permeability rises, and both move the loss. Closing that loop makes the temperature a fixed point rather than a product — and the fixed point has a stable root at 89 degrees whose loop gain is negative, an ignition root at 191 whose loop gain is 120, and a thermal resistance of 183 kelvin per watt at which the two touch and neither exists.

magnetics · Thermal feedback
A diode thermometer measuring its own sense current, at 600 K/W. computed by solving, not by drawing. The same fixed point as the core and the thermistor, on a junction: the dissipation is I·V and V falls with temperature, so the loop gain is negative and the equation has one root at every current. What it costs is two errors. The junction sits above ambient by 0.29 millikelvin at a microamp and 4.26 kelvin at ten milliamperes, which a calibration removes; and a kelvin of ambient produces less than a kelvin of junction, by 1/(1 − R_th·dP/dT), which it does not. After a calibration at 25 degrees the reading at 85 is out by -583 millikelvin at ten milliamperes and -0.09 at a microamp. The coefficient itself moves too — -2.403 against -1.613 millivolts a kelvin — so a quoted tempco carries a sense current as well as a junction.

The sensor inside its own answer

A junction driven from a current source cannot run away, because its forward voltage falls with temperature and its loop gain is therefore negative. What that costs is a thermometer that is warmer than what it is measuring by 4.26 kelvin at ten milliamperes, and — the part a calibration cannot remove — under-reports every change in ambient by 9,584 parts per million, because the sense current's own dissipation falls as the reading rises. Calibrated at 25 degrees, it is out by 583 millikelvin at 85.

semiconductors · Thermal feedback
The straight lines report 6.02 dB of gain margin on a loop that has none. computed by solving, not by drawing. The gain and phase of a loop made of an integrator and a pair at Q = 2, the corner at 1.00 kHz, the integrator set so that the straight-line asymptotes cross unity at 500 Hz. The loop's phase passes −180° at 1.00 kHz. There the lines put the loop gain at −6.02 dB and the solve at 0.00 dB, so the gain margin they report is 6.02 dB against 0.00 dB. The difference is 6.0206 dB, which is 20 log Q exactly with Q = 2, at any integrator gain. Closed, the loop is on the edge: the largest real part among its poles is -5.87e-17 of the corner's angular frequency.

The gain margin the straight lines get exactly wrong

A phase margin read off the straight lines is wrong by an amount that depends on where the loop crosses unity. A gain margin read off them is not: for an integrator and a pole pair the phase passes −180° at the pair's own frequency whatever the gain, and the lines are out there by exactly 20 log Q — 6.0206 dB for two real poles, 13.98 dB at a quality factor of five, at every integrator gain drawn. The stability condition for the loop turns out to be the same inequality: it is stable exactly when the gain margin the lines report exceeds that error.

frequency · Asymptotic approximation
The sign change follows the 0.51 power of the amplifier, not the inductor. computed by solving, not by drawing. Both of the arrangement's frequency boundaries against the gain–bandwidth of the two amplifiers in it, over three decades. The lower curve is the frequency at which the series resistance changes sign, bisected on the sign of the real part; the upper one is where the inductance leaves one per cent. The crossing grows as the 0.513 power of the gain–bandwidth, and the dashed prediction over it is ½√(f_c·f_p) — half the geometric mean of the arrangement's own corner r/2πL = 1.59 kHz and the amplifier's open-loop pole f_t/A₀ — which is inside one per cent while that pole is at least fifteen times below the corner and 8.7 per cent out at the top of the sweep, where it is not. The two boundaries stay between 1.61 and 2.30 per cent of one another throughout, so a faster amplifier moves the active region rather than removing it.

The boundary that improves when the part gets worse

A synthetic inductor's series resistance changes sign at 63.0 Hz with one-megahertz amplifiers, and that frequency is not a property of the inductor. It is half the geometric mean of the arrangement's own corner and the amplifier's open-loop pole — half the square root of their product, which the bisection confirms to a part in a thousand — and it therefore falls as the amplifier's direct-current gain rises, from 686 Hz at a gain of a thousand to 19.9 Hz at a million. The quantity that decides whether a resonator starts does not move at all: it is the transition frequency over four times the Q, 2.50 kHz for a tank of a hundred.

filters · Gyrator
Lead zero at 500 Hz: the lines over-report by at most 3.12° with the loop's phase, and short by up to 20.6°. computed by solving, not by drawing. The error in the phase margin read off the straight lines of an integrator, two poles at 1.00 kHz and a lead section with its zero at 500 Hz and its pole 10 times higher, against where the lines cross unity, measured in decades from the zero. Gaps are placements where the lines are flat at unity or the loop crosses more than once. Read with the loop's own phase the reading is over by at most +3.12°, with the lines crossing −0.01 decades from the zero on a loop with 73.4° of margin, and never over on any loop with 60° or less; it is short by as much as 20.65°. Read with the phase off its straight lines too, on loops with 60° or less, it is never over.

The zero that lifts the lines

A phase margin read off the straight lines of an all-pole loop can only be short, and the proof takes three steps. A lead section breaks two of them: a zero's response lies above its lines, and between a zero and its pole the phase rises. The two breaks pull opposite ways, and measured across every placement of the crossing, in every sweep drawn, they leave an over-report of at most 6.58°, on a loop with 87.5°; on loops with sixty degrees or less it never exceeds 1.52°. The phase sketch is another matter: with the lines crossing at a lead zero above the plant's corner, it reports 17.91° on a loop with 1.17°.

frequency · Asymptotic approximation

Named alongside it

The objects these essays reach for when they reach for this one.

Model rangePhase marginDesign tradeoffStabilityOutput impedanceCapacitive loadCrossover frequencyVerificationGain–bandwidth productLead compensationMeasurement conditionPower supply rejection

All concepts