Low-pass and high-pass filters
A low-pass filter lets low frequencies through and weakens high ones; a high-pass filter does the opposite. The simplest of each is a resistor and a capacitor, cutting from fc = 1 ÷ (2πRC), so 1 kΩ and 1 µF give a 159 Hz cutoff.
fc = 1 ÷ (2πRC)
where R is in ohms and C in farads, so 1 kΩ and 1 µF give a 159 Hz cutoff.
At the cutoff frequency, 71% of the signal’s amplitude gets through, 3 dB down, and each tenfold step further cuts it about tenfold.
What is a low-pass filter?
A low-pass filter is a circuit that lets signals below its cutoff frequency pass almost untouched and weakens those above it, more and more as the frequency rises.
The simplest is a resistor in series with a capacitor to ground, taking the output across the capacitor. In Figure 1, step through the frequencies and switch to high-pass to see the curve flip.
Low-pass, 500 Hz: 30% of the input gets through, −10 dB; high frequencies are cut.
What is a high-pass filter?
A high-pass filter lets signals above its cutoff pass and weakens those below it, blocking steady DC completely.
Swap the RC low-pass filter’s parts: the capacitor goes in series and the resistor to ground. It removes hum and drift, and it is how audio stages pass sound while blocking DC between them.
What is the cutoff frequency?
A filter’s cutoff frequency is where its output has fallen to 71% of its input’s amplitude, 3 dB down: for an RC filter, fc = 1 ÷ (2πRC).
The cutoff frequency is where the capacitor’s reactance equals the resistance. Beyond it, a single RC stage falls about tenfold for every tenfold step in frequency, −20 dB a decade; two stages in a row fall twice as fast.
How does an RC filter work?
An RC filter works because a capacitor’s opposition to AC falls as frequency rises, XC = 1 ÷ (2πfC), so with the resistor it forms a frequency-dependent voltage divider.
At low frequencies the capacitor barely conducts, so a low-pass output stays high; at high frequencies it nearly shorts the output to ground. Figure 2 uses that to split a tone from a whine.
Low-pass, cutoff 995 Hz: the 100 Hz tone keeps 99%, while the 3 kHz whine drops to 31%.
What does a low-pass filter do to a square wave?
A low-pass filter rounds a square wave’s edges, because the capacitor takes time to charge and discharge through the resistor, the RC time constant, τ = RC.
Well below the cutoff the square wave survives with soft corners; well above it, the output shrinks to a small triangle around the average. That is how a filter turns PWM into a steady voltage, as Figure 3 shows.
1 × the cutoff frequency: each half-cycle lasts about three time constants, so the output nearly reaches each level before it turns back.
What are low-pass and high-pass filters used for?
Low-pass filters smooth PWM and power supplies, cut hiss and stop aliasing before a converter; high-pass filters block DC, remove hum and feed a speaker’s tweeter.
Put one of each in series and only a band between their cutoffs gets through: a band-pass filter. Active filters add an op amp for gain and sharper slopes.
How do you calculate a filter’s cutoff and gain?
To calculate a filter’s cutoff, find fc from R and C, then compare the signal’s frequency with it to see how much gets through: at the cutoff, 71%.
Example 1: a filter’s cutoff
What is the cutoff of an RC filter with R = 10 kΩ and C = 10 nF?
- Given
- an RC filter of 10 kΩ and 10 nF
- Find
- its cutoff frequency
- Solution
- fc = 1 ÷ (2πRC) = 1 ÷ (2π × 10 kΩ × 10 nF) = 1.59 kHz
- Answer
- 1.59 kHz
Example 2: how much gets through
A low-pass filter is fed a sine at 10 times its cutoff frequency. What fraction of the amplitude gets through?
- Given
- a low-pass filter fed a sine at 10 times its cutoff
- Find
- how much gets through
- Solution
- Gain = 1 ÷ √(1 + (f ÷ fc)²) = 1 ÷ √(1 + 100) = 0.0995In decibels, 20 log₁₀(0.0995) = −20 dB
- Answer
- 10%, −20 dB
Summary
Key equations
- fc = 1 ÷ (2πRC) the cutoff
- Gain = 1 ÷ √(1 + (f ÷ fc)²) low-pass
- Gain = (f ÷ fc) ÷ √(1 + (f ÷ fc)²) high-pass
- dB = 20 log₁₀(gain) in decibels
Key terms
- Cutoff
- Where 71% gets through.
- Passband
- The frequencies it keeps.
- Decade
- A tenfold step in frequency.
- Order
- How many stages it has.
Practice problems
-
What does a low-pass filter do?
Its capacitor shorts high frequencies to ground while low ones pass.
-
What is the cutoff of 10 kΩ with 10 nF?
fc = 1 ÷ (2π × 10,000 Ω × 0.00000001 F) ≈ 1,592 Hz.
-
How much of the amplitude gets through at the cutoff?
1 ÷ √2 ≈ 0.71, which is 3 dB down.
-
A low-pass filter is fed ten times its cutoff. About how much gets through?
1 ÷ √(1 + 100) ≈ 0.0995, about 10%, or −20 dB.
-
How do you turn an RC low-pass filter into a high-pass one?
With C in series and R to ground, low frequencies are blocked instead.
FAQ
What is the difference between a low-pass and a high-pass filter?
A low-pass filter keeps frequencies below its cutoff and cuts those above; a high-pass filter keeps those above and cuts those below.
How do you calculate the cutoff frequency of an RC filter?
fc = 1 ÷ (2πRC), with R in ohms and C in farads. 1 kΩ and 1 µF give about 159 Hz.
What does −3 dB mean?
The output’s amplitude has fallen to about 71% of the input’s, which is half the power. It marks the cutoff frequency.
Does a low-pass filter block DC?
No. DC is zero frequency, so a low-pass filter passes it fully; a high-pass filter blocks it.
What is a band-pass filter?
One that passes only a band of frequencies, made by putting a high-pass and a low-pass filter in series.
Can you make a filter with an inductor?
Yes. An inductor’s opposition rises with frequency, the reverse of a capacitor’s, so an inductor in series makes a low-pass filter.
What is a second-order filter?
Two filter stages, or an inductor and capacitor together, that cut about −40 dB a decade past the cutoff instead of −20 dB.