SF6 leakage quantitative detection method and system for substation equipment status perception
Through multi-frame synthesis preprocessing and infrared video image analysis technology, combined with deep learning models, SF6 leakage gas clouds are automatically detected and the leakage rate is calculated, which solves the problem of insufficient quantitative analysis in the existing technology and achieves accurate quantification of SF6 leakage rate. Detection improves detection efficiency and accuracy and ensures the safety of equipment and environment.
Patent Information
- Application Number
- CN202410559119.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-08
AI Technical Summary
The existing technology has insufficient quantitative analysis in SF6 gas leakage detection and cannot accurately measure the leakage rate. Moreover, traditional methods are time-consuming and laborious and cannot detect leakage points in time, affecting equipment and environmental safety.
Using multi-frame synthesis preprocessing and infrared video image analysis technology, through stacking the Darknet-53 network and FPN feature pyramid of the residual module, combined with the YOLO Head and U2-Net image segmentation models, it automatically detects SF6 leakage gas clouds and calculates the leakage rate. , and measure the concentration value through a negative corona discharge sensor to achieve quantitative detection.
It achieves accurate quantitative analysis of SF6 leakage rate, improves detection efficiency and accuracy, reduces operator workload, provides timely maintenance decision support, and reduces environmental and personnel hazards.
Smart Images

Figure CN118134933B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of SF6 gas leakage detection for electric power equipment, and in particular relates to a SF6 leakage quantitative detection method and system for state perception of substation equipment. Background Art
[0002] SF6 is a colorless and odorless gas that is widely used in the power sector for its excellent insulation and arc extinguishing properties. During the operation of power equipment, SF6 leakage caused by sealing problems often occurs. When the SF6 pressure decreases, the insulation level of the equipment decreases, and the arc extinguishing performance of switch equipment decreases, seriously affecting the safe operation of power equipment. In addition, due to the high density of SF6 gas, the leaked SF6 in the indoor environment will accumulate at the bottom, which will cause harm to the human body. SF6 gas is also a highly destructive greenhouse gas, and the environmental problems caused by SF6 leakage cannot be underestimated. Therefore, when SF6 leakage occurs in power equipment, it is of great significance to promptly and accurately discover the leakage point and take corresponding treatment measures based on the gas leakage rate to ensure the safety of equipment and personnel.
[0003] In recent years, thanks to the advantages of infrared thermal imaging technology such as long distance, non-contact and dynamic intuitiveness, SF6 leakage detection based on infrared thermal imaging technology has been widely used in the power field, but there are still many challenges. For example, most of the solutions for SF6 leakage detection using infrared imaging use the image comparison method to mark the SF6 leakage point through the changes between different video frames. However, analyzing the SF6 leakage point through the changes between video frames has a certain effect when the gas leakage is large and the injection speed is fast, but it is not suitable for the case of slow gas leakage. In addition, for handheld infrared imagers, the video frame comparison algorithm is not effective due to hand shaking. There are also solutions that use image enhancement algorithms to make SF6 gas more obvious in the image, so that operators can find leakage points more easily. That is, the currently widely used SF6 image enhancement algorithm still requires manual analysis and judgment of infrared video images, which fails to effectively reduce human operations. In addition, infrared imaging technology can only perform qualitative analysis on SF6 gas leakage, but cannot quantitatively analyze gas leakage, resulting in a lack of accurate quantitative basis for handling equipment leakage defects. And in terms of quantitative detection of SF6 gas leakage, the currently widely used handheld leak detector can only measure the SF6 concentration at the leaking point, and cannot accurately analyze the gas leakage rate. According to industry regulations, the annual leakage rate of sulfur hexafluoride in electrical equipment shall not exceed 0.5%. Once the leakage rate exceeds the standard value, corresponding treatment shall be carried out. The traditional quantitative detection methods include the buckle cover method, the hanging bottle method, the local bandaging method, the pressure drop method, etc. These methods basically take dozens of hours, which is not only time-consuming and labor-intensive, but also requires power outages in some locations for detection. Therefore, the sulfur hexafluoride leakage rate is usually judged by the interval between two gas replenishments. Generally, if the interval between two gas replenishments is less than half a year, the equipment is rated as abnormal and needs to be repaired accordingly. The sulfur hexafluoride leaked during the interval between the two gas replenishments may cause damage to the environment and personnel. Therefore, there is an urgent need for an instant quantitative detection method to help make timely maintenance decisions. Summary of the invention
[0004] In order to solve the deficiencies in the prior art, the present invention provides a SF6 leakage quantitative detection method and system for substation status perception, which can not only automatically detect the location of the SF6 leakage point, but also combine the SF6 leakage gas cloud morphology with the gas concentration at the leakage point, quantitatively analyze the SF6 leakage rate, and provide a quantitative reference for subsequent substation status perception.
[0005] The present invention adopts the following technical solution.
[0006] A quantitative detection method for SF6 leakage for state perception of substation equipment, comprising:
[0007] Step 1, obtaining infrared video images of substation equipment and performing multi-frame synthesis preprocessing;
[0008] Step 2: SF6 leakage gas cloud detection and rectangle marking are performed on the pre-processed infrared video image;
[0009] Step 3, segmenting the rectangular marked area image to separate the SF6 leakage gas cloud image;
[0010] Step 4: determine the SF6 leakage point, the center of the gas cloud, and the edge of the cloud according to the SF6 leakage gas cloud image, and measure the SF6 concentration values of the SF6 leakage point, the center of the gas cloud, and the edge of the cloud as well as the on-site environmental data, and then calculate the SF6 leakage rate.
[0011] Preferably, in step 1, the method of performing multi-frame synthesis preprocessing is: extracting three consecutive frames of images from the infrared video of the substation equipment as the front frame, the reference frame and the back frame, and calculating the inter-frame SAD; calculating the weight of each frame of data according to the inter-frame SAD, and performing weighted fusion of multiple frames of images to generate a denoised image infrared video image, which is the preprocessed infrared video image.
[0012] Preferably, in step 2, the pre-processed infrared video image is subjected to SF6 leakage gas cloud detection, and a gas cloud rectangular mark is obtained on the infrared video image, as follows:
[0013] The Darknet-53 network with multiple stacked residual modules is used to downsample the preprocessed infrared video images multiple times;
[0014] Construct an FPN feature pyramid, perform enhanced feature extraction on the gas cloud in the image after multiple downsampling, and obtain the gas cloud bounding box;
[0015] YOLO Head is used to obtain the prediction results of the gas cloud image, and the gas cloud bounding box is used as the image segmentation boundary for gas cloud rectangle annotation, and the gas cloud rectangle is annotated on the prediction results.
[0016] Preferably, step 3 specifically includes: calculating the image pixel area and determining the segmentation conditions for the rectangular annotated area image; if the segmentation conditions are met, using the pre-trained U2-Net image segmentation model to segment the rectangular annotated area image to separate the SF6 leakage gas cloud image; otherwise, returning to step 1.
[0017] Preferably, the image pixel area calculation formula is: ;in m , n are the number of pixels in the length and width directions of the rectangular annotation area image respectively;
[0018] The split conditions are: ;in is the threshold value.
[0019] Preferably, the specific steps of using the pre-trained U2-Net image segmentation model to segment the rectangular marked area image and separate the SF6 leakage gas cloud image are as follows:
[0020] The pre-trained U2-Net image segmentation model uses an encoder to extract image features from the rectangularly annotated gas cloud region in the infrared video image;
[0021] A decoder is used to map the extracted image features back to the rectangular annotated gas cloud area;
[0022] The self-attention mechanism is used to capture the details and edge information of the original image and separate the gas clouds marked by rectangles in the infrared video image.
[0023] Preferably, in step 4, the point with the highest SF6 concentration value in the gas cloud image is taken as the SF6 leakage point;
[0024] The center of the gas cloud is determined by the following formula :
[0025] , ,
[0026] in, Indicates the horizontal and vertical coordinates of the center of the gas cloud;
[0027] n is the total number of pixels in the gas cloud;
[0028] x i , y i For the i The horizontal and vertical coordinates of the pixel points;
[0029] w i For the i The weight of each pixel.
[0030] Preferably, ,
[0031] ,
[0032] ,
[0033] in, is the balance coefficient; is the brightness weight; is the brightness value of the pixel; is the adjustment coefficient; is the spatial density weight; is the number of neighboring pixels within the set radius, is the threshold value.
[0034] Preferably, in step 4, the SF6 concentration values at the SF6 leakage point, the center of the gas cloud, and the edge of the cloud are measured by a negative corona discharge sensor, wherein the SF6 concentration value at the edge of the cloud is determined by taking the average of multiple edge point concentration values; the on-site environmental data is wind speed.
[0035] Preferably, in step 4, the calculation formula of SF6 leakage rate is:
[0036] ,
[0037] in, ( l = L、C、E ) represents the SF6 concentration value; Q is the SF6 leakage rate; s y and s z is the diffusion parameter; U is the wind speed; x , y , z It is the horizontal, vertical and vertical axis coordinates of the video image acquisition point relative to the leakage point; H is the height of the leak point;
[0038] The SF6 concentration values at the SF6 leakage point, gas cloud center, and cloud edge are calculated. C L , C C , C E Substitute them into the calculation formula to obtain the SF6 leakage rate Q , s y and s z ,in Q That is the SF6 leakage rate obtained by quantitative detection.
[0039] A SF6 leakage quantitative detection system for substation equipment status perception, comprising:
[0040] An image acquisition module is used to acquire infrared video images of substation equipment and perform multi-frame synthesis preprocessing;
[0041] The gas cloud annotation module is used to detect and annotate the SF6 leakage gas cloud in the pre-processed infrared video image;
[0042] The gas cloud separation module is used to segment the rectangular marked area image and separate the SF6 leakage gas cloud image;
[0043] The SF6 leakage rate calculation module is used to determine the SF6 leakage point, the gas cloud center, and the cloud edge according to the SF6 leakage gas cloud image, and measure the SF6 concentration value and on-site environmental data at the SF6 leakage point, the gas cloud center, and the cloud edge, and then calculate the SF6 leakage rate.
[0044] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.
[0045] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.
[0046] The beneficial effects of the present invention are as follows:
[0047] 1. In terms of quantitative analysis of SF6 leakage, the present invention proposes for the first time an accurate quantitative analysis of SF6 leakage rate, which helps to make timely maintenance decisions;
[0048] 2. The present invention realizes the key information extraction of multi-frame images based on inter-frame SAD, and automatically eliminates noise points. The final infrared video image is synthesized by using multi-frame images, which effectively improves the image quality and can effectively reduce the subsequent calculation consumption;
[0049] 3. The present invention performs real-time detection on infrared video images, automatically selects and marks the leaking gas cloud in the image, and dynamically and intuitively marks the SF6 leakage position on the image, which is convenient for operators to quickly and accurately find the SF6 leakage point, reduces the workload of operators, and improves the accuracy and efficiency of SF6 leakage point detection;
[0050] 4. The present invention realizes quantitative calculation and analysis of SF6 gas leakage rate by image segmentation of SF6 gas cloud, combining the calculation formula of gas cloud center and SF6 leakage rate, and multi-point SF6 concentration values and environmental data at the leakage point measured by handheld negative corona discharge sensor, and provides data support for subsequent maintenance. The self-attention mechanism is introduced into the segmentation model, so that the model has a higher ability to capture the details and edge information of the original image, thereby realizing the accurate segmentation of SF6 leakage gas cloud image, and calculating the SF6 leakage rate according to the SF6 leakage point, gas cloud center, SF6 concentration values at the edge of the cloud and the on-site environmental data. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 The present invention is a flow chart of a quantitative detection method for SF6 leakage for state perception of substation equipment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0053] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for quantitatively detecting SF6 leakage for state perception of substation equipment, the method comprising the following steps:
[0054] Step 1, obtaining infrared video images of substation equipment and performing multi-frame synthesis preprocessing;
[0055] Use a fixed SF6 gas detection infrared imager or a handheld SF6 gas detection infrared imager installed in the substation to shoot bolts, flanges, gas supply interfaces and other locations where SF6 leakage may exist, collect infrared video images and perform multi-frame synthesis preprocessing, and save the preprocessed infrared video images of the equipment at that location.
[0056] Considering the high frame rate of the original video, direct target detection requires large computational effort. First, the original video is processed by multi-frame synthesis to improve the image quality. Specifically, a noise reduction algorithm can be used to reduce the frame rate of the original video to 1 frame per second. The processing steps are as follows:
[0057] Step 1.1, extract three consecutive frames of images from the infrared video of the substation equipment as the front frame, the reference frame and the back frame, and calculate the inter-frame SAD;
[0058] Inter-frame SAD calculation method: By comparing the grayscale value differences of corresponding pixels between consecutive frames, the sum of their absolute values is calculated to obtain the inter-frame SAD value. The SAD value can effectively reflect the degree of change between frames and provide key data for determining subsequent frame weights;
[0059] Gradient analysis can also be performed on the reference frame, previous frame, and next frame: by calculating the horizontal and vertical gradients of the pixels in each frame and averaging them, the dynamic changes of SF6 gas leakage can be accurately identified and tracked. This process uses the gradient results to clearly highlight the movement trajectory of the gas cloud, providing a basis for quantitative detection.
[0060] Step 1.2, calculate the weight of each frame data according to the inter-frame SAD, and perform weighted fusion of multiple frames of images to generate a denoised image infrared video image, which is the preprocessed infrared video image.
[0061] Determine frame weights based on inter-frame SAD: Assign weights based on the SAD value between each frame and the reference frame. Frames with lower SAD values, i.e. frames with less image changes and more stable information, will be given higher weights.
[0062] Multi-frame image synthesis application: Use the calculated frame weights to perform weighted fusion on multiple frames to generate a de-noised infrared video image. This method improves the accuracy of leak detection and image quality by selecting frames with large information content and low noise.
[0063] Step 2: SF6 leakage gas cloud detection and rectangle marking are performed on the pre-processed infrared video image;
[0064] The Yolo v3-based target detection model is used to detect SF6 leakage gas clouds in the preprocessed infrared video images, and rectangular annotations of gas clouds are obtained on the infrared video images.
[0065] Yolo v3 is a commonly used image target detection algorithm. The target detection model based on Yolo v3 refers to the use of data containing leaking gas cloud annotations for training during the model training process, so that the model can acquire the ability to detect leaking gas clouds. Each frame of the video is input into the trained model. The target detection model based on Yolo v3 will automatically annotate the leaking gas cloud in the image (in the form of a rectangular box), and the model output is the coordinates of the four corner vertices of the annotated rectangular box.
[0066] Furthermore, the target detection model based on Yolo v3 is used to detect the SF6 leakage gas cloud on the preprocessed infrared video image, and the gas cloud rectangular annotation is obtained on the infrared video image. The specific steps are as follows:
[0067] Step 2.1, using the Darknet-53 network with multiple stacked residual modules to perform multiple downsampling on the preprocessed infrared video image;
[0068] Step 2.2, construct the FPN feature pyramid, perform enhanced feature extraction on the gas cloud in the image after multiple downsampling, and obtain the gas cloud bounding box;
[0069] Step 2.3, use YOLO Head to obtain the prediction result of the gas cloud image, use the gas cloud bounding box as the image segmentation boundary for gas cloud rectangle annotation, and perform gas cloud rectangle annotation on the prediction result.
[0070] Step 3, segmenting the rectangular marked area image to separate the SF6 leakage gas cloud image;
[0071] The rectangular area image obtained in step 2 is used as input and the U2-Net image segmentation algorithm is used to separate the leaking gas cloud from the image. The specific steps include:
[0072] Step 3.1, calculate the pixel area of the rectangular annotated area image and determine the segmentation condition. If the segmentation condition is met, proceed to step 3.2, otherwise return to step 1;
[0073] Before image segmentation, it is necessary to ensure that the pixel ratio of the target rectangle in the entire image exceeds a certain threshold. This is to ensure that the gas cloud to be segmented appears completely and occupies the main position of the image, thereby ensuring the accuracy of the image segmentation effect and subsequent calculations. Specifically:
[0074] The image pixel area calculation formula is: ;in m , n are the number of pixels in the length and width directions of the rectangular annotation area image respectively;
[0075] The split conditions are: ;in is the threshold value.
[0076] That is, let the number of pixels in the length direction of the rectangular annotation area image be m , the number of pixels in the width direction is n , the threshold is , then when When the image is correct, the segmentation calculation in step 3.2 is performed; otherwise, the user is prompted to move the near-infrared imager to take the image again.
[0077] In step 3.2, the pre-trained U2-Net image segmentation model is used to segment the rectangular labeled area image and separate the SF6 leakage gas cloud image.
[0078] The rectangular annotated area image that meets the segmentation conditions is input into the pre-trained U2-Net image segmentation model (that is, the U2-Net image segmentation model used here has been pre-trained on the gas cloud segmentation task). The output result of the U2-Net image segmentation model is a binary mask matrix with the same length and width pixels as the original image. , where the pixels corresponding to 1 in the mask matrix are the gas cloud image, and the pixels corresponding to 0 are the background image. The specific separation steps are as follows:
[0079] The pre-trained U2-Net image segmentation model uses an encoder to extract image features from the rectangularly annotated gas cloud region in the infrared video image;
[0080] A decoder is used to map the extracted image features back to the rectangular annotated gas cloud area;
[0081] The self-attention mechanism is used to capture the details and edge information of the original image and separate the gas clouds marked by rectangles in the infrared video image.
[0082] Step 4: determine the SF6 leakage point, the center of the gas cloud, and the edge of the cloud according to the SF6 leakage gas cloud image, and measure the SF6 concentration values of the SF6 leakage point, the center of the gas cloud, and the edge of the cloud as well as the on-site environmental data, and then calculate the SF6 leakage rate.
[0083] The point with the highest SF6 concentration value (i.e. the darkest color) in the gas cloud image is taken as the SF6 leakage point;
[0084] Determine the coordinates of the center of the gas cloud according to the following formula :
[0085] ,
[0086] in, Indicates the horizontal and vertical coordinates of the center of the gas cloud;
[0087] n is the total number of pixels in the gas cloud;
[0088] x i , y i For the i The horizontal and vertical coordinates of the pixel points;
[0089] w i For the i The weight of each pixel is determined by the pixel brightness and density.
[0090] Pixel weight The calculation can be performed as follows:
[0091] , in, is a coefficient used to balance the brightness weight and spatial density weight;
[0092] For brightness weight, convert the brightness value of the pixel into weight:
[0093] ,
[0094] in is the brightness value of the pixel, is an adjustment factor; is the spatial density weight, which is calculated based on the number of neighboring pixels around the pixel:
[0095] ,
[0096] in is the number of neighboring pixels within the set radius, Based on the above analysis, the calculation of SF6 gas leakage rate includes the following steps.
[0097] Step 4.1: Use a handheld negative corona discharge sensor to measure the SF6 concentration at the leak point, the center of the SF6 gas cloud, and the edge of the cloud. L ), collect SF6 concentration values ( C L ), in ppm; in the center of the gas cloud ( C ) and edge ( E ) respectively collect SF6 concentration values ( C C and C E ). The SF6 concentration value at the edge of the cloud is C E According to the actual situation, it can be determined by taking the concentration value of any edge point or the average of the concentration values of multiple edge points.
[0098] The wind speed is measured using relevant instruments in meters per second (m / s).
[0099] Step 4.2: SF6 leakage in the substation can be approximately regarded as continuous point source diffusion in an open and flat area with uniform atmospheric conditions, and the SF6 leakage rate model is performed for the gas leakage situation. The image after image segmentation is approximately regarded as an isoconcentration surface, and the gas diffusion flow velocity can be inferred from the wind speed and multi-point SF6 concentration values.
[0100] The SF6 leakage rate calculation model is:
[0101] ,
[0102] in, ( l = L、C、E ) represents the SF6 concentration value; Q is the unknown SF6 leakage rate; s y and s z is a diffusion parameter, which is related to environmental conditions; U is the wind speed; x , y , z is the coordinate of the video image acquisition point relative to the leakage point; H is the height of the leak point.
[0103] The measured SF6 concentration value C L , C C , C E Substituting them into the above model respectively, the SF6 leakage rate can be obtained by solving Q , s y and s z ,in Q That is the SF6 leakage rate obtained by quantitative detection in the present invention.
[0104] Embodiment 2 of the present invention provides a SF6 leakage quantitative detection system for substation equipment status perception, including:
[0105] An image acquisition module is used to acquire infrared video images of substation equipment and perform multi-frame synthesis preprocessing;
[0106] The gas cloud annotation module is used to detect and annotate the SF6 leakage gas cloud in the pre-processed infrared video image;
[0107] The gas cloud separation module is used to segment the rectangular marked area image and separate the SF6 leakage gas cloud image;
[0108] The SF6 leakage rate calculation module is used to determine the SF6 leakage point, the gas cloud center, and the cloud edge according to the SF6 leakage gas cloud image, and measure the SF6 concentration value and on-site environmental data at the SF6 leakage point, the gas cloud center, and the cloud edge, and then calculate the SF6 leakage rate.
[0109] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps according to the method.
[0110] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.
[0111] The beneficial effects of the present invention are as follows:
[0112] 1. In terms of quantitative analysis of SF6 leakage, the present invention proposes for the first time an accurate quantitative analysis of SF6 leakage rate, which helps to make timely maintenance decisions;
[0113] 2. The present invention realizes the key information extraction of multi-frame images based on inter-frame SAD, and automatically eliminates noise points. The final infrared video image is synthesized by using multi-frame images, which effectively improves the image quality and can effectively reduce the subsequent calculation consumption;
[0114] 3. The present invention performs real-time detection on infrared video images, automatically selects and marks the leaking gas cloud in the image, and dynamically and intuitively marks the SF6 leakage position on the image, which is convenient for operators to quickly and accurately find the SF6 leakage point, reduces the workload of operators, and improves the accuracy and efficiency of SF6 leakage point detection;
[0115] 4. The present invention realizes quantitative calculation and analysis of SF6 gas leakage rate by image segmentation of SF6 gas cloud, combining the calculation formula of gas cloud center and SF6 leakage rate, and multi-point SF6 concentration values and environmental data at the leakage point measured by handheld negative corona discharge sensor, and provides data support for subsequent maintenance. The self-attention mechanism is introduced into the segmentation model, so that the model has a higher ability to capture the details and edge information of the original image, thereby realizing the accurate segmentation of SF6 leakage gas cloud image, and calculating the SF6 leakage rate according to the SF6 leakage point, gas cloud center, SF6 concentration values at the edge of the cloud and the on-site environmental data.
[0116] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0117] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0118] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0119] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.
[0120] 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 above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A quantitative detection method for SF6 leakage for state perception of substation equipment, characterized in that: The method comprises: Step 1, obtain the infrared video image of the substation equipment, calculate the weight of each frame data according to the inter-frame SAD, and perform weighted fusion of multiple frames to achieve multi-frame synthesis preprocessing; Step 2: Comprehensively use the Darknet-53 network, FPN feature pyramid and YOLO Head to detect SF6 leakage gas clouds and mark rectangles on the pre-processed infrared video images; Step 3, calculating the pixel area of the rectangular marked area image and judging the segmentation condition. If the segmentation condition is met, the rectangular marked area image is segmented to separate the SF6 leakage gas cloud image, otherwise, return to step 1; Step 4: determine the SF6 leakage point, the center of the gas cloud, and the edge of the cloud according to the SF6 leakage gas cloud image, and measure the SF6 concentration values of the SF6 leakage point, the center of the gas cloud, and the edge of the cloud as well as the on-site environmental data, and then calculate the SF6 leakage rate; The center of the gas cloud is determined by the following formula : in, Indicates the horizontal and vertical coordinates of the center of the gas cloud; n is the total number of pixels in the gas cloud; x i , y i For the i The horizontal and vertical coordinates of the pixel points; w i For the i The weight of each pixel; in, is the balance coefficient; is the brightness weight; is the brightness value of the pixel; is the adjustment coefficient; is the spatial density weight; is the number of neighboring pixels within the set radius, is the threshold value; The calculation formula of SF6 leakage rate is: in, ( l = L, C, E ) represents the SF6 concentration value; Q is the SF6 leakage rate; and is the diffusion parameter; U is the wind speed; x , y , z It is the horizontal, vertical and vertical axis coordinates of the video image acquisition point relative to the leakage point; H is the height of the leak point; The SF6 concentration values at the SF6 leakage point, gas cloud center, and cloud edge are calculated. C L , C C , C E Substitute into the calculation formula respectively and solve to get the SF6 leakage rate Q , and ,in Q That is the SF6 leakage rate obtained by quantitative detection.
2. The SF6 leakage quantitative detection method for state perception of substation equipment according to claim 1 is characterized in that: In step 1, the method of performing multi-frame synthesis preprocessing is as follows: extract three consecutive frames of images from the infrared video of the substation equipment as the front frame, the reference frame and the back frame, and calculate the inter-frame SAD; calculate the weight of each frame of data according to the inter-frame SAD, and perform weighted fusion of multiple frames of images to generate a denoised image infrared video image, which is the preprocessed infrared video image.
3. The SF6 leakage quantitative detection method for state perception of substation equipment according to claim 1 is characterized in that: In step 2, the SF6 leakage gas cloud is detected on the pre-processed infrared video image, and a gas cloud rectangular mark is obtained on the infrared video image, as follows: The Darknet-53 network with multiple stacked residual modules is used to downsample the preprocessed infrared video images multiple times; Construct an FPN feature pyramid, perform enhanced feature extraction on the gas cloud in the image after multiple downsampling, and obtain the gas cloud bounding box; YOLO Head is used to obtain the prediction results of the gas cloud image, and the gas cloud bounding box is used as the image segmentation boundary for gas cloud rectangle annotation, and the gas cloud rectangle is annotated on the prediction results.
4. The SF6 leakage quantitative detection method for state perception of substation equipment according to claim 1 is characterized in that: Step 3 specifically includes: calculating the image pixel area and determining the segmentation conditions for the rectangular annotated area image. If the segmentation conditions are met, the pre-trained U2-Net image segmentation model is used to segment the rectangular annotated area image to separate the SF6 leakage gas cloud image. Otherwise, return to step 1.
5. The SF6 leakage quantitative detection method for state perception of substation equipment according to claim 4 is characterized in that: The image pixel area calculation formula is: ;in m , n are the number of pixels in the length and width directions of the rectangular annotation area image respectively; The split conditions are: ;in is the threshold value.
6. The SF6 leakage quantitative detection method for substation equipment status perception according to claim 1 is characterized by: The specific steps of using the pre-trained U2-Net image segmentation model to segment the rectangular labeled area image and separate the SF6 leakage gas cloud image are as follows: The pre-trained U2-Net image segmentation model uses an encoder to extract image features from the rectangularly annotated gas cloud region in the infrared video image; A decoder is used to map the extracted image features back to the rectangular annotated gas cloud area; The self-attention mechanism is used to capture the details and edge information of the original image and separate the gas clouds marked by rectangles in the infrared video image.
7. The SF6 leakage quantitative detection method for state perception of substation equipment according to claim 1 is characterized in that: In step 4, the point with the highest SF6 concentration value in the gas cloud image is taken as the SF6 leakage point.
8. The SF6 leakage quantitative detection method for state perception of substation equipment according to claim 1 is characterized in that: In step 4, the SF6 concentration values at the SF6 leakage point, the center of the gas cloud, and the edge of the cloud are measured by a negative corona discharge sensor, wherein the SF6 concentration value at the edge of the cloud is determined by taking the average of multiple edge point concentration values; the on-site environmental data is wind speed.
9. A SF6 leakage quantitative detection system for substation equipment status perception, using the method according to any one of claims 1 to 8, characterized in that: The system comprises: An image acquisition module is used to acquire infrared video images of substation equipment and perform multi-frame synthesis preprocessing; The gas cloud annotation module is used to detect and annotate the SF6 leakage gas cloud in the pre-processed infrared video image; The gas cloud separation module is used to segment the rectangular marked area image and separate the SF6 leakage gas cloud image; The SF6 leakage rate calculation module is used to determine the SF6 leakage point, the gas cloud center, and the cloud edge according to the SF6 leakage gas cloud image, and measure the SF6 concentration value and on-site environmental data at the SF6 leakage point, the gas cloud center, and the cloud edge, and then calculate the SF6 leakage rate.
10. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method according to any one of claims 1-8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Gas infrared image enhancing method based on anisotropic diffusion
CN102609906A
Method for remotely measuring leakage of VOCs of production device quantitatively based on infrared images
CN110672278A
System and method for quantifying a gas leak
CN111033231A
Method and system for visually, qualitatively, accurately and quantitatively detecting gas leakage synergistically and efficiently
CN111537157A
Infrared remote measuring device for SF6 gas leakage in closed space and imaging positioning method thereof
CN114112972A
Cited By
Infrared gas cloud segmentation method, system and device based on TDLAS physical prior and medium
CN122714420A
