Substation equipment defect detection method and system integrating infrared and visible light images

Through the dual-modal feature extraction network and deformable convolution module, combined with infrared and visible light images, the problem of low discrimination between equipment and background in substation equipment detection is solved, and the detection precision and accuracy are improved.

CN117726598BActive Publication Date: 2024-10-29STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311770145.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-10-29
Estimated Expiration
2043-12-20

Smart Images

  • Figure CN117726598B_ABST
    Figure CN117726598B_ABST
Patent Text Reader

Abstract

The present invention discloses a defect detection method and system for substation equipment by integrating infrared and visible light images, including obtaining a registered pair of infrared images and visible light images of substation equipment and forming a data set, and dividing the data set into a training set, a verification set and a test set; constructing a substation equipment target detection model based on dual-modality, including a dual-modality feature extraction network, a neck network and a detection layer; using the training set, training the substation equipment target detection model based on dual-modality to obtain a trained substation equipment target detection model based on dual-modality; based on the test set, using the trained substation equipment target detection model based on dual-modality to identify the substation equipment, and identifying the substation equipment; obtaining the temperature information of the infrared image of the substation equipment, combining the surface temperature judgment method and the relative temperature difference judgment method of the substation equipment, and performing defect detection on the identified substation equipment. The present invention improves the detection accuracy of the target equipment and the detection accuracy of the defects of the substation equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power equipment detection and identification technology, specifically to a method and system for detecting defects in power equipment by fusing infrared and visible light images. Background Technology

[0002] With the continuous expansion of the power grid and the development of intelligent trends, the safety of the power grid is facing new challenges. Inspection work at all stages of the power grid plays a crucial role in ensuring its safe and normal operation. Substations are key nodes in power transmission, and the normal operation of transformer equipment directly affects the power supply of the grid. In substations, infrared defects in transformer equipment are one of the key factors affecting normal equipment operation. To address this issue, infrared thermal imagers have been introduced into the power grid to collect infrared images and perform infrared defect inspections of transformer equipment. When diagnosing faults through infrared detection, direct contact with the equipment is unnecessary, allowing for fault diagnosis and identification of the type of fault through infrared images of transformer equipment without power interruption. However, infrared images of transformer equipment often suffer from low contrast and complex backgrounds, making direct defect detection difficult. Therefore, it is necessary to first inspect and identify the transformer equipment, removing interference from complex backgrounds, before proceeding with defect detection.

[0003] In the detection and identification of substation equipment, detection methods include those based on traditional image processing techniques and those based on deep learning. The substation equipment detection method based on traditional image processing techniques described in Scheme 1 relies on manually extracted features, which suffers from drawbacks such as difficulty in feature extraction, sensitivity to lighting and noise, inability to adapt to equipment changes, and difficulty in handling complex scenes. Scheme 2, based on deep learning algorithms, represents a significant improvement over Scheme 1; however, substation equipment requires high detection accuracy, and these methods only utilize single-modality image information, resulting in weak generalization ability and unsatisfactory detection accuracy in complex backgrounds. This addresses the problem of high foreground-background similarity in infrared images of substation equipment, which hinders effective feature extraction and leads to low detection accuracy, ultimately resulting in inaccurate equipment defect detection.

[0004] In view of the above, this application is hereby submitted. Summary of the Invention

[0005] The purpose of this invention is to provide a method and system for detecting defects in substation equipment by fusing infrared and visible light images. This effectively solves the problem of low detection accuracy caused by the low distinction between substation equipment and background in infrared images, thereby improving the accuracy of substation equipment defect detection. This invention proposes a dual-modal feature extraction network that simultaneously extracts and fuses features from both infrared and visible light images, addressing the issues of low distinction between target equipment and background and unclear extracted equipment features in infrared images. Furthermore, this invention proposes a feature extraction module that fuses deformable convolutions, enhancing the feature extraction capability for irregular equipment, improving the detection accuracy of target equipment, and thus improving the overall accuracy of substation equipment defect detection.

[0006] This invention is achieved through the following technical solution:

[0007] In a first aspect, the present invention provides a method for detecting defects in power equipment by fusing infrared and visible light images, the method comprising:

[0008] Acquire registered infrared and visible light image pairs of the substation equipment and form a dataset, then divide the dataset into a training set, a validation set, and a test set;

[0009] A dual-modal substation equipment target detection model is constructed, which includes a dual-modal feature extraction network, a neck network, and a detection layer.

[0010] Using the training set, a bimodal substation target detection model is trained to obtain a trained bimodal substation target detection model; and using the validation set, the bimodal substation target detection model is validated.

[0011] Based on the test set, a trained bimodal substation equipment target detection model is used to identify substation equipment.

[0012] By acquiring infrared image temperature information of power equipment and combining it with surface temperature judgment method and relative temperature difference judgment method, defect detection and diagnosis are performed on the identified power equipment.

[0013] Furthermore, the substation equipment in the dataset includes five categories: insulators, bushings, surge arresters, current transformers, and voltage transformers.

[0014] Furthermore, the bimodal substation equipment detection model includes a bimodal feature extraction network, a neck network, and a detection layer, comprising:

[0015] A dual-modal feature extraction network is used to extract different scale features of the target device in infrared and visible light images respectively, and to interactively fuse the features of the two modalities during the feature extraction process;

[0016] The neck network is used to fuse and enhance the extracted features at different scales, so that the features have effective information from both images and rich information at different scales; and outputs three feature maps at different scales that fuse infrared and visible light information.

[0017] The detection layer is used to detect the target device based on the feature map.

[0018] Furthermore, the dual-modal feature extraction network is a dual-modal feature extraction network composed of a single-modal infrared image feature extraction network based on improved YOLOv5 and a single-modal visible light image feature extraction network;

[0019] The single-modal infrared image feature extraction network and the single-modal visible light image feature extraction network have the same structure. They add feature maps together through a feature map addition module and fuse the features of the two modalities through a cross-modal feature fusion module.

[0020] Furthermore, the single-modal infrared image feature extraction network includes, in sequence, a first CBS module, a second CBS module, a first C3_DCN module, a third CBS module, a second C3_DCN module, a first feature map addition module, a fourth CBS module, a third C3_DCN module, a second feature map addition module, a fifth CBS module, a fourth C3_DCN module, and a third feature map addition module.

[0021] The network includes modules such as the SPPF module; similarly, the single-modal visible light image feature extraction network includes the same modules as above.

[0022] The first and second CBS modules are used to downsample the input infrared image of the substation equipment and extract the feature map of the target equipment; other CBS modules will halve the width and height of the feature map each time, downsample the feature map, and extract the target features of two modalities.

[0023] The first C3_DCN module is used to further extract geometric deformation features from the feature maps generated by the first CBS module and the second CBS module, and to extract features from the infrared image that are more consistent with the irregular shape of the substation equipment; the other C3_DCN modules have similar functions.

[0024] The SPPF module is used to implement an adaptive-sized output of the feature map;

[0025] The outputs of the second C3_DCN modules of both modalities are connected to the first cross-modal feature fusion module, and the outputs of the first cross-modal feature fusion module are connected to the first feature map addition module of the two modalities respectively; the outputs of the first feature map addition modules of the two modalities are connected to the fourth feature map addition module, and the added feature map is used as the first feature map and fed into the neck network.

[0026] The outputs of the third C3_DCN module for both modalities are connected to the second cross-modal feature fusion module, and the outputs of the second cross-modal feature fusion module are connected to the second feature map addition module for both modalities. The outputs of the second feature map addition module for both modalities are connected to the fifth feature map addition module, and the added feature map is used as the second feature map and fed into the neck network.

[0027] The outputs of the third C3_DCN module for both modalities are connected to the third cross-modal feature fusion module, and the outputs of the third cross-modal feature fusion module are connected to the third feature map addition module for both modalities. The outputs of the third feature map addition module for both modalities are connected to the sixth feature map addition module through the SPPF module, and the added feature map is used as the third feature map and fed into the neck network.

[0028] Furthermore, the first C3_DCN module, the second C3_DCN module, the third C3_DCN module, and the fourth C3_DCN module are all geometric deformation feature extraction modules built based on deformable convolution (DCNV2);

[0029] The geometric deformation feature extraction module adopts a CSP architecture. It is the main module for learning residual features. Its structure is divided into two branches: the first branch uses multiple Bottleneck stacks and 3 standard convolutional layers; the second branch only goes through a basic convolutional module; and the first and second branches are concatted. Among them, a deformable convolutional module (DBS) is introduced in the Bottleneck to enhance the ability to extract irregular features of substation equipment. Specifically, a 1×1 convolution is first performed to reduce the number of channels by half, and then the number of channels is doubled through deformable convolution to obtain the features of substation equipment. The number of input and output channels does not change.

[0030] Deformable convolution refers to learning an additional offset on each element of the convolution kernel. After learning this offset, the size and position of the deformable convolution kernel can be dynamically adjusted according to the image content that needs to be recognized.

[0031] Furthermore, the detection layer receives three feature maps of different sizes from the cross-modal feature fusion module and uses a multi-level feature fusion method to detect and locate the target device.

[0032] The multi-level feature fusion method is as follows: the feature map output by the neck network is passed through a convolutional module to reduce the number of channels and scale the feature map; then the feature maps of different levels are fused to obtain the fused feature map; the fused feature map has richer feature information, thereby improving detection performance.

[0033] Furthermore, by acquiring infrared image temperature information of the power equipment and combining it with surface temperature and relative temperature difference methods, defect detection and diagnosis are performed on the identified power equipment, including:

[0034] Acquire infrared image temperature information of power equipment, and obtain the highest surface temperature and relative temperature difference of the identified power equipment by extracting the infrared image temperature information;

[0035] The surface temperature judgment method and the relative temperature difference judgment method of the power equipment are used to compare the highest surface temperature and the relative temperature difference value of the power equipment with the corresponding temperature threshold to obtain the diagnosis results.

[0036] Secondly, the present invention provides a substation equipment defect detection system that fuses infrared and visible light images. This system uses the aforementioned substation equipment defect detection method that fuses infrared and visible light images. The system includes:

[0037] The dataset forming unit is used to acquire registered infrared and visible light image pairs of substation equipment and form a dataset, which is then divided into a training set, a validation set, and a test set.

[0038] A dual-modal target detection model construction unit is used to construct a dual-modal substation target detection model. The dual-modal substation detection model includes a dual-modal feature extraction network, a neck network, and a detection layer.

[0039] The model training and validation unit is used to train the bimodal substation target detection model using the training set to obtain the trained bimodal substation target detection model; and to validate the bimodal substation target detection model using the validation set.

[0040] The power equipment detection unit is used to identify power equipment based on a test set and a trained bimodal power equipment target detection model.

[0041] The defect diagnosis unit is used to acquire infrared image temperature information of the substation equipment, and combine the surface temperature judgment method and the relative temperature difference judgment method of the substation equipment to perform defect detection and diagnosis on the identified substation equipment.

[0042] Furthermore, the bimodal substation equipment detection model includes a bimodal feature extraction network, a neck network, and a detection layer, comprising:

[0043] A dual-modal feature extraction network is used to extract different scale features of the target device in infrared and visible light images respectively, and to interactively fuse the features of the two modalities during the feature extraction process;

[0044] The neck network is used to fuse and enhance the extracted features at different scales, so that the features have effective information from both images and rich information at different scales; and outputs three feature maps at different scales that fuse infrared and visible light information.

[0045] The detection layer is used to detect the target device based on the feature map;

[0046] The dual-modal feature extraction network is composed of a single-modal infrared image feature extraction network based on improved YOLOv5 and a single-modal visible light image feature extraction network. The single-modal infrared image feature extraction network and the single-modal visible light image feature extraction network have the same structure, and the two feature maps are added together through a feature map addition module, and the two modal features are fused and interacted through a cross-modal feature fusion module.

[0047] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0048] This invention provides a method and system for detecting defects in substation equipment by integrating infrared and visible light images. This effectively solves the problem of low equipment detection accuracy caused by the low distinction between substation equipment and background in infrared images, thereby improving the accuracy of substation equipment defect detection. (1) This invention proposes a dual-modal feature extraction network that simultaneously extracts and fuses features from infrared and visible light images, solving the problem of low distinction between target equipment and background and unclear extracted equipment features in infrared images. (2) This invention proposes a feature extraction module that integrates deformable convolution, which improves the feature extraction capability for irregular equipment, improves the detection accuracy of target equipment, and thus improves the detection accuracy of substation equipment defects. Attached Figure Description

[0049] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:

[0050] Figure 1 This is a flowchart of the defect detection method for power equipment that integrates infrared and visible light images according to the present invention;

[0051] Figure 2 This is a network architecture diagram of the dual-modal target detection model for substation equipment according to the present invention;

[0052] Figure 3 This is a structural diagram of the C3_DCN module of the present invention;

[0053] Figure 4 This is a structural diagram of the CFT module of the present invention;

[0054] Figure 5 This is a diagram showing the detection effect of the model of the present invention;

[0055] Figure 6 This is a block diagram of the power equipment defect detection system that integrates infrared and visible light images according to the present invention. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0057] In the detection and identification of substation equipment, detection methods include those based on traditional image processing techniques and those based on deep learning. The substation equipment detection method based on traditional image processing techniques described in Scheme 1 relies on manually extracted features, which suffers from drawbacks such as difficulty in feature extraction, sensitivity to lighting and noise, inability to adapt to equipment changes, and difficulty in handling complex scenes. Scheme 2, based on deep learning algorithms, represents a significant improvement over Scheme 1; however, substation equipment requires high detection accuracy, and these methods only utilize single-modality image information, resulting in weak generalization ability and unsatisfactory detection accuracy in complex backgrounds. This addresses the problem of high foreground-background similarity in infrared images of substation equipment, which hinders effective feature extraction and leads to low detection accuracy, ultimately resulting in inaccurate equipment defect detection.

[0058] Therefore, to address the above problems, this invention designs a method and system for detecting defects in substation equipment by fusing infrared and visible light images. This effectively solves the problem of low detection accuracy caused by low distinction between substation equipment and background in infrared images, thereby improving the accuracy of substation equipment defect detection. This invention proposes a dual-modal feature extraction network that simultaneously extracts and fuses features from infrared and visible light images, solving the problems of low distinction between target equipment and background and unclear extracted equipment features in infrared images. This invention also proposes a feature extraction module that fuses deformable convolutions, improving the feature extraction capability for irregular equipment, enhancing the detection accuracy of target equipment, and thus improving the accuracy of substation equipment defect detection.

[0059] Example 1

[0060] like Figure 1 As shown, the present invention provides a defect detection method for power equipment that integrates infrared and visible light images. The method includes:

[0061] Step 1: Obtain the registered infrared and visible light image pairs of the substation equipment and form a dataset. Divide the dataset into a training set, a validation set, and a test set.

[0062] Step 2: Construct a dual-modal substation equipment target detection model. The dual-modal substation equipment detection model includes a dual-modal feature extraction network, a neck network, and a detection layer.

[0063] Step 3: Use the training set to train the bimodal substation target detection model to obtain the trained bimodal substation target detection model; and use the validation set to validate the bimodal substation target detection model.

[0064] Step 4: Based on the test set, use the trained bimodal substation equipment target detection model to identify the substation equipment.

[0065] Step 5: Obtain infrared image temperature information of the power equipment, and combine the surface temperature judgment method and relative temperature difference judgment method of the power equipment to perform defect detection and diagnosis on the identified power equipment.

[0066] In specific implementation, this invention uses registered infrared and visible light images of substation equipment acquired by a FLIR T600 camera to construct a dataset. This dataset includes five types of substation equipment: insulators, bushings, surge arresters, current transformers, and voltage transformers, totaling 1925 pairs of infrared and visible light images. The dataset is randomly divided according to a 70% training set, 20% validation set, and 10% test set split. The proposed dual-modal substation equipment target detection model is trained and tested using an NVIDIA RTX 3090 platform with Ubuntu 18.04.1LTS as the operating system. Training is accelerated using CUDA 11.3, with Python 3.8 as the programming language and PyTorch as the network development framework. During the training phase, the batch size is set to 4, and the stochastic gradient descent (SGD) algorithm is used. The initial learning rate is set to 0.01 and gradually reduced using an exponential decay scheme, employing a momentum of 0.937 and a weight decay of 0.0005 for training.

[0067] This invention establishes a dual-modal substation equipment detection model, the network framework of which is as follows: Figure 2 As shown, the network of this model includes a bimodal feature extraction network, a neck network, and a detection layer, including:

[0068] A dual-modal feature extraction network is used to extract different scale features of the target device in infrared and visible light images respectively, and to interactively fuse the features of the two modalities during the feature extraction process;

[0069] The neck network is used to fuse and enhance the extracted features at different scales, so that the features have effective information from both images and rich information at different scales; and outputs three feature maps at different scales that fuse infrared and visible light information.

[0070] The detection layer is used to detect the target device based on feature maps at three different scales.

[0071] First, the purpose of the bimodal feature extraction network is to extract and fuse features from infrared and visible light images of substation equipment, enabling the model to better learn the features of the substation equipment in both types of images. The bimodal feature extraction network constructed in this invention consists of a single-modal infrared image feature extraction network based on an improved YOLOv5 and a single-modal visible light image feature extraction network. The single-modal infrared and visible light image feature extraction networks have the same structure, and their feature maps are added together through a feature map addition module, and the two modalities are fused and interacted through a cross-modal feature fusion module. Each single-modal feature extraction network includes a CBS module, a C3_DCN module, a CFT module, and an SPPF module.

[0072] The following explanation uses a single-modal infrared image feature extraction network as an example:

[0073] like Figure 2 As shown, the single-modal infrared image feature extraction network includes, from top to bottom, a first CBS module, a second CBS module, a first C3_DCN module, a third CBS module, a second C3_DCN module, a first feature map addition module, a fourth CBS module, a third C3_DCN module, a second feature map addition module, a fifth CBS module, a fourth C3_DCN module, a third feature map addition module, and an SPPF module; similarly, the single-modal visible light image feature extraction network includes the same modules as above.

[0074] The outputs of the second C3_DCN modules of both modalities are connected to the first cross-modal feature fusion module, and the outputs of the first cross-modal feature fusion module are connected to the first feature map addition module of the two modalities respectively; the outputs of the first feature map addition modules of the two modalities are connected to the fourth feature map addition module, and the added feature map is used as the first feature map and fed into the neck network.

[0075] The outputs of the third C3_DCN module for both modalities are connected to the second cross-modal feature fusion module, and the outputs of the second cross-modal feature fusion module are connected to the second feature map addition module for both modalities. The outputs of the second feature map addition module for both modalities are connected to the fifth feature map addition module, and the added feature map is used as the second feature map and fed into the neck network.

[0076] The outputs of the third C3_DCN module for both modalities are connected to the third cross-modal feature fusion module, and the outputs of the third cross-modal feature fusion module are connected to the third feature map addition module for both modalities. The outputs of the third feature map addition module for both modalities are connected to the sixth feature map addition module through the SPPF module, and the added feature map is used as the third feature map and fed into the neck network.

[0077] Specifically, the first CBS module and the second CBS module are used to downsample the input infrared image of the substation equipment, extract the feature map of the target equipment, and obtain two original images. The feature map is of various sizes. Each CBS module consists of a 2D convolution, a normalization layer (BatchNorm2d), and a SiLU activation function. In the single-modality infrared image feature extraction network, the stride of all CBS modules is 2, and the kernel size is 3. Other CBS modules halve the width and height of the feature map each time, downsampling the feature map to extract target features from both modalities.

[0078] The first C3_DCN module is used to further extract geometric deformation features from the feature maps generated by the first and second CBS modules, extracting features from the infrared image that better match the irregular shape of the substation equipment; the other C3_DCN modules have similar functions. Specifically, the first C3_DCN module is a geometric deformation feature extraction module built based on deformable convolution (DCNV2); its main purpose is to solve the problem of insufficient feature extraction caused by the irregular shape of the substation equipment. The geometric deformation feature extraction module adopts a CSP architecture. This module is the main module for learning residual features and its structure consists of two branches: the first branch uses multiple stacked Bottleneck layers and three standard convolutional layers; the second branch uses only one basic convolutional module. The first and second branches are then concatenated. A deformable convolutional module (DBS) is introduced into the Bottleneck to enhance the extraction of irregular features from substation equipment. Specifically, a 1×1 convolution is first performed to halve the number of channels, and then deformable convolution is used to double the number of channels, thereby obtaining the features of the substation equipment. The number of input and output channels remains unchanged. Deformable convolution refers to learning an additional offset for each element of the convolution kernel. After adding this offset, the size and position of the deformable convolution kernel can be dynamically adjusted according to the image content to be recognized. The intuitive effect is that the sampling point positions of the convolution kernel at different locations will adaptively change according to the image content, thus adapting to the geometric deformations of different substation equipment shapes and sizes. By combining the above feature extraction methods with deformable convolution, the focus on effective target features is increased, thereby enabling the extraction of target features from irregularly shaped power equipment. The first C3_DCN module structure diagram is shown below. Figure 3 As shown, Figure 3 In this context, S represents the stride and K represents the convolution kernel.

[0079] For other C3_DCN modules such as the second, third, and fourth modules, please refer to [link / reference needed]. Figure 3 The structure will not be elaborated here.

[0080] After the images of the two modalities are extracted by the first two CBS modules (first CBS module, second CBS module) and the first C3_DCN module, infrared feature maps and visible light feature maps are obtained. The two feature maps are sent to the first cross-modality feature fusion module CFT (Cross-Modality Fusion Transformer) for fusion interaction of the two modal features. First, each feature map is flattened. Then, the flattened features of the two modalities are concatenated and a learnable positional code is added. This positional code is a trainable parameter to obtain the input sequence of the Transformer. The input sequence enters the Encoder structure of the Transformer and uses a multi-head self-attention mechanism to learn the binary relationship between the two modalities of visible light image and infrared image. It can be expressed as formula (1), in formula (1), where H and W are the height and width of the feature map, respectively, and α i,j This represents the correlation between the i-th and j-th positions on the feature map. Based on formula (1), four matrix blocks can be naturally derived when calculating the correlation matrix α. Two of these are intramodal correlation matrix blocks, and the other two are intermodal correlation matrix blocks. The final output sequence is then split in two and added back to their respective original feature maps, serving as supplementary information to the original modal branches. The structure diagram of the first cross-modal feature fusion module CFT is shown below. Figure 4 As shown, the structures of other cross-modal feature fusion modules (CFT) are the same as those of the first cross-modal feature fusion module (CFT).

[0081]

[0082] After feature extraction and fusion of the input infrared and visible light images of the power equipment through two modalities—the first CBS module, the first C3_DCN module, ..., the CFT module—the resulting feature maps are fed into the SPPF module to achieve an adaptive-sized output. SPPF is an improvement on SPP. The SPP module is implemented using convolutional kernels with a uniform stride but different sizes. The uniform stride means that the output feature maps have consistent sizes, only differing in their sensitivity to regions. They are then concatenated by channel and convolved with 1×1 to achieve feature fusion. The SPP module computes three max-pooling layers in parallel and then connects them, while the SPPF module computes them sequentially and connects the results of each layer. The activation function has also been improved, resulting in a significantly faster speed.

[0083] Second, the neck network fuses feature maps of different sizes extracted from the bimodal feature extraction network, combining shallow graphical features with deep semantic features to obtain more complete target device features. The feature fusion module is structured as a feature pyramid, extracting relatively shallow features from the backbone (i.e., the bimodal feature extraction network) and then concatenating them with deep semantic features. Figure 2 As can be seen, the neck network uses upsampling on the left side to interpolate into the feature map, increasing its scale to facilitate the fusion of feature maps from the backbone. This upward fusion of features continuously enlarges the feature map. The right side of the neck network continues downsampling, firstly to obtain feature maps of different scales, and secondly to better fuse shallow graphic features with deep semantic features. Finally, it outputs three feature maps with sizes of 80*80*256, 40*40*512, and 20*20*1024, respectively.

[0084] Third, the detection layer is used to receive three feature maps of different sizes from the cross-modal feature fusion module and use a multi-level feature fusion method to detect and locate the target device.

[0085] The multi-level feature fusion method is as follows: the feature map output by the neck network is passed through a convolutional module to reduce the number of channels and scale the feature map; then the feature maps of different levels are fused to obtain the fused feature map; the fused feature map has richer feature information, thereby improving detection performance.

[0086] In step 5, after the substation equipment is detected and identified using the dual-modal substation equipment detection model constructed according to this invention, the temperature information in the infrared image is acquired. Based on the thermal defect diagnosis criteria for substation equipment in the "Application Guidelines for Infrared Diagnostic Technology of Live Equipment" and the established temperature threshold, it is determined whether the equipment has defects, thereby achieving defect detection and diagnosis of substation equipment. When the infrared imager captures an image, the equipment's temperature information is also read and recorded. The steps for infrared image thermal defect diagnosis of substation equipment are as follows:

[0087] Acquire infrared image temperature information of power equipment, and obtain the highest surface temperature and relative temperature difference of the identified power equipment by extracting the infrared image temperature information;

[0088] The surface temperature judgment method and the relative temperature difference judgment method of the power equipment are used to compare the highest surface temperature and the relative temperature difference value of the power equipment with the corresponding temperature threshold to obtain the diagnosis results.

[0089] The specific criteria are shown in Tables 1, 2, and 3 below:

[0090] Table 1. Criteria for Judging the Surface Temperature of Power Equipment

[0091] Equipment type General defects Major defects Emergency Defect Current transformer <![CDATA[T max <55℃]]> <![CDATA[55℃≤T max ≤80℃]]> <![CDATA[T max >80℃]]> High-pressure bushing <![CDATA[T max <55℃]]> <![CDATA[55℃≤T max ≤80℃]]> <![CDATA[T max >80℃]]>

[0092] Table 2. Criteria for Judging Relative Temperature Difference of Power Equipment

[0093] Equipment type General defects Major defects Emergency Defect lightning arrester ≥20% ≥80% ≥95% insulator ≥20% ≥80% ≥95%

[0094] Table 3. Criteria for Judging Voltage-Heated Equipment

[0095] Equipment type Thermal imaging features Temperature difference / K Oil-immersed voltage transformer Overall temperature rise is higher than average, with higher temperatures in the middle and upper parts. 2-3

[0096] The main metrics for evaluating network performance include precision (P), recall (R), average precision (AP), and mean average precision (mAP). The calculation formulas are as follows:

[0097]

[0098]

[0099]

[0100]

[0101] Where n is the number of categories of substation equipment, TP (True Positive) represents a positive example with a correct prediction, FP (False Positive) represents a positive example with a wrong prediction, and FN (False Negative) represents a negative example with a wrong prediction. These metrics are used to quantitatively evaluate the training effect of the model and reflect its performance. This invention uses mAP@0.5 and mAP@0.5:0.95 as metrics to evaluate model accuracy. mAP@0.5 represents setting the intersection-union ratio (IU) threshold between the predicted and labeled bounding boxes to 0.5; a IU above this threshold is considered a correct prediction, and the corresponding mAP value is calculated. mAP@0.5:0.95 represents calculating the mAP from IU thresholds of 0.5 to 0.95 with a step size of 0.05, and then taking the average. As shown in Table 4, the YOLOv5 model is compared with the model of this invention. The experimental results are shown in Table 4. mAP@0.5 and mAP@0.5:0.95 are improved by 1.9% and 2% respectively, indicating that the model of this invention has a better detection effect on power equipment.

[0102] Table 4 Comparison of experimental results

[0103] Model P / % R / % mAP@0.5 / % mAP@0.5:0.95 / % yolov5 90.2 91.1 93.1 65.7 This invention 93.5 91.9 95 67.7

[0104] The detection results on the test set are as follows: Figure 5 As shown, Figure (a) shows the detection results of YOLOv5, and Figure (b) shows the detection results of the model of this invention.

[0105] This invention introduces deformable convolution and designs a dual-modal target detection model for power equipment that fuses infrared and visible light images. This model increases the focus on target features, enabling the extraction and enhancement of target features, improving the distinction between foreground and background, and thus improving detection accuracy.

[0106] Example 2

[0107] like Figure 6 As shown, the difference between this embodiment and Embodiment 1 is that this embodiment provides a substation equipment defect detection system that fuses infrared and visible light images. This system uses the substation equipment defect detection method that fuses infrared and visible light images from Embodiment 1; this system corresponds one-to-one with the substation equipment defect detection method that fuses infrared and visible light images from Embodiment 1. The system includes:

[0108] The dataset forming unit is used to acquire registered infrared and visible light image pairs of substation equipment and form a dataset, which is then divided into a training set, a validation set, and a test set.

[0109] A dual-modal target detection model construction unit is used to construct a dual-modal substation target detection model. The dual-modal substation detection model includes a dual-modal feature extraction network, a neck network, and a detection layer.

[0110] The model training and validation unit is used to train the bimodal substation target detection model using the training set to obtain the trained bimodal substation target detection model; and to validate the bimodal substation target detection model using the validation set.

[0111] The power equipment detection unit is used to identify power equipment based on a test set and a trained bimodal power equipment target detection model.

[0112] The defect diagnosis unit is used to acquire infrared image temperature information of the substation equipment, and combine the surface temperature judgment method and the relative temperature difference judgment method of the substation equipment to perform defect detection and diagnosis on the identified substation equipment.

[0113] As a further implementation, the bimodal substation equipment detection model includes a bimodal feature extraction network, a neck network, and a detection layer, including:

[0114] A dual-modal feature extraction network is used to extract different scale features of the target device in infrared and visible light images respectively, and to interactively fuse the features of the two modalities during the feature extraction process;

[0115] The neck network is used to fuse and enhance the extracted features at different scales, so that the features have effective information from both images and rich information at different scales; and outputs three feature maps at different scales that fuse infrared and visible light information.

[0116] The detection layer is used to detect the target device based on the feature map;

[0117] Specifically, the dual-modal feature extraction network is composed of a single-modal infrared image feature extraction network based on improved YOLOv5 and a single-modal visible light image feature extraction network. The single-modal infrared image feature extraction network and the single-modal visible light image feature extraction network have the same structure, and the two feature maps are added together through a feature map addition module, and the two modal features are fused and interacted through a cross-modal feature fusion module.

[0118] The execution process of each unit can be carried out according to the steps of the substation defect detection method based on the fusion of infrared and visible light images in Example 1, and will not be described in detail in this example.

[0119] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0121] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0122] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0123] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A defect detection method for substation equipment by integrating infrared and visible light images, characterized in that: The method includes: Acquire a pair of registered infrared images and visible light images of a substation and form a data set, and divide the data set into a training set, a validation set, and a test set; Constructing a dual-modal substation target detection model, wherein the dual-modal substation detection model includes a dual-modal feature extraction network, a neck network and a detection layer; Using the training set, the substation target detection model based on dual-modality is trained to obtain a trained substation target detection model based on dual-modality; Based on the test set, the trained dual-modal substation equipment target detection model is used to identify the substation equipment and identify the substation equipment; Obtain the temperature information of the infrared image of the substation equipment, and perform defect detection and diagnosis on the identified substation equipment by combining the surface temperature judgment method and relative temperature difference judgment method of the substation equipment; The dual-modality-based substation detection model includes a dual-modality feature extraction network, a neck network and a detection layer, including: The dual-modal feature extraction network is used to extract different scale features of the target device in the infrared image and the visible light image respectively, and interactively fuse the features of the two modalities during the feature extraction process; The neck network is used to perform fusion enhancement of the extracted fusion features of different scales, so that the features have effective information of two images and rich information of different scales; and output feature maps of three different scales that fuse infrared information and visible light information; The detection layer is used to detect the target device according to the feature map; The dual-modal feature extraction network is a dual-modal feature extraction network composed of a single-modal infrared image feature extraction network based on improved yolov5 and a single-modal visible light image feature extraction network; The single-modal infrared image feature extraction network and the single-modal visible light image feature extraction network have the same structure, and feature maps are added between the two through a feature map addition module, and the fusion interaction of the two modal features is performed through a cross-modal feature fusion module; The single-mode infrared image feature extraction network includes a first CBS module, a second CBS module, a first C3_DCN module, a third CBS module, a second C3_DCN module, a first feature map addition module, a fourth CBS module, a third C3_DCN module, a second feature map addition module, a fifth CBS module, a fourth C3_DCN module, a third feature map addition module and an SPPF module, which are arranged in sequence; The first CBS module and the second CBS module are used to downsample the input infrared image of the substation equipment and extract the feature map of the target equipment; The first C3_DCN module is used to continue to perform geometric deformation feature extraction on the feature graphs generated by the first CBS module and the second CBS module, and extract features that are more consistent with the irregular shape of the substation equipment from the infrared image; The SPPF module is used to output a feature map in an adaptive size; The output ends of the second C3_DCN modules of the two modalities are connected to the first cross-modal feature fusion module, and the output ends of the first cross-modal feature fusion module are correspondingly connected to the first feature map addition modules of the two modalities; the output ends of the first feature map addition modules of the two modalities are connected to the fourth feature map addition module, and the added feature map is passed into the neck network as the first feature map; The output ends of the third C3_DCN modules of the two modalities are connected to the second cross-modal feature fusion module, and the output ends of the second cross-modal feature fusion module are correspondingly connected to the second feature map addition modules of the two modalities; the output ends of the second feature map addition modules of the two modalities are connected to the fifth feature map addition module, and the added feature map is passed into the neck network as the second feature map; The output ends of the third C3_DCN modules of the two modalities are connected to the third cross-modal feature fusion module, and the output ends of the third cross-modal feature fusion module are correspondingly connected to the third feature map addition modules of the two modalities; the output ends of the third feature map addition modules of the two modalities are connected to the sixth feature map addition module through the SPPF module, and the added feature map is passed into the neck network as the third feature map; Obtain the temperature information of the infrared image of the substation equipment, and combine the surface temperature judgment method and relative temperature difference judgment method of the substation equipment to perform defect detection and diagnosis on the identified substation equipment, including: Obtaining infrared image temperature information of substation equipment, and obtaining the maximum surface temperature and relative temperature difference of the identified substation equipment by extracting the infrared image temperature information; The surface temperature judgment method and relative temperature difference judgment method of the substation equipment are used to compare the maximum surface temperature and relative temperature difference value of the substation equipment with the corresponding temperature threshold values ​​to obtain the diagnosis result.

2. The defect detection method for substation equipment by integrating infrared and visible light images according to claim 1 is characterized in that: The substation equipment in the data set includes insulators, bushings, lightning arresters, current transformers, and voltage transformers.

3. The defect detection method for substation equipment by integrating infrared and visible light images according to claim 1 is characterized in that: The first C3_DCN module, the second C3_DCN module, the third C3_DCN module and the fourth C3_DCN module are all geometric deformation feature extraction modules constructed based on deformable convolution; The geometric deformation feature extraction module is a CSP architecture, and the structure of the geometric deformation feature extraction module is divided into two branches: the first branch uses multiple Bottleneck stacks and 3 standard convolution layers; the second branch only passes through a basic convolution module; and the first branch and the second branch are concat operated; wherein, the deformable convolution module is introduced into Bottleneck to enhance the ability to extract irregular features of substation equipment, specifically: first perform 1×1 convolution to reduce the number of channels by half, and then double the number of channels through deformable convolution, thereby obtaining the characteristics of the substation equipment, and the number of input and output channels does not change; Among them, the deformable convolution refers to the learning of adding an additional offset to each element of the convolution kernel. After learning the offset, the size and position of the deformable convolution kernel can be dynamically adjusted according to the image content that needs to be recognized at present.

4. The defect detection method for substation equipment by integrating infrared and visible light images according to claim 1 is characterized in that: The detection layer is used to receive three feature maps of different sizes from the cross-modal feature fusion module and use a multi-level feature fusion method to detect and locate the target device; The multi-level feature fusion method is specifically as follows: the feature map output by the neck network is subjected to a convolution module to reduce the dimension of the number of channels and scale the feature map; and then the feature maps of different levels are fused to obtain a fused feature map.

5. The defect detection system for substation equipment integrating infrared and visible light images is characterized by: The system uses the defect detection method for substation equipment by fusing infrared and visible light images as described in any one of claims 1 to 4; the system comprises: A data set forming unit, used for acquiring the registered infrared image and visible light image pair of the substation equipment and forming a data set, and dividing the data set into a training set, a validation set and a test set; A dual-modal target detection model construction unit, used to construct a dual-modal-based substation target detection model, wherein the dual-modal-based substation detection model includes a dual-modal feature extraction network, a neck network, and a detection layer; A model training unit, used to train the dual-modality-based substation target detection model using a training set to obtain a trained dual-modality-based substation target detection model; The power equipment detection unit is used to identify the substation equipment based on the test set by using the trained dual-modal substation equipment target detection model to identify the substation equipment; The defect diagnosis unit is used to obtain the temperature information of the infrared image of the substation equipment, and combines the surface temperature judgment method and relative temperature difference judgment method of the substation equipment to perform defect detection and diagnosis on the identified substation equipment.

6. The defect detection system for substation equipment integrating infrared and visible light images according to claim 5 is characterized in that: The dual-modality-based substation detection model includes a dual-modality feature extraction network, a neck network and a detection layer, including: The dual-modal feature extraction network is used to extract different scale features of the target device in the infrared image and the visible light image respectively, and interactively fuse the features of the two modalities during the feature extraction process; The neck network is used to perform fusion enhancement of the extracted fusion features of different scales, so that the features have effective information of two images and rich information of different scales; and output feature maps of three different scales that fuse infrared information and visible light information; The detection layer is used to detect the target device according to the feature map; Among them, the dual-modal feature extraction network is a dual-modal feature extraction network composed of a single-modal infrared image feature extraction network based on improved yolov5 and a single-modal visible light image feature extraction network; the single-modal infrared image feature extraction network and the single-modal visible light image feature extraction network have the same structure, and feature maps are added between the two through a feature map addition module, and the fusion interaction of the two modal features is performed through a cross-modal feature fusion module.

Citation Information

Patent Citations

  • Transformer substation power equipment fault detection method based on multi-source fusion

    CN115661044A

  • Photovoltaic fault automatic detection method based on multispectral fusion

    CN115937517A

  • Power equipment infrared image defect detection method based on improved YOLOv5 algorithm

    CN116091424A

  • Dual-mode target detection model and method based on residual contraction attention network

    CN116342953A

  • Target detection method of multispectral double-flow network

    CN116486233A