Design of data acquisition system for CH4 gas detection based on STM32H743
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.