欢迎来到天天文库
浏览记录
ID:19153187
大小:16.50 KB
页数:5页
时间:2018-09-29
《智能燃气报警器的设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、智能燃气报警器的设计 智能燃气报警器 摘要:改革开放与西部大开发战略的深发展,使得液化石油气、煤气、天然气随着经济水平和科学技术的高速发展已经进入寻常家庭,城市的生活品质提高了,但是它也引起了一些潜在的危险,其中一氧化碳(CO)是危险的主要来源。因此,研究气体检测的各种方法和报警也将成为一个重要的问题。本文的气体报警器设计采用AT89S52单片机作为气体报警控制器的核心组件。NAP-505作为电化学一氧化碳气体传感器,用于检测气体的浓度值,此浓度值和所获得的设定浓度值进行比较,以获得偏差。通
2、过对偏差信号的处理获得控制信号,发生报警信号,并把报警通道显示并储存在DS1302的RAM中,八个单元的煤气浓度对应模拟量利用A/D转换为数字量,并加入了键盘输入控制,有利于室内和工业气体泄漏监测。整个系统的硬件电路设计合理,安全可靠。 关键词:单片机;煤气浓度;报警器 Smartcombustiblegas Abstract:Thedeepdevelopmentofreformandopeningtotheoutsideworldandthegreatwesterndevelopment
3、strategy,theliquefiedpetroleumgas,coalgas,naturalgas,withtherapiddevelopmentofthelevelofeconomyandscienceandtechnologyhasenteredtheordinaryfamily,oftheurbanqualityoflifehasimproved,butitalsocausedthepotentialdangers,includingcarbonmonoxide(CO)ismajor
4、sourcesofdanger.Therefore,thestudyofvariousmethodsofgasdetectionandalarmwillalsobecomeanimportantissue.Inthispaper,thedesignofgasalarmusingAT89S52microcontrollerasthecorecomponentofgasalarmcontroller.NAP-505asanelectrochemicalcarbonmonoxidegassensorf
5、orthedetectionoftheconcentrationofthegas,theconcentrationandtheobtainedsetconcentrationvalueswerecomparedtoobtainthedeviation.Throughthedeviationsignalprocessingobtainedcontrolsignal,alarmsignalandchannelthealarmdisplayandstoredintheramoftheDS1302and
6、eightunitsofgasconcentrationcorrespondinganalogwitha/Dconversiontodigitalquantity,andjoinedthekeyboardinputcontrol,forlaboratoryandindustrialgasleakagemonitoring.Thehardwarecircuitdesignofthewholesystemisreasonable,safeandreliable. Keywords:SCM;Dens
7、ity;Alarm’device 目录 第一章前言4 1.1研究目的和意义4 1.2国内外研究现状4 1.3研究内容和方法5 第二章系统总体概述5 2.1方案的选择5 2.1.1系统总体方案的选择5 2.1.2显示模块设计方案6 2.1.3数据采集方案7 2.2系统框图10 第三章硬件设计11 3.1主控单片机电路11 3.2单片机复位电路13 3.3TLC2543的数据采集电路14 3.4DS1302实时时钟芯片及其电路20 3.5X5045看门狗定时器20
8、 3.6电源电路21 3.7数据处理电路22 3.8报警电路22 3.9LED显示电路23 第四章软件设计24 4.1主程序设计24 4.2中断服务程序25 4.3模数转换子程序26 4.4显示子程序27 4.5报警模块27 第五章系统调试与分析29 5.1硬件焊接与调试29 5.2软件调试及分析29 第六章总结30 参考文献32 附录33 第一章前言 1.1研究目的和意义 安全问题对于楼房家庭住户是个不能忽视的问题。为了减少和消除所有由于气体造成的危害,应选
此文档下载收益归作者所有