SlideShare a Scribd company logo
1 of 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 

More Related Content

What's hot

Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)tamil arasan
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignAmr E. Mohamed
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier TransformAbhishek Choksi
 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)Ravikiran A
 
Chapter 9 computation of the dft
Chapter 9 computation of the dftChapter 9 computation of the dft
Chapter 9 computation of the dftmikeproud
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transformop205
 
Convolution discrete and continuous time-difference equaion and system proper...
Convolution discrete and continuous time-difference equaion and system proper...Convolution discrete and continuous time-difference equaion and system proper...
Convolution discrete and continuous time-difference equaion and system proper...Vinod Sharma
 
Butterworth filter design
Butterworth filter designButterworth filter design
Butterworth filter designSushant Shankar
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingvanikeerthika
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)Amr E. Mohamed
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applicationsAgam Goel
 
Discrete fourier transform
Discrete fourier transformDiscrete fourier transform
Discrete fourier transformMOHAMMAD AKRAM
 
Signal Filtering
Signal FilteringSignal Filtering
Signal FilteringImane Haf
 
Digital Signal Processing
Digital Signal Processing Digital Signal Processing
Digital Signal Processing Sri Rakesh
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transformsIffat Anjum
 

What's hot (20)

Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
IIR filter
IIR filterIIR filter
IIR filter
 
Low noise amplifier
Low noise amplifierLow noise amplifier
Low noise amplifier
 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
 
Chapter 9 computation of the dft
Chapter 9 computation of the dftChapter 9 computation of the dft
Chapter 9 computation of the dft
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
Convolution discrete and continuous time-difference equaion and system proper...
Convolution discrete and continuous time-difference equaion and system proper...Convolution discrete and continuous time-difference equaion and system proper...
Convolution discrete and continuous time-difference equaion and system proper...
 
Difference between wavelet transform and fourier transform
Difference between wavelet transform and fourier transformDifference between wavelet transform and fourier transform
Difference between wavelet transform and fourier transform
 
Butterworth filter design
Butterworth filter designButterworth filter design
Butterworth filter design
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applications
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Discrete fourier transform
Discrete fourier transformDiscrete fourier transform
Discrete fourier transform
 
Signal Filtering
Signal FilteringSignal Filtering
Signal Filtering
 
Digital Signal Processing
Digital Signal Processing Digital Signal Processing
Digital Signal Processing
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 

Similar to Design of digital filters

design of sampling filter
design of sampling filter design of sampling filter
design of sampling filter Anuj Arora
 
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
 
Dss
Dss Dss
Dss nil65
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_designshrinivasgnaik
 
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
 
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
 
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
 

Similar to Design of digital filters (20)

design of sampling filter
design of sampling filter design of sampling filter
design of sampling filter
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
1 digital filters (fir)
1 digital filters (fir)1 digital filters (fir)
1 digital filters (fir)
 
Dss
Dss Dss
Dss
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
 
digital filter design
digital filter designdigital filter design
digital filter design
 
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
 
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
 
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
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

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),