Upload
vodieu
View
232
Download
2
Embed Size (px)
Citation preview
11: Multirate Systems
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 1 / 14
Multirate Systems
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 2 / 14
Multirate systems include more than one sample rate
Multirate Systems
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 2 / 14
Multirate systems include more than one sample rate
Why bother?:
• May need to change the sample ratee.g. Audio sample rates include 32, 44.1, 48, 96 kHz
Multirate Systems
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 2 / 14
Multirate systems include more than one sample rate
Why bother?:
• May need to change the sample ratee.g. Audio sample rates include 32, 44.1, 48, 96 kHz
• Can relax analog or digital filter requirementse.g. Audio DAC increases sample rate so that the reconstruction filter
can have a more gradual cutoff
Multirate Systems
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 2 / 14
Multirate systems include more than one sample rate
Why bother?:
• May need to change the sample ratee.g. Audio sample rates include 32, 44.1, 48, 96 kHz
• Can relax analog or digital filter requirementse.g. Audio DAC increases sample rate so that the reconstruction filter
can have a more gradual cutoff
• Reduce computational complexityFIR filter length ∝ fs
∆fwhere ∆f is width of transition band
Lower fs ⇒ shorter filter + fewer samples⇒computation ∝ f2s
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Example:Downsample by 3 then upsample by 4
w[n]
0
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Example:Downsample by 3 then upsample by 4
w[n]
0
x[m]
0
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Example:Downsample by 3 then upsample by 4
w[n]
0
x[m]
0
y[r]
0
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Example:Downsample by 3 then upsample by 4
w[n]
0
x[m]
0
y[r]
0
• We use different index variables (n, m, r) for different sample rates
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Example:Downsample by 3 then upsample by 4
w[n]
0
x[m]
0
y[r]
0
• We use different index variables (n, m, r) for different sample rates
• Use different colours for signals at different rates (sometimes)
Building blocks
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 3 / 14
Downsample y[m] = x[Km]
Upsample v[n] =
{
u[
nK
]
K | n
0 else
Example:Downsample by 3 then upsample by 4
w[n]
0
x[m]
0
y[r]
0
• We use different index variables (n, m, r) for different sample rates
• Use different colours for signals at different rates (sometimes)
• Synchronization: all signals have a sample at n = 0.
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Upsampling can be exactly inverted
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Upsampling can be exactly inverted
Downsampling destroys informationpermanently⇒ uninvertible
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Upsampling can be exactly inverted
Downsampling destroys informationpermanently⇒ uninvertible
Resampling can be interchangediff P and Q are coprime (surprising!)
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Upsampling can be exactly inverted
Downsampling destroys informationpermanently⇒ uninvertible
Resampling can be interchangediff P and Q are coprime (surprising!)
Proof: Left side: y[n] = w[
1
Qn]
= x[
PQn]
if Q | n else y[n] = 0.
[Note: a | b means “a divides into b exactly”]
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Upsampling can be exactly inverted
Downsampling destroys informationpermanently⇒ uninvertible
Resampling can be interchangediff P and Q are coprime (surprising!)
Proof: Left side: y[n] = w[
1
Qn]
= x[
PQn]
if Q | n else y[n] = 0.
Right side: v[n] = u [Pn] = x[
PQn]
if Q | Pn.
[Note: a | b means “a divides into b exactly”]
Resampling Cascades
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 4 / 14
Successive downsamplers or upsamplerscan be combined
Upsampling can be exactly inverted
Downsampling destroys informationpermanently⇒ uninvertible
Resampling can be interchangediff P and Q are coprime (surprising!)
Proof: Left side: y[n] = w[
1
Qn]
= x[
PQn]
if Q | n else y[n] = 0.
Right side: v[n] = u [Pn] = x[
PQn]
if Q | Pn.
But {Q | Pn ⇒ Q | n} iff P and Q are coprime.
[Note: a | b means “a divides into b exactly”]
Noble Identities
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 5 / 14
Resamplers commute with additionand multiplication
Noble Identities
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 5 / 14
Resamplers commute with additionand multiplication
Delays must be multiplied by theresampling ratio
Noble Identities
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 5 / 14
Resamplers commute with additionand multiplication
Delays must be multiplied by theresampling ratio
Noble identities:Exchange resamplers and filters
Noble Identities
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 5 / 14
Resamplers commute with additionand multiplication
Delays must be multiplied by theresampling ratio
Noble identities:Exchange resamplers and filters
Example: H(z) = h[0] + h[1]z−1 + h[2]z−2 + · · ·H(z3) = h[0] + h[1]z−3 + h[2]z−6 + · · ·
Noble Identities
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 5 / 14
Resamplers commute with additionand multiplication
Delays must be multiplied by theresampling ratio
Noble identities:Exchange resamplers and filters
Corrollary
Example: H(z) = h[0] + h[1]z−1 + h[2]z−2 + · · ·H(z3) = h[0] + h[1]z−3 + h[2]z−6 + · · ·
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s] =
∑M
m=0hQ[Qm]v[n−Qm]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s] =
∑M
m=0hQ[Qm]v[n−Qm]
=∑M
m=0h[m]v[n−Qm]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s] =
∑M
m=0hQ[Qm]v[n−Qm]
=∑M
m=0h[m]v[n−Qm]
If Q ∤ n, then v[n−Qm] = 0 ∀m so w[n] = 0 = y[n]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s] =
∑M
m=0hQ[Qm]v[n−Qm]
=∑M
m=0h[m]v[n−Qm]
If Q ∤ n, then v[n−Qm] = 0 ∀m so w[n] = 0 = y[n]
If Q | n = Qr, then w[Qr] =∑M
m=0h[m]v[Qr −Qm]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s] =
∑M
m=0hQ[Qm]v[n−Qm]
=∑M
m=0h[m]v[n−Qm]
If Q ∤ n, then v[n−Qm] = 0 ∀m so w[n] = 0 = y[n]
If Q | n = Qr, then w[Qr] =∑M
m=0h[m]v[Qr −Qm]
=∑M
m=0h[m]x[r −m] = u[r]
Noble Identities Proof
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 6 / 14
Define hQ[n] to be theimpulse response of H(zQ).
Assume that h[r] is of length M + 1 so that hQ[n] is of length QM + 1.We know that hQ[n] = 0 except when Q | n and that h[r] = hQ[Qr].
w[r] = v[Qr] =∑QM
s=0hQ[s]x[Qr − s]
=∑M
m=0hQ[Qm]x[Qr −Qm] =
∑M
m=0h[m]x[Q(r −m)]
=∑M
m=0h[m]u[r −m] = y[r] ,
Upsampled Noble Identity:
We know that v[n] = 0 except when Q | n and that v[Qr] = x[r].
w[n] =∑QM
s=0hQ[s]v[n− s] =
∑M
m=0hQ[Qm]v[n−Qm]
=∑M
m=0h[m]v[n−Qm]
If Q ∤ n, then v[n−Qm] = 0 ∀m so w[n] = 0 = y[n]
If Q | n = Qr, then w[Qr] =∑M
m=0h[m]v[Qr −Qm]
=∑M
m=0h[m]x[r −m] = u[r] = y[Qr] ,
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)Spectrum is horizontally shrunk and replicated K times.
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)Spectrum is horizontally shrunk and replicated K times.
Example:
-2 0 20
0.5
1
ω
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)Spectrum is horizontally shrunk and replicated K times.
Example:K = 3: three images of the original spectrum in all.
-2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)Spectrum is horizontally shrunk and replicated K times.Total energy unchanged; power (= energy/sample) multiplied by 1
K
Example:K = 3: three images of the original spectrum in all.
-2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)Spectrum is horizontally shrunk and replicated K times.Total energy unchanged; power (= energy/sample) multiplied by 1
K
Example:K = 3: three images of the original spectrum in all.
Energy unchanged: 1
2π
∫∣
∣U(ejω)∣
∣
2dω = 1
2π
∫∣
∣V (ejω)∣
∣
2dω
-2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Upsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 7 / 14
V (z) =∑
n v[n]z−n =
∑
n s.t. K|n u[nK]z−n
=∑
m u[m]z−Km = U(zK)
Spectrum: V (ejω) = U(ejKω)Spectrum is horizontally shrunk and replicated K times.Total energy unchanged; power (= energy/sample) multiplied by 1
K
Upsampling normally followed by a LP filter to remove images.
Example:K = 3: three images of the original spectrum in all.
Energy unchanged: 1
2π
∫∣
∣U(ejω)∣
∣
2dω = 1
2π
∫∣
∣V (ejω)∣
∣
2dω
-2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n]
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
⇒ Y (z) = XK(z1K )
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
⇒ Y (z) = XK(z1K ) = 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
⇒ Y (z) = XK(z1K ) = 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Frequency Spectrum:
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
⇒ Y (z) = XK(z1K ) = 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Frequency Spectrum:
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
= 1
K
(
X(ejω
K ) +X(ejω
K− 2π
K ) +X(ejω
K− 4π
K ) + · · ·)
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
⇒ Y (z) = XK(z1K ) = 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Frequency Spectrum:
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
= 1
K
(
X(ejω
K ) +X(ejω
K− 2π
K ) +X(ejω
K− 4π
K ) + · · ·)
Average of K aliased versions, each expanded in ω by a factor of K .
Downsampled z-transform
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 8 / 14
Define cK [n] = δK|n[n] =1
K
∑K−1
k=0e
j2πknK
Now define xK [n] =
{
x[n] K | n
0 K ∤ n= cK [n]x[n]
XK(z) =∑
n xK [n]z−n = 1
K
∑
n
∑K−1
k=0e
j2πkn
K x[n]z−n
= 1
K
∑K−1
k=0
∑
n x[n](
e−j2πk
K z)−n
= 1
K
∑K−1
k=0X(e
−j2πkK z)
From previous slide:
XK(z) = Y (zK)
⇒ Y (z) = XK(z1K ) = 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Frequency Spectrum:
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
= 1
K
(
X(ejω
K ) +X(ejω
K− 2π
K ) +X(ejω
K− 4π
K ) + · · ·)
Average of K aliased versions, each expanded in ω by a factor of K .Downsampling is normally preceded by a LP filter to prevent aliasing.
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
-2 0 20
0.5
1
ω
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Energy decreases: 1
2π
∫∣
∣Y (ejω)∣
∣
2dω ≈ 1
K× 1
2π
∫∣
∣X(ejω)∣
∣
2dω
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Energy decreases: 1
2π
∫∣
∣Y (ejω)∣
∣
2dω ≈ 1
K× 1
2π
∫∣
∣X(ejω)∣
∣
2dω
Example 2:
K = 3Energy all in π
K≤ |ω| < 2 π
K
-2 0 20
0.5
1
ω
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Energy decreases: 1
2π
∫∣
∣Y (ejω)∣
∣
2dω ≈ 1
K× 1
2π
∫∣
∣X(ejω)∣
∣
2dω
Example 2:
K = 3Energy all in π
K≤ |ω| < 2 π
K
No aliasing: , -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Energy decreases: 1
2π
∫∣
∣Y (ejω)∣
∣
2dω ≈ 1
K× 1
2π
∫∣
∣X(ejω)∣
∣
2dω
Example 2:
K = 3Energy all in π
K≤ |ω| < 2 π
K
No aliasing: , -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
No aliasing: If all energy is in r πK≤ |ω| < (r + 1) π
Kfor some integer r
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Energy decreases: 1
2π
∫∣
∣Y (ejω)∣
∣
2dω ≈ 1
K× 1
2π
∫∣
∣X(ejω)∣
∣
2dω
Example 2:
K = 3Energy all in π
K≤ |ω| < 2 π
K
No aliasing: , -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
No aliasing: If all energy is in r πK≤ |ω| < (r + 1) π
Kfor some integer r
Normal case (r = 0): If all energy in 0 ≤ |ω| ≤ πK
Downsampled Spectrum
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 9 / 14
Y (ejω) = 1
K
∑K−1
k=0X(e
j(ω−2πk)K )
Example 1:
K = 3Not quite limited to ± π
K
Shaded region shows aliasing -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
Energy decreases: 1
2π
∫∣
∣Y (ejω)∣
∣
2dω ≈ 1
K× 1
2π
∫∣
∣X(ejω)∣
∣
2dω
Example 2:
K = 3Energy all in π
K≤ |ω| < 2 π
K
No aliasing: , -2 0 20
0.5
1
ω-2 0 2
0
0.5
1
ω
No aliasing: If all energy is in r πK≤ |ω| < (r + 1) π
Kfor some integer r
Normal case (r = 0): If all energy in 0 ≤ |ω| ≤ πK
Downsampling: Total energy multiplied by ≈ 1
K(= 1
Kif no aliasing)
Average power ≈ unchanged (= energy/sample)
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
-3 -2 -1 0 1 2 30
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
∫ ∫
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
-3 -2 -1 0 1 2 30
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
∫ ∫
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω
-3 -2 -1 0 1 2 30
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
∫ ∫
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω = 0.6
-3 -2 -1 0 1 2 30
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
∫ ∫
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω = 0.6
Component powers:Signal = 0.3, Tone = 0.2, Noise = 0.1 -3 -2 -1 0 1 2 3
0
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
∫ ∫
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω = 0.6
Component powers:Signal = 0.3, Tone = 0.2, Noise = 0.1 -3 -2 -1 0 1 2 3
0
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
Upsampling:
Same energyper second⇒ Power is÷K
-3 -2 -1 0 1 2 30
0.2
0.4
Frequency (rad/samp)
PS
D , ∫ =
0.1
3 +
0.1
8 =
0.3 upsample × 2
∫
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω = 0.6
Component powers:Signal = 0.3, Tone = 0.2, Noise = 0.1 -3 -2 -1 0 1 2 3
0
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
Upsampling:
Same energyper second⇒ Power is÷K
-3 -2 -1 0 1 2 30
0.2
0.4
Frequency (rad/samp)
PS
D , ∫ =
0.1
3 +
0.1
8 =
0.3 upsample × 2
-3 -2 -1 0 1 2 30
0.1
0.2
0.3
Frequency (rad/samp)
PS
D , ∫ =
0.0
56 +
0.1
4 =
0.2 upsample × 3
∫
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω = 0.6
Component powers:Signal = 0.3, Tone = 0.2, Noise = 0.1 -3 -2 -1 0 1 2 3
0
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
Upsampling:
Same energyper second⇒ Power is÷K
-3 -2 -1 0 1 2 30
0.2
0.4
Frequency (rad/samp)
PS
D , ∫ =
0.1
3 +
0.1
8 =
0.3 upsample × 2
-3 -2 -1 0 1 2 30
0.1
0.2
0.3
Frequency (rad/samp)
PS
D , ∫ =
0.0
56 +
0.1
4 =
0.2 upsample × 3
Downsampling:
Average poweris unchanged.
-3 -2 -1 0 1 2 30
0.2
0.4
0.6
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
downsample ÷ 2
∫
Power Spectral Density +
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 10 / 14
Example: Signal in ω ∈ ±0.4π + Tone @ ω = ±0.1π + White noise
Power = Energy/sample = Average PSD
= 1
2π
∫ π
−πPSD(ω)dω = 0.6
Component powers:Signal = 0.3, Tone = 0.2, Noise = 0.1 -3 -2 -1 0 1 2 3
0
0.5
1
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
original rate
Upsampling:
Same energyper second⇒ Power is÷K
-3 -2 -1 0 1 2 30
0.2
0.4
Frequency (rad/samp)
PS
D , ∫ =
0.1
3 +
0.1
8 =
0.3 upsample × 2
-3 -2 -1 0 1 2 30
0.1
0.2
0.3
Frequency (rad/samp)
PS
D , ∫ =
0.0
56 +
0.1
4 =
0.2 upsample × 3
Downsampling:
Average poweris unchanged.∃ aliasing inthe ÷3 case. -3 -2 -1 0 1 2 3
0
0.2
0.4
0.6
Frequency (rad/samp)
PS
D , ∫ =
0.5
+ 0
.1 =
0.6
downsample ÷ 2
-3 -2 -1 0 1 2 30
0.2
0.4
0.6
Frequency (rad/samp)
PS
D , ∫ =
0.4
9 +
0.1
1 =
0.6 downsample ÷ 3
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
f i l
- --f--i--l
b e h k
-b -ef-hi-kl
a d g j
ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
- --f--i--l
b e h k
-b -ef-hi-kl
a d g j
ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
b e h k
-b -ef-hi-kl
a d g j
ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
-b -ef-hi-kl
a d g j
ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
q[n] -b -ef-hi-kl
a d g j
ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
q[n] -b -ef-hi-kl
w[m] a d g j
ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
q[n] -b -ef-hi-kl
w[m] a d g j
y[n] ab defghijkl
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
q[n] -b -ef-hi-kl
w[m] a d g j
y[n] ab defghijkl
Input sequence x[n] is split into three streams at 1
3the sample rate:
u[m] = x[3m], v[m] = x[3m− 1], w[m] = x[3m− 2]
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
q[n] -b -ef-hi-kl
w[m] a d g j
y[n] ab defghijkl
Input sequence x[n] is split into three streams at 1
3the sample rate:
u[m] = x[3m], v[m] = x[3m− 1], w[m] = x[3m− 2]
Following upsampling, the streams are aligned by the delays and thenadded to give:
y[n] = x[n− 2]
Perfect Reconstruction
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 11 / 14
x[n] defghijklmn
u[m] f i l
p[n] - --f--i--l
v[m] b e h k
q[n] -b -ef-hi-kl
w[m] a d g j
y[n] ab defghijkl
Input sequence x[n] is split into three streams at 1
3the sample rate:
u[m] = x[3m], v[m] = x[3m− 1], w[m] = x[3m− 2]
Following upsampling, the streams are aligned by the delays and thenadded to give:
y[n] = x[n− 2]
Perfect Reconstruction: output is a delayed scaled replica of the input
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
e h k l
d g j m
y[n] ab defghijkl
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
e h k l
d g j m
y[n] ab defghijkl
The combination of delays and downsamplers can be regarded as acommutator that distributes values in sequence to u, w and v.
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
e h k l
d g j m
y[n] ab defghijkl
The combination of delays and downsamplers can be regarded as acommutator that distributes values in sequence to u, w and v.Fractional delays, z−
13 and z−
23 are needed to synchronize the streams.
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
e h k l
d g j m
y[n] ab defghijkl
The combination of delays and downsamplers can be regarded as acommutator that distributes values in sequence to u, w and v.Fractional delays, z−
13 and z−
23 are needed to synchronize the streams.
The output commutator takes values from the streams in sequence.
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
v[m+ 1
3] e h k l
w[m+ 2
3] d g j m
y[n] ab defghijkl
The combination of delays and downsamplers can be regarded as acommutator that distributes values in sequence to u, w and v.Fractional delays, z−
13 and z−
23 are needed to synchronize the streams.
The output commutator takes values from the streams in sequence.For clarity, we omit the fractional delays and regard each terminal, ◦, asholding its value until needed.
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
v[m+ 1
3] e h k l
w[m+ 2
3] d g j m
y[n] ab defghijkl
The combination of delays and downsamplers can be regarded as acommutator that distributes values in sequence to u, w and v.Fractional delays, z−
13 and z−
23 are needed to synchronize the streams.
The output commutator takes values from the streams in sequence.For clarity, we omit the fractional delays and regard each terminal, ◦, asholding its value until needed. Initial commutator position has zero delay.
Commutators
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 12 / 14
x[n] defghijklmn
u[m] f i l
v[m] b e h k
w[m] a d g j
v[m+ 1
3] e h k l
w[m+ 2
3] d g j m
y[n] ab defghijkl
The combination of delays and downsamplers can be regarded as acommutator that distributes values in sequence to u, w and v.Fractional delays, z−
13 and z−
23 are needed to synchronize the streams.
The output commutator takes values from the streams in sequence.For clarity, we omit the fractional delays and regard each terminal, ◦, asholding its value until needed. Initial commutator position has zero delay.
The commutator direction is against the direction of the z−1 delays.
Summary
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 13 / 14
• Multirate Building Blocks
◦ Upsample: X(z)1:K→ X(zK)
Invertible, Inserts K − 1 zeros between samplesShrinks and replicates spectrumFollow by LP filter to remove images
Summary
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 13 / 14
• Multirate Building Blocks
◦ Upsample: X(z)1:K→ X(zK)
Invertible, Inserts K − 1 zeros between samplesShrinks and replicates spectrumFollow by LP filter to remove images
◦ Downsample: X(z)K:1→ 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Destroys information and energy, keeps every K th sampleExpands and aliasses the spectrumSpectrum is the average of K aliased expanded versionsPrecede by LP filter to prevent aliases
Summary
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 13 / 14
• Multirate Building Blocks
◦ Upsample: X(z)1:K→ X(zK)
Invertible, Inserts K − 1 zeros between samplesShrinks and replicates spectrumFollow by LP filter to remove images
◦ Downsample: X(z)K:1→ 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Destroys information and energy, keeps every K th sampleExpands and aliasses the spectrumSpectrum is the average of K aliased expanded versionsPrecede by LP filter to prevent aliases
• Equivalences◦ Noble Identities: H(z)←→ H(zK)◦ Interchange P : 1 and 1 : Q iff Pand Q coprime
Summary
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 13 / 14
• Multirate Building Blocks
◦ Upsample: X(z)1:K→ X(zK)
Invertible, Inserts K − 1 zeros between samplesShrinks and replicates spectrumFollow by LP filter to remove images
◦ Downsample: X(z)K:1→ 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Destroys information and energy, keeps every K th sampleExpands and aliasses the spectrumSpectrum is the average of K aliased expanded versionsPrecede by LP filter to prevent aliases
• Equivalences◦ Noble Identities: H(z)←→ H(zK)◦ Interchange P : 1 and 1 : Q iff Pand Q coprime
• Commutators◦ Combine delays and down/up sampling
Summary
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 13 / 14
• Multirate Building Blocks
◦ Upsample: X(z)1:K→ X(zK)
Invertible, Inserts K − 1 zeros between samplesShrinks and replicates spectrumFollow by LP filter to remove images
◦ Downsample: X(z)K:1→ 1
K
∑K−1
k=0X(e
−j2πk
K z1K )
Destroys information and energy, keeps every K th sampleExpands and aliasses the spectrumSpectrum is the average of K aliased expanded versionsPrecede by LP filter to prevent aliases
• Equivalences◦ Noble Identities: H(z)←→ H(zK)◦ Interchange P : 1 and 1 : Q iff Pand Q coprime
• Commutators◦ Combine delays and down/up sampling
For further details see Mitra: 13.
MATLAB routines
11: Multirate Systems
• Multirate Systems
• Building blocks
• Resampling Cascades
• Noble Identities
• Noble Identities Proof
• Upsampled z-transform
• Downsampled z-transform
• Downsampled Spectrum
• Power Spectral Density +
• Perfect Reconstruction
• Commutators
• Summary
• MATLAB routines
DSP and Digital Filters (2017-9045) Multirate: 11 – 14 / 14
resample change sampling rate