Professional Documents
Culture Documents
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 1 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Passband ripple: 0.05 dB ( = 0.006)
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Passband ripple: 0.05 dB ( = 0.006)
Stopband Gain: 80 dB ( = 0.0001)
Summary
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Passband ripple: 0.05 dB ( = 0.006)
Stopband Gain: 80 dB ( = 0.0001)
This is an extreme filter because the cutoff frequency is only 1% of the
Nyquist frequency.
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Passband ripple: 0.05 dB ( = 0.006)
Stopband Gain: 80 dB ( = 0.0001)
This is an extreme filter because the cutoff frequency is only 1% of the
Nyquist frequency.
Symmetric FIR Filter:
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Passband ripple: 0.05 dB ( = 0.006)
Stopband Gain: 80 dB ( = 0.0001)
This is an extreme filter because the cutoff frequency is only 1% of the
Nyquist frequency.
Symmetric FIR Filter:
Design with Remez-exchange algorithm
Order = 360
0
M=360
-20
-40
-60
-80
0
(rad/s)
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Filter Specification:
Sample Rate: 20 kHz
Passband edge: 100 Hz (1 = 0.03)
Stopband edge: 300 Hz (2 = 0.09)
Passband ripple: 0.05 dB ( = 0.006)
Stopband Gain: 80 dB ( = 0.0001)
This is an extreme filter because the cutoff frequency is only 1% of the
Nyquist frequency.
Symmetric FIR Filter:
Design with Remez-exchange algorithm
Order = 360
0
0
M=360
-20
-40
-40
-60
-60
-80
-80
-20
(rad/s)
0.05
(rad/s)
0.1
Polyphase Filters: 12 2 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
0
-20
-40
-60
0 1
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
0
-20
-40
-60
0 1
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Implementation
Downsampler
Implementation
-20
-40
-60
0 1
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Summary
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Implementation
Downsampler
Implementation
Summary
-20
-40
-60
0 1
Filter
Polyphase Upsampler
Complete Filter
Upsampler
= 2 /4
K=4
-20
-40
-60
0
= 2 /7
K=7
-20
-40
-60
0
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Implementation
Downsampler
Implementation
Summary
-20
-40
-60
0 1
Filter
Polyphase Upsampler
Complete Filter
Upsampler
2 1
2
1 +2
= 2 /4
K=4
-20
-40
-60
0
= 2 /7
K=7
-20
-40
-60
0
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Implementation
Downsampler
Implementation
Summary
-20
-40
-60
0 1
Filter
Polyphase Upsampler
Complete Filter
Upsampler
2 1
2
1 +2
= 2 /4
K=4
-20
-40
-60
0
= 2 /7
K=7
-20
-40
-60
0
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Implementation
Downsampler
Implementation
Summary
-20
-40
-60
0 1
Filter
Polyphase Upsampler
Complete Filter
Upsampler
2 1
2
1 +2
= 2 /4
K=4
-20
-40
-60
0
= 2 /7
K=7
-20
-40
-60
0
Polyphase Filters: 12 3 / 10
Polyphase decomposition
Downsampled Polyphase
Implementation
Downsampler
Implementation
Summary
-20
-40
-60
0 1
Filter
Polyphase Upsampler
Complete Filter
Upsampler
2 1
2
1 +2
= 2 /4
K=4
-20
-40
-60
0
= 2 /7
K=7
-20
-40
-60
0
Polyphase Filters: 12 3 / 10
Polyphase decomposition
12: Polyphase Filters
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1.
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
H(z) =
Summary
PM
m=0
h[m]z m
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
PM
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
PM
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
PM
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
PM
h0 [r] = h[0] h[50] h[350]
h1 [r] = h[1] h[51] h[351]
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
PM
h0 [r] = h[0] h[50] h[350]
h1 [r] = h[1] h[51] h[351]
Polyphase Filters: 12 4 / 10
Polyphase decomposition
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
For our filter: original Nyquist frequency = 10 kHz and transition band
centre is at 200 Hz so we can use K = 50.
Split H(z) into K filters each of order R 1. For convenience, assume
M + 1 is a multiple of K (else zero-pad h[n]).
Example:
M = 399 R = MK+1 = 8
PM
h0 [r] = h[0] h[50] h[350]
h1 [r] = h[1] h[51] h[351]
Polyphase Filters: 12 4 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 5 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 5 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 5 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 5 / 10
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 5 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 6 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
PK1
m=0
PR1
r=0
hm [r]z Kr
Summary
Polyphase Filters: 12 6 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
PK1
m=0
PR1
r=0
hm [r]z Kr
Summary
Polyphase Filters: 12 6 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
PK1
m=0
PR1
r=0
hm [r]z Kr
Polyphase Filters: 12 6 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
PK1
m=0
PR1
r=0
hm [r]z Kr
Polyphase Filters: 12 6 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
PK1
m=0
PR1
r=0
hm [r]z Kr
Polyphase Filters: 12 6 / 10
Polyphase Upsampler
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
PK1
m=0
PR1
r=0
hm [r]z Kr
Polyphase Filters: 12 6 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
.
downsampler Nyquist frequency of K
0
-20
-40
-60
/50
-80
0
0.05
(rad/s)
0.1
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
.
downsampler Nyquist frequency of K
will be aliased
Spectral components > K
down in frequency in V (ej ).
0
-20
-40
-60
/50
-80
0
0.05
(rad/s)
0.1
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
.
downsampler Nyquist frequency of K
will be aliased
Spectral components > K
down in frequency in V (ej ).
0
-20
-40
-60
/50
-80
0
0.05
(rad/s)
0.1
0
-20
-40
-60
-80
0
1
2
(downsampled)
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
.
downsampler Nyquist frequency of K
will be aliased
Spectral components > K
down in frequency in V (ej ).
0
-20
-40
-60
/50
-80
0
0.05
(rad/s)
0.1
0
-20
-40
-60
-80
0
1
2
(downsampled)
Polyphase Filters: 12 7 / 10
Complete Filter
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
.
downsampler Nyquist frequency of K
will be aliased
Spectral components > K
down in frequency in V (ej ).
0
-20
-40
-60
/50
-80
0
0.05
(rad/s)
0.1
0
-20
-40
-60
-80
0
1
2
(downsampled)
Polyphase Filters: 12 7 / 10
Upsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 8 / 10
Upsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 8 / 10
Upsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 8 / 10
Upsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 8 / 10
Upsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
We now need 7 delays, 7 adders and 8 gains for the entire filter.
DSP and Digital Filters (2014-5260)
Polyphase Filters: 12 8 / 10
Downsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 9 / 10
Downsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 9 / 10
Downsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 9 / 10
Downsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
PK1
r=0
u[Ki r]
Polyphase Filters: 12 9 / 10
Downsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
w[i] =
PK1
r=0
u[Ki r]
Polyphase Filters: 12 9 / 10
Downsampler Implementation
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
w[i] =
PK1
r=0
u[Ki r]
Polyphase Filters: 12 9 / 10
Summary
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 10 / 10
Summary
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 10 / 10
Summary
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 10 / 10
Summary
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 10 / 10
Summary
12: Polyphase Filters
Polyphase decomposition
Downsampled Polyphase
Filter
Polyphase Upsampler
Complete Filter
Upsampler
Implementation
Downsampler
Implementation
Summary
Polyphase Filters: 12 10 / 10