您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 其它相关文档 > 周莉莉-基于单片机控制电梯的控制系统设计
河南理工大学毕业设计(论文)说明书I摘要电梯是现在高层建筑中的垂直运输工具,更是一种标志着现代物质文明建设发展的机电一体化的复杂运输设备。它涉及到了电子技术、机械工程、电力电子技术、微机技术、电力拖动系统和土建工程等多个科学领域。因此电梯的生产情况和使用数量已成为一个国家现代化程度的标识之一。随着现代化城市的高速发展,一幢幢高楼拔地而起,每天都有大量人流及物流需要输送,为了节约用地和适应经贸事业的发展,而这些高层建筑的垂直运输就成为了一个突出问题,电梯作为解决这一问题的主角在人们的工作和生活中的地位就变得更加的凸显了。本设计就是对电梯这一垂直运输工具的运送规律的一种简单的模拟。设计中采用AT89C51单片机为核心控制元件及外围硬件电路构成了一个四层电梯控制系统的模型。通过对各楼层用户按键状态的检测,作为用户请求信息送到单片机,然后单片机通过改变端口的状态控制步进电机,实现了电机的调控功能,使电梯能够准确的停靠在请求楼层。软件部分使用汇编语言,利用中断方式来检测用户请求的按键信息,模拟按键引起的电平变化,送至单片机来确定楼层位置及请求方式,当电梯运行到各个楼层时,楼层数送数码管显示。硬件设计简单可靠,与软件相结合,基本实现了电梯的基本功能。关键词:单片机;电梯;步进电机;控制河南理工大学毕业设计(论文)说明书IIBasedonsingle-chipmicrocomputercontrolingtheelevator′scontrolsystemdesignationAbstractNowtheelevatoristheverticaltransportationtoolofthehighbuilding,butalsoamarkedaboutthemodernmaterialcivilizationconstructiondevelopmentintegrationofmachinerycomplextransportationequipment.Itinvolveselectronictechnology,mechanicalengineering,powerelectronictechnology,microcomputertechnology,electricdrivingsystemandcivilengineeringandsoonmanyfieldsofscience.Thereforeelevatorproductionconditionandusedquantityhasbecomeoneofthelogoesofthenationalmodernizationdegree.Withtherapiddevelopmentofmoderncity,everydaytherearelotsofpeopleandlogisticsneedtobesavedbythetransportation,andadapttotheeconomicandtradedevelopmentofthecauseoftheground,tallbuildingshavesprungup,buttheverticaltransportationbecameaprominentproblems,thestatusoftheelevatortosolvethissituationastheleadingroleinpeople'sworkandlifehasbecomingmorehighlights.Thisdesignisasimplesimulationaboutthetransportruleoftheverticaltransportationofelevator.UsingAT89C51microcontrollerasthecorecontrolcomponentsandperipheralhardwarecircuitconstitutedafourlayersofelevatorcontrolsystemmodelinthedesignation.Oneachfloorbydetectingstateofuserbuttons,andusersrequestinformationissenttomicrocontroller,thenthestatebychangingtheportoftheMCUtocontrolsteppingmotor,achievethemotorcontrolfunction,sothatelevatorcanaccuratedockedatrequestfloor.Softwarepartuseassemblylanguage,usinginterruptmodeto河南理工大学毕业设计(论文)说明书IIIdetectusersrequestkeyinformation,simulatekeystrokescauselevelchange,senttothemicrocontrollertodeterminethefloorpositionandrequestway,whenelevatorrunningtoeachfloor,thesignofthefloorissenttodigitaltubetodisplay.Hardwaredesignissimple,reliable,andunifiessoftware,basicallyachievedthebasicfunctionoftheelevator.Keywords:SCM;Elevator;Motor-stepper;Controling河南理工大学毕业设计(论文)说明书I目录1绪论........................................................11.1电梯概述................................................11.1.1电梯的定义与分类.....................................11.1.2电梯的组成...........................................11.1.3电梯的国内外发展史..................................22设计说明....................................................42.1课题的设计思路..........................................42.1.1硬件部分............................................42.1.2软件部分............................................42.2课题的开发环境..........................................42.2.1电路图绘制软件——PROTUES...........................42.2.2程序调试软件——WAVE................................52.3设计要求................................................52.4总体设计................................................62.4.1设计方案............................................62.4.2设计方框图..........................................73硬件器件介绍................................................83.1单片机概述..............................................83.1.1单片机的介绍........................................83.1.2单片机的硬件特性...................................83.1.3单片机的引脚及功能..................................93.2步进电机概述...........................................123.2.1步进电机...........................................123.2.2步进电机的工作原理.................................123.2.3步进电机的分类....................................123.2.4步进电机的特点.......................................133.3反应式步进电机........................................143.3.1反应式步进电机的工作原理.........................143.3.2反应式步进电机的驱动方式..........................153.3.3反应式步进电机的控制方式...........................163.4L298...................................................183.5显示部分...............................................203.5.1数码管.............................................203.5.2发光二极管........................................223.6CD4511.................................................223.774LS245................................................23河南理工大学毕业设计(论文)说明书II4电路设计...................................................254.1单片机最小系统设计....................................254.2键盘电路的设计........................................254.3步进电机驱动电路......................................274.4显示电路设计..........................................284.4.1楼层显示电路......................................284.4.2电梯外部请求显示电路...............................284.5超重报警电路..........................................295软件设计...................................................315.1初始化程序............................................315.2键盘扫描子程序........................................315.3程序要点说明..........................................315.4设计流程图............................................325.4.
本文标题:周莉莉-基于单片机控制电梯的控制系统设计
链接地址:https://www.777doc.com/doc-4832683 .html