Harmful gas concentration detection method and device and explosion-proof terminal
Through photoacoustic wave detection and time series analysis technology, combined with matrix mapping and deep learning models, the low sensitivity and low accuracy problems of harmful gas detection in the existing technology are solved, and high-precision indoor harmful gas concentration monitoring and management are achieved.
Patent Information
- Application Number
- CN202410770437.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing harmful gas concentration detection technology has low sensitivity, cannot dynamically monitor and analyze gas concentration changes in real time, and is difficult to accurately distinguish mixtures of different gases, which reduces the accuracy and efficiency of detection.
Using photoacoustic wave detection technology combined with time series analysis, the initial gas sample is obtained through a gas sensor, and photoacoustic wave detection, spectrum analysis, curve fitting and matrix mapping are performed. The preset analysis model is used to perform deep feature learning and extract gas concentration features to achieve high-performance Sensitive and high-precision detection.
It improves the detection sensitivity and accuracy of indoor harmful gases, can dynamically monitor and analyze gas concentration changes in real time, enhances the accuracy of gas concentration measurement in complex environments, and improves the efficiency and safety of indoor air quality management.
Smart Images

Figure CN118534058A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of gas concentration detection, and in particular to a method, device and explosion-proof terminal for detecting the concentration of harmful gases. Background Art
[0002] In today's society, with the rapid development of industrialization and urbanization, air pollution has become increasingly prominent, especially the indoor air quality problem has attracted widespread attention. Harmful gases in indoor air, such as carbon monoxide and formaldehyde, pose a serious threat to human health. Therefore, the detection and control of harmful gases in indoor air is particularly important. In order to ensure the health and safety of residents, all walks of life are actively seeking more efficient and accurate harmful gas detection methods to monitor and deal with indoor air quality problems in a timely manner.
[0003] Existing technologies for detecting harmful gas concentrations mainly rely on chemical sensors and physical sensors to identify and measure specific gases. Although these methods can detect harmful gases to a certain extent, they usually face disadvantages such as low sensitivity and inability to dynamically monitor and analyze changes in gas concentrations in real time. In addition, existing technologies are often unable to accurately distinguish mixtures of different harmful gases, and it is difficult to accurately measure gas concentrations in complex environments. These limitations not only reduce the accuracy and efficiency of detection, but also increase monitoring costs. Summary of the invention
[0004] In order to improve the problems of low sensitivity, low precision and inability to provide real-time dynamic analysis of gas concentration when detecting harmful gases indoors in the prior art, the present application provides a harmful gas concentration detection method, device and explosion-proof terminal.
[0005] The present invention provides a method for detecting the concentration of harmful gases, comprising the following steps: installing a gas sensor at a preset position indoors, the method comprising: obtaining the carbon monoxide content and formaldehyde content of an initial indoor gas sample through the gas sensor; performing photoacoustic wave detection on the initial gas sample to obtain a sensor response value, performing spectrum analysis on the sensor response value to obtain concentration data points, processing the concentration data points to obtain time series data; performing curve fitting on the time series data to obtain a change curve, performing curve feature analysis on the change curve to obtain a change feature set; performing matrix mapping on the carbon monoxide content, the formaldehyde content and the change feature set to obtain a target change feature matrix; inputting the target change feature matrix into a preset analysis model to obtain a target gas concentration.
[0006] As a preferred embodiment, the step of obtaining the carbon monoxide content and formaldehyde content of the indoor gas sample through the initial gas sensor includes: monitoring and recording the gas samples in the indoor air in real time through the gas sensor, and analyzing the carbon monoxide content and formaldehyde content based on the gas samples; standardizing the gas samples, and inputting the standardized gas samples into preset environmental parameters, and the environmental parameters adjust the standardized gas samples according to temperature, humidity and air pressure to obtain the initial gas samples. As a preferred embodiment, the step of performing photoacoustic wave detection on the initial gas sample to obtain a sensor response value includes: inputting the initial gas sample into a photoacoustic cell of a preset photoacoustic wave detection system; wherein the photoacoustic wave detection system includes a light source, a photoacoustic cell and an acoustic wave detector; adjusting the power and wavelength of the light source according to the characteristics of the initial gas sample; wherein when the laser of the light source passes through the photoacoustic cell, the initial gas sample absorbs light energy and generates a photoacoustic signal; and capturing the photoacoustic signal generated by the initial gas sample by the acoustic wave detector, analyzing the photoacoustic signal according to Fourier transform, and obtaining a sensor response value.
[0007] As a preferred embodiment, the steps of performing spectral analysis on the sensor response values to obtain concentration data points, and processing the concentration data points to obtain time series data include: performing spectral analysis on the sensor response values using Fourier transform to extract frequency components representing different gas components; quantifying the intensity of the frequency components of the different gas components to obtain concentration data points of the different gas components; and arranging the concentration data points of the different gas components in chronological order to construct time series data reflecting changes in gas concentration.
[0008] As a preferred solution, the steps of performing curve fitting on the time series data to obtain a change curve, performing curve feature analysis on the change curve to obtain a change feature set include: fitting the time series data into a change curve by the least squares method; performing feature analysis on the change curve to identify extreme points and inflection points of the change curve; and integrating the extreme points and inflection points into a feature set.
[0009] As a preferred embodiment, the step of performing matrix mapping on the carbon monoxide content, the formaldehyde content and the change feature set to obtain a target change feature matrix includes: constructing a multidimensional data matrix containing the carbon monoxide content, the formaldehyde content and the change feature set; performing principal component analysis on the multidimensional data matrix, extracting the main change trends and patterns of the data in the multidimensional data matrix, and converting them into a target change feature matrix.
[0010] As a preferred embodiment, the step of inputting the target change feature matrix into a preset analysis model to obtain the target gas concentration includes: inputting the target change feature matrix into a preset analysis model; wherein the analysis model is composed of a comprehensive feature processing network, and the comprehensive feature processing network includes an input layer, multiple hidden layers and an output layer; receiving the target change feature matrix through the input layer, and using the multi-layer perceptron in the hidden layer to perform deep feature learning to extract key analysis indicators; and converting the key analysis indicators into predicted gas concentration values through the output layer.
[0011] The present application also provides a harmful gas concentration detection device, including: an acquisition module, used to obtain the carbon monoxide content and formaldehyde content of the initial indoor gas sample through the gas sensor; a detection module, used to perform photoacoustic wave detection on the initial gas sample to obtain a sensor response value, perform spectrum analysis on the sensor response value to obtain concentration data points, and process the concentration data points to obtain time series data; a fitting module, used to perform curve fitting on the time series data to obtain a change curve, perform curve feature analysis on the change curve to obtain a change feature set; a mapping module, used to perform matrix mapping on the carbon monoxide content, the formaldehyde content and the change feature set to obtain a target change feature matrix; an analysis module, used to input the target change feature matrix into a preset analysis model to obtain a target gas concentration.
[0012] The present application also provides an explosion-proof terminal for detecting harmful gas concentration, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, any of the above-mentioned harmful gas concentration detection methods is implemented.
[0013] The present application also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor executes the harmful gas concentration detection method as described in any one of the above.
[0014] Compared with the prior art, the present application has the following beneficial effects: high sensitivity and high precision detection. By combining photoacoustic wave technology and time series analysis, the detection sensitivity and accuracy of indoor harmful gases, especially carbon monoxide and formaldehyde, are improved; photoacoustic wave detection provides a highly sensitive detection means for the method, so that even small changes in gas concentration can be accurately captured; and the application of time series analysis enables the method to dynamically monitor and analyze the changing trend of gas concentration in real time, providing more detailed and accurate data support for the management of indoor air quality. In addition, through the processing of matrix mapping and preset analysis models, the detection method is further enhanced to accurately measure the concentration of harmful gases in complex environments, providing a more efficient and accurate technical solution for the monitoring and management of indoor air quality, which can effectively improve the safety and comfort of the indoor environment. Improve the existing technology in the detection of indoor harmful gases, which has low sensitivity, low precision, and cannot provide real-time dynamic analysis of gas concentration. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0016] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.
[0017] Figure 1 It is a schematic diagram of a flow chart of a method for detecting harmful gas concentration provided by an embodiment of the present invention; Figure 2 is a schematic block diagram of the structure of a harmful gas concentration detection device provided by an embodiment of the present invention; Figure 3 It is a schematic block diagram of the structure of a gas concentration detection explosion-proof terminal provided in an embodiment of the present invention.
[0018] Description of reference numerals: 10. Harmful gas concentration detection device; 11. Acquisition module; 12. Detection module; 13. Fitting module; 14. Mapping module; 15. Analysis module; 20. Harmful gas concentration detection explosion-proof terminal; 21. Memory; 22. Processor. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0021] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0022] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0023] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0024] Embodiment 1: like Figure 1 As shown, a method for detecting harmful gas concentration provided in an embodiment of the present application includes steps S100 to S500.
[0025] Step S100, obtaining the carbon monoxide content and formaldehyde content of the initial indoor gas sample through a gas sensor.
[0026] In this step, the system first conducts a baseline survey of indoor air quality by installing highly sensitive gas sensors at preset locations indoors. These sensors are specifically designed to detect the concentration levels of carbon monoxide and formaldehyde, and can quickly respond and accurately collect the content of these two harmful gases in air samples. The collected data will serve as the basis for subsequent analysis to ensure the accuracy and effectiveness of the analysis in subsequent steps.
[0027] Step S200: perform photoacoustic wave detection on the initial gas sample to obtain sensor response values, perform spectrum analysis on the sensor response values to obtain concentration data points, and process the concentration data points to obtain time series data.
[0028] In this step, the initial gas sample collected is analyzed using photoacoustic technology. This technology is based on the acoustic signals generated by gas molecules absorbing light of a specific wavelength, which are directly related to the gas concentration. The sensor's response value is converted into concentration data points by performing spectral analysis on the received acoustic signal, and then these data points are converted into time series data through mathematical processing for further dynamic analysis. The key to this step is the ability to convert the original response signal captured by the sensor into a data form that can intuitively reflect the trend of gas concentration changes.
[0029] Step S300, curve fitting is performed on the time series data to obtain a change curve, and curve feature analysis is performed on the change curve to obtain a change feature set.
[0030] In this step, a mathematical model is used to curve fit the time series data to generate curves describing the changes in carbon monoxide and formaldehyde concentrations over time. By further analyzing the characteristics of these changing curves, such as identifying the peak value, slope and other key features of the curves, a feature set containing the characteristics of the changes in the concentration of harmful gases is formed. These feature sets provide rich information for subsequent analysis, making the understanding of the trend of gas concentration changes more in-depth and comprehensive.
[0031] Step S400, matrix mapping the carbon monoxide content, formaldehyde content and change feature set to obtain a target change feature matrix.
[0032] In this step, the carbon monoxide content and formaldehyde content data obtained in step S100 are combined with the change feature set in step S300, and this information is integrated through matrix mapping to form a target change feature matrix that fully describes the gas concentration and its change characteristics. This matrix mapping process allows different types of data and features to be represented in a structured form, providing the necessary data foundation for high-precision gas concentration prediction.
[0033] Step S500, input the target change characteristic matrix into a preset analysis model to obtain the target gas concentration.
[0034] In this step, the target change feature matrix obtained in the previous step is input into the pre-designed analysis model, which processes and analyzes the input data based on machine learning, statistical analysis or other advanced algorithms, and finally obtains the current concentration values of carbon monoxide and formaldehyde. This process uses advanced data processing technology to accurately predict and analyze the concentration level of indoor harmful gases, providing users with real-time and reliable air quality information.
[0035] In the above embodiment, the carbon monoxide content and formaldehyde content of the initial indoor gas sample are obtained by the gas sensor as an initial step. Then, the method uses photoacoustic wave detection to analyze the initial gas sample, and by combining photoacoustic wave technology and time series analysis, the detection sensitivity and accuracy of indoor harmful gases, especially carbon monoxide and formaldehyde, are improved. Photoacoustic wave detection provides a highly sensitive detection means for the method, so that even tiny changes in gas concentration can be accurately captured, and the sensor response value is obtained. The spectrum analysis of the sensor response value obtains concentration data points, and these data points are further processed to obtain time series data. Subsequently, by performing curve fitting and feature analysis on the time series data, the method can dynamically monitor and analyze the change trend of gas concentration in real time, generate a change feature set, and form a target change feature matrix by matrix mapping together with the carbon monoxide content and the formaldehyde content, and input the target change feature matrix into a preset analysis model to obtain the target gas concentration; through the processing of matrix mapping and preset analysis model, the ability of the detection method to accurately measure the concentration of harmful gases in complex environments is further enhanced. The whole process forms a closed loop from initial data collection to final gas concentration analysis, ensuring the continuity and efficiency of detection, providing a more efficient and accurate technical solution for indoor air quality monitoring and management, and effectively improving the safety and comfort of the indoor environment. It improves the existing technology for indoor harmful gas detection, which has low sensitivity, low accuracy, and cannot provide real-time dynamic analysis of gas concentration.
[0036] Embodiment 2: In step S100, the gas samples in the indoor air are monitored and recorded in real time by a gas sensor, and the carbon monoxide content and formaldehyde content are analyzed based on the gas samples; the gas samples are standardized and the standardized gas samples are input into preset environmental parameters, and the environmental parameters are adjusted according to the temperature, humidity and air pressure to obtain the initial gas samples. This process ensures that the collected data reflects the actual air quality conditions and eliminates the impact of environmental factors on the test results. For example, high humidity will increase the response value of some sensors, and adjustments can eliminate this effect and ensure the accuracy of the data.
[0037] In step S200, the initial gas sample is input into the photoacoustic cell of the preset photoacoustic wave detection system; wherein the photoacoustic wave detection system includes a light source, a photoacoustic cell and an acoustic wave detector; the power and wavelength of the light source are adjusted according to the characteristics of the initial gas sample. The characteristics of the initial gas sample mainly refer to the type and concentration of the gas and the characteristics of the gas absorption spectrum. Each gas molecule has its own specific absorption spectrum, that is, only when the wavelength of light falls into these specific bands, the gas molecules will absorb light energy and generate photoacoustic signals. Therefore, in order to improve the sensitivity and accuracy of detection, it is necessary to adjust the power and wavelength of the light source according to these characteristics.
[0038] For example, carbon monoxide and formaldehyde each have their own unique absorption wavelengths. Carbon monoxide's strong absorption lines usually appear in the infrared region, while formaldehyde's absorption spectrum is in a different wavelength range. Based on the expected concentrations of these two gases in the initial gas sample and their absorption characteristics, the wavelength of the light source can be adjusted to match the absorption peak of the target gas, thereby maximizing the generation of the photoacoustic signal.
[0039] When the laser of the light source passes through the photoacoustic cell, the initial gas sample absorbs light energy and generates a photoacoustic signal. The photoacoustic signal generated by the initial gas sample is captured by an acoustic wave detector, and the photoacoustic signal is analyzed according to Fourier transform to obtain a sensor response value.
[0040] Then, the sensor response value is spectrally analyzed using Fourier transform to extract the frequency components representing different gas components. The intensity of the frequency components of different gas components is quantified to obtain the concentration data points of different gas components. The concentration data points of different gas components are arranged in chronological order to construct time series data reflecting the changes in gas concentration.
[0041] This process allows the concentration of various gas components to be accurately measured, and can distinguish and measure the concentration of multiple gases even in complex environments, providing a sensitive and specific detection method.
[0042] In step S300, the time series data is fitted into a change curve by the least square method; the change curve is subjected to feature analysis to identify extreme points and inflection points of the change curve; and the extreme points and inflection points are integrated into a feature set.
[0043] Through this process, we can understand in detail the change pattern of gas concentration over time, such as the sudden increase of carbon monoxide concentration in a specific time period indicates the occurrence of combustion events, while the gradual increase of formaldehyde concentration indicates the continuous release of indoor decoration materials. This analysis provides a scientific basis for subsequent risk assessment and preventive measures.
[0044] In step S400, a multidimensional data matrix including carbon monoxide content, formaldehyde content and a set of change characteristics is constructed; principal component analysis is performed on the multidimensional data matrix to extract the main change trends and patterns of the data in the multidimensional data matrix and convert them into a target change characteristic matrix.
[0045] Through principal component analysis, the complexity of the data can be effectively reduced while retaining the most critical information. This step makes the data more concentrated, highlights the most important trends and patterns, and facilitates subsequent analysis models to make predictions more quickly and accurately.
[0046] In step S500, the target change feature matrix is input into a preset analysis model; wherein the analysis model is composed of a comprehensive feature processing network, which includes an input layer, multiple hidden layers and an output layer; the target change feature matrix is received through the input layer, and deep feature learning is performed using a multi-layer perceptron in the hidden layer to extract key analysis indicators; the key analysis indicators are converted into predicted gas concentration values through the output layer.
[0047] Through this complex neural network structure, the model can learn and identify complex patterns in the data, thereby improving the accuracy of predictions. This process reflects the application of deep learning technology in the field of environmental monitoring, which can predict future changes in gas concentrations based on historical data and provide strong technical support for indoor air quality management.
[0048] Embodiment 3: like Figure 2As shown, the present application also provides a harmful gas concentration detection device 10, which includes an acquisition module 11, a detection module 12, a fitting module 13, a mapping module 14 and an analysis module 15; wherein the acquisition module 11 is mainly used to obtain the carbon monoxide content and formaldehyde content of the initial gas sample in the room through a gas sensor; the detection module 12 is mainly used to perform photoacoustic wave detection on the initial gas sample to obtain a sensor response value, perform spectrum analysis on the sensor response value to obtain concentration data points, and process the concentration data points to obtain time series data; the fitting module 13 is mainly used to perform curve fitting on the time series data to obtain a change curve, perform curve feature analysis on the change curve to obtain a change feature set; the mapping module 14 is mainly used to perform matrix mapping on the carbon monoxide content and the formaldehyde content and the change feature set to obtain a target change feature matrix; the analysis module 15 is mainly used to input the target change feature matrix into a preset analysis model to obtain the target gas concentration. Through this device, the entire harmful gas concentration detection process can be automatically completed, thereby improving the detection efficiency and accuracy. For example, the acquisition module 11 can monitor the indoor air in real time, the detection module 12 achieves high-sensitivity detection through advanced photoacoustic wave technology, the fitting module 13 and the mapping module 14 reveal the trend and characteristics of gas concentration changes through data processing, and finally the analysis module 15 uses complex algorithms to accurately predict the gas concentration. The entire process does not require human intervention, which greatly improves the efficiency and accuracy of detection.
[0049] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned harmful gas concentration detection method embodiment, and will not be repeated here.
[0050] Embodiment 4: like Figure 3 As shown, the present application also provides an explosion-proof terminal 20 for detecting the concentration of harmful gases: comprising a memory 21 and a processor 22, the memory 21 stores a computer program that can be run on the processor 22, and the processor 22 implements the harmful gas concentration detection method of Example 1 when executing the computer program. Through this design, the harmful gas concentration detection method can be integrated into a specific hardware device, which is particularly suitable for use in flammable and explosive environments. For example, in the petrochemical industry, the explosion-proof terminal can be installed in a key position to monitor the concentration of harmful gases such as carbon monoxide and formaldehyde in real time. Once an excessive situation is detected, an alarm is immediately issued, and a computer program is executed for rapid analysis to provide data support for taking emergency measures, thereby ensuring the safety of the production environment.
[0051] Embodiment 5: The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor, the processor executes the harmful gas concentration detection method as in Example 1. In this way, the computer-readable storage medium can be widely used in various devices, such as personal computers, professional detection equipment, or integrated into smart home systems, providing flexible installation options. For example, a user can install this computer program in the smart system of the home to achieve real-time monitoring and analysis of the indoor air quality of the home. When it is detected that the concentration of harmful gases exceeds the standard, the system can automatically notify the user and make improvement suggestions, or directly link the air purification equipment for processing to ensure the safety and comfort of the living environment.
[0052] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting harmful gas concentration, characterized in that: Installing a gas sensor at a preset position indoors, the method comprising: Acquiring the carbon monoxide content and formaldehyde content of the indoor initial gas sample by the gas sensor; Performing photoacoustic wave detection on the initial gas sample to obtain a sensor response value, performing spectrum analysis on the sensor response value to obtain a concentration data point, and processing the concentration data point to obtain time series data; Performing curve fitting on the time series data to obtain a change curve, and performing curve feature analysis on the change curve to obtain a change feature set; Performing matrix mapping on the carbon monoxide content, the formaldehyde content and the change feature set to obtain a target change feature matrix; The target change characteristic matrix is input into a preset analysis model to obtain the target gas concentration.
2. The method for detecting harmful gas concentration according to claim 1, characterized in that: The step of obtaining the carbon monoxide content and formaldehyde content of the indoor gas sample by the initial gas sensor comprises: Monitoring and recording gas samples in indoor air in real time through a gas sensor, and analyzing carbon monoxide content and formaldehyde content based on the gas samples; The gas sample is standardized and input into a preset environmental parameter. The environmental parameter adjusts the standardized gas sample according to temperature, humidity and air pressure to obtain an initial gas sample.
3. The method for detecting harmful gas concentration according to claim 1, characterized in that: The step of performing photoacoustic wave detection on the initial gas sample to obtain a sensor response value comprises: Inputting the initial gas sample into a photoacoustic cell of a preset photoacoustic wave detection system; wherein the photoacoustic wave detection system comprises a light source, a photoacoustic cell and an acoustic wave detector; According to the characteristics of the initial gas sample, the power and wavelength of the light source are adjusted; wherein when the laser of the light source passes through the photoacoustic cell, the initial gas sample absorbs light energy and generates a photoacoustic signal; The photoacoustic signal generated by the initial gas sample is captured by the acoustic wave detector, and the photoacoustic signal is analyzed according to Fourier transform to obtain a sensor response value.
4. The method for detecting harmful gas concentration according to claim 1, characterized in that: The steps of performing spectrum analysis on the sensor response value to obtain concentration data points, and processing the concentration data points to obtain time series data include: Performing spectrum analysis on the sensor response value by Fourier transform to extract frequency components representing different gas components; quantifying the intensity of the frequency components of the different gas components to obtain concentration data points of the different gas components; The concentration data points of the different gas components are arranged in chronological order to construct time series data reflecting the change of gas concentration.
5. The method for detecting harmful gas concentration according to claim 1, characterized in that: The step of performing curve fitting on the time series data to obtain a change curve, and performing curve feature analysis on the change curve to obtain a change feature set comprises: Fitting the time series data into a variation curve by least square method; Performing feature analysis on the change curve to identify extreme points and inflection points of the change curve; The extreme points and the inflection points are integrated into a feature set.
6. The method for detecting harmful gas concentration according to claim 1, characterized in that: The step of performing matrix mapping on the carbon monoxide content, the formaldehyde content and the change feature set to obtain a target change feature matrix comprises: Construct a multidimensional data matrix containing carbon monoxide content, formaldehyde content and change feature set; The principal component analysis is performed on the multidimensional data matrix to extract the main change trends and patterns of the data in the multidimensional data matrix and convert them into a target change feature matrix.
7. The method for detecting harmful gas concentration according to claim 1, characterized in that: The step of inputting the target change characteristic matrix into a preset analysis model to obtain the target gas concentration includes: Inputting the target change feature matrix into a preset analysis model; wherein the analysis model is composed of a comprehensive feature processing network, and the comprehensive feature processing network includes an input layer, multiple hidden layers and an output layer; The target change feature matrix is received through the input layer, and the multi-layer perceptron in the hidden layer is used to perform deep feature learning to extract key analysis indicators; The key analytical indicators are converted into predicted gas concentration values through the output layer.
8. A harmful gas concentration detection device, characterized in that: include: An acquisition module, used for acquiring the carbon monoxide content and formaldehyde content of the indoor initial gas sample through the gas sensor; A detection module, used for performing photoacoustic wave detection on the initial gas sample to obtain a sensor response value, performing spectrum analysis on the sensor response value to obtain a concentration data point, and processing the concentration data point to obtain time series data; A fitting module, used for performing curve fitting on the time series data to obtain a change curve, and performing curve feature analysis on the change curve to obtain a change feature set; A mapping module, used for performing matrix mapping on the carbon monoxide content, the formaldehyde content and the change feature set to obtain a target change feature matrix; The analysis module is used to input the target change characteristic matrix into a preset analysis model to obtain the target gas concentration.
9. An explosion-proof terminal for detecting harmful gas concentration, characterized in that: It includes a memory and a processor, the memory stores a computer program that can be run on the processor, and is characterized in that when the processor executes the computer program, it implements the harmful gas concentration detection method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the processor is enabled to execute the harmful gas concentration detection method as described in any one of claims 1 to 7.
