Digital Signal Analysis and ProcessingUnit 89 min read
IIR Filter Design: Butterworth, Chebyshev, Elliptic, and State-Variable Methods
Unit 8 of Digital Signal Analysis and Processing covers IIR filter design techniques, including Butterworth, Chebyshev, and Elliptic filters, their frequency responses, pole-zero plots, and state-variable implementation. It also explains bilinear transformation, filter stability, and real-world applications in audio pr
Key Concepts and Design Methods
1. IIR Filters: Basics and Advantages
IIR (Infinite Impulse Response) filters use feedback (recursive part) and feedforward (non-recursive part) to achieve sharp frequency responses with fewer coefficients than FIR filters. Their transfer function is: Advantages:
- Lower computational complexity (fewer taps).
- Steeper roll-off with fewer coefficients.
- Better suited for narrowband applications.
Disadvantages:
- Non-linear phase response (unless carefully designed).
- Potential instability if poles are outside the unit circle.
2. Butterworth Filters: Maximally Flat Response
Butterworth filters have a monotonic frequency response (no ripples in passband or stopband). Their magnitude squared is: where = filter order, = cutoff frequency.
Design Steps:
- Specify passband () and stopband () frequencies and attenuation ().
- Calculate normalized cutoff frequency ():
- Determine filter order () using:
- Find pole locations using:
- Convert analog prototype to digital using bilinear transform:
Worked Example: Butterworth Lowpass Filter
Given:
- Passband edge ( kHz), stopband edge ( kHz).
- dB, dB.
- Sampling frequency kHz.
Steps:
- Normalize frequencies:
- Calculate :
- Pole locations (for ):
- Bilinear transform to get digital coefficients.
Visual: Pole-Zero Plot
3. Chebyshev Filters: Equiripple Response
Chebyshev filters have ripples in the passband (Type I) or stopband (Type II). Their magnitude response is: where is the Chebyshev polynomial of order , and controls ripple magnitude.
Design Steps (Type I):
- Calculate :
- Find normalized cutoff frequency ():
- Pole locations:
Comparison: Butterworth vs. Chebyshev
| Feature | Butterworth | Chebyshev (Type I) |
|---|---|---|
| Frequency Response | Monotonic | Equiripple in passband |
| Roll-off | Slower | Faster for same order |
| Order for given specs | Higher | Lower |
| Phase Response | Linear (approximate) | Non-linear |
| Use Case | General-purpose | Applications needing sharp cutoff |
4. Elliptic Filters: Optimized Transition Band
Elliptic filters have ripples in both passband and stopband, achieving the steepest roll-off for a given order. Their magnitude response is: where is the elliptic rational function.
Design Steps:
- Calculate (modulus):
- Find using elliptic integral tables or numerical methods.
- Pole locations are computed using Jacobi elliptic functions.
Visual: Frequency Response Comparison
5. Bilinear Transform: Analog-to-Digital Conversion
The bilinear transform maps the left-half -plane to the unit circle in -plane: Pre-warping is required to correct frequency distortion:
Worked Example: Pre-warping
Given:
- Analog cutoff frequency kHz.
- Sampling frequency kHz.
Steps:
- Calculate pre-warped frequency:
- Design analog filter at rad/sample.
- Apply bilinear transform to get digital coefficients.
6. State-Variable Implementation
State-variable filters use integrators and summation to implement IIR filters. The block diagram for a second-order section is:
Advantages:
- Structured and stable implementation.
- Easy to tune coefficients.
Disadvantages:
- Requires more multipliers than direct form.
7. Stability and Causality
- Stability: All poles must lie inside the unit circle ().
- Causality: Filters must be non-anticipative (no future samples in output).
- Check stability: Ensure no poles are outside the unit circle in the -plane.
Visual: Stability Region
In the Real World
WhatsApp Voice Calls (Meta)
- Uses IIR filters (Butterworth/Chebyshev) for echo cancellation and noise reduction in voice signals. The filters suppress background noise while preserving speech clarity by attenuating frequencies outside the human voice range (300 Hz–3.4 kHz).
Nepal Telecommunications Corporation (NTC) 4G/5G Base Stations
- Deploy elliptic IIR filters in OFDM modulators/demodulators to separate adjacent frequency channels (e.g., 15 kHz spacing in LTE). The steep roll-off of elliptic filters minimizes inter-channel interference, improving data throughput.
Khalti Payment App (Nepal)
- Uses digital filters (IIR) in audio-based OTP verification (e.g., "play a tone to confirm"). A bandpass IIR filter isolates the tone frequency (e.g., 1 kHz) from ambient noise, then applies Goertzel algorithm (a DFT approximation using IIR feedback) to detect the tone’s presence.
Exam Tip
Memorize key formulas:
- Butterworth order calculation: .
- Bilinear transform: .
- Pre-warping: .
Pole-zero plots are critical:
- Sketch the analog prototype poles (Butterworth: circle; Chebyshev: ellipse; Elliptic: clustered).
- Show digital transformation after bilinear transform (poles move to unit circle).
Compare filter types:
- Butterworth: Smooth response, higher order needed.
- Chebyshev: Faster roll-off, passband ripples.
- Elliptic: Best roll-off, ripples in both bands.
Worked examples:
- Always show steps for order calculation, pole placement, and bilinear transform.
- For state-variable filters, draw the block diagram and label coefficients.
Stability check:
- Questions may ask to verify stability by checking pole locations. Use the ** Jury stability criterion** if poles are not obvious.
Real-world mapping:
- Relate audio equalizers (e.g., in Spotify) to Butterworth filters for smooth tone control.
- Link 5G channel separation to elliptic filters in exam applications.
Based on the PU BE Computer (PU) syllabus for Digital Signal Analysis and Processing (CMM344), unit 8.
Discussion
Loading…