可燃气监测报警器——软件设计电子信息工程[摘要]随着城市煤气、天然气事业及化学工业的迅速发展,易燃、易爆的气体种类和应用范围在不断增加,这些易燃易爆气体在生产和使用过程中,一旦发生泄露将会引起中毒、火灾、爆炸等重大事故。在人们对安全生产的重视程度和生产技术手段不断提高的同时,可燃气体监测报警器正广泛地应用在这些领域中。可燃气体监测报警器是预防易燃易爆气体在生产和使用过程中发生泄露的报警装置。为了防止这类事故的发生,装设可燃气体监测报警器是非常必要的,可以及时发现事故隐患,及早采取补救措施。本论文主要阐述了可燃气体监测报警器的软件设计。报警器的总体工作流程是:A/D转换芯片将传感器送来的模拟量转化成数字量送给单片机,然后进行数字滤波,数据处理,将电压信号转化成为对应的浓度值。最后,将实际可燃气体浓度送数码管显示,当有可燃气体浓度超出设定的限定值时,则单片机将驱动蜂鸣器实现报警功能。对应的软件设计包括:主程序设计,数字滤波设计,数据处理设计,气体浓度显示设计,报警设计等几个部分。实验表明,本方法设计的可燃气体监测报警器具有性能稳定,测量准确等优点,因此,是一种具有较好实用价值的气体监测装置。[关键词]报警器;传感器;单片机;蜂鸣器CombustibleGasMonitorAlarmApparatus--SoftwareDesignElectronicandInformationEngineeringAbstract:Withthecitygas,naturalgasutilitiesandthechemicalindustryisdevelopingrapidly,flammable,explosivegastypeandrangeofapplicationsisincreasing,theflammableandexplosivegasesintheprocessofproductionanduse,intheeventofleakagewillbecausedbypoisoning,fires,explosionsandothermajorincidents.Peopleoftheimportanceofsafetyinproductionandtheproductionoftechnicalmeanstocontinuouslyimprove,thecombustiblegasalarmmonitoringiswidelyusedintheseareas.Combustiblegasalarmmonitoringisthepreventionofexplosivegasintheproductionanduseoftheleakageoccurredduringthealarm.Inordertopreventtheoccurrenceofsuchincidents,theinstallationofcombustiblegasalarmmonitoringisessentialtothetimelydetectionofpotentialcausesofaccidentsandtakeremedialmeasures.Thispaperelaboratedoncombustiblegasalarmmonitoringsoftwaredesign.Alarmoverallworkflowis:A/Dconversionchipwillbesenttotheanalogsensorsintodigitaltothemicrocontroller,andthenproceedtodigitalfiltering,dataprocessing,thevoltagesignalintothecorrespondingconcentrationvalue.Finally,theactualconcentrationofcombustiblegasestosenddigitaldisplay,whentheconcentrationofcombustiblegasesinexcessofthelimitvalueset,thentherealizationofsingle-chipdrivebuzzeralarmfunction.Thecorrespondingsoftwaredesigninclude:themainprogramdesign,digitalfilterdesign,dataprocessing,design,displaydesignofthegasconcentration,alarmandotherpartsofthedesign.Theexperimentalresultsshowthatthismethodisdesignedtomonitorcombustiblegasalarmhasastableperformance,accuratemeasurement,therefore,isagoodpracticalvalueofthegasmonitoringdevice.Keywords:alarm;sensor;single-chip;buzzer目录1引言....................................................................11.1课题背景和意义......................................................11.2国内外研究现状......................................................11.3本论文的主要任务....................................................22可燃气监测报警器的方案设计..............................................22.1设计要求............................................................22.2可燃气检测仪的总体设计..............................................22.2.1系统总体结构.....................................................22.2.2系统的工作流程..........................................