1、 毕业设计(论文) 煤气煤气安全安全警报警报器设计器设计 学 院: 专 业: 姓 名: 指导老师: 学 号: 职 称: 二一 年 五 月 I 煤气报警器设计 摘 要 当今社会上,出现了许多煤气报警器,而这些产品大都是针对煤气的泄漏所做出的 相应的报警,即为家庭式煤气报警器。本课题设计煤气报警采用了 AT89S52 单片机为报 警器的核心部件,对煤气报警器进行控制。通过 NAP-505 电化学一氧化碳气体传感器对 煤气进行检测,将所得的浓度值与设定浓度值相比较得到偏差。通过对偏差信号的处理 获得控制信号,发生报警信号,并把报警通道显示并储存在 DS12887 的 RAM 中,八个单 元的煤气浓度
2、对应模拟量利用 A/D 转换为数字量,并加入了键盘输入控制,从而实现对 家用和工业煤气漏气的监控。整个系统的硬件电路设计合理,性能安全可靠。 关键词关键词:单片机 煤气浓度 报警器 II Design of the coal gas alarm device ABSTRACT There are many coal gas alarms devices in our lives. These devices will alarm after the coal gas leaking. We call them household or industy appliances. This pape
3、r introduces the design of a coal gas alarms device that use the AT89S52 SCM as the most important controller. It is a core-components that control the whole programs and circuit of the coal gas alarm device. The appliance monitors the density of coal gas with the sensor of NAP-505 and compares the
4、current density with the setting density. We get the control signal through the dealing with the deviation signal and then sent a alarm signal that is memoried in a RAM of DS12887. The analog signal of eight densities of the coal gas are transformed into the digital signal with the A/D converter, in addition which is cotrolled with the keyboard. We can monitor the leak of coal gas in the house or industy. The hardware design of circuits is reasonable and the performance of the