Unit-5 Multirate Updated
Unit-5 Multirate Updated
x[ n ] xa ( nT ) M y[ n ] xa ( nMT )
X u (e j ) X (e jL )
Up-Sampler
• Figure below shows the relation between X (e j ) and X u (e j )
for L = 2 in the case of a typical sequence x[n].
Up-Sampler
• A factor-of-2 sampling rate expansion leads to a compression
of X (e j ) by a factor of 2 and 2-fold repetition in the baseband
[0, 2].
• This process is called imaging as we get an additional “image”
of the input spectrum.
• The up-sampler introduces spectral images.
• Similarly in the case of a factor-of-L sampling rate expansion,
there will be L - 1 additional images of the input spectrum in
the baseband.
• Lowpass filtering of xu [n] removes the L - 1 images and in
effect “fills in” the zero-valued samples in xu [n] with
interpolated sample values.
Interpolator
• Up-sampling causes periodic repetition of the basic
spectrum, the unwanted images in the spectra of the up-
sampled signal xu [n] must be removed by using a lowpass
filter H(z), called the interpolation filter, as indicated below.
xu [n]
x[n] L H (z) y[n ]
Cascade equivalence #1
x[n] M H (z ) y1 [ n ]
x[n] H (z M ) M y1 [ n ]
Cascade equivalence #2
x[n] L H (z L ) y2 [ n]
x[n] H (z ) L y2 [ n]
Interpolation and Decimation
Multirate Digital Signal Processing
• Introduction, Up-sampler, Down-sampler
• Interpolation and Decimation
• Sampling rate conversion (reduction,
increase)
• Sampling rate change by non-integer factor
• Multistage Decimation
• Poly phase structures and implementation
Sampling Rate Conversion
• A complex multirate system is formed by an interconnection of
the up-sampler, the down-sampler, and the components of a
digital filter.
• In many applications these devices appear in a cascade form.
• An interchange of the positions of the branches in a cascade
often can lead to a computationally efficient realization.
• To implement a fractional change in the sampling rate we need
to employ a cascade of an up-sampler and a down-sampler.
x[n] M L y1 [ n ]
x[n] L M y2 [ n]
Filters for Fractional Sampling Rate
Alteration
• A fractional change in the sampling rate can be achieved by
cascading a factor-of-M decimator with a factor-of-L
interpolator, where M and L are positive integers.
• Such a cascade is equivalent to a decimator with a decimation
factor of M/L or an interpolator with an interpolation factor of
L/M.
• There are two possible such cascade connections
H d (z) M L H u (z)
L H u (z) H d (z) M
Multirate Digital Signal Processing
• Introduction, Up-sampler, Down-sampler
• Interpolation and Decimation
• Sampling rate conversion (reduction, increase)
• Sampling rate change by non-integer
factor
• Multistage Decimation
• Poly phase structures and implementation
Sampling Rate Change by Non-Integer
Factor L/M
• Viewed as two sampling conversion processes:
• Step 1: Perform the upsampling process by a factor of integer
L following application of an interpolation filter H1(z).
• Step 2: Filtering the output from the interpolation filter via an
anti-aliasing filter H2(z), and finally operate downsampling.
• Express H(z) as
1
H ( z ) E0 ( z ) z E1( z )
2 2
Polyphase Structures
• In a similar manner, by grouping the terms in the
original expression for H(z), re-express it in the form
1 2
H ( z ) E0 ( z ) z E1( z ) z E2 ( z )
3 3 3
where now
1 2
E0 ( z ) h[0] h[3]z h[6]z
E1( z ) h[1] h[4]z 1 h[7]z 2
E2 ( z ) h[2] h[5]z 1 h[8]z 2
Polyphase Structures
• The decomposition of H(z) in the form
H ( z ) E0 ( z 2 ) z 1E1( z 2 )
or
H ( z ) E0 ( z 3 ) z 1E1( z 3 ) z 2 E2 ( z 3 )
is known as the polyphase decomposition
Polyphase Structures/Realization
• Figures show the 4-branch, 3-branch, and 2-branch polyphase
realization of a transfer function H(z).
• Assume that FIR interpolation filter has four taps, shown as: