步进电机控制论文

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

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

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

资源描述

1邯郸学院本科毕业论文(设计)题目基于单片机的步进电机控制系统设计学生xxx指导教师xxxx讲师年级2012级专业电气工程及其自动化二级学院xx学院邯郸学院机电学院2016年5月2郑重声明本人的毕业论文(设计)是在指导教师刘伟亮的指导下独立撰写完成的。如有剽窃、抄袭、造假等违反学术道德、学术规范和侵权的行为,本人愿意承担由此产生的各种后果,直至法律责任,并愿意通过网络接受公众的监督。特此郑重声明。毕业论文(设计)作者(签名):年月日3基于单片机的步进电机控制系统设计摘要步进电动机由于用其组成的开环系统既简单、廉价,又非常可行,因此在打印机等办公自动化设备以及各种控制装置等众多领域有着极其广泛的应用。随着微电子和计算机技术的发展,步进电机的需求量与日俱增,它广泛用于打印机、电动玩具等消费类产品以及数控机床、工业机器人、医疗器械等机电产品中,其在各个国民经济领域都有应用。研究步进电机的控制系统,对提高控制精度和响应速度、节约能源等都具有重要意义。步进电机是一种能将电脉冲信号转换成角位移或线位移的机电元件,步进电机控制系统主要由步进控制器,功率放大器及步进电机等组成。采用单片机控制,用软件代替上述步进控制器,使得线路简单,成本低,可靠性大大增加。软件编程可灵活产生不同类型步进电机励磁序列来控制各种步进电机的运行方式。本设计是采用STC89C51单片机对步进电机的控制,通过I/O口输出的时序方波作为步进电机的控制信号,信号经过芯片ULN2003驱动步进电机。根据不同的需要我们可以有十个不同档位速度的选择,并可以实现正反转。为了更显人性化,我们加上了一个数码管显示,显示步进电机的运行状态。关键词:步进电机,单片机,正反转控制,电机驱动4SteppingmotorcontrolsystemdesignbasedonMCUGuoChenDirectedbyLIUWeiLiangABSTRACTSteppermotorduetotheuseofthecompositionoftheopen-loopsystemissimple,cheap,andverypractical,soitisusedwidelyinmanyfieldsofprinterandotherofficeautomationequipmentandvariouscontroldevice.Withthedevelopmentofmicroelectronicsandcomputertechnology,thesteppermotordemandgrowwitheachpassingday,itiswidelyusedintheprinter,electrictoysandotherconsumerproductsandCNCmachines,industrialrobots,medicalequipmentandothermechanicalandelectricalproducts,whichareappliedinvariousfieldsofthenationaleconomy.Studiesofthesteppingmotorcontrolsystem,toimprovethecontrolprecisionandresponsespeed,isofgreatsignificancetoenergysavingetc..Steppermotorisapulsesignalcanbeconvertedintomechanicalangulardisplacementorlinedisplacementcomponents,steppermotorcontrolsystemiscomposedofsteppingcontrollercomposedofapoweramplifier,andsteppingmotor.Usingsinglechipmicrocomputercontrol,usingsoftwareinsteadoftheabovestepcontroller,thecircuitissimple,lowcost,reliabilityisimprovedgreatly.Softwareprogrammingflexibilitytoproduceoperationmodeofdifferenttypesofsteppermotorexcitationsequencetocontrolallkindsofsteppermotor.Accordingtodifferentneeds,wecanhavetendifferentgearspeedselection,andtherealizationofpositiveinversion.Inordertobemorehumanized,weaddedadigitaldisplay,displaytheoperatingstateofthesteppingmotor.KEYWORDS:Steppingmotorsingle-chipmicrocomputerpositiveinversioncontrolmotordrive5目录摘要..............................................................................................................................31.绪论.............................................................................................................................71.1步进电机及其发展..........................................................................................71.2步进电机在我国的发展应用及前景..............................................................71.3设计研究内容..................................................................................................82.步进电机控制总系统设计.........................................................................................92.1系统框架..........................................................................................................92.2主控芯片选择..................................................................................................92.3步进电机的选择............................................................................................102.4电机驱动的选择............................................................................................103.系统硬件电路设计...................................................................................................123.1系统硬件总电路构成.......................................................................................123.2步进电机系统................................................................................................123.3.1步进电机的原理..................................................................................123.2.2步进电机的特点..................................................................................133.2.3步进电机的分类..................................................................................143.2.4永磁步进电机的控制原理..................................................................143.3单片机系统......................................................................................................153.3.1单片机的引脚功能..............................................................................153.3.2主要特性..............................................................................................163.4键盘控制电路................................................................................................183.5数码管驱动显示电路......................................................................................193.6步进电机驱动电路..........................................................................................2064.控制系统软件分析与设计.....................................................................................224.1主程序流程图................................................................................................224.2读按键子程序流程图......................................................................................234.3按键处理子程序流程图................................................................................234.4电机控制中断程序流程图...........................

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

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

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

×
保存成功