




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1Chapter5
TheFastFourierTransform2Outline5.1
RelationshipoftheFFTtotheDFT5.2DerivationoftheRadix-2FFTAlgorithm5.3FFTInput/OutputDataIndexBitReversal5.4Radix-2FFTButterflyStructures5.5
DiscreteConvolutionusingFFT5.1RelationshipoftheFFTtotheDFT3
4Theradix-2FFTeliminatestheredundanciesandgreatlyreducesthenumberofnecessaryarithmeticoperations.ToappreciatetheFFT’sefficiency,let’sconsiderthenumberofcomplexmultiplicationsnecessaryforouroldfriend,theexpressionforanN-pointDFTEq5-1Foran8-pointDFT,Eq.(5–1)tellsusthatwe’dhavetoperformN2or64complexmultiplications.5Aswe'llverifyinlatersectionsofthischapter,thenumberofcomplexmultiplications,foranN-pointFFT,isapproximately:Eq5-26Forexample:WhenN=512,theDFTrequires200timesmorecomplexmultiplicationsthanthoseneededbytheFFT.WhenN=8192,theDFTmustcalculate1000complexmultiplicationsforeachcomplexmultiplicationintheFFT!7Figure5-1-1NumberofcomplexmultiplicationsintheDFTandtheradix-2FFTasafunctionofN.5.2DerivationoftheRadix-2FFTAlgorithm8ToseejustexactlyhowtheFFTevolvedfromtheDFT,wereturntotheequationforanN-pointDFT:Eq5-39AstraightforwardderivationoftheFFTproceedswiththeseparationoftheinputdatasequencex(n)intotwoparts.Whenx(n)issegmentedintoitsevenandoddindexedelements,wecan,then,breakEq.(5-3)intotwopartsasEq5-410Pullingtheconstantphaseangleoutsidethesecondsummation:Eq5-4
Eq5-511
Eq5-6There'safurtherbenefitinbreakingtheN-pointDFTintotwopartsbecausetheupperhalfoftheDFToutputiseasytocalculate.ConsidertheX(m+N/2).Eq5-712Itlookslikewe’recomplicatingthings,right?Well,justhanginthereforamoment.Wecannowsimplifythephaseangletermsinsidethesummationsbecauseforanyintegern.Lookingattheso-calledtwiddlefactorinfrontofthesecondsummationinEq.(5-7),wecansimplifyitasEq5-8Eq5-913Now,let’srepeatEqs.(5-6)and(5-9)toseethesimilarity;andEq5-10Eq5-1114Sohereweare.WeneednotperformanysineorcosinemultiplicationstogetX(m+N/2).WejustchangethesignofthetwiddlefactorWmNandusetheresultsofthetwosummationsfromX(m)togetX(m+N/2).Ofcourse,mgoesfrom0to(N/2)–1inEq.(5-9)whichmeans,foranN-pointDFT,weperformanN/2-pointDFTtogetthefirstN/2outputsandusethosetogetthelastN/2outputs.ForN=8,Eqs.(5-9)and(5-10)areimplementedasshowninFigure5-2-1.15Figure5-2-1FFTimplementationofan8-pointDFTusingtwo4-pointDFTs.16IfwesimplifyEqs.(5-9)and(5-10)totheformandEq5-12Eq5-1317Wecangofurtherandthinkaboutbreakingthetwo4-pointDFTsintofour2-pointDFTs.Let’sseehowwecansubdividetheupper4-pointDFTinFig-ure4–2whosefouroutputsareA(m)inEqs.(5-12)and(5-13).Wesegmenttheinputstotheupper4-pointDFTintotheiroddandevencomponentBecause,wecanexpressA(m)intheformoftwoN/4-pointDFTs,asEq5-14Eq5-1518ThiscapabilitytosubdivideanN/2-pointDFTintotwoN/4-pointDFTsgivestheFFTitscapacitytogreatlyreducethenumberofnecessarymultiplicationstoimplementDFTs.FollowingthesamestepsweusedtoobtainedA(m),wecanshowthatEq.(5-13)’sB(m)isEq5-1619TheFFT’swell-knownbutterflypatternofsignalflowsiscertainlyevident,andweseethefurthershufflingoftheinputdatainFigure5-2-2.20Figure5-2-2FFTimplementationofan8-pointDFTastwo4-pointDFTsandfour2-pointDFTs.21Figure5-2-3Single2-pointDFTbutterfly.Figure5-2-4Cyclicredundanciesinthetwiddlefactorsofan8-pointFFT.22
5.3FFTInput/OutputDataIndexBitReversal23Noticethatthe“Fulldecimation-in-timeFFTimplementationofan8-pointDFT.”Thedecimation-in-timephrasereferstohowwebroketheDFTinputsamplesintooddandevenpartsinthederivationofEqs.(5–11),(5–15),and(5–16).Thistimedecimationleadstothescrambledorderoftheinputdata’sindexn.ThepatternofthisshuffledordercanbeunderstoodwiththehelpofTable5–1.Theshufflingoftheinputdataisknownasbitreversalbecausethescrambledorderoftheinputdataindexcanbeobtainedbyreversingthebitsofthebinaryrepresentationofthenormalinputdataindexorder.24Table5-1InputIndexBitReversalforan8-pointFFT5.4Radix-2FFTButterflyStructures
(ObtainthediagramfromFFT-DiagramCollectioninthischapter)
25
26Figure5-4-4showsanFFTsignal-flowstructurethatavoidsthebitreversalproblemaltogether,andthegracefulweaveofthetraditionalFFTbutterfliesisreplacedwithatangled,buteffective,configuration.27Figure5-4-1Fulldecimation-in-timeFFTimplementationofan8-pointDFT.FFT-DiagramCollection-128FFT-DiagramCollection-2Figure5-4-28-pointdecimation-in-timeFFTwithbit-reversedinputs.29FFT-DiagramCollection-3Figure5-4-38-pointdecimation-in-timeFFTwithbit-reversedoutputs.30FFT-DiagramCollection-4Figure5-4-48-pointdecimation-in-timeFFTwithinputsandoutputsinnormalorder.31FFT-DiagramCollection-5Figure5-4-58-pointdecimation-in-frequencyFFTwithbit-reversedinputs.32FFT-DiagramCollection-6Figure5-4-68-pointdecimation-in-frequencyFFTwithbit-reversedoutputs.33FFT-DiagramCollection-7Figure5-4-78-pointdecimation-in-frequencyFFTwithinputsandoutputsinnormalorder.34FFT-DiagramCollection-8Figure5-4-8Decimation-in-timeanddecimation-in-frequencybutterflystructures:(a)originalform;(b)simplifiedform;(c)optimizedform.35FFT-DiagramCollection-9Figure5-4-9AlternateFFTbutterflynotation:(a)decimation-in-time;(b)decimation-in-frequency36Figure5-4-4showsanFFTsignal-flowstructurethatavoidsthebitreversalproblemaltogether,andthegracefulweaveofthetraditionalFFTbutterfliesisreplacedwithatangled,buteffective,configuration.37Anequivalentdecimation-in-frequencyFFTstructureexistsforeachdecimation-in-timeFFTstructure.It’simportanttonotethatthenumberofnecessarymultiplicationstoimplementthedecimation-in-frequencyFFTalgorithmsisthesameasthenumbernecessaryforthedecimation-in-timeFFTalgorithms.38TheFFTbutterflystructuresinFigures5-4-1,5-4-2,5-4-4,5-4-5,and5-4-6arethedirectresultofthederivationsofthedecimation-in-timeanddecimation-in-frequencyalgorithms.Althoughit’snotveryobviousatfirst,thetwiddlefactorexponentsshowninthesestructuresdohaveaconsistentpattern.39Considerthedecimation-in-timebutterflyinFigure5-4-8(a).Ifthetopinputisxandthebottominputisy,thetopbutterflyoutputwouldbeEq5-17Eq5-18andthebottombutterflyoutputwouldbe40TheoperationsinEqs.(5-17)and(5-18)canbesimplifiedbecausethetwotwiddlefactorsarerelatedbyEq5-1941TheFFTbutterflystructurespreviouslydiscussedtypicallyfallintooneoftwocategories:in-placeFFTalgorithmsanddouble-memoryFFTalgorithms.42There’sanotherclassofFFTstructures,knownasconstant-geometryalgorithms,thatmaketheaddressingofmemorybothsimpleandconstantforeachstageoftheFFT.Thesestructuresareofinteresttothosefolkswhobuildspecial-purposeFFThardwaredevices.Fortwo-dimensionalFFTapplications,suchasprocessingphotographicimages,thedecimation-in-frequencyalgorithmsappeartobetheoptimumchoice.5.5DiscreteConvolutionusingFFT43WenextconsidertheDFT-basedimplementationofwhereh[n]isafinite-lengthsequenceoflengthMandx[n]isaninfinitelength(orafinitelengthsequenceoflengthmuchgreaterthanM).
44Wefirstsegmentx[n],assumedtobeacausalsequenceherewithoutanylossofgenerality,intoasetofcontiguousfinite-lengthsubsequencesxm[n]oflengthNeach:where
Overlap-AddMethod45Thuswecanwrite
where
46
EachoftheseshortconvolutionscanbeimplementedusingtheDFT-basedmethoddiscussedearlier,wherenowtheDFTs(andtheIDFT)arecomputedonthebasisof(N+M-1)points.47Thereisonemoresubtletytotakecareofbeforewecanimplement
usingtheDFT-basedapproach
48
Sothat,thereisanoverlapofM-1samplesbetweenthesetwoshortlinearconvolutions.
49
ThisprocessisillustratedinthefigureonthenextslideforM=5andN=7.505152Therefore,y[n]obtainedbyalinearconvolutionofx[n]andh[n]isgivenby:
Theaboveprocedureiscalledtheoverlap-addmethodsincetheresultsoftheshortlinearconvolutionsoverlapandtheoverlappedportionsareaddedtogetthecorrectfinalresult.53Overlap-SavedMethodInimplementingtheoverlap-addmethodusingtheDFT,weneedtocomputetwo(N+M-1)-pointDFTsandone(N+M-1)-pointIDFTsincetheoveralllinearconvolutionwasexpressedasasumofshort-lengthlinearconvolutionsoflength(N+M-1)each.Itispossibletoimplementtheoveralllinearconvolutionbyperforminginsteadcircularconv
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 医疗行业对公业务发展机遇
- 初一美术上册课件
- 1 古诗二首 咏柳(教学设计)-2023-2024学年统编版语文二年级下册
- 团队管理与团队协作的重要性
- 课题开题报告:新时代大国工程全面融入大学生爱国主义教育机制研究
- 饭店前台业务信息流程
- 今天天气怎么样(教学设计)-2024-2025学年苏教版科学二年级上册
- 广西壮族自治区既有住宅加装电梯实施方案
- 2023六年级数学下册 三 图形的运动第3课时 图形的运动(1)教学实录 北师大版
- 课题开题报告:投资者视角下企业ESG漂绿的智能治理与优化研究
- 培训(第二课)-手表店顾客接待流程及技巧、各类报表制
- 中国机长刘传建的个人事迹ppt
- 山东省各地电厂联系方式
- DB32∕T 1713-2011 水利工程观测规程
- 浙江2018年度定额说明(土建)
- 我市安全生产工作情况的课题调研资料(共40页)
- 遗传算法最新版本课件(PPT 70页)
- 中学生生涯规划《MBTI-性格与职业探索》课件
- 纳兰容若纳兰性德及其词赏析
- msp430g2553测频率以及测峰值
- 旅游规划中的利益相关者解析
评论
0/150
提交评论