关于vhdl的英文资料.docx

上传人:b****9 文档编号:23417506 上传时间:2023-05-16 格式:DOCX 页数:12 大小:24.53KB
下载 相关 举报
关于vhdl的英文资料.docx_第1页
第1页 / 共12页
关于vhdl的英文资料.docx_第2页
第2页 / 共12页
关于vhdl的英文资料.docx_第3页
第3页 / 共12页
关于vhdl的英文资料.docx_第4页
第4页 / 共12页
关于vhdl的英文资料.docx_第5页
第5页 / 共12页
点击查看更多>>
下载资源
资源描述

关于vhdl的英文资料.docx

《关于vhdl的英文资料.docx》由会员分享,可在线阅读,更多相关《关于vhdl的英文资料.docx(12页珍藏版)》请在冰豆网上搜索。

关于vhdl的英文资料.docx

关于vhdl的英文资料

Introductiontosignalgenerator

Asignalgenerator,alsoknownvariouslyasatestsignalgenerator,functiongenerator,tonegenerator,arbitrarywaveformgenerator,digitalpatterngeneratororfrequencygeneratorisanelectronicdevicethatgeneratesrepeatingornon-repeatingelectronicsignals(ineithertheanalogordigitaldomains).Theyaregenerallyusedindesigning,testing,troubleshooting,andrepairingelectronicorelectroacousticdevices.

Therearemanydifferenttypesofsignalgenerators,withdifferentpurposesandapplications(andatvaryinglevelsofexpense);ingeneral,nodeviceissuitableforallpossibleapplications.Traditionally,signalgeneratorshavebeenembeddedhardwareunits,butsincetheageofmultimedia-PCs,flexible,programmablesoftwaretonegeneratorshavealsobeenavailable.

Functiongenerators:

Afunctiongeneratorisadevicewhichproducessimplerepetitivewaveforms.Suchdevicescontainanelectronicoscillator,acircuitthatiscapableofcreatingarepetitivewaveform.(Moderndevicesmayusedigitalsignalprocessingtosynthesizewaveforms,followedbyadigitaltoanalogconverter,orDAC,toproduceananalogoutput).Themostcommonwaveformisasinewave,butsawtooth,step(pulse),square,andtriangularwaveformoscillatorsarecommonlyavailableasarearbitrarywaveformgenerators(AWGs).Iftheoscillatoroperatesabovetheaudiofrequencyrange(>20kHz),thegeneratorwilloftenincludesomesortofmodulationfunctionsuchasamplitudemodulation(AM),frequencymodulation(FM),orphasemodulation(PM)aswellasasecondoscillatorthatprovidesanaudiofrequencymodulationwaveform.

Arbitrarywaveformgenerators

Arbitrarywaveformgenerators,orAWGs,aresophisticatedsignalgeneratorswhichallowtheusertogeneratearbitrarywaveforms,withinpublishedlimitsoffrequencyrange,accuracy,andoutputlevel.Unlikefunctiongenerators,whicharelimitedtoasimplesetofwaveforms;anAWGallowstheusertospecifyasourcewaveforminavarietyofdifferentways.AWGsaregenerallymoreexpensivethanfunctiongenerators,andareoftenmorehighlylimitedinavailablebandwidth;asaresult,theyaregenerallylimitedtohigher-enddesignandtestapplications.

Specialpurposesignalgenerators

Atonegeneratorandaprobeforlocatingaspecificpairofwiresamongstmany,forexampleinapunchblock.Inadditiontotheabovegeneral-purposedevices,thereareseveralclassesofsignalgeneratorsdesignedforspecificapplications.

Tonegeneratorsandaudiogenerators

Atonegeneratorisatypeofsignalgeneratoroptimizedforuseinaudioandacousticsapplications.Tonegeneratorstypicallyincludesinewavesovertheaudiofrequencyrange(20Hz–20kHz).Sophisticatedtonegeneratorswillalsoincludesweepgenerators(afunctionwhichvariestheoutputfrequencyoverarange,inordertomakefrequency-domainmeasurements),multitonegenerators(whichoutputseveraltonessimultaneously,andareusedtocheckforintermodulationdistortionandothernon-lineareffects),andtonebursts(usedtomeasureresponsetotransients).Tonegeneratorsaretypicallyusedinconjunctionwithsoundlevelmeters,whenmeasuringtheacousticsofaroomorasoundreproductionsystem,and/orwithoscilloscopesorspecializedaudioanalyzers.

Manytonegeneratorsoperateinthedigitaldomain,producingoutputinvariousdigitalaudioformatssuchasAES-3,orSPDIF.Suchgeneratorsmayincludespecialsignalstostimulatevariousdigitaleffectsandproblems,suchasclipping,jitter,biterrors;theyalsooftenprovidewaystomanipulatethemetadataassociatedwithdigitalaudioformats.

Thetermsynthesizerisusedforadevicethatgeneratesaudiosignalsformusic,orthatusesslightlymoreintricatemethods.

Videosignalgenerators

Avideosignalgeneratorisadevicewhichoutputspredeterminedvideoand/ortelevisionwaveforms,andothersignalsusedtostimulatefaultsin,oraidinparametricmeasurementsof,televisionandvideosystems.Thereareseveraldifferenttypesofvideosignalgeneratorsinwidespreaduse.Regardlessofthespecifictype,theoutputofavideogeneratorwillgenerallycontainsynchronizationsignalsappropriatefortelevision,includinghorizontalandverticalsyncpulses(inanalog)orsyncwords(indigital).Generatorsofcompositevideosignals(suchasNTSCandPAL)willalsoincludeacolorburstsignalaspartoftheoutput.Videosignalgeneratorsareavailableforawidevarietyofapplications,andforawidevarietyofdigitalformats;manyofthesealsoincludeaudiogenerationcapability(astheaudiotrackisanimportantpartofanyvideoortelevisionprogramormotionpicture).

Manyapplicationsrequirelow-frequencysignalgeneratorsthatcandeliverhigh-performance,high-resolutionsignals.ThisDesignIdeapresentsacircuitthatgeneratesfrequenciesof0to1MHz.Sinusoidal,triangular,andsquare-waveoutputsareavailable.Youcanachievefrequencyresolutionofbetterthan0.1Hzandphaseresolutionofbetterthan0.1°;thus,youcanprogramexactcoherentfrequencies.Thisfeatureisusefulindigitalmodulationandfrequency-tuningapplications.ThecircuitusestheADµC831andADC0832togeneratetherequiredfrequencies.YoucanprogramthemicrocontrollerfromeitheraPCoraUnix-basedworkstation.YouthenprogramtheADC0832usingathree-wireserialinterfaceviathemicrocontroller.Theinterfacewordis16bitslong.

YoucanprogramtheADC0832toprovidesinusoidal,triangular,andsquare-waveoutputsusing(direct-digital-synthesis)architecture.ThechipoperatesasanNCO(numericallycontrolledoscillator)usinganon-chip,28-bitphaseaccumulator,sine-coefficientROM,anda10-bitD/Aconverter.Youtypicallyconsidersinewavesintermsoftheirmagnitudeform,A(t)=sin(ωt).Theamplitudeisnonlinearandis,therefore,difficulttogenerate.Theangularinformation,ontheotherhand,isperfectlylinear.Thatis,thephaseanglerotatesthroughafixedangleforeachunitintime.Knowingthatthephaseofasinewaveislinear,and,givenareferenceinterval(clockperiod),youcandeterminethephaserotationforthatperiod:

ΔPhase=ωdt;ω=ΔPhase/dt=2πf,andf=(ΔPhase×fMCLK)/(2π),wheredt=1/fMCLK,andfMCLKisthemasterclock..Usingthisformula,youcangenerateoutputfrequencies,knowingthephaseandmaster-clockfrequency.Thephaseaccumulatorprovidesthe28-bitlinearphase.Theamplitudecoefficientsoftheoutputsinewavearestoredindigitalformatinthesine-coefficientROM.TheDACconvertsthesinewavetotheanalogdomain.IfyoubypasstheROM,theADC0832deliverstriangularwaveformsinsteadofsinusoidalwaveforms.Asquare-waveoutputisalsoavailableonthepart.showsthevariouswaveformsavailablefromthesystem.Asshownin,thesinusoidal/triangularoutputwaveformsareavailableontheIOUTpin(Pin19);andthesquarewaveoutputisavailableontheSIGN_BIT_OUTpin(Pin16).YouprogramtheDDSbywritingtothefrequencyregisters.Theanalogoutputfromthepartisthen:

fOUT=fMCLK/228×(frequency-registerword).

TheoutputsoftheDDShave28-bitresolution,soeffectivefrequencystepsontheorderof0.1Hzarepossibletoamaximumofapproximately1MHz.showsthetypicalwaveformoutputs.Twophaseregistersareavailablethatallow12-bitphaseresolution.Theseregistersphase-shiftthesignalby:

Phaseshift=2π/4096×(phase-registerword).A50-MHzcrystaloscillatorprovidesthereferenceclockfortheDDS.TheoutputstageoftheDDSisacurrent-outputDACloadedbyanexternalresistor.A200Ωresistorgeneratestherequiredpeak-to-peakvoltagerange.Theoutputisac-coupledthroughcapacitorC1.TheMicroConvertercontainstwoon-chip,12-bitDACs.DAC1variesthecurrentthroughR5,adjustingthefull-scalecurrentoftheDDSviatheFSADJUSTpin.Theequationtocontrolthefull-scalecurrentoftheDDSDACis:

IOUT(full-scale)=18×I×R5.

DAC0,theinternalreferenceoftheMicroConverter,andopamp2allowforoffsetcontroloftheoutputvoltageoftheDDS.Youcanprogramthisdcoffsetto±10Vat10-bitresolution.WhenR1=R2andthegainofopamp2=8,thentheoutputofopamp2is:

VOUT=(DACoutput–(VREF/2))×8,yieldinga±10Vrange.

ResistorsR6throughR9allowforcontrolofgainthroughopamp3.Thegainoftheopampisafunctionofresistorswitching,whichyouenableusingtheRDRIVEpinavailableontheMicroConverter.Thisoperationallowsforaneffectiveprogrammable-outputamplitudeofapproximately±10Vp-p.Thus,thecircuitallowsforprogrammablesinusoidalandtriangularwaves,includingdcoffsets,andtheabilitytosetpeak-to-peakamplitudeofapproximately±10V.ThesquarewaveoutputontheSIGN_BIT_OUTpinhas0to5Vamplitude.Forlow-frequencyoperation,alowpassfilternormallyservestofilterreference-clockfrequencies,spurs,andotherimages.Forapplicationsinwhichtheoutputsignalneedsamplification,youshoulduseanarrowbandfiltertofilteroutunwantednoisebeforethegainstage.Athird-orderfilterwouldbegoodenoughtoremovemostoftheunwantednoise.Figure3showsatypicalspectralplotoftheoutput.Applicationsforthiscircuitrangefromsignal-waveformgenerationtodigitalmodulation.Youcanusethesysteminfrequency-sweepingand-scanningapplicationsandinresonanceapplicationsthatusethefrequencyasanexcitationsignaltodeterminecircuitresonanceWaveform—usuallyasinewave—bygeneratingatime-varyingsignalindigitalformandthenperformingadigital-to-analogconversion.BecauseoperationswithinaSignalgeneratordeviceareprimarilydigital,itcanofferfastswitchingbetweenoutputfrequencies,finefrequencyresolution,andoperationoverabroadspectrumof

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 互联网

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1