A multi-scale re-decision-making method and system for UHV substation space-ground-ground

Through the multi-scale re-decision method, using feature maps, weighted summation and image fusion, the problem of misjudgment caused by single-scale image data in UHV substation fault identification is solved, the diagnosis accuracy and processing efficiency are improved, and the power grid is ensured. stability.

CN118314490BActive Publication Date: 2024-09-17HEFEI UNIV OF TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410743475.3
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

In the fault identification of UHV substations, single-scale image data collection can easily lead to misjudgment warnings and a waste of manpower and material resources. The existing preprocessing methods are not accurate enough.

Method used

A multi-scale re-decision method is used to generate a class activation heat map through the weighted sum of the feature map and weight of the fault identification network, fuse it with the original image, re-shoot images of different spatial scales, and use stereo multi-modal data sensing equipment to perform fault analysis. , to achieve multi-scale re-decision-making for UHV substation faults.

Benefits of technology

It improves the accuracy and processing efficiency of fault diagnosis, reduces misjudgment warnings, ensures the stability and reliability of the power grid, and saves time and human resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314490B
    Figure CN118314490B
Patent Text Reader

Abstract

The present invention discloses a method and system for multi-scale re-decision-making in space, ground and space of a UHV substation, the method comprising: constructing a data set A with the input original image of a fault recognition network; constructing a data set B with the feature maps of all channels in the last convolutional layer of the fault recognition network; taking data set B as input, weighting and summing the feature map with its corresponding weight in the output layer, generating a class activation heat map of the feature map; performing image fusion on the class activation heat map and the original image in data set A to complete the positioning of a specific target in the image; judging the possible fault location according to the image target positioning; and applying a stereoscopic multimodal data perception device to re-photograph to obtain images of different spatial scales; the fault recognition network performs fault analysis on the images of different spatial scales obtained by re-photographing, and completes the multi-scale re-decision-making of the UHV substation fault. The method of the present invention is helpful to improve the diagnostic accuracy and processing efficiency of UHV substation faults.
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-making method and system for a UHV 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, an air-space-ground stereoscopic multimodal data perception device was established, including ground robot inspection, fixed-position camera shooting, and drone aerial inspection, so as to collect air-space-ground stereoscopic multimodal data of the UHV substation, and use neural networks to judge the faults of the collected information, so as to reduce the loss of manpower and material resources for the power supply of the UHV substation. Due to the large area of ​​the site, the inspection equipment can only collect image data of a single spatial scale during the inspection, and cannot collect clearer data at a close distance for all electrical equipment. The collected single-scale image data may cause image distortion due to weather, light, camera angle, and especially distance restrictions. Therefore, when identifying equipment faults, misjudgment warnings may occur, resulting in a 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. Summary of the invention

[0005] The technical problem to be solved by the present invention is to solve the problem that when fault identification is performed based on image data with a single spatial scale, misjudgment warnings may occur, resulting in a waste of manpower and material resources.

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

[0007] A multi-scale re-decision-making method for an ultra-high voltage substation in space, ground and space, comprising the following steps:

[0008] S10, constructing a data set A with the input original image of the fault recognition network;

[0009] S20, constructing a data set B using feature maps of all channels in the last convolutional layer of the fault recognition network;

[0010] S30, 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;

[0011] S40, 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;

[0012] S50, based on the image 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;

[0013] S60, the fault identification network performs fault analysis on the images of different spatial scales obtained by re-photographing, and completes multi-scale re-decision-making on the UHV substation fault.

[0014] In one embodiment of the present invention, in step S30, a gradient weighted class activation mapping algorithm is applied to obtain a class activation heat map, including:

[0015] S31, 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;

[0016] S32, performing weighted summation on the feature weights and the corresponding feature maps, activating the regions that are positively correlated with the classification and suppressing the regions that are negatively correlated with the classification through an activation function, and obtaining a class activation heat map.

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

[0018] ;

[0019] 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.

[0020] In one embodiment of the present invention, step S40 includes: using the Otsu algorithm to perform fault edge detection on the class activation heat map, using the calculated optimal threshold to binarize the original image, obtaining a fault edge image, using a fusion network to fuse the fault edge image with the original image for positioning, obtaining a fault positioning fusion image, and then training and optimizing the fusion network through a loss function.

[0021] In one embodiment of the present invention, the fusion network includes an encoder, a fusion layer and a decoder; the encoder is mainly 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 mainly composed of three 3×3 convolutional layers; the fusion layer is based on a fusion strategy of global generalized pooling, and adopts the global generalized pooling fusion of the fault edge image and the original image to fuse the class activation heat map with the original image, and calculates weights for the fault edge image and the original image respectively, and then calculates the weighted average to obtain the fault location fusion image.

[0022] In one embodiment of the present invention, the fusion strategy formula based on the global generalized pool of the fusion network is as follows:

[0023] ;

[0024] 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.

[0025] In one embodiment of the present invention, the weight of the fault edge image and the weight of the original image are obtained by the following formula:

[0026] ;

[0027] ;

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

[0029] ;

[0030] 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;

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

[0032] ;

[0033] 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.

[0034] In one embodiment of the present invention, the input original image of the fault recognition network comes from the image taken by the stereo multimodal data perception device in the air, on the ground and in the sky.

[0035] In one embodiment of the present invention, in step S50, the stereoscopic multimodal data perception equipment includes a drone, a ground inspection robot and a fixed camera; according to the image 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.

[0036] The present invention also provides a system using the above-mentioned UHV substation air-ground-ground multi-scale re-decision-making method, comprising:

[0037] The original image module is used to construct a data set A with the input original image of the fault recognition network;

[0038] A feature map module, used to construct a data set B using feature maps of all channels in the last convolutional layer of the fault recognition network;

[0039] The class activation heat map module is used to take the dataset B as input, perform weighted summation of the feature map and its corresponding weight in the output layer, and generate a class activation heat map of the feature map;

[0040] A fusion positioning module is used to fuse the class activation heat map with the original image in the data set A to complete the positioning of a specific target in the image;

[0041] The re-photographing module is used to locate the target in the image and determine the possible fault location; and the stereo multimodal data perception device is used to re-photograph to obtain images of different spatial scales;

[0042] The multi-scale re-decision module is used for the fault recognition network to perform fault analysis on images of different spatial scales obtained by re-photographing, and complete the multi-scale re-decision of the UHV substation fault.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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

[0047] Figure 1 This is a flow chart of a multi-scale re-decision method for an ultra-high voltage substation in an embodiment of the present invention.

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

[0049] 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.

[0050] Figure 4 This is a block diagram of an air-ground-space multi-scale re-decision system for a UHV substation according to an embodiment of the present invention. DETAILED DESCRIPTION

[0051] 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.

[0052] 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.

[0053] Example 1

[0054] See also Figure 1 As shown, the present invention provides a multi-scale re-decision method for an ultra-high voltage substation space-ground-ground, comprising the following steps:

[0055] S10, construct a data set A with the input original image of the fault recognition network.

[0056] In one embodiment of the present invention, the input original images of the fault recognition network come from stereoscopic multimodal data perception devices in the air, on the ground and in the sky. These devices include ground inspection robots, fixed-position cameras and drones. Ground inspection robots take inspection photos, fixed-position cameras take real-time photos and drones take aerial inspection photos. The images obtained through these channels are pre-processed by clearing, correction and other methods to form input original images. These input original images constitute data set A.

[0057] S20, constructing a data set B using feature maps of all channels in the last convolutional layer of the fault recognition network.

[0058] In one embodiment of the present invention, in the fault identification 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.

[0059] 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.

[0060] S30, taking dataset B as input, weighted summing the feature map and its corresponding weight in the output layer, and generating a class activation heat map of the feature map.

[0061] 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.

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

[0063] S31, 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.

[0064] S32, performing weighted summation on the feature weights and the corresponding feature maps, activating the regions that are positively correlated with the classification and suppressing the regions that are negatively correlated with the classification through an activation function, and obtaining a class activation heat map.

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

[0066] ;

[0067] In the formula, is the feature weight, The output of the neural network is classified into the probability score of the cth class, 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.

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

[0069] ;

[0070] 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. .

[0071] S40, 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.

[0072] 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.

[0073] 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.

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

[0075] ;

[0076] 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.

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

[0078] ;

[0079] ;

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

[0081] ;

[0082] 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:

[0083] ;

[0084] Each element generates an adaptive weight according to 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:

[0085] ;

[0086] ;

[0087] ;

[0088] 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.

[0089] 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:

[0090] ;

[0091] ;

[0092] ;

[0093] 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:

[0094] ;

[0095] 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 .

[0096] S50, based on the image 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.

[0097] In one embodiment of the present invention, according to the image target positioning method in step 40, we can determine the location where the fault may exist. You can choose to use equipment such as ground inspection robots, drones or fixed cameras to retake 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, drones are used for further shooting. Drones 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.

[0098] S60, the fault identification network performs fault analysis on the images of different spatial scales obtained by re-photographing, and completes multi-scale re-decision-making on the UHV substation fault.

[0099] In one embodiment of the present invention, the more accurate image re-taken in step 50 is used to re-analyze the image for faults, thereby achieving multi-scale re-decision-making for UHV substation faults. By comprehensively utilizing image information at different spatial scales, the nature and scope of the fault can be more comprehensively understood, and targeted solutions can be adopted.

[0100] Example 2

[0101] See also Figure 3 As shown, Example 1 uses a two-dimensional image to locate an image target. 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, Example 2 can also use two-dimensional images and three-dimensional point cloud data for cross-modal fusion target positioning for target positioning, which specifically includes the following steps:

[0102] S41, 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.

[0103] S42, 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.

[0104] S43, 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.

[0105] S44, 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.

[0106] In one embodiment of the present invention, S41, 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 in sequence to generate three-dimensional candidate region aggregation and two-dimensional candidate region aggregation.

[0107] After simple preprocessing of the two-dimensional image data and the three-dimensional point cloud data, the two-dimensional image is used to extract two-dimensional features through a pre-trained two-dimensional convolutional neural network to obtain a two-dimensional feature map, and the three-dimensional point cloud data is used to extract three-dimensional features through a three-dimensional convolutional neural network pre-trained based on the point cloud data to obtain a three-dimensional feature map.

[0108] 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.

[0109] 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 .

[0110] 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:

[0111] ;

[0112] ;

[0113] 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 multi-modal system.

[0114] S42, 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.

[0115] 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 .

[0116] 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:

[0117] 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 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.

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

[0119] 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,

[0120] ;

[0121] 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.

[0122] S43, 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.

[0123] 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 fusing the three-dimensional candidate region aggregation and the two-dimensional candidate region aggregation domain in step S41. 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.

[0124] 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:

[0125] ;

[0126] 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:

[0127] ;

[0128] ;

[0129] ;

[0130] 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.

[0131] S44, 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.

[0132] 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.

[0133] In one embodiment of the present invention, the three-dimensional data is used for cross-modal fusion target positioning, and further includes step S45, applying a 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: the region proposal network loss and the detection head loss. The total loss can be written as:

[0134] ;

[0135] ;

[0136] 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.

[0137] See also Figures 1 to 3 As shown, in one embodiment of the present invention, 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.

[0138] See also Figures 1 to 4As shown, the present invention also provides a system for applying the multi-scale re-decision method of air-ground-ground in ultra-high voltage substation, including an original image module 10, a feature image module 20, a class activation heat map module 30, a fusion positioning module 40, a re-shooting image module 50 and a multi-scale re-decision module 60. The original image module 10 is used to construct a data set A with the input original image of the fault recognition network, and the feature image module 20 is used to construct a data set B with the feature maps of all channels in the last convolution layer of the fault recognition network. The class activation heat map module 30 is used to take the data set B as input, weighted sum the feature map and its corresponding weight in the output layer, and generate a class activation heat map of the feature map. The fusion positioning module 40 is used to fuse the class activation heat map with the original image in the data set A to complete the positioning of the specific target in the image. The re-shooting image module 50 is used to determine the possible fault location according to the image target positioning; and use the stereo multimodal data perception device to re-shoot to obtain images of different spatial scales. The multi-scale re-decision module 60 is used by the fault identification network to perform fault analysis on images of different spatial scales obtained by re-photographing, and complete multi-scale re-decision on UHV substation faults.

[0139] 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.

[0140] 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-making method for UHV substation space-ground-ground, characterized in that: The following steps are involved: S10, constructing a data set A with the input original image of the fault recognition network; S20, constructing a data set B using feature maps of all channels in the last convolutional layer of the fault recognition network; S30, 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; S40, 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; S50, based on the image 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; S60, the fault recognition network performs fault analysis on the images of different spatial scales obtained by re-photographing, and completes multi-scale re-decision-making on the UHV substation fault; Wherein, step S40 includes: using the Otsu algorithm to perform fault edge detection on the class activation heat map, using the calculated optimal threshold to binarize the original image, obtaining a fault edge image, using a fusion network to fuse the fault edge image 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 network includes a fusion layer. The fusion layer is based on a fusion strategy of global generalized pooling. The fault edge image and the original image are fused by global generalized pooling to fuse the class activation heat map with the original image. Weights are calculated for the fault edge image and the original image respectively, and then the weighted average is calculated to obtain the fault location fusion image: The weight of the fault edge image and the weight of the original image are obtained by the following formula: ; ; In the formula, is the fault edge image, is the original image, is the weight of the fault edge image, is the weight of the original image, The feature map channels, and 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.

2. The air-ground-space multi-scale re-decision-making method for UHV substation according to claim 1, characterized in that: In step S30, a gradient weighted class activation mapping algorithm is applied to obtain a class activation heat map, including: S31, 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; S32, performing weighted summation on the feature weights and the corresponding feature maps, activating the regions that are positively correlated with the classification and suppressing the regions that are negatively correlated with the classification through an activation function, and obtaining a class activation heat map.

3. The air-ground-space multi-scale re-decision-making method for UHV substation according to claim 2 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.

4. The air-ground-space multi-scale re-decision-making method for UHV substation according to claim 1, characterized in that: The fusion network includes an encoder and a decoder; the encoder is mainly 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 mainly composed of three 3×3 convolutional layers.

5. The air-ground-space multi-scale re-decision-making method for UHV substation according to claim 1, characterized in that: The fusion strategy formula of the fusion network based on global generalized pooling is as follows: ; In the formula, Fuse images for fault localization.

6. The air-ground-space multi-scale re-decision-making method for UHV substation according to claim 1, characterized in that: The input original images of the fault recognition network come from images taken by stereo multimodal data perception equipment in the air, on the ground and in the sky.

7. The air-ground-space multi-scale re-decision-making method for UHV substation according to claim 1, characterized in that: In step S50, the stereoscopic multimodal data perception equipment includes a drone, a ground inspection robot and a fixed camera; according to the image 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 pictures; for fault points that appear within the shooting range of the fixed camera, the fixed camera continuously takes pictures and records images.

8. A system using the air-ground-space multi-scale re-decision-making method for a UHV substation according to any one of claims 1 to 7, characterized in that: include: The original image module is used to construct a data set A with the input original image of the fault recognition network; A feature map module, used to construct a data set B using feature maps of all channels in the last convolutional layer of the fault recognition network; The class activation heat map module is used to take the dataset B as input, perform weighted summation of the feature map and its corresponding weight in the output layer, and generate a class activation heat map of the feature map; A fusion positioning module is used to fuse the class activation heat map with the original image in the data set A to complete the positioning of a specific target in the image; The re-photographing module is used to locate the image target and determine the possible fault location; and the stereo multimodal data perception device is used to re-photograph to obtain images of different spatial scales; The multi-scale re-decision module is used for the fault recognition network to perform fault analysis on images of different spatial scales obtained by re-photographing, and complete the multi-scale re-decision of the UHV substation fault.