C6 · Lesson 26 · Active filters
Second-order filters with op amps
C4.13 built active filters around an ideal buffer. With real op amps, two circuits cover most needs. The Sallen-Key uses the op amp as a buffer and shapes low-pass and high-pass responses. The multiple-feedback (MFB) circuit puts the op amp's inverting input to work, and makes a good band-pass. Both are cheap and accurate, provided the op amp is fast enough for the job.
Play
- An MFB band-pass centered near 1 kHz, with Q = 10 and a gain of 1 at the center. The op amp has a 10 MHz gain-bandwidth.
- Change . The center frequency moves; what happens to the peak's height and width?
- Change . Now what changes?
Predict
In the MFB band-pass above, you lower alone. What happens?
The center frequency rises. In this circuit appears only in the formula for ; the bandwidth, , and the center gain, , don't involve it. That makes the MFB band-pass easy to tune: one resistor slides it along the frequency axis.
Name it
Two topologies
Multiple-feedback band-pass. from the input to node a, from a to ground, from a to the inverting input, from a to the output, and from the output back to the inverting input. With :
Bandwidth .
Sallen-Key low-pass with gain. With equal resistors and equal capacitors and the op amp set for gain K:
A Butterworth (Q = 0.707) needs . As K approaches 3, Q grows without limit and the filter becomes an oscillator: positive feedback at work.
Choosing the op amp. The filter's math assumes the op amp has huge gain at . Its gain-bandwidth must be far above multiplied by the filter's own gain and Q; otherwise the center frequency shifts and the Q creeps up. Simulating with a realistic op amp, as in this sim, shows the error directly.
Sensitivity. Real resistors and capacitors have tolerances of 1 to 10%. A high-Q filter is more sensitive to them, so high-Q designs use precise parts or a tunable resistor.
An equal-component Sallen-Key low-pass at 1.59 kHz, with the op amp set for a gain of . At 5.86 kΩ that's 1.586, a Butterworth. Raise toward 20 kΩ (K → 3) and watch the peak grow.
Worked example
Design an equal-component Sallen-Key Butterworth low-pass with R = 10 kΩ and C = 10 nF.
Show the solution
- Corner frequency.
- Gain for Q = 0.707. so = 0.586.
Answer = 1.59 kHz, with a gain of 1.586 ( = 0.586).
Worked example
Design a multiple-feedback band-pass for 1 kHz with Q = 5, using 10 nF capacitors and a center gain of −5.
Show the solution
- Feedback resistor.
- Input resistor. The center gain sets it: which gives = 15.9 kΩ.
- Third resistor. The formula fixes = 1.77 kΩ.
Answer = 159 kΩ, = 15.9 kΩ and = 1.77 kΩ.
Worked example
An equal-component Sallen-Key low-pass (R = 10 kΩ, C = 10 nF) has its gain K raised to 2, then to 2.9. What Q results, and what's the gain at ?
Show the solution
- Q from the gain.
- K = 2. Q = 1, and the gain at is KQ = 2: the same as at DC, but now with a peak just below .
- K = 2.9. Q = 10, and the gain is 29 at = 1.59 kHz.
- At K = 3. The Q is infinite and the circuit oscillates.
- Sensitivity. Equal-component designs are simple, but their Q depends on a gain set by two resistors, so a high-Q design is sensitive to their tolerance.
Answer K = 2 gives Q = 1 and a gain of 2 at ; K = 2.9 gives Q = 10 and a gain of 29.
Check
An MFB band-pass has = 100 kΩ, = 0.8 kΩ, = 318 kΩ and = 10 nF. What is its center frequency?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
An MFB band-pass is centered at 1000 Hz with = 100 kΩ and C = 22 nF. What is its Q?
Check
An MFB band-pass has = 100 kΩ and = 318 kΩ. What is its gain at the center frequency?
Check
An equal-component Sallen-Key low-pass has gain K = 1.586. What's its Q?
Check
What gain K gives an equal-component Sallen-Key low-pass a Q of 1?
Check
An equal-component Sallen-Key low-pass has R = 4.7 kΩ, C = 10 nF and gain K = 2.2.
(a)
What's its Q?
(b)
What's its gain at ?
Check
A multiple-feedback band-pass at f with quality factor Q, equal capacitors C, and center gain −G.
Step 1
What's ?
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 ?
Explain why
Why does an equal-component Sallen-Key filter turn into an oscillator as its gain approaches 3?
In a Sallen-Key filter, part of the output is fed back through a capacitor to an earlier node, adding to the signal near the corner frequency: positive feedback. The gain K controls how strong that feedback is, and Q is . As K approaches 3, Q grows without limit, which means the poles move toward the imaginary axis and the response rings longer and longer. At K = 3 the poles reach the axis and any disturbance rings forever: the filter has become an oscillator.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.