Beruflich Dokumente
Kultur Dokumente
Mitra
1
Multirate Digital Signal
Multirate Digital Signal
Processing
Processing
Basic Sampling Rate Alteration Devices
Basic Sampling Rate Alteration Devices
Up-sampler
Up-sampler - Used to increase the sampling
rate by an integer factor
Down-sampler
Down-sampler - Used to decrease the
sampling rate by an integer factor
Copyright 2001, S. K. Mitra
2
Up-Sampler
Up-Sampler
Time-Domain Characterization
Time-Domain Characterization
An up-sampler with an
up-sampling factor
up-sampling factor
L, where L is a positive integer, develops an
output sequence with a sampling rate
that is L times larger than that of the input
sequence x[n]
Block-diagram representation
] [n x
u
L x[n]
] [n x
u
Copyright 2001, S. K. Mitra
3
Up-Sampler
Up-Sampler
Input-output relation
1 L
'
t t
otherwise , 0
, 2 , , 0 ], / [
] [
L L n L n x
n x
u
Copyright 2001, S. K. Mitra
4
Up-Sampler
Up-Sampler
Process is called
interpolation
interpolation and will be
discussed later
Copyright 2001, S. K. Mitra
6
Down-Sampler
Down-Sampler
Time-Domain Characterization
Time-Domain Characterization
An down-sampler with a
down-sampling
down-sampling
factor
factor M, where M is a positive integer,
develops an output sequence y[n] with a
sampling rate that is (1/M)-th of that of the
input sequence x[n]
Block-diagram representation
M x[n]
y[n]
Copyright 2001, S. K. Mitra
7
Down-Sampler
Down-Sampler
Input-output relation
y[n] = x[nM]
1 M
Copyright 2001, S. K. Mitra
8
Down-Sampler
Down-Sampler
) ( ] [ nT x n x
a
'
t t
otherwise 0
, 2 , , 0 ), / ( L L n L nT x
a
L
) ( ] [ nT x n x
a
y[n]
Output sampling frequency
'
1
'
T
LF F
T T
Copyright 2001, S. K. Mitra
12
Basic Sampling Rate
Basic Sampling Rate
Alteration Devices
Alteration Devices
The
up-sampler
up-sampler and the
down-sampler
down-sampler are
linear
linear but
time-varying discrete-time
time-varying discrete-time
systems
systems
'
t t
otherwise ,
, , , ], / [
] [
0
4 2 0 2 n n x
n x
u
Copyright 2001, S. K. Mitra
15
Up-Sampler
Up-Sampler
even
] / [ ] [ ) (
n
n
n
n
n
u u
z n x z n x z X 2
2 2
[ ] ( )
m
m
x m z X z
M
a
g
n
i
t
u
d
e
Output spectrum
0 0.2 0.4 0.6 0.8 1
0
0.2
0.4
0.6
0.8
1
M
a
g
n
i
t
u
d
e
Input spectrum
Copyright 2001, S. K. Mitra
21
Down-Sampler
Down-Sampler
Frequency-Domain Characterization
Frequency-Domain Characterization
n
n
z Mn x z Y ] [ ) (
] [ ] [ Mn x n y
Copyright 2001, S. K. Mitra
22
Down-Sampler
Down-Sampler
Then
'
t t
otherwise ,
, , , ], [
] [
int
0
2 0 M M n n x
n x
] [
int
n x
n
n
n
n
z Mn x z Mn x z Y ] [ ] [ ) (
int
) ( ] [
/
int
/
int
M
k
M k
z X z k x
1
'
t t
otherwise ,
, , , ,
] [
0
2 0 1 M M n
n c
1
0
1
M
k
kn
M
W
M
n c ] [
M j
M
e W
/ 2
1
0
1
M
k
kn
M
W
M
n c ] [
n
n
M
k
kn
M
n
n
z n x W
M
z n x n c z X
,
_
] [ ] [ ] [ ) (
int
1
0
1
( )
,
_
1
0
1
0
1 1
M
k
k
M
M
k n
n kn
M
W z X
M
z W n x
M
] [
Copyright 2001, S. K. Mitra
25
Down-Sampler
Down-Sampler
Now implying
that the second term in the
previous equation is simply obtained by
shifting the first term to the right
by an amount 2 as shown below
) ( ) (
2 / ) 2 ( 2 /
j j
e X e X
) (
2 /
j
e X
) (
2 / j
e X
Copyright 2001, S. K. Mitra
27
Down-Sampler
Down-Sampler
for
j
e X
) (
j
e X
) (
j
e Y
Copyright 2001, S. K. Mitra
29
Down-Sampler
Down-Sampler
is a sum of M uniformly
shifted and stretched versions of
and scaled by a factor of 1/M
1
0
/ ) 2 (
) (
1
) (
M
k
M k j j
e X
M
e Y
) (
j
e Y
) (
j
e X
Copyright 2001, S. K. Mitra
30
Down-Sampler
Down-Sampler
M
a
g
n
i
t
u
d
e
Input spectrum
0 0.2 0.4 0.6 0.8 1
0
0.1
0.2
0.3
0.4
0.5
M
a
g
n
i
t
u
d
e
Output spectrum
Copyright 2001, S. K. Mitra
32
Down-Sampler
Down-Sampler
M
a
g
n
i
t
u
d
e
Input spectrum
0 0.2 0.4 0.6 0.8 1
0
0.1
0.2
0.3
0.4
0.5
M
a
g
n
i
t
u
d
e
Output spectrum
Copyright 2001, S. K. Mitra
33
Cascade Equivalences
Cascade Equivalences
A complex
multirate system
multirate system is formed by an
interconnection of the up-sampler, the
down-sampler, and the components of an
LTI digital filter
To implement a
fractional change
fractional change in the
sampling rate
sampling rate we need to employ a cascade
of an up-sampler and a down-sampler
M
] [n x
] [
1
n y
) (z H
M
] [n x ) (
M
z H
] [
1
n y
From the
sampling theorem
sampling theorem it is known that
a the sampling rate of a critically sampled
discrete-time signal with a spectrum
occupying the full Nyquist range cannot be
reduced any further since such a reduction
will introduce aliasing
,
_
o o
) (
T
k j j
X
T
e X
k
a
j
2 1
o
T
Copyright 2001, S. K. Mitra
42
Interpolation Filter
Interpolation Filter
Specifications
Specifications
,
_
,
_
k
a
k
a
j
L T
k j j
X
T
L
T
k j j
X
T
e Y
/
) (
o o
2 2 1
Copyright 2001, S. K. Mitra
43
Interpolation Filter
Interpolation Filter
Specifications
Specifications
] [n x
u
Copyright 2001, S. K. Mitra
44
Interpolation Filter
Interpolation Filter
Specifications
Specifications
L
c p
/
'
L
L L
e H
c
j
/ ,
/ ,
) (
0
Copyright 2001, S. K. Mitra
46
Decimation Filter
Decimation Filter
Specifications
Specifications
'
M
M
e H
c
j
/ ,
/ ,
) (
0
1
Copyright 2001, S. K. Mitra
47
Filter Design Methods
Filter Design Methods
,
_
M L
s
, min
Copyright 2001, S. K. Mitra
51
Computational Requirements
Computational Requirements
1
0
N
m
m n x m h n v ] [ ] [ ] [
Copyright 2001, S. K. Mitra
53
Computational Requirements
Computational Requirements
0
) (
n
K
n
n
z d z D
+
1
1 ) (
Copyright 2001, S. K. Mitra
55
Computational Requirements
Computational Requirements
Example
Example - The input and output plots of a
factor-of-2 decimator designed using the
Program 10_5 are shown below
0 20 40 60 80 100
-2
-1
0
1
2
Input sequence
Timeindexn
A
m
p
l
i
t
u
d
e
0 10 20 30 40 50
-2
-1
0
1
2
Output sequence
Timeindexn
A
m
p
l
i
t
u
d
e
Copyright 2001, S. K. Mitra
60
Sampling Rate Alteration
Sampling Rate Alteration
Using MATLAB
Using MATLAB
Example
Example - The input and output plots of a
factor-of-2 interpolator designed using
Program 10_6 are shown below
0 10 20 30 40 50
-2
-1
0
1
2
Input sequence
Timeindexn
A
m
p
l
i
t
u
d
e
0 20 40 60 80 100
-2
-1
0
1
2
Output sequence
Timeindexn
A
m
p
l
i
t
u
d
e
Copyright 2001, S. K. Mitra
63
Sampling Rate Alteration
Sampling Rate Alteration
Using MATLAB
Using MATLAB
Example
Example - The input and output plots of a
factor-of-5/3 interpolator designed using
Program 10_7 are given below
0 10 20 30
-2
-1
0
1
2
Input sequence
Timeindexn
A
m
p
l
i
t
u
d
e
0 10 20 30 40 50
-2
-1
0
1
2
Output sequence
Timeindexn
A
m
p
l
i
t
u
d
e