數(shù)字信號(hào)處理課件第11章-數(shù)字濾波器結(jié)構(gòu)v1.0_第1頁(yè)
數(shù)字信號(hào)處理課件第11章-數(shù)字濾波器結(jié)構(gòu)v1.0_第2頁(yè)
數(shù)字信號(hào)處理課件第11章-數(shù)字濾波器結(jié)構(gòu)v1.0_第3頁(yè)
數(shù)字信號(hào)處理課件第11章-數(shù)字濾波器結(jié)構(gòu)v1.0_第4頁(yè)
數(shù)字信號(hào)處理課件第11章-數(shù)字濾波器結(jié)構(gòu)v1.0_第5頁(yè)
已閱讀5頁(yè),還剩60頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

Chapter8DigitalFilterStructuresHeretheinput-outputrelationinvolvesafinitesumofproducts:§8.1IntroductionOntheotherhand,anFIRsystemcanbeimplementedusingtheconvolutionsumwhichisafinitesumofproducts:TheactualimplementationofanLTIdigitalfiltercanbeeitherinsoftwareorhardwareform,dependingonapplicationsIneithercase,thesignalvariablesandthefiltercoefficientscannotberepresentedwithfiniteprecision§8.1Introduction★§8.1.1BlockDiagramRepresentationFortheimplementationofanLTIdigitalfilter,theinput-outputrelationshipmustbedescribedbyavalidcomputationalalgorithmToillustratewhatwemeanbyacomputationalalgorithm,considerthecausalfirst-orderLTIdigitalfiltershownbelow§8.1.1BlockDiagramRepresentationThefilterisdescribedbythedifferenceequationy[n]=-d1y[n-1]+p0x[n]+p1x[n-1]Usingtheaboveequationwecancomputey[n]forn0knowingtheinitialconditiony[n-1]andtheinputx[n]forn-1§8.1.1BlockDiagramRepresentation

y[0]=-d1y[-1]+p0x[0]+p1x[-1]y[1]=-d1y[0]+p0x[1]+p1x[0]

y[2]=-d1y[1]+p0x[2]+p1x[1].…Wecancontinuethiscalculationforanyvalueofthetimeindexnwedesire§8.1.1BlockDiagramRepresentationEachstepofthecalculationrequiresaknowledgeofthepreviouslycalculatedvalueoftheoutputsample(delayedvalueoftheoutput),thepresentvalueoftheinputsample,andthepreviousvalueoftheinputsample(delayedvalueoftheinput)Asaresult,thefirst-orderdifferenceequationcanbeinterpretedasavalidcomputationalalgorithm§8.1.2BasicBuildingBlocksThecomputationalalgorithmofanLTIdigitalfiltercanbeconvenientlyrepresentedinblockdiagramformusingthebasicbuildingblocksshownbelowx[n]y[n]w[n]Ax[n]y[n]y[n]x[n]x[n]x[n]x[n]AdderUnitdelayMultiplierPick-offnode§8.1.2BasicBuildingBlocksAdvantagesofblockdiagramrepresentation(1)Easytowritedownthecomputationalalgorithmbyinspection(2)Easytoanalyzetheblockdiagramtodeterminetheexplicitrelationbetweentheoutputandinput★★√√§8.1.2BasicBuildingBlocks(3)Easytomanipulateablockdiagramtoderiveother“equivalent”blockdiagramsyieldingdifferentcomputationalalgorithms(4)Easytodeterminethehardwarerequirements(5)Easiertodevelopblockdiagramrepresentationsfromthetransferfunctiondirectly√√√§8.1.3AnalysisofBlockDiagramsCarriedoutbywritingdowntheexpressionsfortheoutputsignalsofeachadderasasumofitsinputsignals,anddevelopingasetofequationsrelatingthefilterinputandoutputsignalsintermsofallinternalsignalsEliminatingtheunwantedinternalvariablesthenresultsintheexpressionfortheoutputsignalasafunctionoftheinputsignalandthefilterparametersthatarethemultipliercoefficients★★§8.1.3AnalysisofBlockDiagramsTheoutputE(z)oftheadderisE(z)=X(z)+G2(z)Y(z)ButfromthefigureY(z)=G1(z)E(z)Example-Considerthesingle-loopfeedbackstructureshownbelow§8.1.3AnalysisofBlockDiagramsEliminatingE(z)fromtheprevioustwoequationswearriveat

[1-G1(z)G2(z)]Y(z)=G1(z)X(z)

whichleadsto§8.1.3AnalysisofBlockDiagramsExample-Analyzethecascadedlatticestructureshownbelowwherethez-dependenceofsignalvariablesarenotshownforbrevity§8.1.3AnalysisofBlockDiagramsTheoutputsignalsofthefouraddersaregivenbyW1=X-S2W2=W1-S1W3=S1-W2Y=W1-S2FromthefigureweobserveS2=z-1W3S1=z-1W2

§8.1.3AnalysisofBlockDiagramsSubstitutingthelasttworelationsinthefirstfourequationsweget

W1=X-z-1W3

W2=W1-z-1W2

W3=z-1W2+W2Y=W1+z-1

W3

FromthesecondequationwegetW2=W1/(1+z-1)andfromthethirdequationwegetW3=(+z-1)W2

§8.1.3AnalysisofBlockDiagramsCombiningthelasttwoequationswegetwefinallyarriveatSubstitutingtheaboveequationin§8.2EquivalentStructuresTwodigitalfilterstructuresaredefinedtobeequivalentiftheyhavethesametransferfunctionWedescribenextanumberofmethodsforthegenerationofequivalentstructuresHowever,afairlysimplewaytogenerateanequivalentstructurefromagivenrealizationisviathetransposeoperation★★§8.2EquivalentStructuresTransposeOperation(1)Reverseallpaths(2)Replacepick-offnodesbyadders,andviceversa(3)InterchangetheinputandoutputnodesAllothermethodsfordevelopingequivalentstructuresarebasedonaspecificalgorithmforeachstructure★★§8.2EquivalentStructuresThereareliterallyaninfinitenumberofequivalentstructuresrealizingthesametransferfunctionItisthusimpossibletodevelopallequivalentrealizationsInthiscoursewerestrictourattentiontoadiscussionofsomecommonlyusedstructures§8.2EquivalentStructuresUnderinfiniteprecisionarithmeticanygivenrealizationofadigitalfilterbehavesidenticallytoanyotherequivalentstructureHowever,inpractice,duetothefinitewordlengthlimitations,aspecificrealizationbehavestotallydifferentlyfromitsotherequivalentrealizations§8.2EquivalentStructuresHence,itisimportanttochooseastructurethathastheleastquantizationeffectswhenimplementedusingfiniteprecisionarithmeticOnewaytoarriveatsuchastructureistodeterminealargenumberofequivalentstructures,analyzethefinitewordlengtheffectsineachcase,andselecttheoneshowingtheleasteffects★★§8.2EquivalentStructuresIncertaincases,itispossibletodevelopastructurethatbyconstructionhastheleastquantizationeffectsWedeferthereviewofthesestructuresafteradiscussionoftheanalysisofquantizationeffectsHere,wereviewsomesimplerealizationsthatinmanyapplicationsarequiteadequate§8.3BasicFIRDigitalFilterStructures whichisapolynomialinz-1Inthetime-domaintheinput-outputrelationoftheaboveFIRfilterisgivenbyAcausalFIRfilteroforderNischaracterizedbyatransferfunctionH(z)givenby§8.3.1DirectFormFIRDigitalFilterStructuresAnFIRfilteroforderNischaracterizedbyN+1coefficientsand,ingeneral,requireN+1multipliersandNtwo-inputaddersStructuresinwhichthemultipliercoefficientsarepreciselythecoefficientsofthetransferfunctionarecalleddirectformstructures

★★§8.3.1DirectFormFIRDigitalFilterStructuresAdirectformrealizationofanFIRfiltercanbereadilydevelopedfromtheconvolutionsumdescriptionasindicatedbelowforN=4★★§8.3.1DirectFormFIRDigitalFilterStructures whichispreciselyoftheformoftheconvolutionsumdescriptionThedirectformstructureshownonthepreviousslideisalsoknownasatappeddelaylineoratransversalfilterAnanalysisofthisstructureyields§8.3.1DirectFormFIRDigitalFilterStructuresThetransposeofthedirectformstructureshownearlierisindicatedbelow★★§8.3.2CascadeFormFIRDigitalFilterStructuresAhigher-orderFIRtransferfunctioncanalsoberealizedasacascadeofsecond-orderFIRsectionsandpossiblyafirst-ordersectionTothisendweexpressH(z)aswherek=N/2ifNiseven,andk=(N+1)/2ifNisodd,with

2k=0§8.3.2CascadeFormFIRDigitalFilterStructuresAcascaderealizationforN=6isshownbelowEachsecond-ordersectionintheabovestructurecanalsoberealizedinthetransposeddirectform★★§8.3.3Linear-PhaseFIRStructuresThesymmetry(orantisymmetry)propertyofalinear-phaseFIRfiltercanbeexploitedtoreducethenumberofmultipliersintoalmosthalfofthatinthedirectformimplementationsConsideralength-7Type1FIRtransferfunctionwithasymmetricimpulseresponse§8.3.3Linear-PhaseFIRStructuresRewritingH(z)intheform weobtaintherealizationshownbelow★★§8.3.3Linear-PhaseFIRStructuresAsimilardecompositioncanbeappliedtoaType2FIRtransferfunctionForexample,alength-8Type2FIRtransferfunctioncanbeexpressedasThecorrespondingrealizationisshownonthenextslide§8.3.3Linear-PhaseFIRStructuresNote:TheType1linear-phasestructureforalength-7FIRfilterrequires4multipliers,whereasadirectformrealizationrequires7multipliers§8.3.3Linear-PhaseFIRStructuresNote:TheType2linear-phasestructureforalength-8FIRfilterrequires4multipliers,whereasadirectformrealizationrequires8multipliersSimilarsavingsoccursintherealizationofType3andType4linear-phaseFIRfilterswithantisymmetricimpulseresponses§8.4BasicIIRDigitalFilterStructuresThecausalIIRdigitalfiltersweareconcernedwithinthiscoursearecharacterizedbyarealrationaltransferfunctionofz-1or,equivalentlybyaconstantcoefficientdifferenceequationFromthedifferenceequationrepresentation,itcanbeseenthattherealizationofthecausalIIRdigitalfiltersrequiressomeformoffeedback§8.4BasicIIRDigitalFilterStructuresAnN-thorderIIRdigitaltransferfunctionischaracterizedby2N+1uniquecoefficients,andingeneral,requires2N+1multipliersand2Ntwo-inputaddersforimplementationDirectformIIRfilters:Filterstructuresinwhichthemultipliercoefficientsarepreciselythecoefficientsofthetransferfunction★★§8.4.1DirectFormIIRDigitalFilterStructuresConsiderforsimplicitya3rd-orderIIRfilterwithatransferfunctionWecanimplementH(z)asacascadeoftwofiltersectionsasshownonthenextslide§8.4.1DirectFormIIRDigitalFilterStructures§8.4.1DirectFormIIRDigitalFilterStructuresThefiltersectionH1(z)canbeseentobeanFIRfilterandcanberealizedasshownright§8.4.1DirectFormIIRDigitalFilterStructuresThetime-domainrepresentationofH2(z)isgivenby Realizationoffollowsfromtheaboveequationandisshownontheright§8.4.1DirectFormIIRDigitalFilterStructuresAcascadeofthetwostructuresrealizingH1(z)andH2(z)leadstotherealizationofH(z)shownbelowandisknownastheDirectFormIstructure★★§8.4.1DirectFormIIRDigitalFilterStructuresNote:ThedirectformIstructureisnoncanonicasitemploys6delaystorealizea3rd-ordertransferfunctionAtransposeofthedirectformIstructureisshownontherightandiscalledthedirectformIstructure★§8.4.1DirectFormIIRDigitalFilterStructuresVariousothernoncanonicdirectformstructurescanbederivedbysimpleblockdiagrammanipulationsasshownbelow§8.4.1DirectFormIIRDigitalFilterStructures1Observeinthedirectformstructureshownright,thesignalvariableatnodesandarethesame,andhencethetwotopdelayscanbeshared§8.4.1DirectFormIIRDigitalFilterStructuresFollowingthesameargument,thebottomtwodelayscanbesharedSharingofalldelaysreducesthetotalnumberofdelaysto3resultinginacanonicrealizationshownonthenextslidealongwithitstransposestructureLikewise,thesignalvariablesatnodesandarethesame,permittingthesharingofthemiddletwodelays§8.4.1DirectFormIIRDigitalFilterStructuresDirectformrealizationsofanN-thorderIIRtransferfunctionshouldbeevident★★§8.4.2CascadeFormIIRDigitalFilterStructuresByexpressingthenumeratorandthedenominatorpolynomialsofthetransferfunctionasaproductofpolynomialsoflowerdegree,adigitalfiltercanberealizedasacascadeoflow-orderfiltersectionsConsider,forexample,H(z)=P(z)/D(z)expressedas§8.4.2CascadeFormIIRDigitalFilterStructuresExamplesofcascaderealizationsobtainedbydifferentpole-zeropairingsareshownbelow★★§8.4.2CascadeFormIIRDigitalFilterStructuresExamplesofcascaderealizationsobtainedbydifferentorderingofsectionsareshownbelow§8.4.2CascadeFormIIRDigitalFilterStructuresbasedonpole-zero-pairingsandorderingDuetofinitewordlengtheffects,eachsuchcascaderealizationbehavesdifferentlyfromothersTherearealtogetheratotalof36differentcascaderealizationsof§8.4.2CascadeFormIIRDigitalFilterStructuresUsually,thepolynomialsarefactoredintoaproductof1st-orderand2nd-orderpolynomials:Intheabove,forafirst-orderfactor★★§8.4.2CascadeFormIIRDigitalFilterStructuresConsiderthe3rd-ordertransferfunctionOnepossiblerealizationisshownbelow★§8.4.2CascadeFormIIRDigitalFilterStructuresExample-DirectformIIandcascadeformrealizationsof areshownonthenextslide§8.4.2CascadeFormIIRDigitalFilterStructuresDirectformIICascadeform§8.4.3ParallelFormIIRDigitalFilterStructuresApartial-fractionexpansionofthetransferfunctioninz-1leadstotheparallelformIstructureAssumingsimplepoles,thetransferfunctionH(z)canbeexpressedasIntheaboveforarealpole★★§8.4.3ParallelFormIIRDigitalFilterStructuresThetwobasicparallelrealizationsofa3rd-orderIIRtransferf

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論