资源描述:
《20081342151 简易低频信号源的设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、淮北师范大学2012届学士毕业论文简易低频信号源的设计淮北师范大学2012届学士学位论文简易低频信号源的设计学院、专业物理与电子信息学院电子信息工程研究方向学生姓名袁行猛学号20081342151指导教师姓名窦德召指导教师职称2012年4月28日IV淮北师范大学2012届学士毕业论文简易低频信号源的设计简易低频信号源的设计袁行猛淮北师范大学物理与电子信息学院235000摘要近年来,单片微型计算机作为微型计算机的一个很重要的分支,以其强大的生命力飞速发展,在众多领域里得到了广泛的应用,因而引起了各行各业的极大关注,有着广阔的发展前景。本次设计目的是设计低频信号源。以AT
2、89C52单片机为核心,用C语言开发,组成一个单片机控制低频信号发生器。低频信号发生器是一种能够产生多种波形,如三角波、锯齿波、方波、正弦波等波形的电路被称为函数信号发生器。我们可以通过按键选择输出波形转换以及频率的控制。现在我们通过对信号发生器的原理以及构成设计一个能变换出三角波、正弦波、方波的简易信号发生器。我们通过对电路的分析,参数的确定选择出一种最适合本课题的方案。本次设计中要求输出信号的频率较低,因此使用了单片机作为控制器,用中断查表法完成波形数据的输出,再用D/A转换器将输出的数字电信号转化为模拟电信号。其中D/A转换器输出规定的正弦波或三角波信号,方波信
3、号则直接由单片机的端口输出。结合功能要求情况,使用51系列单片机作为控制器,用DAC0832作为D/A转换器,功能按键使用单片机的3个端口。关键词函数信号发生器;AT89C52单片机;D/A转换器IV淮北师范大学2012届学士毕业论文简易低频信号源的设计TheDesignoftheSimplelowfrequencysignalgeneratorYuanxingmengSchoolofPhysicsandElectronicInformation,HuaiBeiNormalUniversity,235000AbstractInrecentyears,single-ch
4、ipmicro-computermicro-computerasaveryimportantbranch,therapiddevelopmentofitsvitality,inmanyfieldshasbeenwidelyapplied,givingrisetogreatconcerntoallwalksoflife,hasbroadprospectsfordevelopment.Thedesignprocessisthepreparationoflow-frequencysignalgenerator.AT89C52chipasthecoreofthisprogra
5、m,usingClanguagedevelopment,theformationofasingle-chipcontrollow-frequencysignalgenerator.Isalowfrequencysignalgeneratorcanproduceavarietyofwaveformssuchastriangle,sawtooth,squarewave,sinewavesuchasthecircuitisknownassignalgenerator.Wecanconvertbuttontoselecttheoutputwaveformandfrequenc
6、ycontrol.Nowwearethroughtheprincipleofsignalgeneratorandaformdesignedtotransformatrianglewave,sinewave,asimplesquarewavesignalgenerator.Throughthecircuitanalysistodeterminetheparameterschoosethemostsuitablesolutionofthisissue.Thedesignisbasedonsingle-chiplow-frequencysignalgenerator,Tim
7、esthedesignovidesoutputsinewaveortriangularwavesignal,square-wavesignalisoutputdirectlyfromthemicrocontrollerport.Combinedwithfunctionalrequirements,usethe51seriesasacontroller,aswiththeDAC0832D/Aconverter,microcontrollerusefunctionkeysofthethreeports.KeywordsFunctionGenerator;