SlideShare una empresa de Scribd logo
1 de 33
Design of Digital Filters
Naila Bibi
BEE (Electronics)
2014 Batch
Content
Digital filter introduction
FIR filter design
IRR filter design
Applications
Conclusion
What are Digital filters?
In signal processing,
a digital filter is a
system that performs
mathematical
operations on a
sampled, discrete-
time signal to reduce
or enhance certain
aspects of that signal.
Why digital filters?
 Digital filters are used for two general purposes
 Separation of signals that have been combined.
 Restoration of signals that have been distorted in some way
One of the reasons why we design a filter is to remove disturbances.

)(ns
)(nv
)(nx )()( nsny Filter
SIGNAL
NOISE
We discriminate between signal and noise in terms of the frequency spectrum.
F
)(FS
)(FV
0F 0F
0F0F0F
Example
Imagine that you have a project for measuring the infant ECG from the
body surface of a mother
•The raw signal recordings will likely be corrupted by the breathing and
heartbeat (ECG) of the mother
•A filter might be used to separate the infant ECG from these combined
signals so that they can be individually analyzed
Types of Digital filters
Finite Impulse Response (FIR) filters
Infinite Impulse Response (IIR) filters
Comparative analysis of digital Filters
Finite Impulse Response
▪ Implemented non-recursively
▪ No Feedback
▪ Always stable
▪ Simple to implement
▪ Linear phase response in pass-band
▪ More filter coefficients
▪ More memory
▪ More processing power
Infinite Impulse Response
▪ Implement recursively
▪ With Feedback
▪ Stability not guaranteed
▪ Difficult to implement
▪ Non-linear phase response in pass-
band
▪ less filter coefficients than FIR
▪ Less memory
▪ Less processing power
The ability to have an exactly linear phase response is the one of the most important of FIR filters
A general FIR filter does not have a linear phase response but this property is satisfied when,
four linear phase filter types,
FIR Fillers
 Output is function of the
present input and the past
inputs
 Output does not depend on
the previous outputs
 L+1 is said to be the filter
length
IIR Filters
▪ Output is the function of the
present input, the past inputs
and also the past outputs
FIR Design Methods
1. Windowing
2. Frequency
Sampling
3. Computer
Aided Design
Window Design Method
 Also known as Fourier transform method
 Create an ideal specification of the filter in frequency-domain
 Take Inverse FourierTransform to get the time-domain impulse
response of the filter
Steps…
1. Note the specification
i) Pass Band frequency
ii) Pass Band ripple
iii) Stop Band frequency
iv) Stop Band attenuation
2. Find the ideal impulse response; approximate where ever necessary
3. Truncate the ideal impulse response to finite number of samples
4. Choose a suitable window function to ‘smoothen out’ the ideal impulse
response
5. Multiply the ideal-truncated impulse response with the window function
6. The result is the approximated impulse response of the filter, you ideally
wanted to design
Example,
-20 -15 -10 -5 0 5 10 15 20
0
0.2
0.4
0.6
0.8
1
|H(w)|
Magnitude Response of Ideal Low Pass Filter
wc-wc
Pass
band
Stop
band
we need to design a
low pass filter.
Pass band cut off at –
Wc to Wc.


 

otherwise
www
wH cc
0
1
)(
Take the I-DTFT to get the time-domain impulse response of the filter




dwewHnh jwn
d )(
2
1
][


c
c
w
w
jwn
d dwenh )1(
2
1
][

c
c
w
w
jwn
d e
jn
nh








1
2
1
][






 


jn
ee
nh
cc jnwjnw
d
2
1
][
j
ee
x
jxjx
2
)sin(








 


j
ee
n
nh
cc jnwjnw
d
2
1
][

 nw
n
nh cd sin
1
][


-∞ < n < ∞ (1)
   c
c
c
cc
d nw
w
nw
nww
nh sinc
sin
][


-40 -30 -20 -10 0 10 20 30 40
-0.2
0
0.2
0.4
0.6
0.8
1
time index [n] (-inf to +inf)
hd[n]
There are two ‘major’
problems with it
1. The filter has infinite
number of coefficients
2. It has to be a non-
causal system (system
requires future values)
The solution to first problem is to truncate (cut) the impulse response, to a number of
coefficients can be implemented with out too much trouble
N=41
Truncate to
N terms
The solution to second problem is to add a delay to the impulse response, so that all coefficients t0
The left of n=0, can be move on the positive time axis.
Move the (N-1)/2Terms to the right
N=41
(N-1)/2 = 20
So, the impulse response with the delay of (N-1)/2 samples is given as,
    c
N
Nd wn
n
nh 2
)1(
2
)1(
sin
1
][ 





 
  
 
  c
N
c
N
c
d
wn
wnw
nh
2
1
2
1
sin
][ 





  c
Nc
d wn
w
nh 2
)1(
sinc][ 


But…
 With truncation of impulse response, ripples
occur
 In the pass band and stop band
 Due to I.R. suddenly becoming zero
 Going from infinite no. of coefficients to a finite no.
 Known as Gibb’s effect
 Can be mitigated by multiplying I.R. by a
suitable window function
][*][][ nwnhnh d
Window Functions
The filter coefficients can be calculated as
1)/2-N(,...,2,1n1*][][  nhnh d


6.0
8000
)2400(22

s
c
c
f
f
w
   
 



6.0)2/40(
6.02/40sin6.0
][



n
n
nh
   
)20(
6.020sin1
][



n
n
nh


 
  
 
  c
N
c
N
c
d
wn
wnw
nh
2
1
2
1
sin
][ 





n=0,1,2,…..,20
Where,
h[0] =
h[1] =
h[2] =
h[3] =
h[4] =
h[5] =
h[6] =
h[7] =
h[8] =
h[9] =
h[10] =
h[11] =
h[12] =
h[13] =
h[14] =
h[15] =
h[16] =
h[17] =
h[18] =
h[19] =
h[20] =
0.000000
-0.015933
0.010394
0.011006
-0.018921
0.000000
0.021624
-0.014392
-0.015591
0.027521
0.000000
-0.033637
0.023387
0.026728
-0.050455
0.000000
0.075683
-0.062366
-0.093549
0.302731
0.600000
IIR filter Design
▪ From Analog Filters
▪ By approximation of Derivatives
▪ By impulse variance
▪ Bilinear transformation
Applications
1. Noise suppression
(a) imaging devices (medical, etc)
(b) bio-signals (heart, brain)
(c) signals stored on analog media
(tapes)
Applications continue..
2. Enhancement of selected frequency ranges
(a) equalizers for audio systems (increasing the bass)
(b) Edge enhancement in images
Applications continue..
3. Simulation/Modeling
(a) Simulating communication channels
(b) Modeling human auditory system
Applications continue..
4. Removal or attenuation of selected frequencies
(a) Removing the DC component of a signal
(b) Removing interferences at a specic frequency,
for example those caused by power supplies
Conclusion
Digital Filters
Have a linear phase response in
the band of interest.
Can work for low frequency
signals
Digital filters is not affected by
environmental effects (heat),
There frequency can be easily
adjusted (since it is a program),
Thank
you 

Más contenido relacionado

La actualidad más candente

Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filtersop205
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filtersop205
 
Radar signal processing
Radar signal processingRadar signal processing
Radar signal processingMustahid Ali
 
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
SAMPLING & RECONSTRUCTION  OF DISCRETE TIME SIGNALSAMPLING & RECONSTRUCTION  OF DISCRETE TIME SIGNAL
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNALkaran sati
 
presentation on digital signal processing
presentation on digital signal processingpresentation on digital signal processing
presentation on digital signal processingsandhya jois
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignAmr E. Mohamed
 
DSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignDSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignAmr E. Mohamed
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter designRohan Nagpal
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier TransformAbhishek Choksi
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFTtaha25
 
Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Ridwanul Hoque
 

La actualidad más candente (20)

Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filters
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filters
 
Radar signal processing
Radar signal processingRadar signal processing
Radar signal processing
 
Dif fft
Dif fftDif fft
Dif fft
 
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
SAMPLING & RECONSTRUCTION  OF DISCRETE TIME SIGNALSAMPLING & RECONSTRUCTION  OF DISCRETE TIME SIGNAL
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
 
presentation on digital signal processing
presentation on digital signal processingpresentation on digital signal processing
presentation on digital signal processing
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
digital filter design
digital filter designdigital filter design
digital filter design
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
 
DSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignDSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter Design
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter design
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFT
 
Digital filter structures
Digital filter structuresDigital filter structures
Digital filter structures
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
Dsp lecture vol 6 design of fir
Dsp lecture vol 6 design of firDsp lecture vol 6 design of fir
Dsp lecture vol 6 design of fir
 
IIR filter
IIR filterIIR filter
IIR filter
 
Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)
 
Fir filter_utkarsh_kulshrestha
Fir filter_utkarsh_kulshresthaFir filter_utkarsh_kulshrestha
Fir filter_utkarsh_kulshrestha
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 

Similar a Design of digital filters

design of sampling filter
design of sampling filter design of sampling filter
design of sampling filter Anuj Arora
 
Dss
Dss Dss
Dss nil65
 
Design and determination of optimum coefficients of iir digital highpass filt...
Design and determination of optimum coefficients of iir digital highpass filt...Design and determination of optimum coefficients of iir digital highpass filt...
Design and determination of optimum coefficients of iir digital highpass filt...Subhadeep Chakraborty
 
Design of iir digital highpass butterworth filter using analog to digital map...
Design of iir digital highpass butterworth filter using analog to digital map...Design of iir digital highpass butterworth filter using analog to digital map...
Design of iir digital highpass butterworth filter using analog to digital map...Subhadeep Chakraborty
 
Design and realization of iir digital band stop filter using modified analog ...
Design and realization of iir digital band stop filter using modified analog ...Design and realization of iir digital band stop filter using modified analog ...
Design and realization of iir digital band stop filter using modified analog ...Subhadeep Chakraborty
 
Design Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window FunctionDesign Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window FunctionIOSR Journals
 
Design Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window FunctionDesign Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window FunctionIOSR Journals
 
Realization of high order iir digital bandstop filter using domain transfer a...
Realization of high order iir digital bandstop filter using domain transfer a...Realization of high order iir digital bandstop filter using domain transfer a...
Realization of high order iir digital bandstop filter using domain transfer a...Subhadeep Chakraborty
 
FILTER DESIGN
FILTER DESIGNFILTER DESIGN
FILTER DESIGNnaimish12
 
Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...Subhadeep Chakraborty
 
Paper id 252014114
Paper id 252014114Paper id 252014114
Paper id 252014114IJRAT
 
Adaptive filters and band reject filters
Adaptive filters and band reject filtersAdaptive filters and band reject filters
Adaptive filters and band reject filtersSanSan149
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignAmr E. Mohamed
 
Discrete time signal processing unit-2
Discrete time signal processing unit-2Discrete time signal processing unit-2
Discrete time signal processing unit-2selvalakshmi24
 
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...ijsrd.com
 

Similar a Design of digital filters (20)

design of sampling filter
design of sampling filter design of sampling filter
design of sampling filter
 
1 digital filters (fir)
1 digital filters (fir)1 digital filters (fir)
1 digital filters (fir)
 
Dss
Dss Dss
Dss
 
Design and determination of optimum coefficients of iir digital highpass filt...
Design and determination of optimum coefficients of iir digital highpass filt...Design and determination of optimum coefficients of iir digital highpass filt...
Design and determination of optimum coefficients of iir digital highpass filt...
 
Design of iir digital highpass butterworth filter using analog to digital map...
Design of iir digital highpass butterworth filter using analog to digital map...Design of iir digital highpass butterworth filter using analog to digital map...
Design of iir digital highpass butterworth filter using analog to digital map...
 
Design and realization of iir digital band stop filter using modified analog ...
Design and realization of iir digital band stop filter using modified analog ...Design and realization of iir digital band stop filter using modified analog ...
Design and realization of iir digital band stop filter using modified analog ...
 
Design Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window FunctionDesign Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window Function
 
Design Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window FunctionDesign Technique of Bandpass FIR filter using Various Window Function
Design Technique of Bandpass FIR filter using Various Window Function
 
Filters.pdf
Filters.pdfFilters.pdf
Filters.pdf
 
lecture_37.pptx
lecture_37.pptxlecture_37.pptx
lecture_37.pptx
 
Realization of high order iir digital bandstop filter using domain transfer a...
Realization of high order iir digital bandstop filter using domain transfer a...Realization of high order iir digital bandstop filter using domain transfer a...
Realization of high order iir digital bandstop filter using domain transfer a...
 
FILTER DESIGN
FILTER DESIGNFILTER DESIGN
FILTER DESIGN
 
Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...
 
Paper id 252014114
Paper id 252014114Paper id 252014114
Paper id 252014114
 
Dsp book ch15
Dsp book ch15Dsp book ch15
Dsp book ch15
 
Adaptive filters and band reject filters
Adaptive filters and band reject filtersAdaptive filters and band reject filters
Adaptive filters and band reject filters
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter Design
 
Discrete time signal processing unit-2
Discrete time signal processing unit-2Discrete time signal processing unit-2
Discrete time signal processing unit-2
 
Digital Filters Part 1
Digital Filters Part 1Digital Filters Part 1
Digital Filters Part 1
 
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
 

Último

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 

Último (20)

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 

Design of digital filters

  • 1. Design of Digital Filters Naila Bibi BEE (Electronics) 2014 Batch
  • 2. Content Digital filter introduction FIR filter design IRR filter design Applications Conclusion
  • 3. What are Digital filters? In signal processing, a digital filter is a system that performs mathematical operations on a sampled, discrete- time signal to reduce or enhance certain aspects of that signal.
  • 4. Why digital filters?  Digital filters are used for two general purposes  Separation of signals that have been combined.  Restoration of signals that have been distorted in some way
  • 5. One of the reasons why we design a filter is to remove disturbances.  )(ns )(nv )(nx )()( nsny Filter SIGNAL NOISE
  • 6. We discriminate between signal and noise in terms of the frequency spectrum. F )(FS )(FV 0F 0F 0F0F0F
  • 7. Example Imagine that you have a project for measuring the infant ECG from the body surface of a mother •The raw signal recordings will likely be corrupted by the breathing and heartbeat (ECG) of the mother •A filter might be used to separate the infant ECG from these combined signals so that they can be individually analyzed
  • 8. Types of Digital filters Finite Impulse Response (FIR) filters Infinite Impulse Response (IIR) filters
  • 9. Comparative analysis of digital Filters Finite Impulse Response ▪ Implemented non-recursively ▪ No Feedback ▪ Always stable ▪ Simple to implement ▪ Linear phase response in pass-band ▪ More filter coefficients ▪ More memory ▪ More processing power Infinite Impulse Response ▪ Implement recursively ▪ With Feedback ▪ Stability not guaranteed ▪ Difficult to implement ▪ Non-linear phase response in pass- band ▪ less filter coefficients than FIR ▪ Less memory ▪ Less processing power
  • 10. The ability to have an exactly linear phase response is the one of the most important of FIR filters A general FIR filter does not have a linear phase response but this property is satisfied when, four linear phase filter types,
  • 11. FIR Fillers  Output is function of the present input and the past inputs  Output does not depend on the previous outputs  L+1 is said to be the filter length
  • 12. IIR Filters ▪ Output is the function of the present input, the past inputs and also the past outputs
  • 13. FIR Design Methods 1. Windowing 2. Frequency Sampling 3. Computer Aided Design
  • 14. Window Design Method  Also known as Fourier transform method  Create an ideal specification of the filter in frequency-domain  Take Inverse FourierTransform to get the time-domain impulse response of the filter
  • 15. Steps… 1. Note the specification i) Pass Band frequency ii) Pass Band ripple iii) Stop Band frequency iv) Stop Band attenuation 2. Find the ideal impulse response; approximate where ever necessary 3. Truncate the ideal impulse response to finite number of samples 4. Choose a suitable window function to ‘smoothen out’ the ideal impulse response 5. Multiply the ideal-truncated impulse response with the window function 6. The result is the approximated impulse response of the filter, you ideally wanted to design
  • 16. Example, -20 -15 -10 -5 0 5 10 15 20 0 0.2 0.4 0.6 0.8 1 |H(w)| Magnitude Response of Ideal Low Pass Filter wc-wc Pass band Stop band we need to design a low pass filter. Pass band cut off at – Wc to Wc.
  • 17.      otherwise www wH cc 0 1 )( Take the I-DTFT to get the time-domain impulse response of the filter     dwewHnh jwn d )( 2 1 ][   c c w w jwn d dwenh )1( 2 1 ][ 
  • 18. c c w w jwn d e jn nh         1 2 1 ][           jn ee nh cc jnwjnw d 2 1 ][ j ee x jxjx 2 )sin(             j ee n nh cc jnwjnw d 2 1 ][   nw n nh cd sin 1 ][   -∞ < n < ∞ (1)    c c c cc d nw w nw nww nh sinc sin ][  
  • 19. -40 -30 -20 -10 0 10 20 30 40 -0.2 0 0.2 0.4 0.6 0.8 1 time index [n] (-inf to +inf) hd[n] There are two ‘major’ problems with it 1. The filter has infinite number of coefficients 2. It has to be a non- causal system (system requires future values)
  • 20. The solution to first problem is to truncate (cut) the impulse response, to a number of coefficients can be implemented with out too much trouble N=41 Truncate to N terms
  • 21. The solution to second problem is to add a delay to the impulse response, so that all coefficients t0 The left of n=0, can be move on the positive time axis. Move the (N-1)/2Terms to the right N=41 (N-1)/2 = 20
  • 22. So, the impulse response with the delay of (N-1)/2 samples is given as,     c N Nd wn n nh 2 )1( 2 )1( sin 1 ][                c N c N c d wn wnw nh 2 1 2 1 sin ][         c Nc d wn w nh 2 )1( sinc][   
  • 23. But…  With truncation of impulse response, ripples occur  In the pass band and stop band  Due to I.R. suddenly becoming zero  Going from infinite no. of coefficients to a finite no.  Known as Gibb’s effect  Can be mitigated by multiplying I.R. by a suitable window function ][*][][ nwnhnh d
  • 25. The filter coefficients can be calculated as 1)/2-N(,...,2,1n1*][][  nhnh d   6.0 8000 )2400(22  s c c f f w          6.0)2/40( 6.02/40sin6.0 ][    n n nh     )20( 6.020sin1 ][    n n nh            c N c N c d wn wnw nh 2 1 2 1 sin ][       n=0,1,2,…..,20 Where, h[0] = h[1] = h[2] = h[3] = h[4] = h[5] = h[6] = h[7] = h[8] = h[9] = h[10] = h[11] = h[12] = h[13] = h[14] = h[15] = h[16] = h[17] = h[18] = h[19] = h[20] = 0.000000 -0.015933 0.010394 0.011006 -0.018921 0.000000 0.021624 -0.014392 -0.015591 0.027521 0.000000 -0.033637 0.023387 0.026728 -0.050455 0.000000 0.075683 -0.062366 -0.093549 0.302731 0.600000
  • 26. IIR filter Design ▪ From Analog Filters ▪ By approximation of Derivatives ▪ By impulse variance ▪ Bilinear transformation
  • 27. Applications 1. Noise suppression (a) imaging devices (medical, etc) (b) bio-signals (heart, brain) (c) signals stored on analog media (tapes)
  • 28. Applications continue.. 2. Enhancement of selected frequency ranges (a) equalizers for audio systems (increasing the bass) (b) Edge enhancement in images
  • 29. Applications continue.. 3. Simulation/Modeling (a) Simulating communication channels (b) Modeling human auditory system
  • 30. Applications continue.. 4. Removal or attenuation of selected frequencies (a) Removing the DC component of a signal (b) Removing interferences at a specic frequency, for example those caused by power supplies
  • 31.
  • 32. Conclusion Digital Filters Have a linear phase response in the band of interest. Can work for low frequency signals Digital filters is not affected by environmental effects (heat), There frequency can be easily adjusted (since it is a program),