Feedback, and the margin

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.

Assumes: What is left at crossover

“Virtual earth” is the most useful three-word abstraction in analogue design, and like every model on this site it has a frequency in it that nobody writes down. The node is at ground because a loop is holding it there, so it is at ground exactly as well as the loop is strong — and the loop’s strength falls at twenty decibels a decade from the amplifier’s first pole, which for an ordinary part is ten hertz.

What the summing junction of an inverting amplifier actually is, at 1.00 MHz of gain–bandwidthcomputed 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%.10m100m1101001k10k100m1101001k10k100k1M10M100Mfrequency (hertz)impedance looking into the summing junction (ohms)909 Ω: the resistors alone1% of the input resistorno longer a virtual earth: 995 Hzdashed: the same thing from the cut loopsolved, then checked — a current driven into the node1% of the input resistor by 995 Hz
Fig. 1 The impedance of the summing junction against frequency, measured by driving a current into it and reading the voltage. It is not a small number that stays small; it is a small number at direct current and a plain 909 Ω above the loop. The dashed line is the same quantity from the cut loop. The slider is the amplifier’s gain–bandwidth.

The measurement

An inverting amplifier: a kilohm from the input to the summing junction, ten kilohms from the junction to the output, an amplifier with 10510^5 of gain and a megahertz of gain–bandwidth between the junction and the output. The input source is set to zero, which is what an impedance at a node means — everything else left as it is and the independent sources zeroed — so the kilohm terminates at ground.

Then one ampere is driven into the junction and the voltage is read. That is the definition of an impedance rather than a formula for one, and it is the same routine the networks field uses on a one-port.

frequency impedance of the junction
1 Hz 0.101 Ω
10 Hz 0.142 Ω
100 Hz 1.010 Ω
1 kHz 10.05 Ω
10 kHz 99.88 Ω
100 kHz 674.3 Ω
1 MHz 905.8 Ω
10 MHz 909.5 Ω

Three regions, and each has a name.

Below ten hertz the loop gain is flat at its direct-current value and the junction is 0.101 Ω. Ten hertz is the amplifier’s own pole — its gain–bandwidth over its direct-current gain — and the impedance there is 2\sqrt2 times the floor, which is what a first-order corner does.

Between there and about a megahertz the impedance rises a decade per decade, measured at 1.00 decades per decade, because the loop gain is falling at exactly that rate and the junction is the open-loop impedance divided by it.

Above the crossover the impedance is 909.5 Ω, which is 1 kΩ in parallel with 10 kΩ. That is what is left when the amplifier has stopped participating: two resistors meeting at a node.

Loop gain of a three-pole amplifier closed for a gain of 100. Unity loop gain at 7.36 kHz, where 47.3° of phase remains before −180°. The phase reaches −180° at 127 kHz, where the loop gain is 46.1 dB below unity.
Fig. 2 What is doing the holding. Every number in the table above is the same quantity read through this one — the junction’s impedance is the resistors’ own value divided by one plus this curve — so the three regions of the table are the three regions of this figure.

Two routes

The second route is the return ratio. The loop is cut at the amplifier’s input, injected, and what comes back round is the loop gain TT; the junction’s impedance is then predicted as the open-loop impedance — the plain 909.09 Ω of the two resistors — divided by 1+T|1 + T|.

The two agree to 0.045% across thirty frequencies spanning nine decades. They share the netlist and nothing else: one inverts a matrix with a current source in it, the other inverts a different matrix with the loop opened and reads a node voltage.

Impedance of a series RLC of Q = 2, measured by driving it. One ampere is forced into the terminals at each frequency and the resulting voltage is the impedance. The minimum is 15.8 Ω at 5.03 kHz.
Fig. 3 The same measurement without a loop around it, from the field that defines it. Driving a port with a current and reading the voltage is what an impedance is; everything the feedback adds is the division by one plus the return ratio, and the division is the whole of what a virtual earth is.

The rule the slider produces

Move the gain–bandwidth and the impedance curve slides bodily sideways. The floor does not move, because the floor is the direct-current loop gain and that is set by A0A_0 rather than by the bandwidth; the ceiling does not move, because it is two resistors. What moves is the whole of the sloped middle.

Pick a threshold — one per cent of the input resistor, which is ten ohms here — and bisect for the frequency at which the junction reaches it:

gain–bandwidth one per cent of Rin at
100 kHz 99.5 Hz
300 kHz 299 Hz
1 MHz 995 Hz
3 MHz 2.99 kHz
10 MHz 9.95 kHz
40 MHz 39.8 kHz

Every row is the gain–bandwidth divided by a thousand. A summing junction stops being a virtual earth at a thousandth of the amplifier’s gain–bandwidth product, and the factor of a thousand is not a coincidence of these component values: it is the hundred that is Rf/Rin+1R_f/R_\text{in} + 1 divided into the reciprocal of the one per cent, near enough, and it moves with those two choices and with nothing else.

For a garden-variety part running audio, that is a kilohertz. The node a designer is treating as ground for the whole of the audio band is ten ohms at the top of it and a hundred ohms an octave and a half above.

What the summing junction of an inverting amplifier actually is, at 100 kHz of gain–bandwidth. computed by solving, not by drawing by driving a current into the node and reading the voltage. It is 101 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 99.5 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%.
Fig. 4 The same circuit built with a slow part. A hundred kilohertz of gain–bandwidth puts the ten-ohm point at a hundred hertz, which is inside the band of almost anything — and the ceiling and the floor are in exactly the same places, because neither of them is set by the bandwidth.

Where the 909 ohms comes from

The ceiling is worth deriving because it is the one number in the essay that a reader can check without a solver, and because it is not the number most people would guess.

With the amplifier removed entirely, the junction has two resistors on it: the kilohm going to ground, because the input source was zeroed, and the ten kilohms going to the amplifier’s output, which with no amplifier is also at ground through its own output impedance of fifty ohms. So the junction sees 1 kΩ in parallel with 10.05 kΩ, which is 909.5 Ω, and the measured ceiling is 909.5 Ω.

The guess most people would make is the ten kilohms, on the reasoning that the feedback resistor is the one connected to the thing that stopped working. It is the smaller of the two that dominates, and the smaller of the two is the input resistor — so the ceiling of a summing junction’s impedance is its input resistor, near enough, whatever the feedback resistor is.

That has a consequence for the sloped middle as well. The whole curve is the ceiling divided by 1+T|1+T|, so a design with a smaller input resistor has a proportionally lower impedance at every frequency, and the frequency at which the junction reaches a stated fraction of the input resistor is unchanged. The rule of a thousandth of the gain–bandwidth survives changing both resistors together, which is why it is worth stating as a rule.

A number for the crosstalk

Two signals summed into one junction through a kilohm each. A signal on the second develops a voltage on the junction of its own current times the junction’s impedance, and that voltage pushes a current back down the first input’s resistor into whatever is driving it.

The leakage, as a fraction of the second channel’s own current, is the junction impedance over the input resistance — which is the table at the top of this essay divided by a thousand:

frequency junction leakage into the other input
1 Hz 0.101 Ω −80 dB
100 Hz 1.010 Ω −60 dB
1 kHz 10.05 Ω −40 dB
10 kHz 99.88 Ω −20 dB

Twenty decibels per decade of separation, starting from eighty. A summing mixer built on a megahertz part has forty decibels of channel separation at a kilohertz and twenty at ten, which is audible, and the fix is not better resistors — it is a faster amplifier, because the whole curve moves with the gain–bandwidth and with nothing else in the circuit.

This is the mechanism behind the usual advice to sum into a virtual earth only from sources that can drive it, and behind the observation that a passive summing network followed by one gain stage often measures better than an active summing junction, which is otherwise a puzzle.

What goes wrong when it is not ground

Three consequences, and they are the reason the number is worth having.

Two inputs summed into one junction talk to each other. A current from the second input develops a voltage on the junction, and that voltage drives a current back down the first input’s resistor into whatever is driving it. The crosstalk is the junction’s impedance over the input resistance: a part in ten thousand at direct current, a per cent at a kilohertz, and unity somewhere past the crossover. A summing mixer’s channel separation is this curve.

A capacitance on the junction becomes a gain. The noise gain of an inverting stage is 1+Zf/Zin1 + Z_f/Z_\text{in} where ZinZ_\text{in} includes everything at the junction, so a photodiode’s capacitance or a long input cable’s puts a zero in the noise gain at the frequency where its reactance equals the input resistance — and what is amplified by it is the amplifier’s own input noise, which was not in the signal path at all.

And the input impedance is not the input resistor. An inverting amplifier’s input impedance is usually quoted as RinR_\text{in}, on the reasoning that the far end of it is at ground. It is RinR_\text{in} plus the junction’s impedance, which is a per cent high by a kilohertz and twice the quoted value where the junction reaches 1 kΩ.

The third of those is the one that reaches a specification sheet. An inverting stage whose input impedance is quoted as “1 kΩ” has an input impedance of 1.010 kΩ at a hundred hertz, 1.10 kΩ at ten kilohertz and 1.91 kΩ at a megahertz — which for a stage driven from a source with any impedance of its own is a gain that falls with frequency for a reason that is nowhere in the gain expression. The usual symptom is a high-frequency roll-off a decade below where the gain–bandwidth product says it should be, blamed on the amplifier, and cured by lowering the source impedance rather than by changing the part.

What the summing junction of an inverting amplifier actually is, at 300 kHz of gain–bandwidth. computed by solving, not by drawing by driving a current into the node and reading the voltage. It is 101 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 299 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%.
Fig. 5 Amplifiers of three hundred kilohertz. The summing node is 101 mΩ at direct current and 909.5 Ω once the loop has run out, and it has already reached one per cent of that upper value by 299 Hz. What goes wrong when it is not ground is everything that assumed it was: an input resistor’s current no longer all arrives, and a source’s impedance starts to matter.
What the summing junction of an inverting amplifier actually is, at 3.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 2.99 kHz, 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%.
Fig. 6 Three megahertz: 100 mΩ at direct current, the same 909.5 Ω above the loop, and one per cent by 2.99 kHz. The impedance at the two ends does not depend on the amplifier at all — it is the input resistance divided by the loop gain at one end and the input resistance itself at the other. Only the frequency at which it travels between them moves.

The same failure as the essay before it

The quantity this essay measures and the sensitivity the previous one measures are the same loop gain read twice, and they run out together.

At the default part, the sensitivity reaches one — feedback no longer helping — at 6.33 kHz, and the junction passes one per cent of the input resistor at 995 Hz. Those are different thresholds on different quantities, so the numbers differ; what is identical is the slope between them and the frequency at which both saturate.

That is the honest general statement about feedback and it is worth putting in one sentence: everything a loop does well, it does in proportion to its loop gain, and every one of those things stops at the same place. The gain accuracy, the low output impedance, the virtual earth, the distortion reduction and the disturbance rejection are five names for one division.

The practical form of that is a single question to ask of any circuit with a loop round it: what is the loop gain at the frequency of interest? Everything else follows, and it follows by a division rather than by a rule of thumb. A designer who knows the loop gain is 100 at the working frequency knows that the gain error is a per cent, the summing junction is a hundredth of its ceiling, the distortion is a hundredth of the open-loop figure and the disturbance rejection is forty decibels — all of it, from one number, without a second measurement. What is left at crossover is where that one number is obtained the way a bench obtains it: cut the loop, drive one side of the cut, and measure what comes back to the other.

The sentence is worth stating strongly and then bounding, because it has two real exceptions in this collection and both are instructive.

The first is that near crossover the division is by a complex number smaller than one, so the loop makes things worse rather than merely stopping. This essay’s own curve shows it and how much of the amplifier gets through measures it directly: the fraction of a device change reaching the answer rises above one near crossover, so feedback there makes the gain more device-dependent than no feedback at all, and below fifty degrees of margin the fraction changes sign on the way.

The second is larger and it is a genuine exception to the sentence rather than a qualification of it. What gets through from the rail measures a disturbance rejection on two circuits with identical loop gain, identical crossover and phase margins agreeing to a millionth of a degree — and finds them sixty decibels apart, because the disturbance reaches the output through a forward path the loop divides rather than through the loop itself, and the size of that path is the pass device’s own intrinsic gain. So “the disturbance rejection is forty decibels” does not follow from the loop gain alone; it follows from the loop gain and the open-loop value of the quantity being rejected, and the second of those is a property of the topology that a block diagram does not show.

Which sharpens the sentence rather than weakening it. Everything a loop does well it does by dividing an open-loop quantity by 1+T1+T, and knowing TT tells a designer the divisor and nothing about the dividend.

What the summing junction of an inverting amplifier actually is, at 10.0 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 9.95 kHz, 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%.
Fig. 7 Ten megahertz: one per cent by 9.95 kHz. The same failure as the essay before it, in a different quantity — a loop holds something constant while it has gain to spare, and the frequency at which it stops is the gain–bandwidth divided by whatever the loop was asked to do.
What the summing junction of an inverting amplifier actually is, at 40.0 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 39.8 kHz, 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%.
Fig. 8 Forty megahertz, the end of the slider: one per cent by 39.8 kHz. Across the settings drawn the one per cent frequency runs 299 Hz, 2.99 kHz, 9.95 kHz and 39.8 kHz — one thousandth of the gain–bandwidth at every one of them, exactly. A virtual earth is at ground for a while, and the while is a thousandth of the part.

Where the model stops

The amplifier is one pole. A real part has a second corner, and near it the junction’s impedance stops rising at a decade per decade and can peak — the junction goes inductive, which with a capacitance on it is a resonance, and that is where an inverting stage with a long input lead rings.

That failure is measured elsewhere on this site, on a different circuit and with the numbers in it. The resistance that is below zero finds an emitter follower’s output resistance at 5.5 Ω at direct current and −21.9 Ω at 257 MHz, with the sign not belonging to the transistor: with an ideal source at the base there is no negative band at all, and a hundred nanohenries of wire between source and base produces one from 110 to 301 MHz — so 4.7 to 100 pF on the emitter oscillates while 1 pF and 470 pF do not, a band of load capacitance with quiet ground on both sides of it. An inverting stage’s summing junction is the same object: an impedance that rises with frequency because a loop is running out, meeting a stray capacitance, with the oscillation confined to a band rather than starting above a threshold. And the gain the loop closes against puts the ordinary, non-resonant version of it in numbers on this exact node — 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 output impedance is fifty ohms and constant. A real amplifier’s output impedance rises with frequency too, which adds to the 909 Ω ceiling above the crossover rather than being negligible against it.

And nothing here is nonlinear. Every number is a small-signal impedance about a bias point. What happens when the junction is driven far enough to take the amplifier out of its linear range is not a larger impedance; it is a different circuit, and the loop is not holding anything.

How far is far enough is measured twice in this collection, and the two answers are usefully different. The step that is too big puts the boundary at about eighty millivolts for an ordinary part, arriving as a rate limit — the output can only move so fast, so the response stops being a scaled copy of a smaller one — and no transfer function contains that number because no transfer function can. How small is small signal puts a much smaller one under it, 7.3 millivolts, for the amplitude at which linearising an exponential is one per cent wrong, which is 28 per cent of the thermal voltage rather than a small fraction of it. The junction measured here is nominally at ground and the excursion on it is the input divided by the loop gain, so at low frequency it is microvolts and neither boundary is near; above crossover it is the whole of what the divider passes, and both are.

That is worth stating because it inverts the usual reading of the curve. The frequencies at which the junction is a poor ground are exactly the frequencies at which its excursion is largest, so the small-signal assumption underlying the measurement is weakest precisely where the measurement is most interesting.

What the summing node decides

A node at ground for a thousandth of the amplifier’s gain-bandwidth decides three later results. The gain the loop closes against is where a capacitance at that node separates the signal gain from the noise gain. Where the trouble is at the input is the transimpedance case, where the detector’s capacitance is the largest thing at the node. The ideal amplifier, and where it stops being one is the finite product all of it comes from, and What is left at crossover is the loop gain the node’s impedance is one over.

The gate

The high-frequency limit is asserted to be the two resistors in parallel, to two parts in a thousand. That is the claim that the amplifier has entirely stopped participating, and it is the one that would fail first if the model were wrong.

The direct-current value is asserted to be below a thousandth of it, which is the loop gain doing its job.

The slope is measured over a decade that follows the amplifier, not over a fixed one. The first version measured between one and ten kilohertz, which at 100 kHz of gain–bandwidth is already past the top of the rise and returned 0.83 decades per decade — a real flattening, measured in the wrong place and reported as a defect.

The two routes are asserted to agree to two per cent across nine decades, which is a loose bound for a reason: the return-ratio route uses the open-loop impedance as a constant, and near the ceiling that is no longer a good decomposition. Where it is a good decomposition the two agree to 0.045%.

What links here

Essays that reach for this one mid-argument — the half of a link its own author cannot write down, the 8 sharing most with it of 13.

The objects named here

The third axis, after the field and the idea: the things themselves, and every essay that touches each one.

Closed-loop responseCrossover frequencyLoadingLoop gainModel rangeSumming junction