基于STM32H743的TDLAS型CH4气体检测数据采集系统设计
Design of data acquisition system for CH4 gas detection based on STM32H743
王彪 1高源辰 2房思超 3秦莉1
作者信息
- 1. 中国科学院长春光学精密机械与物理研究所,长春 130033
- 2. 中国科学院长春光学精密机械与物理研究所,长春 130033;中国科学院大学,北京 100049
- 3. 中国科学院长春光学精密机械与物理研究所,长春 130033;中国科学院大学,北京 100049;长光卫星技术股份有限公司,长春 130102
- 折叠
摘要
在天然气传输和石油开采过程中,为确保人员和设备的安全需要精准检测甲烷(CH4)气体浓度,基于TDLAS激光气体检测技术设计了一种能够高精度测量甲烷(CH4)气体浓度的数据采集系统,该系统选用STM32H743 作为主控芯片,采用ADC的双重模式,利用内部的ADC1 采集基波信号和二次谐波信号,内部的ADC2 采集气体的温度和压强数据,然后对数据进行均值处理,均值计算参数受主控芯片控制,通过DMA将数据传输存储起来,最后主控芯片对多组数据进行整合处理并通过虚拟USB接口按照规定的数据协议发送至上位机.经实际测试,该系统可以高速、稳定地采集处理数据,并且可以适用于其它气体的TDLAS检测系统.
Abstract
In the process of natural gas transmission and oil extraction,in order to ensure the safety of personnel and equipment need to accurately detect CH4 gas concentration,based on the TDLAS laser gas detection technology de-signed a data acquisition system capable of high-precision measurements of CH4 gas concentration,the system selects the STM32H743 as the main control chip,adopts the ADC's dual mode,utilizes the internal ADC1 collects the funda-mental and second harmonic signals,and the internal ADC2 collects the temperature and pressure data of the gas,and then the data are averaged,and the averaged calculation parameters are controlled by the master chip,and the data are transmitted and stored through DMA,and finally the master chip integrates and processes the multiple sets of data and sends them to the upper computer through the virtual USB interface in accordance with the specified data protocol.Af-ter actual testing,the system can collect and process data in a high-speed and stable way,and can be applied to other gas TDLAS detection systems.
关键词
STM32/TDLAS/CH4/数据采集Key words
STM32/TDLAS/CH4/data acquisition引用本文复制引用
出版年
2024