电梯控制器的VHDL程序设计与仿真

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

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

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

资源描述

论文题目:电梯控制器的VHDL程序设计与仿真专业:微电子学本科生:陈伟伟(签名)___________指导教师:岳改丽(签名)___________摘要本设计(改为论文)主要介绍了基于FPGA设计的五层电梯控制器,采用VHDL语言进行编译,并进行了电路综合和仿真。该控制器具备了FPGA芯片的硬件体积小、实时性好、工作效率高、提高系统的集成度等特点且遵循方向优先的原则,提供五个楼层多个用户的载客服务,并指示电梯的运行情况。本设计的亮点是使用状态机的方法来完成电梯的几个运行状态。(改,)将主控制器的状态分为6种,停止、等待、上升、连续上升、下降及连续下降,状态的划分与楼层无关(增加,)因此具有很强的通用性。本课题试验调试平台是Altera公司的QuartusⅡ软件和EDA实验开发系统。(改,)通过程序的调试和(改、)运行及仿真表明本设计可以完成电梯所在楼层显示和电梯运行方向指示。关键字:FPGA,VHDL,电梯控制器,状态机I大红色要删去,下同Subject:ThestudyandsimulationofelevatorcontrollerbasedonVHDLSpecialty:MicroeletronicsName:WeiweiChen(Signature)___________Instructor:GailiYue(Signature)___________ABSTRCTThisdesignintroducesthefivefloorselevatorcontrollercompiledwithVHDLandthesynthesisandsimulationofthecircuit.Thecontrollerfollowsthedirectionoftheprincipleofpriority,toprovidetheserviceofmultipleusers,andindicatestheoperationofthelift.ThiscontrollerhasFPGAchipcompacthardware,goodreal-time,highefficiency,improvethesystemintegrationcharacteristics.Usingstatemachineisastrongpointofthisdesign.Themaincontrollerisdividedintosixstates.Thestatehasnothingtodowithfloors,soithasastrongcommonuse.ThedebuggingplatformofthistopicisAlteraQuartusⅡsoftwareandEDAexperimentdevelopmentsystem.Throughtheprocessofdebugging、runningandthesimulationshowsthatthisdesigncanfinishthefunctionoftheelevatordirectionandfloor’sdisplay.KEYWORDS:FPGA,VHDL,ElevatorController,StateMachineII目录1绪论.............................................................................................................................11.1选题的背景...........................................................................................................11.2电梯控制器的研究背景.......................................................................................11.3我国电梯的发展状况...........................................................................................11.4电梯设计的具体目的及控制要求.......................................................................22设计基础依据(改为工具介绍).............................................................................42.1EDA技术介绍........................................................................................................42.2FPGA简介..............................................................................................................62.2.1EDA实验开发平台...........................................................................................72.2.2EP2C5核心板(字号?).......................................................................72.3硬件描述语言........................................................................................................82.3.1VHDL和VerilogHDL比较.............................................................................82.3.2VHDL语言的基本特点....................................................................................82.3.3VHDL的设计流程...........................................................................................92.3.4VHDL程序的基本结构...................................................................................92.3.5状态机的简介................................................................................................102.4QuartusII软件介绍.............................................................................................113电梯控制器的设计及仿真.......................................................................................143.1电梯及电梯控制器的功能简介.........................................................................143.1.1电梯的机械组成............................................................................................143.1.2电梯控制器的工作原理.................................................................................153.2电梯控制器的程序设计.....................................................................................15III3.2.1电梯的总体控制思想....................................................................................163.2.2电梯控制器的程序流程图............................................................................173.2.3模块设计与实现.............................................................................................183.3程序调试与下载..................................................................................................283.3.1程序调试........................................................................................................283.3.2从设计文件到目标器件的下载.....................................................................293.3.3加载及显示结果............................................................................................29结论..............................................................................................................................33致谢..................................................................................错误!未定义书签。页码?参考文献..........................................................................错误!未定义书签。页码?附录I后要写名称,下同..........................................................................................36附录II..........................................................................................................................55附录III..................................................................

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

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

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

×
保存成功