RaneNoteBandwidth in Octaves Versus Q in Bandpass FiltersDennis Bohn, Rane CorporationRaneNote 170, published January 2008This is an expanded version of an article titled “Bandpass Filter Design” originally published in Studio Sound magazine January, 1983.
IntroductionAnalog and digital audio designers confront daily every imaginable aspect of active and passive filters. Most often, these are bandpass filters partially characterized by a quality factor, Q, and a bandwidth, BW. There exists enough books on active and passive filter design to fill a modest office library, however, there are certain aspects of the relationship between bandwidth as expressed in octaves versus Q that are poorly documented — if at all. The purpose of this article is to derive the mathematical relationships between these two variables and provide a useful “look-up” table for each, as well as a handy Excel™ spreadsheet program, which may be downloaded at the bottom of this page. Definitions and ReviewA bandpass filter is characterized by three major parameters: center frequency, amplitude response (gain), and bandwidth. Center frequency is the frequency at which the amplitude is maximum; gain is the maximum amplitude response occurring at the center frequency; and bandwidth (or passband) is the frequency range between the -3 dB points located on either side of the center frequency. Bandwidth is expressed in several ways: in frequency, as being so many Hertz wide; or in octaves, as being so many octaves (or fractional octave) wide; or in decades, as being so many decades (or fractional decade) wide. Far and away, the most common audio usage is to express bandwidth in octaves. It is here that the literature falls short in giving sufficient mathematical relationships to allow answers to be expressed easily in “octaves.” When first designing an audio filter, normally the required BW in octaves is known and the associated Q needs to be calculated; once the filter has been designed than Q is easily calculated by measuring the -3 dB frequency points, taking the difference, and dividing that into the center frequency; and lastly, the BW in octaves is then calculated. A third situation arises where only Q is known and the BW in octaves is desired. This calculation is not obvious — nor easy. The next section presents the necessary closed solutions for each of these calculations. For reference purposes, Figure 1 shows a bandpass filter with its associated parameters labeled for clarity and is used for derivation purposes. Figure 1. Bandpass Filter ParametersGiven the -3 dB Points, To Find BW and QIf the -3 dB points are known, then calculating the BW in octaves is straightforward:
Given BW in Octaves, To Find QIf the BW in octaves is known without knowledge of the actual -3 dB frequencies, and Q is to be calculated, then the following development leads to the required formula: In general, f_{0} is the geometric mean of the skirt frequencies, f_{1} and f_{2}:
Table 1 shows several examples of equation (4) for BW’s commonly used in audio design work.
Table 1. Q Versus BW (octaves)Given Q, To Find BW in OctavesIf only Q is known and the BW in octaves is desired then equation (4) must be turned around and re-expressed in terms of Q:
^{2}The squaring operation introduces an extraneous root appearing as the “minus” square root term. The “plus” square root term gives the correct answer. The “minus” square root term gives the reciprocal answer, i.e., the “plus” answer leads to y, while the “minus” answer yields 1/y. Table 2 gives a handy look-up reference of BW (octaves) versus Q.
Table 2. BW (octaves) Versus QBandwidth vs. Q CalculatorBandwidth vs. Q Calculator (zipped) for Microsoft Excel. "Bandwidth in Octaves Versus Q in Bandpass Filters" Download this note as PDF. |