S7 · Lesson 42 · Filter banks
Splitting a signal into many bands at once, the uniform DFT filter bank, its polyphase-FFT implementation, critical and oversampled channelizers, and two-channel perfect reconstruction
Audio codecs split sound into dozens of bands to spend bits where the ear notices; a cellular base station splits a wide slice of spectrum into hundreds of channels; a graphic equalizer splits music into octaves. Building each band's filter separately would be hopelessly expensive. A uniform DFT filter bank instead derives every channel from one prototype lowpass filter shifted in frequency, and by the polyphase tricks of lesson 7 the whole bank costs barely more than that single filter plus one FFT. With the right design, the bands can even be put back together into the original signal exactly.
- Four adjacent channels of a uniform DFT filter bank with M channels, each a copy of the prototype lowpass response shifted by ; here the prototype is a length-L moving average.
- Channels sit apart. A short prototype overlaps its neighbors heavily; a longer one gives sharper channels with deeper rejection between them.
- Real channelizers use prototypes many times longer than M, designed as in lessons 22 and 23, so each channel is clean.
Predict
A 16-channel bank uses a 256-tap prototype at 48 kHz. Built as 16 separate 256-tap complex filters, it costs 4096 multiplications per input sample. Roughly what does the polyphase-FFT version cost?
About 18. With decimation by 16, the 256 prototype taps split into 16 polyphase branches that together use each tap once per output block, 256 multiplications per 16 inputs, or 16 per input sample. A 16-point FFT then forms all 16 channels at once, costing (16/2) × 4 = 32 complex multiplications per block, 2 per input. That's more than 200 times cheaper than separate filters.
Name it
The uniform DFT filter bank
From a prototype lowpass with bandwidth about π/M, channel k is
centered at , or in hertz.
Polyphase implementation
Write . Then all M channel outputs, decimated by M, come from
- a commutator feeding each input sample to one of M polyphase branches , each running at ;
- an M-point (inverse) DFT across the branch outputs, done by FFT.
Cost per input sample: N/M multiplications for an N-tap prototype, plus about complex multiplications for the FFT, against MN for separate filters.
Critical and oversampled banks
- Critically sampled (decimate by M): total output rate equals the input rate, but channels overlap their neighbors' alias regions, so reconstruction needs aliasing cancellation.
- Oversampled (decimate by D < M): each channel runs at , leaving room for transition bands; used in channelizers and adaptive subband processing.
Two-channel perfect reconstruction
Analysis filters , , decimation by 2, then interpolation and synthesis filters , . Choosing , , (a quadrature mirror filter bank) cancels aliasing; perfect reconstruction also needs , which the Haar pair and satisfy. Cascading two-channel banks on the low band gives octave bands and, in the limit, the discrete wavelet transform.
Worked example
A 32-channel DFT bank runs on 96 kHz audio. Where are the channels, and how fast does each output run if critically sampled?
Show the solution
- Spacing. so channel k is centered at 3k kHz.
- Negative frequencies. Channels 17 to 31 are the negative frequencies of a real input.
- Output rate. Critically sampled, each channel outputs at 96/32 = 3 kHz, complex, so the total data rate is preserved.
Answer the channels are 3 kHz apart, channel k at 3k kHz, and each outputs complex samples at 3 kHz.
Worked example
Check that the Haar filters form a perfect-reconstruction QMF bank.
Show the solution
- The filters.
- The reconstruction condition.
- Conclusion. The output is the input delayed by one sample, exactly.
Answer , a pure delay, so the Haar bank reconstructs perfectly.
Worked example
A radio channelizer splits 100 MS/s into 1024 channels with a 16 384-tap prototype, critically sampled. Compare the polyphase-FFT cost with separate filters.
Show the solution
- Polyphase branches. Per input sample they cost N/M = 16 multiplications.
- FFT. About complex multiplications.
- Total. About 16 + 5 = 21 per input sample.
- Separate filters. per input sample.
- Ratio. About 800 000, which is why every wideband channelizer, from cellular base stations to radio telescopes, is built this way.
Answer about 21 multiplications per input sample for the polyphase FFT, against 16.8 million for separate filters, some 800 000 times fewer.
Check
A uniform DFT filter bank with 8 channels runs at 48 kHz. How far apart are its channels?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
Where is channel 10 of a 16-channel bank at 48 kHz centered?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A polyphase-FFT channelizer has an N = 512-tap prototype and M = 8 channels, critically sampled. About how many multiplications per input sample does it need?
Check
How many times cheaper is that channelizer than M separate N-tap filters at the full rate?
Check
An oversampled 16-channel bank at 48 kHz decimates each channel by D = 8. At what rate does each channel's output run?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
. The QMF partner is . What's at ω = 2?
Check
A critically sampled polyphase-FFT channelizer has M = 256 channels and an 8M-tap prototype.
(a)
About how many multiplications does it need per input sample?
(b)
How many times cheaper is it than M separate filters at the full rate?
Check
A uniform DFT filter bank has M channels at sample rate s.
Step 1
How far apart are the channels?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Where is channel k centered?
Step 3
At what rate does each channel run if decimated by D?
Explain why
How can one FFT replace M separate bandpass filters?
Every channel filter in a uniform DFT bank is the same prototype lowpass multiplied by a complex exponential at the channel's center frequency, so each channel's output is a weighted sum of the same input samples with the prototype's taps, differing only in a phase rotation that depends on the channel and on the tap's position modulo M. Grouping the taps by that position, the polyphase decomposition, means each group can be filtered once and shared by all channels; what remains is to combine the M group outputs with the phase rotations of each channel, and that combination is exactly an M-point DFT. The heavy filtering is done once, at the decimated rate, and the FFT then fans it out into all the channels.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.