# Design a fast-settling bias voltage filter with high ripple rejection

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:

1. Why can’t we just use an old-fashioned passive filter, completely getting around the problem of providing a supply voltage for active components?
2. What response characteristics do we need from a lowpass filter to achieve some benefits for filtering practical bias and reference voltages?
3. 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 Ω 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 VPP to 1 mVPP, 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 Ω 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&mdash;is a Gaussian function, a scaled and shifted version of y=exp(-x2). 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(-kf2) 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.

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.

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 Ω 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.

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.

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.

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?

## 5 comments on “Design a fast-settling bias voltage filter with high ripple rejection”

1. didymus7
November 7, 2019

‘our bias voltage can tolerate 100 W source impedance’ – 100 Watt source impedance? Am I misunderstanding something here?

2. Tucson_Mike
November 12, 2019

A common word processor issue is to convert the ohm symbol to W, that happened here and is very common. Unfortunate as W makes some sense, but not in the context of the text.

3. kendallcp
November 21, 2019

Yes – this one escaped both Martin and I when proof-reading for publication. It almost caught us out again so we’re much more careful now with these symbol additions!

4. Measurement.Blues
November 21, 2019

The “100 W” instances are now 100 “Omega.” Can’t show the special character in a comment. I once worked with a desktop publishing system (Ventura) that mapped upper-case Omega to V. No better from a EE perspective.

5. Oahu photographers
November 30, 2019

Zen Space. The best photographers in Hawaii. We specialize in family portrait photography, engagement photography, wedding photography, Maternity photography,
senior portrait photography, fashion photography. Our award winning photographers have hundreds of five-star reviews from very satisfied customers. Book a morning or sunset photoshoot with Zen Space on your next vacation to Hawaii. Oahu photographers

This site uses Akismet to reduce spam. Learn how your comment data is processed.