Gas concentration detection method and system, medium and electronic equipment
By statistically analyzing the probability of gas peak occurrence, the hardware dependence and high cost of traditional TDLAS technology in the detection of trace gases at low concentrations are solved, enabling a reduction in the detection limit and an improvement in performance without increasing hardware investment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-25
- Publication Date
- 2026-03-27
AI Technical Summary
Traditional TDLAS technology faces hardware dependence and high cost issues in the detection of low-concentration trace gases, making it difficult to further reduce the detection limit and improve performance without increasing hardware investment.
By acquiring statistical gas data including reference gas and detection gas, peak extraction and continuous acquisition are performed at fixed peak positions. The probability of gas peak occurrence is statistically analyzed, and the concentration of detection gas is determined using the probability of reference gas peak occurrence. A new calibration value is then used to determine the gas concentration.
Under the same hardware conditions, it is possible to effectively detect and distinguish ultra-low concentration gases with signal strength equal to or lower than the noise level, thereby reducing the detection limit and improving the instrument's detection performance indicators.
Smart Images

Figure CN121740796A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of instrumentation technology and relates to a gas concentration detection, particularly a gas concentration detection method, system, medium, and electronic equipment. Background Technology
[0002] Currently, TDLAS (Tunable Diode Laser Absorption Spectroscopy) has become the mainstream technology for gas detection. Its core theoretical basis is the Beer-Lambert law, which is expressed as It = I0 * exp[-a(v) * c * L], where It is the intensity of the transmitted light after passing through the gas to be measured; I0 is the intensity of the incident light entering the gas to be measured; a(v) is the absorption coefficient, which is related to the type of gas and the frequency (wavelength) of the light passing through the gas; c is the concentration of the gas to be measured; and L is the absorption path length of the gas to be measured.
[0003] Based on the different methods of acquiring absorption signals, TDLAS technology is mainly divided into direct absorption spectroscopy and wavelength modulation spectroscopy. Wavelength modulation spectroscopy offers high accuracy and a low detection limit, making it more suitable for detecting trace gases at low concentrations, where even lower detection limits are often required. Traditional WMS technology retrieves gas concentrations through modulation and harmonic extraction, and its performance improvement fundamentally relies on two physical quantities from Beer-Lambert's law: incident light intensity and absorption path length. In engineering practice, this means the need for higher-power lasers and longer optical path gas chambers. However, improvements in both hardware lead to a sharp increase in cost, constituting a major bottleneck in technological development. Therefore, traditional technologies, in pursuing lower detection limits, face a high dependence on hardware and the resulting high costs. This makes further reducing the detection limit and improving product performance without increasing hardware investment a highly challenging and economically valuable technical problem. Summary of the Invention
[0004] The purpose of this application is to provide a gas concentration detection method, system, medium, and electronic device that can improve the detection limit of low-concentration gases.
[0005] In a first aspect, this application provides a gas concentration detection method, the gas concentration detection method comprising: acquiring a statistical gas including a reference gas and a detection gas, wherein the reference gas includes a gas with no gas absorption information, a detection limit concentration gas, and a standard concentration gas, and the detection gas includes a first trace gas and a second trace gas; extracting peak values at fixed peak positions from the gas absorption peaks of the statistical gas to obtain a target number of statistical gas peak data; processing the target number of statistical gas peak data to obtain the probability of occurrence of statistical gas peaks, wherein the probability of occurrence of statistical gas peaks includes the probability of occurrence of reference gas peaks and the probability of occurrence of detection gas peaks; and determining the probability of occurrence of detection gas peaks based on the probability of occurrence of reference gas peaks to obtain the gas concentration of the detection gas.
[0006] In one implementation of the first aspect, the process of extracting peak values from the gas absorption peaks of the statistical gas at fixed peak positions to obtain a target number of statistical gas peak data includes: collecting the gas absorption peaks of the statistical gas; processing the gas absorption peaks of the statistical gas to obtain peak data results at fixed peak positions; and continuously collecting the gas absorption peaks of the statistical gas and the peak data results at the fixed peak positions to obtain the target number of statistical gas peak data.
[0007] In one implementation of the first aspect, the process of processing the statistical gas peak data of the target collection quantity to obtain the probability of occurrence of the statistical gas peak includes: determining the statistical gas peak data of the target collection quantity to obtain the number of non-zero peak data in the statistical gas peak data; and processing the statistical gas peak data of the number of non-zero peak data to obtain the probability of occurrence of the statistical gas peak.
[0008] In one implementation of the first aspect, the probability of occurrence of the reference gas peak includes the probability of occurrence of a gas peak without gas absorption information, the probability of occurrence of a gas peak at the detection limit concentration, and the probability of occurrence of a gas peak at the standard concentration; and the probability of occurrence of the detection gas peak includes the probability of occurrence of a first trace gas peak and the probability of occurrence of a second trace gas peak.
[0009] In one implementation of the first aspect, the process of determining the probability of occurrence of the detection gas peak based on the probability of occurrence of the reference gas peak to obtain the gas concentration of the detection gas includes: when the probability of occurrence of the first trace gas peak is less than or equal to the probability of occurrence of the detection limit concentration gas peak, obtaining the first trace gas concentration through a first trace gas concentration discriminant; when the probability of occurrence of the second trace gas peak is greater than the probability of occurrence of the detection limit concentration gas peak and the probability of occurrence of the second trace gas peak is less than the probability of occurrence of the standard concentration gas peak, obtaining the second trace gas concentration through a second trace gas concentration discriminant.
[0010] In one implementation of the first aspect, the first trace gas concentration discriminant is expressed as: the first trace gas concentration = (the probability of the first trace gas peak occurrence - the probability of the gas peak occurrence without gas absorption information) × (the gas concentration of the detection limit concentration gas - the gas concentration without gas absorption information) / (the probability of the detection limit concentration gas peak occurrence - the probability of the gas peak occurrence without gas absorption information) + the gas concentration without gas absorption information.
[0011] In one implementation of the first aspect, the second trace gas concentration discriminant is expressed as: the second trace gas concentration = (probability of the second trace gas peak occurrence - probability of the detection limit concentration gas peak occurrence) × (gas concentration of the standard concentration gas - gas concentration of the detection limit concentration gas) / (probability of the standard concentration gas peak occurrence - probability of the detection limit concentration gas peak occurrence) + gas concentration of the detection limit concentration gas.
[0012] Secondly, this application provides a gas concentration detection system, comprising: a gas acquisition module for acquiring a statistical gas including a reference gas and a detection gas, wherein the reference gas includes a gas with no gas absorption information, a detection limit concentration gas, and a standard concentration gas, and the detection gas includes a first trace gas and a second trace gas; a peak extraction module for extracting peak values at fixed peak positions from the gas absorption peaks of the statistical gas to obtain a target number of statistical gas peak data; a peak data processing module for processing the target number of statistical gas peak data to obtain the probability of occurrence of statistical gas peaks, wherein the probability of occurrence of statistical gas peaks includes the probability of occurrence of reference gas peaks and the probability of occurrence of detection gas peaks; and a detection gas concentration determination module for determining the probability of occurrence of detection gas peaks based on the probability of occurrence of reference gas peaks to obtain the gas concentration of the detection gas.
[0013] Thirdly, this application provides an electronic device, the electronic device comprising: a memory storing a computer program thereon; and a processor communicatively connected to the memory for executing the computer program to implement the above-described gas concentration detection method.
[0014] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an electronic device, implements the above-described gas concentration detection method.
[0015] As described above, the gas concentration detection method, system, medium, and electronic equipment described in this application have the following beneficial effects:
[0016] Peak data of the target number of gas absorption peaks are obtained by extracting peaks from fixed peak positions and continuously collecting them. The gas peak data are then evaluated to obtain the probability of occurrence of non-zero peak data. This probability of occurrence is used as a new calibration value. The probability of occurrence of the detected gas peak is determined based on the probability of occurrence of the peak of the reference gas in the statistical gas. This enables effective detection and resolution of ultra-low concentration gases with signal strength equal to or even lower than the noise level. Under the same hardware conditions, the detection limit is further reduced, and the performance index of the instrument's detection limit is improved. Attached Figure Description
[0017] Figure 1 The image shown is a waveform diagram of the gas absorption curve described in an embodiment of this application.
[0018] Figure 2 The diagram shows a process schematic of the gas concentration detection method described in the embodiments of this application.
[0019] Figure 3 The diagram shown is a schematic representation of the peak extraction process described in the embodiments of this application.
[0020] Figure 4 The diagram shown is a schematic representation of the standard gas absorption peaks described in the embodiments of this application.
[0021] Figure 5 The diagram shown is a structural schematic of the gas concentration detection system described in an embodiment of this application.
[0022] Figure 6 The diagram shown is a schematic representation of the electronic device described in an embodiment of this application. Detailed Implementation
[0023] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.
[0024] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0025] Currently, TDLAS (Tunable Diode Laser Absorption Spectroscopy) has become the mainstream technology for gas detection. Its core theoretical basis is the Beer-Lambert law, which is expressed as It = I0 * exp[-a(v) * c * L], where It is the intensity of the transmitted light after passing through the gas to be measured; I0 is the intensity of the incident light entering the gas to be measured; a(v) is the absorption coefficient, which is related to the type of gas and the frequency (wavelength) of the light passing through the gas; c is the concentration of the gas to be measured; and L is the absorption path length of the gas to be measured.
[0026] Based on the different methods of acquiring absorption signals, TDLAS technology is mainly divided into direct absorption spectroscopy and wavelength modulation spectroscopy. Wavelength modulation spectroscopy offers high accuracy and a low detection limit, making it more suitable for detecting trace gases at low concentrations, where even lower detection limits are often required. Traditional WMS technology retrieves gas concentrations through modulation and harmonic extraction, and its performance improvement fundamentally relies on two physical quantities from Beer-Lambert's law: incident light intensity and absorption path length. In engineering practice, this means the need for higher-power lasers and longer optical path gas chambers. However, improvements in both hardware lead to a sharp increase in cost, constituting a major bottleneck in technological development. Therefore, traditional technologies, in pursuing lower detection limits, face a high dependence on hardware and the resulting high costs. This makes further reducing the detection limit and improving product performance without increasing hardware investment a highly challenging and economically valuable technical problem.
[0027] At least in response to the above-mentioned problems, the following embodiments of this application provide a gas concentration detection method, system, medium, and electronic device.
[0028] Figure 1 The image shown is a waveform diagram of a gas absorption curve according to an embodiment of this application. Figure 1 As shown, wavelength modulation spectroscopy is used for gas concentration detection. When the gas concentration changes from low to high, the calculated second harmonic absorption peak waveform corresponds to numbers 1, 2, 3, and 4 in the figure. Numbers 1 to 4 correspond to four cases: nitrogen (no absorption), weak absorption, moderate absorption, and strong absorption, respectively. As can be seen from the figure, in the absence of gas absorption (such as in the nitrogen environment indicated by number 1), due to the inherent noise of the system, random pseudo-signals resembling absorption peaks still appear on the second harmonic waveform. When the gas concentration is low (such as in number 2), although a real absorption peak is generated, its signal strength is lower than the noise signal and is often submerged by noise, making effective identification based on peak height impossible. Furthermore, noise interference makes it impossible to stably find the peak within the preset locking range (red box). Only when the gas concentration is sufficiently high (such as in number 4) does the absorption peak become significant, with its signal strength far exceeding the noise level.
[0029] To address the challenge of detecting low-concentration gases (such as No. 2), repeated sampling, peak finding, and statistical analysis were performed on low-concentration gases to obtain the probability of peak occurrence. With the accumulation of statistical processing, the probability of noise spurious peaks in a pure nitrogen environment stabilizes at a low baseline value. As the actual gas concentration increases, the probability of the true absorption peak also increases accordingly. When the concentration reaches a certain level, the probability of peak occurrence reaches 100%.
[0030] The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0031] Figure 2 This is a schematic diagram illustrating the process of a gas concentration detection method in one embodiment of this application. Figure 2 As shown, the gas concentration detection method includes the following steps S11 to S14.
[0032] Step S11: Obtain a statistical gas including a reference gas and a detection gas. The reference gas includes a gas with no gas absorption information, a gas with a detection limit concentration, and a standard concentration gas. The detection gas includes a first trace gas and a second trace gas. For example, nitrogen is a gas with no gas absorption information.
[0033] Step S12: Extract peak values from the gas absorption peaks of the statistical gas at fixed peak positions to obtain the statistical gas peak data of the target collection quantity.
[0034] Figure 3 This is a schematic diagram illustrating the peak extraction process in one embodiment of this application. For example... Figure 3As shown, the process of extracting peak values from the gas absorption peaks of the statistical gas at fixed peak positions to obtain the statistical gas peak data of the target collection quantity includes the following steps S21 to S23.
[0035] Step S21: Acquire the gas absorption peak of the statistical gas. For example, acquire the second harmonic intensity signal data of the statistical gas containing gas concentration information to obtain the gas absorption peak. The standard gas absorption peak is, for example, [example gas absorption peak]. Figure 4 .
[0036] Step S22: Process the gas absorption peaks of the statistical gas to obtain peak data results at fixed peak positions. Search for the middle position of the gas absorption peaks of the statistical gas, i.e., the second harmonic signal data, and use the center position as the fixed peak position. Detect whether a peak appears at the fixed peak position and represent the peak with P1. If a peak exists, P1 is the actual peak data; if no peak exists, P1 = 0.
[0037] Step S23 involves continuously collecting data from the gas absorption peaks of the statistical gas and the peak data at the fixed peak positions to obtain the target number of statistical gas peak data points. This process is repeated in the order of steps S11 and S12 until the target number of peak data points is reached. For example, the target number of peak data points is 100, i.e., P1, P2, ..., P100, a total of 100 peak data points.
[0038] Step S13: Process the statistical gas peak data of the target collection quantity to obtain the statistical gas peak occurrence probability, which includes the reference gas peak occurrence probability and the detection gas peak occurrence probability.
[0039] In one embodiment of this application, the process of processing the statistical gas peak data of the target collection quantity to obtain the probability of occurrence of the statistical gas peak includes: determining the statistical gas peak data of the target collection quantity to obtain the number of non-zero peak data in the statistical gas peak data; and processing the statistical gas peak data of the number of non-zero peak data to obtain the probability of occurrence of the statistical gas peak.
[0040] For example, determine the number of gas peak data points with non-zero peak values among the 100 statistical gas peak data points P1-P100, and obtain the probability of occurrence of statistical gas peaks by dividing the number of gas peak data points with non-zero peak values by the total number of statistical gas peak data points. That is, the probability of occurrence of statistical gas peaks A = the number of non-zero peak values / 100.
[0041] Repeat steps S11 to S13 until all statistical gas peak occurrence probabilities are obtained. The statistical gas peak occurrence probabilities include the reference gas peak occurrence probability and the detection gas peak occurrence probability. The reference gas peak occurrence probability includes the peak occurrence probability of gases with no gas absorption information, the peak occurrence probability of gases at the detection limit concentration, and the peak occurrence probability of gases at the standard concentration. The detection gas peak occurrence probability includes the first trace gas peak occurrence probability and the second trace gas peak occurrence probability. See Table 1 for the correspondence between all statistical gas peak occurrence probabilities and gas concentrations.
[0042] C1=0 A1 Ca Aa C2 A2 Cb Ab C3 A3=100%
[0043] Table 1 Statistical Gas Peak Data Table
[0044] Wherein, C1 is the gas concentration without gas absorption information, C2 is the gas concentration of the gas at the detection limit concentration, C3 is the gas concentration of the standard concentration gas, Ca is the gas concentration of the first trace gas, Cb is the gas concentration of the second trace gas, A1 is the probability of the gas peak occurring without gas absorption information, A2 is the probability of the gas peak occurring at the detection limit concentration, A3 is the probability of the gas peak occurring at the standard concentration, Aa is the probability of the first trace gas peak occurring, and Ab is the probability of the second trace gas peak occurring.
[0045] Step S14: Based on the probability of occurrence of the reference gas peak, determine the probability of occurrence of the detection gas peak to obtain the gas concentration of the detection gas.
[0046] In one embodiment of this application, the process of determining the probability of occurrence of the detection gas peak based on the probability of occurrence of the reference gas peak to obtain the gas concentration of the detection gas includes: when the probability of occurrence of the first trace gas peak is less than or equal to the probability of occurrence of the detection limit concentration gas peak, obtaining the first trace gas concentration through a first trace gas concentration discriminant; when the probability of occurrence of the second trace gas peak is greater than the probability of occurrence of the detection limit concentration gas peak and the probability of occurrence of the second trace gas peak is less than the probability of occurrence of the standard concentration gas peak, obtaining the second trace gas concentration through a second trace gas concentration discriminant.
[0047] In one embodiment of this application, the first trace gas concentration discriminant is expressed as: the first trace gas concentration = (the probability of the first trace gas peak occurrence - the probability of the gas peak occurrence without gas absorption information) × (the gas concentration of the detection limit concentration gas - the gas concentration without gas absorption information) / (the probability of the detection limit concentration gas peak occurrence - the probability of the gas peak occurrence without gas absorption information) + the gas concentration without gas absorption information, that is, Ca = (Aa - A1) × (C2 - C1) / (A2 - A1) + C1.
[0048] In one embodiment of this application, the second trace gas concentration discriminant is expressed as: the second trace gas concentration = (the probability of the second trace gas peak occurrence - the probability of the detection limit concentration gas peak occurrence) × (the gas concentration of the standard concentration gas - the gas concentration of the detection limit concentration gas) / (the probability of the standard concentration gas peak occurrence - the probability of the detection limit concentration gas peak occurrence) + the gas concentration of the detection limit concentration gas, i.e., Cb = (Ab - A2) × (C3 - C2) / (A3 - A2) + C2.
[0049] In summary, the gas concentration detection method of this application extracts peak values from fixed peak positions of gas absorption peaks and continuously collects a target number of gas peak data. The method then determines the gas peak data. When the peak occurrence probability is 100%, the peak height is used to calibrate the gas concentration. When the peak occurrence probability is less than 100%, the number of non-zero peak data is obtained, and the occurrence probability of the non-zero peak data is calculated. This peak occurrence probability is used as a new calibration value. The detection gas peak occurrence probability is determined based on the peak occurrence probability of a reference gas in the statistical gas, thereby determining the gas concentration of the detection gas. Under the same hardware conditions, this method further reduces the detection limit, improves the instrument's detection limit performance, and enables effective detection and resolution of ultra-low concentration gases with signal strength equal to or even lower than the noise level.
[0050] The scope of protection of the gas concentration detection method described in this application is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this application is included within the scope of protection of this application.
[0051] This application also provides a gas concentration detection system, which can implement the gas concentration detection method described in this application. However, the implementation device of the gas concentration detection method described in this application includes, but is not limited to, the structure of the gas concentration detection system listed in this embodiment. All structural modifications and substitutions of the prior art made based on the principles of this application are included within the protection scope of this application.
[0052] Figure 5 The diagram shown is a structural schematic of a gas concentration detection system according to an embodiment of this application. Figure 5As shown, the gas concentration detection system 1 includes: a gas acquisition module 11, a peak extraction module 12, a peak data processing module 13, and a detection gas concentration determination module 14. The gas acquisition module 11 acquires statistical gas data including a reference gas and a detection gas. The reference gas includes a gas with no gas absorption information, a gas with a detection limit concentration, and a standard concentration gas. The detection gas includes a first trace gas and a second trace gas. The peak extraction module 12 extracts peak values from the gas absorption peaks of the statistical gas at fixed peak positions to obtain a target number of statistical gas peak data samples. The peak data processing module 13 processes the target number of statistical gas peak data samples to obtain the probability of occurrence of statistical gas peak values, which includes the probability of occurrence of reference gas peak values and the probability of occurrence of detection gas peak values. The detection gas concentration determination module 14 determines the probability of occurrence of detection gas peak values based on the probability of occurrence of reference gas peak values to obtain the gas concentration of the detection gas.
[0053] It should be noted that, Figure 5 The modules in the gas concentration detection system 1 shown are... Figure 2 The steps in the gas concentration detection method are all corresponding and will not be repeated here.
[0054] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or modules or units may be electrical, mechanical, or other forms.
[0055] The modules / units described as separate components may or may not be physically separate. The components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules / units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs. For example, the functional modules / units in the various embodiments of this application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0056] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0057] This application also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, this computer program implements the gas concentration detection method provided in this application. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor. The program can be stored in a computer-readable storage medium, which is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof. The above storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0058] This application embodiment may also provide an electronic device. Figure 6 The diagram shown is a structural schematic of an electronic device 200 according to an embodiment of this application. Figure 6 As shown, in this embodiment, the electronic device 200 includes a memory 201 and a processor 202.
[0059] The memory 201 is used to store computer programs. In some possible implementations, the memory 201 may include various media capable of storing program code, such as ROM, RAM, magnetic disk, USB flash drive, memory card, or optical disk.
[0060] In this embodiment, memory 201 may include a computer system readable medium in the form of volatile memory, such as RAM and / or cache memory. Electronic device 200 may further include other removable / non-removable, volatile / non-volatile computer system storage media. Memory 201 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.
[0061] The processor 202 is connected to the memory 201 and is used to execute the computer program stored in the memory 201 so that the electronic device 200 performs the gas concentration detection method.
[0062] For example, processor 202 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. In other embodiments, processor 202 may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0063] In some implementations, the electronic device 200 provided in this application embodiment may further include a display 203. The display 203 is communicatively connected to the memory 201 and the processor 202, and is used to display the relevant graphical user interface (GUI) of the gas concentration detection method.
[0064] In this embodiment, the display 203 may include a display screen (display panel). In some implementations, the display panel may be configured using a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other similar forms. Furthermore, the display 203 may also be a touch panel (touchscreen, touch screen), which may include a display screen and a touch-sensitive surface. When the touch-sensitive surface detects a touch operation on or near it, it transmits the information to the processor 202 to determine the type of touch event. Subsequently, the processor 202 provides corresponding visual output on the display device based on the type of touch event.
[0065] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.
[0066] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A method for detecting gas concentration, characterized in that, The gas concentration detection method includes: Acquire a statistical gas containing a reference gas and a detection gas, wherein the reference gas includes a gas with no gas absorption information, a gas with a detection limit concentration, and a standard concentration gas, and the detection gas includes a first trace gas and a second trace gas; Peak data of the statistical gas are obtained by extracting peak values at fixed peak positions from the gas absorption peaks of the statistical gas to obtain the target number of statistical gas peak data collected. The statistical gas peak data of the target collection quantity are processed to obtain the statistical gas peak occurrence probability, which includes the reference gas peak occurrence probability and the detection gas peak occurrence probability; Based on the probability of the reference gas peak occurrence, the probability of the detected gas peak occurrence is determined to obtain the gas concentration of the detected gas.
2. The gas concentration detection method according to claim 1, characterized in that, The process of extracting peak values from the gas absorption peaks of the statistical gas at fixed peak positions to obtain the statistical gas peak data of the target collection quantity includes: Collect the gas absorption peaks of the statistical gas; The gas absorption peaks of the statistical gas are processed to obtain peak data results at fixed peak positions; The gas absorption peak of the statistical gas and the peak data at the fixed peak position are continuously collected to obtain the target number of statistical gas peak data.
3. The gas concentration detection method according to claim 1, characterized in that, The process of processing the statistical gas peak data of the target collection quantity to obtain the probability of the occurrence of the statistical gas peak includes: The statistical gas peak data of the target collection quantity is determined to obtain the number of non-zero peak data in the statistical gas peak data. The statistical gas peak data of the number of non-zero peak values are processed to obtain the probability of occurrence of the statistical gas peak values.
4. The gas concentration detection method according to claim 1, characterized in that, The probability of occurrence of the reference gas peak includes the probability of occurrence of the gas peak without gas absorption information, the probability of occurrence of the gas peak at the detection limit concentration, and the probability of occurrence of the gas peak at the standard concentration. The probability of occurrence of the detection gas peak includes the probability of occurrence of the first trace gas peak and the probability of occurrence of the second trace gas peak.
5. The gas concentration detection method according to claim 4, characterized in that, The process of determining the gas concentration of the detected gas by judging the peak occurrence probability of the detected gas based on the peak occurrence probability of the reference gas includes: When the probability of the first trace gas peak occurrence is less than or equal to the probability of the peak occurrence of the detection limit concentration gas, the first trace gas concentration is obtained by the first trace gas concentration discriminant. When the probability of the second trace gas peak is greater than the probability of the peak of the detection limit concentration gas and the probability of the second trace gas peak is less than the probability of the peak of the standard concentration gas, the second trace gas concentration is obtained by the second trace gas concentration discriminant.
6. The gas concentration detection method according to claim 5, characterized in that, The first trace gas concentration discriminant is expressed as: The first trace gas concentration = (probability of the first trace gas peak occurrence - probability of the gas peak occurrence without gas absorption information) × (gas concentration of the detection limit concentration gas - gas concentration without gas absorption information) / (probability of the detection limit concentration gas peak occurrence - probability of the gas peak occurrence without gas absorption information) + gas concentration without gas absorption information.
7. The gas concentration detection method according to claim 5, characterized in that, The second trace gas concentration discriminant is expressed as: The second trace gas concentration = (probability of the second trace gas peak occurrence - probability of the detection limit concentration gas peak occurrence) × (gas concentration of the standard concentration gas - gas concentration of the detection limit concentration gas) / (probability of the standard concentration gas peak occurrence - probability of the detection limit concentration gas peak occurrence) + gas concentration of the detection limit concentration gas.
8. A gas concentration detection system, characterized in that, The gas concentration detection system includes: A gas acquisition module is used to acquire a statistical gas containing a reference gas and a detection gas. The reference gas includes a gas with no gas absorption information, a gas with a detection limit concentration, and a standard concentration gas. The detection gas includes a first trace gas and a second trace gas. The peak extraction module is used to extract the peaks at fixed peak positions from the gas absorption peaks of the statistical gas in order to obtain the peak data of the statistical gas for the target number of samples. The peak data processing module is used to process the statistical gas peak data of the target collection quantity to obtain the statistical gas peak occurrence probability, which includes the reference gas peak occurrence probability and the detection gas peak occurrence probability. The detection gas concentration determination module is used to determine the probability of occurrence of the detection gas peak based on the probability of occurrence of the reference gas peak to obtain the gas concentration of the detection gas.
9. An electronic device, characterized in that, The electronic device includes: A memory on which computer programs are stored; A processor, communicatively connected to the memory, is used to execute the computer program to implement the gas concentration detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by an electronic device, it implements the gas concentration detection method according to any one of claims 1 to 7.