资源描述:
《毕业设计(论文)-基于FPGA的多波形信号发生器》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、哈尔滨理工大学学士学位论文基于FPGA的多波形信号发生器摘要在信号发生器的设计中,传统的用分立元件或通用数字电路元件设计电子线路的方法设计周期长,花费大,可移植性差。本设计是利用EDA技术设计的电路,该信号发生器输出信号的频率范围为20Hz~20KHz,幅度的峰-峰值为0.3V~5V两路信号之间可实现0°~359°的相位差。侧重叙述了用FPGA来完成直接数字频率合成器(DDS)的设计,DDS由相位累加器和正弦ROM查找表两个功能块组成,其中ROM查找表由兆功能模块LPM_ROM来实现。而通过设定不同的累加器初值(K1)和初始相位值(K2
2、),可以调节两路相同频率正弦信号之间的相位差,从而产生两路数字式的频率、相位和幅值可调的正弦波信号,最后通过MAX+plusII演示仿真结果。与传统的频率合成方法相比,DDS合成信号具有频率切换时间短、频率分辨率高、相位变化连续等诸多优点。使用单片机灵活的控制能力与FPGA器件的高性能、高集成度相结合,可以克服传统DDS设计中的不足,从而设计开发出性能优良的DDS系统。关键词:单片机;可编程逻辑门阵列;正弦信号发生器;硬件描述语言-II-哈尔滨理工大学学士学位论文FPGA-basedmulti-wavesignalgeneratorAb
3、stractInthedesignofthesignalgenerator,thetraditionalseparationcomponentsorwithgeneraldigitalcircuitcomponentsofelectroniccircuitdesignmethoddesigncycleislongandcostly,portabilitypoor.ThisdesignisusingEDAtechnologydesignofthecircuit,thissignalgeneratoroutputsignalfrequenc
4、yrangefor20Hzac~20KHz,theamplitudeofthepeakpeakof0.3V-5Vtworoadbetween0°signalcanberealized°~359ofthephasedifference.FocusingontheFPGAtocompletewithnarrativedirectdigitalfrequencysynthesizer(DDS)design,byphaseaccumulatorsDDSandsineROMlook-uptabletwofunctionblocks,oneofRO
5、Mlook-uptablebysignsLPM_ROMfunctionmoduletorealize.Andthroughthesettingoftheinitialvaluedifferentaccumulator(K1)andinitialphasevalue(K2),canadjustthetworoadthesamefrequencysinesignalofthephasedifferencebetweentworoad,whichcausesthedigitalfrequency,phaseandamplitudeadjust
6、ablesinesignals,finallythroughtheMAX+plusIIdemosimulationresults.Andthetraditionalsynthesismethodsoffrequency,comparedwithfrequencysignalDDSsynthesisswitchtimeisshort,thehighfrequencyresolutionandphasechangecontinuous,andmanyotheradvantages.Useofflexiblecontrolabilityand
7、chiptheFPGAdeviceofhighperformance,highlevelofintegration,andthecombinationofcanovercometheshortcomingsoftraditionaldesignDDStodesign,developthegoodperformanceofDDSsystem.Keywords:MCU;FPGA;ROMsinewavegenerator;VHDL-II-哈尔滨理工大学学士学位论文目录摘要……IAbstractII第1章绪论11.1多波形信号发生器的背景11.
8、2多波形信号发生器国内外研究概况21.3本文的主要研究工作3第2章系统的设计方案42.1系统的性能要求42.2系统实现的原理42.2.1DDS的基本原理52.2.2FPGA实现的直接数字频率合成器62.2.