§1 · What a filter is
A filter is a transfer function chosen for its magnitude response
A filter is a circuit whose transfer function is designed so that some bands of frequency reach the output and others do not. Only one block is involved: an input is applied, a transfer function acts on it, and an output is produced. Everything that follows is a statement about , the magnitude of that transfer function on the imaginary axis.
The filter as a single block. The transfer function relates the input to the output; the frequency response is the same function evaluated at , as established in Lecture 19.
The four descriptors
Four quantities describe a filter completely enough for the purposes of this course, and every worked example on this page reports all four.
The order is counted as the number of energy storage devices, that is, the number of capacitors and inductors. A higher order produces a response closer to the ideal, because the transition between the passband and the stopband is made steeper; the price is a larger circuit.
The cutoff frequency is the frequency at which the magnitude has fallen to of its maximum value:
Because power is proportional to the square of an amplitude, a factor of in amplitude is a factor of in power, which is why is also called the half-power frequency. In the decibel measure of Lecture 20 the same point sits dB below the maximum.
The ideal and the realizable
The ideal filter passes its band with a constant gain and rejects everything else completely, which draws as a rectangle. No finite circuit produces a rectangle; a realizable response falls off smoothly, and the cutoff frequency is the agreed marker on that smooth fall.
The ideal response in blue and a first-order or second-order realizable response in orange, both normalized to a passband gain of 1. The dashed level is , and the marked frequencies are the cutoffs. Select a type:
The low-pass filter passes frequencies below and attenuates those above it. The maximum is reached at DC, so the passband gain is , and the response falls monotonically from there. The single cutoff frequency is the frequency at which the fall reaches .
The high-pass filter attenuates frequencies below and passes those above it. The maximum is approached as , so the passband gain is , and the response rises monotonically toward it. The cutoff frequency is again the half-power point.
The band-pass filter passes a band between two cutoff frequencies, and , and attenuates both outside them. The maximum is reached at an interior frequency , and the half-power level is therefore crossed twice, once on the way up and once on the way down. Two cutoff frequencies are reported rather than one.
§2 · First-order filters
One pole, two options
A first-order filter contains one energy storage device, so its transfer function has one pole. With the pole written at , only two numerators are available if the transfer function is to remain proper: the numerator may carry or . Those two options are the whole of the first-order case.
The DC gain vanishes and the infinite-frequency gain is :
A response that is zero at DC and at high frequency is a high-pass filter, and its passband gain is .
The DC gain is and the infinite-frequency gain vanishes:
A response that is at DC and zero at high frequency is a low-pass filter, and its passband gain is .
The cutoff frequency is the pole
The half-power condition is applied to each option in turn. Squaring both sides removes the square root of the magnitude, and in both cases the constant cancels, which is the reason the answer does not depend on it.
The same result is obtained in both cases: the cutoff frequency of a first-order filter is the magnitude of its pole. The numerator selects the type and the passband gain; the denominator alone fixes the cutoff.
Option 1, high-pass. The response crosses max/√2 at ωc = α.
Option 2, low-pass. The response crosses max/√2 at the same ωc = α.
ωc = α = rad/s fc = ωc2π = Hz
Both plots are divided by their own passband gain, so that the one feature they are meant to display, the crossing at , is comparable whatever happens to be. Moving the slider moves the pole, and the crossing follows it in both plots at once.
§3 · Worked example A: a first-order transfer function
The problem, and the order
The magnitude response of
is to be classified, and its cutoff frequency is to be found. The transfer function has one pole, so this is a first-order filter.
The DC gain
Setting leaves only the constant terms:
The response does not vanish at DC, so this is not the textbook high-pass of Section 2. The value is the floor of the response, not its maximum.
The infinite-frequency gain, which is the maximum
As the two constant terms become negligible against the terms in :
The magnitude rises monotonically from to , so the response is high-pass in character and the maximum value is . The passband gain is therefore , and the half-power construction is applied to that number, not to any other.
The half-power level
The dashed level is drawn at . Because the response rises from and , the level is crossed exactly once, and one cutoff frequency exists.
Solving the half-power condition
The half-power level is , and the maximum here is , so the level is and not . A response whose floor is nonzero, as this one is, is a shelving response: it does not reject the stopband completely, it merely attenuates it by the ratio , that is, by a factor of eight.
Check: the value at the computed cutoff
Substituting back into the magnitude gives
The arithmetic is exact, which confirms both the algebra and the rounding to rad/s.
§4 · The first-order RC ladders
Two resistors and one capacitor, read at the two extremes
The two first-order options are realized by the same two components arranged in the two possible orders. The type of each ladder is settled without any algebra at all, by replacing the capacitor with its DC and its high-frequency limits.
At DC the capacitor impedance is infinite, so the capacitor behaves as an open circuit. As the same impedance vanishes, so the capacitor behaves as a short circuit. The inductor behaves in the opposite way, as established in Lecture 8.
The two ladders
In the left ladder the resistor is in series and the capacitor sits across the output. In the right ladder the capacitor is in series and the resistor sits across the output. Each is a voltage divider between two impedances, driven by and read at .
At DC the capacitor is an open circuit
With the capacitor open, no current flows in either ladder, so no voltage drops across the series element. In the left ladder the output therefore sits at the source, . In the right ladder the output is disconnected from the source and sits at .
At infinite frequency the capacitor is a short circuit
With the capacitor shorted, the left ladder has its output terminals tied together, so . In the right ladder the source is connected straight through to the resistor, so .
The two transfer functions
The two readings identify the types without algebra: the left ladder passes DC and rejects high frequency, so it is a low-pass filter; the right ladder does the opposite, so it is a high-pass filter. The voltage divider supplies the details:
Both denominators are the same, so both ladders have the same pole, and by the result of Section 2 both have the same cutoff frequency. Writing the low-pass form in the standard shape of Section 2 makes the pole explicit:
The passband gains follow from the same reading: the low-pass ladder has and the high-pass ladder approaches , so neither ladder amplifies. A passive RC ladder can only attenuate, which is one reason the operational amplifier of Lecture 14 is added when gain is wanted as well as filtering.
§5 · Second-order filters
The series RLC and the standard form
A second-order filter contains two energy storage devices. The canonical example is the series RLC circuit, in which one inductor and one capacitor are placed in series with one resistor across a source. The impedance seen by the source is
and the frequency at which the inductive and capacitive parts cancel is the undamped natural frequency:
The series RLC circuit. One current flows through all three elements, so the three element voltages , , and are three different transfer functions of the same input. The choice of which one is called the output selects the type of the filter.
The standard form
Every second-order filter of this course is written in one standard form, in which the denominator is fixed and only the numerator changes:
The denominator carries the two parameters , the undamped natural frequency, and , the damping ratio, both introduced in Lecture 10. The numerator power carries the type, and it does so by controlling the two extreme values.
| N | Numerator | DC gain | ∞ gain | Type and tap |
|---|---|---|---|---|
| 0 | K | K / ω₀² | 0 | LPF, across C |
| 1 | K s | 0 | 0 | BPF, across R |
| 2 | K s² | 0 | K | HPF, across L |
The three rows are read from the same two limits used on the RC ladders. At DC the capacitor is an open and the inductor is a short, so the whole source voltage stands across the capacitor and none of it across the inductor. At infinite frequency the roles are exchanged. The resistor holds neither extreme, and its voltage therefore peaks somewhere in between, which is the band-pass case.
Where the taps come from, in detail
One current flows in the series loop, , and each element voltage is that current times the element impedance. Dividing through by puts each result in the standard form:
Matching the denominator against the standard form identifies both parameters, and the three numerators identify the three constants:
The capacitor tap has , so its DC gain is ; the resistor tap has , so its peak value is ; the inductor tap has , so its infinite-frequency gain is . A passive ladder again only attenuates, except for the resonant rise discussed below.
The three numerators plotted on one axis at rad/s, each scaled to a passband gain of 1: LPF in blue, BPF in green, HPF in orange. Lowering the damping ratio narrows the band-pass and lifts a resonant peak on the low-pass and the high-pass.
2ζω0 = rad/s low-pass maximum = (the low-pass overshoots its DC gain only while ζ < 0.707)
§6 · The band-pass peak
Where the maximum sits, and what it is worth
The band-pass case, , is the one that requires work, because its maximum is not at either extreme of the frequency axis. The location of the maximum is found by rewriting the response so that the numerator is constant.
Taking the magnitude separates the real and the imaginary parts of the denominator:
The numerator is now a constant, so the magnitude is largest exactly where the denominator is smallest. The second term of the denominator does not depend on , and the first term is a square, so the smallest denominator is obtained by driving that square to zero:
The maximum therefore sits at the undamped natural frequency, and its value is the numerator constant divided by the middle coefficient of the denominator. Setting the derivative to zero produces the same answer, but the argument above avoids the differentiation entirely.
The band-pass response normalized to its peak. The maximum sits at , and the half-power level is crossed twice, at and at . The shaded strip is the passband between the two cutoffs.
ωc1 = ωc2 = rad/s ωc2 − ωc1 = = 2ζω0 = ωc1 · ωc2 = = ω0²
Applying the half-power condition to the expression above gives , whose positive roots are
Two consequences follow immediately, and both are visible in the readout above: the two cutoffs are separated by , and their product is . The second relation says that is the geometric mean of the two cutoffs, not the arithmetic mean, so the peak does not sit at the middle of the shaded strip on a linear axis. Both relations serve as checks on any band-pass calculation.
§7 · Worked example B: a second-order band-pass
Read the standard form
The transfer function is already in the standard form, so the three parameters are read off by matching coefficients:
The numerator carries , so and this is a second-order band-pass filter. Its order is two because the denominator is quadratic, which corresponds to two energy storage devices.
The peak, from Section 6
The passband gain is therefore , and the peak is marked on the curve at .
The half-power level
The dashed level cuts the curve twice, so two cutoff frequencies are expected, as the band-pass shape requires.
The half-power condition becomes a quadratic in
Multiplying out gives , and dividing by 25 leaves a quadratic in :
The two cutoff frequencies
Only the positive roots are kept, because a negative frequency has no meaning here. The shaded strip between and is the passband.
Check: the two relations of Section 6
Both relations of Section 6 are satisfied by the two roots, which confirms them independently of the quartic:
The closed form of Section 6 reproduces the same pair exactly. With and ,
The rounding to one decimal place in the board result is the only difference.
Here , so the denominator is critically damped and factors as . The response is still a perfectly good band-pass; the two real poles simply place the cutoffs far apart, giving a wide passband. A narrow band-pass requires a small , as the slider in Section 6 shows.
§8 · Your turn
Practice
Both problems should be attempted on paper before the hints are opened, in order. Each asks for all four descriptors: type, order, passband gain, and cutoff frequency.
Problem 1: a first-order transfer function
Hint 1: Find the two extreme values first
The extreme values are read by setting and by letting in . One of the two is the maximum, and the half-power level is computed from that one.
Hint 2: The shape is the mirror image of Example A
In Example A the response rose from a nonzero floor to a larger ceiling. Here it does the opposite. The magnitude squared is ; its behaviour with can be settled by comparing the coefficients, without differentiating.
Solution
The two extreme values are
The magnitude falls monotonically from to , so the filter is low-pass in character, of order 1, with a passband gain of 6. The half-power condition is applied to the maximum, :
The level lies between the floor and the ceiling , so the crossing exists and is unique.
Check. Substituting returns
Problem 2: a series RLC with numbers
A series RLC circuit driven by , with , H, and . The output is taken across the resistor. Find the type, the order, the passband gain, and the cutoff frequencies.
Hint 1: Identify the tap before computing anything
The output is taken across the resistor, which is row of the table in Section 5. The type follows from the table alone, and the passband gain of that row was worked out in the collapsible derivation there.
Hint 2: The two parameters come from the component values
and . Both cutoff frequencies then follow from the closed form of Section 6, and the two relations of Section 6 provide the check.
Solution
The output across the resistor is the row, so the filter is band-pass, of order 2 (one inductor and one capacitor). The parameters are
The transfer function is therefore , and the passband gain is
The cutoff frequencies come from the closed form of Section 6:
Check. The separation is , and the product is . Both relations of Section 6 hold. The narrow passband, rad/s around a centre of rad/s, is the direct consequence of the small damping ratio .
The same answer from the quartic, as a second check
Applying the half-power condition directly, as in Example B:
The quartic route and the closed form agree, as they must.