Design and Implementation of An Odor Traceability Monitoring System Based on Multi-Node Sensor Array
摘要
工业厂房和园区边界的有害气体泄漏是引发安全事故和环境污染的重要隐患,传统的单点式检测仪器因覆盖范围有限、实时性不足,难以满足污染源快速溯源的实际需求.本研究设计并研制了一套基于包括多种电化学传感器在内的多节点传感器阵列的气味溯源监测仪器系统,用于氧气(O2)、一氧化碳(CO)、可燃气和总挥发性有机物(TVOC)的监测.本系统采用"底层实时控制+上层数据处理"的分层硬件架构,以STM32F103RCT6微控制器为核心完成S4-OXV、S4-CO、SLP22A和S4-VOC多通道传感器数据轮询与温湿度采集,树莓派4B负责界面显示与算法处理;系统集成增量式比例-积分-微分(PID)闭环温控模块使传感器气室温度稳定于目标值,稳态误差小于±0.2℃;基于Tailscale构建了多节点无线组网,节点间数据往返时延均值约45 ms,24 h连续运行丢包率低于0.5%;针对污染源定位问题,提出了基于距离衰减模型的网格化迭代溯源算法,仿真中定位误差仅约2.12 m.本系统结构清晰、功能完整,可为工业园区及边界区域的气味监测与污染源追溯提供一种可行的工程技术方案.
Hazardous gas leakage at the boundaries of industrial plants and parks constitutes a critical hazard that triggers safety accidents and environmental pollution.Conventional single-point detection instruments,characterized by limited coverage and insufficient real-time performance,can hardly meet the practical requirements for rapid source tracing of pollution sources.In this study,an odor tracing and monitoring instrument system based on a multi-node sensor array was designed and developed for monitoring oxygen,carbon monoxide,combustible gas and total volatile organic compounds(TVOC).The system adopted a layered hardware architecture of "bottom-layer real-time control+upper-layer data processing":an STM32F103RCT6 microcontroller served as the core processor to complete multi-channel sensor data polling for S4-OXV(oxygen sensor),S4-CO(carbon monoxide sensor),SLP22A(combustible gas sensor),and S4-VOC(total volatile organic compound sensor),as well as temperature and humidity acquisition via a DHT11 sensor,while a Raspberry Pi 4B was responsible for interface display and algorithm processing.The system integrated an incremental PID closed-loop temperature control module to stabilize the temperature of the sensor gas chamber at the target value of 25 ℃,with a steady-state error of less than±0.2℃.A multi-node wireless network was constructed based on Tailscale,with an average round-trip data delay between nodes of approximately 45 ms and a packet loss rate of less than 0.5%over 24 consecutive hours of continuous operation.To address the issue of pollution source localization,a grid-based iterative tracing algorithm based on a distance attenuation model was proposed,achieving a positioning error of only approximately 2.12 m in simulations.With clear structure and complete functions,the proposed system provided a feasible engineering solution for odor monitoring and pollution source tracing in industrial parks and their boundary areas.