S7 Digital signal processing · Practice
Problem set 10: designing filters and rate converters
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
Check
A lowpass at 96 kHz must pass 3 kHz and reject 60 dB from 3 + 2 kHz, by Kaiser window.
(a)
What β?
(b)
What order does Kaiser's formula give?
Check
A 53 dB lowpass at 44.1 kHz has a 1 kHz transition band.
(a)
What order does a Hamming window need (main lobe 8π/M)?
(b)
And a Kaiser window for the same 53 dB?
Check
An equiripple lowpass at 48 kHz may ripple 0.1 dB in its passband, must reject 60 dB, and has a 2 kHz transition.
(a)
What order does Kaiser's estimate give?
(b)
What delay does that linear-phase filter add?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A bilinear Butterworth lowpass at 44.1 kHz may lose 1 dB up to 2 kHz and must lose 50 dB from 3 kHz.
(a)
At what analog frequency must the prototype's passband edge sit (prewarped, T = 1/f_s)?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
What order does it need?
Check
A linear-phase FIR with 101 taps runs at 8 kHz.
(a)
What is its delay?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A first-order recursive filter with pole 0.99 rounds once per sample; its output noise must sit 80 dB below full scale.
(a)
What noise gain does the pole give?
(b)
How many fractional bits B does it need?
Check
A notch removes 50 Hz hum at 8 kHz with a 3 dB bandwidth of 2 Hz: zeros on the unit circle at ±ω₀, poles at radius r.
(a)
What pole radius gives that bandwidth (Δω ≈ 2(1 − r))?
(b)
What is the zero polynomial's middle coefficient, in ?
Check
A decimator takes 64 kHz to 16 kHz, keeping 0 to 3 kHz and rejecting 60 dB in single-stage design.
(a)
What order does a single stage need (stopband from 16/2 kHz)?
(b)
How many multiplications per input sample does its polyphase form need?
Check
A 64 kHz signal is decimated to 8 kHz keeping 0–3 kHz at 60 dB, in two stages: first to 16 kHz, then by 2.
(a)
What order does stage 1 need (it may let 3 to 13 kHz be its transition)?
(b)
And stage 2 (3 to 4 kHz at 16 kHz)?
Check
A CIC decimator (R = 16) must reject 80 dB at the band aliasing onto a passband edge of 0.2 of the output rate.
(a)
What does one stage reject there?
(b)
How many stages does it need?
Check
A comb must null 50 Hz and all its harmonics at 6 kHz.
(a)
What delay N does it need?
Check
A 1024-tap filter runs by overlap-save with FFTs four times its length at 16 kHz.
(a)
How many real multiplications per output?
(b)
What latency does a block add?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A biquad's with r = 0.9 is rounded to 8 fractional bits.
(a)
What pole radius results?
Check
A halfband filter of 47 taps (N = 4K − 1) decimates a 96 kHz signal by 2.
(a)
How many multiplications per output does it need?
(b)
How many million a second?
Check
An interpolator by 8 uses a 12M-tap polyphase filter.
(a)
How many multiplications does each output need?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S7