资源描述:
《可编程脉冲信号发生器的设计-大学毕业(设计)论文.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、洛阳理工学院毕业设计(论文)毕业设计论文可编程脉冲信号发生器的设计摘要基于单片机的可编程脉冲信号发生器,通过4x4的非编码矩阵键盘键入脉冲信号的指标参数频率、占空比和脉冲个数,在单片机的控制处理下发出满足信号指标的脉冲信号,并在液晶显示屏的制定位置显示出相关参数。复位电路采用上电复位和手动复位的复合复位方式,保证单片机在上电和程序运行进入死循环时,单片机均能正常复位。利用在工作方式1下的定时器和计数输出低频脉冲信号,以及在工作方式2下能够自动重复赋初值的定时器输出高频脉冲信号,从而使频率和占空比满足指标要求。通过程序设计,使单片机每次发出信号后等到重置信号进行下
2、一次脉冲信号的输出,有效的提高了单片机的使用效率。本课题设计利用单片机技术,通过相应的软件编程和较简易的外围硬件电路来实现,其产生的脉冲信号干扰小,输出稳定,可靠性高,人机界面友好,操作简单方便,成本低,携带方便,扩展性强。关键的是,脉冲信号频率、脉冲个数和脉冲占空比可调节,可通过键盘输入并由显示器显示出来。本课题设计所要达到的指标要求:(1)脉冲信号频率0.1HZ到50KHZ可调并在液晶显示屏指定位置显示。(2)脉冲信号个数0到9999可调并在液晶显示屏指定位置显示。(3)脉冲信号占空比任意可调并在液晶屏显屏指定位置示出来。关键词:单片机,脉冲信号,频率,脉冲
3、个数,占空比8洛阳理工学院毕业设计(论文)ProgrammablepulsesignalgeneratordesignABSTRACTTheprogrammablepulsesignalgeneratorbasedonsinglechip,throughthe4x4non-codingmatrixkeyboardinputingpulsesignalparametersoffrequency,dutycycleandpulsenumber,pulsesignalissenttomeetthetargetsofsignalprocessingchip.Therel
4、atedparametersaredisplayedonthesettingpositionontheliquidcrystal.Theresetcircuitbypower-onresetandmanualreset,ensuretheSCMinpowerandrunintodeadcirculationcanbereset.Useinworkmode1timerandcounteroutputlowfrequencypulsesignal,andinworkmode2totimeroutputhighfrequencypulsesignal,automati
5、clyrepeatinitialization,soastomakethefrequencyanddutyratiomeettherequirements.Throughtheprogramdesign,themicrocontrollereachsignalandthenwaitfortheresetsignal,thesignalattheoutputofthepulsenexttime,effectivelyimprovetheefficiencyintheuseofsingle-chipmicrocomputer.Thesubjectoftheuseof
6、single-chiptechnology,whichachievedthroughthecorrespondingsoftwareandthesimpleperipheralhardwarecircuit.Theadvantagesofwhicharethesmallinterferenceofthepulsesignal,outputstability,highreliability,friendlyman-machineinterface,easyoperation,lowcost,portability,scalabilitystrong.Thekeys
7、,pulsefrequency,pulsenumberandpulsedutyratioareadjustable,whichcanbeinputedthroughthekeyboardanddisplayedthroughLCD.Therequirementsofthistopicdesign:(1)Thepulsesignalfrequencyof0.1HZto50KHZisadjustableandcanbedisplaiedonthespecifylocationintheLCDscreen.(2)Pulsesignalnumberof0to9999is
8、adjustedandc