- Asked 2/11
- 2071 Chaitra · 8 marks
- 2069 Chaitra · 8 marks
Low-pass FIR window design, αs = 40 dB
Short answer
Use Hanning window (44 dB attenuation). Transition width Δω=0.2π gives filter length M=41, α=20, cutoff ωc=0.4π. Impulse response h(n)=h_d(n)·w(n) symmetric, with h(20)=0.4.
Design a low pass FIR filter having pass band edge frequency ωp = 0.3π, stop band edge frequency ωs = 0.5π and stop band attenuation αs = 40 dB using any appropriate window function.
Choice of window
Required stop-band attenuation: 40 dB. The minimum attenuation of the standard windows: rectangular 21 dB, Bartlett 25 dB, Hanning 44 dB, Hamming 53 dB, Blackman 74 dB. The simplest window meeting 40 dB is the Hanning window (its main lobe is 8π/M wide).
Length
Transition width: Δω = ωs − ωp = 0.5π − 0.3π = 0.2π.
M ≥ 8π/Δω = 8π/0.2π = 40. Take M = 41 (odd, so the filter is Type I with an integer delay α = (M−1)/2 = 20).
Cut-off
ωc = (ωp + ωs)/2 = (0.3π + 0.5π)/2 = 0.4π
Ideal and window sequences
h_d(n) = sin(0.4π(n − 20)) / (π(n − 20)), n ≠ 20; h_d(20) = ωc/π = 0.4
w(n) = 0.5 [1 − cos(2πn/40)], 0 ≤ n ≤ 40
h(n) = h_d(n) · w(n)
Coefficients (h(n) = h(40 − n))
| n | h_d(n) | w(n) | h(n) |
|---|---|---|---|
| 0 | 0.0000 | 0.0000 | 0.0000 |
| 1 | −0.0159 | 0.0062 | −0.0001 |
| 2 | −0.0104 | 0.0245 | −0.0003 |
| 3 | 0.0110 | 0.0545 | 0.0006 |
| 4 | 0.0189 | 0.0955 | 0.0018 |
| 5 | 0.0000 | 0.1464 | 0.0000 |
| 6 | −0.0216 | 0.2061 | −0.0045 |
| 7 | −0.0144 | 0.2730 | −0.0039 |
| 8 | 0.0156 | 0.3455 | 0.0054 |
| 9 | 0.0275 | 0.4218 | 0.0116 |
| 10 | 0.0000 | 0.5000 | 0.0000 |
| 11 | −0.0336 | 0.5782 | −0.0194 |
| 12 | −0.0234 | 0.6545 | −0.0153 |
| 13 | 0.0267 | 0.7270 | 0.0194 |
| 14 | 0.0505 | 0.7939 | 0.0401 |
| 15 | 0.0000 | 0.8536 | 0.0000 |
| 16 | −0.0757 | 0.9045 | −0.0685 |
| 17 | −0.0624 | 0.9455 | −0.0590 |
| 18 | 0.0935 | 0.9755 | 0.0913 |
| 19 | 0.3027 | 0.9938 | 0.3009 |
| 20 | 0.4000 | 1.0000 | 0.4000 |
Impulse response: h(n) = {0, −0.0001, −0.0003, 0.0006, 0.0018, 0, −0.0045, −0.0039, 0.0054, 0.0116, 0, −0.0194, −0.0153, 0.0194, 0.0401, 0, −0.0685, −0.0590, 0.0913, 0.3009, 0.4000, 0.3009, … (symmetric) …, 0}.
The transfer function is H(z) = Σ (n = 0 to 40) h(n) z⁻ⁿ, with linear phase θ(ω) = −20ω.
Check
Evaluating H(e^jω) numerically: the pass-band ripple is under 0.7 %, and the largest stop-band peak is −43.9 dB, which satisfies the 40 dB requirement.
Answer: Hanning window, M = 41, ωc = 0.4π, h(n) as in the table (h(20) = 0.4).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Low-pass FIR window design, αs = 41 dB · Digital Signal Analysis and Processing, chapter 5
- Hanning window low-pass FIR design · Digital Signal Analysis and Processing, chapter 5
- Kaiser low-pass FIR, passband 0.9π, stop 0.14π · Digital Signal Analysis and Processing, chapter 5 · asked 2×
- Kaiser low-pass FIR, 0.19π and 0.21π · Digital Signal Analysis and Processing, chapter 5 · asked 2×
- Rectangular window in FIR design; Gibbs oscillations · Digital Signal Analysis and Processing, chapter 5 · asked 2×
- Low pass to band stop transformation · Filter Design, chapter 3 · asked 10×
- Band stop filter (2000 rad/s, 400 rad/s) from 3rd order · Filter Design, chapter 3 · asked 4×
- How transformation reduces design steps; band stop design · Filter Design, chapter 3
- Transfer function of RC low-pass filter · Signals and Systems, chapter 5 · asked 2×
All Digital Signal Analysis and Processing chapter 5 questions →