Filters, measured not tabulated

The notch that gives back the delay

A pair of zeros on the jω axis beside a fifth-order Bessel guarantees 16.77 dB everywhere above twice the corner, more than any number of extra poles, and makes the passband delay flatter — 0.0096% against the Bessel's 0.40% — because a factor that is real at every frequency spends no delay. A real notch has a finite depth, which moves its zeros off the axis, and off the axis they are no longer real. The guarantee barely notices: 16.75 dB at a 40 dB notch, 16.55 at 30, and a sixth pole only catches up below an 18.3 dB notch, close to the shallowest the poles allow. The delay notices first. The zeros now carry a delay of their own, ∓1/Qω at zero frequency for a notch of quality Q at angular frequency ω, changing by three-quarters of that across the passband, and that change is the spread: 0.061% at a 60 dB notch, back to the plain Bessel's 0.40% at 42.4 dB. So a notch built for a stopband can be shallow, and a notch built for a flat delay has to be about seventy decibels deep. Mirrored to the right of the axis, deep zeros even flatten it further.

Assumes: Three families, one corner · Flat magnitude, unflat delay

The zero that spends no delay put a pair of zeros on the jωj\omega axis beside a fifth-order Bessel low-pass and found that they improve it on every axis the earlier essays had measured. A factor 1−ω2/ωz21 - \omega^2/\omega_z^2 is real at every real frequency, so it contributes no phase except a jump at the notch, and so no group delay at all. The zeros droop the passband, the poles move up to hold the half-power point, and the delay comes out flatter: 0.0096 per cent of variation across the passband with the zeros at 2.35 times the corner, against the plain Bessel’s 0.40. Placed there, the zeros also guarantee 16.77 dB of attenuation everywhere above twice the corner, which no Bessel of any order provides. The price was the far stopband and a notch to build.

That essay ended by noting that the notch it assumed was ideal. A real notch network — a twin-T, a bridged section, a state-variable section with its outputs summed — has a finite depth at its centre, set by how well its parts match, and a finite depth means zeros a little off the axis. Off the axis the zeros’ factor is no longer real, so they spend delay after all. Two questions follow from that: whether the delay advantage survives a notch of forty decibels, and how deep the notch must be for the stopband guarantee to hold. They have very different answers.

A fifth-order Bessel with its zeros at 2.35 times the corner, on the axis and moved off it to a 40 dB notch (zeros' Q of 39.5): the attenuation guaranteed above twice the corner is 16.75 dB, against 16.77 on the axiscomputed by solving, not by drawing, the magnitude of the poles times the zeros' factor, the poles rescaled each time so the half-power point stays at the corner. With the zeros on the axis (dashed) the notch is infinitely deep and the response is never less than 16.77 dB down anywhere above twice the corner. With them moved off the axis to a Q of 39.48 (solid) the notch is 40 dB deep and the guarantee 16.75 dB; a plain sixth-order Bessel (faint) gives 14.17 at twice the corner. The zeros' factor is |ωz² − ω² + jωωz/Q| over ωz², which is larger than the ideal's everywhere and most at the notch, so a shallow notch costs a little attenuation at every frequency and a great deal at one.-75-50-250012345frequency, in multiples of the half-power pointresponse (decibels)never less than 16.8 dB above twice the cornersolved, then checked — zeros off the axis40 dB notch
Fig. 1 A fifth-order Bessel with zeros at 2.35 times the corner, on the axis (dashed) and moved off it to a 40 dB notch, a zeros’ Q of 39.5 (solid); a plain sixth-order Bessel (faint). The poles are rescaled each time to hold the half-power point. The attenuation guaranteed above twice the corner is 16.75 dB against 16.77 on the axis, and the sixth-order Bessel gives 14.17 at twice the corner.

Zeros with a Q

The zeros of a real notch sit at −σ±jωz-\sigma \pm j\omega_z, a little into the left half-plane, with σ=ωz/2Qz\sigma = \omega_z/2Q_z. Their factor is (ωz2−ω2+jωωz/Qz)/ωz2(\omega_z^2 - \omega^2 + j\omega\omega_z/Q_z)/\omega_z^2. At the notch frequency its magnitude is 1/Qz1/Q_z, so the zeros alone give a notch 20log⁡10Qz20\log_{10}Q_z deep, to which the poles add their own attenuation at that frequency — about seventeen decibels at 2.35 times the corner. The figures specify each case by the total depth at the notch, from 18 dB, which is close to the shallowest the poles allow, to 90 dB. A 40 dB notch is a zeros’ Q of 39.5, and a 60 dB notch one of 395.

The magnitude of the factor is the same whether the zeros sit just left of the axis or just right of it, at +σ±jωz+\sigma \pm j\omega_z; a notch whose components are mismatched one way or the other puts its zeros on either side, as the zeros that have no side found for a pair mirrored across the axis. So every magnitude here belongs to both, and only the delay and the step tell them apart.

As in the earlier essay, the poles are rescaled at every depth so that the whole response keeps its half-power point at the corner. The rescaling is small, since a shallower notch droops the passband slightly less.

The guarantee hardly notices

The first figure shows the magnitude at a 40 dB notch beside the ideal one. The two differ visibly only near the notch, where the ideal goes to minus infinity and the real one stops at −40 dB. Everywhere else the finite-Q factor is a little larger than the ideal one, so the response is a little less attenuated, but only a little.

What the zeros guarantee above twice the corner, against how deep their notch is: 16.77 dB on the axis, 16.75 at a 40 dB notch, and below a 18.3 dB notch a sixth pole does as well. computed by solving, not by drawing: the least attenuation anywhere from 2 to 40 times the corner, for the fifth-order Bessel with zeros at 2.35 times the corner moved off the axis to give notches from 18 to 90 dB deep — no shallower is possible, since the poles alone are about seventeen decibels down there (line; dots at 80, 60, 50, 40, 30, 25, 20 dB). 80 dB (Q 3950.0): 16.77 dB; 60 dB (Q 395.0): 16.77 dB; 50 dB (Q 124.9): 16.77 dB; 40 dB (Q 39.5): 16.75 dB; 30 dB (Q 12.4): 16.55 dB; 25 dB (Q 6.9): 16.10 dB; 20 dB (Q 3.7): 14.88 dB. On the axis, 16.77 dB. The plain fifth-order Bessel gives 14.06 at twice the corner and a sixth-order 14.17; the zeros' advantage over a sixth pole is gone below a notch of 18.3 dB.
Fig. 2 The least attenuation anywhere from 2 to 40 times the corner, against the notch’s depth at its own frequency, from 18 dB to 90 dB. On the axis, 16.77 dB; at 60 dB, 16.77; at 40 dB, 16.75; at 30 dB, 16.55; at 20 dB, 14.88. The plain fifth-order Bessel gives 14.06 at twice the corner and a sixth-order 14.17: the zeros’ advantage over a sixth pole is gone below an 18.3 dB notch.

The second figure measures the guarantee — the least attenuation anywhere above twice the corner — against the notch’s depth. It is 16.77 dB with the zeros on the axis and still 16.77 at a 60 dB notch, 16.75 at 40, 16.55 at 30 and 16.10 at 25. Only below about 20 dB does it fall fast, to 14.88 at 20 dB, and the sixth-order Bessel’s 14.17 is reached only at a notch of 18.3 dB, which is barely deeper than the poles’ own attenuation at the notch frequency.

The reason is where the guarantee is set. The least attenuation above twice the corner occurs at twice the corner itself, or on the lobe just above the notch, and neither is near the notch’s centre. A finite Q fills the notch from the bottom, and the bottom is the most attenuated part of the stopband, the one place the guarantee never looked at. So the earlier essay’s caution — that a notch only forty decibels deep would put a floor under the guarantee — turns out to be unfounded for this placement. A notch built only for the stopband can be shallow, about 25 dB, and lose a fraction of a decibel.

The zeros’ own delay

The delay is another matter. Off the axis the zeros’ factor has a phase that varies with frequency, and its slope is a group delay of its own:

τz(ω)=∓a(ωz2+ω2)(ωz2−ω2)2+a2ω2,a=ωzQz,\tau_z(\omega) = \mp\frac{a(\omega_z^2 + \omega^2)}{(\omega_z^2 - \omega^2)^2 + a^2\omega^2}, \qquad a = \frac{\omega_z}{Q_z},

negative for zeros in the left half-plane and positive for zeros in the right. At zero frequency it is ∓1/(Qzωz)\mp 1/(Q_z\omega_z), and at the notch it is ∓2Qz/ωz\mp 2Q_z/\omega_z, a sharp feature a notch’s width wide.

The group delay with a 40 dB notch at 2.35 times the corner: zeros left of the axis take 0.0017 periods away at zero frequency and dip at the notch; mirrored right, they add the same and peak there. computed by solving, not by drawing, the poles' delay plus the zeros' closed form, checked against the slope of the whole response's phase at three frequencies on each side. With the zeros on the axis the delay is the poles' alone (dashed), 0.2559 periods at zero frequency. With them at a Q of 39.48 on the left (solid) it is 0.2542 periods there and dips to −5.12 at the notch; mirrored onto the right (dotted), 0.2577 and a peak of 5.58. The feature is 2Q/ωz deep and a notch-width wide, well outside the passband; inside it the change is nearly the constant ∓1/(Qωz).
Fig. 3 The group delay with a 40 dB notch at 2.35 times the corner, against frequency: the poles’ alone (dashed, the zeros on the axis), with the zeros left of the axis (solid) and mirrored right (dotted), the closed form checked against the slope of the whole phase. At zero frequency 0.2559, 0.2542 and 0.2577 periods; at the notch, −5.12 and +5.58.

The fourth figure draws it at a 40 dB notch. At the notch the feature is large: the left-half-plane zeros drive the total delay to −5.12 periods there, an advance, and the right-half-plane ones to +5.58. That is well outside the passband, at 2.35 times the corner, and it matters only to a signal with content at the notch, which the notch removes anyway. In the passband the change is small: the zeros take 0.0017 periods away at zero frequency, out of 0.256.

Small is not the same as harmless, because the advantage being protected was itself small in absolute terms. The plain Bessel’s delay varies by 0.40 per cent across the passband, about 0.001 periods, and the zeros’ ideal improvement was to bring that to 0.0096 per cent, 0.00002 periods. The finite zeros’ own delay is 0.0017 periods at zero frequency, and it is not constant: by the closed form, it grows by about three-quarters of itself between zero frequency and the corner, since (ωz2+ω2)/(ωz2−ω2)2(\omega_z^2 + \omega^2)/(\omega_z^2 - \omega^2)^2 rises by that much when ωz\omega_z is 2.35 times the corner. A change of three-quarters of 0.0017 periods is a variation of 0.5 per cent of the delay, larger than the whole of the plain Bessel’s.

Flatness against depth

The fifth figure measures the variation directly, against the notch’s depth, for zeros on each side.

The passband delay's flatness against the notch depth: 0.0096% with the zeros on the axis, 0.061% at a 60 dB notch, and the plain Bessel's 0.40% is reached at a 42.4 dB notch — the flatness the zeros were for is the first thing a real notch gives back. computed by solving, not by drawing: the group delay's variation from zero frequency to the corner, as a percentage of its value at zero frequency, for zeros at 2.35 times the corner moved off the axis to notches from 26 to 90 dB, left of the axis (solid) and mirrored right (dotted). On the axis it is 0.0096%; the plain fifth-order Bessel's is 0.398%. Left and right: at 80 dB 0.0147% and 0.0064%; at 60 dB 0.061% and 0.041%; at 40 dB 0.523% and 0.497%; at 30 dB 1.657% and 1.568%. The zeros' own delay, ∓1/(Qωz) at zero frequency, changes across the passband by three-quarters of itself, and that is the spread. Left of the axis it doubles the ideal's at a 74.5 dB notch and reaches the plain Bessel's at 42.4 dB; right of it, at 41.9 dB, and at notches deeper than about 70 dB right-half-plane zeros flatten the delay a little below the ideal's, 0.0064% at 80 dB, because their delay rises across the band where the poles' falls.
Fig. 4 The group delay’s variation across the passband as a percentage of its value at zero frequency, against notch depth, for zeros left of the axis (solid) and right (dotted). On the axis 0.0096%; the plain Bessel 0.398%. At 80 dB, 0.0147% and 0.0064%; at 60, 0.061% and 0.041%; at 40, 0.523% and 0.497%. Left of the axis the spread reaches the plain Bessel’s at a 42.4 dB notch.

On the left of the axis, the spread is 0.0147 per cent at an 80 dB notch, 0.061 at 60, and 0.523 at 40, which is worse than the plain Bessel the zeros were meant to improve. It doubles from the ideal value at a 74.5 dB notch and reaches the plain Bessel’s at 42.4 dB. So the answer to the first question is no: at a forty-decibel notch the delay advantage has gone, and the filter’s delay is less flat than it would have been without the zeros. Keeping most of the advantage needs a notch of about seventy decibels. In a twin-T that is a matching of parts to about a tenth of a per cent, by the twenty decibels a decade the null that is stationary in nothing measured — 92 dB at a hundredth of a per cent of tolerance — and every other mechanism that fills a null counts against the same budget.

The right of the axis behaves slightly differently, and in one range better. Right-half-plane zeros add delay, and their delay rises across the passband, where the poles’ delay falls; at deep notches the two partly cancel, and the spread drops below the ideal zeros’: 0.0064 per cent at 80 dB against 0.0096. At shallow notches the right side spreads the delay about as badly as the left — 0.497 per cent at 40 dB, reaching the plain Bessel’s at 41.9 dB. A right-half-plane pair of this depth would be hard to build on purpose, but a notch trimmed for depth can land on either side, and the side it lands on decides whether its residual helps or hurts the delay.

The step

The step reads both the magnitude and the delay, so the zeros’ own delay should appear in it. The sixth figure checks how.

The step with a 30 dB notch either side of the axis, against the ideal zeros': overshoot 0.451% and 0.535% against 0.494%, settled to 1% in 0.523 and 0.524 periods against 0.522. computed by solving, not by drawing, by partial fractions on the poles with the zeros' numerator, the on-axis case held to the earlier essay's routine. Zeros on the axis (dashed): 0.494% overshoot, 1% settling in 0.522 periods; the plain Bessel 0.773% and 0.681. 80 dB notch: left 0.494% and 0.522, right 0.494% and 0.522; 60 dB notch: left 0.493% and 0.522, right 0.495% and 0.522; 40 dB notch: left 0.481% and 0.522, right 0.507% and 0.523; 30 dB notch: left 0.451% and 0.523, right 0.535% and 0.524. Drawn: the 30 dB notch, left (solid) and right (dotted). The zeros' constant passband delay of ∓1/(Qωz) appears as an earlier or later step, and the rest of the step barely moves.
Fig. 5 The step through the filter with a 30 dB notch either side of the axis, against the ideal zeros’ (dashed). Overshoot 0.451% left (solid) and 0.535% right (dotted), against 0.494%; settling to 1% in 0.523 and 0.524 periods against 0.522. At a 40 dB notch, 0.481% and 0.507%.

The step barely moves. With the zeros on the axis it overshoots 0.494 per cent and settles to one per cent in 0.522 periods of the corner; with a 30 dB notch on the left it overshoots 0.451 and settles in 0.523, and on the right 0.535 and 0.524. The zeros’ near-constant passband delay shifts the step slightly earlier or later, and their small effect on the magnitude alters the overshoot by a few hundredths of a per cent. Settling to one per cent is set by the poles, which hardly move. So the step advantage of the earlier essay — settling in 0.52 to 0.55 periods of the corner, depending on the placement, against the plain Bessel’s 0.681 — survives any practical notch. It is the flatness of the delay, a second-order property of the passband, that does not.

Three properties, three tolerances

The zeros were bought for three things, and a real notch spends them unequally. The stopband guarantee depends on the attenuation away from the notch’s centre and survives down to a notch of about 20 dB. The step depends on the poles’ positions and on the passband magnitude, and survives any notch drawn. The flat delay depends on the zeros’ factor being real across the passband, which is the one property a finite notch breaks directly, and it needs a notch of about seventy decibels. A designer who wants the stopband and the step can build an ordinary notch; one who wants the delay has to build a very good one, or a notch whose residual is on the right side of the axis.

That ordering is not specific to this filter. Any pair of transmission zeros placed for a stopband sits well above the passband, so the guarantee is decided away from the notch’s centre. And the zeros’ delay in the passband is always about 1/(Qzωz)1/(Q_z\omega_z), varying by a fraction that depends only on how far above the band the zeros sit: the closer they are, the larger the variation, and the deeper the notch has to be to keep the delay flat. The zeros that buy an order placed zeros for an elliptic response, much closer to the band; there the same arithmetic would ask more of the notch still.

Which side a real notch lands on

A notch’s zeros leave the axis for reasons that have signs. In a twin-T, a mismatch between the two arms’ time constants moves the zeros to one side or the other depending on which arm is the faster, and loss in a component — a capacitor’s series resistance, a resistor’s own reactance — generally pushes them one way. What actually fills a null traced a null’s floor to its components’ tolerances, and a tolerance is a distribution with both signs, so a batch of notch sections trimmed to the same depth will have residuals on both sides of the axis.

For the stopband and the step that makes no difference, since the magnitude is the same on either side and the step moves by hundredths of a per cent. For the delay it makes a modest difference: at a 60 dB notch, 0.061 per cent on the left against 0.041 on the right. A production filter specified for delay flatness would therefore see a spread of delay flatness across a batch that follows the spread of notch residuals, with the right-side units better. That is the kind of asymmetry a specification written on depth alone cannot see.

The pulse filter, revisited

The earlier essay’s worked case was a pulse-height filter needing sixteen decibels at twice the corner, which no Bessel provides and which the zeros at 2.35 times the corner deliver with 16.77. The question it left was whether a bench notch would hold that. The answer here is that it would, comfortably: a 30 dB notch gives 16.55, and any twin-T with parts matched to a per cent does better than that. What the bench notch would not hold is the delay flatness, and a pulse filter mostly does not need it — its concern is overshoot and settling, which the second-order properties of the passband barely touch.

A filter whose purpose is to preserve a waveform’s shape is different. The attenuation a flat delay cannot buy and the line from Bessel to Butterworth priced delay flatness against attenuation along the all-pole families, and the zeros looked like a way to have both. With a real notch they are a way to have both only if the notch is deep. Below about 42 dB the designer has bought a stopband with the delay flatness the Bessel already had, which is the trade the all-pole line makes too. Three families, one corner set that line’s starting point, and a shallow notch moves the zeros’ filter back onto it.

How the responses were computed

The Bessel poles are the earlier essays’, normalised to a half-power point at the corner, and rescaled together by a factor bisected until the whole response, zeros included, is half-power at the corner. The zeros’ Q for a stated total notch depth is bisected on the attenuation at the notch frequency. The guarantee is the least attenuation over sixteen hundred logarithmically spaced frequencies from two to forty times the corner. The group delay is the poles’ plus the zeros’ closed form, checked against a central-difference slope of the whole response’s phase at three frequencies on each side to a part in a hundred thousand. The step is the poles’ residues with the zeros’ quadratic in the numerator, and the on-axis case is checked against the earlier essay’s own step routine.

What the notch leaves out

A real notch network’s other poles. A twin-T is a passive network with poles of its own, and an active notch section has an amplifier; both add delay that this analysis attributes to nothing. The zeros here are an idealisation of a notch with a finite depth and nothing else.

A notch that drifts. A real notch’s depth and centre move with temperature, as two parts that drift together found for a pair of poles. A notch trimmed to 70 dB at one temperature may be 40 at another, and the delay’s flatness follows it.

The far stopband. All the figures stop at forty times the corner. A finite notch does not change the earlier essay’s far-stopband price, 41 dB at ten times the corner, by more than a fraction of a decibel.

The numbers worth carrying

Zeros at 2.35 times a fifth-order Bessel’s corner, moved off the axis to a finite notch, still guarantee 16.75 dB above twice the corner at a 40 dB notch and 16.55 at 30; a sixth pole catches up only below an 18.3 dB notch. The step is unchanged to a few hundredths of a per cent. The flat delay is the first thing given back: the zeros’ own delay, ∓1/(Qzωz)\mp 1/(Q_z\omega_z), varies by three-quarters of itself across the passband, so the spread is 0.061 per cent at a 60 dB notch and reaches the plain Bessel’s 0.40 per cent at 42.4 dB. A notch for a stopband can be ordinary; a notch for a flat delay needs about seventy decibels, or a residual on the right of the axis.

Still open: zeros nearer the band, a notch trimmed for delay, and two pairs

Zeros nearer the band. The delay’s sensitivity to a finite notch grows as the zeros approach the corner, since their delay varies more across the passband. An elliptic filter’s zeros sit just above the band edge, and how deep its notches must be to keep whatever delay properties it has is the same calculation at a placement where the answer may be a hundred decibels.

A notch trimmed for delay rather than depth. Since right-half-plane zeros of the right depth flatten the delay below the ideal, a notch could be trimmed deliberately to put its residual there. Whether a stable network can hold a right-half-plane pair at a chosen distance from the axis, and how flat the delay could then be made, is a design question this result raises.

Two pairs of zeros. The earlier essay’s second open question, a second pair further out to restore the far stopband, meets this one: two finite notches each spend delay, and whether their passband delays add or partly cancel depends on where each sits.

Part 6 on filter families

One argument about Filter families, and one of 6 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 tradeoffFilter orderGroup delayStep responseStopband attenuationTransmission zero