摘要:本课题基于AT80C51单片机,利用keil c 语言设计了电梯控制器,并在PC机Proteus平台上做功能仿真。该系统主要功能有:电梯内的楼层按键以及每层楼梯口的上下按键正确运行;电梯内外的电梯运行方向指示灯正确显示;电梯正确的响应各楼层的呼梯命令以及电梯内的楼层按键命令。首先分析了该电梯控制器系统的核心内容:51单片机和步进电动机的熟悉及分析;然后对系统的模块进行分类:大致可分为硬件设计、软件设计、电路模拟以及Proteus平台上的仿真调试;然后细分各个模块,在代码上实现各个模块的功能。最终设计出完整的代码以及电路图并在仿真平台上实现了该系统的基本功能。本课题的重点在于电路设计和电梯仿真模拟运行以及电机的控制问题,关于电机控制问题解决主要是利用中断电路控制电梯的响应和电机的驱动。43487
毕业论文关键词:AT89C52单片机;仿真调试;电梯控制器
Design and Simulation of elevator controller based on 80C51 single chip microcomputer
Abstract: This topic based on the AT80C51 microcomputer, the use of C keil language design of the elevator controller, and in the Proteus PC platform to do functional simulation. The main function of the system: inside the elevator floor buttons and stairs on each floor of the mouth on the right operation keys; inside and outside the elevator elevator running direction indicator to show the correct; elevator correct response on each floor of the ladder command and inside the elevator floor button command called. First of all, the analysis of the core content of the elevator controller: 51 MCU and stepper motor familiar and analysis; Then the modules of the system are classified: can be pided into hardware design, software design, circuit simulation and Proteus platform simulation debugging; then segment each module. In the code realize the function of each module. Finally, a complete code and circuit diagram are designed and the basic functions of the system are realized on the simulation platform. The key point of this paper is the circuit design and elevator simulation operation and motor control, the motor control problem is solved mainly by using the interrupt circuit to control the response of the elevator and motor drive.
Key words:AT89C52Microcontroller;Digital tube;Elevator controller
目录
摘要 ii
目录 iii
1 绪论 1
1.1 课题的研究意义和研究目的 1
1.3 电梯控制器的发展趋势 2
1.4 本课题主要工作内容 4
2 方案论证 7
2.1 系统总体设计 7
2.1.1 设计要求 7
2.2.2 系统的结构框图 7
2.2 电动机的选择 8
2.3 AT89C52单片机 8
3 硬件系统的设计 10
3.1 硬件设计思路 10
3.2 各硬件设计部分介绍 10
3.2.1 时钟电路 10
3.2.2 复位电路 11
3.2.3 中断电路 11
3.2.4 电动机正反转控制电路 12
3.2.5 数码管显示模块