Filters, measured not tabulated

The resistor that pays the amplifiers back

A synthetic inductor's negative resistance grows as the square of frequency, and so does the real part a resistor in series with the gyrator's capacitor adds: Zᵢₙ = sL/(1 + sCr₄) ≈ sL + ω²LCr₄. Fitted on solves across six designs, the resistor that cancels the amplifiers' term is 4/(ωₜ·C) to 1.8% — 63.7 Ω for 10 nF and 1 MHz amplifiers, whatever the resistance level or the open-loop gain. Put in, it moves the sign change from 63 Hz to 754 Hz; a tenth more removes it below the amplifiers' edge and gives a quality factor of 2,579 at 1 kHz where the bare inductor had −250. The catch is that the cancellation is as good as the gain–bandwidth is known: amplifiers 10% slower than the resistor was chosen for leave −2.9 Ω at 1 kHz. Chosen a tenth over the slowest amplifier a ±30% spread allows, the inductor's Q at 1 kHz runs from 312 to 1,847 and is never negative.

Assumes: The inductor that is an amplifier · The Q the amplifier decides

The boundary that improves when the part gets worse took apart the most unsettling property of a synthetic inductor. Built from four 10 kΩ resistors, a 10 nF capacitor and two 1 MHz amplifiers, Antoniou’s arrangement is one henry to within a per cent over three and a half decades, and its series resistance — the quantity that is copper in a wound coil and therefore positive at every frequency — changes sign at 63.0 Hz. The essay found that frequency to be a coincidence between two unrelated imperfections: a small positive resistance from the amplifiers’ finite gain, and a negative one from their finite bandwidth that grows as the square of frequency. It moves when either does, and it moves down when the amplifiers get better at direct current.

That essay explained the boundary and stopped. A circuit designer wants it gone, and the obvious move — faster amplifiers — only scales the negative term down; it does not change its sign. The less obvious move is to look at what the negative term is. A real part that grows as ω2\omega^2, in an impedance of the form Z1Z3Z5/(Z2Z4)Z_1Z_3Z_5/(Z_2Z_4), is exactly what a resistor in series with the capacitor Z4Z_4 produces. So the amplifiers’ contribution can be read as a negative resistor hidden in series with the gyrator’s capacitor — and it can be paid back with a positive one.

A 63.7 Ω resistor in series with a gyrator's capacitor moves its series resistance's sign change from 63 Hz to 754 Hz, and 70.0 Ω removes it below the amplifiers' edgecomputed by solving, not by drawing. The one-henry synthetic inductor of four 10 kΩ resistors, a 10 nF capacitor and two 1 MHz amplifiers with a gain of 10⁵, its series resistance against frequency with a resistor r₄ in series with the capacitor of 0 (grey), 0.9, 1 and 1.1 times 4/(ωₜ·C) = 63.66 Ω. Without it the resistance is −0.153 Ω at 100 Hz and −25.2 Ω at 1 kHz, negative from 63.0 Hz. r₄ adds ω²·L·C·r₄, the same frequency law, so at exactly 4/(ωₜ·C) the resistance is 0.099 Ω at 100 Hz and −0.075 Ω at 1 kHz and changes sign only at 754 Hz; at 1.1 times it stays positive throughout: 2.44 Ω at 1 kHz.-30-20-100102030101001k10kfrequency (hertz)series resistance of the synthetic inductor (ohms)no resistornegative from 63.0 Hzr₄ = 0.9 × 63.7 Ωnegative from 193 Hzr₄ = 1 × 63.7 Ωnegative from 754 Hzr₄ = 1.1 × 63.7 Ωpositive throughoutsolved, then checked — one resistor, four values63.0 Hz → 754 Hz
Fig. 1 The one-henry synthetic inductor’s series resistance against frequency, with a resistor r4r_4 in series with its capacitor of nothing (grey), and 0.9, 1 and 1.1 times 4/(ωtC)4/(\omega_t C) = 63.66 Ω. Bare: −0.153 Ω at 100 Hz, −25.2 Ω at 1 kHz, negative from 63.0 Hz. With exactly 63.66 Ω: 0.099 Ω at 100 Hz and −0.075 Ω at 1 kHz, negative only from 754 Hz. With 70.0 Ω: positive throughout, 2.44 Ω at 1 kHz.

Why a resistor in that place has the right law

The arrangement’s input impedance is Z1Z3Z5/(Z2Z4)Z_1Z_3Z_5/(Z_2Z_4), and with Z4Z_4 the capacitor and the rest resistors it is sCR1R3R5/R2=sLsCR_1R_3R_5/R_2 = sL. Put a resistor r4r_4 in series with the capacitor and Z4Z_4 becomes r4+1/sCr_4 + 1/sC, so

Zin=sL1+sCr4≈sL−s2LCr4,Z_{in} = \frac{sL}{1 + sCr_4} \approx sL - s^2LCr_4,

and at s=jωs = j\omega the second term is +ω2LCr4+\omega^2 LCr_4: a positive series resistance that grows as the square of frequency, with the inductance untouched to first order. That is the frequency law of the term the amplifiers subtract. The first-order expansion is good while ωCr4≪1\omega Cr_4 \ll 1, which for 10 nF and 64 Ω is four parts in a thousand at 1 kHz and four in a hundred at 10 kHz.

It is worth being exact about what this does and does not claim. It does not claim that the amplifiers’ negative resistance is a resistor in series with the capacitor; it is a residue of two amplifier loops that fail to cancel, as the earlier essay found by taking the residue apart term by term. It claims that the residue has the same frequency dependence as that resistor over the band where the amplifiers are a single pole, and therefore that one element can match it everywhere in that band at once — not at one frequency, which any resistor anywhere could do.

The value of the hidden resistor

If the amplifiers’ term is equivalent to a resistor, that resistor has a value, and the value can be measured without any algebra about the amplifiers. Solve the bare inductor’s series resistance at 10 Hz, where the ω2\omega^2 term is negligible and only the small positive part is left, and at 100, 200 and 300 Hz; the difference at each, divided by ω2LC\omega^2LC, is the resistance that would have to be added in series with the capacitor to make it up.

The resistor that cancels a gyrator's negative resistance, fitted on solves for six designs, against 4/(ωₜ·C). computed by solving, not by drawing. For each design the series resistance was solved at 10 Hz and at 100, 200 and 300 Hz, and the r₄ whose ω²·L·C·r₄ would make up the difference read off. 10 kΩ, 10 nF, 1 MHz: 63.48 Ω against 63.66; 3.3 kΩ, 91.8 nF, 1 MHz: 6.99 Ω against 6.93; 30 kΩ, 1.11 nF, 1 MHz: 570.40 Ω against 572.96; 10 kΩ, 10 nF, 10 MHz: 6.25 Ω against 6.37; gain 10⁶: 63.56 Ω against 63.66; 10 kΩ, 10 nF, 300 kHz: 212.42 Ω against 212.21. Every one lies on 4/(ωₜ·C) within 1.8%: the negative resistance contains neither the resistance level nor the open-loop gain, only the amplifiers' gain–bandwidth and the capacitor.
Fig. 2 The cancelling resistor fitted on solves for six designs — three resistance levels, three gain–bandwidths and two open-loop gains — against 4/(ωtC)4/(\omega_t C). 63.48 Ω against 63.66 for the one-henry design; 6.99 against 6.93 at 3.3 kΩ; 570 against 573 at 30 kΩ; 6.25 against 6.37 with 10 MHz amplifiers; 212.4 against 212.2 with 300 kHz ones. All within 1.8%.

For the one-henry design the fitted value is 63.48 Ω. The number has a closed form, and it is a simple one: 4/(ωtC)4/(\omega_tC), with ωt\omega_t the amplifiers’ gain–bandwidth in radians a second. For 1 MHz and 10 nF that is 63.66 Ω. Across six designs — resistance levels of 3.3, 10 and 30 kΩ with the capacitor scaled to keep one henry, gain–bandwidths of 300 kHz, 1 MHz and 10 MHz, and open-loop gains of 10510^5 and 10610^6 — the fitted value lies on 4/(ωtC)4/(\omega_tC) within 1.8 per cent.

What the law leaves out is as informative as what it contains. The resistance level is not in it: a 3.3 kΩ design and a 30 kΩ design with the same capacitor-per-ohm need resistors that differ only through the capacitor. The open-loop gain is not in it: a gain of 10610^6 gives 63.56 Ω against 10510^5’s 63.48. The open-loop gain decides the small positive part, which is why it moved the sign change in the earlier essay, and it has nothing to do with the negative part. Only the amplifiers’ gain–bandwidth and the capacitor decide that.

One more thing is not in it, and it was the hypothesis this measurement started from. The two amplifiers in the arrangement play different roles — one holds the capacitor’s top, the other its bottom — and it is natural to expect the negative resistance to come from their disagreement, so that a matched pair would cancel it and a mismatched one expose it. Solved with the two amplifiers at 1.1 and 1 MHz, and then at 1 and 1.1 MHz, the resistance at 1 kHz is −24.08 Ω and −24.09 Ω: swapping them changes nothing, and both are what a matched pair at the harmonic mean of the two would give. The negative resistance is a sum over the two amplifiers, each contributing 2/(ωtC)2/(\omega_tC) of hidden resistor, not a difference between them. Matching the amplifiers buys nothing here — the same structure the mismatch that cancels itself found in a current mirror, whose two transistors’ current gains enter only as a sum of reciprocals and so cannot be traded against each other.

What the resistor moves

Put 63.66 Ω in series with the capacitor and the hero figure’s black curve is the result. The small positive resistance at low frequency is untouched — 0.099 Ω at 100 Hz, because r4r_4’s contribution there is ω2LCr4=0.025\omega^2LCr_4 = 0.025 Ω — and the ω2\omega^2 term is gone: −0.075 Ω at 1 kHz against −25.2 bare. The sign change has moved from 63 Hz to 754 Hz, by a factor of twelve.

It has not gone, because the amplifiers are not exactly single poles cancelled exactly by a series resistor. What remains is a term of higher order in ω/ωt\omega/\omega_t, and above about a kilohertz it shows: with exactly the cancelling value the resistance is −1.2 Ω at 3 kHz and then swings positive, to +23 Ω at 10 kHz, where the inductor is close to its upper edge anyway. A tenth more resistance — 70.0 Ω — over-compensates the ω2\omega^2 term enough to keep the resistance positive across the whole band below the amplifiers’ edge: 2.44 Ω at 1 kHz, a loss, but a loss of the right sign.

What the cancelling resistor does to the quality factor: from −250 at 1 kHz to −84197 at exactly 4/(ωₜ·C) and 2579 at 1.1 times it. computed by solving, not by drawing. The synthetic inductor's quality factor, ωL over its series resistance, against frequency, with r₄ = 0 (grey), 1, 1.1 and 1.3 times 4/(ωₜ·C); dotted where the resistance is negative and the quality factor with it. Bare, it is 2429 at 30 Hz and −250 at 1 kHz. With exactly the cancelling value it is −84197 at 1 kHz — the residual is a few hundredths of an ohm of either sign, so the quality factor is huge and its sign is not dependable. At 1.1 times it is 2579 and at 1.3 times 843: a little over-compensation buys a positive, finite, predictable loss.
Fig. 3 The quality factor ωL over the series resistance, against frequency, with r4r_4 of nothing (grey), and 1, 1.1 and 1.3 times 4/(ωtC)4/(\omega_t C); dotted where it is negative. Bare: 2,429 at 30 Hz and −250 at 1 kHz. Exactly cancelled: −84,197 at 1 kHz, the residual a few hundredths of an ohm. At 1.1 times, 2,579; at 1.3 times, 843.

The quality factor makes the point more starkly. Bare, the inductor has a respectable positive Q at low frequency — 2,429 at 30 Hz — and a negative one from 63 Hz up, −250 at a kilohertz, which is a component that adds energy to any tank built around it. Exactly cancelled, the Q at 1 kHz is −84,197: the residual is under a tenth of an ohm, of a sign that depends on the higher-order terms, and a Q that large and that uncertain is not a design value. At 1.1 times the cancelling resistance it is +2,579, and at 1.3 times +843. A little over-compensation trades an enormous, unreliable Q for a large, positive, predictable one.

The Q the amplifier decides found the same thing in an active filter section: a finite gain–bandwidth raises a section’s Q above its design value, and the fix there was also a deliberate compensating error. Here the compensating error is one resistor, placed where its frequency law matches.

A residue of a residue

There is a numerical question hiding in that −84,197, and it is worth answering before trusting any of the small numbers above. At a kilohertz the synthetic inductor’s impedance is 6,283 Ω of reactance and −25.2 Ω of resistance, so the real part is already a part in two hundred and fifty of the number it is read from — the situation the digits the arithmetic did not have studied, where a small answer is the difference of large ones. With the cancelling resistor in, the real part is −0.075 Ω, a part in eighty thousand. A solve that keeps sixteen significant figures still holds that to about eleven, so the residual and its sign are real properties of the netlist rather than of the arithmetic; and the fitted resistor values agree with the closed form to a per cent or two, which a numerical artefact of that size could not arrange.

What the precision cannot do is make the residual meaningful for a real circuit. A twentieth of an ohm is smaller than the difference between two 10 kΩ resistors of 0.1 per cent tolerance would make in the low-frequency positive part, and smaller than the resistance of the copper on any board. The quality factor of −84,197 is a correct statement about an idealised netlist and a useless one about a built inductor, which is the second reason the design figure below over-compensates rather than aiming for zero.

A tank built on the repaired inductor

The reason for wanting a positive, predictable series resistance is that a synthetic inductor is built to resonate. The inductor that is an amplifier put a capacitor across the bare inductor above 63 Hz and found not a high-Q tank but an oscillator, starting on its own noise, because the negative resistance supplied the energy a tank is supposed to lose. With 70 Ω in series with the gyrator’s capacitor, the same tank at 1 kHz has an inductor Q of about 2,600, and the tank’s Q is then set by whichever of its two parts is worse — the rule the Q the components allow established for passive resonators, that the reciprocals of the parts’ quality factors add.

That makes the repaired synthetic inductor an unusually good component. A wound one-henry coil at a kilohertz has a Q of a few tens, limited by its copper and its core; where the Q comes from found an active section’s Q error set by the ratio of its amplifier’s gain–bandwidth to the section’s own frequency, an error that a designer can size but not remove. Here the Q of a few thousand comes from a deliberate, positive loss of a couple of ohms, and the instability is a known distance away — exactly the distance between the slowest amplifier the specification allows and the one the resistor was chosen for.

The catch: a cancellation is a tolerance

A resistor of 63.66 Ω cancels the term of a 1 MHz amplifier. An amplifier’s gain–bandwidth is not a precision quantity: data sheets quote a typical value, and production spread and temperature move it by tens of per cent.

With r₄ chosen for 1 MHz amplifiers, amplifiers 10% slower leave −2.9 Ω at 1 kHz and 30% slower −11.0: the cancellation is only as good as the gain–bandwidth is known. computed by solving, not by drawing. The synthetic inductor with r₄ = 4/(ωₜ·C) for 1 MHz amplifiers, built with amplifiers whose gain–bandwidth is 0.6 to 1.5 times that, its series resistance at 1 kHz (dots) against R₀ + 4ω²L(1/ωₐ − 1/ωₜ) (line), with ωₐ the gain–bandwidth r₄ was chosen for and ωₜ the one built. 0.6: −17.04 Ω, 0.7: −10.97 Ω, 0.8: −6.43 Ω, 0.9: −2.90 Ω, 0.95: −1.41 Ω, 1: −0.07 Ω, 1.05: 1.13 Ω, 1.1: 2.23 Ω, 1.2: 4.16 Ω, 1.3: 5.79 Ω, 1.5: 8.39 Ω. Faster amplifiers leave a positive resistance — loss — and slower ones a negative one: the inductor's sign of loss now depends on a parameter a data sheet gives to tens of per cent.
Fig. 4 With r4=4/(ωtC)r_4 = 4/(\omega_t C) chosen for 1 MHz amplifiers, the series resistance at 1 kHz when the amplifiers are 0.6 to 1.5 times that fast (dots), against R0+4ω2L(1/ωdesign−1/ωt)R_0 + 4\omega^2L(1/\omega_{design} - 1/\omega_t) (line). Amplifiers 10% slow leave −2.90 Ω; 30% slow, −10.97 Ω; 30% fast, +5.79 Ω.

The law for what is left is the difference of two hidden resistors: the one the amplifiers have, 4/(ωtC)4/(\omega_tC), and the one the designer put in, 4/(ωdesignC)4/(\omega_{design}C). At frequency ω the residual series resistance is about

R0+4ω2L(1ωdesign−1ωt),R_0 + 4\omega^2L\left(\frac{1}{\omega_{design}} - \frac{1}{\omega_t}\right),

and the solves agree with it to a quarter of an ohm. Faster amplifiers than designed for leave a positive residual, which is loss; slower ones leave a negative one, which is the original problem back. Ten per cent slow gives −2.90 Ω at 1 kHz, a Q of −2,170 — a tank built on it would oscillate. Thirty per cent slow gives −10.97 Ω.

So the cancelling resistor converts the inductor’s sign of loss from a property of the circuit into a property of a tolerance. Without it the sign was certain and wrong. With it the sign depends on which side of the design value the amplifiers fall — and the earlier essay found that the boundary improves when the amplifiers get worse at direct current, which is a reminder that the amplifier parameter on which a gyrator’s loss depends is rarely the one its data sheet guarantees.

Designing for the slowest amplifier

The way out is the usual one for a tolerance: design for the worst case. Choose r4r_4 for the slowest amplifier the specification allows, with the tenth of margin the hero figure showed the residual needs, and every amplifier in the spread is then at least as fast as the design value, leaving a residual that is positive — loss — everywhere.

Chosen for the slowest amplifier a ±30% gain–bandwidth spread allows, the synthetic inductor's quality factor at 1 kHz is 1847 to 312 — and never negative. computed by solving, not by drawing. r₄ = 1.1 × 4/(ωₘᵢₙ·C), a tenth over the cancelling value for the slowest amplifier a symmetric tolerance allows, and the quality factor at 1 kHz with the slowest, nominal and fastest amplifiers in that tolerance (solid, dashed, dotted), against the tolerance. ±5%: 2459, 1615, 1233; ±10%: 2338, 1141, 805; ±20%: 2094, 673, 463; ±30%: 1847, 440, 312; ±40%: 1597, 301, 224; ±50%: 1344, 209, 163. At nominal the solved series resistance is R₀ + 4ω²L(1.1/ωₘᵢₙ − 1/ωₜ) to a quarter of an ohm. Uncompensated the same inductor has a quality factor of −250 at 1 kHz — negative, which in a tank is an oscillator.
Fig. 5 r4=1.1×4/(ωminC)r_4 = 1.1 \times 4/(\omega_{min} C), chosen for the slowest amplifier a symmetric gain–bandwidth tolerance allows, and the quality factor at 1 kHz with the slowest (solid), nominal (dashed) and fastest (dotted) amplifiers in that tolerance. At ±10%: 2,338, 1,141 and 805. At ±30%: 1,847, 440 and 312. At ±50%: 1,344, 209 and 163. Uncompensated, −250.

The price of a wider tolerance is paid in the Q at the fast end, where the designed-in resistor most exceeds the amplifiers’ own. At ±10 per cent the Q at 1 kHz runs from 805 to 2,338; at ±30 per cent from 312 to 1,847; at ±50 per cent from 163 to 1,344. Every one of those is positive and every one is predictable, against an uncompensated inductor whose Q is −250 at every amplifier in the range. A designer who needs a Q of at least 300 at a kilohertz from 1 MHz amplifiers can now read off the gain–bandwidth tolerance that allows it — about ±30 per cent — which is a specification on a part rather than a hope about one.

This is the general shape of every cancellation in circuit design. What the second path costs at the floor found a compensation for a capacitively loaded amplifier that was suspected of paying in noise and paid instead in settling; the payment here is in tolerance. A cancellation converts an error into a difference, and a difference is only as small as the two things subtracted are known.

What the resistor costs, and where else it could go

The resistor itself costs almost nothing. It adds Johnson noise — 64 Ω in series with a capacitor whose voltage the amplifiers force, so its noise reaches the input through the same impedance conversion as the capacitor’s — and against the four 10 kΩ resistors whose noise eight amplifiers, and what they add measured, sixty-four ohms is negligible. It does not change the inductance to first order: the 1 per cent band, from 1.0 Hz to 3.65 kHz, is the same with and without it to the third figure. And it does not move the upper edge, which the amplifiers’ running out of gain decides.

The position is the one place where the resistor’s real part becomes ω2\omega^2 in the input impedance. A resistor in series with any of the other four elements adds a real part with a different law — a constant, or one that falls with frequency — and could cancel the amplifiers’ term at one frequency only. That is the distinction between this repair and an ordinary trim: a trim is right at the frequency it was set at, and this is right at every frequency where the amplifiers are a single pole, because its law is the error’s law.

The numbers, collected

A one-henry Antoniou inductor from 10 kΩ, 10 nF and 1 MHz amplifiers has a series resistance of −25.2 Ω at 1 kHz and changes sign at 63 Hz. The amplifiers’ negative term is equivalent to a resistor of −4/(ωtC)-4/(\omega_t C) in series with the capacitor, fitted at 63.48 Ω against the formula’s 63.66 and within 1.8 per cent across six designs; it contains neither the resistance level nor the open-loop gain, and it is a sum over the two amplifiers rather than a mismatch between them. A real 63.66 Ω there moves the sign change to 754 Hz; 70.0 Ω keeps the resistance positive below the edge and gives a Q of 2,579 at 1 kHz. Amplifiers 10 per cent slower than designed for leave −2.90 Ω; designed a tenth over the slowest amplifier a ±30 per cent spread allows, the Q at 1 kHz is 312 to 1,847 and never negative.

Still open: the higher-order residue, a floating inductor, and the resistor’s temperature

The residue after cancellation. With the ω2\omega^2 term removed, what is left is a term of higher order that changes sign near 3 kHz. Its law, and whether a second element — a small capacitor across one of the resistors, say — could cancel it as r4r_4 cancels the first, would say how far up the band the technique can be pushed before the amplifiers’ edge itself is the limit.

The floating inductor. One inductor, and ten components built a floating inductor from four amplifiers. Whether its negative resistance is likewise a hidden resistor in series with each of its capacitors, and whether one cancelling resistor per capacitor restores it, is the measurement that would carry this repair into the ladder filters the floating gyrator was built for.

A cancellation that tracks. A gain–bandwidth falls with temperature, so a fixed r4r_4 is a cancellation at one temperature. A resistor whose value tracks the amplifiers’ — or an amplifier whose bandwidth is set by an external capacitor of the same type as the gyrator’s — could make the two hidden resistors track each other, and the residual would then be set by matching rather than by tolerance.

Part 5 on gyrator

One argument about Gyrator, 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:

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 productGyratorModel rangeNegative resistanceQuality factorSynthetic inductor