摘 要 火灾自动报警系统在高层建筑和综合楼宇的应用已十分广泛。当今社会上,出现了许多火灾报警器,而这些产品大都是针对单个点进行火情检测做出相应的报警,即为家庭式。但是随着社会的发展,智能楼宇的出现要求火灾报警器的发展,单一的家庭式报警器已经不能满足现代社区的需要,多个单点监控造成资源浪费而且效率很低。如果将各单点监控设备联系起来进行信息共享,即发展为小区监控,则可以节约资源、提高效率。本设计就是以单片机为控制单元实现的报警显示盘,具有信息检测、接收、发送、显示的功能。 火灾报警控制器是一种能向火灾探测器供电、接收、显示和传递火灾报警等信号,并能对自动消防装置发出控制信号的报警装置,火灾自动报警系统的重要组成部分。我们所设计的火灾显示盘是一种安装在楼层或独立防火区中的数字式火灾报警显示装置,通过串行数据线(双绞线即可)与火灾报警控制器或上位机相连,处理并显示数据线上的报警信号。内置CPU将接收到的信息进行判断、分析和处理,通过液晶显示出来,同时发出声光报警信号。 本设计CPU采用51系列单片机,与火灾报警控制器或上位机的通讯采用RS485串行通信,同时兼有声、光报警及LCD显示。本论文主要研究火灾显示盘的软件实现和单片机电源设计。 关键词:火灾;显示盘;报警;串行通讯 ABSTRACT The Automatic Fire Alarming System has been widely used in High buildings and Comprehensive architectures, and has been researched and used in China since Last century 70's. In the current society, a lot of fire alarms have appeared, and these products are mostly to letting out corresponding alarms made of fire and smoke, it is family. But with the development of society, fire alarm developed, family by a single one too, developed into the district to control. This design studies how to let out the fire status of a district, and send or get fire signals from the up MCU or other units. A fire alarming controller is a alarming device that could supply power for fire detector ,and could receive 、display and deliver fire alarming signal ,and also could sent out control code to the automatic fire control device. The fire manifestation dish what we develop is the fire manifestation dish that we design is a kind of numerical fire alarming display device that geared in floor or independent fire prevention area, handle and display the on-line data. The CPU inside will judge, analyze and process the signal what has received ,display the LCD with the signal and send out the sound and light alarm at the same time to annunciate people there. Key words : fire;manifestation dish;alarm ;serial communication 目 录 第1章 绪论 1.1 课题背景及研究目的 1 1.2 课题主要研究内容及方案论证 1 1.3 本章小结 3 第2章 系统硬件设计简介 2.1 MCS-51单片机结构简介 4 2.2 系统电源设计 19 2.2.1 电源设计的基本原理 19 2.2.2 电源芯片MC34063的应用 21 2.3 系统硬件设计说明 27 2.4本章小结 28 第3章 系统软件设计方案 3.1 概述 29 3.2 软件设计及分析 29 3.2.1 延时系统设计 30 3.2.2 中断系统设计 35 3.2.3 声光报警系统设计 37 3.2.3 查按键设计 38 3.2.4 串行通讯设计 40 3.2.5 LCD显示程序简介 49 3.3 本章小结 50 第4章 软件编译和系统调试 4.1 仿真系统WAVE的使用 51 4.2 软件调试说明及问题解决 52 4.4本章小结 55 结论 56 参考文献 57 附录 58 致谢 59 第一章 绪论 1.1课题背景及研究目的 火灾自动报警系统在高层建筑和综合楼宇的应用已十分广泛。我国在上个世纪70年代已开始对火灾自动报警装置进行研究、开发和运用。随着科学技术的飞速发展,火灾自动报警装置已从功能单一的区域报警器发展到80年代中后期的集中型火灾报警控制系统。90年代后,火灾自动报警装置已向大规模、高速度、多功能、标准化、工程化的控制中心火灾自动报警系统方向发展。 在火灾自动报警系统中,用以发出区别于环境声、光的火灾报警信号的装置称为火灾报警装置,火灾报警器是一种最基本的火灾报警装置,通常与火灾报警控制器组合在一起,它以声、光音响方式向报警区域发出火灾警报信号,以警示人们采取安全疏散、灭火救灾措施。 火灾显示盘通过串行总线与火灾报警控制器相连,单台控制器最多可接63台火灾显示盘(液晶、数字火灾显示盘中和),从而实现火灾报警连动。火灾显示盘作为火灾自动报警系统的重要组成部分,在工业与民用建筑中的应用越来越广泛,对保障人民的生命财产安全起着重要的作用。 1.2 论文主要研究内容及方案论证 1.2.1 立题依据 |