lecture15,16-digitalfilters
TRANSCRIPT
![Page 1: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/1.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 1/16
DIGITAL FILTERS: AN INTRODUCTION
ڻڇ دع:رت ه
ل16،17Lecture 16, 17ڻع محا سحا
![Page 2: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/2.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 2/16
Introduction to filters
A filter is a system that attenuates some frequency
components of a signal more than it does others.
It is usually used to eliminate/reduce the energy
contained in some frequency band(s) while retainingthe energy contained in other frequency band(s)
![Page 3: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/3.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 3/16
Applications
Filters can be applied to the signal to be
transmmitted (to remove the carrier and a side
band)
For anti-aliasing before sampling a signal
For removing noise from a received signal
![Page 4: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/4.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 4/16
Filter bands
Pass band
Stop band
Transition band
1+1
1-1
Passbandripple
wp ws
2
![Page 5: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/5.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 5/16
Filter types
Low Pass Filter
Passes frequencies smallerthan a cut-off
High Pass Filter
Passes frequencies higherthan a cut-off
Band Pass Filter
Passes frequencies between
two cut-offs Band Elimination Filter
Passes frequencies otherthan those b/w two cut-offs
ڻڇ را ڍن يڍن ک م صخ
تث راوڻڇ را
يڏو ک م صخ را تثڻڇ را ٽپ
يراو ٻ مئ وچ را تث
ڻڇ ڪور ٽپ يراو ٻ مئ ج وچ
ور تث
![Page 6: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/6.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 6/16
ڻڇ را ڍن لخIdeal Low Pass Filter
-wc wc
w
|H(w)|
(w)
w
B
![Page 7: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/7.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 7/16
ڻڇ را ڏو لخHigh Pass Filter
|H(w)|
wc
w
w
(w)
![Page 8: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/8.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 8/16
ڻڇ را ٽپ لخIdeal Band Pass Filter
-w0w0
B
w
w
|H(w)|
(w)
![Page 9: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/9.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 9/16
ڻڇ ڪور ٽپ لخIdeal Band Stop Filter
|H(w)|
(w)
w
w
![Page 10: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/10.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 10/16
ت ج ڻڇ گياAnalog Filter Approximations
Butterworth
Chebyshev
Type 1
Type 2
ر ٽبذسق1
سق2
![Page 11: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/11.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 11/16
ڻڇ دعDigital Filters
Take digital Input
Digitized Speech
Image
Any other signal that is either digital by nature or isdigitized
Give out Digital Output
Might be implemented in Hardware
Software
![Page 12: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/12.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 12/16
ت ج ڻڇ دعDigital Filter Approximations
Finite Impulse Response (FIR) Filters
Their impulse response is time-limited
Also called non-recursive filters and all-zero
filters
Infinite Impulse Response (IIR) Filters
Their impulse response is time-unlimited
Also called recursive filters
![Page 13: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/13.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 13/16
Comparison b/w FIR and IIR
Do not have any analogcounterpart
Have linear phase response
Simple to implement, do notrequire feedback
Certain responses are notpractical to implement with FIRfilters
Require more computations /memory
Always Stable
Have an analog counterpart
Have non-linear phase response Difficult to implement, require
feedback
One can implement any responses
with IIR filters
Require less computation/ memory
Stability not always gauranteed
FIR IIR
![Page 14: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/14.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 14/16
Comparison b/w FIR and IIR
Less susceptible to the effectof using a limited number of
bits to implement filters suchas round off noise, andcoefficients quantization error
Use FIR if the number offilter coefficients is not toolarge and in particular if littleor no phase distortion isdesired.
More susceptible to theeffect of using a limited
number of bits to implementfilters such as round offnoise, and coefficientsquantization error
Use IIR when there arerequirements such as sharpcutoff and high throughput.
FIR IIR
![Page 15: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/15.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 15/16
IIR Filters
Requires feedback
Output is fucntion of the present input, the past
inputs and the past outputs
T M n yaT n yaT n ya
T Ln xbT n xbnT xbnT y
M
L
....21
....1
21
10
L
i
M
i
ii T in yaT in xbnT y0 1
(1)
![Page 16: Lecture15,16-DigitalFilters](https://reader031.vdocument.in/reader031/viewer/2022021318/577cd3ce1a28ab9e789795f8/html5/thumbnails/16.jpg)
8/13/2019 Lecture15,16-DigitalFilters
http://slidepdf.com/reader/full/lecture1516-digitalfilters 16/16
FIR filters
No feedback
Output is function of the present input and the past
inputs
Output does not depend on the previous outputs
Replace ‘a’ coefficients by zeros in equation (1)
L+1 is said to be the filter length
T N n xbT n xbnT xbnT y N ....110
L
i
i T in xbnT y0