基于单片机的煤气泄漏报警装置的设计

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

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

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

资源描述

1基于单片机的煤气泄漏报警器的设计摘要人们生活中,离不开煤气,怎样防止煤气中毒和爆炸,是人们的迫切需要解决的问题,故智能煤气报警系统走入了我们的世界。本系统主要针对传统煤气检测系统进行技术改进以满足要求,至此本系统具有如下特点.用单片机实现定时控制,电路简单、价格便宜、可靠性好。采用气敏传感器及防爆型电磁阀.安全可靠,能有效的保证随时接通和断开煤气控制电磁阀:有煤气泄漏时有语音报警,并通过总线通知管理室.双重保障。因此本系统也可作为智能家居系统的一个子系统。关键词:51单片机;气体传感器;RS485总线2ThegasleakagealarmsystembasedonsinglechipmicrocomputerAbstractGashasbecomeindispensableinpeople'slifeenergy,gasleak,topeople'spersonalsafetyandpropertysafetybroughtmanyhiddendangers,Thereforewedevelopedtheintelligentgasalarmsystem.Thissystemmainlyforthetechnicalimprovementontraditionalgasdetectionsystemtomeettherequirements,sothissystemhasthefollowingcharacteristics.Usingsinglechipmicrocomputerimplementationtimingcontrol,circuitissimple,cheapandgoodreliability.Usinggassensorsandexplosion-proofsolenoidvalves.Safeandreliable,andcaneffectivelyguaranteeatanytimeonandoffthegascontrolsolenoidvalve:agasleakvoicealarm,andnotifythemanagementofficebybus.Doubleprotection.Thissystemalsocanbeusedasasubsystemofthesmarthomesystem.Keywords:51microcontroller;gassensor;RS485busI目录第1章绪论.............................................................................................................................11.1论文设计的背景..........................................................................................................11.1国内外研究现状..........................................................................................................11.3论文的设计内容安排..................................................................................................2第2章系统设计技术基础.........................................................................................................42.1单片机简介及应用.......................................................................................................42.1STC89C52单片机的结构.............................................................................................42.3STC89C52管脚介绍....................................................................................................52.1传感器的介绍...............................................................................................................72.5传感器的结构介绍.....................................................................................................8第3章系统的硬件设计...........................................................................................................93.1系统供电......................................................................................................................93.2系统硬件框图..............................................................................................................93.3数据处理....................................................................................................................113.4信号的放大电路........................................................................................................133.5模块电路......................................................................................................................9第4章系统的软件设计.........................................................................................................164.1单片机程序................................................................................................................164.2各模块程序的流程图及功能说明............................................................................16第5章系统调试...................................................................................................................195.1元件焊接....................................................................................................................195.2系统调试....................................................................................................................19结论.......................................................................................................................................20参考文献.............................................................................................................................21附录.......................................................................................................................................22主程序.......................................................................................................................22数据采集程序...........................................................................................................23A/D转换程序............................................................................................................241第1章绪论1.1论文设计的背景随着科学技术的发展,越来越多的可燃气体,用于工业生产和人民日常生活的能量。和气体燃料的推广应用,它是伴随着由中毒,爆炸产生的气体泄漏,火灾和其他安全事故时有发生。由于一氧化碳中毒事故引起的泄漏是很严重的。家喻户晓,因为血红素CO比相结合的氧气和血液更容易,约为240倍,氧,在有限的人体血液循环系统,将取代氧血红素连接数,抑止血液中氧气的流通,然后,引起头痛,耳鸣,呕吐,血压降低和不同程度的症状。如果CO中毒严重,在康复过程中,光会出现头晕,记忆力丧失或造成视觉及神经系统疾病,严重者可导致脑损伤,甚至死亡。想要缩小这种变乱的产生,就需要对这些可燃气体举行现场的及时测试,选用领先安全的牢靠检测仪器,精密观测可燃气体浓度的情况,尽早觉察有无安全隐患,采纳有用方法,防止变乱的产生,才可以保证产业和家庭生活平安。是以,钻研可燃性气体的测试途径和研究可燃性气体的报警器尤其重要。家用智能燃气泄漏报警器是一种防止气体泄漏报警,也是一种高灵敏度的气体检测仪,通常都是气敏元件的灵敏度高的回气动力装置,并结合电路与声光的报警部分组成。在声、声、光报警限值发生危险气体泄漏报警。1.2国内外研究现状民间用的可燃气体的报警器替住户燃气泄露报警,正常安设在厨房里,碰到燃气泄露的时候,报警仪器就会发出声光的报警,可能一起伴随数字显示,同时和外部的设备联动。一些报警可以自动打开排气

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

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

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

×
保存成功