Gas leakage detection method, device and equipment based on thermal imaging technology
The method and device improve gas leakage detection accuracy and efficiency by determining a target area, fitting curves, and calculating change rates in thermal imaging, reducing computational resources and false alarms.
Patent Information
- Application Number
- CN202411362887.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-09-27
AI Technical Summary
Existing gas leakage detection methods using thermal imaging technology often result in erroneous judgments due to ambient temperature increases from heat exchange, leading to inefficient shutdowns and decreased work efficiency.
A method and device utilizing thermal imaging to determine a target area, generate data points, fit curves, and calculate evaluation coefficients based on change rates to accurately detect gas leaks, reducing computational resources and improving efficiency.
Enhances the accuracy of gas leakage detection, reduces false alarms, and maintains operational efficiency by minimizing misjudgments and resource consumption.
Smart Images

Figure CN119245933A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas leakage detection, and in particular to a gas leakage detection method, device and equipment based on thermal imaging technology. Background Art
[0002] Thermal imaging technology refers to the use of infrared detectors and optical imaging lenses to receive the infrared radiation energy distribution pattern of the target being measured and reflect it on the photosensitive element of the infrared detector, thereby obtaining a thermal imaging image. This thermal imaging image corresponds to the heat distribution field on the surface of the object. The different colors on the thermal imaging image represent the different temperatures of the object being measured.
[0003] Gas leakage refers to the abnormal escape of waste gas (such as carbon monoxide, carbon dioxide, etc.) generated by combustion or harmful gases generated in other chemical processes from certain parts of the equipment or pipelines into the surrounding environment during the operation of chemical equipment due to equipment aging, poor sealing, pipeline damage or operating errors. This type of leakage may not only lead to a decrease in production efficiency, but also pose a serious threat to the health of operators and even cause major safety accidents such as fire or explosion.
[0004] In the prior art, whether there is a gas leak is mostly determined by determining the area in the thermal imaging image where the temperature exceeds a preset value. However, in actual situations, the reaction conditions include heat exchange between the high-temperature chemical equipment itself and the environment, which will also cause the ambient temperature to rise, and then cause the area in the thermal imaging image where the temperature exceeds the preset value to increase. In this case, the judgment result of the gas leak may be erroneous, and after receiving the erroneous warning information, the staff needs to shut down the chemical equipment and handle the chemical equipment, affecting the overall work efficiency. Summary of the invention
[0005] The purpose of the present invention is to provide a gas leakage detection method, device and equipment based on thermal imaging technology, which can improve the accuracy of judging gas leakage and avoid the decrease of work efficiency due to misjudgment.
[0006] According to one object of the present invention, the present invention provides a gas leakage detection method based on thermal imaging technology, comprising the following steps:
[0007] S1. Acquire a thermal imaging image of a chemical equipment, determine a target area according to temperature values corresponding to pixels in the thermal imaging image, determine the area of a minimum circumscribed rectangle of the target area, and use it as the target area;
[0008] S2. Obtain the target area in real time within the preset monitoring period and generate data points (t a , S a ), S aThe time interval between the start point of the monitoring period is t a The target area at the time of the experiment is obtained, and the data points are fitted to obtain a fitting curve f(x);
[0009] S3, taking the maximum point and the minimum point on the fitting curve as reference points, and taking the starting point and the end point of the fitting curve as reference points, and determining the monotonicity of the fitting curve between two adjacent reference points, and when the fitting curve monotonically increases between two adjacent reference points, taking it as an abnormal curve h(x);
[0010] S4. Calculate the average rate of change [0, T] is the value range of the abnormal curve, generating the average change rate set C jh =(C1, C2, ..., C n ), C n Indicates the average rate of change corresponding to the nth abnormal curve and determines the maximum rate of change C max =max(C jh );
[0011] S3. Determine an evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate, and determine that there is a gas leak when the evaluation coefficient K≥K', and send an early warning message to remind the staff, where K' represents a preset evaluation coefficient threshold.
[0012] Furthermore, in step S3, the process of determining the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate specifically includes:
[0013] The evaluation coefficient K is calculated by a formula, wherein the formula specifically includes:
[0014]
[0015] Among them, ε represents the preset correction coefficient, T i represents the i-th abnormal curve h i (x) Duration, t sta Indicates the starting point of the monitoring period, t end Indicates the end point of the monitoring period.
[0016] Furthermore, in step S1, when the target area S≥S', the subsequent steps are not executed and it is determined that there is a gas leak, and an early warning message is sent to remind the staff, and S' represents a preset target area threshold.
[0017] Furthermore, in step S3, a reference point quantity threshold m is set, and when the number of reference points is less than or equal to m-2, the following steps are performed:
[0018] Determining the monotonicity of the fitted curve;
[0019] When the fitting curve increases monotonically, the calculated area difference ΔS=S'-f(t end ), when the area difference ΔS≤ΔS', it is determined that there is a gas leak and an early warning message is sent to remind the staff, ΔS' represents a preset area difference threshold;
[0020] When the fitting curve decreases monotonically, it is determined that there is no gas leakage;
[0021] When the fitting curve does not have monotonicity, a preset judgment step is performed to determine whether there is a gas leak.
[0022] Furthermore, the judging step specifically includes:
[0023] Determine the maximum area S max = max(f(x)), and calculate the evaluation difference SPG = S'-S max When the evaluation difference SPG≤ΔS', it is determined that there is a gas leak and an early warning message is sent to remind the staff.
[0024] Furthermore, in step S4, the process of determining the maximum change rate also includes the following steps:
[0025] Calculate the rate of change difference ΔC b =C b -C max , and when the change rate difference is greater than or equal to ΔC b =≥C', it is marked as an abnormal difference, and C' represents the preset difference threshold;
[0026] Calculate the abnormal ratio R=Byc / Btot, where Byc represents the total number of abnormal differences, and Btot represents the total number of change rate differences. When the abnormal ratio R≥0.8, remove the maximum change rate, determine the maximum change rate again, and repeat the above steps until the corresponding abnormal ratio R is <0.8 after the maximum change rate is removed.
[0027] Furthermore, in step S1, the process of determining the target area according to the temperature value corresponding to the pixel point in the thermal imaging image specifically includes:
[0028] Determine the temperature value corresponding to the pixel point in the thermal imaging image, and when the temperature value corresponding to the pixel point is greater than or equal to a preset temperature value threshold, mark the pixel point as a target pixel point, mark all the target pixel points in the thermal imaging image, and use the area composed of all the target pixel points as the target area.
[0029] Furthermore, in step S1, the thermal imaging image of the chemical equipment is acquired based on a thermal imager, and the thermal imager is at a preset position.
[0030] According to a second aspect of an embodiment of the present invention, a gas leakage detection device based on thermal imaging technology is provided, comprising:
[0031] A target area determination module is used to obtain a thermal imaging image of a chemical equipment, determine a target area according to the temperature values corresponding to the pixels in the thermal imaging image, determine the area of the minimum circumscribed rectangle of the target area, and use it as the target area;
[0032] The data point generation and curve fitting module is used to obtain the target area in real time within the preset monitoring period and generate data points (t a , S a ), S a The time interval between the start point of the monitoring period is t a The target area at the time of the experiment is obtained, and the data points are fitted to obtain a fitting curve f(x);
[0033] an abnormal curve calculation module, taking the maximum and minimum points on the fitting curve as reference points, taking the starting point and the end point of the fitting curve as reference points, and determining the monotonicity of the fitting curve between two adjacent reference points, and when the fitting curve monotonically increases between two adjacent reference points, taking it as an abnormal curve h(x);
[0034] Change rate calculation module, calculates the average change rate [0, T] is the value range of the abnormal curve, generating the average change rate set C jh =(C1, C2, ..., C n ), C n Indicates the average rate of change corresponding to the nth abnormal curve and determines the maximum rate of change C max =max(C jh );
[0035] The evaluation coefficient and gas leakage judgment module determines the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate, and determines that there is a gas leakage when the evaluation coefficient K≥K', and sends an early warning message to remind the staff, K' represents a preset evaluation coefficient threshold.
[0036] According to a third aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a program for implementing information transmission is stored. When the program is executed by a processor, the steps of the gas leakage detection method based on thermal imaging technology provided in the first aspect of the present disclosure are implemented.
[0037] The technical solution of the present invention first determines the target area, that is, the area that needs to be monitored. When the thermal imager is imaging, it is a thermal imaging image in a whole area. By determining the target area, the amount of data that needs to be processed later can be reduced, the overall processing efficiency can be improved, and computing resources can be saved; then the area of the minimum circumscribed rectangle of the target area (i.e., the target area) is determined, and data points are generated according to the target area and the fitting curve is determined, which is the basis for subsequent processing; it is worth noting that the fitting curve can reflect the changing trend of the target area, and the changing trend of the target area in the normal state is very different from that in the abnormal state (i.e., when there is a gas leak). When there is a gas leak, the speed and degree of the increase of the target area are greater; then, the abnormal curve is determined, and the abnormal curve is the part of the fitting curve where the target area increases. Considering the change of the abnormal curve, the computing resource requirements during the overall analysis are reduced; then the average change rate is calculated and the maximum change rate is determined. The maximum change rate reflects the speed at which the target area increases. The greater the speed at which the target area increases, the higher the risk of gas leakage; finally, the evaluation coefficient is determined according to the fitting curve, the abnormal curve and the maximum change rate, and it is judged whether there is a gas leak. The present invention can improve the accuracy of judging gas leakage and avoid the decrease in work efficiency caused by misjudgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 It is a schematic diagram of a flow chart of an embodiment of the present invention;
[0040] Figure 2 Schematic diagram of the structure of the device according to the embodiment of the present invention. DETAILED DESCRIPTION
[0041] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0043] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined. In addition, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0044] Example 1
[0045] like Figure 1 As shown, a gas leakage detection method based on thermal imaging technology includes the following steps:
[0046] S1: Acquire a thermal imaging image of the chemical equipment, determine a target area according to the temperature values corresponding to the pixels in the thermal imaging image, determine the area of the minimum circumscribed rectangle of the target area, and use it as the target area;
[0047] S2: Obtain the target area in real time within the preset monitoring period and generate data points (t a , S a ), S a The time interval between the start point of the monitoring period is t a The target area at the time of the experiment is obtained, and the data points are fitted to obtain a fitting curve f(x);
[0048] S3: taking the maximum and minimum points on the fitting curve as reference points, and taking the starting point and the end point of the fitting curve as reference points, and determining the monotonicity of the fitting curve between two adjacent reference points, and when the fitting curve monotonically increases between two adjacent reference points, taking it as an abnormal curve h(x);
[0049] S4: Calculate the average rate of change [0, T] is the value range of the abnormal curve, generating the average change rate set C jh =(C1, C2, ..., C n ), C n Indicates the average rate of change corresponding to the nth abnormal curve and determines the maximum rate of change C max =max(C jh );
[0050] S5: Determine the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate, and determine that there is a gas leak when the evaluation coefficient K≥K', and send an early warning message to remind the staff, K' represents a preset evaluation coefficient threshold.
[0051] It should be noted that the target area, i.e., the area to be monitored, is first determined. The thermal imager takes a thermal image of the entire area. By determining the target area, the amount of data to be processed later can be reduced, the overall processing efficiency can be improved, and computing resources can be saved. Then, the area of the minimum circumscribed rectangle of the target area (i.e., the target area) is determined, and data points are generated and a fitting curve is determined based on the target area, which is the basis for subsequent processing. It is worth noting that the fitting curve can reflect the changing trend of the target area, and the changing trend of the target area under normal conditions is very different from that under abnormal conditions (i.e., when there is a gas leak). When there is a gas leak, the speed and degree of increase of the target area are greater. Next, the abnormal curve is determined. The abnormal curve is the part of the fitting curve where the target area increases. Considering the changes in the abnormal curve, the computing resource requirements for the overall analysis are reduced. Then, the average change rate is calculated and the maximum change rate is determined. The maximum change rate reflects the speed at which the target area increases. The greater the speed at which the target area increases, the higher the risk of gas leakage. Finally, the evaluation coefficient is determined based on the fitting curve, the abnormal curve, and the maximum change rate, and it is determined whether there is a gas leak.
[0052] In another preferred implementation of the present invention, in step S5, the process of determining the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate specifically includes:
[0053] The evaluation coefficient K is calculated by a formula, wherein the formula specifically includes:
[0054]
[0055] Among them, ε represents the preset correction coefficient, T i represents the i-th abnormal curve h i (x) Duration, t sta Indicates the starting point of the monitoring period, t end Indicates the end point of the monitoring period.
[0056] It is worth noting that the greater the maximum change rate, the faster the target area increases, which means that the possibility of gas leakage is greater. Therefore, the maximum change rate is proportional to the evaluation coefficient. It can be understood that under normal conditions, there is heat exchange between the chemical equipment in working condition and the environment, and the target area will also increase, but the speed and amplitude of the increase should be lower; the relationship between the remaining parameters and the evaluation coefficient is determined by referring to the above ideas, and no further elaboration is made here; ε can be set by experience.
[0057] In another preferred implementation of the present invention, in step S1, when the target area S≥S', the subsequent steps are not executed and it is determined that there is a gas leak, and an early warning message is sent to remind the staff, and S' represents a preset target area threshold.
[0058] It is understandable that by setting the target area threshold S', when the area of the target area reaches or exceeds the threshold, the system can immediately determine that there is a gas leak and quickly issue an early warning message, and can respond in a timely manner in extreme cases (such as serious leaks) to avoid missing the best processing time due to calculation time delays; in some obvious cases, the rapid increase in the area of the target area may have indicated that the gas leak is very serious, and further complex calculations such as fitting curves, abnormal curves, etc. may no longer be necessary. By setting a threshold, the processing flow can be simplified and the system calculation burden and resource consumption can be reduced.
[0059] In another preferred implementation of the present invention, in step S3, a reference point quantity threshold m is set, and when the number of reference points is less than or equal to m-2, the following steps are performed:
[0060] Determining the monotonicity of the fitted curve;
[0061] When the fitting curve increases monotonically, the calculated area difference ΔS=S'-f(t end ), when the area difference ΔS≤ΔS', it is determined that there is a gas leak and an early warning message is sent to remind the staff, ΔS' represents a preset area difference threshold;
[0062] When the fitting curve decreases monotonically, it is determined that there is no gas leakage;
[0063] When the fitting curve does not have monotonicity, a preset judgment step is performed to determine whether there is a gas leak.
[0064] It should be noted that by setting the reference point number threshold m, when the number of reference points is small, that is, less than or equal to (m-1), the monotonicity of the fitting curve is judged, and corresponding processing steps are taken according to different situations, thereby simplifying the judgment process, avoiding unnecessary complex analysis, and improving the overall detection efficiency; when the number of reference points is small, the fitting curve may not provide enough information for detailed analysis. In this case, directly performing risk assessment based on the monotonicity of the curve and the area difference can improve the sensitivity of the system in specific situations and avoid underreporting; when the number of reference points is small, directly judging the monotonicity of the fitting curve and performing simplified risk assessment based on the area difference ΔS can reduce the amount of calculation and improve the detection speed, which is particularly important in real-time monitoring systems.
[0065] In another preferred implementation of the present invention, the judging step specifically includes:
[0066] Determine the maximum area S max = max(f(x)), and calculate the evaluation difference SPG = S'-S max When the evaluation difference SPG≤ΔS', it is determined that there is a gas leak and an early warning message is sent to remind the staff.
[0067] It should be noted that by calculating the maximum area S max The difference between the preset target area threshold and the maximum expansion of the target area can quantify the difference between the expected area and the maximum expansion of the target area. This difference directly reflects whether there is a risk of abnormal expansion, thus providing a clear quantitative indicator for the assessment of leakage risk. At the same time, this method can capture the peak value of the target area during the entire monitoring cycle, ensuring that even abnormal expansion that occurs in a short period of time can be detected, which helps to avoid underreporting due to area fluctuations.
[0068] In another preferred implementation of the present invention, in step S4, the process of determining the maximum rate of change further includes the following steps:
[0069] Calculate the rate of change difference ΔC b =C b -C max , and when the rate of change difference is greater than or equal to ΔC b =≥C', it is marked as an abnormal difference, and C' represents the preset difference threshold;
[0070] Calculate the abnormal ratio R = Byc / Btot, where Byc represents the total number of abnormal differences, and Btot represents the total number of change rate differences. When the abnormal ratio R ≥ 0.8, remove the maximum change rate, determine the maximum change rate again, and repeat the above steps until the corresponding abnormal ratio R is < 0.8 after the maximum change rate is removed.
[0071] It is understandable that in complex monitoring data, some abnormally high change rates may be caused by noise or short-term fluctuations rather than real gas leaks. These abnormal change rates may interfere with the overall judgment. The above method can be used to identify and remove these abnormal data points, thereby improving the accuracy of the final evaluation results. When determining the maximum change rate, by removing those abnormal change rates that account for too high a proportion, the excessive influence of a single extreme value on the overall judgment can be avoided. This method helps to ensure that the maximum change rate that is ultimately retained is more representative, thereby improving the reliability of gas leakage assessment.
[0072] In another preferred implementation of the present invention, in step S1, the process of determining the target area according to the temperature value corresponding to the pixel point in the thermal imaging image specifically includes:
[0073] Determine the temperature value corresponding to the pixel point in the thermal imaging image, and when the temperature value corresponding to the pixel point is greater than or equal to a preset temperature value threshold, mark the pixel point as a target pixel point, mark all the target pixel points in the thermal imaging image, and use the area composed of all the target pixel points as the target area.
[0074] It is worth noting that by identifying pixels representing high temperatures and determining target areas, it is possible to focus analysis and monitoring of key areas and reduce the computing resources required for overall analysis.
[0075] In another preferred implementation of the present invention, in the step S1, the thermal imaging image of the chemical equipment is acquired based on a thermal imager, and the thermal imager is at a preset position.
[0076] It is worth noting that fixing the thermal imager at a preset position can ensure that during the entire monitoring period, each thermal imaging image acquired has the same viewing angle and coverage, avoiding inconsistent monitoring results due to changes in the position of the instrument, and ensuring the stability and accuracy of monitoring. The preset position is determined based on actual conditions; by pre-setting the position of the thermal imager, it can ensure that key parts (such as high-temperature parts of chemical equipment or areas prone to leakage) are within the monitoring range, which helps to maximize the monitoring effect of the thermal imager and ensure that key areas are continuously monitored.
[0077] Example 2
[0078] like Figure 2As shown, a gas leakage detection device based on thermal imaging technology includes:
[0079] A target area determination module is used to obtain a thermal imaging image of a chemical equipment, determine a target area according to the temperature values corresponding to the pixels in the thermal imaging image, determine the area of the minimum circumscribed rectangle of the target area, and use it as the target area;
[0080] The data point generation and curve fitting module is used to obtain the target area in real time within the preset monitoring period and generate data points (t a , S a ), S a The time interval between the start point of the monitoring period is t a The target area at the time of the experiment is obtained, and the data points are fitted to obtain a fitting curve f(x);
[0081] an abnormal curve calculation module, taking the maximum and minimum points on the fitting curve as reference points, taking the starting point and the end point of the fitting curve as reference points, and determining the monotonicity of the fitting curve between two adjacent reference points, and when the fitting curve monotonically increases between two adjacent reference points, taking it as an abnormal curve h(x);
[0082] Change rate calculation module, calculates the average change rate [0, T] is the value range of the abnormal curve, generating the average change rate set C jh =(C1, C2, ..., C n ), C n Indicates the average rate of change corresponding to the nth abnormal curve and determines the maximum rate of change C max =max(C jh );
[0083] The evaluation coefficient and gas leakage judgment module determines the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate, and determines that there is a gas leakage when the evaluation coefficient K≥K', and sends an early warning message to remind the staff, K' represents a preset evaluation coefficient threshold.
[0084] In the present invention, the target area, that is, the area to be monitored, is first determined. When the thermal imager is imaging, it is a thermal imaging image of the entire area. By determining the target area, the amount of data to be processed later can be reduced, the overall processing efficiency can be improved, and computing resources can be saved; then the area of the minimum circumscribed rectangle of the target area (that is, the target area) is determined, and data points are generated according to the target area and a fitting curve is determined, which is the basis for subsequent processing; it is worth noting that the fitting curve can reflect the change trend of the target area, and the change trend of the target area under normal conditions is very different from that under abnormal conditions (that is, when there is a gas leak). When there is a gas leak, the speed and degree of increase of the target area are greater; then, the abnormal curve is determined, and the abnormal curve is the part of the fitting curve where the target area increases. Considering the change of the abnormal curve, the computing resource requirements during the overall analysis are reduced; then the average change rate is calculated and the maximum change rate is determined. The maximum change rate reflects the speed at which the target area increases. The greater the speed at which the target area increases, the higher the risk of gas leakage; finally, the evaluation coefficient is determined according to the fitting curve, the abnormal curve and the maximum change rate, and it is determined whether there is a gas leak.
[0085] The present invention can improve the accuracy of judging gas leakage, avoid the decline of work efficiency caused by misjudgment, and effectively identify the abnormal state of gas leakage through real-time monitoring and highly automated analysis, reduce the false alarm rate, and improve the safety monitoring efficiency of chemical equipment. Through thermal imaging technology, the equipment can be continuously monitored without contact, ensuring the safety and real-time nature of the operation.
[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A gas leakage detection method based on thermal imaging technology, characterized in that: The steps include: S1. Acquire a thermal imaging image of a chemical equipment, determine a target area according to temperature values corresponding to pixels in the thermal imaging image, determine the area of a minimum circumscribed rectangle of the target area, and use it as the target area; S2. Obtain the target area in real time within the preset monitoring period and generate data points (t a , S a ), S a The time interval between the start point of the monitoring period is t a The target area at the time of the experiment is obtained, and the data points are fitted to obtain a fitting curve f(x); S3, taking the maximum point and the minimum point on the fitting curve as reference points, and taking the starting point and the end point of the fitting curve as reference points, and determining the monotonicity of the fitting curve between two adjacent reference points, and when the fitting curve monotonically increases between two adjacent reference points, taking it as an abnormal curve h(x); S4. Calculate the average rate of change [0, T] is the value range of the abnormal curve, generating the average change rate set C jh =(C1, C2, ..., C n ), C n Indicates the average rate of change corresponding to the nth abnormal curve and determines the maximum rate of change C max =max(C jh ); S5. Determine an evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate, and determine that there is a gas leak when the evaluation coefficient K≥K', and send an early warning message to remind the staff, where K' represents a preset evaluation coefficient threshold.
2. The gas leakage detection method based on thermal imaging technology according to claim 1 is characterized in that: In step S5, the process of determining the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate specifically includes: The evaluation coefficient K is calculated by a formula, wherein the formula specifically includes: Among them, ε represents the preset correction coefficient, T i represents the i-th abnormal curve h i (x) Duration, t sta Indicates the starting point of the monitoring period, t end Indicates the end point of the monitoring period.
3. The gas leakage detection method based on thermal imaging technology according to claim 2 is characterized in that: In the step S1, when the target area S≥S', the subsequent steps are not executed and it is determined that there is a gas leak, and an early warning message is sent to remind the staff, and S' represents a preset target area threshold.
4. The gas leakage detection method based on thermal imaging technology according to claim 3 is characterized in that: In step S3, a reference point quantity threshold m is set, and when the number of reference points is less than or equal to m-2, the following steps are performed: Determining the monotonicity of the fitted curve; When the fitting curve increases monotonically, the calculated area difference ΔS=S'-f(t end ), when the area difference ΔS≤ΔS', it is determined that there is a gas leak and an early warning message is sent to remind the staff, ΔS' represents a preset area difference threshold; When the fitting curve decreases monotonically, it is determined that there is no gas leakage; When the fitting curve does not have monotonicity, a preset judgment step is performed to determine whether there is a gas leak.
5. The gas leakage detection method based on thermal imaging technology according to claim 4 is characterized in that: The judging step specifically includes: Determine the maximum area S max = max(f(x)), and calculate the evaluation difference SPG = S'-S max When the evaluation difference SPG≤ΔS', it is determined that there is a gas leak and an early warning message is sent to remind the staff.
6. The gas leakage detection method based on thermal imaging technology according to claim 1, characterized in that: In step S4, the process of determining the maximum change rate also includes the following steps: Calculate the rate of change difference ΔC b =C b -C max , and when the change rate difference is greater than or equal to ΔC b =≥C', it is marked as an abnormal difference, and C' represents the preset difference threshold; Calculate the abnormal ratio R=Byc / Btot, where Byc represents the total number of abnormal differences, and Btot represents the total number of change rate differences. When the abnormal ratio R≥0.8, remove the maximum change rate, determine the maximum change rate again, and repeat the above steps until the corresponding abnormal ratio R is <0.8 after the maximum change rate is removed.
7. The gas leakage detection method based on thermal imaging technology according to claim 1, characterized in that: In step S1, the process of determining the target area according to the temperature value corresponding to the pixel point in the thermal imaging image specifically includes: Determine the temperature value corresponding to the pixel point in the thermal imaging image, and when the temperature value corresponding to the pixel point is greater than or equal to a preset temperature value threshold, mark the pixel point as a target pixel point, mark all the target pixel points in the thermal imaging image, and use the area composed of all the target pixel points as the target area.
8. The gas leakage detection method based on thermal imaging technology according to claim 1, characterized in that: In the step S1, the thermal imaging image of the chemical equipment is acquired based on a thermal imager, and the thermal imager is at a preset position.
9. A device for the gas leakage detection method based on thermal imaging technology according to any one of claims 1 to 8, characterized in that: include: A target area determination module is used to obtain a thermal imaging image of a chemical equipment, determine a target area according to the temperature values corresponding to the pixels in the thermal imaging image, determine the area of the minimum circumscribed rectangle of the target area, and use it as the target area; The data point generation and curve fitting module is used to obtain the target area in real time within the preset monitoring period and generate data points (t a , S a ), S a The time interval between the start point of the monitoring period is t a The target area at the time of the experiment is obtained, and the data points are fitted to obtain a fitting curve f(x); an abnormal curve calculation module, taking the maximum and minimum points on the fitting curve as reference points, taking the starting point and the end point of the fitting curve as reference points, and determining the monotonicity of the fitting curve between two adjacent reference points, and when the fitting curve monotonically increases between two adjacent reference points, taking it as an abnormal curve h(x); Change rate calculation module, calculates the average change rate [0, T] is the value range of the abnormal curve, generating the average change rate set C jh =(C1, C2, ..., C n ), C n Indicates the average rate of change corresponding to the nth abnormal curve and determines the maximum rate of change C max =max(C jh ); The evaluation coefficient and gas leakage judgment module determines the evaluation coefficient K according to the fitting curve, the abnormal curve and the maximum change rate, and determines that there is a gas leakage when the evaluation coefficient K≥K', and sends an early warning message to remind the staff, K' represents a preset evaluation coefficient threshold.
10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the gas leakage detection method based on thermal imaging technology as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Gas pollution infrared image visual auxiliary detection method
CN116758085A
Gas leakage monitoring system, method and device and inspection device
CN117516811A
Boiler economizer leakage detection device
CN218156722U
Thermal measurement system and method for leak detection
US20110215936A1
Method for leakage detection of underground pipeline corridor based on dynamic infrared thermal image processing
US20190331301A1
