2.1 Introduction: Books
2.1 Introduction: Books
1Introduction|DigitalFilterDesign
PRODUCTS SHOP LEARN DOCS LIBSTOCK FORUM HELP DESK
Tableof
Contents
2.1INTRODUCTION
BOOKS DigitalFilterDesign
MIKROELEKTRONIKA
FIRfiltersaredigitalfilterswithfiniteimpulseresponse.Theyarealsoknownasnonrecursivedigitalfiltersas
theydonothavethefeedback(arecursivepartofafilter),eventhoughrecursivealgorithmscanbeusedforFIR
filterrealization.
Figure211.BlockdiagramsofFIRandIIRfilters
FIRfilterscanbedesignedusingdifferentmethods,butmostofthemarebasedonidealfilterapproximation.The
objectiveisnottoachieveidealcharacteristics,asitisimpossibleanyway,buttoachievesufficientlygood
characteristicsofafilter.ThetransferfunctionofFIRfilterapproachestheidealasthefilterorderincreases,thus
increasingthecomplexityandamountoftimeneededforprocessinginputsamplesofasignalbeingfiltered.
https://learn.mikroe.com/ebooks/digitalfilterdesign/chapter/introductionfirfilter/ 1/4
4/24/2017 2.1Introduction|DigitalFilterDesign
Figure212.Ideallowpassfilterapproximation
Theresultingfrequencyresponsecanbeamonotonefunctionoranoscillatoryfunctionwithinacertainfrequency
range.Thewaveformoffrequencyresponsedependsonthemethodusedindesignprocessaswellasonits
parameters.
ThisbookdescribesthemostpopularmethodforFIRfilterdesignthatuseswindowfunctions.Thecharacteristics
ofthetransferfunctionaswellasitsdeviationfromtheidealfrequencyresponsedependonthefilterorderand
windowfunctioninuse.
Eachfiltercategoryhasbothadvantagesanddisadvantages.Thisisthereasonwhyitissoimportanttocarefully
choosecategoryandtypeofafilterduringdesignprocess.
FIRfilterscanhavelinearphasecharacteristic,whichisnotlikeIIRfiltersthatwillbediscussedinChapter3.
Obviously,insuchcaseswhenitisnecessarytohavealinearphasecharacteristic,FIRfiltersaretheonlyoption
available.Ifthelinearphasecharacteristicisnotnecessary,asisthecasewithprocessingspeechsignals,FIR
filtersarenotgoodsolutionatall.
Figure213illustratesinputandoutputsignalsofnonlinearphasesystems.
https://learn.mikroe.com/ebooks/digitalfilterdesign/chapter/introductionfirfilter/ 2/4
4/24/2017 2.1Introduction|DigitalFilterDesign
Figure213.Theeffectofnonlinearphasecharacteristic
Thesystemintroducesaphaseshiftof0radiansatthefrequencyof,andradiansatthreetimesthat
frequency.Inputsignalconsistsofnaturalfrequencyandoneharmonicwiththesameamplitudeatthreetimes
thatfrequency.Figure213.showstheblockdiagramofinputsignal(left)andoutputsignal(right).Itisobvious
thatthesetwosignalshavedifferentwaveforms.Thepowerofsignalsisnotchanged,northeamplitudesof
harmonics,onlythephaseofthesecondharmonicischanged.
Ifweassumethattheinputisaspeechsignalwhosephasecharacteristicisnotoftheessence,suchdistortionin
thephaseofthesignalwouldbeunimportant.Inthiscase,thesystemsatisfiesallnecessaryrequirements.
However,ifthephasecharacteristicisofimportance,suchagreatdistortionmustntbeallowed.
InorderthatthephasecharacteristicofaFIRfilterislinear,theimpulseresponsemustbesymmetricoranti
symmetric,whichisexpressedinthefollowingway:
h[n]=h[Nn1]symmetricimpulseresponse(aboutitsmiddleelement)
h[n]=h[Nn1]antisymmetricimpulseresponse(aboutitsmiddleelement)
OneofthedrawbacksofFIRfiltersisahighorderofdesignedfilter.TheorderofFIRfilterisremarkablyhigher
comparedtoanIIRfilterwiththesamefrequencyresponse.ThisisthereasonwhyitissoimportanttouseFIR
filtersonlywhenthelinearphasecharacteristicisveryimportant.
Anumberofdelaylinescontainedinafilter,i.e.anumberofinputsamplesthatshouldbesavedforthepurpose
ofcomputingtheoutputsample,determinestheorderofafilter.Forexample,ifthefilterisassumedtobeoforder
10,itmeansthatitisnecessarytosave10inputsamplespreceedingthecurrentsample.Allelevensampleswill
affecttheoutputsampleofFIRfilter.
ThetransformfunctionofatypicalFIRfiltercanbeexpressedasapolynomialofacomplexvariablez.Allthe
polesofthetransferfunctionarelocatedattheorigin.Forthisreason,FIRfiltersareguaranteedtobestable,
whereasIIRfiltershavepotentialtobecomeunstable.
https://learn.mikroe.com/ebooks/digitalfilterdesign/chapter/introductionfirfilter/ 3/4
4/24/2017 2.1Introduction|DigitalFilterDesign
2.1IntroductionbyMikroElektronikaislicensedunderaCreativeCommonsAttribution4.0InternationalLicense,except
whereotherwisenoted.
https://learn.mikroe.com/ebooks/digitalfilterdesign/chapter/introductionfirfilter/ 4/4