Skip to content
Tutorials Center
My learning

Topics

Lesson 41 of 48 ยท Frequency Response and Resonance

Filters: Low-Pass, High-Pass, Band-Pass and Band-Stop

Design the four basic passive filters from resistors, capacitors and inductors, compute their cutoff and centre frequencies and check them with plots.

A filter is a circuit that passes some frequencies and blocks others. The first radio receivers were little more than an antenna and a tuned filter. Today filters clean the hum out of audio, separate bass from treble in speakers, stop aliasing in digital converters and keep noise out of sensors. With only resistors, capacitors and inductors you can build all four basic types, and the analysis is a voltage divider with impedances.

Four filter types with a response curve for each, a dashed line at 0.707, and the formula for the cutoff or centre frequency
Pass, block or select: four shapes from the same three components.

What you will learn

  • Circuits and transfer functions for low-pass, high-pass, band-pass and band-stop filters.
  • How to compute cutoff and centre frequencies and choose component values.
  • What filter order means for steepness.
  • Typical uses.

Key terms

Pass band / stop band: frequencies that get through / are blocked.

Cutoff frequency f_c: the โˆ’3 dB edge of the pass band.

Centre frequency fโ‚€ and bandwidth: for band filters, the middle of the band and its โˆ’3 dB width.

Order: the number of poles; each adds โˆ’20 dB/decade of roll-off.

Low-pass filter

A resistor in series, then a capacitor to ground, with the output across the capacitor:

H(jฯ‰) = 1 / (1 + jฯ‰RC), f_c = 1 / (2ฯ€RC)

It passes low frequencies and rolls off at โˆ’20 dB/decade. Design example: to remove noise above about 3.4 kHz (the edge of the old telephone band) with C = 10 nF, pick R = 1/(2ฯ€ ร— 3400 ร— 10โปโธ) = 4.68 kฮฉ. The nearest standard value, 4.7 kฮฉ, gives f_c = 3.39 kHz.

Uses: anti-aliasing before an analog-to-digital converter, smoothing a PWM signal into a DC level, tone controls, removing high-frequency noise.

High-pass filter

Swap the two parts: capacitor in series, resistor to ground, output across the resistor:

H(jฯ‰) = jฯ‰RC / (1 + jฯ‰RC), f_c = 1 / (2ฯ€RC)

It blocks DC and slow drifts and passes high frequencies. A 1 ยตF capacitor with a 10 kฮฉ resistor has f_c = 15.9 Hz: a typical coupling capacitor that passes audio (20 Hz upward) between amplifier stages while blocking the DC bias of each stage.

Band-pass filter

Use a series RLC circuit and take the output across the resistor. At resonance the L and C cancel, so all of the input appears across R; far from resonance the reactances dominate and the current (and the voltage across R) falls.

H(jฯ‰) = R / [R + j(ฯ‰L โˆ’ 1/(ฯ‰C))] = jฯ‰RC / (1 โˆ’ ฯ‰ยฒLC + jฯ‰RC)

fโ‚€ = 1 / (2ฯ€โˆš(LC)), Q = ฯ‰โ‚€L/R, bandwidth B = fโ‚€/Q = R/(2ฯ€L).

Example: L = 10 mH, C = 1 ยตF, R = 20 ฮฉ: fโ‚€ = 1591.5 Hz, Q = 10โด ร— 0.01/20 = 5, B = 318 Hz. The half-power edges are near 1440 Hz and 1759 Hz, almost centered on fโ‚€. Radio tuners use the same principle: change C and the band moves to another station.

Band-stop (notch) filter

Take the output across the series L and C instead of across R. At resonance the series LC branch has zero impedance and the output is shorted: a deep notch.

H(jฯ‰) = (1 โˆ’ ฯ‰ยฒLC) / (1 โˆ’ ฯ‰ยฒLC + jฯ‰RC)

Uses: remove 50/60 Hz mains hum from a biological signal such as an ECG, or remove one interfering tone. The notch is narrow when Q is high.

Order and steepness

A single RC section is first order: the roll-off is gentle. Cascading sections makes the skirt steeper (second order โˆ’40 dB/decade, third order โˆ’60 dB/decade), but simple passive RC cascades also load each other and soften the corner. Better shapes come from carefully chosen Butterworth, Chebyshev and other designs, and from active filters (op-amps add gain and prevent loading), which you will meet in electronics courses. The principle remains the same: the output is a voltage divider of frequency-dependent impedances.

Comparing the four

Filter Pass Block Typical use
Low-pass below f_c above anti-aliasing, smoothing
High-pass above f_c below coupling, remove DC
Band-pass around fโ‚€ elsewhere radio tuning, equalizers
Band-stop elsewhere around fโ‚€ hum removal

Common misconceptions

"A high-pass filter is the same circuit as a low-pass one." The two parts are swapped, which changes which impedance is across the output.

"A bigger capacitor gives a higher cutoff." The cutoff is 1/(2ฯ€RC), so a bigger C or R lowers it.

"A filter's load does not matter." A real load adds to the filter's output impedance and shifts the response; a good design takes it into account.

Try it

The first program computes the design values from this lesson and the gain of each filter at three frequencies.

Python Filter design numbers

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The second program plots all four filters, each on a log frequency axis in decibels.

Python The four filters

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 5 questions

of 5 answered You scored / 5 ยท perfect!

  1. 1. In a first-order RC low-pass, where is the output taken?

    The capacitor shorts high frequencies, so the voltage across it falls as the frequency rises.
  2. 2. R = 8 kฮฉ, C = 2 nF. The cutoff frequency is about

    fc = 1/(2ฯ€ ร— 8000 ร— 2ร—10โปโน) = 9.95 kHz.
  3. 3. Which filter blocks DC?

    A high-pass filter has a series capacitor that passes no DC.
  4. 4. A series RLC band-pass has L = 1 mH, C = 10 ยตF. Its centre frequency is

    LC = 10โปโธ, so โˆš(LC) = 10โปโด and fโ‚€ = 1/(2ฯ€ ร— 10โปโด) = 1592 Hz.
  5. 5. A notch filter is used to

    A band-stop (notch) filter attenuates a narrow band and passes everything else.

Summary

  • Low-pass: R in series, output across C. High-pass: C in series, output across R. Both have f_c = 1/(2ฯ€RC).
  • Series RLC: output across R gives band-pass, across L + C gives band-stop; fโ‚€ = 1/(2ฯ€โˆš(LC)), B = R/(2ฯ€L).
  • Each pole adds โˆ’20 dB/decade of roll-off.
  • Real designs consider the load and use better filter families or active circuits for sharp corners.

Next: Resonance and quality factor