Higher-order lowpass filters made using a “DC-free” technique can be much more effective in removing ripple from high voltage sources, yet respond rapidly to step-voltage changes and allow far lower capacitor values.

In “Filter DC Voltages Outside Your Supply Rails” we saw how you can re-imagine a popular active bandpass filter topology into a building block for a form of higher-order lowpass filter that doesn’t “see” the DC potential on the signal it’s filtering. This filter is a form of RDC filter, as introduced previously in “Bruton Charisma.” Its values are derived from those of an LCR passive filter. The last article begged these three questions:

- Why can’t we just use an old-fashioned passive filter, completely getting around the problem of providing a supply voltage for active components?
- What response characteristics do we need from a lowpass filter to achieve some benefits for filtering practical bias and reference voltages?
- Are there any hidden catches in the use of this “DC-free” filter?

Let’s set up an example application. Suppose we’ve got a high bias voltage, say 180 V, derived from an unregulated line-operated power supply running in the US from 60 Hz AC. Let’s assume that the destination for our bias voltage can tolerate 100 W source impedance, which sets the maximum permissible value of the series resistor. Also, that the supply’s 120 Hz ripple level is much too high for the precision system we’re driving, and that it must be significantly reduced, from 1 V_{PP} to 1 mV_{PP}, at this frequency and above.

The simplest lowpass filter is a single-pole RC network. The rule of thumb for this type of network is that you get 20 dB of attenuation for each decade increase in signal frequency above cutoff. Thus, we need our filter cutoff frequency that’s three decades below 120 Hz, i.e. 0.12 Hz. With our 100 W series resistor, we’ll need a capacitor value of around (fires up handy H-P 15C app on phone) 1.33E-2 which is, 13300 µF. Sorry, but I haven’t got room for *that* giant on the circuit board. Also, just think of all the energy stored in this capacitor at such a high voltage.

The use of such a large capacitor value raises another issue. That RC time constant is going to be 1.33 s. How long is that going to take to settle to 0.1% after we switch the input voltage on? It’s the RC value times –ln(0.1%), which comes to 9.2 s. Dude, I can’t wait *that* long for it to settle!

This is definitely a job for a higher-order filter with a more rapid transition from passband to stopband. Because the stopband rejection of a lowpass filter builds up more rapidly with rising frequency as the order increases, we can use a filter with a higher intrinsic cutoff frequency and still get the desired rejection at 120 Hz. This in turn can deliver lower capacitance values and also a more rapid settling to a stable DC value—*if* we pick the right shape of response! But what **is** that response? If the filter has a transfer function that exhibits too much ringing when excited with a step, we may still fail to achieve our requirements.

Well, the only frequency response constraint we’ve specified for our filter is in the stopband—we want it to have 60 dB rejection at 120 Hz and above. When the bias voltage makes its transition from zero to 180 V, that’s like a step excitation for the filter, and the filter’s output is going to take time to settle down after that stimulus. The settling behavior of a filter is determined by the relationships between the frequency components in a step input that *do* get through. This isn’t affected by the stopband rejection, only by the *passband* shape and bandwidth. So, we should pick the passband shape that’s going to give us the most rapid settling, given our one fixed stopband intercept.

Filters that meet this criterion have a particular, “soggy” form of passband response. It’s called a Gaussian response, because its functional form—in both the frequency and the time domain — is a Gaussian function, a scaled and shifted version of y=exp(-x^{2}). An ideal Gaussian lowpass filter has no overshoot and the fastest monotonic settling for a given filter bandwidth. Unfortunately, Paley and Wiener showed in the 1920s that a filter with a gain function of the form G=exp(-kf^{2}) for all frequencies can’t be realized physically; it has an attenuation that just rolls off too quickly. We have to make do with an approximation to this functional form, giving us a similarly-shaped passband but some realizable level of stopband slope. That’s the answer to the question (2), by the way.

By far the most familiar approximation to the Gaussian response is the Bessel filter, but there are other candidates. Standard filter tables give values for filters that approximate the Gaussian form down to ‑12 dB and then hit their final slope value more rapidly than the rather leisurely Bessel. So let’s look at the response of the 3-pole and 5-pole “Gaussian to 12 dB” filters in comparison to the single-pole filter, with their ‑60 dB response points aligned. Why these two choices? Well, the DC-free topology is most economical in amplifier usage per pole when the order is odd. A 3-pole filter will need one op-amp, and a 5-pole filter will need two. I’m going to assume that I can spare a maximum of two op-amps running from a local 5 V supply. **Figure 1** shows the magnitude responses, with the step responses in **Figure 2**.

*Figure 1. Comparing the single-pole (black), 3-pole (dark gray) and 5-pole (light gray) “Gaussian to 12 dB” responses shows differences in cutoffs.*

*Figure 2. Both the 3-pole and 5-pole filters settle much faster than the single-pole filter (black trace).*We can see on the timescale of figure 2 that the 3-pole and 5-pole filters are much faster than the single-pole network, which settles to its final value as predicted by our thumbnail calculation. So let’s ignore the single-pole network’s trace and zoom in on the settling behavior of the 3-pole and 5-pole “Gaussian to 12 dB” filters, in **Figure 3**.

*Figure 3. Zooming in to the 3-pole (right) and 5-pole (left) “Gaussian to 12 dB” settling shows differences in response times.*It’s clear that we get the widest passband (3 dB at 20.6 Hz) and fastest settling time (73 ms to the first 0.1% point) for the 5-pole version. The 3-pole version has about half the bandwidth ( 3 dB at 8.94 Hz) and takes just about twice as long to settle down to <0.1% (141 ms), which is still a great improvement on the 9.2 seconds that the single-pole network took, when all of them deliver the 120 Hz rejection we need.

Realizations of the filters as suitable passive networks at a 100 Ω impedance level with series inductors are shown in S. The initial prototype LC values for these were taken from standard tables of singly-terminated “Gaussian to 12 dB” filters, collected in Williams & Taylor [1] as well as in older classic books such as [2]. The tables assume just a source resistance, and the load is assumed infinite. Look at those inductance values, though; these are completely impractical for modern circuits due to the physical size, cost and also (in this case) susceptibility to hum pickup that such inductors would have. So that’s question (1) sorted.

So let’s go ahead and realize the 3-pole and 5-pole filters in our new DC-free topology. The constraint that the resistor chain across the top of the active must have a value no higher than 100 ohms dimensions the rest of the network, because the cutoff frequency is set by the stopband requirement. Here we must ‘cheat’ a little for the moment. That’s because our DC-free topology causes additional circuit elements to appear in the equivalent LRC passive filter of this type (see “Filter DC Voltages”).

We have to take the duals of the 3-pole and 5-pole filters in **Figure 4** to get to the circuit in **Figure 5**. The infinite load impedance becomes a zero load impedance through the dualling process. But don’t panic! Reciprocity means we can swap input and output. Then we do the Bruton Transform, and end up with a circuit that’s driven from zero source impedance and whose load resistor becomes the capacitor across which the output voltage is developed.

*Figure 4. The design starts with single-pole, 3-pole and 5-pole “Gaussian to 12 dB” networks.*Working back through the transforms that were applied to derive the DC-free configuration, we can show that the shunt capacitor we now have across the D-element was, before transformation, the equivalent of a resistor in series with each original inductor. There are standard (from the point of view of the 1950s and 1960s, anyway) techniques for designing such “lossy inductor” filters, but a search turned up no tables. So for an initial simulation experiment (Fig. 5), we can dimension the component values around the op-amp blocks to hopefully render the effects of these components small. It also allows us to use nice low capacitance values, which is obviously attractive. This will however cause some problems in a real filter, and we’ll come back to that in a moment.

*Figure 5. Transformed DC-free implementations of the 3-pole and 5-pole filters use active components.*Note that all the capacitors in the circuit have the voltage to be filtered on one terminal and at ground potential on the other terminal. This means you can use 200 V-rated polarized electrolytic capacitors in this filter.

The capacitors in those D-elements have been set quite small (the resistor round the amplifier “takes up the slack” to create the correct D value) in comparison to the load capacitor value. This ensures that the response is close to the desired value. But the hidden problem here can be revealed by looking at the gain at the op-amp outputs—and seeing the huge peak (**Figure 6**)! Running with such small capacitor values in the almost-D-element, the gain of the hidden bandpass filter—it’s still there, even though we’re using its input properties to give us our lowpass response—becomes large. That’s question (3) sorted out.

*Figure 6. The op-amp outputs from Fig. 5 vary depending on the number of poles.*The AC ripple on the voltage we’re filtering will cause the amplifiers to clip on their modest 5 V supplies! To make this circuit viable, we’ll have to get these capacitor values to be quite a bit larger—indeed, of the same order of magnitude as that output capacitor, to pull the internal voltage gain of these sections down.

Tables can’t help. We need to do a custom design. It’s time to call for… the Million Monkeys!

To recap, the problem we have is that allowing the capacitors in our D-elements to be large enough to reduce internal gain would mean that the implemented filter response would be significantly impaired. What to do? Well, we need to Wizard the heck out of it!

We could just use the spreadsheet optimization method introduced in “Million Monkeys” to generate a new set of component values, with much larger capacitor values allowed, that retains the form of the “Gaussian to 12 dB” response, while reducing the peaking at those op-amp outputs.

But if we’re going to do this work anyway, what other tweaks could we make to our response? How could we further increase the effective cutoff frequency, reducing settling time and total capacitance still further while preserving the precious 120 Hz rejection we’re after?

**Zeroes have value**

To get the most stopband attenuation for a given passband bandwidth, you need a filter with stopband zeroes. These are the features that look like “notches” in the response at particular frequencies. Such filters are often loosely called “elliptic” filters, but that term only actually applies to a specific type of filter having flat passband and stopband response and the maximum possible number of ripples in both bands. Stopband zeroes help to “pull” the stopband response down quickly. The tradeoff is that the stopband rejection doesn’t become indefinitely larger as frequency rises, but ends up bouncing around, ideally staying below some defined minimum level, in our case 60 dB.

Standard tables exist for some filters like this but in that case, they are not only not “dissipated” (the term to describe passive filters designed for inductors with loss) but are also only given for doubly-terminated networks, which is no use to us here, as discussed in “Lowpass Filters that Don’t”.

So I gave an Excel Solver spreadsheet the job of fitting a 5-pole DC-free filter circuit (or rather, the prototype uses to develop the filter) to a response that tracks the Gaussian amplitude profile out to 9.5 dB at the standard ‘normalized’ cutoff frequency of 0.159 Hz, and that is then down at 60 dB at slightly less than twice that frequency. It worked!

When scaled and transformed into our final filter, we end up with the circuit of **Figure 7**. The schematic doesn’t show the surge protection diodes or TVS devices that you really should use in any circuit like this, to prevent the enormous voltage switch-on surges from damaging the low voltage-rated op-amp inputs).

*Figure 7. This is the DC-free filter derived from our “Million Monkeys” optimization.*Stopband zeroes are introduced into the prototype with a small capacitor across each inductor, which translates into a small resistor in series with the input to our almost-D-element. Despite the approximations inherent in trying to form stopband zeroes with this filter structure, we easily reach the stopband requirements. I tried several values of ‘dissipation factor’ and ended up with one that gave nice round numbers in the final filter. The Excel result and its simulated response are shown in **Figures 8 and 9**.

*Figure 8. The Excel plot of the fitted prototype filter response fits the constraints.*

*Figure 9. The new filter’s response plotted alongside single-pole and 5-pole Gaussian.*The settling behavior, shown in **Figure 10**, is a bit “nervous” in comparison to the Gaussian filter but still easily beats it, at 58 ms to less than 0.1%. If you’re happy with 1% settling, it is much faster than the Gaussian version (18 ms versus 46 ms).

*Figure 10. How the new filter compares to the 5-pole “Gaussian to 12 dB” filter.*We haven’t completely conquered that boosting at the amplifier outputs, as **Figure 11** shows, though it’s much better controlled, and we’ll be able to cope with our 1 V_{PP} of 120 Hz ripple with no problem. More intervention in the optimization process could probably improve this and perhaps trim a little more total capacitance off (maybe also compensate for any ESR effects). Nevertheless, the capacitors shown add up to only 137 µF, not far short of a 100x reduction in comparison to the single-pole case. We might actually get it to fit!

*Figure 11. There’s still a little peaking at the op-amps, but it’s not nearly so bad.*Will it actually work? **Figure 12** shows the op-amp output voltages and currents when running on a ripple waveform on 1 V_{PP} created by a full-wave rectified power supply feeding a 1000 µF reservoir cap and a 1.37 kΩ load. The voltage swings are well inside the 5 V supply rail (the non-inverting inputs are biased at half the supply voltage, of course) and the required output current is safely inside the 25 mA rating of the op-amps I used. And the ripple level on the output is too small to show on that scale of graph. So, yes, I think it will!

*Figure 12. The final op-amp voltages and currents are now well-controlled.*Are there other ways of doing this? I’m happy to receive homework submissions and will publicize the best one. But I don’t yet know where I’d start if I couldn’t solve the problem this way.

Happy (rapid, low-capacitance) bias filtering!

**References**

[1] Williams & Taylor, “Electronic Filter Design Handbook”, McGraw-Hill

[2] Zverev, “Synthesis of Filters”, Wiley