- 2070 Asar · 9 marks
Hanning window low-pass FIR design
Short answer
Hanning window with M=81 (Δω=0.1π, 8π/M main lobe), α=40, cutoff ωc=0.3π. Filter: h(n)=0.5[1−cos(πn/40)]·sin(0.3π(n−40))/(π(n−40)), symmetric, h(40)=0.3.
Use Hanning window method to design a digital low-pass FIR filter with pass-band edge frequency ωp = 0.25π, stop-band edge frequency ωs = 0.35π where main lobe width of Hanning window is 8π/M, M is the filter length.
Specifications
ωp = 0.25π, ωs = 0.35π. Transition width Δω = 0.1π. The Hanning window has main-lobe width 8π/M, which is taken as the transition width.
Length and cut-off
M ≥ 8π/Δω = 8π/0.1π = 80. Choose M = 81 (odd, Type-I linear phase), α = (M−1)/2 = 40.
ωc = (ωp + ωs)/2 = (0.25π + 0.35π)/2 = 0.3π
Ideal impulse response
h_d(n) = sin(0.3π(n − 40)) / (π(n − 40)), n ≠ 40; h_d(40) = ωc/π = 0.3
Hanning window
w(n) = 0.5 [1 − cos(2πn/(M−1))] = 0.5 [1 − cos(2πn/80)], 0 ≤ n ≤ 80
Filter
h(n) = h_d(n) · w(n) = 0.5[1 − cos(πn/40)] · sin(0.3π(n−40)) / (π(n−40))
Some values (symmetric, h(n) = h(80 − n)):
| n | h_d(n) | w(n) | h(n) |
|---|---|---|---|
| 0 | 0.0000 | 0.0000 | 0.0000 |
| 1 | −0.0066 | 0.0015 | −0.00001 |
| 2 | −0.0080 | 0.0062 | −0.00005 |
| 3 | −0.0027 | 0.0138 | −0.00004 |
| 4 | 0.0052 | 0.0245 | 0.00013 |
| 5 | 0.0091 | 0.0381 | 0.00035 |
| 10 | 0.0000 | 0.1464 | 0.0000 |
| 20 | 0.0000 | 0.5000 | 0.0000 |
| 30 | 0.0000 | 0.8536 | 0.0000 |
| 35 | −0.0637 | 0.9619 | −0.0612 |
| 38 | 0.1514 | 0.9938 | 0.1504 |
| 39 | 0.2575 | 0.9985 | 0.2571 |
| 40 | 0.3000 | 1.0000 | 0.3000 |
The full set is h(n) for n = 0 … 80, with H(z) = Σ h(n)z⁻ⁿ and linear phase −40ω. (Rounding of values in the table is to 4–5 decimals.)
Check
The numerical frequency response gives a stop-band peak of −43.9 dB (Hanning gives about 44 dB) and a pass-band ripple under 0.7 %, with the transition lying inside 0.25π to 0.35π.
Answer: Hanning window, M = 81, ωc = 0.3π, h(n) = h_d(n)·w(n) with h(40) = 0.3.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Low-pass FIR window design, αs = 40 dB · Digital Signal Analysis and Processing, chapter 5 · asked 2×
- Low-pass FIR window design, αs = 41 dB · 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×
- Describe FIR design by window method · 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
- Low pass to band pass transformation · Filter Design, chapter 3 · asked 10×
All Digital Signal Analysis and Processing chapter 5 questions →