Fund Multi Rates Ys
Fund Multi Rates Ys
Shahzad Saleem
ssaleem@student.tugraz.at
Signal Processing and Speech Communication (SPSC) Lab
Graz University of Technology, Austria
Abstract
There has been significant advancement in the field of digital signal
processing over the past several decades. Classical digital signal processing structures are the so-called single-rate systems because the sampling
rates are the same at all points of the system. There are many applications where the signal of a given sampling rate needs to be converted
into an equivalent signal with a different sampling rate. Such systems are
called multirate systems. This paper presents the fundamentals of multirate building blocks and filter banks and describes some applications of
multirate systems.
Introduction
During the last several years, the multirate processing of digital signals has
attracted many researchers. The multirate approach increases the computation speed, decreases the overall filter order, reduces word-length effects, and
decreases power consumption. Consequently, one of the main characteristics of
multirate systems is their high computational efficiency. Multirate digital signal
processing has different applications, such as efficient filtering, subband coding
of speech, audio and video signals, analog/digital conversion, communications
etc.
The two basic operations in multirate digital signal processing are decimation
and interpolation. These operations can be performed by building blocks known
as decimators and expanders.
An M -fold decimator (Figure 1) that takes an input x(n) and produces the
output sequence[1]
yD (n) = x(M n)
(1)
where M is an integer. Decimation results in aliasing unless x(n) is bandlimited
in a certain way. In general, however, it may not be possible to recover x(n)
from yD (n) because of loss of information.
An L-fold expander (Figure 2) takes an input x(n) and produces an output
yE (n) =
(2)
1.1
1.1.1
We have [1]
YE (z) =
=
n=
yE (n)z n =
yE (n)z n
n=mul. of L
yE (kL)z kL =
k=
x(k)z kL
(3)
k=
= X(z ).
So Y (ej ) = X(ejL ). This means that Y (ej ) is an L-fold compressed version
of X(ejL ). Hence expander creats an imaging effect.
1.1.2
Decimator
For the M -fold decimator (1), we can write output YD (ej ) in terms of X(ej )
as [1]
M1
1 X
j
YD (e ) =
X(ej(2k)/M )
(4)
M
k=0
1.2
Figure 3: (a) The complete decimation circuit, and (b)typical response of the
decimation filter
Figure 4: (a) The complete interpolation circuit, and (b)typical response of the
interpolation filter
1.3
Uptill now we have seen that sampling rate of a signal can be altered by an
integer factor. In certain applications, it is required to change the sampling
rate by a rational fraction. An example of such a system is shown in Figure. 5.
Here L = 2, M = 3, so M/L = 1.5. Here X(ej ) is bandlimited to || 2/3.
If signal is decimated by two, then that would create aliasing error. But it is
possible to decimate by factor 1.5 (as shown in the Figure. 5 by broken lines)
1.4
to combine the M subband signals into a single signal x (n) using the synthesis
filters Fk (z). Both types of filter banks have been shown in Figure. 6.
Figure. 7 shows the interconnection of commonly used building blocks in multirate systems.
2.1
Noble Identities
Noble Identities are very useful in the theory and implementation of multirate
systems(c.f Figure. 8).
X
H(z) =
h(n)z n
n=
By separating the even numbered coefficients of h(n) from odd numbered ones,
we get [1]
X
X
H(z) =
h(2n)z 2n +
h(2n + 1)z 2n
(5)
n=
n=
Defining
E0 (z) =
h(2n)z n , E1 (z) =
n=
h(2n + 1)z n
(6)
n=
(7)
These representations are valid for whether H(z) is an FIR or IIR; causal or
noncausal.
Now suppose that we are given any integer M , so H(z) can be decomposed as
[1]
H(z) =
h(nM )z nM
n=
X
1
+z
h(nM + 1)z nM
(8)
n=
..
.
+z
M1
h(nM + M 1)z nM
n=
M1
X
z l El (z M ) (Type 1 Polyphase)
l=0
(9)
where
El (z) =
el (n)z n
n=
(10)
with
el (n) , h(M n + l), 0 l M 1
A variation of (8) is given by [1]
H(z) =
M1
X
(11)
l=0
3.1
3.1.1
Inerpolation Filters
Figure 9: (a) Polyphase representation of decimation filter (b)Using noble identity 1 (c) direct form implementation
This is shown in Figure 10. It can be seen now that Rl (z) are opearting at the
input rate, and none of the multipliers are resting. Each multiplier gets one
unit of time to finish its task. The complexity of the system is N + 1 MPUs and
N 1 APUs. The extra adder following the expander is not counted because,
the signal y(n) is obtained merely by interlacing y0 (n) and y1 (n).
4
4.1
Often, we cencounter signals that are not bandlimited, but still have dominant frequency bands. An example is shown in Figure 11(a).The information in
|| /2 is not small enough to be discarded. And x(n) cannot be decimated
without causing aliasing either. This is because of the small fraction of energy
in the high frequency region that prevent to compress the signal.
But if the signal is splitted into two frequency bands by using an analysis bank
with responses as shown in Figure : 11(b), then the subband signal x1 (n) has
less energy than x0 (n) and so can be encoded with less number of bits.
The reconstruction of the full band signal is done using the expanders and
synthesis filters as shown in Figure 12.
So a generalization of this idea can be as: split the signal into two or more
subbabnds, decimate each subband signal, and allocate bits for samples in each
subband depending on th energy content. In speech coding practice the number
of subbands, filter bandwidths and bit allocations are chosen to further exploit
7
Figure 11: Splitting a signal into subbabnd signals x0 (n) and x1 (n)
4.2
Transmultiplexers
Summary
In this paper, a very brief introduction of Multirate Systems and Filter Banks
has been presented. An introduction to the technique Polyphase Representation and how it can be used to make multirate systems computationally
efficient has also been shown with examples. At the end, some applications of
the multirate systems have been discussed.
References
[1] Vaidyanathan, P.P.: Multirate Systems and Filter Banks, 2nd Ed, Prentice Hall , 1993.
[2] Vaidyanathan, P.P.: Multirate Digital Filters, Filter Banks, Polyphase
Networks, and Applications: A Tutorial, Proceedings of the IEEE, Vol. 78,
No. 1, January 1990.