C4 · Lesson 13 · Active filters
Resistors, capacitors and an amplifier in place of inductors
A sharp audio filter built only from R, L and C would need inductors of hundreds of millihenries: heavy, expensive coils that pick up hum. Add an amplifier, and resistors and capacitors alone can produce the same second-order responses. The amplifier also isolates each stage from the next, so stages can be cascaded without loading each other. Op-amps (C6) are the usual amplifier; here an ideal buffer (a controlled source with a gain of 1, from C1.21) stands in for one.
Play
- A Sallen-Key low-pass: two resistors, two capacitors, and a buffer whose output feeds back through . The Bode plot shows its response.
- With and equal resistors, it's a Butterworth: flat, then falling 40 dB per decade. Raise . What happens near the corner?
- Lower below . What does the response look like now?
Predict
In the Sallen-Key filter, what does the feedback capacitor do near the corner frequency?
It sets Q. Near the corner, the buffered output swings in step with node b and pushes current back into node a through , partly cancelling the loss through . The bigger is relative to , the stronger that boost and the higher the Q. With equal resistors, : gives the Butterworth Q of 0.707.
Name it
Active filters
Why not inductors? At audio frequencies, inductors big enough for useful filters are bulky, lossy and pick up magnetic hum. Capacitors and resistors are small, cheap and precise.
The unity-gain Sallen-Key low-pass (as above, with an ideal buffer):
so
With : and .
Higher orders by cascading. Each buffered stage has a low output impedance, so the next stage doesn't load it, and transfer functions simply multiply. A fourth-order Butterworth is two second-order stages with Qs of 0.54 and 1.31; a sixth-order one, three stages.
Other topologies (C6.26): multiple-feedback filters (inverting, good for band-pass), state-variable filters (low-, high- and band-pass outputs at once), and switched-capacitor filters inside chips.
The catch. Active filters need power, add the amplifier's noise, and only work up to frequencies where the amplifier still has plenty of gain. Above a few megahertz, LC filters take over again.
Worked example
A unity-gain Sallen-Key low-pass has = 10 kΩ, = 22 nF and = 10 nF. Find and Q.
Show the solution
- Natural frequency. Here = 14.8 nF:
- Q. just above Butterworth.
Answer = 1.07 kHz and Q = 0.74, just above Butterworth.
Worked example
The same stage built with = 10 kΩ, = 20 kΩ, = 20 nF and = 5 nF: what are and Q?
Show the solution
- The time constant.
- Natural frequency.
- Q.
Answer = 1.13 kHz and Q = 0.94.
Worked example
Design a unity-gain Sallen-Key low-pass with equal 10 kΩ resistors for f₀ = 1 kHz and Q = 0.707.
Show the solution
- Capacitor ratio. With equal resistors, so Q = 0.707 needs .
- Write in terms of .
- Solve for the capacitors.
- Standard values. Standard values of 11 nF and 22 nF give f₀ = 1.02 kHz and Q = 0.707.
- Tolerance. Q depends only on the capacitor ratio, so matched-tolerance parts keep it right.
Answer = 22.5 nF and = 11.3 nF, or standard values of 22 nF and 11 nF.
Check
A unity-gain Sallen-Key low-pass has = 10 kΩ, = 20 nF and = 22 nF. What is ?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A unity-gain Sallen-Key low-pass has equal resistors and = 4 × . What is its Q?
Check
With equal resistors and = 10 nF, what gives Q = 1?
Write units the way you normally would: 1.5 nF, 1500 pF and 0.0015 µF are the same answer.
Check
How many poles does a cascade of 3 second-order Sallen-Key stages have?
Check
Why can buffered active filter stages simply be cascaded, with their transfer functions multiplying?
Check
A unity-gain Sallen-Key low-pass with equal 4.7 kΩ resistors needs f₀ = 1 kHz and Q = 1.
(a)
What's ?
Write units the way you normally would: 1.5 nF, 1500 pF and 0.0015 µF are the same answer.
(b)
What's ?
Check
An equal-resistor unity-gain Sallen-Key low-pass with R, = a and = b.
Step 1
What's f₀?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What's Q?
Explain why
How does an amplifier let a filter made only of resistors and capacitors produce a peaked, high-Q response that would otherwise need an inductor?
A passive RC network can only lose energy, so its poles always lie on the real axis and its response can never peak. An amplifier supplies energy: in the Sallen-Key circuit, the buffered output is fed back through a capacitor into an earlier node, adding a signal that reinforces the response near the corner frequency. That positive feedback moves the poles off the real axis into a complex pair, exactly as an inductor and capacitor would, and the feedback strength (set by the capacitor ratio) controls how sharp the peak is.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.