外文翻译直接数字频率合成器_第1页
外文翻译直接数字频率合成器_第2页
外文翻译直接数字频率合成器_第3页
外文翻译直接数字频率合成器_第4页
外文翻译直接数字频率合成器_第5页
已阅读5页,还剩17页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论