基于单片机及AD9850的正弦信号发生器设计说明书

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

陕西理工学院毕业设计第1页共64页[摘要]本设计使用51单片机对DDS芯片进行控制,利用DDS造波的方法产生需要的正弦信号.用户可以根据需要对芯片设定一个频率值或相位值,通过单片机传输芯片控制字对芯片输出的频率和相位进行调节,达到用户所要求的信号。本设计采用模块化设计的方法,不同的模块为实现不同的功能而设计,总体由单片机控制协调工作。利用51单片机控制DDS芯片造波,具有如下优越性:1.造价低廉。51系列单片机应用广泛,价格低廉,比较容易购买,DDS芯片价格较单片机稍高,但与价格成百上千的成品信号发生器相比,本设计经济优势显著。2.电路简单。本设计利用单片机进行数字化控制,外围元件较少,仅需辅以少量的阻容元件用于电流电压匹配控制以及滤波电路既可。3.频率控制准确高效。数字化控制的最大优点即控制准确。本设计选用的DDS芯片内置32位高速数模转换器,分辨率高,响应快。[关键词]51单片机;DDS造波;频率;TheDesignofSinusoidalSignalGeneratorBasedonSinglechipFanPengxing[Abstract]:Thedesignuse51series’singlechiptocontrolDDSchip’sworking.UsingDDSmethodtoproducesinesignal.Theusercansetafrequencyorphasevaluefreely.Toachievetheuserrequestsignal,thesinglechipneedsendingacontrolwordtoDDSchip,whichdeterminesthefrequencyandphasevalues.Thisdesignusesthemodulardesignmethod,differentmodulesdesignedfordifferentfunctions.Singlechipresponsibleforcoordinationofallwork.ThebenefitsofDDSmethodtoproducesinesignalasfollows:1.lowcost.The51series’singlechip’sapplicationarerange,sotheyhavelowpriceandareeasytopurchase.ThepriceofDDSchipisslightlyhigherthansinglechip.buttocomparewiththecommoditysignalgeneratorwhichvalueshundredseventhousands,theadvantagesofthisdesignisobvious.2.Simplecircuit..BenefitswhichdigitalcontroltakesisPeripheralelementisless.It’sonlyneedafewcapacitanceandresistanceelementforcrrentandvoltagematchingandfilter.3.Frequencycontrolisaccurateandefficient.Frequencycontrolisaccurateandefficient.ThisdesignusingDDSchipwith32bithighspeedD/Aconverter,whichhasahighresolution,fastresponse.[Keywords]:51singlechip;DDSmethodtoproducesignal;Frequency;陕西理工学院毕业设计第2页共64页目录TheDesignofSinusoidalSignalGeneratorBasedonSinglechip.......................................1引言..............................................................................................................................41绪论..........................................................................................................................51.1单片机在函数信号发生器中的应用............................................................................51.2发展现状.........................................................................................................................51.3项目可行性研究.............................................................................................................51.4设计任务和要求.............................................................................................................62.方案及工作原理.......................................................................................................62.1方案设计.........................................................................................................................62.1.1方案一..........................................................................................................................62.1.2方案二.........................................................................................................................62.1.3方案三.........................................................................................................................62.1.4方案四.........................................................................................................................62.2DDS工作原理................................................................................................................72.3DDS移相原理................................................................................................................73.电路设计...................................................................................................................83.1设计思路.........................................................................................................................83.2元件选型.........................................................................................................................83.3系统总体框图.................................................................................................................83.4STC89C52RC单片机.....................................................................................................93.5AD9850芯片................................................................................................................103.5.1AD9850芯片简介.....................................................................................................103.5.2AD9850工作方式介绍.............................................................................................113.5.3相位控制字的计算....................................................................................................113.61602LCD显示屏..........................................................................................................123.6.1液晶概述....................................................................................................................123.6.2接口信号说明............................................................................................................12陕西理工学院毕业设计第3页共64页3.6.31602地址说明...........................................................................................................133.6.4160

1 / 64
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功