Skip to main content

Filters

Learning Targets​

  • Situation: Slow signal preservation with rejection of a faster disturbance.
  • Targets: Passband/stopband specifications, order, loading and transient behavior.
  • Inputs: Earlier RC response and precision error budget.

Response Requirements​

KeywordMeaning
Lowpass / highpassRetention below / above a transition region
Bandpass / notchSelected band retention / rejection
PassbandAllowed gain variation in the wanted band
StopbandRequired rejection beyond specified frequencies
Group delay−dϕ/dω-d\phi/d\omega; phase in radians
OrderDenominator degree; all-pole asymptotic slope of 20n dB/decade
  • First-order lowpass: ∣H∣=1/1+(f/fc)2|H|=1/\sqrt{1+(f/f_c)^2}.
  • Requirement example: At least 20 dB rejection at 10 kHz → cutoff no higher than 1005 Hz.
  • Tradeoff: 1 kHz cutoff at 500 Hz → magnitude 0.8944, phase −26.57°.

Filter Families and Circuits​

  • Butterworth: Maximally flat passband magnitude; ∣H∣=1/1+(f/fc)2n|H|=1/\sqrt{1+(f/f_c)^{2n}}.
  • Bessel: Emphasis on smooth group delay and step response.
  • Chebyshev: Allowed ripple in exchange for a sharper transition.
  • Second-order denominator: s2+(ω0/Q)s+ω02s^2+(\omega_0/Q)s+\omega_0^2; s=jωs=j\omega, positive Q.
  • Passive cascade: Stage loading included; no automatic multiplication of unloaded responses.
  • Sallen–Key example: Equal R/C lowpass with the standard capacitor feedback arrangement; ω0=1/(RC)\omega_0=1/(RC), Q=1/(3−K)Q=1/(3-K).
  • Butterworth choice: K ≈ 1.586 → Q ≈ 0.707; absolute DC gain K, normalized gain used for shape comparison.
  • Twin-T notch: Matched R, R, R/2 and C, C, 2C relationships; mismatch-limited notch depth.
  • State-variable filter: Summing stage and integrators; separate frequency/damping controls.
  • Allpass: Phase alteration with ideally constant magnitude.
First-order RC and second-order Butterworth magnitude curves beside Sallen-Key and twin-T circuit topologies with output and reference nodes
Figure 1. First-order RC and second-order Butterworth magnitude curves beside Sallen-Key and twin-T circuit topologies with output and reference nodes.

Sampling and Transients​

  • Switched capacitor: Req=1/(Csfs)R_{\mathrm{eq}}=1/(C_sf_s) for signals slow relative to switching.
  • Example: 1 nF at 100 kHz → 10 kΩ; charge injection and clock feedthrough excluded.
  • Moving average: y[n]=(x[n]+x[n−1]+x[n−2]+x[n−3])/4y[n]=(x[n]+x[n-1]+x[n-2]+x[n-3])/4.
  • At 40 kS/s: Ideal 10 kHz sampled cosine cancellation; 1.5-sample or 37.5 µs linear-phase delay.
  • Anti-alias distinction: Analog filtering before conversion; digital averaging unable to undo existing aliases.
  • Second-order step: Q = 1/21/\sqrt2 → about 4.32% overshoot; first-order RC → no overshoot.
  • Practical limits: Op-amp bandwidth, slew, headroom, component tolerances and output loading.

Practice​

  • Preparation: Unity-DC-gain first-order and second-order Butterworth models; both −3 dB at 1 kHz.
  • Prediction: Magnitudes at cutoff and ten times cutoff.
  • Execution: AC sweep 10 Hz–100 kHz; 100 points/decade; separate 0–0.1 V step over 5 ms with maximum step 1 µs.
  • Observation: Phase, normalized gain, overshoot and settling.
ModelGain at 1 kHzGain at 10 kHzSimulated result / overshoot
First order0.70710.09950—
Butterworth order 20.70710.01000—
  • Optional extension: Passive cascade versus buffered cascade.
  • Carry forward: Loop phase and transient response for oscillators.

Exercises​

  1. Order: Far-stopband slope for an all-pole third-order lowpass.
  2. Magnitude: Second-order Butterworth gain at its cutoff.
  3. Q: Equal-component Sallen–Key Q at K = 1.
  4. Switched capacitor: Equivalent resistance for 2 nF at 100 kHz.
  5. Sampling: Four-point average of 1, 0, −1, 0.
Answers and reasoning
  1. Answer: −60 dB/decade with increasing frequency.
  2. Answer: 1/2≈0.70711/\sqrt2\approx0.7071.
  3. Answer: 0.5.
  4. Answer: 5 kΩ.
  5. Answer: Zero; one ideal four-sample cosine cycle.

Continue​

Reference​

  • Reading: Paul Horowitz and Winfield Hill, The Art of Electronics, third edition, Chapter 6.
  • Lesson material: Original explanations, calculation examples and exercises; reference sections for further study.