1、 编号: 毕业设计(论文) 课 题: 学 院: 专 业: 学生姓名: 学 号: 指导教师单位: 姓 名: 职 称: 摘 要 本文主要介绍了一种基于单片机的四层电梯智能控制系统。该系统以 AT89S51 为控制核心,电梯机箱内外运行数据通过数码管和 LCD1602 液晶芯片 显示,内外召唤采用矩阵按键,楼层检测采用光敏电阻与激光二极管组成的检 测电路检测,电机采用型号 39L 的步进电机,电机采用 LN298 驱动电路驱动。 该设计实现的功能有:可以显示电梯运行方向和所在楼层位置;电梯在运 行过程中能接受各楼层处和电梯内的楼层请求,并根据情况予以实现;电梯停 止到启动期间,可以接受电梯内部和外部
2、的延迟关门请求;通过紧急按键使电 梯在运行中过程中安全停止;遇危险情况下可以进行迫降和声光报警;实现实 现电梯的加速匀速减速功能。 关键词: AT89S51;液晶显示;矩阵键盘;LN298;步进电机;激光二极管;直流稳压电 源;LM339 Abstract This paper mainly introduces a microcontroller-based on the four layers of elevator intelligent control system.The system takes AT89S51 as the control core, the elevator c
3、hassis and running data through the digital tube and liquid crystal display LCD1602 chip, and call the matrix of keys, the floor is detected by the photosensitive resistor and diode laser consists of the detection circuit, motor using the model 39L stepper motor drive circuit, motor drive using LN29
4、8. The design and implementation of the function: can show the direction of the lift and the floor where the elevator position; in the operation process can accept all floors and the elevator floor request, and according to the situation of implementation; the elevator to stop to start period, can a
5、ccept elevator internal and external delay close request; through the emergency button so that the elevator running in the process of safety stop; hazardous situations can make a forced landing and the sound-light alarm; realization of elevator acceleration - deceleration function, uniform. Key word
6、s:AT89S51; LCD1602; LN298; matrix keyboard; stepping motor; laser diode; DC power supply; LM339 目 录 1 绪论 . 1 1.1 电梯的定义与简介 1 1.2 电梯的组成 . 2 1.3 国内外电梯的发展状况 . 2 1.3.1 国内电梯发展状况 3 1.3.2 国外电梯发展状况 3 1.4 电梯的发展趋势 4 1.5 课题的主要研究内容及意义 5 1.6 设计功能要求 . 6 2 电梯系统设计方案论证及选择 . 6 2.1 控制核心 7 2.2 曳引动力选择 . 7 2.3 曳引机驱动电路 8 2.4 内外显示电路 . 8 2.5 召唤电路 9 2.6 定位平层系统. 9 2.7 楼层提示及报警系统 11 3 硬件基础知识. 11 3.1 步进电机 . 11