版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AllAboutDirectDigitalByEvaMurphy ColmSlattery WhatisDirectDigitalDirectdigitalsynthesis(DDS)isamethodofproducinganogwaveform—usuallyasinewave—bygeneratingatime-varyingsignalindigitalformandthenperformingadigital-to-ogconversion.BecauseoperationswithinaDDSdeviceareprimarilydigital,itcanofferfastswitchingbetweenoutputfrequencies,finefrequencyresolution,andoperationoverabroadspectrumoffrequencies.Withadvancesindesignandprocesstechnology,today’sDDSdevicesareverycompactanddrawlittlepower.Whywouldoneuseadirectdigitalsynthesizer(DDS)?Aren’tthereothermethodsforeasilygeneratingfrequencies?Theabilitytoaccurayproduceandcontrolwaveformsofvariousfrequenciesandprofileshas eakeyrequirementcommontoanumberofindustries.Whetherprovidingagilesourcesoflow-phase-noisevariable-frequencieswithgoodspuriousperformanceforcommunications,orsimplygeneratingafrequencystimulusinindustrialorbiomedicaltestequipmentapplications,convenience,compactness,andlowcostareimportantdesignconsiderations.Manypossibilitiesforfrequencygenerationareopentoadesigner,rangingfromphase-locked-loop(PLL)-basedtechniquesforveryhigh-frequencysynthesis,todynamicprogrammingofdigital-to-ogconverter(DAC)outputstogeneratearbitrarywaveformsatlowerfrequencies.ButtheDDStechniqueisrapidlygainingacceptanceforsolvingfrequency-(orwaveform)generationrequirementsinbothcommunicationsandindustrialapplicationsbecausesingle-chipICdevicescangenerateprogrbleogoutputwaveformssimplyandwithhighresolutionandaccuracy.Furthermore,thecontinualimprovementsinbothprocesstechnologyanddesignhaveresultedincostandpowerconsumptionlevelsthatwerepreviouslyunthinkablylow.Forexample,theAD9833,aDDS-based
Figure1.TheAD9833-aone-chipwaveformwaveformgenerator(Figure1),operatingat5.5Vwitha25-MHzclock,consumesumpowerof30WhatarethemainbenefitsofusingaDDSdevicesliketheAD9833areprogrammedthroughahighspeedserialperipheral-interface(SPI),andneedonlyanexternalclocktogeneratesimplesinewaves.DDSdevicesarenowavailablethatcangeneratefrequenciesfromlessthan1Hzupto400MHz(basedona1-GHzclock).Thebenefitsoftheirlowpower,lowcost,andsinglesmallpackage,combinedwiththeirinherentexcellentperformanceandtheabilitytodigitallyprogram(andre-program)theoutputwaveform,makeDDSdevicesanextremelyattractivesolution—preferabletoless-flexiblesolutionscomprisingaggregationsofdiscreteelements.WhatkindofoutputscanIgeneratewithatypicalDDSDDSdevicesarenotlimitedtopurelysinusoidaloutputs.Figure2showsthesquare-,triangular-,andsinusoidaloutputsavailablefromanAD9833.HowdoesaDDSdevicecreateasineHere’sabreakdownoftheinternalcircuitryofaDDSdevice:itsmaincomponentsareaphaseaccumulator,ameansofphase-to-amplitudeconversion(oftenasinelook-uptable),andaTheseblocksarerepresentedinFigureADDSproducesasinewaveata
Figure2.Square-,triangular-,andsinusoidaloutputsfromaDDS.frequency.Thefrequencydependsontwovariables,thereference-clockfrequencyandthebinarynumberprogrammedintothefrequencyregister(tuningword).Thebinarynumberinthefrequencyregisterprovidesthemaininputtothephaseaccumulator.Ifasinelook-uptableisused,phaseaccumulator
Figure3.Componentsofadirectdigitalaphase(angle)addressforthelook-uptable,whichoutputsthedigitalvalueofamplitude—correspondingtothesineofthatphaseangle—totheDAC.TheDAC,inturn,convertsthatnumbertoacorrespondingvalueofogvoltageorcurrent.Togenerateafixed-frequencysinewave,aconstantvalue(thephaseincrement—whichisdeterminedbythebinarynumber)isaddedtothephaseaccumulatorwitheachclockcycle.Ifthephaseincrementislarge,thephaseaccumulatorwillstepquicklythroughthesinelook-uptableandthusgenerateahighfrequencysinewave.Ifthephaseincrementissmall,thephaseaccumulatorwilltakemanymoresteps,accordinglygeneratingaslowerwaveform.WhatdoyoumeanbyacompleteTheintegrationofaD/AconverterandaDDSontoasinglechipiscommonlyknownasacompleteDDSsolution,apropertycommontoallDDSdevicesfromLet’stalksomemoreaboutthephaseaccumulator.HowdoesitContinuous-timesinusoidalsignalshavearepetitiveangularphaserangeof02.Thedigitalimplementationisnodifferent.Thecounter’scarryfunctionallowsthephaseaccumulatortoactasaphasewheelintheDDSimplementation.Tounderstandthisbasicfunction,visualizethesine-waveoscillationasavectorrotatingaroundaphasecircle(seeFigure4).Eachdesignatedpointonthephasewheelcorrespondstotheequivalentpointonacycleofasinewave.Asthevectorrotatesaroundthewheel,visualizethatthesineoftheanglegeneratesacorrespondingoutputsinewave.Onerevolutionofthevectoraroundthephasewheel,ataconstantspeed,resultsinonecompletecycleoftheoutputsinewave.Thephaseaccumulatorprovidestheequallyspacedangular panyingthelinearrotationaroundthephasewheel.Thecontentsofthephaseaccumulatorcorrespondtothepointsonthecycleoftheoutputsinewave.Figure4.DigitalphaseThephaseaccumulatorisactuallyamodulo-Mcounterthatincrementsitsstorednumbereachtimeitreceivesaclockpulse.Themagnitudeoftheincrementisdeterminedbythebinary-codedinputword(M).Thiswordformsthephasestepbetweenreference-clockupdates;iteffectivelysetshowmanypointstoskiparoundthephasewheel.Thelargerthejumpsize,thefasterthephaseaccumulatoroverflowsandcompletesitsequivalentofasine-wavecycle.Thenumberofdiscretephasepointscontainedinthewheelisdeterminedbytheresolutionofthephaseaccumulator(n),whichdeterminesthetuningresolutionoftheDDS.Forann=28-bitphaseaccumulator,anMvalueof0000...0001wouldresultinthephaseaccumulatoroverflowingafter28reference-clockcycles(increments).IftheMvalueischangedto0111...1111,thephaseaccumulatorwilloverflowafteronly2reference-clockcycles(theminimumrequiredbyNyquist).ThisrelationshipisinthebasictuningequationforDDS
MfOUT=outputfrequencyoftheDDSM=binarytuningwordfC=internalreferenceclockfrequency(systemclock)n=lengthofthephaseaccumulator,inbitsChangestothevalueofMresultinimmediateandphase-continuouschangesintheoutputfrequency.Noloopsettlingtimeisincurredasinthecaseofaphase-lockedAstheoutputfrequencyisincreased,thenumberofsamplespercycledecreases.Sincesamplingtheorydictatesthatatleasttwosamplespercyclearerequiredtoreconstructtheoutputwaveform,theumfundamentaloutputfrequencyofaDDSisfC/2.However,forpracticalapplications,theoutputfrequencyislimitedtosomewhatlessthanthat,improvingthequalityofthereconstructedwaveformandpermittingfilteringontheoutput.Whengeneratingaconstantfrequency,theoutputofthephaseaccumulatorincreaseslinearly,sotheogwaveformitgeneratesisinherentlyaramp.ThenhowisthatlinearoutputtranslatedintoasineAphase-to-amplitudelookuptableisusedtoconvertthephase-accumulator’sinstantaneousoutputvalue(28bitsforAD9833)—withunneededless-significantbitseliminatedbytruncation—intothesine-waveamplitudeinformationthatispresentedtothe(10-bit)D/Aconverter.TheDDSarchitectureexploitsthesymmetricalnatureofasinewaveandutilizesmaplogictosynthesizeacompletesinewavefromone-quarter-cycleofdatafromthephaseaccumulator.Thephase-to-amplitudelookup
Figure5.SignalflowthroughtheDDStablegeneratestheremainingdatabyreadingforwardthenbackthroughthelookuptable.ThisisshownpictoriallyinFigure5.WhatarepopularusesforApplicationscurrentlyusingDDS-basedwaveformgenerationfallintotwoprincipalcategories:Designersofcommunicationssystemsrequiringagile(i.e.,immediayresponding)frequencysourceswithexcellentphasenoiseandspuriousperformanceoftenchooseDDSforitscombinationofspectralperformanceandfrequency-tuningresolution.SuchapplicationsincludeusingaDDSformodulation,asareferenceforaPLLtoenhanceoverallfrequencytunability,asalocaloscillator(LO),orevenfordirectRFtransmission.Alternatively,manyindustrialandbiomedicalapplicationsuseaDDSasaprogrblewaveformgenerator.BecauseaDDSisdigitallyprogrble,thephaseandfrequencyofawaveformcanbeeasilyadjustedwithouttheneedtochangetheexternalcomponentsthatwouldnormallyneedtobechangedwhenusingtraditionalog-programmedwaveformgenerators.DDSpermitssimpleadjustmentsoffrequencyinrealtimetolocateresonantfrequenciesorcompensatefortemperaturedrift.SuchapplicationsincludeusingaDDSinadjustablefrequencysourcestomeasureimpedance(forexampleinanimpedance-basedsensor),togeneratepulse-wavemodulatedsignalsformicro-actuation,ortoexamineattenuationinLANsorephonecables.WhatdoyouconsidertobethekeyadvantagesofDDStodesignersofreal-worldequipmentandsystems?Today’scost-competitive,high-performance,functionallyintegratedDDSICs ingcommoninbothcommunicationsystemsandsensorapplications.Theadvantagesthatmakethemattractivetodesignengineersinclude:digitallycontrolledmicro-hertzfrequency-tuningandsub-degreephase-tuningextremelyfasthopspeedintuningoutputfrequency(orphase);phase-continuousfrequencyhopswithnoovershoot/undershootorog-relatedloopsettling-timeanomalies,thedigitalarchitectureofDDSeliminatestheneedforthemanualtuningandtweakingrelatedtocomponentagingandtemperaturedriftinogsynthesizersolutions,andthedigitalcontrolinterfaceoftheDDSarchitecturefacilitatesanenvironmentwheresystemscanberemoycontrolledandoptimizedwithhighresolutionunderprocessorHowwouldIuseaDDSdeviceforFSKBinaryfrequency-shiftkeying(usuallyreferredtosimplyasFSK)isoneofthesimplestformsofdataencoding.Thedataistransmittedbyshiftingthefrequencyofacontinuouscarriertooneoftwodiscretefrequencies(hencebinary).Onefrequency,f1,(perhapsthehigher)isdesignatedasthemarkfrequency(binaryone)andtheother,f0,asthespacefrequency(binaryzero).Figure6showsanexampleoftherelationshipbetweenthemark-spacedataandthetransmittedsignal.ThisencodingschemeiseasilyimplementedusingaDDS.TheDDSfrequencytuningword,representingtheoutputfrequencies,issettotheappropriatevaluestogeneratef0andf1astheyoccurinthepatternof0sandtobetransmitted.Theuserthetworequiredtuningwordsinto
Figure6.FSKdevicebeforetransmission.InthecaseoftheAD9834,twofrequencyregistersareavailabletofacilitateconvenientFSKencoding.Adedicatedpinonthedevice(FSELECT)acceptsthemodulatingsignalandselectstheappropriatetuningword(orfrequencyregister).TheblockdiagraminFigure7demonstratesasimpleimplementationofFSKencoding.AndhowaboutPSKPhase-shiftkeying(PSK)isanothersimpleformofdataencoding.InPSK,thefrequencyofthecarrierremainsandthephaseofthetransmittedsignalisvariedtoconveytheinformation.
Figure7.ADDS-basedFSKOftheschemesto plishPSK,thesimplest-knownasbinaryPSK(BPSK)—usesjusttwosignalphases,0degreesand180degrees.BPSKencodes0phaseshiftforalogic1inputand180phaseshiftforalogic0input.Thestateofeachbitisdeterminedaccordingtothestateoftheprecedingbit.Ifthephaseofthewavedoesnotchange,thesignalstatestaysthesame(loworhigh).Ifthephaseofthewavereverses(changesby180degrees),thenthesignalstatechanges(fromlowtohigh,orfromhightolow).PSKencodingiseasilyimplementedwithDDSICs.Mostofthedeviceshaveaseparateinputregister(aphaseregister)thatcanbeloadedwithaphasevalue.Thisvalueisdirectlyaddedtothephaseofthecarrierwithoutchangingitsfrequency.Changingthecontentsofthisregistermodulatesthephaseofthecarrier,thusgeneratingaPSKoutputsignal.Forapplicationsthatrequirehighspeedmodulation,theAD9834allowsthepreloadedphaseregisterstobeselectedusingadedicatedtogglinginputpin(PSELECT),whichalternatesbetweentheregistersandmodulatesthecarrierasrequired.MoresophisticatedformsofPSKemployfour-oreight-wavephases.ThisallowsbinarydatatobetransmittedatafasterrateperphasechangethanispossiblewithBPSKmodulation.Infour-phasemodulation(quadraturePSKorQPSK),thepossiblephaseanglesare0,+90,–90,and180degrees;eachphaseshiftcanrepresenttwosignalelements.TheAD9830,AD9831,AD9832,andAD9835providefourphaseregisterstoallowcomplexphasemodulationschemestobeimplementedbycontinuouslyupdatingdifferentphaseoffsetstotheregisters.CanmultipleDDSdevicesbesynchronizedfor,say,I-QItispossibletousetwosingleDDSdevicesthatoperateonthesamemasterclocktooutputtwosignalswhosephaserelationshipcanthenbedirectlycontrolled.InFigure8,twoAD9834sareprogrammedusingonereferenceclock,withthesameresetpinbeingusedtoupdatebothparts.Usingthissetup,itispossibletodoI-QFigure8.MultipleDDSICsinFigure8.MultipleDDSICsinsynchronousmode.Aresetmustbeassertedafterpower-upandpriortotransferringanydatatotheDDS.ThissetstheDDSoutputtoaknownphase,whichservesasthecommonreferencepointthatallowssynchronizationofmultipleDDSdevices.WhennewdataissentsimultaneouslytomultipleDDSunits,acoherentphaserelationshipcanbemaintained,andtheirrelativephaseoffsetcanbepredictablyshiftedbymeansofthephase-offsetregister.TheAD9833andAD9834have12bitsofphaseresolution,withaneffectiveresolutionof0.1degree.[ForfurtherdetailsonsynchronizingmultipleDDSunitspleaseseeApplicationNoteAN-605.]WhatarethekeyperformancespecsofaDDSbasedPhasenoise,jitter,andspurious-dynamicrangePhasenoiseisameasure(dBc/Hz)oftheshort-termfrequencyinstabilityoftheoscillator.Itismeasuredasthesingle-sidebandnoiseresultingfromchangesinfrequency(indecibelsbelowtheamplitudeattheoperatingfrequencyoftheoscillatorusinga1-Hzbandwidth)attwoormorefrequencydiscementsfromtheoperatingfrequencyoftheoscillator.Thismeasurementhasparticularapplicationtoperformanceintheogcommunicationsindustry.DoDDSdeviceshavegoodphaseNoiseinasampledsystemdependsonmanyfactors.Reference-clockjittercanbeseenasphasenoiseonthefundamentalsignalinaDDSsystem;andphasetruncationmayintroduceanerrorlevelintothesystem,dependingonthecodewordchosen.Foraratiothatcanbeexactlyexpressedbyatruncatedbinary-codedword,thereisnotruncationerror.Forratiosrequiringmorebitsthanareavailable,thefortheAD9834.Outputfrequencyis2MHzandMclockis50MHz.resultingphasenoisetruncationerrorresultsinspursinaspectralplot.Theirmagnitudesanddistributiondependsonthecodewordchosen.TheDACalsocontributestonoiseinthesystem.DACzationorlinearityerrorswillresultinbothnoiseandharmonics.Figure9showsaphasenoiseplotforatypicalDDSdevice—inthiscaseanAD9834.WhataboutJitteristhedynamicdiscementofdigitalsignaledgesfromtheirlong-termaveragepositions,measuredindegreesrms.Aperfectoscillatorwouldhaverisingandfallingedgesoccurringatpreciselyregularmomentsintimeandwouldnevervary.This,ofcourse,isimpossible,aseventhebestoscillatorsareconstructedfromrealcomponentswithsourcesofnoiseandotherimperfections.Ahigh-quality,low-phase-noisecrystaloscillatorwillhavejitteroflessthan35picoseconds(ps)ofperiodjitter,accumulatedovermanymillionsofclockedgesJitterinoscillatorsiscausedbythermalnoise,instabilitiesintheoscillatorelectronics,externalinterferencethroughthepowerrails,ground,andeventheoutputconnections.Otherinfluencesincludeexternalmagneticorelectricfields,suchasRFinterferencefromnearbytransmitters,whichcancontributejitteraffectingtheoscillator’soutput.Evenasimpleamplifier,inverter,orbufferwillcontributejittertoasignal.ThustheoutputofaDDSdevicewilladdacertainamountofjitter.Sinceeveryclockwillalreadyhaveanintrinsiclevelofjitter,choosinganoscillatorwithjitteriscriticaltobeginwith.Dividingdownthefrequencyofahigh-frequencyclockisonewaytoreducejitter.Withfrequencydivision,thesameamountofjitteroccurswithinalongerperiod,reducingitspercentageofsystemtime.Ingeneral,toreduceessentialsourcesofjitterandavoidintroducingadditionalsources,oneshoulduseastablereferenceclock,avoidusingsignalsandcircuitsthatslewslowly,andusethehighestfeasiblereferencefrequencytoallowincreasedSpurious-DynamicRange(SFDR)referstotheratio(measuredindecibels)betweenthehighestlevelofthefundamentalsignalandthehighestlevelofanyspurious,signal—includingaliasesandharmonicallyrelatedfrequencycomponents—inthespectrum.FortheverybestSFDR,itisessentialtobeginwithahigh-qualityoscillator.SFDRisanimportantspecificationinanapplicationwherethefrequencyspectrumisbeingsharedwithothercommunicationchannelsandapplications.Ifatransmitter’soutputsendsspurioussignalsintootherfrequencybands,theycancorrupt,orinterruptneighboringsignals.TypicaloutputplotstakenfromanAD9834(10-bitDDS)witha50MHzmasterclockareshowninFigure10.In(a),theoutputfrequencyisexactly1/3ofthemasterclockfrequency(MCLK).Becauseofthejudiciouschoiceoffrequencies,therearenoharmonicfrequenciesinthe25-MHzwindow,aliasesareminimized,andthespuriousbehaviorappearsexcellent,withallspursatleast80dBbelowthesignal(SFDR=80dB).Thelowerfrequencysettingin(b)hasmorepointstoshapethewaveform(butnotenoughforareallycleanwaveform),andgivesamorerealisticpicture;thelargestspur,atthesecond-harmonicfrequency,isabout50dBbelowthesignal(SFDR=50dB).(a)fOUT= (b)fOUT=Figure10.OutputofanAD9834witha50MHzmasterDoyouhavetoolsthatmakeiteasiertoprogramandpredicttheperformanceoftheDDS?Theon-linein ctivedesigntoolisanassistantforselectingtuningwords,givenareferenceclockanddesiredoutputfrequenciesand/orphases.Therequiredfrequencyischosen,andidealizedoutputharmonicsareshownafteranexternal
Figure11.Screenpresentationprovidedbyanin ctivedesigntool.Asinx/xpresentationofatypicaldevicereconstructionfilterhasbeenapplied.AnexampleisshowninFigure11.Tabulardataisalsoprovidedforthemajorimagesandharmonics.HowwillthesetoolshelpmeprogramtheAllthat’sneededistherequiredfrequencyoutputandthesystem’sreferenceclockfrequency.Thedesigntoolwilloutputthefullprogrammingsequencerequiredto Figure12.Typicaldisyofprogrammingthepart.IntheexampleinFigure12,theMCLKissetto25MHzandthedesiredoutputfrequencyissetto10MHz.Oncetheupdatebuttonispressed,thefullprogrammingsequencetoprogramthepartiscontainedintheInitSequenceregister.HowcanIevaluateyourDDSdevices?AllDDSdeviceshaveanevaluationboardavailableforpurchase.Theycomewithdedicatedsoftware,allowingtheusertotest/evaluatetheparteasilywithinminutesofre
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 上海海事职业技术学院《传播学教程》2025-2026学年期末试卷
- 泰州学院《病原生物与免疫学》2025-2026学年期末试卷
- 伦理学道德规范
- 著作权许可使用合同协议书模板
- 2026年成人高考计算机应用技术(专科)真题单套试卷
- 电工进行电力工程施工的常见问题及对策
- 2026年成人高考法学专业宪法与行政法真题单套试卷
- 2026年材料科学与工程专升本材料力学模拟试卷
- 证券从业资格考试历年真题及答案
- 招聘笔试题库及答案
- 虚拟电厂柔性控制系统设计说明书
- 工程建设质量信得过班组创建材料
- 人音版《采花》教学设计
- 西宁市湟水河城区段水生态综合治理工程建设项目环评报告
- 中国葡萄酒产区和企业-9
- 库房的管理制度
- GB/T 9797-2022金属及其他无机覆盖层镍、镍+铬、铜+镍和铜+镍+铬电镀层
- GB/T 8642-2002热喷涂抗拉结合强度的测定
- GB/T 19289-2019电工钢带(片)的电阻率、密度和叠装系数的测量方法
- GB/T 16588-2009带传动工业用多楔带与带轮PH、PJ、PK、PL和PM型:尺寸
- 毫秒脉冲星及X-射线双星某些重要性质的理论解释课件
评论
0/150
提交评论