Infrared spectroscopy gas concentration detection method, terminal and storage medium
By combining environmental parameters in infrared spectral gas detection, an infrared radiation transmission model was established, and the problem of the inability to accurately quantify the leakage gas concentration in the prior art was solved, and high-precision detection and efficiency improvement in complex environments were achieved.
Patent Information
- Application Number
- CN202410922135.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The existing infrared spectroscopic gas detection technology cannot accurately quantify the concentration of leaked gas in complex and changing industrial environments, and fails to effectively combine the influence of environmental factors.
By obtaining real-time infrared spectral images and environmental parameters, an infrared radiation transmission model of leaked gas is established, and the gas concentration value corresponding to each pixel point is output using nonlinear regression analysis and gas concentration function table.
It improves the accuracy and detection efficiency of leaked gas concentration detection in complex and variable industrial environments, and can predict the degree of danger in a timely manner and take measures.
Smart Images

Figure CN118961636B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of measurement technology, and in particular to an infrared spectrum gas concentration detection method, a terminal and a storage medium. Background Art
[0002] Gas leakage is a crucial component of safe and reliable modern industrial development, directly impacting industrial progress. Many industrial sites use or generate hazardous gases, including methane, liquefied natural gas, ethylene, and other industrial gases and their liquefied forms, which are harmful to organisms and the ecological environment. Leaks can occur during or after the use of hazardous gases. These leaks not only pollute the environment but also directly impact public safety and social stability. Therefore, rapid and accurate detection of leaked hazardous gases is essential to alert personnel and enable timely action.
[0003] Infrared absorption spectroscopy is a key technology for detecting leaked hazardous gases. This technique utilizes the absorption of infrared light by gas molecules for detection, offering advantages such as high sensitivity, precision, a long calibration cycle, a long lifespan, and good selectivity. Extensive research has been conducted on the application of infrared multispectral gas detection. Currently, infrared imaging can be used to visually detect gas leaks. However, the real-time concentration of leaked gas cannot be quantified, requiring the use of a gas concentration detection device. Numerous improvements have been made to leaked gas concentration detection technology.
[0004] Chinese patent CN108507966A discloses an infrared spectroscopy gas sensor and data processing method, which can directly collect infrared spectra, use a processor to process infrared spectroscopy signals, and can solve the concentration value of the gas to be measured under complex gas and strong water vapor interference conditions. Chinese patent CN219245357U discloses a petrochemical hydrocarbon pollutant detection device based on infrared spectroscopy, which can realize automated and high-throughput sample detection through universal adjustment, without the need to manually adjust the instrument angle and position, which can greatly improve the detection efficiency. The angle of the detection medium can be adjusted to any direction and angle, expanding the detection range. Chinese patent CN116309473A discloses a gas leak detection model training method and a gas leak detection method, which improves the detection accuracy and efficiency of gas leak areas and leak sources. Chinese patent CN112730302A provides a method and system for tracing the source of toxic and hazardous gases in industrial parks using infrared technology. This method can reliably and objectively monitor the dynamic distribution and diffusion trends of toxic and hazardous gases in industrial parks, thereby controlling the dynamic changes of toxic and hazardous gases in industrial parks in real time and promptly discovering and tracing the source of toxic and hazardous gas pollution. Chinese patent CN115901660A relates to a method, system, and application for quantitative analysis of semi-volatile components based on infrared spectroscopy, which enables quantitative analysis of the concentration of semi-volatile components in mixed gases and rapid quantitative detection of substances in emergency situations.
[0005] The above-mentioned patents have all studied and designed infrared spectroscopy gas detection technology. However, it can be seen from the above patents that the existing technology has the following problems in infrared spectroscopy gas detection:
[0006] The existing technology does not combine the influence of environmental factors to detect the concentration of leaked gas, and cannot detect a more accurate gas concentration value of leaked gas in a complex and changeable industrial environment. Summary of the Invention
[0007] The purpose of the embodiments of the present invention is to detect the concentration of leaked gas in combination with the influence of environmental factors, thereby improving the accuracy of the gas concentration value of the leaked gas detected in a complex and changeable industrial environment.
[0008] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a method for detecting gas concentration by infrared spectroscopy, comprising the following steps:
[0009] Acquire a real-time infrared spectral image containing leaked hazardous gas; acquire environmental parameters; input the real-time infrared spectral image and the environmental parameters into a pre-established leaked gas infrared radiation transmission model to obtain a gas concentration value corresponding to each pixel point of the real-time infrared spectral image; and output the gas concentration value as a quantified concentration result of the leaked hazardous gas.
[0010] Optionally, the environmental parameters include one or more of the following: a gas optical path length value, a gas pressure value, a gas temperature value, and a background radiation value.
[0011] Optionally, the step of establishing the leaked gas infrared radiation transmission model includes:
[0012] Step S1: setting an adjustment range for each relevant parameter, and selecting a preset number of values within the adjustment range of each relevant parameter as control nodes; the relevant parameters include gas concentration values and the environmental parameters;
[0013] Step S2: Select one of the relevant parameters as a variable, and perform the following operations for each selected variable:
[0014] Step S21: Adjust the remaining related parameters on their corresponding control nodes, adjusting one of the remaining related parameters at a time. For each adjustment of the remaining related parameters, perform the following operations:
[0015] Step S211: Recording the control node corresponding to the variable as a monitoring point, obtaining a preset number of infrared spectrum images containing leaked hazardous gas at each monitoring point, and calculating the pixel average of the infrared spectrum image at each monitoring point;
[0016] Step S212: performing nonlinear regression analysis on the monitoring points and the pixel averages to obtain a fitting function of the variables and pixel values;
[0017] Step S213: selecting a preset number of values within the adjustment range of the variable as verification points, obtaining a preset number of infrared spectral images containing leaked hazardous gas at each verification point, and calculating the pixel average of the infrared spectral image at each verification point, which is recorded as a first pixel value;
[0018] Step S214: Substituting the verification points into the fitting function for back calculation to obtain the pixel value of each verification point, which is recorded as the second pixel value;
[0019] Step S215: If the error between the first pixel value and the second pixel value of each verification point is within the preset range, save all monitoring points, the pixel averages of the infrared spectrum images corresponding to each monitoring point, and the values of the other related parameters; otherwise, return to step S211 and recalculate until the error between the first pixel value and the second pixel value of each verification point is within the preset range;
[0020] Step S3: Based on all the monitoring points, the pixel average values of the infrared spectrum images corresponding to each of the monitoring points, and the values of the remaining related parameters, a gas concentration function table is established, and the leaked gas infrared radiation transmission model is established based on the gas concentration function table; wherein the gas concentration function table is used to characterize the correspondence between pixel values, the gas concentration values, and the environmental parameters, and the leaked gas infrared radiation transmission model is used to output the gas concentration value corresponding to each pixel point of the infrared spectrum image when the infrared spectrum image and the environmental parameters are input.
[0021] Optionally, the intervals between the control nodes are the same, and the verification points are values between adjacent control nodes.
[0022] Optionally, the real-time infrared spectral image and the environmental parameters are input into a pre-established leaked gas infrared radiation transmission model to obtain the gas concentration value corresponding to each pixel point of the real-time infrared spectral image, including: inputting the real-time infrared spectral image into a pre-established leaked gas infrared radiation transmission model to obtain the pixel value of each pixel point in the real-time infrared spectral image; inputting the environmental parameters into the pre-established leaked gas infrared radiation transmission model; eliminating abnormal values in the pixel values of each pixel point, and recording the pixel values of the remaining pixel points as third pixel values; searching for all pixel values close to the third pixel value in the gas concentration function table, recording them as pixel reference values, and recording the gas concentration value corresponding to the pixel reference value as the gas concentration reference value; and filtering the gas concentration reference value based on the input environmental parameters, and using the filtering result as the gas concentration value corresponding to each pixel point of the real-time infrared spectral image.
[0023] Optionally, eliminating abnormal values in the pixel values of each pixel point includes: comparing the pixel value of each pixel point with a first threshold and a second threshold; and if the pixel value of a pixel point is less than the first threshold or greater than the second threshold, determining that the pixel value is an abnormal value, wherein the first threshold is the smallest pixel value among all pixel values in the gas concentration function table, and the second threshold is the largest pixel value among all pixel values in the gas concentration function table.
[0024] Optionally, searching for all pixel values close to the third pixel value in the gas concentration function table and recording them as pixel reference values includes: for each pixel value in the third pixel value, performing the following operations: comparing the pixel value with all pixel values in the gas concentration function table; and recording the pixel value in the gas concentration function table whose difference with the pixel value is within a preset range as the pixel reference value.
[0025] Optionally, the gas concentration function table includes a gas concentration function, which is a functional relationship between the gas concentration value and the pixel value, and the functional relationship is: for any gas concentration value x, pixel value y and arbitrary scalar α within the definition domain, f(x+y)=f(x)+f(y) and f(αx)=αf(x).
[0026] In a second aspect, an embodiment of the present invention provides a terminal comprising a processor; and a memory for storing execution instructions of the processor; wherein the processor is configured to execute the infrared spectroscopy gas concentration detection method described above in this application.
[0027] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the infrared spectroscopy gas concentration detection method described above in the present application.
[0028] It can be seen from the above technical solutions that the present invention has the following advantages:
[0029] 1. The infrared spectroscopy gas concentration detection method provided by the present invention combines the influence of environmental parameters on the gas concentration detection results, thereby improving the accuracy of the gas concentration value of the leaked gas detected in a complex and changeable industrial environment.
[0030] 2. The infrared spectroscopy gas concentration detection method provided by the present invention establishes an infrared radiation transmission model for leaked gas. The model can output corresponding gas concentration values based on the acquired infrared spectroscopy image and environmental parameters, which helps to improve the detection efficiency of leaked hazardous gas concentrations.
[0031] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:
[0033] Figure 1 This is a flow chart of an infrared spectroscopy gas concentration detection method provided by one embodiment of the present invention.
[0034] Figure 2 This is a flow chart of the steps for establishing an infrared radiation transmission model of leaked gas provided by an embodiment of the present invention.
[0035] Figure 3 Schematic diagram of the gas concentration function relationship between infrared spectrum pixel values and hazardous gas concentration values provided by an embodiment of the present invention.
[0036] Figure 4 It is a structural diagram of a gas infrared spectrum imaging detection experimental system provided by one embodiment of the present invention.
[0037] Figure 5 The figure is a schematic diagram of installing filters between independent measurement gas chambers provided by one embodiment of the present invention.
[0038] Description of Reference Numerals
[0039] 1Infrared spectrometer 2Independent measurement chamber
[0040] 3 blackbody light source 4 jacket
[0041] 5 filter 6 dangerous gas concentration detector
[0042] 7 Temperature transmitter 8 Pressure transmitter
[0043] 9 Hot and cold integrated machine 10 Hazardous gas storage tank
[0044] 11 Inert diluent gas or air storage tank 12 Pressure regulating valve
[0045] 13 filter 14a first flow controller
[0046] 14b Second flow controller 15 Dangerous gas filling valve
[0047] 16 Gas mixing pipeline 17 Emptying and circulation pipeline
[0048] 18 Exhaust line 19 Pressure control valve
[0049] 20 Safety valve 21 Gas absorption device
[0050] 22 Gas mixer 23 Heat exchanger
[0051] 24 Vacuum pump 25 Gas filling pipeline
[0052] 26 Control terminal 27 Oxygen concentration detector
[0053] 28 Inert diluent gas or air filling valve DETAILED DESCRIPTION
[0054] The following describes the specific implementation of the embodiment of the present invention in detail with reference to the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the embodiment of the present invention and is not used to limit the embodiment of the present invention.
[0055] Figure 1 This is a flow chart of the infrared spectroscopy gas concentration detection method provided by an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:
[0056] Acquire a real-time infrared spectral image containing leaked hazardous gas; acquire environmental parameters; input the real-time infrared spectral image and the environmental parameters into a pre-established leaked gas infrared radiation transmission model to obtain a gas concentration value corresponding to each pixel point of the real-time infrared spectral image; and output the gas concentration value as a quantified concentration result of the leaked hazardous gas.
[0057] It is understandable that in actual applications, environmental parameters can be obtained from detection devices already installed in industrial environments, or detection devices can be installed at locations where hazardous gas leaks may occur to obtain environmental parameters as needed.
[0058] Affected by various environmental factors in industrial environments, hazardous gases are distributed differently in different environments after leakage, and infrared spectral images also have differences. The infrared spectral gas concentration detection method provided by the present invention combines the influence of environmental parameters on the gas concentration detection results, thereby improving the accuracy of the gas concentration value of the leaked gas detected in complex and changeable industrial environments.
[0059] A pre-established infrared radiation transmission model for leaked gas outputs corresponding gas concentration values based on acquired infrared spectral images and environmental parameters, helping to improve both gas concentration accuracy and detection efficiency. In real-world industrial environments, workers can use the output of this model to predict the severity of leaks under different environmental and leakage conditions, enabling them to take timely action.
[0060] Furthermore, the environmental parameters include one or more of the following: a gas optical path length value, a gas pressure value, a gas temperature value, and a background radiation value.
[0061] In actual industrial environments, the environmental parameters that have a greater impact on the infrared spectrum image of leaked hazardous gases mainly include the gas optical path length value, gas pressure value, gas temperature value and background radiation value. Therefore, in this embodiment, selecting one or more of them as environmental parameters can better improve the detection accuracy.
[0062] Figure 2 This is a flow chart of the steps for establishing the infrared radiation transmission model of leaked gas provided by an embodiment of the present invention, such as Figure 2 As shown, the establishment of the leaked gas infrared radiation transmission model includes the following steps S1 to S3.
[0063] Step S1: setting an adjustment range of each relevant parameter, and selecting a preset number of values within the adjustment range of each relevant parameter as control nodes; the relevant parameters include gas concentration values and the environmental parameters.
[0064] Step S2: Select one of the relevant parameters as a variable, and perform the following operations for each selected variable:
[0065] Step S21: Adjust the remaining related parameters on their corresponding control nodes, adjusting one of the remaining related parameters at a time. For each adjustment of the remaining related parameters, perform the following operations:
[0066] Step S211: record the control node corresponding to the variable as a monitoring point, obtain a preset number of infrared spectrum images containing leaked hazardous gas at each monitoring point, and calculate the pixel average value of the infrared spectrum image of each monitoring point.
[0067] Step S212: performing nonlinear regression analysis on the monitoring points and the pixel average values to obtain a fitting function of the variables and pixel values.
[0068] Step S213: Select a preset number of values within the adjustment range of the variable as verification points, obtain a preset number of infrared spectrum images containing leaked hazardous gas at each verification point, and calculate the pixel average value of the infrared spectrum image of each verification point respectively, which is recorded as the first pixel value.
[0069] Step S214: Substitute the verification points into the fitting function for inverse calculation to obtain the pixel value of each verification point, which is recorded as the second pixel value.
[0070] Step S215: If the error between the first pixel value and the second pixel value of each verification point is within the preset range, save all monitoring points, the pixel average value of the infrared spectrum image corresponding to each monitoring point, and the values of the remaining related parameters; otherwise, return to step S211 and recalculate until the error between the first pixel value and the second pixel value of each verification point is within the preset range.
[0071] Step S3: Based on all the monitoring points, the pixel average values of the infrared spectrum images corresponding to each of the monitoring points, and the values of the remaining related parameters, a gas concentration function table is established, and the leaked gas infrared radiation transmission model is established based on the gas concentration function table; wherein the gas concentration function table is used to characterize the correspondence between pixel values, the gas concentration values, and the environmental parameters, and the leaked gas infrared radiation transmission model is used to output the gas concentration value corresponding to each pixel point of the infrared spectrum image when the infrared spectrum image and the environmental parameters are input.
[0072] When obtaining infrared spectral images of leaked hazardous gases at the monitoring points and the verification points, the number of images obtained at each monitoring point is preferably no less than three. In this embodiment, three images are obtained at each monitoring point or verification point, and then the pixel average of the three infrared spectral images is calculated as the pixel average of the monitoring point or verification point.
[0073] When setting the control nodes of each relevant parameter, the intervals between the control nodes can be made the same. In this embodiment, when setting the adjustment range of each relevant parameter and selecting the control node, the values are as follows:
[0074] Gas optical path length value: adjustment range is 0.1m-100.1m, and the control node interval is 1m.
[0075] Gas pressure value: adjustment range is 1kpa-500kpa, and the control node interval is 1kpa.
[0076] Gas concentration value: adjustment range is 0.1%-100%, and the control node interval is 0.1%.
[0077] Gas temperature value: The adjustment range is -200℃—500℃, and the control node interval is 1℃.
[0078] Background radiation value: The adjustment range is -500℃—100℃, and the control node interval is 1℃.
[0079] When one of the related parameters is selected as a variable, for example, when the gas optical path length value is selected as a variable, first adjust all the related parameters to the minimum value, that is, the gas optical path length value is 0.1m, the gas pressure value is 1kPa, the gas concentration value is 0.1%, the gas temperature value is -200℃, and the background radiation value is -50℃. At this time, it can be regarded that the other related parameters have been adjusted once on their corresponding control nodes. Then, perform the following operations:
[0080] Three infrared spectral images are acquired when these relevant parameters are taken, and the pixel average is calculated. The gas optical path length value is then adjusted at its monitoring point, also known as the control node. Each adjustment increments the gas optical path length by 1 meter, and three infrared spectral images are acquired, and the pixel average is calculated. This is repeated for the second adjustment to 1.1 meter, three infrared spectral images are acquired, and the pixel average is calculated. The third adjustment to 2.1 meter is followed by three infrared spectral images, and the pixel average is calculated. This continues until the gas optical path length value is adjusted to 100.1 meter, three infrared spectral images are acquired, and the pixel average is calculated. At this point, the pixel averages for all monitoring points are obtained. Nonlinear regression analysis is performed on these monitoring points and the pixel averages to obtain a fitting function between the gas optical path length value and the pixel value. It should be noted that the adjustment of the gas optical path length value to obtain the pixel averages for all monitoring points is performed after the other relevant parameters have been adjusted at their corresponding control nodes. That is, during the adjustment of the gas optical path length value, the other relevant parameters remain unchanged.
[0081] After obtaining the fitting function, it is necessary to verify the function. The verification points selected during verification can be the values between adjacent control nodes, that is, a value is taken between each adjacent control node as a verification point. The verification points selected in this way can verify the fitting function more comprehensively. Due to the limitations of instruments, experimental conditions, environment and other factors, measurements cannot be infinitely accurate. There will always be a certain difference between the measured value of a physical quantity and the objectively existing true value. Therefore, if the error between the first pixel value and the second pixel value is within a preset range, it can be considered that the obtained fitting function meets the requirements. All monitoring points, the pixel averages of the infrared spectrum images corresponding to each of the monitoring points, and the values of the remaining related parameters are saved. In addition, a linear function image of the fitting function can also be established, which can more intuitively check whether the fitting function has any abnormalities.
[0082] If the error between the first pixel value and the second pixel value is not within the preset range, it means that the fitting function cannot represent the relationship between the variable and the pixel value, and it is necessary to return to step S211 and recalculate.
[0083] After obtaining a fitting function, one of the remaining relevant parameters is adjusted to obtain a fitting function under another environment. In this embodiment, through the above operation, a fitting function between the gas optical path length and the pixel value is obtained when the gas pressure value is 1 kPa, the gas concentration value is 0.1%, the gas temperature value is -200°C, and the background radiation value is -50°C. At this time, one of the remaining relevant parameters is adjusted again, for example, the pressure value is adjusted to 2 kPa, while the gas concentration value, gas temperature value, and background radiation value remain unchanged. The gas optical path length value is still used as a variable, and steps S211-S215 are executed to obtain another fitting function between the gas optical path length and the pixel value. This process is repeated, each time adjusting one of the remaining relevant parameters, until a fitting function between the gas optical path length and the pixel value is obtained when all the remaining relevant parameters take any control node.
[0084] Then let another relevant parameter be a variable and repeat the above process until all relevant parameters are selected as variables.
[0085] After the above operations, a large number of pixel averages of all monitoring points, the infrared spectral images corresponding to each monitoring point, and the values of the other relevant parameters are obtained. When different relevant parameters are used as variables, the same relevant parameter value may result in different pixel values. For example, when the gas optical path length value is a variable, a pixel value will be obtained under the conditions of a gas optical path length value of 0.1m, a gas pressure value of 1kPa, a gas concentration value of 0.1%, a gas temperature value of -200°C, and a background radiation value of -200°C. When the gas pressure value is used as a variable, a pixel value will also be obtained under the conditions of a gas optical path length value of 0.1m, a gas pressure value of 1kPa, a gas concentration value of 0.1%, a gas temperature value of -200°C, and a background radiation value of -50°C. The same applies to other relevant parameters as variables. At this time, if the error between the different pixel values is within a preset range, the pixel value with the most occurrences or the average value can be selected to determine the pixel value when the same relevant parameter value is taken. If the error between the different pixel values exceeds the preset range, the number of experiments for the same relevant parameter value can be increased to correct the pixel value.
[0086] The infrared radiation transmission model of leaked gas obtained through the above steps can determine whether a dangerous gas leak has occurred in the target object and accurately output the gas concentration value. It helps staff to predict the degree of danger under different environmental conditions, leakage conditions and corresponding control technologies based on the output results of the infrared radiation transmission model of leaked gas, and take corresponding measures in a timely manner.
[0087] Furthermore, the real-time infrared spectrum image and the environmental parameters are input into a pre-established leaked gas infrared radiation transmission model to obtain the gas concentration value corresponding to each pixel point of the real-time infrared spectrum image, including:
[0088] The real-time infrared spectral image is input into a pre-established leaked gas infrared radiation transmission model to obtain the pixel value of each pixel point in the real-time infrared spectral image; the environmental parameters are input into the pre-established leaked gas infrared radiation transmission model; abnormal values in the pixel values of each pixel point are eliminated, and the pixel values of the remaining pixel points are recorded as third pixel values; all pixel values close to the third pixel value are searched in the gas concentration function table, recorded as pixel reference values, and the gas concentration value corresponding to the pixel reference value is recorded as the gas concentration reference value; and based on the input environmental parameters, the gas concentration reference value is screened, and the screening result is used as the gas concentration value corresponding to each pixel point of the real-time infrared spectral image.
[0089] It should be noted that when searching in the gas concentration function table, the gas concentration value found is the gas concentration value stored in the gas concentration function table, and after screening the gas concentration reference value, the gas concentration value obtained is the gas concentration value finally output as a result.
[0090] It is understandable that the same pixel value may correspond to different concentrations under different environmental parameters. Therefore, after obtaining the gas concentration reference value corresponding to each pixel value of the real-time infrared spectrum image, the leak gas infrared radiation transmission model can filter the gas concentration reference value based on the actual environmental parameters and use the result that matches the actual environmental parameters as the gas concentration value corresponding to each pixel point in the real-time infrared spectrum image.
[0091] In addition, the gas concentration function table already contains pixel values corresponding to gas concentration values within the range of 0.1% to 100%. The smallest pixel value among all pixel values in the gas concentration function table is recorded as the first threshold, and the largest pixel value among all pixel values in the gas concentration function table is recorded as the second threshold. If a pixel value in the acquired real-time infrared spectrum image is outside this range, the pixel value of that pixel can be determined to be an abnormal value and removed. Specifically, the pixel value of each pixel is compared with the first threshold and the second threshold; and if the pixel value of a pixel is less than the first threshold or greater than the second threshold, the pixel value is determined to be an abnormal value.
[0092] Furthermore, searching the gas concentration function table for all pixel values close to the third pixel value, which are recorded as pixel reference values, includes:
[0093] For each pixel value in the third pixel value, perform the following operations:
[0094] The pixel value is compared with all pixel values in the gas concentration function table; and the pixel value in the gas concentration function table whose difference with the pixel value is within a preset range is recorded as a pixel reference value.
[0095] When comparing each pixel value with all pixel values in the gas concentration function table, using a one-to-one comparison method may slow down the speed of obtaining the result. Therefore, a functional relationship between gas concentration values and pixel values is established in the gas concentration function table, namely the gas concentration function. This allows the corresponding gas concentration value to be quickly found through the functional relationship when a pixel value is input.
[0096] Figure 3 : is a schematic diagram of the gas concentration function relationship between the infrared spectrum pixel value and the dangerous gas concentration value provided by an embodiment of the present invention. The functional relationship can be expressed as:
[0097] For any gas concentration value x, pixel value y, and any scalar α within the domain, f(x+y)=f(x)+f(y) and f(αx)=αf(x).
[0098] It should be noted that this functional relationship corresponds to a specific value of the gas optical path length, gas pressure, gas temperature, and background radiation. Different values of the gas optical path length, gas pressure, gas temperature, and background radiation correspond to different gas concentration functions. The domain can be understood as the region between the maximum and minimum values that the gas concentration can take, and the region between the maximum and minimum values that the pixel value can take. The arbitrary scalar is calculated from the relationship between the gas concentration value x and the pixel value y using different functional relationships.
[0099] In order to obtain the above-mentioned gas concentration values, gas optical path length values, gas pressure values, gas temperature values and background radiation values, and their corresponding infrared spectrum images, this embodiment provides a gas infrared spectrum imaging detection experimental system. Figure 4 FIG. 1 is a schematic diagram of the structure of the gas infrared spectrum imaging detection experimental system provided by an embodiment of the present invention. Figure 4 As shown, the gas infrared spectrum imaging detection experimental system provided by the present invention includes the following structure.
[0100] Measuring cell, optical unit and data processing unit.
[0101] The measuring gas chamber is used to store the gas to be measured, is arranged along one direction, and includes at least two independent measuring gas chambers 2 that are detachably connected to each other.
[0102] The optical unit includes an infrared spectrometer 1 , which is disposed at one end of the measuring gas chamber and is used to obtain an infrared spectrum image of the gas to be measured in the measuring gas chamber.
[0103] The data processing unit includes a control terminal 26 for controlling the system and receiving and saving the infrared spectrum image.
[0104] The independent measuring chamber 2 can be made of stainless steel pipe, copper pipe or seamless steel pipe and can be connected in the horizontal direction. The independent measuring chamber 2 is connected to the inlet and outlet pipe interfaces with a hose for easy disassembly.
[0105] In this embodiment, the length of an independent measurement chamber 2 is 0.1m. By combining different numbers of independent measurement chambers 2, the gas cloud length and optical path length of 0.1-100.1m in the real environment can be simulated, that is, the adjustment range of the gas optical path length value of 0.1m-100.1m can be met.
[0106] The gas to be tested is a mixture of hazardous gas and inert diluent gas or air, wherein the components of the hazardous gas may be methane, liquefied natural gas, ethylene, etc., which is used to simulate leaked gas.
[0107] The infrared spectrometer 1 can be any type of infrared spectrum gas cloud imaging equipment, for example, multispectral, i.e., band 3-12, resolution 100nm, hyperspectral, i.e., band 100-200, resolution 10nm, hyperspectral, i.e., band 1000-10000, resolution 1nm.
[0108] It should be noted that if the gas to be tested is injected into the measuring chamber for a short time, it is necessary to wait until the temperature and pressure of the gas to be tested in the measuring chamber are stable before using the infrared spectrometer 1 to obtain the infrared spectrum image of the gas to be tested in the measuring chamber.
[0109] Among them, the control terminal 26 can use Siemens Smart200, which controls the system including receiving, displaying and saving various detection signals in the system, and adjusting the switches of various devices and instruments in the system based on the detection signals, thereby improving the system's automation level, increasing response speed and reducing manpower burden.
[0110] In the present invention, the control terminal 26 is further configured to analyze and process infrared spectral data to determine infrared spectral fingerprint characteristic information corresponding to the equivalent radiation brightness temperature difference between the gas under test and the background in the measurement chamber. This infrared spectral fingerprint characteristic information is then subjected to Fourier transform inversion processing to determine the type and semi-quantitative concentration of toxic and harmful gases, thereby obtaining information on the type and concentration of toxic and harmful gases present in the target area.
[0111] The measurement chamber in the present invention consists of at least two independent measurement chambers 2 that are detachably connected to each other. By adjusting the number of independent measurement chambers 2, the overall length of the measurement chamber can be adjusted, thereby simulating the length of the gas cloud and optical path length of the leaked gas under real-world conditions. By acquiring infrared spectral images at different optical path lengths, the relationship between different optical path lengths and the infrared spectral images of the leaked gas can be quantitatively evaluated.
[0112] Furthermore, the independent measurement chambers 2 are connected via flanges.
[0113] In other embodiments of the present invention, the independent measurement chambers 2 may be connected in other ways according to actual conditions, but the present invention is not limited thereto.
[0114] Figure 5 FIG. 1 is a schematic diagram of filter installation between independent measurement chambers provided by an embodiment of the present invention. Figure 5 As shown, the optical unit further includes a filter 5 , which is detachably disposed between the at least two independent measurement chambers 2 and is used to seal the independent measurement chambers 2 .
[0115] The filter 5 may be a bandpass filter, an edge channel filter, a notch filter or a dichroic filter.
[0116] It is understood that in this embodiment, the independent measurement chambers 2 are connected by flanges, and the filter 5 is detachably arranged between at least two independent measurement chambers 2, that is, it can be detachably installed at any flange connection. When installing the filter 5, tighten the flange until the filter is not loose, so as to avoid the situation where it is difficult to remove when replacing the filter.
[0117] It is understood that in actual use, filters 5 must be installed at both ends of the measurement chamber and on the external contact side, while filters 5 can be removably installed between the independent measurement chambers 2 as needed, creating an independent space between two adjacent filters 5. If filters 5 are installed only on the external contact side of the measurement chamber, the measurement chamber contains only one independent space, in which case an infrared spectrum image of the gas under test at a uniform concentration within the measurement chamber can be obtained. If filters 5 are installed between the independent measurement chambers 2, the measurement chamber can be divided into multiple independent spaces, into which different concentrations of the gas under test can be injected, thereby forming a non-uniform concentration distribution of the gas under test along the entire optical path, simulating the gas cloud state in a real environment, and enabling the acquisition of infrared spectrum images of the gas under test at a non-uniform concentration within the measurement chamber.
[0118] At the same time, since the optical path length is the length of the entire measurement chamber, the filter 5 is also used to attenuate (absorb) certain light bands within the light wave or precisely select a small range of light bands to pass through, while reflecting (or absorbing) other undesirable bands, to achieve efficient thermoelectric conversion imaging. Therefore, the filter 5 should have a high transmittance within the transmission band, with the maximum value of light that can be transmitted after loss through the filter being above 90%, thereby minimizing the attenuation of radiation transmission in the optical path while effectively filtering out invalid radiation within other bands. In this embodiment, the transmission band of the filter 5 is 10.6μm±60nm. Specifically, its peak transmittance, passband half-width, cutoff wavelength, and center wavelength can be appropriately selected according to actual application needs.
[0119] In addition, the diameter of the filter 5 is preferably larger than the size of the heating front end surface of the infrared spectrometer 1, and is installed close to the protective window of the infrared spectrometer 1, so as to achieve the purpose of effectively filtering out stray light.
[0120] Furthermore, the optical unit further includes a blackbody light source 3 , which is disposed at an end of the measurement chamber opposite to the infrared spectrometer 1 and is used to simulate background temperature conditions in different natural environments.
[0121] The blackbody light source 3 can be a surface source blackbody or a cavity source blackbody, and is positioned directly opposite the infrared spectrometer 1 along the direction of the measurement chamber. During use, by adjusting the temperature of the blackbody light source 3, it can be used to simulate changes in background radiation under different environments. The temperature adjustment range of the blackbody light source in this application is -50°C to 150°C, which can meet the adjustment range of background radiation of -50°C to 150°C.
[0122] Furthermore, the system also includes a gas configuration unit, which includes the following structure.
[0123] The hazardous gas storage tank 10 is used to contain hazardous gases.
[0124] The inert diluent gas or air storage tank 11 is used to contain inert diluent gas and / or air.
[0125] The first flow controller 14a is connected to the hazardous gas storage tank 10 and is used to adjust the flow of the hazardous gas.
[0126] The second flow controller 14b is connected to the inert diluent gas or air storage tank 11 and is used to adjust the flow of the inert diluent gas and / or air.
[0127] The gas mixer 22 is connected to the first flow controller 14a and the second flow controller 14b, and is used to mix the hazardous gas with the inert dilution gas and / or air to prepare the gas to be tested.
[0128] The first flow controller 14 a and the second flow controller 14 b are flow-controlled by the control terminal 26 .
[0129] In actual use, a pressure-stabilizing valve 12 and a filter 13 may be provided between the hazardous gas storage tank 10 and the first flow controller 14a, and between the inert diluent gas or air storage tank 11 and the second flow controller 14b. A hazardous gas filling valve 15 may be provided after the first flow controller 14a, and an inert diluent gas or air filling valve 28 may be provided after the second flow controller 14b to assist in controlling the flow of the gas.
[0130] Before configuring the test gas, first confirm that the gas pipelines within the system and the measurement chamber are in a vacuum state. After the hazardous gas flows out of the first flow controller 14a and the inert diluent gas and / or air flows out of the second flow controller 14b, the two gas pipelines merge into a single gas mixing pipeline 16 and flow into the gas mixer 22 for mixing. After the gases are thoroughly mixed in the mixer, the test gas is formed.
[0131] The hazardous gas storage tank 10 and the inert diluent gas or air storage tank 11 can be made of carbon steel or stainless steel. The material and capacity can also be selected according to actual conditions and must comply with relevant pressure vessel design specifications. The hazardous gas storage tank 10 and the inert diluent gas or air storage tank 11 are preferably equipped with a pressure gauge to measure the status of the tank.
[0132] The first and second flow controllers 14a, 14b can utilize volumetric flowmeters, float flowmeters, differential pressure flowmeters, vortex flowmeters, turbine flowmeters, ultrasonic flowmeters, or electromagnetic flowmeters. These can control the flow of hazardous gases, inert diluent gases, or air within any range, enabling configuration of hazardous gas concentrations from 0-100 vol%, meeting the required gas concentration adjustment range. Furthermore, the first and second flow controllers 14a, 14b can be connected to the pipelines using metal pipes, sealed and locked using double ferrules and nuts.
[0133] The gas mixer 22 may be an SV type static mixer, which can achieve sufficient mixing of hazardous gas, inert dilution gas or air through the internal corrugated sheets of the gas mixer 22 .
[0134] It should be noted that, depending on actual needs, the gas to be tested may contain only hazardous gases. When the gas to be tested is a mixture of hazardous gases and inert diluent gases and / or air, the potential hazards caused by its explosiveness should be considered.
[0135] Furthermore, the system also includes a temperature control unit, which includes the following structure.
[0136] The integrated cooling and heating unit 9 is used to heat or cool the heat transfer medium.
[0137] The jacket 4 is connected to the cooling and heating integrated machine 9 and is arranged outside the measuring air chamber, and is used to adjust the temperature of the measuring air chamber by using the heat transfer medium.
[0138] The heat exchanger 23 is connected to the cooling and heating integrated machine 9 and the measuring gas chamber, and is used to adjust the temperature of the gas to be measured by using the heat transfer medium, and to transport the gas to be measured after the temperature adjustment to the measuring gas chamber.
[0139] The temperature transmitter 7 is connected to the measuring gas chamber, and is used to detect the temperature of the measuring gas chamber and send the temperature detection result to the control terminal 26.
[0140] The cooling and heating integrated machine 9 is controlled by the control terminal 26 based on the temperature detection result.
[0141] The heat transfer medium can be thermal oil, and the thermal oil can be alkylbenzene-based thermal oil, alkylnaphthalene-based thermal oil, alkylbiphenyl-based thermal oil, biphenyl and biphenyl ether low-melting mixture-based thermal oil, alkylbiphenyl ether-based thermal oil, or mineral-based thermal oil. The thermal oil does not directly contact the gas to be measured, but exchanges heat through the solid partition wall of the heat exchanger 23 to ensure the stability and safety of the system.
[0142] The integrated cooling and heating unit 9 includes a temperature control system consisting of a compressor, condenser, evaporator, and expansion valve. Oil-cooled high and low-temperature integrated cooling and heating units 9 can be used, enabling temperature control within a -200°C to 300°C range, effectively meeting the gas temperature adjustment range of -200°C to 300°C. Furthermore, the heat transfer medium within the integrated cooling and heating unit 9, as well as its internal structures, such as nozzles and filters, can be adjusted based on the type of hazardous gas.
[0143] Among them, the jacket 4 can be an integral jacket, an integral jacket with spiral guide plate or a semicircular tube jacket. The jacket 4 is arranged on the outer layer of each independent measuring gas chamber 2 and has a built-in heat transfer medium to control the temperature of the measuring gas chamber and improve the gas temperature control rate.
[0144] The heat exchanger 23 may be a tubular heat exchanger, including shell and tube, immersion, spray, sleeve, fin-tube or plate heat exchangers. Plate heat exchangers include plate-fin, jacketed, spiral plate and flat plate types.
[0145] The temperature transmitter 7 may be a thermistor, thermocouple, platinum resistance, infrared temperature sensor, quantum conversion temperature sensor, IC temperature sensor, or crystal temperature sensor. The temperature transmitter 7 is connected one-to-one with each independent measurement chamber 2 to monitor the temperature change and uniformity within each independent measurement chamber 2 in real time. It is understood that the temperature within the measurement chamber is consistent with the temperature within the jacket 4 and the temperature of the gas to be measured within the measurement chamber. After receiving the temperature detection result from the temperature transmitter 7, the control terminal 26 can control the integrated cooling and heating unit 9 to adjust the temperature of the heat exchanger 23 or the jacket 4, thereby adjusting the temperature of the gas to be measured or within the measurement chamber.
[0146] The gas mixer 22 is connected to the heat exchanger 23. After the gas mixer 22 is configured with the gas to be tested, the gas to be tested is transported to the heat exchanger 23. The heat transfer oil flows from the cold and hot integrated machine 9 into the heat exchanger 23. The two exchange heat through the solid partition of the heat exchanger 23. After the heat exchange, the heat transfer oil returns to the cold and hot integrated machine 9 and changes temperature again, completing a temperature control cycle. The temperature-adjusted gas to be tested is transported to each independent measurement chamber 2 through the various branches of the gas filling pipeline 25. Pressure regulating valves and filters can be set on each branch of the gas filling pipeline 25 to control the flow rate of the gas to be tested, and thus control the concentration of the hazardous gas injected into each independent measurement chamber 2. Afterwards, the temperature-adjusted heat transfer oil flows from the cold and hot integrated machine 9 into the jacket 4 to adjust the temperature of the measurement chamber. After the heat exchange, the heat transfer oil returns to the cold and hot integrated machine 9, completing a temperature control cycle.
[0147] Because the temperature control times for the gas to be measured and the measurement chamber differ, and a certain temperature difference may occur, two integrated cooling and heating units 9 can be used: one for heat exchanger 23 to regulate the temperature of the gas to be measured, and one for jacket 4 to regulate the temperature of the measurement chamber. The pumps of the two integrated cooling and heating units 9 drive the heat transfer medium from the oil tank equipped with a built-in heater to the heat exchanger 23 and jacket 4, and then return from the heat exchanger 23 and jacket 4 to the corresponding oil tank of each integrated cooling and heating unit 9, thereby improving the range and accuracy of temperature control.
[0148] It should be noted that after the gas configuration is completed, the hazardous gas filling valve 15, the inert dilution gas or air filling valve 28, the pressure control valve 19 and the safety valve 20 need to be closed during the temperature adjustment stage of the gas to be measured, and the vacuum pump 24 and the hot and cold integrated machine 9 continue to work, and the temperature adjustment cycle of the gas to be measured is continuously performed until the temperature of the gas to be measured reaches the requirement. The vacuum pump 24 and the hot and cold integrated machine 9 are turned off, and then the infrared spectrum image of the gas to be measured in the measuring chamber can be obtained.
[0149] Furthermore, the temperature control unit also includes a heat-insulating material, which is arranged on various lines of the system and outside the measuring air chamber.
[0150] Among them, the thermal insulation materials can be rubber-plastic sponge thermal insulation materials, rock wool thermal insulation felt thermal insulation materials, polyurethane foam thermal insulation materials, and ultra-fine glass surface thermal insulation materials.
[0151] It should be noted that the various lines of the system include all pipelines of the system, including the pipelines through which the heat transfer medium flows and the detection lines of various detection instruments, wherein the detection instruments include the gas concentration detector, the oxygen concentration detector 27, the pressure transmitter 8, and the temperature transmitter 7. In addition, thermal insulation materials can also be installed on the outside of various devices. After installing thermal insulation materials, it can reduce the heat or cold loss caused by heat exchange between the system and the outside world, prevent condensation on the outer wall, and avoid large errors in the acquired data.
[0152] Furthermore, the system also includes a pressure control unit, which includes the following structure.
[0153] The pressure transmitter 8 is connected to the measuring air chamber, and is used to detect the pressure of the measuring air chamber and send the pressure detection result to the control terminal 26.
[0154] The pressure control valve 19 is provided on the exhaust pipeline 18 of the measuring gas chamber and is used to control the discharge of the exhaust gas in the measuring gas chamber.
[0155] The hazardous gas concentration detector 6 is connected to the measuring gas chamber, and is used to detect the hazardous gas concentration in the measuring gas chamber and send the hazardous gas concentration detection result to the control terminal 26.
[0156] The pressure control valve 19 is controlled by the control terminal 26 based on the pressure detection result.
[0157] The pressure transmitter 8 is connected one-to-one with each independent measuring chamber 2 and can be a piezoresistive transmitter, a piezoelectric transmitter, a strain gauge transmitter or a capacitive transmitter, for real-time monitoring of pressure changes in the measuring chamber.
[0158] The pressure control valve 19 may be a pneumatic, electric or electro-hydraulic driven single-seat valve, double-seat valve, sleeve valve, three-way valve, diaphragm valve, butterfly valve, ball valve or eccentric rotary valve.
[0159] The hazardous gas concentration detector 6 is connected one-to-one with each independent measuring gas chamber 2. Electrochemical, thermal, semiconductor, or optical fixed detectors can be used for detecting high concentrations in the range of 100% LEL (explosive limit) to 100% by volume and low concentrations in the range of 0-100% LEL. In actual applications, the type, range, and number of hazardous gas concentration detectors 6 can be flexibly replaced according to actual conditions, and such replacement is readily apparent to those skilled in the art.
[0160] When the gas to be tested is added to the measuring chamber, or after the filling is completed, the pressure transmitter 8 detects the pressure of the measuring chamber in real time and sends the pressure detection result to the control terminal 26. When the control terminal 26 detects that the pressure detection result is abnormal, that is, higher or lower than the pre-set pressure threshold, the control terminal 26 controls the pressure control valve 19 to increase or decrease the valve opening to prevent abnormal pressure in the measuring chamber. If the pressure is abnormal when the gas to be tested is added, the control terminal 26 also controls the first flow controller 14a and the second flow controller 14b to increase or decrease the flow rate of the gas to prevent abnormal pressure in the measuring chamber or gas pipeline. The pressure value can be adjusted in the range of 1kpa-500kpa, so the pressure threshold value can be set according to the pressure value that needs to be adjusted each time.
[0161] Furthermore, the system also includes a safety and environmental protection unit, which includes the following structure.
[0162] The oxygen concentration detector 27 is connected to the measuring chamber and is used to detect the concentration of oxygen in the measuring chamber and send the oxygen concentration detection result to the control terminal 26.
[0163] The gas absorption device 21 is connected to the measuring gas chamber through the exhaust pipeline 18 of the measuring gas chamber, and is used to absorb and treat the exhaust gas in the measuring gas chamber and discharge the treated exhaust gas into the atmosphere.
[0164] The safety valve 20 is provided on the exhaust pipeline 18 of the measuring gas chamber and is used to control the discharge of the exhaust gas in the measuring gas chamber to the gas absorption device 21 .
[0165] The safety valve 20 is controlled by the control terminal 26 . When the pressure in the measuring air chamber is higher than a preset pressure threshold, the safety valve 20 is controlled by the control terminal 26 to open and release the pressure.
[0166] The oxygen concentration detector 27 is connected one-to-one with each independent measurement chamber 2. An optical oxygen sensor, a zirconia oxygen sensor, a paramagnetic oxygen sensor, a polarographic oxygen sensor, or other types can be used to detect oxygen concentrations between 0% and 30% vol. Because excessively high oxygen concentrations can cause explosions, it is essential to ensure that the oxygen concentration within the measurement chambers is below the explosion limit. The explosion limit is pre-set as an alarm threshold on the control terminal 26. When the control terminal 26 detects that the oxygen concentration has reached the preset alarm threshold, an alarm is issued. The alarm signal may include vibration, a flashing alarm indicator, a buzzer, or the like, and the second flow controller 14b is controlled to shut down.
[0167] Among them, the gas absorption device 21 can use a waste gas treatment tower, including a spray tower, a water washing tower or a washing tower, or use activated carbon adsorption equipment, UV photolysis waste gas treatment equipment, plasma waste gas treatment equipment, UV photolysis activated carbon waste gas treatment integrated machine or plasma activated carbon waste gas treatment integrated machine, which is arranged downstream of the measuring gas chamber exhaust pipeline 18. After the measured gas is discharged, it can be discharged into the atmosphere only after being treated by the gas absorption device 21.
[0168] It should be noted that the absorption medium and absorption method within the gas absorption device 21 can be modified at any time based on the specific hazardous gas. The absorption medium selection should be based on a comprehensive consideration of the properties of the waste gas to be treated, the production process conditions, and the desired treatment objectives. Possible options include organic solvents, surfactants, microemulsions, and ionic liquids. Gas or liquid drain valves and ports can be installed at both the top and bottom ends of the gas absorption device 21. The absorption liquid is circulated within the tower via a circulating pump. After absorbing a certain amount of hazardous gas, it is discharged and replenished with fresh absorption liquid to ensure efficient absorption.
[0169] The safety valve 20 may be a deadweight type, a lever type, a spring type or a pilot type safety valve. The waste gas discharged from the safety valve 20 to the gas absorption device 21 is processed by the gas absorption device 21 to meet environmental protection standards and then discharged into the atmosphere.
[0170] Furthermore, the system also includes an exhaust and circulation unit, which includes:
[0171] The vacuum pump 24 is used to control the exhaust and gas circulation of the system.
[0172] The vacuum pump 24 is a diaphragm vacuum pump with high working efficiency and long service life. A reciprocating pump, a rotary pump, a molecular pump, a jet pump, or a diffusion pump may be used.
[0173] In this embodiment, the vacuum pump 24 is connected to each independent measuring chamber 2, the gas mixing pipeline 16 and the gas absorption device 21. All connections of the vacuum pump 24 are made with vacuum hoses or metal pipes, and the connection sealing gaskets are made of oil-resistant rubber to ensure that the connection pipes between the vacuum pump 24 and the system are reliably sealed. At the same time, the diameter of the connecting pipe must not be smaller than the suction diameter of the vacuum pump 24, and the pipe should be short with few elbows. When welding the pipe, the welding slag in the pipe should be removed, and the welding slag is strictly prohibited from entering the vacuum pump cavity. In the connecting pipe, in order to ensure that the system has good airtightness, lubricants such as alcohol can be applied to the surfaces of the air inlet and outlet of the vacuum pump 24 to facilitate connection.
[0174] Before using the system, in order to prevent external gas interference, an exhaust phase is required to exhaust all gases in the system and create a vacuum environment. At this time, the vacuum pump 24 is turned on to evacuate the gas in the measurement chamber and all pipelines. During the evacuation, the gas is discharged from the exhaust and circulation pipeline 17 between the vacuum pump 24 and the gas absorption device 21 to the gas absorption device 21 for processing. After the gas meets safety and environmental protection standards, it is discharged into the atmosphere. When injecting the gas to be measured into the measurement chamber, the vacuum pump 24 can accelerate the injection of the gas to be measured through the gas mixing pipeline 16, and can also circulate the gas to be measured in the measurement chamber through the heat exchanger 23, further improving the heat exchange efficiency of the gas to be measured.
[0175] After use, the system needs to be purged. At this point, the vacuum pump 24 is started to accelerate the evacuation of the remaining gas in the measurement chamber. Meanwhile, the hazardous gas filling valve 15 is kept closed, and the inert diluent gas or air filling valve 28 is opened. All hazardous gases in the experimental system are discharged into the gas absorption device 21 through the exhaust line 18 until the oxygen concentration detector 27 and the hazardous gas concentration detector 6 indicate that the entire system has been fully filled with inert diluent gas or air. Finally, the inert diluent gas or air filling valve 28 is closed.
[0176] The system proposed in this invention can simulate scenarios where different hazardous gases leak into different external environments. It simulates the diffusion of hazardous gas leaks under different environments and concentration ratios, visualizing the colorless gas cloud and determining the temperature, concentration, and distribution of the gas cloud downstream of the leak source. The data processing system stores pixel values corresponding to the concentration, temperature, and optical path length of the hazardous gas leak, enabling quantitative and qualitative analysis.
[0177] According to an embodiment of the present invention, a terminal embodiment is provided, comprising a processor and a memory for storing execution instructions of the processor, wherein the processor is configured to execute the infrared spectroscopy gas concentration detection method described above in the present application.
[0178] The processor includes a core, which calls the corresponding program unit from the memory.
[0179] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0180] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the infrared spectroscopy gas concentration detection method described above in the present application.
[0181] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0182] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0183] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1A step that specifies a function in one or more boxes.
[0185] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0186] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0187] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0188] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements, but also other elements not expressly listed, or elements inherent to such process, method, commodity, or apparatus.
[0189] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0190] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0191] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A method for detecting gas concentration by infrared spectroscopy, characterized in that: The following steps are involved: Acquire real-time infrared spectrum images containing leaked hazardous gases; Get environmental parameters; Inputting the real-time infrared spectrum image and the environmental parameters into a pre-established leak gas infrared radiation transmission model to obtain a gas concentration value corresponding to each pixel point of the real-time infrared spectrum image; as well as Output the gas concentration value as the quantitative result of the concentration of the leaked dangerous gas, The steps of establishing the infrared radiation transmission model of the leaked gas include: Step S1: setting an adjustment range for each relevant parameter, and selecting a preset number of values within the adjustment range of each relevant parameter as control nodes; the relevant parameters include gas concentration values and the environmental parameters; Step S2: Select one of the relevant parameters as a variable, and perform the following operations for each selected variable: Step S21: Adjust the remaining related parameters on their corresponding control nodes, adjusting one of the remaining related parameters at a time. For each adjustment of the remaining related parameters, perform the following operations: Step S211: Recording the control node corresponding to the variable as a monitoring point, obtaining a preset number of infrared spectrum images containing leaked hazardous gas at each monitoring point, and calculating the pixel average of the infrared spectrum image at each monitoring point; Step S212: performing nonlinear regression analysis on the monitoring points and the pixel averages to obtain a fitting function of the variables and pixel values; Step S213: selecting a preset number of values within the adjustment range of the variable as verification points, obtaining a preset number of infrared spectral images containing leaked hazardous gas at each verification point, and calculating the pixel average of the infrared spectral image at each verification point, which is recorded as a first pixel value; Step S214: Substituting the verification points into the fitting function for back calculation to obtain the pixel value of each verification point, which is recorded as the second pixel value; Step S215: If the error between the first pixel value and the second pixel value of each verification point is within the preset range, save all monitoring points, the pixel averages of the infrared spectrum images corresponding to each monitoring point, and the values of the other related parameters; otherwise, return to step S211 and recalculate until the error between the first pixel value and the second pixel value of each verification point is within the preset range; Step S3: Based on all the monitoring points, the pixel average values of the infrared spectrum images corresponding to each of the monitoring points, and the values of the remaining related parameters, a gas concentration function table is established, and the leaked gas infrared radiation transmission model is established based on the gas concentration function table; wherein the gas concentration function table is used to characterize the correspondence between pixel values, the gas concentration values, and the environmental parameters, and the leaked gas infrared radiation transmission model is used to output the gas concentration value corresponding to each pixel point of the infrared spectrum image when the infrared spectrum image and the environmental parameters are input.
2. The method according to claim 1, characterized in that The environmental parameters include one or more of the following: a gas optical path length value, a gas pressure value, a gas temperature value, and a background radiation value.
3. The method according to claim 1, characterized in that The intervals between the control nodes are the same, and the verification points are the values between adjacent control nodes.
4. The method according to claim 1, wherein Inputting the real-time infrared spectrum image and the environmental parameters into a pre-established leak gas infrared radiation transmission model to obtain the gas concentration value corresponding to each pixel point of the real-time infrared spectrum image includes: Inputting the real-time infrared spectrum image into a pre-established leak gas infrared radiation transmission model to obtain a pixel value of each pixel point in the real-time infrared spectrum image; Inputting the environmental parameters into a pre-established leak gas infrared radiation transmission model; Eliminating abnormal values from the pixel values of the pixels, and recording the pixel values of the remaining pixels as third pixel values; Searching the gas concentration function table for all pixel values close to the third pixel value, recording them as pixel reference values, and recording the gas concentration values corresponding to the pixel reference values as gas concentration reference values; and Based on the input environmental parameters, the gas concentration reference values are screened, and the screening results are used as the gas concentration values corresponding to each pixel point of the real-time infrared spectrum image.
5. The method according to claim 4, characterized in that Eliminating abnormal values in the pixel values of each pixel point includes: Comparing the pixel value of each pixel with a first threshold and a second threshold; and If the pixel value of a certain pixel point is less than the first threshold or greater than the second threshold, the pixel value is determined to be an abnormal value. The first threshold is the minimum pixel value among all pixel values in the gas concentration function table, and the second threshold is the maximum pixel value among all pixel values in the gas concentration function table.
6. The method according to claim 4, characterized in that Searching the gas concentration function table for all pixel values close to the third pixel value, and recording them as pixel reference values, includes: For each pixel value in the third pixel value, perform the following operations: Comparing the pixel value with all pixel values in the gas concentration function table; and The pixel value in the gas concentration function table whose difference with the pixel value is within a preset range is recorded as the pixel reference value.
7. The method according to claim 1, characterized in that The gas concentration function table includes a gas concentration function, which is a functional relationship between the gas concentration value and the pixel value. The functional relationship is: For any gas concentration value x, pixel value y, and any scalar α within the domain, f(x+y)=f(x)+f(y) and f(αx)=αf(x).
8. A terminal, characterized in that: include: processor; a memory for storing execution instructions of the processor; The processor is configured to execute the method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Infrared spectral gas sensor and data processing method
CN108507966A
Method and system for tracing and monitoring toxic and harmful gas in industrial park by using infrared technology
CN112730302A
Quantitative analysis method and system for semi-volatile components in mixed gas based on infrared spectroscopy and application
CN115901660A
Training method of gas leakage detection model and gas leakage detection method
CN116309473A
Petrochemical hydrocarbon pollutant detection device based on infrared spectrum
CN219245357U