资源描述:
《基于单片机的函数发生器的设计和实现(毕业论文)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、本科毕业设计(论文)题 目:基于单片机的函数发生器的设计和实现学 院:信息工程学院专 业:学 号:学生姓名:指导教师:二○一一年五月八日2011届毕业设计(论文)基于单片机的函数发生器的设计和实现XXX摘要函数发生器是一种用于产生标准信号的电子仪器,它广泛用于工业生产、科研和国防等各个领域中,所以论文选题具有一定的实用意义。本文在介绍了函数发生器的基本概念及原理的基础上,核心采用AT89C52单片机,完成了简易的DDS函数发生器的硬件设计和软件编程,并通过调试实现了其功能和主要技术指标。在系
2、统的硬件部分,设计了由单片机最小系统为核心、通过接口设计,扩展了DAC转换模块、按键和LED显示模块。其中,采用两片DAC0832实现了全数字化的频率合成器(简称DDS)。系统的软件设计是在keiluVision4的集成开发环境下,采用C语言完成了应用系统软件编程,包括主程序、产生四种常用信号的程序、按键功能和显示子程序等电脑模块;模块化的编程使得程序具有可读性和易于维护的特点。最后,作者用protel99SE设计并制作了函数发生器的印制电路板PCB;并完成了样机的制作和调试。在实验室里,进行了测试
3、,结果表明系统达到设计要求。关键词:信号发生器,AT89C52,keilc51III2011届毕业设计(论文)MCU-basedFunctionSignalGeneratorDesignABSTRACTThefunctiongeneratorisonekindusesinproducingthestandardsignalelectronicinstrumentation,itwidelyusesintheindustrialproduction,thescientificresearchandth
4、enationaldefenseandsooneachdomain,thereforethepaperselectedtopichascertainpracticalsignificance.ThisarticlelaybetweentheShaofunctiongeneratorthebasicconceptandintheprinciplefoundation,usedat89C52monolithicintegratedcircuitisthecore,hascompletedthesimpl
5、eDDSfunctiongeneratorhardwaredesignandthesoftwareprogramming,andhasrealizeditsfunctionandthemajortechniquetargetthroughthedebugging.Insystem'shardwarepart,hasdesignedbythemonolithicintegratedcircuitsmallestsystemforthecore,throughtheconnectiondesign,ex
6、pandedtheDACtransformationmodule,thepressedkeyandtheLEDdisplaymodule.And,usedtwopieceofDAC0832torealizeEntiredigitizedfrequencysynthesizer(i.e.DDS).System'ssoftwaredesignisunderthekeiluVision4integrateddevelopmentenvironment,usedtheClanguagetocompletet
7、heapplicationsystemsoftwareprogramming,includingthemasterroutine,hadfourkindofcommonlyusedcomputermodulesandsoonsignalprocedures,pressedkeyfunctionanddemonstrationsubroutine;Themodularprogrammingenablestheproceduretohavethecharacteristicwhichthereadabi
8、lityandeasytomaintain.Finally,theauthordesignedandhasmanufacturedfunctiongeneratorprintcircuitwaferPCBwithprotel99SE;Andhascompletedprototype'smanufactureandthedebugging.Inthelaboratory,hascarriedonthetest,finallyindicatedthatthesystema