BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement...
-
Upload
darlene-fields -
Category
Documents
-
view
213 -
download
0
Transcript of BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement...
![Page 1: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/1.jpg)
BIEN425 – Lecture 15
• By the end of this lecture, you should be able to:– Design and implement integer decimators and
interpolators– Design and implement a narrow band filter using
interpolation and decimation techniques.
![Page 2: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/2.jpg)
To resample a digital signal
• The simplest way:
• It will introduce additional quantization noise and aliasing noise
• Computationally intensive
DAC ADC
![Page 3: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/3.jpg)
Decimation
• Decreasing sampling rate
• fM = fs/M
• Or simply taking every M samples (decimation)
• However, we will need to consider an anti-aliasing filter
)()( MkxkxM
![Page 4: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/4.jpg)
Digital anti-aliasing filter• We can consider this as FIR filter
• Where HM(f) =
• y(k) =
HM(z) M
![Page 5: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/5.jpg)
Intepolation
• Increasing sampling rate
• fL = Lfs
• Observe here we are using zero-padding
otherwise
LLkLkxkxL ,0
...2,,0),/()(
![Page 6: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/6.jpg)
Effect in frequency domain
• Observe XL(f) = X(Lf)
• This means that frequency content is the power of xL(k) is 1/L times the original x(k)
![Page 7: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/7.jpg)
• Need to compensate for the effect of 1/L in the anti-imaging filter
• Where HL(f) =
• y(k) =
L HL(z)
![Page 8: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/8.jpg)
Example
• Lecture15.m
![Page 9: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/9.jpg)
Rational sampling rate converter
L HL(z) HM(z) M
• fnew = (L/M)fs
• Combine HL and HM to form H0
![Page 10: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/10.jpg)
• Since HL and HM are both LP
• H0(f) =
• y(k)=
![Page 11: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/11.jpg)
Narrow band filter
• Definition: sharp filter whose passband or stopband is small in comparison with sampling frequency
• Usually need high-order FIR filters
• Example: Ideal response
![Page 12: BIEN425 – Lecture 15 By the end of this lecture, you should be able to: –Design and implement integer decimators and interpolators –Design and implement.](https://reader036.fdocuments.us/reader036/viewer/2022082821/5697bfb81a28abf838c9f0b3/html5/thumbnails/12.jpg)
• Reduce sampling rate by M
• Then create new filter G(f)
• Then interpolate by M again
G(z) MMHM(z) HM(z)