The section after the gain
Assumes: A floor and a ceiling · The bandwidth noise sees
The floor the gains bring gave equal-maxima scaling its real cost. A half-decibel Chebyshev of order five, built as three Sallen–Key sections, has its loudest node inside its first section at 4.537 times the input, which the ceiling is not at the output found costs it 13.14 dB of range against what an instrument on the output would report. The ceiling a gain gives back applied the textbook repair — divide the signal in front of each loud section and restore it after the last — and with silent gains recovered 2.16 dB. With every amplifier given 4 , the repair recovered nothing. The scaled filter reached 118.18 dB against the unscaled 118.32, because the last gain, 2.833, has nothing after it: its amplifier’s noise fills the whole measurement band, and on its own it is 14.5 µV of a floor of 18.5.
That essay ended by naming the obvious remedy. There is no law requiring the restoring gain to sit after the last section. Placed in front of the last section, it has a filter after it, which removes most of its noise; the cost is that the last section then runs at the unscaled level, so its own loudest node is back in the ceiling. Whether the trade wins, by how much, and at what amount of division, is a direct measurement on the same netlist.
It wins clearly. Restored in front of its last section the filter reaches 122.37 dB at 4 , 4.05 dB above the unscaled filter and 4.19 above equal maxima. And the right amount of division is not the equal-maxima amount, nor found by a search: it is set by one ratio, and can be written down.
Three places to restore
The filter and its noise budget are the earlier essay’s. Every section’s resistors contribute their Johnson noise through their own transfer; every section’s follower contributes 4 through its own transfer; and every gain stage is a real one — a divider with a kilohm of source resistance into a follower below unity, a non-inverting stage with a kilohm lower arm above it. Everything is integrated from 1 Hz to 1 MHz and summed in power. The ceiling is the loudest node in the circuit at the input level that just reaches a ±15 V rail there.
The division is parameterised as before: the gain in front of section is chosen so that the section’s loudest node would be of its unscaled level, with no scaling and equal maxima. What is new is where the signal is restored. Restored after the last section, the arrangement is the earlier essay’s. Restored in front of section , the sections before are divided and the sections from on run unscaled, with a single stage in front of section undoing the division. The gains multiply to one in every arrangement, and the response at 1 kHz is the unscaled filter’s to a part in a billion in each.
The hero figure has the three arrangements side by side. After the last section the range dips to 115.75 dB at — a real stage has appeared where there was a wire, and it costs more than the little scaling buys — and climbs back to 118.18 at full scaling. In front of the middle section it never rises above the unscaled filter at all. In front of the last section it rises steeply from the start, peaks at 122.37 dB near , and then declines gently: 122.29 at 0.6 and 121.98 at full scaling.
The ceiling stops at the last section’s peak
The shape has a simple cause, which the next figure separates into its two halves.
The first two sections are divided, and their loudest nodes fall as of the input. The last section is not divided; it runs at the full signal, and its own loudest node is times the input. So the ceiling falls until the first sections’ peaks come down to 2.833, and then the last section is the loudest thing in the circuit and nothing in front of it can move the ceiling further. The two meet where :
0.312 for this filter, with for the first section and for the last. The ceiling gained there is the ratio of the two peaks, , or 4.09 dB.
Past there is nothing more to gain at the ceiling, and every further division only raises the restoring stage’s gain, which raises the floor. So is the optimum, and it was not found by searching: the figure evaluates the range either side of it, 121.85 dB at , 122.37 at and 122.36 at . The optimum is flat on the high side because the floor rises slowly there and steep on the low side because the ceiling is still falling at 13 dB per unit of .
The floor is the surprise. Up to the tie it has risen by 0.05 dB. The earlier essay’s equal maxima raised it 13.28 dB.
Why the middle placement gains nothing
The third curve on the hero figure, the restoration in front of the middle section, stays at or below the unscaled filter for every , and the reason is in the same two numbers. Restored there, only the first section is divided, and the middle and last sections run unscaled. The middle section’s own loudest node is not lower than the first’s: in this realisation the two first sections carry the same division, 0.220, under equal maxima, which is to say the middle section also peaks at 4.537 times the input. Dividing the first section cannot move a ceiling the middle section is holding at the same height. The only thing the division does is add a stage, and the curve falls by the small amount that stage’s filtered noise costs, 0.31 dB at full division.
So the rule is not “restore as late as a filter allows” but “restore in front of the section whose own peak is lowest, with every louder section before it”. For this filter that is the last section, and the gain is the ratio of the louder sections’ peak to its own. A realisation whose last section was its loudest — the third-order Chebyshev below — offers no section to restore in front of, and a realisation whose two loudest sections were last and first would gain by restoring between them.
A stage with a filter after it
Where the floor comes from says why.
The unscaled filter’s 4.01 µV is almost entirely its followers’ noise, 4 µV of it, which the earlier essay found reaching the output across the whole megahertz because a follower’s noise is behind the section’s last resistor. Equal maxima kept every one of those sources and then multiplied them by the restoring gain of 2.833, and added the restoring stage itself, 14.5 µV: its own amplifier and its resistors, at a gain of 2.833, with nothing after them.
Restored in front of the last section, the restoring stage has a gain of 1.602 — undoing only the first two sections’ division, at much less of it — and its output goes through the last section, a low-pass with a 1 kHz corner. Its noise is then the part of its spectrum inside that section’s band, about a thousandth of the measurement’s megahertz, and it is 174 nV. The input divider, now dividing by 0.624 rather than 0.220, contributes 281 nV and is filtered by all three sections. The sections’ amplifiers are back to 4.01 µV, because nothing multiplies them: the last section’s follower is again the last thing in the chain, at unity gain. The floor is the unscaled filter’s, and the ceiling is 4.09 dB better.
The general rule is the earlier essay’s observation turned into a design: any noise source before a filter is filtered, and every noise source after it is not. Equal maxima places its largest gain after the filter because that is where its restoring factor is needed for the signal. A restoration placed so that a section follows it costs almost nothing in noise.
Every amplifier, not only a quiet one
The earlier essay found that equal maxima looked better with noisier amplifiers, because a noisy floor hides the restoring stage’s contribution. The restoration in front of the last section should not depend on that, since its stage’s noise is filtered whatever its amplifier.
It does not. Across amplifiers from 0.5 to 16 the restoration in front of the last section is 3.06 to 4.07 dB above the unscaled filter, close to the ceiling’s 4.09 dB throughout and losing a decibel only with the quietest amplifier, where the resistors’ noise, which division does raise, is a larger share of the floor. Equal maxima runs from 11.38 dB below the unscaled filter at 0.5 to 0.99 dB above it at 16. At no amplifier noise in the range is equal maxima the better arrangement, and at the quiet end, where a designer choosing a low-noise amplifier is trying to win range, it is the worst by fourteen decibels.
Six filters, and the bound on what moving the gain can buy
The gain the restoration buys is bounded by a ratio of two numbers the unscaled filter already has: its loudest node in the sections before the last, over the last section’s own loudest node. That ratio depends on the family and the order, and on how the realisation arranges its sections.
The seventh-order Chebyshev has the most to gain, 10.3 dB, because its first section peaks far above its last: unscaled it reaches 109.01 dB, equal maxima 115.16, and the restoration in front of the last section 119.36 at . Butterworth filters of orders five and seven gain 2.8 and 5.1 dB; their sections peak less and their ratio of peaks is smaller. The third-order Chebyshev gains nothing, because its last section is already its loudest, so there is nothing in front of it worth dividing, and its is zero. The Bessel filter gains nothing because none of its sections peaks above the input at all. In every case the gain is within the bound and close to it, and in no case is the filter made worse than unscaled.
The order of the sections matters here in a way it did not for equal maxima. Which section goes first chose an order to keep an early section from overloading; with the restoration in front of the last section, the best order is the one that puts the section with the lowest peak last, since that section’s peak is the ceiling. For these realisations the order was taken as built, and choosing it for the ceiling is another lever.
What this does to the design procedure
The procedure that comes out of this is shorter than equal maxima. Find each section’s loudest node relative to its input; choose the section with the lowest peak to go last; divide the signal in front of the earlier sections only until their peaks fall to the last section’s; restore in front of the last section with a single stage. The only number needed is , a ratio of two logarithms, and every other choice is a consequence of placing the noisy stage where a filter can remove its noise.
It also changes how equal maxima should be read. Its prescription — every node at the same maximum — optimises the ceiling alone, and with silent gains it is right to. With real gains it puts the one stage that cannot be filtered where it does the most damage. The arrangement here gives up 9 dB of the ceiling equal maxima could have had, keeps 4 of it, and gives up nothing at the floor. The silent-gain argument for equal maxima was correct about the ceiling and silent about where the floor comes from.
The same rule in a signal chain
The arrangement is familiar from a different scale. A receiver or an instrument chain distributes its gain along a line of stages, and the classical rule — put the gain early, so that each later stage’s noise is divided by the gain in front of it — is the Friis cascade that the floor a circuit has and its neighbours use. Its limit is the same as here: gain early raises every later signal level, and the stage that overloads first sets the ceiling. What the filter adds is that filtering is a second way to divide a stage’s noise, by bandwidth rather than by gain. A gain placed before a filter has its wide-band noise cut to the filter’s band, and a gain placed after the last filter in the chain has nothing to do that. Equal maxima, applied to a filter in isolation, put its restoring gain in exactly the place a chain designer would avoid.
A kilohm, and an amplifier, as before
The gain stages’ resistors are a kilohm, the value the sections themselves use, as in the earlier essay. With the restoring stage filtered, their value matters much less than it did, since the stage’s Johnson noise is filtered with its amplifier’s. The input divider is now the stage most exposed, at 281 nV, and it is filtered by all three sections. The same filter a thousand times larger measured how impedance level and amplifier noise trade in a filter’s own floor; with the restoring stage out of the unfiltered position, that trade is again the one that sets the floor, as it did before any scaling.
A floor and a ceiling introduced the range as a distance between two computed boundaries for a single section. Here the two boundaries are moved by one decision, where a gain sits, in opposite directions by very different amounts: the ceiling 4.09 dB down and the floor 0.05 dB up.
What the budget leaves out
The amplifiers are noise sources with ideal gain and bandwidth, so the restoring stage’s own bandwidth and the sections’ amplifier bandwidths do not enter; with a gain–bandwidth product of a few megahertz they would filter the unfiltered stage of equal maxima a little and leave this arrangement nearly unchanged. Amplifier current noise is absent, which at a kilohm is small. The ceiling is the loudest node at 1 kHz-band signal levels against a ±15 V rail, and an amplifier’s output current limit, which the bowl and the bottom of it did not need to consider, would add a second ceiling at low impedance. The section order is as realised. And the restoration is a single stage in front of the last section; splitting it across the last two sections is a further arrangement, measured only for the restoration in front of the middle section, which gained nothing here.
The numbers to keep
Equal maxima restores the signal after the last section, where its stage is unfiltered: at 4 that stage alone is 14.5 µV and the filter is 118.18 dB against an unscaled 118.32. Restored in front of the last section, the ceiling falls only to that section’s own peak, 2.833, and the division is worth applying only to . There the ceiling has gained 4.09 dB, the floor 0.05, the restoring stage is 174 nV, and the filter is 122.37 dB — 3.1 to 4.1 dB above unscaled at every amplifier noise from 0.5 to 16 . The gain is bounded by the first sections’ peak over the last’s: 10.3 dB for a seventh-order Chebyshev, nothing for a Chebyshev of order three or a Bessel filter.
Still open: the order chosen for the ceiling, impedance scaling per stage, and a ladder with no inner peak
The order chosen for the ceiling. With the restoration in front of the last section the ceiling is the last section’s own peak, so the section with the lowest peak should go last. For a fifth-order Chebyshev that may be a different order from the one that minimises overload or sensitivity, and the range of each of the six orders of three sections, each restored in front of its own last section at its own , is a short table on this netlist.
Impedance scaling per stage. With the restoring stage filtered, the floor is the unscaled filter’s, dominated by the sections’ followers and the last section’s resistors. Lowering the last section’s impedance, which costs current, lowers exactly the contributions that remain. How much of the remaining distance to the silent-gain figure a current budget can buy is the companion question.
A ladder filter with no inner peak. A doubly terminated ladder filter realises the same response with its resonant energy shared among several nodes and no stage to restore. Its range at real amplifier noise, with each of its amplifiers counted, is now the comparison to make against 122.37 dB rather than against equal maxima’s 118.18.
Part 7 on dynamic range
One argument about Dynamic range, 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.
Design tradeoffDynamic rangeFilter familiesHeadroomModel rangeNoise budgetNoise floorRealisation
- Eight amplifiers, and what they add design tradeoff, dynamic range, headroom, realisation
- One inductor, and ten components design tradeoff, model range, realisation
- One step of dither per moment design tradeoff, model range, noise floor
- The band that does not close design tradeoff, model range, realisation
- The digits the arithmetic did not have design tradeoff, model range, realisation
- The floor that is only a floor while nothing flows design tradeoff, model range, noise floor