Leakage rate verification method and system for gas valve
By acquiring and analyzing the ultrasonic signal and temperature distribution of the gas valve in real time, combined with the image characteristics after spraying the detection liquid, the leakage detection error problem in the prior art caused by fluctuations in the gas flow rate in the pipeline is solved, and more accurate leakage detection is achieved.
Patent Information
- Application Number
- CN202510023327.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art fails to consider the fluctuations in the gas flow rate in the pipeline, resulting in errors in ultrasonic signal detection and the leakage of the gas valve cannot be accurately measured.
The ultrasonic signal of the gas valve is obtained in real time through the ultrasonic detection unit, and combined with the temperature distribution of the gas valve area obtained by the infrared detection unit, a thermal image map is generated to determine whether the gas valve leaks. Spray a preset amount of leakage detection liquid to the gas valve, obtain the sprayed image, determine the leakage amount based on image characteristics and ultrasonic signal analysis, and obtain the leakage amount of the gas valve by weighting summing.
By taking into account the fluctuations in the gas flow rate in the pipeline, the combined image characteristics and ultrasonic signal analysis results are improved, and the certainty of the gas valve leakage detection is reduced.
Smart Images

Figure CN119714692A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas leakage detection, and in particular to a leakage detection method and system for a gas valve. Background Art
[0002] In modern industry, the sealing performance of valves is directly related to the safety and efficiency of industrial production. However, valve internal leakage frequently occurs in many industries such as petrochemical, electric power, and steel metallurgy. According to relevant industry statistics, various adverse consequences caused by valve internal leakage have brought heavy burdens to enterprises.
[0003] In the energy sector, internal leakage of steam valves will silently cause a large amount of energy loss, reduce the efficiency of power generation or heating, and increase the operating costs of enterprises; in chemical production, internal leakage of valves is like a "time bomb", which may cause environmental pollution or even explosions and other serious accidents. These severe realities have prompted relevant national departments to continuously strengthen the supervision of industrial equipment safety monitoring and promote enterprises to seek more accurate and efficient valve internal leakage detection solutions.
[0004] Chinese Patent Publication No.: CN107816638A discloses an experimental device and method suitable for measuring the leakage of buried gas pipelines, including: a voltage stabilizing device and a leakage groove connected to each other; a first valve and a second valve are respectively arranged at both ends of the leakage groove; after the leakage of the leakage groove is stable, the first valve and the second valve are closed at the same time to enter a non-steady-state leakage state; according to the difference in gas mass in the pipeline between the first valve and the second valve before and after the non-steady-state leakage occurs, and the leakage time, the average flow rate of the non-steady-state leakage is determined. Beneficial effects of the present invention: Compared with the existing experimental system, the experimental system can simulate the measurement of the leakage amount when the actual running pipeline leaks, and can measure the leakage amount of the steady-state leakage model when the gas source is stable, that is, the valves at both ends of the leakage hole are not closed, and can also measure the leakage amount of the non-steady-state leakage model when the valves at both ends of the leakage hole are closed when the leakage occurs.
[0005] China Patent Publication No.: CN102095083A discloses a detection system for gas valve leakage, which mainly utilizes the deployment of wireless sensor networks, including installing wireless pressure transmitters and surface-mounted wireless temperature transmitters in the pipelines before and after the gas valve, and installing wireless ultrasonic leakage sensors beside the valve, so that the pressure and temperature slight change signals of the front and rear sections of the valve, and the ultrasonic leakage signals obtained by the wireless ultrasonic leakage sensor are uploaded to the wireless gateway, the gateway communicates with the computer through a wired method, and the analysis software on the computer comprehensively utilizes the pressure distribution method, temperature detection method, and ultrasonic leakage detection method to analyze the leakage of the valve, and analyzes and judges the valve leakage through data. The method of the present invention has high accuracy and sensitivity, the wireless transmitter is easy to install, no additional signal cables are required, and leaks can be repaired in time, which is of great significance for improving the production efficiency of enterprises and saving energy.
[0006] However, the prior art still has the following problems:
[0007] In the prior art, it is not considered that fluctuations in the gas flow rate in the pipeline may cause errors in ultrasonic signal detection, thereby resulting in the problem of being unable to accurately detect the leakage of the gas valve. Summary of the invention
[0008] To this end, the present invention provides a method and system for detecting the leakage of a gas valve, so as to overcome the problem in the prior art that the fluctuation of the gas flow rate in the pipeline may cause errors in ultrasonic signal detection, thereby resulting in the inability to accurately detect the leakage of the gas valve.
[0009] To achieve the above object, on the one hand, the present invention provides a leakage detection method for a gas valve, comprising:
[0010] The ultrasonic signal of the gas valve is obtained in real time through the ultrasonic detection unit, and the temperature distribution of the gas valve area is obtained through the infrared detection unit to generate a thermal image of the gas valve area;
[0011] Determine whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, wherein the parameters of the ultrasonic signal include frequency and intensity;
[0012] Spray a preset amount of leak detection fluid onto the gas valve;
[0013] Acquire an image of the gas valve region after spraying a preset amount of leakage detection liquid, and determine an estimated value of the gas valve leakage based on image feature analysis;
[0014] Determine an estimated value of gas valve leakage based on ultrasonic signal analysis;
[0015] Obtaining the leakage amount of the gas valve by weighted summing the estimated value of the gas valve leakage amount determined based on the image feature analysis and the estimated value of the gas valve leakage amount determined based on the ultrasonic signal analysis;
[0016] The image features include the number of bubbles and the size of the bubbles.
[0017] As a preferred technical solution for the gas valve leakage detection method, the process of obtaining the maximum temperature difference in the gas valve area thermal image based on the gas valve area thermal image includes:
[0018] Extract the temperature value of each pixel from the thermal image;
[0019] Extract the pixel with the largest temperature value and the pixel with the smallest temperature value;
[0020] Calculate the maximum temperature difference.
[0021] As a preferred technical solution for the gas valve leakage detection method, the process of determining whether the gas valve is leaking based on the parameters of the ultrasonic signal combined with the gas valve area thermal image includes:
[0022] Calculate the maximum temperature difference in the thermal image of the gas valve area;
[0023] Obtain the frequency and intensity of ultrasonic signals;
[0024] If the gas valve abnormality condition is met, it is determined that the gas valve is leaking;
[0025] The abnormal condition of the gas valve is that the frequency of the ultrasonic signal is within a preset leakage frequency range, or the intensity of the ultrasonic signal is greater than a preset intensity threshold, or the maximum temperature difference is greater than a preset temperature difference threshold.
[0026] As a preferred technical solution for the gas valve leakage detection method, the process of determining the gas valve leakage estimation value based on image feature analysis includes:
[0027] Extract the number and size of bubbles as image features;
[0028] Compare the image features with the pre-established sample library images;
[0029] Select the image with the largest fitting value, and the leakage amount corresponding to the image is the estimated value of the leakage amount of the gas valve;
[0030] Among them, each sample library image has a corresponding leakage amount.
[0031] As a preferred technical solution for the gas valve leakage detection method, the process of determining the gas valve leakage according to the ultrasonic signal includes:
[0032] Build a convolutional neural network model based on historical data;
[0033] Input the real-time acquired ultrasonic signal into the trained convolutional neural network model;
[0034] The convolutional neural network model analyzes the characteristics of the ultrasonic signal and outputs the corresponding gas valve leakage estimate.
[0035] As a preferred technical solution for the gas valve leakage detection method, it also includes characterizing the stable parameters of the gas flow rate in the pipeline based on the parameters of the ultrasonic signal,
[0036] Extracting ultrasonic signals within a preset time period;
[0037] Calculate the standard deviation of the ultrasonic signal frequency and the standard deviation of the ultrasonic signal intensity within a preset time period;
[0038] The standard deviation of the ultrasonic signal frequency and the standard deviation of the ultrasonic signal intensity are weighted and summed to obtain the stable parameter of the gas flow rate in the pipeline.
[0039] As a preferred technical solution for the leakage detection method of a gas valve, it also includes adjusting the weight coefficient of the gas valve leakage estimation value determined based on the image feature analysis according to the stable parameter of the gas flow rate in the pipeline, wherein the stable parameter of the gas flow rate in the pipeline is positively correlated with the weight coefficient of the gas valve leakage estimation value determined based on the image feature analysis.
[0040] As a preferred technical solution for the leakage detection method of a gas valve, it also includes adjusting the gas valve leakage estimation value determined based on the ultrasonic signal analysis according to the stable parameter of the gas flow rate in the pipeline, wherein the stable parameter of the gas flow rate in the pipeline is negatively correlated with the weight coefficient of the gas valve leakage estimation value determined based on the ultrasonic signal analysis.
[0041] On the other hand, the present invention also provides a leakage detection system for a gas valve, comprising:
[0042] The data acquisition module includes an ultrasonic detection unit for acquiring the ultrasonic signal of the gas valve in real time, and an infrared detection unit for acquiring the temperature distribution of the gas valve area and generating a thermal image of the gas valve area;
[0043] A leakage determination module, connected to the data acquisition module, for determining whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, wherein the parameters of the ultrasonic signal include frequency and intensity;
[0044] A spray module for spraying leak detection liquid;
[0045] A leakage detection module, connected to the data acquisition module, the spraying module and the leakage determination module respectively, including a leakage estimation unit and a leakage determination unit;
[0046] The leakage estimation unit is used to control the spraying module to spray a preset amount of leakage detection liquid onto the gas valve;
[0047] Acquire an image of the gas valve region after spraying a preset amount of leakage detection liquid, and determine an estimated value of the gas valve leakage based on image feature analysis;
[0048] Determine an estimated value of gas valve leakage based on ultrasonic signal analysis;
[0049] The leakage amount determination unit is used to obtain the leakage amount of the gas valve by weighted summing the estimated value of the gas valve leakage amount determined based on the image feature analysis and the estimated value of the gas valve leakage amount determined based on the ultrasonic signal analysis;
[0050] The image features include the number of bubbles and the size of the bubbles.
[0051] As a preferred technical solution for the leakage detection system of gas valves, it also includes an early warning module for issuing an early warning signal.
[0052] Compared with the prior art, the present invention acquires the ultrasonic signal of the gas valve and the temperature distribution of the gas valve area in real time, generates a thermal image of the gas valve area, determines whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, sprays a preset amount of leakage detection liquid on the gas valve, acquires an image of the gas valve area after spraying the preset amount of leakage detection liquid, determines an estimated value of the gas valve leakage based on image feature analysis, determines an estimated value of the gas valve leakage based on ultrasonic signal analysis, and determines the leakage of the gas valve according to the estimated value. The present invention determines the leakage of the gas valve by combining the two estimated values, taking into account the fluctuation of the gas flow rate in the pipeline, thereby improving the certainty of the gas valve leakage detection.
[0053] In particular, the present invention determines whether a gas valve is leaking by combining the parameters of an ultrasonic signal with a thermal image of the gas valve area. In actual situations, when the valve is not tightly closed, corroded, or leaks to the downstream pipeline due to process defects, jet turbulence will be generated at the location where the valve leaks downstream, and ultrasonic signals will be stirred up in the narrow space inside the valve. These ultrasonic signals have unique frequencies and intensities, which provide key clues for detection. When a gas valve leaks, the gas at the leaking location will exchange heat with the surrounding environment, resulting in local temperature changes. If the gas temperature at the leaking location is inconsistent with the surrounding environment temperature, a temperature difference will be formed. By combining the ultrasonic signal with the temperature difference to determine whether the gas valve is leaking, the reliability of gas valve leakage detection can be improved.
[0054] In particular, the present invention obtains an image of the gas valve area after spraying a preset amount of leakage detection liquid, and determines an estimated value of the gas valve leakage based on image feature analysis. In actual situations, the greater the leakage, the more gas escapes, and thus the more bubbles are formed. The size of the bubbles can also provide information on the leakage. Larger bubbles may indicate a larger leakage point, while smaller bubbles may mean a smaller leakage point. By analyzing the image with the bubble size and the number of bubbles as image features, the leakage of the gas valve can be estimated more reliably.
[0055] In particular, the present invention obtains the leakage amount of the gas valve by weighted summing up the estimated value of the gas valve leakage determined based on image feature analysis and the estimated value of the gas valve leakage determined based on parameter analysis of the ultrasonic signal. When the gas flow rate in the pipeline fluctuates, it will affect the ultrasonic signal detection, resulting in a large error in the ultrasonic signal detection when the gas flow rate in the pipeline fluctuates greatly. At this time, there may be a certain deviation in the estimated value of the gas valve leakage. By considering the fluctuation of the gas flow rate in the pipeline, the two estimated values are combined to determine the leakage amount of the gas valve, thereby improving the certainty of the gas valve leakage detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 This is a step diagram of a method for detecting leakage of a gas valve according to an embodiment of the present invention;
[0057] Figure 2 A logic determination diagram for determining whether a gas valve is leaking according to an embodiment of the present invention;
[0058] Figure 3 This is a structural block diagram of a leakage detection system for a gas valve according to an embodiment of the present invention;
[0059] Figure 4 It is a structural block diagram of the leakage detection module according to an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0061] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0062] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0063] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, 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 communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0064] See also Figure 1-2 As shown, the present invention provides a leakage detection method for a gas valve, comprising:
[0065] Step S1, obtaining the ultrasonic signal of the gas valve in real time through the ultrasonic detection unit, obtaining the temperature distribution of the gas valve area through the infrared detection unit, and generating a thermal image of the gas valve area;
[0066] Step S2, determining whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, wherein the parameters of the ultrasonic signal include frequency and intensity;
[0067] Step S3, spraying a preset amount of leakage detection liquid onto the gas valve;
[0068] Step S4, obtaining an image of the gas valve region after spraying a preset amount of leakage detection liquid, and determining an estimated value of gas valve leakage based on image feature analysis;
[0069] Determine an estimated value of gas valve leakage based on ultrasonic signal analysis;
[0070] Step S5, obtaining the leakage amount of the gas valve by weighted summing the estimated value of the gas valve leakage amount determined based on the image feature analysis and the estimated value of the gas valve leakage amount determined based on the ultrasonic signal analysis;
[0071] The image features include the number of bubbles and the size of the bubbles.
[0072] In this embodiment, the ultrasonic detection unit may be an ultrasonic detector, and the infrared detection unit may be an infrared thermal imager.
[0073] In this embodiment, the leakage detection liquid is soapy water.
[0074] In this embodiment, a preset amount of leakage detection liquid is sprayed, and the preset amount is 20 ml.
[0075] Specifically, the process of obtaining the maximum temperature difference in the thermal image of the gas valve area based on the thermal image of the gas valve area includes:
[0076] Extract the temperature value of each pixel from the thermal image;
[0077] Extract the pixel with the largest temperature value and the pixel with the smallest temperature value;
[0078] Calculate the maximum temperature difference.
[0079] Specifically, the process of determining whether the gas valve is leaking based on the parameters of the ultrasonic signal combined with the thermal image of the gas valve area includes:
[0080] Calculate the maximum temperature difference in the thermal image of the gas valve area;
[0081] Obtain the frequency and intensity of ultrasonic signals;
[0082] If the gas valve abnormality condition is met, it is determined that the gas valve is leaking;
[0083] The abnormal condition of the gas valve is that the frequency of the ultrasonic signal is within a preset leakage frequency range, or the intensity of the ultrasonic signal is greater than a preset intensity threshold, or the maximum temperature difference is greater than a preset temperature difference threshold.
[0084] In this embodiment, the preset leakage frequency range is [20kHz, 100kHz], the preset intensity threshold is measured in advance by experiments, historical data of gas valve leakage is obtained, the minimum value of the ultrasonic signal intensity is obtained in the historical data, and the minimum value is set to the preset intensity threshold, and the preset temperature difference threshold is measured in advance by experiments, the minimum value of the temperature difference is obtained in the historical data, and the minimum value of the temperature difference is set to the preset temperature difference threshold.
[0085] Specifically, the present invention determines whether a gas valve is leaking by combining the parameters of an ultrasonic signal with a thermal image of the gas valve area. In actual situations, when the valve is not closed tightly, corroded, or has process defects and leaks to the downstream pipeline, jet turbulence will be generated at the location where the valve leaks downstream, and ultrasonic signals will be stirred up in the narrow space inside the valve. These ultrasonic signals have unique frequencies and intensities, which provide key clues for detection. When a gas valve leaks, the gas at the leaking location will exchange heat with the surrounding environment, resulting in local temperature changes. If the gas temperature at the leaking location is inconsistent with the surrounding environment temperature, a temperature difference will be formed. By combining the ultrasonic signal with the temperature difference to determine whether the gas valve is leaking, the reliability of gas valve leakage detection can be improved.
[0086] Specifically, the process of determining the estimated value of gas valve leakage based on image feature analysis includes:
[0087] Extract the number and size of bubbles as image features;
[0088] Compare the image features with the pre-established sample library images;
[0089] Select the image with the largest fitting value, and the leakage amount corresponding to the image is the estimated value of the leakage amount of the gas valve;
[0090] Among them, each sample library image has a corresponding leakage amount.
[0091] In this embodiment, feature extraction and fitting comparison are performed on the image by using image analysis software, and the image analysis software may be matlab.
[0092] It can be understood that there are several images in the sample library, which are images of gas valves leaking to different degrees, and each image has a corresponding gas valve leakage amount.
[0093] Specifically, the present invention obtains an image of the gas valve area after spraying a preset amount of leakage detection liquid, and determines an estimated value of the gas valve leakage based on image feature analysis. In actual situations, the greater the leakage, the more gas escapes, and thus the more bubbles are formed. The size of the bubbles can also provide information on the leakage. Larger bubbles may indicate a larger leakage point, while smaller bubbles may mean a smaller leakage point. By analyzing the image with the bubble size and the number of bubbles as image features, the leakage of the gas valve can be estimated more reliably.
[0094] Specifically, the process of determining the leakage amount of the gas valve according to the ultrasonic signal includes:
[0095] Build a convolutional neural network model based on historical data;
[0096] Input the real-time acquired ultrasonic signal into the trained convolutional neural network model;
[0097] The convolutional neural network model analyzes the characteristics of the ultrasonic signal and outputs the corresponding gas valve leakage estimate.
[0098] In this embodiment, historical data are collected, which include ultrasonic signals under normal and leakage conditions. Data preprocessing includes denoising, normalization, and feature extraction. Based on the historical data, a CNN model is designed and trained. The model includes multiple convolutional layers, pooling layers, and fully connected layers. The convolutional layer is used to extract the features of the signal, the pooling layer is used to reduce the spatial dimension of the features, and the fully connected layer is used for classification or regression analysis. The CNN model is trained using the training set data, and the model is adjusted and optimized using the validation set to prevent overfitting and improve the generalization ability of the model. The ultrasonic signal acquired in real time is input into the trained CNN model. The model will analyze the features of these signals and compare them with the features learned during training to estimate the leakage of the gas valve.
[0099] Specifically, it also includes characterizing the stable parameters of the gas flow rate in the pipeline based on the parameters of the ultrasonic signal,
[0100] Extracting ultrasonic signals within a preset time period;
[0101] Calculate the standard deviation of the ultrasonic signal frequency and the standard deviation of the ultrasonic signal intensity within a preset time period;
[0102] The standard deviation of the ultrasonic signal frequency and the standard deviation of the ultrasonic signal intensity are weighted and summed to obtain the stable parameter of the gas flow rate in the pipeline.
[0103] In this embodiment, the gas valve is a gas valve used on a pipeline.
[0104] In this embodiment, the preset time period is 2 minutes.
[0105] In this embodiment, the weight coefficient of the standard deviation of the ultrasonic signal frequency is 0.5, and the weight coefficient of the standard deviation of the ultrasonic signal intensity is 0.5.
[0106] Specifically, it also includes adjusting the weight coefficient of the gas valve leakage estimate value determined based on the image feature analysis according to the gas flow rate stability parameter in the pipeline, wherein the gas flow rate stability parameter in the pipeline is positively correlated with the weight coefficient of the gas valve leakage estimate value determined based on the image feature analysis.
[0107] Specifically, it also includes adjusting the estimated value of gas valve leakage determined based on ultrasonic signal analysis according to the stable parameter of gas flow rate in the pipeline, wherein the stable parameter of gas flow rate in the pipeline is negatively correlated with the weight coefficient of the estimated value of gas valve leakage determined based on ultrasonic signal analysis.
[0108] In this embodiment, optionally,
[0109] 0≤Gas flow rate stability parameter<0.5, the weight coefficient of the estimated value of gas valve leakage determined based on image feature analysis is 0.3, and the weight coefficient of the estimated value of gas valve leakage determined based on ultrasonic signal analysis is 0.7;
[0110] 0.5≤Gas flow rate stability parameter<1, the weight coefficient of the estimated value of gas valve leakage determined based on image feature analysis is 0.5, and the weight coefficient of the estimated value of gas valve leakage determined based on ultrasonic signal analysis is 0.5;
[0111] 1≤gas flow rate stability parameter, the weight coefficient of the gas valve leakage estimate determined based on image feature analysis is 0.7, and the weight coefficient of the gas valve leakage estimate determined based on ultrasonic signal analysis is 0.3.
[0112] Specifically, the present invention obtains the leakage amount of the gas valve by weighted summing up the estimated value of the gas valve leakage determined based on image feature analysis and the estimated value of the gas valve leakage determined based on ultrasonic signal analysis. When the gas flow rate in the pipeline fluctuates, it will affect the ultrasonic signal detection, resulting in a large error in the ultrasonic signal detection when the gas flow rate in the pipeline fluctuates greatly. At this time, there may be a certain deviation in the estimated value of the gas valve leakage. By considering the fluctuation of the gas flow rate in the pipeline, the two estimated values are combined to determine the leakage amount of the gas valve, thereby improving the certainty of the gas valve leakage detection.
[0113] See also Figure 3-Figure 4 , a leakage detection system for a gas valve comprises:
[0114] The data acquisition module includes an ultrasonic detection unit for acquiring the ultrasonic signal of the gas valve in real time, and an infrared detection unit for acquiring the temperature distribution of the gas valve area and generating a thermal image of the gas valve area;
[0115] A leakage determination module, connected to the data acquisition module, for determining whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, wherein the parameters of the ultrasonic signal include frequency and intensity;
[0116] A spray module for spraying leak detection liquid;
[0117] A leakage detection module, connected to the data acquisition module, the spraying module and the leakage determination module respectively, including a leakage estimation unit and a leakage determination unit;
[0118] The leakage estimation unit is used to control the spraying module to spray a preset amount of leakage detection liquid onto the gas valve;
[0119] Acquire an image of the gas valve region after spraying a preset amount of leakage detection liquid, and determine an estimated value of the gas valve leakage based on image feature analysis;
[0120] Determine an estimated value of gas valve leakage based on ultrasonic signal analysis;
[0121] The leakage amount determination unit is used to obtain the leakage amount of the gas valve by weighted summing the estimated value of the gas valve leakage amount determined based on the image feature analysis and the estimated value of the gas valve leakage amount determined based on the ultrasonic signal analysis;
[0122] The image features include the number of bubbles and the size of the bubbles.
[0123] Specifically, it also includes an early warning module for issuing early warning signals.
[0124] The modules involved in the embodiments described in the present application may be implemented by software or hardware. The modules described may also be arranged in a processor, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.
[0125] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0127] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for testing the leakage of a gas valve, characterized in that: include: The ultrasonic signal of the gas valve is obtained in real time through the ultrasonic detection unit, and the temperature distribution of the gas valve area is obtained through the infrared detection unit to generate a thermal image of the gas valve area; Determine whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, wherein the parameters of the ultrasonic signal include frequency and intensity; Spray a preset amount of leak detection fluid onto the gas valve; Acquire an image of the gas valve region after spraying a preset amount of leakage detection liquid, and determine an estimated value of the gas valve leakage based on image feature analysis; Determine an estimated value of gas valve leakage based on ultrasonic signal analysis; Obtaining the leakage amount of the gas valve by weighted summing the estimated value of the gas valve leakage amount determined based on the image feature analysis and the estimated value of the gas valve leakage amount determined based on the ultrasonic signal analysis; The image features include the number of bubbles and the size of the bubbles.
2. The method for testing the leakage of a gas valve according to claim 1, characterized in that: Also included is a process of obtaining a maximum temperature difference in the thermal image of the gas valve area based on the thermal image of the gas valve area, comprising: Extract the temperature value of each pixel from the thermal image; Extract the pixel with the largest temperature value and the pixel with the smallest temperature value; Calculate the maximum temperature difference.
3. The leakage detection method for a gas valve according to claim 1, characterized in that: The process of determining whether the gas valve is leaking based on the parameters of the ultrasonic signal combined with the thermal image of the gas valve area includes: Calculate the maximum temperature difference in the thermal image of the gas valve area; Obtain the frequency and intensity of ultrasonic signals; If the gas valve abnormality condition is met, it is determined that the gas valve is leaking; The abnormal condition of the gas valve is that the frequency of the ultrasonic signal is within a preset leakage frequency range, or the intensity of the ultrasonic signal is greater than a preset intensity threshold, or the maximum temperature difference is greater than a preset temperature difference threshold.
4. The method for testing the leakage of a gas valve according to claim 1, characterized in that: The process of determining the estimated value of gas valve leakage based on image feature analysis includes: Extract the number and size of bubbles as image features; Compare the image features with the pre-established sample library images; Select the image with the largest fitting value, and the leakage amount corresponding to the image is the estimated value of the leakage amount of the gas valve; Among them, each sample library image has a corresponding leakage amount.
5. The leakage detection method for a gas valve according to claim 1, characterized in that: The process of determining the leakage of a gas valve based on ultrasonic signals includes: Build a convolutional neural network model based on historical data; Input the real-time acquired ultrasonic signal into the trained convolutional neural network model; The convolutional neural network model analyzes the characteristics of the ultrasonic signal and outputs the corresponding gas valve leakage estimate.
6. The method for testing the leakage of a gas valve according to claim 1, characterized in that: It also includes the parameters based on ultrasonic signals to characterize the stable parameters of gas flow rate in the pipeline. Extracting ultrasonic signals within a preset time period; Calculate the standard deviation of the ultrasonic signal frequency and the standard deviation of the ultrasonic signal intensity within a preset time period; The standard deviation of the ultrasonic signal frequency and the standard deviation of the ultrasonic signal intensity are weighted and summed to obtain the stable parameter of the gas flow rate in the pipeline.
7. The leakage detection method for a gas valve according to claim 6, characterized in that: It also includes adjusting a weight coefficient of a gas valve leakage estimate determined based on image feature analysis according to a gas flow rate stability parameter in the pipeline, wherein the gas flow rate stability parameter in the pipeline is positively correlated with the weight coefficient of the gas valve leakage estimate determined based on image feature analysis.
8. The method for testing the leakage of a gas valve according to claim 6, characterized in that: It also includes adjusting the estimated value of gas valve leakage determined based on ultrasonic signal analysis according to the stable parameter of gas flow rate in the pipeline, wherein the stable parameter of gas flow rate in the pipeline is negatively correlated with the weight coefficient of the estimated value of gas valve leakage determined based on ultrasonic signal analysis.
9. A leakage detection system for a gas valve, characterized in that: The leakage detection method for a gas valve according to any one of claims 1 to 8 is applied, and the leakage detection system for a gas valve comprises: The data acquisition module includes an ultrasonic detection unit for acquiring the ultrasonic signal of the gas valve in real time, and an infrared detection unit for acquiring the temperature distribution of the gas valve area and generating a thermal image of the gas valve area; A leakage determination module, connected to the data acquisition module, for determining whether the gas valve is leaking according to the parameters of the ultrasonic signal combined with the thermal image of the gas valve area, wherein the parameters of the ultrasonic signal include frequency and intensity; A spray module for spraying leak detection liquid; A leakage detection module, connected to the data acquisition module, the spraying module and the leakage determination module respectively, including a leakage estimation unit and a leakage determination unit; The leakage estimation unit is used to control the spraying module to spray a preset amount of leakage detection liquid onto the gas valve; Acquire an image of the gas valve region after spraying a preset amount of leakage detection liquid, and determine an estimated value of the gas valve leakage based on image feature analysis; Determine an estimated value of gas valve leakage based on ultrasonic signal analysis; The leakage amount determination unit is used to obtain the leakage amount of the gas valve by weighted summing the estimated value of the gas valve leakage amount determined based on the image feature analysis and the estimated value of the gas valve leakage amount determined based on the ultrasonic signal analysis; The image features include the number of bubbles and the size of the bubbles.
10. The leakage detection system for gas valves according to claim 9, characterized in that: It also includes an early warning module for sending out early warning signals.
Citation Information
Patent Citations
Detecting system used for leakage of gas valve
CN102095083A
Experimental device and method suitable for measuring leakage rate of underground gas pipe
CN107816638A
Gas leakage detection device and method integrating ultrasonic wave and passive infrared imaging
CN114486128A
Ultralow-temperature valve leakage fault diagnosis method based on ultrasonic and infrared detection
CN117686163A
Tank car leakage detection method based on fusion of thermal imaging and acoustic imaging
CN118658029A