Filterbanks with uniform sub-band bandwidth are described, and the tradeoff between reconstruction error and frequency-selectivity is discussed. The polyphase/DFT filterbank implementaiton is also discussed, along with its computational cost.
Perfect Reconstruction Filterbanks: Recall that in our study of transform coding, we restricted our attentionto orthogonal transformation matrices.
Orthogonal matrices had the property that, in the absence ofquantization error, the reconstruction error was zero.
For sub-band coding, “perfect reconstruction” (PR) filterbanks (FBs)are analogous to orthogonal matrices.
Specifically, a PR-FB is defined as an analysis/synthesisstructure which gives zero reconstruction error when synthesis stage
is fed exact (unquantized) copies of analysis outputs.Initially we consider the design of
ideal sub-band analysis and
synthesis FBs and later the design of practical FBs.For the purpose of FB design we ignore the effects of quantization error.
Our rational is as follows:the absence of quantization error corresponds to the high bit-rate
scenario, in which case we desire that the filtering operations inherentto sub-band coding introduce little or no error of their own.
Removing the quantizers from
Figure 2 from "Introduction and Motivation" , we obtain the analysis/synthesis
FBs in
[link] .
Uniform Modulation: The most conceptually straightforward FB is known as the“uniformly modulated” FB.
Uniform modulation means that all branches isolate signal componentsin non-overlapping frequency bands of equal width
.
We will assume that the
branch has its frequency band centered
at
. (See
[link] .)
Analysis FB: The
frequency range may be isolated by modulating the input
spectrum down by
ω
i and lowpass filtering the result.
(See the first two stages of the analysis bank in
[link] .)
The ideal lowpass filter has linear phase and magnitude response thatis unity for
and zero elsewhere.
(See
[link] .)
With ideal lowpass filtering, the resulting signals have (double-sided)
bandwidths that are
N times smaller than the sampling rate.
Nyquist's sampling theorem (see Oppenheim&Schafer) says that it is
possible to sample signals with this bandwidth at
times
the filter output rate without loss of information.This sample rate change can implemented via downsampling-by-
N ,
resulting in the analysis FB of
[link] .
Note that the downsampling operation does not induce aliasingwhen the analysis filter is the ideal lowpass filter described above.
Synthesis FB: To reconstruct the input signal
, the synthesis FB must restore
the downsampled signals to their original sampling rate,re-modulate them to their original spectral locations, and combine them.
Upsampling is the first stage of sampling-rate restoration.Recall from
Equation 18 from "Fundamentals of Multirate Signal Processing" (and
Figure 8 from "Fundamentals of Multirate Signal Processing" ) that
a downsampler-upsampler cascade creates
additional
uniformly-spaced spectral copies of the original baseband spectrum.Thus, to remove the unwanted spectral images, an “anti-imaging” lowpass
filter is applied to each upsampler's output.Ideally, this lowpass filter is linear phase with magnitude response
that is unity for
and zero elsewhere;
the same specifications given for the ideal analysis filter.(See
[link] .)
As shown in
[link] , re-modulation is accomplished
by shifting the
branch
up by
ω
i .
When the analysis and synthesis filters share a common phase response,the re-modulator outputs can be combined coherently by a simple summation.
Under all of these ideal conditions, the output signal
is a
potentially delayed (but otherwise perfect) copy of the input signal
:
Effect of Non-Ideal Filtering: In practice, the analysis and synthesis filters will not have ideallowpass responses, and thus the reconstructed output
will not
necessarily equal a delayed version of the input
.
These shortcomings typically result from filter implementationsbased on a finite number of design parameters.
(See
[link] for a typical lowpass filter magnitude response.)
It should be noted that, under certain conditions, it is possibleto design sets of analysis filters
and synthesis filters
with
finite parameterizations which give the
“perfect reconstruction” (PR) property (see Vaidyanathan).Though such filters guarantee PR, they do not act as ideal bandpass
filters and thus do not accomplish perfect frequency analysis.(Consider the length-
N DFT and DCT filter responses:
by the orthogonal matrix argument, these are perfectly reconstructing,but from
Figure 4 from "Introduction and Motivation" and
Figure 5 from "Introduction and Motivation" , they are
far from perfect bandpass filters!)Due to their limited frequency-selectivity, none of the currently-known
PR filterbanks are appropriate for high-quality audio applications.As a result, we focus on the design of filterbanks with
near -perfect reconstruction and
good frequency selectivity.
As we will see, it is possible to design practical filters with
excellent frequency selectivity and responses so close to PR thatthe smallest quantization errors swamp out errors caused by non-PR
filtering.
Polyphase/DFT Implementation: When
and
are length-
M FIR filters, the unique elements
in
[link] are the
N uniform-modulation coefficients
and the
the lowpass filter
coefficients
and
.
It might not be surprising that each half of the uniformly-modulated FBhas an implementation that requires only one
N -dimensional DFT and
M multiplies to process an
N -block of input samples.
[link] illustrates one such implementation,
where the “polyphase” filters
and
are
related to the “prototype” filters
and
through the
impulse response relations:
The term “polyphase” comes about because the magnitude responses of
well-designed
and
are nearly flat,
while the slopes of the phase response of these filters differ bysmall amounts.
The equivalence of
[link] and
[link] will be established in the homework.
Recognize that the filter computations in
[link] occur
on downsampled (i.e., low-rate) data, in contrast to those in
[link] .
To put it another way, all but one of every
N filter outputs in
[link] are thrown away by the downsampler, whereas
none of the filter outputs in
[link] are thrown away.
This reduces the number of required filter computations by a factorof
N .
Additional computational reduction occurs when the DFT is implementedby a fast transform.
Below we give a concrete example.
Computational savings of polyphase/fft implementation)
Lets take a look at how many multiplications we save by using
the polyphase/DFT analysis filterbank in
[link] instead of the standard modulated filterbank in
[link] .
Here we assume that
N is a power of 2 (see Sorensen, Jones, Heideman&Burrus TASSP 87), so that the DFT can be
implemented with a radix-2 FFT.With the standard structure in
[link] , modulation
requires
real multiplies, and filtering of the complex-valued
modulator outputs requires
additional real
multiplies, for each input point
.
This gives a total of
In the polyphase/FFT structure of
[link] , it is more
convenient to count the number of multiplies required for each blockof
N inputs since each new
N -block produces one new sample at
every filter input and one new
N -vector at the DFT input.
Since the polyphase filters are each length-
, filtering the
block requires
real multiplies.
Though the standard radix-2
N -dimensional complex-valued FFT
uses
complex multiplies,
a real-valued
N -dimensional FFT can be accomplished in
real multiplies when
N is a power of 2.
This gives a total of
Say we have
frequency bands and the prototype filter is
length
(which turn out to be the values used
in the MPEG sub-band filter).Then using the formulas above, the standard implementation
requires
multiplies per input, while the polyphase/DFT
implementation requires only
!
Receive real-time job alerts and never miss the right job again
Source:
OpenStax, An introduction to source-coding: quantization, dpcm, transform coding, and sub-band coding. OpenStax CNX. Sep 25, 2009 Download for free at http://cnx.org/content/col11121/1.2
Google Play and the Google Play logo are trademarks of Google Inc.
Notification Switch
Would you like to follow the 'An introduction to source-coding: quantization, dpcm, transform coding, and sub-band coding' conversation and receive update notifications?