Filters, measured not tabulated

The peak the amplifier moves

A twin-T around a stage of gain A makes a peak of quality factor (A + 1)/4, and a real stage has a bandwidth of its own, so its gain at the null is complex. The expectation is that the lag turns the loop's gain and the Q rises by 1/cos φ, doubling at 60°. It does not: a single pole that turns the gain by φ also shrinks it by cos φ, and the two cancel in the width of the peak — the Q holds to about one part in the gain up to 60°, and the loop still oscillates at the same shunt error, 4.1% at a gain of 100, to three per cent. What the stage's bandwidth moves is the peak itself: 2·f₀/GBW below the null, with the gain nowhere in it. At 45° of lag the frequency the circuit was built to select sits on its own −3 dB edge.

Assumes: What actually fills a null · The Q the amplifier decides

The sign the null leaves behind put a twin-T in the feedback path of an amplifier of gain A and turned its null into a peak. The closed loop is A/(1+A T)A/(1 + A\,T), and where the twin-T’s transfer TT is zero the loop’s gain is the whole of A. With exact parts the peak’s quality factor is (A+1)/4(A + 1)/4. With the shunt elements out by a fraction tt the twin-T leaves a residue at the null, and that residue is a real number, −t/4-t/4. Multiplied by the gain it moves the Q to (A+1)/4÷(1−At/4)(A + 1)/4 \div (1 - A t/4) — down towards 1/∣t∣1/|t| one way, and up without limit the other, until the loop oscillates at t=4/At = 4/A.

Every amplifier in that essay had a gain of A at every frequency. A real one does not. A selective amplifier’s gain stage is an operational amplifier with local feedback, and a stage of gain A on an amplifier with gain–bandwidth GBW has a bandwidth of its own, GBW/A, and lags φ=arctan⁡(f0A/GBW)\varphi = \arctan(f_0 A/\mathrm{GBW}) at the null frequency f0f_0. That essay ended by expecting the lag to rotate the real residue: the stability boundary would then depend on both, and there would be a gain–bandwidth product below which even an exact twin-T never reaches its Q or oscillates. This essay measures it, and the expectation is wrong in an instructive way.

What the lag was expected to do

The argument is short and plausible. The loop’s denominator is 1+A T1 + A\,T. Near the null an exact twin-T’s transfer is a small imaginary number growing with the detuning, and the peak’s width is set by how fast A TA\,T grows against the one. If the gain is ∣A∣e−jφ|A|e^{-j\varphi} rather than ∣A∣|A|, only its in-phase part ∣A∣cos⁡φ|A|\cos\varphi is set against the one, so the peak should be narrower by cos⁡φ\cos\varphi: the Q should rise by 1/cos⁡φ1/\cos\varphi, and at 60 degrees of lag it should double. By the same reasoning the wall should move in, to 4cos⁡φ/A4\cos\varphi/A, because only the gain’s in-phase part multiplies the real residue.

The twin-T is the one of the earlier essays, ten kilohms and ten nanofarads, with its null at 1591.5 Hz, in a loop of gain 100.

On a 300 kHz amplifier the stage lags 27.9° at the null: the Q stays at 25.4 and the peak moves 1.02% below itcomputed by solving, not by drawing. The 10 kΩ, 10 nF twin-T, exact, as the feedback network of a stage of gain 100 whose own bandwidth is the amplifier's gain–bandwidth over 100, so that at the null, 1591.5 Hz, it lags 27.95° (solid); dashed is an ideal stage. The quality factor is 25.440 against 25.247 — hardly moved — and so is the peak's height, 99.7 against 100.0. What moves is where the peak is: 1.024% below the null, where 2·f₀/GBW is 1.061%. At the null itself the gain is 88.3, 0.886 of the peak. With the shunt elements 1% out, the Q is 33.72 against 33.50.012-10-50510frequency offset from the null (%)log₁₀ closed-loop gainstage lag at the null27.95°Q, real stage25.440…ideal stage25.247peak below the null1.024%gain at the null ÷ peak0.886solved, then checked — the stage's bandwidth in the loopthe peak moves, the Q does not
Fig. 1 The exact 10 kΩ, 10 nF twin-T around a stage of gain 100 on a 300 kHz amplifier, which lags 27.95° at the null (solid), against an ideal stage (dashed). The Q is 25.44 against 25.25 and the peak 99.7 against 100.0; the peak sits 1.02% below the null. At the null itself the gain is 0.886 of the peak.

On a 300 kHz amplifier the stage lags 27.95 degrees at the null, and the argument says the Q should rise by thirteen per cent. It rises by 0.8 per cent: 25.44 against 25.25. The peak’s height barely moves either, 99.7 against 100. What does move is visible at a glance and was not in the argument at all: the whole peak has slid 1.02 per cent down in frequency, so that the null the parts were chosen for is no longer where the circuit selects. The slider on the figure at the head of the page takes the amplifier from 10 MHz to 100 kHz, and the picture stays the same — the Q fixed, the peak walking downward.

Why the Q stays

The argument’s mistake is in treating the lag as a rotation of a gain of fixed size. A stage with a single pole of its own does not do that. Its gain is A/(1+jfA/GBW)A/(1 + j f A/\mathrm{GBW}), and at the null that is Acos⁡φ e−jφA\cos\varphi\, e^{-j\varphi}: the same pole that turns the gain by φ\varphi shrinks it by cos⁡φ\cos\varphi.

The stage's lag does not raise the exact twin-T's Q: within one part in the gain to 60°, where 1/cos φ would have doubled it. computed by solving, not by drawing. The loop's quality factor with an exact twin-T and a stage of gain A lagging the stated angle at the null, as a multiple of the same loop with an ideal stage, for gains of 30, 100 and 1000 (dots). The dashed curve is 1/cos φ, what the Q would do if the lag only turned the gain: at 60° it would double. It does not, because a single pole that turns the stage's gain by φ also shrinks it by cos φ, and the two cancel in the width of the peak. The Q holds to about one part in the gain up to 60° — 3.22%, 0.97%, 0.10% at worst for gains of 30, 100 and 1000 — and falls, 0.823, 0.879, 0.980 at 80°, only where the stage's own response is changing across the peak.
Fig. 2 The exact twin-T loop’s Q as a multiple of its ideal-stage value, against the stage’s lag at the null, for gains of 30, 100 and 1000 (dots), with 1/cos φ (dashed). The Q holds to about one part in the gain up to 60° — 3.22%, 0.97% and 0.10% at worst — and falls only near 90°.

Put that into the denominator. Near the null the exact twin-T’s transfer is js δj s\,\delta, with δ\delta the fractional detuning and ss its slope, a half. The denominator is 1+Acos⁡φ e−jφ jsδ1 + A\cos\varphi\,e^{-j\varphi}\, j s \delta. Its magnitude squared is a quadratic in δ\delta whose minimum is cos⁡2φ\cos^2\varphi and whose curvature is (Ascos⁡φ)2(A s \cos\varphi)^2, so the half-power points are cos⁡φ/(Ascos⁡φ)\cos\varphi/(A s\cos\varphi) either side of the minimum: 1/(As)1/(A s), with the lag cancelled out. The peak’s width, and so its Q, does not depend on φ\varphi at all to first order. Its height is the gain there over the minimum, Acos⁡φ/cos⁡φ=AA\cos\varphi/\cos\varphi = A, which does not depend on it either.

The figure checks that across three gains and nine lags. Up to sixty degrees the Q stays within about one part in the gain of its ideal-stage value — 3.2 per cent at a gain of 30, 0.97 at 100, 0.10 at 1000 — where 1/cos⁡φ1/\cos\varphi would have doubled it. The remainder is the second order: the stage’s gain is not constant across the peak but rolls off over it, and a peak whose width is a larger fraction of the stage’s own bandwidth sees more of that. At eighty degrees, where the stage’s gain changes appreciably across the peak, the Q falls, to 0.69 of its ideal value at a gain of 30.

Why the wall stays

The same cancellation keeps the loop’s stability boundary where it was.

The loop oscillates at the same shunt error, 4.126%, to three per cent at every lag up to 60°. computed by solving, not by drawing. The error in the twin-T's shunt elements, in the direction that raises the Q, at which a loop of gain 100 first has poles in the right half plane, bisected on the winding of 1 + A·T, against the stage's lag at the null: 4.126% at 0°, 4.129% at 15°, 4.139% at 30°, 4.166% at 45°, 4.244% at 60°, 4.639% at 75°. The dashed curve is 4·cos φ/A, where the wall would be if only the gain's in-phase part were set against the residue. It is not: the loop oscillates where A(f)·T(f) = −1, the stage's lag is met by the twin-T's own quadrature a little below the null, and the residue needed there is the same −1/|A| in the real part it always was.
Fig. 3 The shunt error at which a loop of gain 100 first oscillates, bisected on the winding, against the stage’s lag at the null: 4.126% at 0°, 4.139% at 30°, 4.244% at 60° and 4.639% at 75°, against 4·cos φ/A (dashed). The wall stays within three per cent of its ideal-stage value up to 60°.

The loop oscillates where A(f) T(f)=−1A(f)\,T(f) = -1. With a lagging gain that is T=−(1+jtan⁡φ)/AT = -(1 + j\tan\varphi)/A at the stage’s own nominal gain: a real part of −1/A-1/A and an imaginary part of −tan⁡φ/A-\tan\varphi/A. The twin-T supplies the imaginary part itself, a little below its null, where its own quadrature has grown to meet it. The real part has to come from the residue, and it is −1/A-1/A, exactly as with an ideal stage. So the wall stays at the shunt error that gives a residue of −1/A-1/A: 4.126 per cent at a gain of 100 with an ideal stage — the first-order 4/A4/A plus a second-order three per cent — and 4.139 at 30 degrees, 4.244 at 60. It moves only once the stage’s lag is steep enough that its gain changes across the frequency range involved, 4.64 at 75 degrees.

The argument’s 4cos⁡φ/A4\cos\varphi/A, the dashed curve, would have put the wall at 2.0 per cent by sixty degrees. It is nowhere near it. For a one-pole stage, the null depth the sign the null leaves behind required for a stated Q is the requirement whatever the amplifier.

Where the peak goes

The lag has to go somewhere, and it goes into frequency. The minimum of the denominator is not at the null but at the detuning where the twin-T’s quadrature cancels the stage’s: δ∗=−tan⁡φ/(As)\delta^{*} = -\tan\varphi/(A s). With tan⁡φ=f0A/GBW\tan\varphi = f_0 A/\mathrm{GBW} and s=1/2s = 1/2 that is

δ∗=−2f0GBW,\delta^{*} = -\frac{2 f_0}{\mathrm{GBW}},

and the gain is gone from it.

The peak sits 2·f₀/GBW below the null whatever the stage's gain: a 3.18 MHz amplifier moves it a tenth of a per cent. computed by solving, not by drawing. How far below the twin-T's null the closed loop peaks, against 2·f₀ over the amplifier's gain–bandwidth, for stages of gain 30, 100 and 1000. Every point with the stage lagging less than 45° at the null lies on the line y = x, less about two parts in the gain — 0.936, 0.979, 0.997 of it at 0.1% — and the grey points are the stages lagging more. The stage's lag is tan φ = f₀·A/GBW and the twin-T's quadrature grows as half the fractional detuning, so the peak moves by tan φ/(A/2) = 2·f₀/GBW: the gain cancels, and the amplifier's product alone decides how far the peak is from where the parts put the null.
Fig. 4 How far below the null the loop peaks, against 2f0/GBW2f_0/\text{GBW}, for stages of gain 30, 100 and 1000: every point with the stage lagging less than 45° lies on y = x, less about two parts in the gain — 0.936, 0.979 and 0.997 of it at 0.1%. Grey points are stages lagging more.

Across three gains spanning a factor of thirty, every point with less than 45 degrees of lag lies on the line: the peak sits 2f0/GBW2f_0/\mathrm{GBW} below the null, less a correction of about two parts in the gain — 0.936 of the line at a gain of 30, 0.979 at 100, 0.997 at 1000. The larger gain lags more at the null but its peak is narrower in exactly proportion, and the two cancel. The amplifier’s gain–bandwidth product alone decides how far the circuit’s selected frequency is from the one its parts put there. A tenth of a per cent needs 3.18 MHz at this null, whatever the Q; a hundredth needs ten times that.

That is a different kind of requirement from the null depth. The null depth sets how precisely the Q is known; the gain–bandwidth sets how precisely the peak’s frequency is known. A selective amplifier is usually built to pick out one frequency, and its frequency error from this cause is systematic, predictable and the same sign every time — it can be designed out by moving the twin-T’s null up by 2f0/GBW2f_0/\mathrm{GBW}, which is the one thing the earlier essays’ analysis could never have asked for.

The selected frequency on its own skirt

The shift is small in absolute terms. What makes it matter is its size against the peak’s width.

At 45° of lag the design frequency sits at the peak's own −3 dB edge: 0.714 of the peak. computed by solving, not by drawing. A selective amplifier of gain 100 around an exact twin-T, driven at the frequency the twin-T was designed for: its gain there as a fraction of its own peak, against the stage's lag at that frequency (dots), with cos φ (line). The two agree to three per cent up to 60°. The peak has moved below the null by tan φ times its own half-width, so at 45° — a stage whose bandwidth equals the null frequency, which is an amplifier of only A·f₀ = 159 kHz — the frequency the circuit was built to select is 2.93 dB down its own skirt.
Fig. 5 The gain at the design frequency as a fraction of the peak gain, for a gain of 100 around an exact twin-T, against the stage’s lag there (dots), with cos φ (line). They agree to three per cent up to 60°; at 45° the design frequency is 0.714 of the peak, 2.93 dB down its own skirt.

The peak’s half-width is 1/(As)1/(A s) in the same units as the shift, so the shift is tan⁡φ\tan\varphi half-widths. At the design frequency the loop’s gain is therefore the stage’s own, Acos⁡φA\cos\varphi, against a peak that has stayed at A: the fraction is cos φ, and the measurement follows it to three per cent up to sixty degrees. At 45 degrees of lag — a stage whose own bandwidth equals the null frequency, which for a gain of 100 is an amplifier of only 159 kHz — the frequency the circuit was built to select sits 2.93 dB down its own skirt, at the peak’s half-power edge.

Stated as a rule it is simple. A twin-T selective amplifier keeps its design frequency within its own passband while f0A<GBWf_0 A < \mathrm{GBW}, the stage’s lag under 45 degrees; it keeps it within a tenth of a decibel of the top while cos⁡φ>0.989\cos\varphi > 0.989, a lag under 8.5 degrees, which is GBW>6.7 Af0\mathrm{GBW} > 6.7\,A f_0. For a Q of 25 at 1.6 kHz that is 1.07 MHz — an ordinary amplifier — and for a Q of 250 it is 10.7 MHz.

Two amplifiers, worked

Take the circuit on this page as a tone detector for its own 1591.5 Hz, with a Q of about 25 from a stage of gain 100, and build it twice.

On a general-purpose amplifier of 1 MHz, the stage has 10 kHz of bandwidth and lags 9.04 degrees at the null. The Q is 25.32 against the ideal stage’s 25.25, and the peak sits 0.311 per cent low, 4.9 Hz. The design frequency gets 0.988 of the peak’s gain, a tenth of a decibel down. For a detector whose passband is 63 Hz wide at the half-power points that is nothing, and nothing about the design needs to change — which is the usual experience with selective amplifiers, and the reason the amplifier’s bandwidth is rarely suspected.

On a micropower amplifier of 100 kHz, the stage has a kilohertz of bandwidth, less than the null frequency, and lags 57.9 degrees. The Q is 25.43, still indistinguishable from the ideal. But the peak has moved 2.98 per cent down, 47 Hz, and the design frequency gets 0.544 of the peak’s gain — 5.3 dB down, well outside the passband. A bench measurement of the Q would find nothing wrong, since the peak is as sharp as it should be. A measurement at the design frequency would find a detector 5.3 dB down at the frequency it was built for, and no component whose value explains it.

The contrast with the parts is worth stating. The null that is stationary in nothing found that a twin-T’s tolerance fills its null rather than moving it; that is what made its residue real in the first place, and why a Q could be set by null depth. The amplifier does the opposite. It leaves the null and the Q alone and moves the frequency, which is the one quantity the parts’ tolerance does not move, so the two errors land on different axes and can be budgeted separately.

Why a gain with a pole is not a rotated gain

The whole of this essay turns on one property of a single pole, and it is worth having in isolation. A gain A/(1+jx)A/(1 + jx) has magnitude A/1+x2A/\sqrt{1 + x^2} and phase −arctan⁡x-\arctan x. Its real part is A/(1+x2)A/(1 + x^2) and its imaginary part −Ax/(1+x2)-Ax/(1 + x^2). What the loop’s denominator responds to is the gain’s real part set against one, and the twin-T’s own quadrature set against the gain’s imaginary part — and for a single pole the imaginary part is exactly xx times the real part, with no freedom between them. The ideal amplifier, and where it stops being one draws the same stage as a horizontal line that bends at GBW/A; the bend is where the real part starts to fall, and the lag is the same bend seen in the phase.

A drawing with the gain as an arrow of fixed length rotated by φ\varphi is a gain with a pole and an all-pass section together, and it predicts a loop that does not exist. The lesson generalises to any argument that treats a phase as free of its magnitude, which in a minimum-phase network it never is — the phase the magnitude already knows recovers one from the other to a fraction of a degree.

What a designer should take

A finite gain–bandwidth does not spoil a twin-T selective amplifier’s Q or its stability margin, whatever the intuition about a rotated gain says. It moves the peak down by 2f0/GBW2f_0/\mathrm{GBW}. Budget for that as a frequency error, correct it by trimming the twin-T’s null upward if the frequency matters, and keep GBW>Af0\mathrm{GBW} > A f_0 at the very least so that the design frequency stays inside the peak.

The null-depth requirement of the earlier essay stands as it was: a null deeper than 20log⁡(44 Q)20\log(44\,Q) for a Q held to ten per cent. The amplifier adds a second, independent requirement on frequency rather than on Q, and the two can be met separately.

The broader lesson is about arguing from a phasor diagram with the gain drawn as a fixed-length arrow. A real gain’s size and angle are not independent when they come from one pole, and a cancellation between them is the rule rather than the exception — the Q the amplifier decides met the active section’s version of the same question, where the amplifier’s finite bandwidth moved both the pole frequency and the Q, and the ratio decided which moved more.

How the numbers were obtained

The twin-T is solved as a netlist at each frequency, with its shunt elements perturbed in opposite directions as in the earlier essays. The stage is a gain of A with one pole at GBW/A, so its lag at the null is arctan⁡(f0A/GBW)\arctan(f_0 A/\mathrm{GBW}), and every figure sets the product from the lag wanted. Each loop’s stability is decided by the winding of 1+A(f) T(f)1 + A(f)\,T(f) about the origin, the criterion stable, and unstable with less gain uses where a single margin cannot decide, over twelve decades and a dense band around the null; the network is passive and the stage has no zeros, so any winding means poles in the right half plane. The peak is found by a coarse scan over half to one and a half times the null and refined by golden section, and both half-power edges by bisection. Each wall is bisected on stability over the shunt error, thirty-six iterations.

What it leaves out

A stage with a second pole. Everything above rests on the stage’s gain and phase coming from one pole, which is what makes them cancel. An amplifier with a second pole below the stage’s bandwidth lags without shrinking in proportion, and then the argument in the first section is closer to right: the Q rises and the wall moves in. How far depends on where the second pole sits against f0f_0.

The amplifier’s output resistance. The twin-T is driven from an ideal source here. A few tens of ohms against the twin-T’s input impedance near the null, which falls to a few kilohms, is a small change in the network’s transfer and, since the residue at the null is what matters, a small change in the residue.

Non-inverting against inverting stages. The stage here is a gain with no sign. An inverting stage puts the twin-T’s residue on the other side of the law, and the whole of this essay’s arithmetic carries across with its sign reversed.

Still open: the second pole, the trim that corrects the frequency, and the bridged-T

An amplifier with a second pole. The cancellation that protects the Q and the wall holds for one pole. A second, at a frequency comparable to the null, breaks it: the stage’s phase then outruns its magnitude’s fall. Solving the loop with a two-pole stage would find the product of gain and second-pole frequency below which the Q is no longer the parts’ and the wall moves.

Trimming the null upward. The shift is systematic, so the twin-T could be designed with its null 2f0/GBW2f_0/\mathrm{GBW} high and the peak would land on the design frequency. Whether a trim that corrects frequency also disturbs the residue — and so the Q — is a question of which element is trimmed, and the answer decides whether frequency and Q can be adjusted independently.

The bridged-T in the same loop. A bridged-T nulls with one fewer component, and the residue that has only one sign asks whether its residue is real, signed and on the same law.

Part 4 on null depth

One argument about Null depth, and one of 5 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

Inside a loop of gain 1000, a twin-T error of +0.10% raises the peak's Q from 250 to 333, and the same error the other way lowers it to 200. computed by solving, not by drawing. An amplifier of gain 1000 with a 10 kΩ, 10 nF twin-T as its feedback network, whose closed-loop gain A/(1 + A·T) peaks at the null, 1591.5 Hz. With exact components the peak is 1000 and its quality factor 250.2, a quarter of one more than the gain. With the twin-T's shunt elements −0.10% out the other way the peak falls to 800 and the Q to 200.2; +0.10% raises them to 1333 and 333.5, and +0.30% to 3973 and 994. At +0.40% the loop oscillates. The sign the null leaves behind Part 3 — Put a twin-T in the feedback path of an amplifier of gain A and its null becomes a peak with a quality factor of (A + 1)/4. A filled null is not a small phasor of any phase. It is a real number, minus a quarter of the error in the shunt elements, and once the loop multiplies it by A its sign decides everything. At a gain of a thousand a 0.1 per cent error lowers the Q from 250 to 200 one way and raises it to 334 the other, and at 0.4 per cent the second direction oscillates. Every gain falls on one curve, the exact-null Q divided by 1 − A·t/4. So a Q is set to ten per cent only by a null deeper than 20 log(44·Q): one per cent parts allow a Q of 9.6. A bridged-T with R₁/R₂ = 100 bottoms out at 34.2 dB, and in a loop of gain 1000 it makes a Q of 4.76. computed by solving, not by drawing. A bridged-T of two 10 nF capacitors, R₁ = 100 kΩ bridging them and R₂ = 1.00 kΩ from their junction to ground, which puts its minimum at the twin-T's 1591.5 Hz: its own transfer (dashed), bottoming at 0.0196, 34.2 dB, rather than a null; and the loop it makes as the feedback network of a gain of 1000 (solid), a peak of 48.5 with a Q of 4.760. Dotted, for scale, is the exact twin-T in a loop of gain 100: a Q of 25.2. The residue that has only one sign Part 5 — A bridged-T puts its minimum where a twin-T puts its null, with one fewer part, and its residue there is exactly 2R₂/(2R₂ + R₁): real, like the twin-T's, but positive for any values the parts can take. In a loop of gain A the two networks follow one law — the Q falls by 1 + A·ρ — and they sit on opposite sides of it. The twin-T's residue is zero with exact parts and either sign with real ones, so its loop's Q can be anything, up to oscillation. The bridged-T's loop is always damped: it rises with the gain and stops at a ceiling near √(R₁/R₂)/2, 5.00 for a ratio of 100, with no gain up to a million able to make it oscillate. What the ceiling buys is steadiness: at a Q of five, ±1% parts move the twin-T's loop by 9.1% and the bridged-T's by 2.0%.

The objects named here

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

Component toleranceDesign tradeoffGain–bandwidth productLoop gainThe quality factorTransmission zero