摘要
甲醛作为一种有毒有害气体,具有强烈的致癌和促癌作用,在工作生活中时刻威胁着人们生命健康安全。使用传统化学或光学仪器检测空气中甲醛流程繁琐、检测周期长且便捷性低,在多种检测方法中,MEMS气体传感器具有尺寸小、操作简便、快速灵敏等优点。本文以STM32微控制器为核心设计了甲醛检测系统,通过MEMS金属氧化半导体气体传感器实时探测甲醛浓度信息,并采用中值–均值算法对传感器信号进行滤波处理,若检测到甲醛浓度超过安全阈值,则驱动声光报警模块发出预警。通过LCD液晶屏对采集信息进行实时显示,并利用串口通信将采集信息发送至上位机进行分析保存,同时加入温湿度模块采集当前环境信息,提高系统的完整性。系统调试表明,所设计系统可以长时间、稳定地现场检测甲醛浓度,从而为甲醛现场检测提供更加简单准确的设计方案。
Formaldehyde is a toxic and harmful gas having strong carcinogenic and cancer-promoting effects on people, and it constantly threatens people’s health in work and life. Among the various detection methods, MEMS gas sensors have the advantages of small size, easy operation and fast sensitivity. In this paper, a formaldehyde detection system is designed with an STM32 microcontroller as the core. The MEMS metal oxide semiconductor gas sensor detects formaldehyde concentration information in real time, and the median-mean algorithm is used to filter the sensor signal. The information collected is displayed in real time on an LCD screen and sent to the host computer for analysis and storage using serial communication, while the temperature and humidity module is added to collect the current environmental information to improve the integrity of the system. System commissioning shows that the designed system can be long and stable on-site detection of formaldehyde concentration, thus providing a simpler and more accurate design solution for formaldehyde on-site detection.
出处
《软件工程与应用》
2023年第1期19-29,共11页
Software Engineering and Applications