SlideShare a Scribd company logo
1 of 22
120.07.2015OVGU Präsentation
Design of FIR Filters
Aranya Sarkar
M.Sc- Electrical Engineering and Information Technology
20.07.2015
220.07.2015OVGU Präsentation
 Introduction- digital filters
 FIR filters, advantages and disadvantages
 Frequency response of FIR filters
 Design methods
 Windowing techniques
 Optimum filter designing and various techniques
 Alternation Theorem
 Parks- Mcclellan Algorithm
 Conclusion
 References
Contents
320.07.2015OVGU Präsentation
 performs mathematical operation on
a sampled discrete time signal
to reduce or enhance certain aspects
Advantages
 Software programmable
 Requires only arithmetic functions
 Do not drift with temperature or humidity
 Superior performance-to-cost ratio
 Do not suffer from manufacturing defects or aging
Digital Filter-Introduction
420.07.2015OVGU Präsentation
 A filter whose response has finite duration
 Non recursive since unlike IIR filters, the feedback is not there
Fig. FIR Filter of order n
FIR Filters
520.07.2015OVGU Präsentation
Advantages:
 Unconditionally stable
 Simple to implement
 Linear
 Non Causal
Disadvantages:
 Expensive due to large order
 Requires more memory
 Time consuming process
Advantages and Disadvantages of FIR Filters
620.07.2015OVGU Präsentation
 Let’s consider the desired impulse response of the FIR is hd[n].
 DTFT of hd[n] is 𝐻 𝑑 𝜔 = ℎ=−∞
∞
ℎ 𝑑(𝑛)𝑒−𝑗𝜔𝑛
hd[n] should be finite. So we need to truncate it from 0 to M to have an
order of M+1.
Considering an ideal low pass filter:
Frequency response of FIR filter
720.07.2015OVGU Präsentation
 Windowing Technique
 Frequency Sampling
 Equiripple Design
Basic Design Methods
820.07.2015OVGU Präsentation
 Simplest way of designing FIR filters
Method is all discrete-time no continuous-time involved
Start with ideal frequency response
 The easiest way to obtain a causal FIR filter from ideal is
 More generally
Filter Design by Windowing
       


 

else0
Mn01
nwwherenwnhnh d
   


 

else0
Mn0nh
nh d
   




n
nj
d
j
d enheH     

 



deeH
2
1
nh njj
dd
920.07.2015OVGU Präsentation
 Narrowest main lob
-4/(M+1)
-Sharpest transitions
at discontinuites in frequency
 Large side lobs
-13 dB
-Large oscillation
around discontinuities
• Simplest window possible
Rectangular Window
1020.07.2015OVGU Präsentation
 Medium main lob
-8/M
 Side lobs
-25 dB
 Hamming window performs better
 Simple equation
Bartlett (Triangular) Window
 








else0
Mn2/MM/n22
2/Mn0M/n2
nw
1120.07.2015OVGU Präsentation
 Medium main lob
- 8/M
 Side lobs
- 41 dB
 Simpler than Blackman
Hamming Window
 









 


else0
Mn0
M
n2
cos46.054.0
nw
1220.07.2015OVGU Präsentation
Comparison of Frequency Response of The Windows
1320.07.2015OVGU Präsentation
 Though ´windowing method is simple, it is not the most effective
 Rectangular windowing is optimum In one sense since they
minimise the mean squared approximation error to desired
response, but causes errors around discontinuities
Most popular alternative method: Parks-McClellan Algorithm
 Uses minimax error method for function approximation
Optimum Filter Design
1420.07.2015OVGU Präsentation
 Weighted-least-squares method
Chebyshev method
WLS-Chebyshev method
 Parks-Mcclellan algorithm
Different Methods of Optimum Filter Designing by
Approximation
1520.07.2015OVGU Präsentation
 Often called the Remez exchange method
 This method designs an optimal linear phase filter
 This is the standard method for FIR filter design
 This methodology for designing symmetric filters that minimize
filter length for a particular set of design constraints {ωp, ωs, δ p, δ
s}
 The computational effort is linearly proportional to the length of
the filter
 In Matlab, this method is available as remez().
Parks- McClellan
1620.07.2015OVGU Präsentation
 The resulting filters minimize the maximum error between the
desired frequency response and the actual frequency response by
spreading the approximation error uniformly over each band
 Such filters that exhibit equiripple behavior in both the passband
and the stopband, and are sometimes called equiripple filters
Parks- McClellan Method
1720.07.2015OVGU Präsentation
 The polynomial of degree L that minimizes the maximum error will
have at least L+2 extrema.
 The optimal frequency response will just touch
the maximum ripple bounds.
 Extrema must occur at the pass and stop band edges and
at either ω=0 or π or both.
 The derivative of a polynomial of degree L is a polynomial of
degree L-1, which can be zero in at most L-1 places. So the
maximum number of local extrema is the L-1 local extrema plus
the 4 band edges. That is L+3.
 The alternation theorem doesn’t directly suggest a method for
computing the optimal filter
Alternation Theorem
1820.07.2015OVGU Präsentation
Parks-McClellan Algorithm
1920.07.2015OVGU Präsentation
 FIR filters allow the design of linear phase filters, which eliminate
the possibility of signal phase distortion
 Two methods of linear phase FIR design were discussed:
-The ideal window method
-The optimal Parks-McClellan method
 FIR is advantageous due to linearity and stability
 The disadvantages of FIR include expensiveness and that the
process is time consuming
Conclusion
2020.07.2015OVGU Präsentation
 Digital Signal Processing, Alan V.Oppenheim/Ronald W. Schafer,
ISBN-10 0132146355, Prentice Hall, June 1974
 Digital Signal Processing: A computer based approach, Sanjit
K.Mehta, ISBN 9780072513783, Mcgraw Hill, 1997
 Digital Signal Processing, P.Ramesh Babu, ISBN 8187328525,
Scitech Publications, 2003
 Parks-McClellan FIR Filter Design, Eman R.El-
Taweel/MaysoonA.Abu Shamla, Islamic University-Gaza, 2nd May,
2007
References
2120.07.2015OVGU Präsentation
QUESTIONS ?
2220.07.2015OVGU Präsentation
Thank You For Your Attention

More Related Content

What's hot

What's hot (20)

Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windows
 
Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Z Transform
Z TransformZ Transform
Z Transform
 
digital filters
digital filtersdigital filters
digital filters
 
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
SAMPLING & RECONSTRUCTION  OF DISCRETE TIME SIGNALSAMPLING & RECONSTRUCTION  OF DISCRETE TIME SIGNAL
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
Frequency modulation
Frequency modulationFrequency modulation
Frequency modulation
 
Fir filter design using Frequency sampling method
Fir filter design using Frequency sampling methodFir filter design using Frequency sampling method
Fir filter design using Frequency sampling method
 
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsDSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
 
Multirate DSP
Multirate DSPMultirate DSP
Multirate DSP
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Fir filter_utkarsh_kulshrestha
Fir filter_utkarsh_kulshresthaFir filter_utkarsh_kulshrestha
Fir filter_utkarsh_kulshrestha
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
Phase locked loop
Phase locked loopPhase locked loop
Phase locked loop
 
IIR filter realization using direct form I & II
IIR filter realization using direct form I & IIIIR filter realization using direct form I & II
IIR filter realization using direct form I & II
 
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
 

Viewers also liked

Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
shrinivasgnaik
 

Viewers also liked (15)

Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter design
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
 
Continuous Time Analog Systems
Continuous Time Analog SystemsContinuous Time Analog Systems
Continuous Time Analog Systems
 
Digital Filters Part 1
Digital Filters Part 1Digital Filters Part 1
Digital Filters Part 1
 
Dsp U Lec08 Fir Filter Design
Dsp U   Lec08 Fir Filter DesignDsp U   Lec08 Fir Filter Design
Dsp U Lec08 Fir Filter Design
 
Firewall Rule Review and Modelling
Firewall Rule Review and ModellingFirewall Rule Review and Modelling
Firewall Rule Review and Modelling
 
Dsp U Lec01 Real Time Dsp Systems
Dsp U   Lec01 Real Time Dsp SystemsDsp U   Lec01 Real Time Dsp Systems
Dsp U Lec01 Real Time Dsp Systems
 
Dsp U Lec07 Realization Of Discrete Time Systems
Dsp U   Lec07 Realization Of Discrete Time SystemsDsp U   Lec07 Realization Of Discrete Time Systems
Dsp U Lec07 Realization Of Discrete Time Systems
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systems
 
Unit 1 - mobile computing introduction
Unit 1 - mobile computing introductionUnit 1 - mobile computing introduction
Unit 1 - mobile computing introduction
 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filters
 
Digital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE studentsDigital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE students
 
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau -  Data, Graphs, Filters, Dashboards and Advanced featuresLearning Tableau -  Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
 
Digital image processing using matlab
Digital image processing using matlab Digital image processing using matlab
Digital image processing using matlab
 
Introduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABIntroduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLAB
 

Similar to Design of FIR Filters

DickeyS_presentation_2015_3_26_2_1
DickeyS_presentation_2015_3_26_2_1DickeyS_presentation_2015_3_26_2_1
DickeyS_presentation_2015_3_26_2_1
Sergey Dickey
 
150 Mbps Receiver.Sevastopol, CriMiCo presentation
150 Mbps Receiver.Sevastopol, CriMiCo presentation150 Mbps Receiver.Sevastopol, CriMiCo presentation
150 Mbps Receiver.Sevastopol, CriMiCo presentation
dcalex
 
Lab inv l
Lab inv lLab inv l
Lab inv l
mkkalai
 
A 15 bit third order power optimized continuous time sigma delta modulator fo...
A 15 bit third order power optimized continuous time sigma delta modulator fo...A 15 bit third order power optimized continuous time sigma delta modulator fo...
A 15 bit third order power optimized continuous time sigma delta modulator fo...
eSAT Publishing House
 

Similar to Design of FIR Filters (20)

About knick new english_april 2014
About knick new english_april 2014About knick new english_april 2014
About knick new english_april 2014
 
Design Con VNA
Design Con VNADesign Con VNA
Design Con VNA
 
Practical steps to a successful PROFIBUS project - Richard Needham and Xiu Ji
Practical steps to a successful PROFIBUS project - Richard Needham and Xiu JiPractical steps to a successful PROFIBUS project - Richard Needham and Xiu Ji
Practical steps to a successful PROFIBUS project - Richard Needham and Xiu Ji
 
A modern dsp_lockin_amplifier
A modern dsp_lockin_amplifierA modern dsp_lockin_amplifier
A modern dsp_lockin_amplifier
 
Practical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICC
Practical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICCPractical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICC
Practical steps to a successful PROFIBUS project - Xiu Ji of the UK's PICC
 
Performance Analysis and Simulation of Decimator for Multirate Applications
Performance Analysis and Simulation of Decimator for Multirate ApplicationsPerformance Analysis and Simulation of Decimator for Multirate Applications
Performance Analysis and Simulation of Decimator for Multirate Applications
 
C010431520
C010431520C010431520
C010431520
 
Introduction to DSP.ppt
Introduction to DSP.pptIntroduction to DSP.ppt
Introduction to DSP.ppt
 
EXFO MaxTester 730C Testing OTDR- SPI Engineers
EXFO MaxTester 730C Testing OTDR- SPI EngineersEXFO MaxTester 730C Testing OTDR- SPI Engineers
EXFO MaxTester 730C Testing OTDR- SPI Engineers
 
IRJET- Design and Simulation of Five Stage Band Pass Filter for C Band Applic...
IRJET- Design and Simulation of Five Stage Band Pass Filter for C Band Applic...IRJET- Design and Simulation of Five Stage Band Pass Filter for C Band Applic...
IRJET- Design and Simulation of Five Stage Band Pass Filter for C Band Applic...
 
DickeyS_presentation_2015_3_26_2_1
DickeyS_presentation_2015_3_26_2_1DickeyS_presentation_2015_3_26_2_1
DickeyS_presentation_2015_3_26_2_1
 
150 Mbps Receiver.Sevastopol, CriMiCo presentation
150 Mbps Receiver.Sevastopol, CriMiCo presentation150 Mbps Receiver.Sevastopol, CriMiCo presentation
150 Mbps Receiver.Sevastopol, CriMiCo presentation
 
IRJET- Design and Implementation of Combinational Circuits using Reversible G...
IRJET- Design and Implementation of Combinational Circuits using Reversible G...IRJET- Design and Implementation of Combinational Circuits using Reversible G...
IRJET- Design and Implementation of Combinational Circuits using Reversible G...
 
IRJET- Design and Implementation of Combinational Circuits using Reversib...
IRJET-  	  Design and Implementation of Combinational Circuits using Reversib...IRJET-  	  Design and Implementation of Combinational Circuits using Reversib...
IRJET- Design and Implementation of Combinational Circuits using Reversib...
 
ASP
ASPASP
ASP
 
Mini project electronic workshop
Mini project electronic workshopMini project electronic workshop
Mini project electronic workshop
 
A 13b SAR ADC with Eye-opening VCO Based Comparator
A 13b SAR ADC with Eye-opening VCO Based ComparatorA 13b SAR ADC with Eye-opening VCO Based Comparator
A 13b SAR ADC with Eye-opening VCO Based Comparator
 
Lab inv l
Lab inv lLab inv l
Lab inv l
 
A 15 bit third order power optimized continuous time sigma delta modulator fo...
A 15 bit third order power optimized continuous time sigma delta modulator fo...A 15 bit third order power optimized continuous time sigma delta modulator fo...
A 15 bit third order power optimized continuous time sigma delta modulator fo...
 
AD8351.pdf
AD8351.pdfAD8351.pdf
AD8351.pdf
 

Recently uploaded

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
Neometrix_Engineering_Pvt_Ltd
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Recently uploaded (20)

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
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
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
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
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
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
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

Design of FIR Filters

  • 1. 120.07.2015OVGU Präsentation Design of FIR Filters Aranya Sarkar M.Sc- Electrical Engineering and Information Technology 20.07.2015
  • 2. 220.07.2015OVGU Präsentation  Introduction- digital filters  FIR filters, advantages and disadvantages  Frequency response of FIR filters  Design methods  Windowing techniques  Optimum filter designing and various techniques  Alternation Theorem  Parks- Mcclellan Algorithm  Conclusion  References Contents
  • 3. 320.07.2015OVGU Präsentation  performs mathematical operation on a sampled discrete time signal to reduce or enhance certain aspects Advantages  Software programmable  Requires only arithmetic functions  Do not drift with temperature or humidity  Superior performance-to-cost ratio  Do not suffer from manufacturing defects or aging Digital Filter-Introduction
  • 4. 420.07.2015OVGU Präsentation  A filter whose response has finite duration  Non recursive since unlike IIR filters, the feedback is not there Fig. FIR Filter of order n FIR Filters
  • 5. 520.07.2015OVGU Präsentation Advantages:  Unconditionally stable  Simple to implement  Linear  Non Causal Disadvantages:  Expensive due to large order  Requires more memory  Time consuming process Advantages and Disadvantages of FIR Filters
  • 6. 620.07.2015OVGU Präsentation  Let’s consider the desired impulse response of the FIR is hd[n].  DTFT of hd[n] is 𝐻 𝑑 𝜔 = ℎ=−∞ ∞ ℎ 𝑑(𝑛)𝑒−𝑗𝜔𝑛 hd[n] should be finite. So we need to truncate it from 0 to M to have an order of M+1. Considering an ideal low pass filter: Frequency response of FIR filter
  • 7. 720.07.2015OVGU Präsentation  Windowing Technique  Frequency Sampling  Equiripple Design Basic Design Methods
  • 8. 820.07.2015OVGU Präsentation  Simplest way of designing FIR filters Method is all discrete-time no continuous-time involved Start with ideal frequency response  The easiest way to obtain a causal FIR filter from ideal is  More generally Filter Design by Windowing              else0 Mn01 nwwherenwnhnh d          else0 Mn0nh nh d         n nj d j d enheH            deeH 2 1 nh njj dd
  • 9. 920.07.2015OVGU Präsentation  Narrowest main lob -4/(M+1) -Sharpest transitions at discontinuites in frequency  Large side lobs -13 dB -Large oscillation around discontinuities • Simplest window possible Rectangular Window
  • 10. 1020.07.2015OVGU Präsentation  Medium main lob -8/M  Side lobs -25 dB  Hamming window performs better  Simple equation Bartlett (Triangular) Window           else0 Mn2/MM/n22 2/Mn0M/n2 nw
  • 11. 1120.07.2015OVGU Präsentation  Medium main lob - 8/M  Side lobs - 41 dB  Simpler than Blackman Hamming Window                else0 Mn0 M n2 cos46.054.0 nw
  • 12. 1220.07.2015OVGU Präsentation Comparison of Frequency Response of The Windows
  • 13. 1320.07.2015OVGU Präsentation  Though ´windowing method is simple, it is not the most effective  Rectangular windowing is optimum In one sense since they minimise the mean squared approximation error to desired response, but causes errors around discontinuities Most popular alternative method: Parks-McClellan Algorithm  Uses minimax error method for function approximation Optimum Filter Design
  • 14. 1420.07.2015OVGU Präsentation  Weighted-least-squares method Chebyshev method WLS-Chebyshev method  Parks-Mcclellan algorithm Different Methods of Optimum Filter Designing by Approximation
  • 15. 1520.07.2015OVGU Präsentation  Often called the Remez exchange method  This method designs an optimal linear phase filter  This is the standard method for FIR filter design  This methodology for designing symmetric filters that minimize filter length for a particular set of design constraints {ωp, ωs, δ p, δ s}  The computational effort is linearly proportional to the length of the filter  In Matlab, this method is available as remez(). Parks- McClellan
  • 16. 1620.07.2015OVGU Präsentation  The resulting filters minimize the maximum error between the desired frequency response and the actual frequency response by spreading the approximation error uniformly over each band  Such filters that exhibit equiripple behavior in both the passband and the stopband, and are sometimes called equiripple filters Parks- McClellan Method
  • 17. 1720.07.2015OVGU Präsentation  The polynomial of degree L that minimizes the maximum error will have at least L+2 extrema.  The optimal frequency response will just touch the maximum ripple bounds.  Extrema must occur at the pass and stop band edges and at either ω=0 or π or both.  The derivative of a polynomial of degree L is a polynomial of degree L-1, which can be zero in at most L-1 places. So the maximum number of local extrema is the L-1 local extrema plus the 4 band edges. That is L+3.  The alternation theorem doesn’t directly suggest a method for computing the optimal filter Alternation Theorem
  • 19. 1920.07.2015OVGU Präsentation  FIR filters allow the design of linear phase filters, which eliminate the possibility of signal phase distortion  Two methods of linear phase FIR design were discussed: -The ideal window method -The optimal Parks-McClellan method  FIR is advantageous due to linearity and stability  The disadvantages of FIR include expensiveness and that the process is time consuming Conclusion
  • 20. 2020.07.2015OVGU Präsentation  Digital Signal Processing, Alan V.Oppenheim/Ronald W. Schafer, ISBN-10 0132146355, Prentice Hall, June 1974  Digital Signal Processing: A computer based approach, Sanjit K.Mehta, ISBN 9780072513783, Mcgraw Hill, 1997  Digital Signal Processing, P.Ramesh Babu, ISBN 8187328525, Scitech Publications, 2003  Parks-McClellan FIR Filter Design, Eman R.El- Taweel/MaysoonA.Abu Shamla, Islamic University-Gaza, 2nd May, 2007 References