1、 毕业设计(论文)报告毕业设计(论文)报告 题 目 智能应急灯系统的设计智能应急灯系统的设计 系 别 专 业 班 级 学生姓名 学 号 指导教师 2013 年 4 月 i 智能应急灯系统的设计智能应急灯系统的设计 摘要:摘要:本文设计了一种基于单片机的应急灯控制器。该设计以 MCS-51 单片机为核 心,符合消防应急灯具国家标准 GBl7945-2000。论文首先分析了智能消防应急疏散 照明的技术背景及目前的发展现状和未来的发展趋势,说明设计的意义及目标。接 着介绍了常用智能消防应急灯的分类,着重说明了自带电源智能消防应急灯具的工 作原理,提出了符合国家标准的总体结构框图。随后,合理的选择了主
2、要器件,给 出了三个关键模块的具体电路图,包括电源模块、单片机模块和通信模块,并分析 其工作原理, 实现了掉电检测与电源转换、 电池状态检测、 光源状态检测以及 RS-485 通信等功能。在软件设计方面,分析了控制器的工作逻辑,画出了系统主程序框图 和电池开路、短路及正常状态分析流程图。 关键词:关键词:单片机、应急灯、消防、RS-485 通信 ii A Design of MCU-based Controller of Emergency Luminary Abstract:This paper presents an emergency luminary controller based
3、on single-chip microcomputer. The design uses the MCS-51 microcontroller as the core and meets the requirement of the national standards for fire emergency luminary GBl7945-2000. Firstly, the technical background, the current study and the development trend of the fire emergency evacuation lighting
4、as well as the significance and the objectives of this design are expound. Then, the classification of the fire emergency luminary widely used and the principle of self-powered emergency luminary for fire fighting are highlighted. The overall structure diagram according to the national standard is a
5、lso presented. Subsequently, after the key devices were reasonably chosen, the specific circuit diagram of three important modules including the power modules, the CPU module and the photo-electrical isolated communication module are presented. The operation of every module is analyzed. The function
6、s of power-down detection, power conversion, battery state detection, lighting LED state inspection and RS-485 communication are achieved. In the design of software, the work logic of the controller and the main block diagram of the system are introduced. The flowchart to analyze the three states of battery, open circuit, short circuit and the normal are drawn. Keywords: Single-chip microcomputer 、 Emergency luminary、 Fire fighting、 R