已阅读5页,还剩55页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Unit9DigitalSignalProcessing PassageABasicConceptsofDSPPassageBDigitalSignalProcessorsPassageCComparisonofDSPandASP PassageABasicConceptsofDSP Wedon tspeakinadigitalsignal Adigitalsignalisalanguageof1sand0sthatcanbeprocessedbymathematics Wespeakinreal world analogsignals Analogsignalsarerealworldsignalsthatweexperienceeveryday sound light temperature andpressure Adigitalsignalisanumericalrepresentationoftheanalogsignal Itmaybeeasierandmorecosteffectivetoprocessthesesignalsinthedigitalworld Intherealworld wecanconvertthesesignalsintodigitalsignalsthroughtheanalog to digitalconverter processthesignals andifneeded bringthesignalsbackouttotheanalogworldthroughthe digital to analogconverter 1 Theessentialsofanalog to digitalanddigital to analogconversion Thefirstessentialstepinanalog to digital A D conversion asshowninFigure9 1 istosampleananalogsignal Thisstepisperformedbyasampleandholdcircuit whichsamplesatregularintervalscalledsamplingintervals Thelengthofthesamplingintervalisthesameasthesamplingperiod andthereciprocalofthesamplingperiodisthesamplingfrequencyfs AccordingtotheNyquisttheorem asignalwithamaximumfrequencyofWHz calledaband limitedsignal mustbesampledatleast2Wsamplespersecondtoensureaccuraterecording Whenthisminimumisnotrespected distortioncalledaliasingoccurs Aliasingcauseshighfrequencysignalstoappearaslowerfrequencysignals Tobesurealiasingwillnotoccur samplingisalwaysprecededbylowpassfiltering Thelowpassfilter calledtheanti aliasingfilter removesallfrequenciesabovehalftheselectedsamplingrate Figure9 1Analog to DigitalConversions Afterabriefacquisitiontime duringwhichasampleisacquired thesampleandholdcircuitholdsthesamplesteadyfortheremainderofthesamplinginterval ThisholdtimeisneededtoallowtimeforanA Dconvertertogenerateadigitalcodethatbestcorrespondstotheanalogsample TheA Dconverterchoosesaquantizationlevelforeachanalogsample An N bitconverterchoosesamong2Npossiblequantizationlevels Thelargerthenumberoflevels thesmallerthequantizationerrors calculatedasthedifferencebetweenthequantizedlevelandthetruesamplelevel MostquantizationerrorsarelimitedinsizetohalfaquantizationstepQ ThequantizationstepsizeiscalculatedasQ R 2N whereRisthefullscalerangeoftheanalogsignalandNisthenumberofbitsusedbytheconverter Thestrengthofthesignalcomparedtothatofthequantizationerrorsismeasuredbydynamicrangeandsignal to noiseratio Adigitalsignalisrepresentedbyasetofverticallineswithcirclesatthetoptomarkthequantizationlevelsselectedforeachsample ThebitrateforanA DconverteristheNfs wherefsisthesamplingrate Finally eachdigitalsampleisassignedadigitalcode whichcompletestheA Dprocess Theresultisadigitalbitstream Itisthiscollectionofdigitalcodesthatis processedindigitalsignalprocessing Tosummarize A Dcomprisesanti aliasing sampling quantizationanddigitization Oncedigitalsignalprocessingiscomplete digital to analog D A conversion asshowninFigure9 2 mustoccur Thisprocessbeginsbyconvertingeachdigitalcodeintoananalogvoltagethatisproportionalinsizetothenumberrepresentedbythecode Thisvoltageisheldsteadythroughzeroorderholduntilthenextcodeisavailable one samplingintervallater Thiscreatesastaircase likesignalthatcontainsfrequenciesabove WHz Thesesignalsareremovedwithasmoothinglowpassfilter thelaststepinD Aconversion Figure9 2Digital to AnalogConversions Theimagesofeachfrequencyfpresentinasampledsignalappear throughsampling attheinfinitenumberoffrequencies kfs fHz WhenthesamplingrateislowerthantherequiredNyquistrate thatisfs 2W imagesofhighfrequencysignalserroneouslyappearinthebaseband orNyquistrange duetoaliasing Whilethisundersamplingisnormallyavoided itcanbeexploited Forexample signalswhosefrequenciesare restrictedtoanarrowbandofhighfrequenciescanbesampledataratesimilartotwicethewidthofthebandinsteadoftwicethemaximumfrequency Alloftheimportantsignalcharacteristicscanbededucedfromthecopyofthespectrumthatappearsinthebasebandthroughsampling Dependingontherelationshipbetweenthesignalfrequenciesandthesamplingrate spectralinversionmaycausetheshapeofthespectruminthebasebandtobeinvertedfromthetruespectrumofthesignal 1 2 Technologiesfordigitalsignalprocessing Ifauniversalmicroprocessorsolutionexistedwithwhicheverydesigncouldberealized theelectronicsindustrywouldn tbeaverycompetitiveplace 2 However typicallyinmostelectronicdesigns morethanoneprocessortechnologycanbeusedtoimplementtherequiredfunctions Thetrickis ofcourse tochoosetheonethatbestdeliverstheperformance size powerconsumption features softwareandtoolstogetthejobdonefast withoutbreakingthebudget Afteralmosttwodecadesofdevelopment digitalsignalprocessorscontinuetotaketheplaceofcompetitiveprocessors Digitalsignalprocessorsare afterall atthecenterofsignalprocessing Adigitalsignalprocessor DSP isatypeofmicroprocessor onethatisincrediblyfastandpowerful ADSPisuniquebecauseitprocessesdatainrealtime Thisreal timecapabilitymakesaDSPperfectforapplicationsthatcannottolerateanydelays Forexample didyouevertalkonacellphonewheretwopeoplecouldn ttalkatonce Youhadtowaituntiltheotherpersonfinishedtalking Ifyoubothspokesimultaneously thesignalwascut youdidn theartheotherperson Withtoday sdigitalcellphones whichuseDSP youcantalknormally TheDSPinsidecellphonesprocesssoundssorapidlyyouhearthemasquicklyasyoucanspeak inrealtime HerearejustsomeoftheadvantagesofdesigningwithDSPsoverothermicroprocessors Single cyclemultiply accumulateoperations Real timeperformancesimulationandemulation Flexibility Reliability Increasedsystemperformance Reducedsystemcost However therearesomeoftheotheralternativesavailablefordigitalsignalprocessing HowtheycomparetoDSPs TheFPGAAlternative Field ProgrammableGateArrays FPGA havethecapabilityofbeingreconfigurablewithinasystem whichcanbeabigadvantageinapplicationsthatneedmultipletrialversionswithindevelopment offeringreasonablyfasttimetomarket Theyalsooffergreaterrawperformanceperspecificoperationbecauseoftheresultingdedicatedlogiccircuit However FPGAsaresignificantlymoreexpensiveandtypicallyhavemuchhigherpowerdissipationthanDSPswithsimilarfunctionality Assuch evenwhenFPGAsarethechosenperformancetechnologyindesignssuchaswirelessinfrastructure DSPsaretypicallyusedinconjunctionwithFPGAstoprovidegreaterflexibility betterprice performanceratios andlowersystempower TheASICAlternative Application specificICs ASIC canbetailoredtoperformspecificfunctionsextremely well andcanbemadequitepowerefficient However sinceASICSarenotfield programmable theirfunctionalitycannotbeiterativelychangedorupdatedwhileinproductdevelopment Assuch everynewversionoftheproductrequiresaredesignandtripsthroughthefoundry anexpensiveproposition andanimpedimenttorapidtime to market 3 ProgrammableDSPs ontheotherhand canbeupdatedwithoutchangingthe silicon merelychangethesoftwareprogram greatlyreducingdevelopmentcosts and availingaftermarketfeatureenhancementswithmerecodedownloads Consequently more oftenthannot whenyouseeASICsinrealtimesignalprocessingapplications theyaretypicallyemployedasbusinterfaces gluelogic and orfunctionalacceleratorsforaprogrammableDSP basedsystem TheGPPAlternative IncontrasttoASICsthatareoptimizedforspecificfunctions general purposemicroprocessors GPPs arebestsuitedforperformingabroadarrayoftasks However forapplicationsinwhichtheendproductmustprocessanswersinrealtime ormustdosowhilepoweredbyconsumerbatteries GPPscomparativelypoorrealtimeperformanceandhighpowerconsumptionallbutrulesthemout 4 Moreandmore theseprocessorsarebeingseenasthedinosaursoftheindustry tooencumberedwithPCcompatibilityanddesktopfeaturestoadapttothechangingrealtimemarketplace Astheworldembracestinyhand heldwireless enabledproductsthatrequirepowerdissipationmeasuredinmilliwatts notthewattsthattheseprocessorsconsume DSPsaretheprogrammabletechnologyofchoice ThattrendisboundtocontinueasdigitalInternetappliancesgetsmaller fasterandmoreportable Notes 1 Dependingontherelationshipbetweenthesignalfrequenciesandthesamplingrate spectralinversionmaycausetheshapeofthespectruminthebasebandtobeinvertedfromthetruespectrumofthesignal 根据信号频率和采样频率之间的关系的不同 可能出现 频谱反转 现象 基带频谱的形状和信号真实频谱的形状正好相反 beinvertedfrom 和 相反 所谓基带是指不加任何调制过程的数字信号传输 基带带宽全部用来传送数字脉冲信号 并可以通过时分复用的方式进行多路数字信号的传输 2 Ifauniversalmicroprocessorsolutionexistedwithwhicheverydesigncouldrealized theelectronicsindustrywouldn tbeaverycompetitiveplace 假如存在可用以实现任何设计的通用微处理器的话 电子行业就不会竞争得如此激烈了 本句为虚拟语气 3 Assuch everynewversionoftheproductrequiresaredesignandtripsthroughthefoundry anexpensiveproposition andanimpedimenttorapidtime to market 而且 每次推出一个新产品都需要重新设计并经历所有制造流程 这样做不但造价昂贵 而且不利于迅速上市 time to market的意思为 上市时间 foundry是指为第三方制造芯片的半导体制造商 可以指那些出售其富余生产能力的大型芯片制造企业 也可以是指专为其他公司制造芯片的企业 4 However forapplicationsinwhichtheendproductmustprocessanswersinrealtime ormustdosowhilepoweredbyconsumerbatteries GPPscomparativelypoorrealtimeperformanceandhighpowerconsumptionallbutrulesthemout 然而 在最终产品必须实时响应的应用中 或者必须在电池供电下实现实时响应的应用中 由于GPP实时性能较差 功耗大 因此就被排除在外了 allbut此处作rulethemout的状语 涵义为 几乎 差一点 ruleout的意思是 将 排除在外 Exercises 1 Fillintheblanks 1 Thefirstessentialstepinconversionistosampleananalogsignal 2 Thelengthoftheisthesameasthe andthereciprocalofthesamplingperiodisthesamplingfrequencyfs 3 Tosummarize A Dcomprises and 4 Aisatypeofmicroprocessor onethatisincrediblyfastandpowerful 5 IncontrasttoASICsthatareoptimizedforspecificfunctions arebestsuitedforperformingabroadarrayoftasks 6 havethecapabilityofbeingreconfigurablewithinasystem whichcanbeabigadvantageinapplicationsthatneedmultipletrialversionswithindevelopment offeringreasonablyfasttimetomarket 2 TranslatethefollowingparagraphintoChinese Thefirststepinconvertingananalogsignalissampling Thisstepisaccomplished usingasampleandholdcircuit whichgrabsasamplefromthesignalandholdsitsteadyuntilthenextsamplingtime Samplesarenormallycollectedatregulartimeintervals calledsamplingperiods Iftherateofthesamplingisnotadequate distortioncalledaliasingcanoccur TheoutputfromthesampleandholdcircuitispassedtoanA Dconverter whichchoosesaquantizationlevelthatisclosesttotheactualamplitudeofthesignal ThisisthesecondstepinA Dconversion Thenumberoflevelstochoosefromdependsonthenumberofbitsusedbytheconverter forNbits 2Nlevelsarepossible Sinceanalog amplitudescannotingeneralberepresentedperfectlyinadigitalsystem quantizationerrorsoccur 3 TranslatethefollowingsentencesintoEnglish 1 数字信号处理是无数家用和商用系统中的关键部分 其应用领域与日俱增 因此 DSP正在成为技术专家和工程师专业知识的一个重要组成部分 2 数字信号处理可分为定点和浮点两大类 定点和浮点指的是器件内用于存储和操作数据的格式 定点数字信号处理通常用最少16位来表示每个数据 典型的浮点数字信号处理器用最少32位来存储每个数据 3 和其他科学和工程应用一样 数字信号处理器通常使用汇编语言或者C语言进行编程 然而 DSP程序和传统软件任务不同 首先 程序通常短得多 如100行而不是1万行 其次 执行速度往往是其应用的关键部分 PassageBDigitalSignalProcessors Digitalsignalprocessingtaskscanbeperformedbyallprocessors Specializeddigitalsignalprocessors DSPs however performthesetasksmostefficientlyandmostquickly WhiletraditionalprocessorsfollowtheVonNeumannarchitecturemodel asshowninFigure9 3 whichassumesasharedsinglememorytobeusedforbothprograminstructionsanddata DSPsusetheHarvardormodifiedHarvardarchitecture asshownin Figure9 4 whichincludesmultipleprogramanddatamemories alongwithmultiplebusestoaccessthem 1 Thisarrangementmeansthatmuchlesswaitingisrequiredwhen instructionsor numbersarefetchedfrommemory Infactatleastoneofeachcanbefetchedsimultaneously Suchoverlappingoftasksiscalledpipelining Inadditiontomultiplememoriesandbuses allDSPshavefastmultipliers accumulators andshifters andmanyhavehardwaresupportforcircularbuffers Addressgeneratorscanspeedupaccessestomemorylocationsreferencedbyregisters Figure9 3VonNeumannArchitecture Figure9 4HarvardArchitecture DSPsareavailableintwomajorclasses fixedpointandfloatingpoint Thefixedpointclassrepresentsrealnumbersinafixednumberofbits Thepositionofthebinarypoint similartothedecimalpoint canbecontrolledbytheprogrammer anddeterminestherangeofnumbersthatcanberepresented Astherangeincreases though theavailableprecisiongoesdown sincefewerbitslietotherightofthebinarypoint In16bits theformats16 0 15 1 14 2 13 3 12 4 11 5 10 6 9 7 8 8 7 9 6 10 5 11 4 12 3 13 2 14 and1 15arepossible Thedynamicrange calculatedas20log FullScaleRange SmallestResolvableDifference remainsthesameforall16 bitformats 20log216 96 3dB FloatingpointDSPsrepresentrealnumbersusingamantissaandanexponent similartoscientificnotation Manycombinemantissaandexponentintoa32 bitnumber The dynamicrangeforfloatingpointdevicesiscalculatedfromthelargestandsmallestmultipliers2E whereEistheexponent Thus forarepresentationthatuses24bitsforthemantissaand8bitsforthesignedexponent thedynamicrangeis20lg 2127 2 128 1535 3dB Alargedynamicrangemeansthesystemhasgreatpowertorepresentawiderangeofinput signals fromverysmalltoverylarge AssemblylanguageisthecommandlanguageforDSPs DSPsoftenhavespecializedinstructionsthatmakeprogrammingforcommonDSPtasksmoreconvenientandmore efficient Forexample mostDSPsoffermulti functioninstructionsthatexploittheirparallelarchitecture Otherconstructsthatarefrequentlyofferedareefficientloopingschemes sincesomanyDSPoperationsinvolveagreatdealofrepetition ChoosingaDSPforaparticularapplicationisnotalwayseasy Thefirstdecisionisonwhethertochooseafixedpointorafloatingpointdevice 2 Generally fixedpointdevicesarecheaperandquicker butfloatingpointdevicesaremoreconvenienttoprogramandmoresuitedtocalculation intensivealgorithms Second thedatawidthoftheDSPdetermineshowaccuratelyitcanrepresentnumbers Speedisanotherissue notonlyhowmanycyclesoccurineachsecond butalsohowmanyinstructionsexecuteineachcycleandhowmuchworkeachoftheseinstructionsaccomplishes OnewaytoassesstheminimumrequirementsfortheDSPistoestimatehowmanyinstructionsmustbeexecutedforeachreceivedsample Whenthisnumberismultipliedbythesamplingfrequency theminimumrequirednumberofinstructionspersecondisobtained ThespecifichardwareandsoftwarefeaturesofferedbyaparticularDSPcanmakeonechoicebetterthananother ascantheamountofon chipmemoryavailable SometimesDSPsarechosenbecausewell matchedsupportinghardware particularlyA DandD Aconverters isobtainable Frequently thequalityandconvenienceofthesoftwaretools forbothlowlevelandhighlevelprogramminglanguages arealsomajorfactors asistheavailabilityofthirdpartysoftware Asalways costisafactor Infact quiteoften theDSPthatisfastestandoffersthemostfeatures butalsofitsthebudget istheoneselected DSPscanbepurchasedinthreeforms asacore asaprocessor andasaboardlevelproduct InDSP theterm core referstothesectionoftheprocessorwherethekeytasksarecarriedout includingthedataregisters multiplier ALU addressgenerator andprogramsequencer Acompleteprocessorrequirescombiningthecorewithmemoryandinterfacestotheoutsideworld Whilethecoreandtheseperipheralsectionsare designedseparately theywillbefabricatedonthesamepieceofsilicon makingthe processorasingleintegratedcircuit SupposeyoubuildcellulartelephonesandwanttoincludeaDSPinthedesign YouwillprobablywanttopurchasetheDSPasaprocessor thatis anintegratedcircuitthatcontainsthecore memoryandotherinternalfeatures ToincorporatethisICinyourproduct youhavetodesignaprintedcircuitboardwhereitwillbesolderedinnexttoyourotherelectronics ThisisthemostcommonwaythatDSPsareused Now supposethecompanyyouworkformanufacturesitsownintegratedcircuits Inthiscase youmightnotwanttheentireprocessor justthedesignofthecore Aftercompletingtheappropriatelicensingagreement youcanstartmakingchipsthatarehighlycustomizedtoyourparticularapplication Thisgivesyoutheflexibilityofselectinghowmuchmemoryisincluded howthechipreceivesandtransmitsdata howitispackaged andsoon CustomdevicesofthistypeareanincreasinglyimportantsegmentoftheDSPmarketplace ThereareseveraldozencompaniesthatwillsellyouDSPsalreadymountedonaprintedcircuitboard ThesehavesuchfeaturesasyourDSPsalreadymountedonaextramemory A DandD Aconverters EPROMsockets multipleprocessorsonthesameboard andsoon Whilesomeoftheseboardsareintendedtobeusedasstandalonecomputers mostareconfiguredtobepluggedintoahost suchasapersonalcomputer CompaniesthatmakethesetypesofboardsarecalledThirdPartyDevelopers ThebestwaytofindthemistoaskthemanufactureroftheDSPyouwanttouse LookattheDSPmanufacturer swebsite ifyoudon tfindalistthere sendthemane mail Theywillbemorethanhappytotellyouwhoareusingtheirproductsandhowtocontactthem KeepinmindthatthedistinctionbetweenDSPsandothermicroprocessorsisnot alwaysaclearline Forinstance lookathowInteldescribestheMMXtechnologyadditiontoitsPentiumprocessor Intelengineershaveadded57powerfulnewinstructionsspecificallydesignedtomanipulateandprocessvideo audioandgraphicaldataefficiently Theseinstructionsareorientedtothehighlyparallel repetitivesequencesoftenfoundinmultimediaoperations Inthefuture wewillundoubtedlyseemoreDSP likefunctionsmergedintotraditionalmicroprocessorsandmicrocontrollers TheInternetandothermultimediaapplicationsareastrongdrivingforceforthesechanges Theseapplicationsareexpandingsorapidly intwentyyearsitisverypossiblethatthedigitalsignalprocessormaybethe traditional microprocessor Notes 1 WhiletraditionalprocessorsfollowtheVonNeumannarchitecturemodel whichassumesasharedsinglememorytobeusedforbothprograminstructionsanddata DSPsusetheHarvardormodifiedHarvardarchitecture whichincludesmultipleprogramanddatamemories alongwithmultiplebusestoaccessthem 传统的处理器遵循冯 诺依曼模型 该模型采用一个单一的共享存储器 同时存储程序指令和数据 而数字信号处理器使用的是哈佛结构或改进的哈佛结构 该结构包含多个程序和数据存储器以及访问这些存储器的多套总线 冯 诺依曼结构 取名自美国杰出的数学家约翰 冯 诺依曼 JohnVon Neumann 1903 1957 他引导了20世纪初许多重大数学发现 他的主要成就包括 提出了存储程序计算机 storedprogramcomputer 的概念 对量子力学的数学公式化及在原子弹方面的工作 哈佛结构 取名自20世纪40年代HowardAiken 1900 1973 领导的在哈佛大学 HarvardUniversity 做的研究工作 2 Thefirstdecisionisonwhethertochooseafixedpointorafloatingpointdevice 首先要决定的是选择定点器件还是浮点器件 定点和浮点指的是器件内用于存储和操作数据的格式 通常 定点数字信号处理最少用16位来表示每个数据 典型的浮点数字信号处理器最少用32位来存储每个数据 Exercises 1 Fillintheblanks 1 Thefirstdecisionisonwhethertochooseapointorapointdevice 2 ThespecifichardwareandsoftwarefeaturesofferedbyaparticularDSPcanmakeonechoicebetterthananother ascantheamountofavailable 3 SometimesDSPsarechosenbecausesupportinghardware particularly A DandD Aconverters isobtainable 4 DSPscanbepurchasedinthreeforms and 5 Companiesthatmakethesetypesofboardsarecalled 6 Acompleteprocessorrequirescombiningthecorewithand totheoutsideworld 2 TranslatethefollowingparagraphsintoChinese 1 Theprimaryreasonforprocessingreal worldsignalsistoextractinformationfromthem Thisinformationnormal
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 亲子教育培训方案及家庭教育指导
- 2026-2031中国汽车线束行业市场深度分析及发展前景预测报告
- 2025年及未来5年中国婴儿保育设备行业市场深度分析及投资战略规划研究报告
- 2025年及未来5年中国家用发酵箱行业市场调查研究及投资战略研究报告
- 2025年及未来5年中国路标漆行业市场全景调研及投资规划建议报告
- 海水淡化与再生水回用系统集成设计-洞察及研究
- 2025-2030中国药物筛选市场渠道建设与营销策略报告
- 保险教育与企业人才需求匹配-洞察及研究
- 北亚集团科技合作与研发中的人工智能应用研究-洞察及研究
- 汽车零部件行业国际贸易中的环保技术应用-洞察及研究
- 仓储管理招聘题库及答案
- 医院感染预防措施
- 景区物业服务特色方案可行性报告
- 2026年海南工商职业学院单招综合素质考试必刷测试卷及答案1套
- 中考英语688高频词大纲词频表
- 提高手术患者术前准备完善率医院护理品管圈QCC成果汇报
- YY/T 1244-2014体外诊断试剂用纯化水
- 学术道德与学术规范答案
- 2022-2023学年中图版高中地理选择性必修一课件:3.3 气候的形成及其对自然景观的影响 (24张)
- 六合资料-全年资料-港台内幕天机诗
- 售后配件管理制度
评论
0/150
提交评论