A multi-scale re-decision fault detection method for UHV substations based on air-ground-ground

Through the multi-scale re-decision fault detection method, two-dimensional images and three-dimensional point cloud data are combined to perform cross-modal fusion and feature fusion, which solves the problem of insufficient accuracy of single-scale and multi-modal fusion methods in two-dimensional images of UHV substations, and improves Improve the accuracy and efficiency of fault detection.

CN118314487BActive Publication Date: 2024-09-17STATE GRID ANHUI ULTRA HIGH VOLTAGE CO +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410743396.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-17
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

The single scale of the two-dimensional images of UHV substations may lead to misjudgments in fault identification. Existing multi-modal fusion methods are difficult to extract the effective areas of interest of objects at certain angles or under occlusion, which reduces the accuracy of model detection.

Method used

Using a multi-scale re-decision fault detection method, by acquiring two-dimensional images and three-dimensional point cloud data, image target positioning and cross-modal fusion target positioning are performed, and images of different spatial scales are generated. Combined with the two-dimensional fault identification network and three-dimensional target detection, Use a 2D-3D proposal converter and a multi-modal cross-target fusion module for feature fusion to achieve three-dimensional target detection and positioning.

Benefits of technology

It improves the accuracy and processing efficiency of fault diagnosis, enhances the detection capability of UHV substation faults, reduces misjudgments, saves time and human resources, and improves the accuracy of stereoscopic positioning detection of substation defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314487B
    Figure CN118314487B
Patent Text Reader

Abstract

The present invention discloses a method for detecting faults of a UHV substation in space, ground and space by multi-scale re-decision making, comprising the following steps: acquiring two-dimensional images and three-dimensional point cloud data; determining target positioning; wherein the method for determining target positioning comprises: applying two-dimensional images to image target positioning and applying two-dimensional images and three-dimensional point cloud data to cross-modal fusion target positioning; judging possible fault locations according to target positioning; and applying a stereoscopic multi-modal data sensing device to re-photograph images to obtain images of different spatial scales; when applying image target positioning, a two-dimensional fault recognition network performs fault analysis on images of different spatial scales obtained by re-photographing; when applying cross-modal fusion target positioning, images of different spatial scales, original two-dimensional images and three-dimensional point cloud data are cross-modally fused again to perform three-dimensional target detection and positioning; completing multi-scale re-decision making on faults of UHV substations; the present invention can improve the accuracy of fault detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of substation maintenance, and in particular to an air-ground-space multi-scale re-decision fault detection method for an ultra-high voltage substation. Background Art

[0002] The voltage level of UHV substations is generally 1000 kV, and sometimes even up to ultra-high voltage levels of more than 1000 kV. They are used for long-distance and large-capacity power transmission, and require large tracts of land for the construction of various equipment, including transformers, switchgear, cables, etc. Therefore, these sites often require sufficient land area.

[0003] As an important part of the power system, it may face various electrical faults. Therefore, the core equipment of air-space-ground stereoscopic multimodal data perception has been established, including ground robot inspection, fixed-position camera shooting, drone aerial inspection and radar system, etc., so as to collect air-space-ground stereoscopic multimodal data of UHV substations, and use neural network to judge faults based on the collected information, so as to reduce the loss of manpower and material resources for power supply guarantee of UHV substations. Due to the large area of ​​the site, the inspection equipment can only collect image data of a single spatial scale during inspection, and cannot collect clearer data of all electrical equipment at a close distance. The collected single-scale image data may cause image distortion due to weather, light, camera angle, especially distance limitation, so that when identifying equipment faults, misjudgment warnings may occur, resulting in waste of manpower and material resources.

[0004] Most of the prior art methods preprocess images by enhancing features of single-scale images or fusing multi-scale features to increase the clarity of images, and then combine the target algorithm to identify faults, but the recognition accuracy depends on the resolution of the original image of the fault. For example, the invention patent with the patent publication number CN114240878A discloses a neural network construction and optimization method for insulator defect detection for inspection scenes, which uses cropping, deformation, color gamut conversion and rotation for insulation sample images to increase samples. The preprocessing method is simple, but the accuracy is not enough. Another example is the invention patent with the patent publication number CN116452431A, which discloses a low-light image enhancement method based on a multi-branch progressive deep network. By enhancing the original low-light image, the enhancement process from low-light image to normal brightness image is divided into multiple stages, and the fusion output result of each multi-branch network is obtained. However, the original images are all images at a single scale, and the resolution of the original images is low. The resolution of the preprocessed images based on this is also low.

[0005] The above-mentioned fault locations are all based on two-dimensional images. However, due to the non-fixed distance and angle of drone shooting, it is often difficult to determine the exact location of the fault through only a single picture, which brings great inconvenience to subsequent maintenance. Therefore, a three-dimensional defect positioning detection method for transformer faults is urgently needed.

[0006] Computer vision technology has made great progress in the field of two-dimensional image processing, and is increasingly used in the inspection and online monitoring of power equipment. However, a single two-dimensional image can only depict the three-dimensional world from one perspective, and its expression of position and feature information in the three-dimensional world has great limitations. Therefore, three-dimensional detection and positioning technology is very necessary. Three-dimensional detection and positioning methods usually require three-dimensional point cloud data and two-dimensional image data, so multimodal fusion technology is indispensable. Multimodal fusion methods combine the advantages of point clouds and RGB images, improve the performance of three-dimensional object detection, and use multi-modal complementary information to avoid the limitations of a single modality.

[0007] Most multimodal fusion methods utilize 3D query-based fusion mechanisms to perform feature aggregation within corresponding instances. Although significant progress has been made, existing multimodal fusion methods still have difficulty in extracting valid ROIs for objects due to the fact that when the object is at certain angles or under occlusion, the detector finds it difficult to extract the valid ROI of the object. For example, incomplete objects or objects that are far away and have fewer reflection points, as well as smaller objects, are easily overlooked in the ROI generation process.

[0008] These missing targets directly reduce the accuracy of model detection and limit the performance of the detector. In addition, local feature fusion can only fuse image features within the same instance, ignoring the complementary features between multiple homogeneous targets, which will also lead to the problem of missing three-dimensional regions of interest and inaccurate projection feature fusion. Therefore, a more robust and accurate stereo target detection and positioning algorithm is urgently needed to overcome the challenges caused by object occlusion, long distance and fewer reflection points, while maintaining the effectiveness and accuracy of feature fusion. Summary of the invention

[0009] The technical problem to be solved by the present invention is to solve the problem that the scale of two-dimensional images is single, false positives may occur during fault identification, and the existing multimodal fusion method has difficulty in extracting the effective region of interest of the object due to the object being at certain angles or occlusion, thereby reducing the accuracy of model detection.

[0010] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0011] A method for detecting air-ground-ground multi-scale re-decision faults in a UHV substation comprises the following steps:

[0012] S10, acquiring two-dimensional image and three-dimensional point cloud data;

[0013] S20, determining the target location; wherein the method of determining the target location includes: using a two-dimensional image to perform image target location and using a two-dimensional image and three-dimensional point cloud data to perform cross-modal fusion target location;

[0014] S30, based on the target positioning, determine the possible fault location; and use the stereo multimodal data perception device to re-photograph to obtain images of different spatial scales;

[0015] S40, when image target positioning is applied, the two-dimensional fault recognition network performs fault analysis on the images of different spatial scales obtained by re-photographing; when cross-modal fusion target positioning is applied, the images of different spatial scales, the original two-dimensional images and the three-dimensional point cloud data are cross-modally fused again to perform three-dimensional target detection and positioning; and the multi-scale re-decision of the UHV substation fault is completed;

[0016] Among them, the cross-modal fusion target positioning of three-dimensional data includes the following steps:

[0017] S221, extracting features from the three-dimensional point cloud data and the two-dimensional image respectively, and passing the two modal features through the three-dimensional region proposal network and the two-dimensional region proposal network in sequence to generate three-dimensional candidate region aggregation and two-dimensional candidate region aggregation;

[0018] S222, inputting the features of the two-dimensional image and the three-dimensional point cloud data into the 2D-3D proposal converter to generate a pseudo three-dimensional candidate region;

[0019] S223, combining the pseudo 3D candidate region and the 3D candidate region aggregation to obtain a fused 3D candidate region aggregation; cross-modally fusing the fused 3D candidate region aggregation and the 2D candidate region aggregation through a multimodal cross-target fusion module;

[0020] S224, using the multi-layer perception 3D query fused by the multimodal cross-target fusion module as a detection head to perform three-dimensional target detection and positioning.

[0021] In one embodiment of the present invention, in step S20, image target positioning includes the following steps:

[0022] S211, constructing a data set A with the input original image of the two-dimensional fault recognition network;

[0023] S212, constructing a data set B using feature maps of all channels in the last convolutional layer of the two-dimensional fault recognition network;

[0024] S213, taking the dataset B as input, performing weighted summation of the feature map and its corresponding weight in the output layer, and generating a class activation heat map of the feature map;

[0025] S214, performing image fusion on the class activation heat map and the original image in the data set A to complete the positioning of the specific target in the image.

[0026] In one embodiment of the present invention, step S213, applying a gradient weighted class activation mapping algorithm to obtain a class activation heat map, includes:

[0027] S2131, find out the pixel in the feature map that has the greatest impact on the classification result, perform gradient backpropagation, obtain the gradient of each pixel area on the feature map, and then calculate the global average of the pixel gradient of each feature map to obtain the feature weight of the feature map;

[0028] S2132, performing weighted summation on the feature weight and the corresponding feature map, activating the area positively correlated with the classification through an activation function, suppressing the area negatively correlated with the classification, and obtaining a class activation heat map.

[0029] In one embodiment of the present invention, the feature weight is obtained by the following formula:

[0030] ;

[0031] In the formula, is the feature weight, is the probability score that the output of the neural network is classified into the cth category, is the pixel value at position (i, j) on the k-th feature map output by the last convolutional layer. is the feature map size, c1 is the length of the feature map, c2 is the width of the feature map, The class activation heat map is obtained by solving the partial derivative of the feature map point by point.

[0032] In one embodiment of the present invention, step S214 includes: using a fusion network to fuse the fault edge image after the class activation heat map is used for fault edge detection with the original image for positioning, obtaining a fault positioning fusion image, and then training and optimizing the fusion network through a loss function;

[0033] The fusion strategy formula of the fusion network based on the global generalized pool is as follows:

[0034] ;

[0035] In the formula, is the fault edge image, is the original image, Fuse images for fault location, is the weight of the fault edge image, is the weight of the original image, The feature map channels;

[0036] The weight of the fault edge image and the weight of the original image are obtained by the following formula:

[0037] ;

[0038] ;

[0039] In the formula, It is a generalized pooling operation, and its calculation formula is as follows:

[0040] ;

[0041] In the formula, is the length of the pooling kernel, is the width of the pooling kernel, is the weight of each element in the pooling kernel, The first Line Elements of a column;

[0042] Among them, the weight of each element in the pooling kernel is obtained by the following formula:

[0043] ;

[0044] In the formula, is the initial weight, is the average value of all elements inside the pooling kernel, is the average value within the pooling kernel The farthest distance, is the element farthest from the mean.

[0045] In one embodiment of the present invention, in step S222, obtaining a pseudo three-dimensional candidate region includes:

[0046] Select some two-dimensional feature maps as candidate maps from the two-dimensional candidate region aggregation, aggregate multiple candidate maps into a candidate map region, obtain the seed points corresponding to the candidate maps in the three-dimensional point cloud data according to the two-dimensional pixel coordinate transformation relationship of the point cloud, and form a seed point set based on the seed points of the candidate map region;

[0047] Get the seed points that contain the same defect parts Regions of interest correspond to Center coordinate set ; Get the distance center coordinate set The coordinates of each center point are closest to points, and the coordinates closest to each center point A set of points is taken as a pseudo-center point set ;

[0048] Calculate the pseudo-center point set The average coordinates of , get the 3D suggested center point;

[0049] Obtain the 3D point cloud data and convert it into the 2D pixel coordinate transformation relationship of the point cloud, and then locate it in the 2D candidate area aggregation. Point Set ;

[0050] According to the point set The extreme values ​​in the pseudo-center point set are obtained A 3D bounding box centered at .

[0051] In one embodiment of the present invention, the 3D bounding box is obtained by the following formula:

[0052] ;

[0053] In the formula, Suggest center point for 3D, Point Set The maximum value of Point Set The minimum extreme value of is the orientation angle of the 3D bounding box, is the length of the 3D bounding box, is the height of the 3D bounding box, is the width of the 3D bounding box and arctan is the inverse tangent function.

[0054] In one embodiment of the present invention, the multimodal cross-objective fusion module applies an attention mechanism;

[0055] The aggregated features of the fused 3D candidate regions are used as queries for the multimodal cross-target fusion module, and the features of the 2D candidate regions are used as keys and values ​​for the multimodal cross-target fusion module;

[0056] Attention weights are calculated by taking the dot product between the 3D query and the 2D key ;

[0057] The attention weight The weighted sum of all values ​​is defined as ; Processed by a feed-forward network , generating fused multi-layer perceptual 3D queries.

[0058] In one embodiment of the present invention, a fused multi-layer perceptual 3D query is generated and obtained by the following formula:

[0059] ;

[0060] ;

[0061] ;

[0062] Where Attn represents the dot product calculation between the cross-modal query and the key. , and are the query, key, and value of the attention mechanism, respectively. For fused multi-layer perception 3D query, For neural network.

[0063] In one embodiment of the present invention, in step S30, the stereoscopic multimodal data perception equipment includes a drone, a ground inspection robot and a fixed camera; according to the target positioning, the ground inspection robot takes images of possible fault points close to the ground at a close distance on the ground; for possible fault points where the equipment is higher or at the top of the equipment, the drone takes further photos; for fault points that appear within the shooting range of the fixed camera, the fixed camera continuously takes and records images.

[0064] Compared with the prior art, the invention has the beneficial effect of realizing the re-collection of scaled data at the possible fault occurrence point, so as to make a re-decision on fault judgment. This multi-scale re-decision method helps to improve the diagnostic accuracy and processing efficiency of UHV substation faults, and ensure the stability and reliability of power grid operation.

[0065] The present invention uses a multi-scale re-decision method to further capture images at the point where the fault may occur, fundamentally solving the problem of unclear images or distortion caused by angle problems. This innovation greatly improves the image clarity of the point where the fault may occur. Since there is no need to conduct large-scale close-range inspections of all electrical equipment, it not only improves the accuracy of equipment inspections, but also saves time and human resources. In addition, there is no need to update existing equipment or increase additional investment.

[0066] The three-dimensional target detection and positioning solution improves the ability to resist target loss in the first stage. Through the 2D-3D proposal converter, a pseudo three-dimensional region of interest is generated based on the image region of interest with richer details, which effectively avoids the loss of the region of interest. In the second stage, the feature fusion is extended to multiple isomorphic instances, and the features of similar instances are fused to help the model better understand the entire scene and accurately detect the target, thereby improving the accuracy of stereo positioning detection of substation defects and providing great convenience for subsequent equipment maintenance and overhaul work in the substation. In the multimodal cross-target fusion module, when the features of a certain image proposal are poor, the corresponding 3D candidate area query can obtain supplementary information from multiple other image proposals belonging to the same category, which is more conducive to multimodal feature aggregation.

[0067] The proposed 2D-3D converter enables the model to generate pseudo 3D proposals from candidate images, improving the recall rate of hard targets. A multimodal cross-target fusion module is further designed to adaptively aggregate the features of multiple homogeneous image instances, avoiding the adverse effects of single poor image features. It helps the model better understand the entire scene and accurately detect targets, improves the accuracy of stereo positioning detection of substation defects, and greatly facilitates the subsequent equipment maintenance and overhaul work of substations. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 It is a flow chart of a method for detecting air-ground-space multi-scale re-decision faults in a UHV substation according to an embodiment of the present invention.

[0069] Figure 2 This is a diagram of a converged network architecture according to an embodiment of the present invention.

[0070] Figure 3 It is a schematic diagram of the three-dimensional positioning detection structure of a substation defect according to an embodiment of the present invention. DETAILED DESCRIPTION

[0071] In order to facilitate those skilled in the art to understand the technical solution of the present invention, the technical solution of the present invention is further described in conjunction with the accompanying drawings of the specification.

[0072] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0073] See also Figure 1 As shown, the present invention provides a method for detecting faults of a UHV substation in an air-ground-space multi-scale re-decision-making manner, comprising the following steps:

[0074] S10, acquiring two-dimensional image and three-dimensional point cloud data;

[0075] S20, determining the target location; wherein the method of determining the target location includes: using a two-dimensional image to perform image target location and using a two-dimensional image and three-dimensional point cloud data to perform cross-modal fusion target location;

[0076] S30, based on the target positioning, determine the possible fault location; and use the stereo multimodal data perception device to re-photograph to obtain images of different spatial scales;

[0077] S40, when image target positioning is applied, the two-dimensional fault recognition network performs fault analysis on images of different spatial scales obtained by re-photographing; when cross-modal fusion target positioning is applied, images of different spatial scales, original two-dimensional images and three-dimensional point cloud data are cross-modally fused again to perform three-dimensional target detection and positioning; and multi-scale re-decision-making for UHV substation faults is completed.

[0078] See also Figure 1 As shown, in one embodiment of the present invention, the two-dimensional image and three-dimensional point cloud data come from the core equipment of stereoscopic multimodal data perception in the air, on the ground and in the sky. These devices include ground inspection robots, fixed-position cameras, drones and radar systems, ground inspection robots for inspection and shooting, fixed-position cameras for real-time shooting, drones for aerial inspection and shooting, and three-dimensional point cloud data of radar systems.

[0079] See also Figure 1 and Figure 2 As shown, in one embodiment of the present invention, in S20, when using a two-dimensional image to locate an image target, the following steps are included:

[0080] S211, constructing a data set A with the input original image of the two-dimensional fault recognition network.

[0081] In this embodiment, the images obtained by the above-mentioned method are pre-processed by clearing, correction, etc. to form input original images, and these input original images constitute data set A. Among them, the two-dimensional fault recognition network of this solution only performs fault recognition on two-dimensional images, and this embodiment does not limit the specific fault recognition network.

[0082] S212, constructing a data set B using feature maps of all channels in the last convolutional layer of the two-dimensional fault recognition network.

[0083] In one embodiment of the present invention, in a two-dimensional fault recognition network, the features before the last layer of global average pooling can be acquired by calling the intermediate layer of the model. By extracting the features before the last layer of global average pooling, a new data set B can be constructed, which includes the intermediate features extracted during the model training process.

[0084] The purpose of extracting features before the last layer of global average pooling is to preserve the spatial information in the last convolutional layer. Before global average pooling, the spatial information of the feature map is still intact, so it can better indicate where the model responds in the image.

[0085] S213, taking dataset B as input, performing weighted summation of the feature map and its corresponding weight in the output layer, and generating a class activation heat map of the feature map.

[0086] In one embodiment of the present invention, Gradient Weighted Class Activation Mapping (Grad-CAM) is a classic post-hoc explanation method in visual explanation, which generates an interpretable heat map by combining a single sample with its feature map.

[0087] In this embodiment, obtaining a class activation heat map includes the following steps:

[0088] S2131, find out the pixel in the feature map that has the greatest impact on the classification result, perform gradient backpropagation, obtain the gradient of each pixel area on the feature map, and then calculate the global average of the pixel gradient of each feature map to obtain the feature weight of the feature map;

[0089] S2132, performing weighted summation on the feature weight and the corresponding feature map, activating the area positively correlated with the classification through an activation function, suppressing the area negatively correlated with the classification, and obtaining a class activation heat map.

[0090] The feature weight is obtained by the following formula:

[0091] ;

[0092] In the formula, is the feature weight, is the probability score that the output of the neural network is classified into the cth category, is the pixel value at position (i, j) on the k-th feature map output by the last convolutional layer. is the feature map size, c1 is the length of the feature map, c2 is the width of the feature map, The class activation heat map is obtained by solving the partial derivative of the feature map point by point.

[0093] The class activation heat map is obtained by the following formula:

[0094] ;

[0095] In the formula, is the class activation heatmap, is the activation function, It is the kth feature map output by the last convolutional layer. Activation can filter out areas that have a positive impact on category c, which can increase the output probability value of the fully connected layer for this category. .

[0096] S214, performing image fusion on the class activation heat map and the original image in the data set A to complete the positioning of the specific target in the image.

[0097] In one embodiment of the present invention, the Otsu algorithm is used to detect the fault edge of the class activation map, and the original image is binarized using the calculated optimal threshold to obtain a fault edge image, and then the fault edge image is fused with the original image by a fusion network for positioning, and a fault positioning fusion image is obtained, and finally the fusion network is carefully trained and optimized by a loss function. In this step, the original image refers to the class activation heat map.

[0098] See also Figure 1 and Figure 2 As shown, in one embodiment of the present invention, the fusion network includes an encoder, a fusion layer and a decoder. The encoder is composed of a 3×3 convolutional layer, three residual network blocks and a CBAM module, wherein one convolutional layer includes a convolution calculation operation and a ReLU activation unit. The decoder is composed of three 3×3 convolutional layers. The fusion layer is based on a fusion strategy of global generalized pooling, and adopts a fusion strategy of global generalized pooling of the binarized class activation map and the original image to realize the fusion of the class activation heat map and the original image, and calculates weights for the binarized class activation map and the original image, and then calculates the weighted average to obtain the fault location fusion image.

[0099] In this embodiment, the fusion strategy formula based on global generalized pooling is as follows:

[0100] ;

[0101] In the formula, is the fault edge image, is the original image, Fuse images for fault location, is the weight of the fault edge image, is the weight of the original image, The feature map channels.

[0102] Among them, the weight of the fault edge image and the weight of the original image are obtained by the following formula:

[0103] ;

[0104] ;

[0105] In the formula, It is a generalized pooling operation, and its calculation formula is as follows:

[0106] ;

[0107] In the formula, is the length of the pooling kernel, is the width of the pooling kernel, is the weight of each element in the pooling kernel, The first Line The elements of the column. According to the definition, we can get the formula:

[0108] ;

[0109] Each element generates an adaptive weight based on the distribution of elements in the pooling core, avoiding the loss of average features and significant features caused by using average pooling and maximum pooling alone. The calculation of the adaptive weight is shown in the formula:

[0110] ;

[0111] ;

[0112] ;

[0113] In the formula, is the initial weight, is the average value of all elements inside the pooling kernel, is the average value within the pooling kernel The farthest distance, is the element farthest from the average value. Finally, through image fusion, the possible fault point can be located in the original image.

[0114] In this embodiment, the loss function can constrain the relationship between the original image and the fault location fusion image to help train a network model with better performance. In this embodiment, the loss function formula used is as follows:

[0115] ;

[0116] ;

[0117] ;

[0118] In the formula, is the pixel loss, is the structural similarity loss, is the weight of the structural similarity loss, is the set of images output by the fusion network, is the set of images input to the fusion network, is the structural similarity operator. The structural similarity operator is composed of brightness, contrast and structural relationship. Brightness is represented by the mean of the image, contrast is represented by the standard deviation of the image, and structural relationship is represented by the correlation coefficient of the image. The simplified formula of the structural similarity operator is as follows:

[0119] ;

[0120] In the formula, For images The mean of For images The mean of For images The standard deviation of For images The standard deviation of For images and images The covariance of and are two constants. Among them, for An element in for An element in .

[0121] See also Figure 1 and Figure 3 As shown, in one embodiment of the present invention, in S20, a two-dimensional image is used for image target positioning. A single two-dimensional image can only depict a three-dimensional world from one perspective, and its expression of position and feature information in the three-dimensional world has great limitations. Therefore, for target positioning, the present invention can also use two-dimensional images and three-dimensional point cloud data for cross-modal fusion target positioning, which specifically includes the following steps:

[0122] S221, feature extraction is performed on the three-dimensional point cloud data and the two-dimensional image respectively, and the two modal features are passed through the three-dimensional region proposal network and the two-dimensional region proposal network respectively in sequence to generate three-dimensional candidate region aggregation and two-dimensional candidate region aggregation.

[0123] In one embodiment of the present invention, after simple preprocessing of the two-dimensional image data and the three-dimensional point cloud data, the two-dimensional image is subjected to a pre-trained two-dimensional convolutional neural network to extract two-dimensional features to obtain a two-dimensional feature map, and the three-dimensional point cloud data is subjected to a three-dimensional convolutional neural network pre-trained based on the point cloud data to extract three-dimensional features to obtain a three-dimensional feature map.

[0124] The 2D feature map and 3D feature map are input into the 2D and 3D region proposal networks respectively to obtain the bounding box offset and confidence score of the 2D feature map and 3D feature map. Since the region proposal network will generate a large number of highly overlapping candidate boxes, the non-maximum suppression method is used to select the candidate regions that are most likely to contain the target in the 2D feature map and 3D feature map, that is, the region of interest, and form a 3D candidate region aggregation and a 2D candidate region aggregation respectively.

[0125] In one embodiment of the present invention, the multimodal system first needs to obtain the spatial relationship between various sensors through calibration processing, and activate the laser radar and camera to collect the point cloud data and image data of the substation at the same time. Ensure that during the data collection process, the defect location of the substation can be observed by the laser radar and camera at the same time. To represent the calibration parameters between the camera and the lidar, where Expressed as a real number. n Given a 3D point cloud and T, projecting them onto the two-dimensional image plane to obtain the corresponding n 2D pixel coordinates .

[0126] Specifically, the 3D point cloud data is projected onto the 2D image plane through the calibration parameters between the camera and the laser radar, and the corresponding 2D pixel coordinate transformation relationship of the point cloud is obtained. The 2D pixel coordinate transformation relationship of the point cloud is obtained by the following formula:

[0127] ;

[0128] ;

[0129] In the formula, is the 3D coordinate of a point cloud in the laser radar coordinate system, Point Cloud The 3D coordinates in the camera's coordinate system, is the transposition, T is the calibration parameter between the camera and the lidar for the 3D point cloud data, is the point cloud 2D pixel coordinate transformation relationship. This formula is used to transform the point cloud data collected by the LiDAR into the camera coordinate system to achieve the calibration of the multimodal system.

[0130] S222, the features of the two-dimensional image and the three-dimensional point cloud data are input into the 2D-3D proposal converter to generate a pseudo three-dimensional candidate region.

[0131] In one embodiment of the present invention, a selection is made from the two-dimensional candidate regions. A two-dimensional feature map is used as a candidate map, and multiple candidate maps are aggregated into a candidate map region. According to the two-dimensional pixel coordinate transformation relationship of the point cloud, the seed points corresponding to the candidate map in the three-dimensional point cloud data and the seed points of the candidate map region are obtained to form a seed point set. Candidate graphs The seed points are represented as .

[0132] The selected seed points consist of two parts: noise points and candidate points. We filter out the noise points and retain the candidate points to generate pseudo 3D proposals. The details are as follows:

[0133] For the seed points that contain the same defect location Regions of interest correspond to Center coordinate set , select the distance center coordinate set The coordinates of each center point are closest to points, and the coordinates closest to each center point A set of points is taken as a pseudo-center point set .in, Expressed as The center coordinates of the candidate graphs, is the distance center coordinate The nearest pseudo-center.

[0134] By calculating the pseudo-center point set The average coordinates of to estimate the rough 3D proposal center point .

[0135] For obtaining the 3D point cloud data, after the point cloud 2D pixel coordinate transformation relationship is converted, it is located in the 2D candidate area aggregation Point Set , in the point set middle and Represents a point set The extreme values ​​of the coordinates used to generate the 3D bounding box .in,

[0136] ;

[0137] In the formula, is the orientation angle of the 3D bounding box, is the length of the 3D bounding box, is the height of the 3D bounding box, is the width of the 3D bounding box and arctan is the inverse tangent function.

[0138] S223, combining the pseudo three-dimensional candidate region and the three-dimensional candidate region aggregation to obtain a fused three-dimensional candidate region aggregation; cross-modally fusing the fused three-dimensional candidate region aggregation and the two-dimensional candidate region aggregation through a multimodal cross-target fusion module.

[0139] In one embodiment of the present invention, different from the local feature aggregation in the previous method, the present invention designs a new fusion module to realize cross-modal fusion and cross-instance features for the fusion of the three-dimensional candidate region aggregation and the two-dimensional candidate region aggregation domain in step S221. If the features of a certain image proposal are poor, the corresponding three-dimensional candidate region aggregation query can obtain supplementary information from multiple other image proposals belonging to the same category, which is conducive to multi-modal feature aggregation.

[0140] Specifically, in this embodiment, the multimodal cross-target fusion module applies the attention mechanism, takes the aggregated features of the fused three-dimensional candidate regions as the query of the multimodal cross-target fusion module, and takes the features of the two-dimensional candidate regions as the keys and values ​​of the multimodal cross-target fusion module, in the form:

[0141] ;

[0142] in, To fuse the features on the feature map in the 3D candidate region aggregation, is the feature on the feature map in the two-dimensional candidate region, , and are the query, key, and value of the attention mechanism, respectively. , and The linear projection matrices of query, key and value are respectively. The attention weight is calculated by taking the dot product between the 3D query and the 2D key. , the attention weight The weighted sum of all values ​​is defined as , processed by a feed-forward network , generating a fused multi-layer perceptual 3D query, formally:

[0143] ;

[0144] ;

[0145] ;

[0146] Where Attn represents the dot product calculation between the cross-modal query and the key. For fused multi-layer perception 3D query, It is a simple neural network consisting of a fully connected (FC) layer to achieve block modality fusion by fusing 3D candidate region aggregation and 2D candidate region aggregation.

[0147] S224, using the multi-layer perception 3D query fused by the multimodal cross-target fusion module as a detection head to perform three-dimensional target detection and positioning.

[0148] In one embodiment of the present invention, the detection head uses the fused multi-layer perceptual 3D query as input to perform 3D object detection. Specifically, the features of the 3D query are converted into feature vectors by a multi-layer perceptron to perform 3D bounding box regression and category confidence prediction.

[0149] See also Figure 1 and Figure 3 As shown, in one embodiment of the present invention, the three-dimensional data is cross-modal fusion target positioning, and further includes step S225, applying the total loss function to optimize the training of the region proposal network and the detection head. The total loss function is mainly composed of two parts like most two-stage detectors: region proposal network loss and detection head loss. The total loss can be written as:

[0150] ;

[0151] ;

[0152] In the formula, is the total loss function of the multimodal cross-target fusion module, and is a balancing factor for the two losses, which can prevent the model from focusing too much on the first stage and affecting the prediction results of the second stage. Propose network loss for a region, To detect head loss, is the classification loss, is the regression loss.

[0153] See also Figure 1 As shown, in one embodiment of the present invention, S30, based on the target positioning, the possible fault location is determined; and a stereoscopic multimodal data sensing device is used to re-photograph to obtain images of different spatial scales.

[0154] In one embodiment of the present invention, according to the target positioning method in step 20, we can determine the location where the fault may exist. You can choose to use ground inspection robots, drones, fixed cameras and other equipment to re-shoot images to obtain perspectives of different spatial scales. According to the positioning, the possible fault point close to the ground is approached by the ground inspection robot for further shooting. The ground inspection robot can take images at a close distance on the ground, which is suitable for inspecting ground facilities or infrastructure. For the possible fault points where the equipment is higher or at the top of the equipment, the drone is used for further shooting. The drone can provide a bird's-eye view from the air, with a wide coverage range, and can quickly obtain a wide range of image information. Fixed cameras can continuously shoot and record images to facilitate comparative analysis on a time scale.

[0155] See also Figure 1As shown, in one embodiment of the present invention, S40, when image target positioning is applied, the two-dimensional fault recognition network performs fault analysis on images of different spatial scales obtained by re-photographing; when cross-modal fusion target positioning is applied, images of different spatial scales, original two-dimensional images and three-dimensional point cloud data are cross-modally fused again to perform three-dimensional target detection and positioning; and multi-scale re-decision-making for UHV substation faults is completed.

[0156] In one embodiment of the present invention, when image target positioning is applied, the more accurate image re-taken in step 30 is used to re-analyze the image for fault analysis, so as to achieve multi-scale re-decision of the UHV substation fault. By comprehensively utilizing image information of different spatial scales, the nature and scope of the fault can be more comprehensively understood, and targeted solutions can be adopted. When two-dimensional images and three-dimensional point cloud data are used for cross-modal fusion target positioning, step S30 is used to re-take a more accurate image of the part identified as the fault area, and the image is combined with the three-dimensional point cloud data, and S20 is executed again to determine the fault area, thereby improving the accuracy of detecting the fault area.

[0157] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be regarded as exemplary and non-limiting from any point of view, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention, and any reference numerals in the claims should not be regarded as limiting the claims involved.

[0158] The above-described embodiments merely represent implementation methods of the invention. The protection scope of the present invention is not limited to the above-described embodiments. For those skilled in the art, several modifications and improvements may be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A multi-scale re-decision fault detection method for UHV substations, characterized in that: The following steps are involved: S10, acquiring two-dimensional image and three-dimensional point cloud data; S20, determining the target location; wherein the method of determining the target location includes: using a two-dimensional image to perform image target location and using a two-dimensional image and three-dimensional point cloud data to perform cross-modal fusion target location; S30, based on the target positioning, determine the possible fault location; and use the stereo multimodal data perception device to re-photograph to obtain images of different spatial scales; S40, when image target positioning is applied, the two-dimensional fault recognition network performs fault analysis on the images of different spatial scales obtained by re-photographing; when cross-modal fusion target positioning is applied, the images of different spatial scales, the original two-dimensional images and the three-dimensional point cloud data are cross-modally fused again to perform three-dimensional target detection and positioning; and the multi-scale re-decision of the UHV substation fault is completed; Among them, in step S20, applying the two-dimensional image and the three-dimensional data to perform cross-modal fusion target positioning includes the following steps: S221, extracting features from the three-dimensional point cloud data and the two-dimensional image respectively, and passing the two modal features through the three-dimensional region proposal network and the two-dimensional region proposal network in sequence to generate three-dimensional candidate region aggregation and two-dimensional candidate region aggregation; S222, inputting the features of the two-dimensional image and the three-dimensional point cloud data into the 2D-3D proposal converter to generate a pseudo three-dimensional candidate region; S223, combining the pseudo 3D candidate region and the 3D candidate region aggregation to obtain a fused 3D candidate region aggregation; cross-modally fusing the fused 3D candidate region aggregation and the 2D candidate region aggregation through a multimodal cross-target fusion module; S224, using the multi-layer perception 3D query fused by the multimodal cross-target fusion module as a detection head to perform three-dimensional target detection and positioning; Among them, the multimodal cross-target fusion module applies the attention mechanism; The aggregated features of the fused 3D candidate regions are used as queries for the multimodal cross-target fusion module, and the features of the 2D candidate regions are used as keys and values ​​for the multimodal cross-target fusion module; Attention weights are calculated by taking the dot product between the 3D query and the 2D key ; The attention weight The weighted sum of all values ​​is defined as ; Processed by a feed-forward network , generating fused multi-layer perceptual 3D queries; Generate a fused multi-layer perceptual 3D query, obtained by the following formula: ; ; ; Where Attn represents the dot product calculation between the cross-modal query and the key. , and are the query, key, and value of the attention mechanism, respectively. For fused multi-layer perception 3D query, For neural network.

2. The method for detecting faults of UHV substations based on multi-scale re-decision-making in space-ground-ground mode according to claim 1, characterized in that: In step S20, image target positioning includes the following steps: S211, constructing a data set A with the input original image of the two-dimensional fault recognition network; S212, constructing a data set B using feature maps of all channels in the last convolutional layer of the two-dimensional fault recognition network; S213, taking the dataset B as input, performing weighted summation of the feature map and its corresponding weight in the output layer, and generating a class activation heat map of the feature map; S214, performing image fusion on the class activation heat map and the original image in the data set A to complete the positioning of the specific target in the image.

3. The method for detecting faults of UHV substations based on multi-scale re-decision-making in space-ground-ground mode according to claim 2, characterized in that: Step S213, applying a gradient weighted class activation mapping algorithm to obtain a class activation heat map, including: S2131, find out the pixel in the feature map that has the greatest impact on the classification result, perform gradient backpropagation, obtain the gradient of each pixel area on the feature map, and then calculate the global average of the pixel gradient of each feature map to obtain the feature weight of the feature map; S2132, performing weighted summation on the feature weight and the corresponding feature map, activating the region that is positively correlated with the classification through an activation function, suppressing the region that is negatively correlated with the classification, and obtaining a class activation heat map.

4. The method for detecting faults of UHV substations based on multi-scale re-decision-making in space-ground mode according to claim 3 is characterized in that: The feature weight is obtained by the following formula: ; In the formula, is the feature weight, is the probability score that the output of the neural network is classified into the cth category, is the pixel value at position (i, j) on the k-th feature map output by the last convolutional layer. is the feature map size, c1 is the length of the feature map, c2 is the width of the feature map, The class activation heat map is obtained by solving the partial derivative of the feature map point by point.

5. The method for detecting faults of UHV substations based on multi-scale re-decision-making in space-ground-ground mode according to claim 2, characterized in that: Step S214 includes: using a fusion network to fuse the fault edge image after the class activation heat map is used for fault edge detection with the original image for positioning, obtaining a fault positioning fusion image, and then training and optimizing the fusion network through a loss function; The fusion strategy formula of the fusion network based on the global generalized pool is as follows: ; In the formula, is the fault edge image, is the original image, Fuse images for fault location, is the weight of the fault edge image, is the weight of the original image, The feature map channels; The weight of the fault edge image and the weight of the original image are obtained by the following formula: ; ; In the formula, It is a generalized pooling operation, and its calculation formula is as follows: ; In the formula, is the length of the pooling kernel, is the width of the pooling kernel, is the weight of each element in the pooling kernel, The first Line Elements of a column; Among them, the weight of each element in the pooling kernel is obtained by the following formula: ; In the formula, is the initial weight, is the average value of all elements inside the pooling kernel, is the average value within the pooling kernel The farthest distance, is the element farthest from the mean.

6. The method for detecting faults of UHV substations based on multi-scale re-decision-making in space-ground mode according to claim 1, characterized in that: In step S222, obtaining a pseudo three-dimensional candidate region includes: Select some two-dimensional feature maps as candidate maps from the two-dimensional candidate region aggregation, aggregate multiple candidate maps into a candidate map region, obtain the seed points corresponding to the candidate maps in the three-dimensional point cloud data according to the two-dimensional pixel coordinate transformation relationship of the point cloud, and form a seed point set based on the seed points of the candidate map region; Get the seed points that contain the same defect parts Regions of interest correspond to Center coordinate set ; Get the distance center coordinate set The coordinates of each center point are closest to points, and the coordinates closest to each center point A set of points is taken as a pseudo-center point set ; Calculate the pseudo-center point set The average coordinates of , get the 3D suggested center point; Obtain the 3D point cloud data and convert it into the 2D pixel coordinate transformation relationship of the point cloud, and then locate it in the 2D candidate area aggregation. Point Set ; According to the point set The extreme values ​​in the pseudo-center point set are obtained A 3D bounding box centered at .

7. The method for detecting faults of UHV substations in space-ground-ground multi-scale re-decision according to claim 6 is characterized in that: The 3D bounding box is obtained by the following formula: ; In the formula, Suggest center point for 3D, Point Set The maximum value of Point Set The minimum extreme value of is the orientation angle of the 3D bounding box, is the length of the 3D bounding box, is the height of the 3D bounding box, is the width of the 3D bounding box and arctan is the inverse tangent function.

8. The method for detecting faults of UHV substations based on multi-scale re-decision-making in space-ground-ground mode according to claim 1, characterized in that: In step S30, the stereoscopic multimodal data perception equipment includes a drone, a ground inspection robot and a fixed camera; according to the target positioning, the ground inspection robot takes images of possible fault points close to the ground at a close distance on the ground; for possible fault points on higher equipment or at the top of the equipment, the drone takes further photos; for fault points that appear within the shooting range of the fixed camera, the fixed camera continuously takes and records images.