Active filters: low-pass, high-pass, band-pass and notch

First- and second-order active LPF/HPF, Butterworth/Chebyshev/Bessel responses, Sallen-Key design, band-pass and notch filters, and order selection.

Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Every data-acquisition channel needs filtering: an anti-aliasing low-pass before the ADC, a high-pass to strip a sensor's DC offset, a band-pass to pick out a vibration frequency, a notch to remove 50 Hz mains pickup from an ECG or strain signal. Active filters built from op-amps, resistors and capacitors do this without inductors, with gain, and with outputs that can drive the next stage without upsetting the filter.

Key ideas

Why active. Passive RC filters lose signal and their response changes when loaded; RLC filters need inductors, which are bulky and non-ideal at low frequencies. An op-amp buffers the RC network (high input, low output impedance), can add gain, and lets second-order responses be built from R and C alone. Limits: the op-amp needs a supply, adds noise and offset, and works only well below its gain-bandwidth product and slew-rate limit.

Filter types.

  • Low-pass (LPF): passes 0 to f_H. Anti-aliasing, smoothing.
  • High-pass (HPF): passes above f_L. Removes DC and drift.
  • Band-pass (BPF): passes f_L to f_H around a centre f₀. A wide-band BPF is an HPF cascaded with an LPF; a narrow-band BPF (Q above about 10) uses a single multiple-feedback stage.
  • Band-stop / notch: rejects a narrow band; the twin-T notch is the classic 50 Hz rejector.

Order and roll-off. An n-th-order filter rolls off at 20n dB/decade (6n dB/octave) beyond the cut-off. First-order sections use one RC; second-order sections (Sallen-Key, multiple-feedback) use two. Higher orders are built by cascading first- and second-order sections.

Response shapes. The Butterworth response is maximally flat in the passband and is −3 dB at f_c for any order; it is the default in instrumentation. Chebyshev gives a steeper transition at the cost of passband ripple; Bessel gives the most constant group delay (cleanest pulse shape) but the gentlest roll-off.

First-order sections. A non-inverting LPF puts R in series and C to ground at the op-amp's non-inverting input; the op-amp sets the passband gain 1 + R_f/R₁. Swap R and C for an HPF.

Second-order Sallen-Key (equal-component). Two equal R and two equal C give f₀ = 1/(2πRC); the amplifier gain K sets Q = 1/(3 − K). For a Butterworth response Q = 0.707, so K = 1.586. If K reaches 3 the circuit oscillates.

Quality factor and bandwidth. For band-pass and notch filters Q = f₀/BW, and the centre of a band-pass is the geometric mean of its edges: f₀ = √(f_L·f_H).

Formulas

f_c = 1 / (2π·R·C) — cut-off of a first-order section or centre of an equal-component second-order section (Hz).

A_F = 1 + R_f/R₁ — passband gain of a non-inverting section.

|H(f)| = A_F / √(1 + (f/f_H)^(2n)) — n-th-order Butterworth low-pass; for a high-pass replace f/f_H by f_L/f.

Roll-off = 20·n dB/decade — beyond the cut-off.

Q = 1 / (3 − K) — equal-component Sallen-Key; K = 1.586 gives Butterworth (Q = 0.707).

f₀ = √(f_L·f_H), BW = f_H − f_L, Q = f₀/BW — band-pass and notch.

n ≥ log₁₀(10^(A/10) − 1) / (2·log₁₀(f/f_c)) — Butterworth order needed for attenuation A (dB) at frequency f.

f_N = 1 / (2π·R·C) — twin-T notch frequency (R, R, R/2 and C, C, 2C).

Worked examples

Example 1 (standard: first-order LPF). Design a first-order non-inverting low-pass filter with f_H = 1 kHz and passband gain 2, using C = 0.01 µF. Find R, R_f and R₁, and the gain at 5 kHz.

  1. R = 1/(2π·f_H·C) = 1/(2π × 1000 × 10⁻⁸) = 15.9 kΩ (use 15.8 kΩ, 1 %).
  2. A_F = 1 + R_f/R₁ = 2, so R_f = R₁; choose 10 kΩ each.
  3. Gain at 5 kHz: |H| = A_F/√(1 + (5)²) = 2/√26 = 0.392 (14.1 dB below the passband gain).

Answer: R ≈ 15.9 kΩ, R_f = R₁ = 10 kΩ, |H(5 kHz)| ≈ 0.39.

Example 2 (GATE level: Sallen-Key and order). (a) An equal-component Sallen-Key low-pass uses R = 10 kΩ and C = 10 nF. Find f₀ and the amplifier gain for a Butterworth response; give R_f if R₁ = 10 kΩ. How far below the passband is the response at 10f₀? (b) What Butterworth order gives at least 30 dB attenuation at three times the cut-off?

  1. (a) f₀ = 1/(2πRC) = 1/(2π × 10⁴ × 10⁻⁸) = 1.59 kHz.
  2. Butterworth needs Q = 0.707: K = 3 − 1/Q = 3 − 1.414 = 1.586.
  3. K = 1 + R_f/R₁ → R_f = 0.586 × 10 kΩ = 5.86 kΩ.
  4. Second-order Butterworth at 10f₀: 1/√(1 + 10⁴) ≈ 0.01, i.e. 40 dB below the passband.
  5. (b) n ≥ log₁₀(10³ − 1)/(2·log₁₀3) = 3.0/0.954 = 3.14, so n = 4.

Answer: f₀ ≈ 1.59 kHz, K = 1.586, R_f ≈ 5.86 kΩ, −40 dB at 10f₀; a fourth-order filter is needed for 30 dB at 3f_c.

Example 3 (band-pass). A wide-band band-pass filter has f_L = 200 Hz and f_H = 1 kHz. Then f₀ = √(200 × 1000) = 447 Hz, BW = 800 Hz and Q = 447/800 = 0.56 (wide-band, so a cascade of HPF and LPF is appropriate).

Common mistakes

  • Taking the band-pass centre as the arithmetic mean (f_L + f_H)/2 instead of the geometric mean.
  • Assuming a cascade of two identical first-order sections is still −3 dB at the original f_c (it is −6 dB there).
  • Forgetting that a Sallen-Key gain of 3 or more makes the circuit oscillate.
  • Using a filter too close to the op-amp's GBW, where its response deviates from the formulas.
  • Assuming every filter is −3 dB at its quoted cut-off; that holds for Butterworth, while a Chebyshev cut-off is usually quoted at the ripple-band edge.
  • Confusing roll-off per decade (20 dB) with per octave (6 dB) per order.

For GATE IN

Expect cut-off frequency and component calculations, identification of filter type from a circuit or transfer function, gain at a given frequency, Q and bandwidth, Sallen-Key gain for Butterworth, and minimum order for a given attenuation. Practise reading the type directly from H(s): numerator s² means high-pass, s means band-pass, s² + ω₀² means notch.

Quick check

  1. A first-order HPF has R = 500 Ω and C = 10 µF. Cut-off?
  2. A notch filter has f₀ = 50 Hz and Q = 5. Bandwidth?
  3. Roll-off of a fourth-order Butterworth LPF in dB/decade?
  4. Gain needed in an equal-component Sallen-Key for Q = 1?

Answers: 1. 31.8 Hz. 2. 10 Hz. 3. 80 dB/decade. 4. 2.

Try answering each one aloud before you open it.

  1. 1.What is an active filter and how does it differ from a passive filter?Concept

    An active filter combines R and C networks with an active device, usually an op-amp. Compared with passive filters it can provide passband gain, its high input and low output impedance stop the source and load from shifting the response, and it achieves second-order (resonant-like) responses without inductors. The costs are a power supply, op-amp noise and offset, and an upper frequency limit set by the op-amp's gain-bandwidth and slew rate.

  2. 2.Explain the working principle of a low-pass filter.Concept

    A low-pass filter allows signals with a frequency lower than a certain cutoff frequency to pass through and attenuates signals with frequencies higher than the cutoff frequency. It works by using components like resistors and capacitors to create a frequency-dependent impedance that blocks high-frequency signals while allowing low-frequency signals to pass.

  3. 3.What is a high-pass filter and where is it commonly used?Concept

    A high-pass filter allows signals with a frequency higher than a certain cutoff frequency to pass through and attenuates signals with frequencies lower than the cutoff frequency. It is commonly used in audio processing to remove low-frequency noise or rumble from audio signals, and in communication systems to block DC components.

  4. 4.Describe the function of a band-pass filter.Concept

    A band-pass filter allows signals within a certain frequency range to pass through while attenuating signals outside this range. It is used to isolate a specific band of frequencies from a broader spectrum of signals, which is useful in applications like radio communications where it is necessary to select a particular channel frequency.

  5. 5.What is a notch filter and what is its primary application?Concept

    A notch filter, also known as a band-stop filter, is designed to attenuate a specific narrow band of frequencies while allowing all others to pass. Its primary application is in eliminating unwanted frequencies, such as power line hum (50/60 Hz) in audio systems or specific interference frequencies in communication systems.

  6. 6.Why are operational amplifiers commonly used in active filters?Application

    Operational amplifiers are used in active filters because they can provide gain, which compensates for any signal loss in the filter. They also offer high input impedance and low output impedance, which minimizes loading effects and allows for better control over the filter's frequency response. Additionally, op-amps can be configured to create various filter types with precise characteristics.

  7. 7.What happens if the cutoff frequency of a low-pass filter is set too high?Application

    If the cutoff frequency of a low-pass filter is set too high, it will allow more high-frequency noise or unwanted signals to pass through, which can degrade the quality of the output signal. This may result in a less effective filtering process, as the filter will not sufficiently attenuate the undesired high-frequency components.

  8. 8.How would you design a simple first-order low-pass filter using an operational amplifier?Application

    Put a series resistor R from the input to the op-amp's non-inverting input and a capacitor C from that input to ground; connect the op-amp as a non-inverting amplifier with R_f and R₁ (or as a follower). The cut-off is f_H = 1/(2πRC) and the passband gain is 1 + R_f/R₁; the response falls at 20 dB/decade above f_H. An inverting alternative places C in parallel with R_f, giving gain −R_f/R₁ and f_H = 1/(2πR_fC). For example, C = 10 nF and f_H = 1 kHz needs R ≈ 15.9 kΩ.

  9. 9.Calculate the cutoff frequency of a low-pass filter with a resistor of 1 kΩ and a capacitor of 100 nF.Numerical

    To calculate the cutoff frequency (f_c) of a low-pass filter, use the formula f_c = 1/(2πRC). Here, R = 1 kΩ = 1000 Ω and C = 100 nF = 100 × 10^-9 F.

    f_c = 1 / (2π × 1000 × 100 × 10^-9) = 1 / (2π × 0.0001) ≈ 1591.55 Hz.

  10. 10.A high-pass filter is designed with a cutoff frequency of 500 Hz. If the input signal frequency is 200 Hz, what will be the effect on the signal?Application

    If the input signal frequency is 200 Hz, which is below the cutoff frequency of 500 Hz, the high-pass filter will attenuate this signal. The signal will be significantly reduced in amplitude, as the filter is designed to block frequencies lower than 500 Hz and allow higher frequencies to pass.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?