资源描述:
《毕业论文_基于Atmega128单片机的电梯控制系统设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、毕业论文论文题目基于Atmega128单片机的电梯控制系统 摘要本文介绍了以Atmega128单片机为核心控制器件的电梯自动控制系统,包括课题概述、方案论证、硬件设计、软件设计、系统调试等几个部分。该系统采用Atmega128单片机作为控制核心,通过扫描内外按键按下与否引起的电平的改变,作为用户请求信息发送到单片机,控制电动机转动,单片机根据楼层检测结果控制电机停在目标楼层,单片机通过hx711称重模块,判断出此时电梯的重量。自动开关门部分通过接近开关、霍尔限位开关等完成到达目标楼层自动开关门功
2、能。掉电保护部分实时保护电梯电梯时电梯厢不会往下坠,12864液晶、数码管、蜂鸣器实时显示、提示当前的信息。硬件部分主要有电源模块、单片机最小系统、每层楼层检测模块、12864和数码管显示部分、电动机驱动模块、按键模块、报警模块、自动开关门、智能防夹模块、掉电保护等部分组成。软件部分介绍了系统程序设计思路、程序功能分析,着重介绍了主程序的逻辑结构,还分别介绍了报警、按键扫描、层位读取、显示、电梯控制逻辑等子程序的结构和功能。软件部分,使用C语言编写,易于调试。硬件设计简单可靠,结合软件,基本实现了
3、五层电梯运行的逼真模拟。关键词:Atmega128;hx711称重;液晶显示;自动开关门;电梯控制;IVTheElevatorControlSystemBasedonMicroprocessorAbstractThisarticleintroducestheAtmega128microcontrollerasthecorecontroldeviceoftheelevatorcontrolsystem,includingtheissuesoutlined,programfeasibilitystud
4、ies,hardwaredesign,softwaredesign,systemdebugging,andseveralotherparts.Thesystemusesamicrocontrollerasthecontrolcentre,Firstly,itisbyscanningtheinternalandexternalelectricallevelchangecausedbykeyboardtobeauserrequestsinformationtothemicrocontroller,co
5、ntrolthemotorrotation,themicrocontrollercontrolsthemotorbasedontestresultsfloorsstoppedinthetargetfloor.Hardwarepartmainlyaremadeofthemicrocontroller,floordetectionmodule,horizon12864,digitaltubedisplay,electricmotordrivemodule,keyscanmodule,alarmmodu
6、le,circuitdirectionsupanddownthelinecallsandothercomponents.Floordetectionusesphotoelectricsensors.Whenelevatorgoestotheappropriatefloor,Photoelectricsensorsproduceelectricallevelchangessenttothemicrocontrollertodeterminethefloor,.Thepartofmotorcontro
7、lusessteppermotorand6560steppermotordrivemodule.SoftwarecomponentsintorduceSystemprogrammingdesignideas,procedures,functionalanalysis.Itisnotonlyfocusingonthelogicaldesignofthemainstructurebutalsoseparatelyintroducedthewarningfunction,thedemonstration
8、function,thepressedkeyscanning,thepositionread,thedemonstration,theliftcontrollogicsmallsteelyardprocedurestructureandthefunction.SoftwarecomponentsuseClanguage.ThisrealizationwayistheuseofInterruptmodetodetecttheinformationofthefloorsenttothe