Filters are the workhorses of signal processingโthey're how you separate the signal you want from the noise you don't. Whether you're analyzing audio waveforms, designing communication systems, or preprocessing data for Fourier analysis, you'll need to understand not just what each filter does, but why its mathematical structure produces that behavior. The concepts here connect directly to frequency domain analysis, transfer functions, and the convolution theorem you've studied throughout this course.
You're being tested on your ability to match filter types to applications, compare their frequency responses, and explain tradeoffs like phase linearity vs. computational efficiency or sharp rolloff vs. passband ripple. Don't just memorize filter namesโknow what frequency characteristics each filter achieves, how it's implemented (FIR vs. IIR), and when you'd choose one over another.
Filters by Frequency Selection
These filters define which frequencies survive and which get attenuated. The key concept is the cutoff frequencyfcโ, where the filter's gain drops to 2โ1โ (or โ3 dB) of its maximum value.
Transfer function has poles arranged to create gain decay at high frequencies; the rolloff rate depends on filter order
Applications include anti-aliasing before sampling, removing high-frequency noise from audio, and smoothing sensor data
High-Pass Filter
Passes frequencies above fcโโblocks low-frequency components including DC offset (the constant term in your Fourier series)
Complementary to low-pass in design; subtracting a low-pass output from the original signal yields a high-pass response
Applications include removing baseline drift in biomedical signals and emphasizing edges in image processing
Band-Pass Filter
Passes frequencies between fLโ and fHโโisolates a specific frequency band while attenuating everything outside
Constructed mathematically by cascading a high-pass (cutoff fLโ) with a low-pass (cutoff fHโ), or designed directly
Essential for communication systems where you need to extract one channel from a multiplexed signal
Band-Stop Filter (Notch Filter)
Attenuates frequencies between fLโ and fHโโthe inverse of a band-pass filter, removing a specific frequency band
Narrow band-stop filters called notch filters target single frequencies like 60 Hz power line interference
Constructed by summing low-pass and high-pass outputs, or using zeros placed at the rejection frequency
Compare: Band-pass vs. Band-stopโboth define a frequency range, but band-pass keeps that range while band-stop removes it. If an FRQ asks about isolating a signal, think band-pass; if it asks about eliminating interference, think band-stop.
Filters by Implementation Structure
The distinction between FIR and IIR filters is fundamental to digital signal processing. It determines stability, phase response, and computational cost.
Finite Impulse Response (FIR) Filter
Impulse response has finite durationโoutput depends only on current and past inputs, with no feedback from previous outputs
Always stable and achieves linear phaseโmeaning all frequencies experience the same time delay, preserving waveform shape
Designed using windowing methods (Hamming, Hanning, Blackman) or the Parks-McClellan algorithm for optimal equiripple response
Infinite Impulse Response (IIR) Filter
Impulse response extends infinitelyโfeedback structure means output depends on previous outputs, creating recursive computation
More computationally efficient than FIR for achieving sharp frequency transitions; fewer coefficients needed for equivalent performance
Can be unstable if poles lie outside the unit circle; typically introduces nonlinear phase, causing different delays at different frequencies
Moving Average Filter
Simplest FIR filterโoutput is the arithmetic mean of the last N input samples: y[n]=N1โโk=0Nโ1โx[nโk]
Frequency response is a sinc-like function with zeros at multiples of Nfsโโ, where fsโ is the sampling frequency
Excellent for smoothing noisy time-series data but provides poor frequency selectivity compared to designed filters
Compare: FIR vs. IIRโFIR guarantees stability and linear phase but requires more computation; IIR is efficient but risks instability and phase distortion. For audio where phase matters, choose FIR; for real-time systems with tight computational budgets, consider IIR.
Filters by Frequency Response Shape
These classical analog filter designs (implemented digitally via transformations) represent different tradeoffs between passband flatness, rolloff steepness, and ripple.
Butterworth Filter
Maximally flat passbandโno ripple in the passband, providing the smoothest possible frequency response near DC
Rolloff rate of 20n dB/decade, where n is the filter order; higher orders give sharper transitions but require more computation
Transfer function magnitude follows โฃH(jฯ)โฃ2=1+(ฯ/ฯcโ)2n1โ, derived from pole placement on the unit circle
Chebyshev Filter
Steeper rolloff than Butterworth for the same orderโachieves sharper frequency transitions at the cost of introducing ripple
Type I has ripple in the passband; Type II has ripple in the stopbandโchoose based on which region tolerates imperfection
Ripple parameter ฯต controls the tradeoff: more ripple allowed means steeper rolloff achieved
Compare: Butterworth vs. ChebyshevโButterworth is "smooth but gradual," Chebyshev is "sharp but wavy." If your application can't tolerate any passband variation (like precision measurement), use Butterworth. If you need aggressive frequency separation and can accept some ripple, Chebyshev wins.
Phase-Only Filtering
All-Pass Filter
Passes all frequencies with unity gainโmagnitude response is flat, but the phase response varies with frequency
Used for phase equalizationโcorrects phase distortion introduced by other filters without affecting amplitude spectrum
Transfer function has poles and zeros that are complex conjugate reciprocals: H(z)=1โazโ1zโ1โaโโ
Compare: All-pass vs. other filtersโwhile most filters shape the magnitude spectrum, all-pass filters shape only the phase spectrum. This is crucial when you need to align time delays across frequency components without changing what frequencies are present.
Quick Reference Table
Concept
Best Examples
Frequency selection (what passes)
Low-pass, High-pass, Band-pass, Band-stop
Implementation structure
FIR, IIR, Moving average
Passband flatness
Butterworth (maximally flat)
Sharp rolloff with ripple
Chebyshev Type I, Type II
Linear phase guaranteed
FIR filters, Moving average
Computational efficiency
IIR filters
Phase manipulation only
All-pass filter
Noise removal at specific frequency
Band-stop (notch) filter
Self-Check Questions
Which two filters could you combine to create a band-pass filter, and what parameters would you need to specify?
You're designing a filter for a real-time embedded system with limited processing power, but phase distortion is acceptable. Should you choose FIR or IIR, and why?
Compare and contrast Butterworth and Chebyshev filters: what does each optimize for, and when would you choose one over the other?
A biomedical signal has 60 Hz power line interference superimposed on it. Which filter type would you use to remove only that interference while preserving the rest of the signal?
Why does an FIR filter guarantee stability while an IIR filter might become unstable? Relate your answer to the filter's pole locations in the z-plane.