您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 冶金工业 > 0601531003_李俊鸿_煤气报警器设计
毕业设计(论文)煤气警报器设计学院:信息科学技术学院专业:姓名:指导老师:电子科学与技术李俊鸿学号:职称:0601531003谢海军讲师中国·珠海二○一〇年五月北京理工大学珠海学院2010届本科生毕业设计北京理工大学珠海学院毕业设计诚信承诺书本人郑重承诺:我所呈交的毕业设计《煤气报警器设计》是在指导教师的指导下,独立开展研究取得的成果,文中引用他人的观点和材料,均在文后按顺序列出其参考文献,论文使用的数据真实可靠。承诺人签名:日期:年月日北京理工大学珠海学院2010届本科生毕业设计I煤气报警器设计摘要当今社会上,出现了许多煤气报警器,而这些产品大都是针对煤气的泄漏所做出的相应的报警,即为家庭式煤气报警器。本课题设计煤气报警采用了AT89S52单片机为报警器的核心部件,对煤气报警器进行控制。通过NAP-505电化学一氧化碳气体传感器对煤气进行检测,将所得的浓度值与设定浓度值相比较得到偏差。通过对偏差信号的处理获得控制信号,发生报警信号,并把报警通道显示并储存在DS12887的RAM中,八个单元的煤气浓度对应模拟量利用A/D转换为数字量,并加入了键盘输入控制,从而实现对家用和工业煤气漏气的监控。整个系统的硬件电路设计合理,性能安全可靠。关键词:单片机煤气浓度报警器北京理工大学珠海学院2010届本科生毕业设计IIDesignofthecoalgas’alarmdeviceABSTRACTTherearemanycoalgasalarm’sdevicesinourlives.Thesedeviceswillalarmafterthecoalgasleaking.Wecallthemhouseholdorindustyappliances.Thispaperintroducesthedesignofacoalgasalarm’sdevicethatusetheAT89S52SCMasthemostimportantcontroller.Itisacore-componentsthatcontrolthewholeprogramsandcircuitofthecoalgasalarm’device.TheappliancemonitorsthedensityofcoalgaswiththesensorofNAP-505andcomparesthecurrentdensitywiththesettingdensity.WegetthecontrolsignalthroughthedealingwiththedeviationsignalandthensentaalarmsignalthatismemoriedinaRAMofDS12887.TheanalogsignalofeightdensitiesofthecoalgasaretransformedintothedigitalsignalwiththeA/Dconverter,inadditionwhichiscotrolledwiththekeyboard.Wecanmonitortheleakofcoalgasinthehouseorindusty.Thehardwaredesignofcircuitsisreasonableandtheperformanceofthecoalgasalarm’sdeviceissafeandreliable.Keywords:SCMDensityAlarm’device北京理工大学珠海学院2010届本科生毕业设计III目录摘要........................................................................................................IABSTRACT............................................................................................II1前言....................................................................................................11.1研究背景....................................................................................................11.2研究意义....................................................................................................21.3研究内容....................................................................................................22系统总体设计....................................................................................32.1方案的选择................................................................................................32.2系统流程框图............................................................................................33硬件系统设计与传感器选用............................................................43.1主机部分....................................................................................................43.1.1AT89S52单片机......................................................................................43.1.2DS12887实时时钟芯片及其电路.........................................................63.1.3X5045看门狗定时器及复位电路..........................................................83.1.4电源电路................................................................................................93.2功能模块部分............................................................................................93.2.1TLC2543的数据采集单元...................................................................103.2.2HD7279的人机接口电路模块.............................................................123.2.3数据处理模块.......................................................................................153.2.4声光报警模块.......................................................................................16北京理工大学珠海学院2010届本科生毕业设计IV3.2.5ISP下载电路DIY.................................................................................173.3传感器的选用..........................................................................................183.3.1NAP-505型电化学式传感器...............................................................193.3.2MQ-9半导体气体传感器.....................................................................203.4硬件设计小结..........................................................................................224软件设计..........................................................................................234.1主程序设计..............................................................................................234.1.1初始化程序和主程序...........................................................................234.1.2中断服务程序.......................................................................................274.2功能实现主要子程序..............................................................................284.2.1采集程序...............................................................................................284.2.2数据处理模块.......................................................................................304.2.3报警记录和报警模块...........................................................................314.2.4人机对话子程序设计...........................................................................314.3小结..........................................................................................................345系统调试与分析..........................................................................
本文标题:0601531003_李俊鸿_煤气报警器设计
链接地址:https://www.777doc.com/doc-310603 .html