Elliott Sound Products | Project 63 |

**Multiple Feedback Bandpass Filter**

Rod Elliott - Elliott Sound Products

The multiple feedback bandpass filter is a simple looking design, but it is difficult to calculate the values for a given set of parameters. These filters are useful for equalisation, analysis and other tasks such as the Sound to Light converter (Project 62) or even a fully functional Vocoder. For those who have not heard of the vocoder, it is a device that takes a music source as one input and vocals as the other, allowing a guitar, keyboard or complete ensemble to be made to speak or sing. The "speech" from a good vocoder is quite intelligible, and is "ear candy" of the very best kind for experimental musicians.

This is the basis of several projects that use this filter type, and I have included a small calculator programme to make it easier to determine the component values for different filter parameters.

A schematic for the filter is shown in Figure 1. The source impedance must be low with respect to the input resistance, and normally these filters are driven from an opamp buffer. If a high impedance is used, it adds to the total input resistance, causing unpredictable centre frequency and response.

Figure 1 - Multiple Feedback Bandpass Filter

The resistor and capacitor values shown give a Q of 4, with a centre frequency of 159Hz. Component values are calculated from the formulae below, or by using the calculator program (see below for details). The two caps (C1 and C2) are always the same value. The opamp shown in the schematic is a single device, but most commonly dual or quad opamps will be used for this kind of application.

A resistance (Rx) from the +ve input of the opamp is optional to minimise the DC offset voltage. In general, this is completely unnecessary because the filters are not DC coupled anyway. Maintaining DC accuracy serves no purpose and is actually impossible. However, if used, the resistor from +in to earth (ground) should be the same value as R3 to obtain minimum DC offset from the opamp output. A 100nF capacitor (Cx) in parallel is highly recommended to bypass the non inverting input to earth for AC - this helps to reduce noise. If offset is not a problem for you (and there's zero reason to use DC coupling), simply connect the non inverting input to the earth (GND) rail as shown. C4 is a supply bypass capacitor, and should be used at each IC package. Ceramic capacitors are recommended for the most effective high frequency bypass. The opamp can be any common device for low frequencies, but at high frequencies (above about 2kHz) a high speed device is required for best performance.

Somewhat surprisingly, the TL071 (or TL072 dual opamp) is somewhat faster than many people realise and is sufficient for most audio applications. Don't expect to be able to use these filters at much more than 20kHz though, because general-purpose opamp limitations will cause poor performance.

The pinout for a typical dual opamp is shown for reference. This is pretty much an industry standard, and nearly all dual opamps use this pin configuration. As always, I suggest that you download the data sheet for the device you intend to use to double check. |

The pinout for a single opamp is also shown for reference. Again, this is pretty much an industry standard, and nearly all single opamps use this pin configuration. As always, I suggest that you download the data sheet for the device you intend to use to double check. Note that the circuit shown in Figure 1 uses a single opamp! |

With any bandpass design (or indeed any filter), one of the important parameters is Q, or 'Quality Factor'. The Q of a filter determines its bandwidth, and this is especially true of bandpass filters. Perhaps unexpectedly, bigger is not better. Most audio applications will require a maximum Q of about 4, which is suited to a 1/3 octave filter set. Few applications require closer filters than this, and to have 1/3 octave band filters covering the audio band requires 30 separate filters. Naturally, for even greater resolution this would increase dramatically.

At this point, a discussion about Q, bandwidth and even division of octaves is needed.

A filter with a Q of 10 (which is too high to be useful in most audio applications), has a bandwidth that is 1/10th of the centre frequency. Thus, a 1,000Hz filter with a Q of 10 has a bandwidth of 100Hz, measured at the -3dB frequencies on either side of the resonant peak. This is shown in Figure 2 for a filter having a centre (resonant) frequency of 159Hz, and is derived from the circuit values shown in Figure 1.

Figure 2 - Typical measurement of Q

With -3dB frequencies of 140 and 179Hz, bandwidth is 39Hz, so Q is 159 / 39 = 4.08

Note that beyond about 2.5 octaves either side of the resonant peak, the rolloff slope is 6dB / octave. This limits the usable range of the circuit in some respects, as the ultimate slope of 6dB / octave (20dB / decade) is only a first order filter response. Increasing the Q does nothing to solve this, the peak will be narrower and will extend more than the typical 8 to 10dB, but the ultimate slope is unaffected.

Where very high Q is needed (non-audio applications), it's common practice to cascade filters, with two, three or even more filters in series. Sometimes, they are "stagger tuned" (each has a small frequency offset from the next) to get a wide (and relatively flat) passband while retaining a high rolloff slope.

When filters are cascaded (connected in series), the ultimate rolloff slope is also affected, so two filters gives 12dB rolloff, four gives 24dB rolloff, etc. For example, two filters with a Q of 4 connected in series gives a composite filter with a Q of 7 and an ultimate rolloff of 12dB/Octave. Four of the same filters in series have a combined Q of about 9.4 and 24dB/Octave ultimate rolloff.

Division of an octave is simple, once you see how it is done. An octave is the doubling (or halving) of a frequency, so for A440 (Concert Pitch), an octave above is 880Hz, and an octave below is 220Hz. All notes are "A", but in different octaves. If we want to divide an octave into 12 parts (the equally tempered scale, as used in most musical instruments) we will get 12 semitones. Using A220 as a starting point. we must divide the 220Hz bandwidth into 12 musically related frequencies. The trick here is that you can't divide 220Hz by 12 to find the interval, because our ears have a logarithmic frequency response.

Instead, we must find the 12th root of 2 (1.05946...). If you multiply 220 by 1.05946 twelve times, you will get 440 (well, near enough anyway). To divide an octave in half, we use the square root of 2 (tooth root of 2?) which is 1.414. So (for the sake of simplicity), a half octave division from 100Hz gives the halfway point at 141Hz, and the next octave at 200Hz.

To locate the 1/3 octave intervals, we use the 3rd root of 2 (1.26), so the frequencies will be 100Hz, 126Hz, 158.7Hz and 200Hz. By this means, an octave can be divided into as many frequencies as desired.

By far the easiest way is to use my program (download here), but since it is only applicable to Windoze machines, some of you will have to do it the hard way. Note that you will also need the Visual Basic 4 (VB4) runtime library, which can be obtained from the Microsoft support Website.

Based on the circuit above, select an appropriate capacitance first (both capacitors must be the same value), then these are the formulae ...

Input resistance R1 = Q / (G * 2 * π * f * C) Attenuator resistance R2 = Q / (( 2 * Q² - G ) * 2 * π * f * C ) Feedback resistance R3 = Q / ( π * f * C ) Passband Gain G = 1 / (( R1 / R3 ) * 2 ) Centre Frequency f = (1 / ( 2 * π * C )) * √(( R1 + R2 ) / ( R1 * R2 * R3 ))

In each case, G is gain, Q is quality factor and f is frequency. Capacitors are in Farads, resistors in Ohms and frequency in Hertz.

This process can hardly be regarded as trivial, especially if there is a significant number of filters to design. The program also allows you to apply standard resistor values and then calculate backwards to see how far out the final design will be from the design ideal. This applies to frequency, gain and Q. Capacitor selection will come with experience, but as a guide, the following table will help ....

f _{(min)} | f_{(max)} | Capacitance |
---|---|---|

20 Hz | 80 Hz | 330 nF |

80 Hz | 300 Hz | 82 nF |

300 Hz | 1,200 Hz | 22 nF |

1200 Hz | 4,800 Hz | 5.6 nF |

4,800 Hz | 20 kHz | 1.5 nF |

Increasing capacitance decreases the resistance values, and especially with multiple filters, care must be taken to ensure that the loading on the input buffer opamp is not excessive. At the same time, low values of capacitance cause problems due to stray capacitance on the board, and resistor values become too high. The above is a reasonable set of values, and will give satisfactory results for most applications.

Naturally, any spreadsheet program (OpenOffice for example) can be used to calculate the values, and this is a much easier way than using a pocket calculator. Of course, you *do* have to program the spreadsheet, but that only needs to be done once. Texas Instruments (TI) also has a program called "FilterPro" (see TI Website) that works quite well. It's not easy to drive unless you understand the terminology though, so be prepared to learn the program's quirks as you learn about filters.

The TI application has a few more bells and whistles, tells you the required minimum gain-bandwidth product of the opamp and is all-in-all a very good design program. It includes many different types of filters and is very flexible, but beginners will find it heavy going at first.

For both equalisers and analysers, there are commonly accepted frequencies that are normally used. The exact frequencies depend on the octave division, the application and some degree of manufacturer preference, but nearly all share the basic octave boundaries which are based on a centre frequency of 1000Hz.

For an octave band EQ or analysis instrument (10 Band) the frequencies are usually as follows ...

**31 63 125 250 500 1k0 2k0 4k0 8k0 16k**

1/2 Octave band frequencies (20 Band) will be (typically) ...

**
31 44 63 87 125 175 250 350 500 700 1k0 1k4 2k0 2k8 4k0 5k6 8k0 11k 16k 20k**

Finally, 1/3 Octave band instruments (30 Band) will typically follow this sequence ...

**25 31 40 50 63 80 100 125 160 200 250 315 400 500 630 800 1k0 1k2 1k6 2k0 2k5 3k2 4k0 5k0 6k3 8k0 10k 12k 16k 20k**

Naturally, it is possible to use wider bandwidth (and fewer filters) or narrower bandwidth and more filters. Although some 5 band 'graphic' equalisers have been made, they are of limited use for anything other than elaborate tone controls. Anything narrower than 1/3 Octave is rare, since the complexity of the filters increases for higher values of Q. This can get rather expensive, and in reality is of limited use for most applications in audio.

The symbol to the left is a standard representation of a band pass filter, and will be used in future articles or projects using this building block. There are several projects that use bandpass filters, and this article simply describes the basic building block. Some of the projects I originally thought about are already published, and those remaining are fairly unlikely unless someone submits an article for publication. Several people have said they will do so, but none have delivered so far. Those I originally thought of are ...

- Graphic Equaliser (1) - a conventional boost / cut equaliser featuring constant Q at each frequency (Project 84, a 1/3 octave subwoofer equaliser)
- Graphic Equaliser (2) - a frequency selective filter bank, with each band having its own volume control (Project 64)
- Graphic Analyser - based on filters and LED VU meters, gives a display of the signal energy in each band (Project 136)
- Vocoder - a proper vocoder circuit, using filters and voltage controlled amplifiers (VCAs) (maybe one day, maybe not - there is a lot of work involved)

The last circuit (should it ever come to fruition) will represent a considerable commitment in time and money, but you will be able to build a basic version first, and expand it later as your needs and/or funds allow.

- Active Filter Cookbook, Don Lancaster (Howard W Sams & Co., Inc.) ISBN 0-672-21168-8
- IC Opamp Cookbook, Walter G Jung (Howard W Sams & Co., Inc.) ISBN 0-672-20969-1
- TI Filter Pro

Page Created and Copyright (c) Rod Elliott 18 Jul 2000