A multi-scale re-decision target detection method for UHV substation space-ground

Through the multi-scale re-decision target detection method in the air, space and ground, combined with two-dimensional and three-dimensional data for cross-modal feature cascade fusion, the problem of misjudgment and low accuracy in UHV substation fault identification is solved, and more efficient fault diagnosis and More accurate 3D target detection.

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

Patent Information

Application Number
CN202410743397.7
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

When identifying faults in UHV substations, due to the single scale of the two-dimensional image, it is easy to cause misjudgment warnings, and the accuracy of three-dimensional target detection is low, making it impossible to fully utilize the correlation and complementarity between multi-visual modal data.

Method used

Using the multi-scale re-decision target detection method in the air, space and ground, by acquiring two-dimensional modal data and three-dimensional point cloud modal data, cross-modal feature cascade fusion is performed, including single-modal feature extraction, cross-attention module fusion and three-dimensional targets. Detection and positioning enables multi-scale re-decision-making on UHV substation faults.

Benefits of technology

It improves the accuracy and processing efficiency of fault diagnosis, enhances the image clarity of possible fault points, improves the three-dimensional target detection accuracy and panoramic perception capabilities of the substation, and saves manpower and time resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314488B
    Figure CN118314488B
Patent Text Reader

Abstract

The present invention discloses a method for detecting a target in the space-ground-air multi-scale re-decision of a UHV substation, comprising: acquiring two-dimensional modal data and three-dimensional point cloud modal data; determining the target location; wherein the method for determining the target location comprises: applying two-dimensional modal data to image target location and applying two-dimensional modal data and three-dimensional point cloud modal data to perform cross-modal feature cascade fusion to perform three-dimensional target detection and location; judging possible fault locations according to the target location; and applying a stereoscopic multi-modal data sensing device to re-photograph to obtain images of different spatial scales; applying a detection and positioning network corresponding to the target location to perform fault analysis on the images of different spatial scales obtained by re-photographing, and completing multi-scale re-decision on faults in the UHV substation; the present invention can improve the accuracy of fault identification.
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 fault diagnosis, and in particular to an air-ground-space multi-scale re-decision target 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, so as to collect air-space-ground stereoscopic multimodal data of UHV substations, and use neural networks 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 visible light image data of a single spatial scale during inspection, and cannot collect clearer data at close range for all electrical equipment. The collected single-scale visible light image data may cause image distortion due to weather, light, camera angle, and especially distance restrictions, 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 visible light images of a single scale or fusing multi-scale features to increase the clarity of the 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 the low-light image to the 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] During the inspection process, a large amount of air-space-ground inspection data such as visible light, infrared, point cloud and other visual modal information is accumulated, which provides important data support for the operation and maintenance management of substations. However, the visual analysis model currently deployed in the inspection system mainly targets single modal data and lacks an effective multi-visual modal fusion mechanism, resulting in the lack of complementary information between modalities and the inability to fully utilize the correlation and complementarity between various modal data.

[0006] Specifically, visible light images have high-resolution pixels and rich textures, and infrared images have accurate temperature information, but they cannot obtain the exact distance between objects and are greatly affected by light. Point clouds contain accurate spatial location information, but the data is disordered and sparse, lacking color, texture, and temperature information, and are greatly affected by rainy and foggy weather. Therefore, an effective multi-visual modality information fusion method is very necessary for substation scenarios, which can enhance the three-dimensional perception and positioning capabilities of equipment and personnel, thereby further improving the intelligence level of the substation remote intelligent patrol system.

[0007] At present, the multimodal fusion methods for 3D target detection are mainly divided into two types: learning-independent and learning methods. Among them, the learning-independent method performs arithmetic operations and splicing operations on features, which has the advantages of simple operation and easy calculation, but does not have good scalability and robustness. The learning method uses the attention mechanism to fuse features, focusing on important information with high weights and ignoring irrelevant information with low weights, which has higher scalability and robustness. However, all the above methods are based on visible light images and point cloud data to achieve classification and positioning of 3D targets, while the temperature information in infrared images is of great significance for remote intelligent inspection of substations. For example, when the hot spot temperature of a transformer exceeds the specified limit, it will accelerate the aging of its main insulating materials and even cause insulation breakdown, which is related to its own commissioning life and the safety and stability of the power system. Therefore, it is very necessary to design an effective visible light, infrared and point cloud multi-visual modal data fusion method.

[0008] In the prior art, the invention patent with the patent publication number CN111652973A discloses a monitoring method, system and related equipment based on mixed reality. The article discloses that the monitoring system can receive at least two types of image information corresponding to the target space, and use a preset data fusion algorithm to calculate at least two types of image information to generate three-dimensional fused image data, and finally send the three-dimensional fused image data to an external mixed reality device for display. In the prior art, it is the fusion of original values, and it is based on the fusion of two modal data, visible light image and point cloud.

[0009] In the prior art, the invention patent with the patent publication number CN116955846A discloses a cascade information propagation prediction method that integrates topic features and cross-attention. In this paper, different topic features are divided according to the differences between cascade information, and features of different topic features are extracted. According to the cross-attention mechanism, user representation and cascade representation are fused to learn feature expression to obtain prediction results. However, the prior art pays attention to the similarities and differences between cascade information, and performs differentiated processing to extract the main feature values ​​of different information, so as to better predict the cascade diffusion of information. Summary of the invention

[0010] The technical problem to be solved by the present invention is to solve the problem that the scale of two-dimensional images is single, misjudgment warnings may occur during fault identification, and the accuracy of three-dimensional target detection in substations is low.

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

[0012] A method for detecting multi-scale re-decision targets in an air-ground-space UHV substation comprises the following steps:

[0013] S10, acquiring two-dimensional modal data and three-dimensional point cloud modal data; wherein the two-dimensional modal data includes visible light and infrared modal data;

[0014] S20, determining the target location; wherein the method of determining the target location includes: applying two-dimensional modal data to image target location and applying two-dimensional modal data and three-dimensional point cloud modal data to perform cross-modal feature cascade fusion to perform three-dimensional target detection and location;

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

[0016] 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 three-dimensional target detection and positioning is applied, the two-dimensional modal data of different spatial scales, the original two-dimensional modal data and the three-dimensional point cloud modal data are cascaded and fused again to perform three-dimensional target detection and positioning; and the multi-scale re-decision of the UHV substation fault is completed;

[0017] Among them, applying two-dimensional modal data and three-dimensional point cloud modal data to perform cross-modal feature cascade fusion to perform three-dimensional target detection and positioning includes the following steps:

[0018] S221, a single-modal feature extraction module, used to perform single-modal feature extraction on point cloud, visible light and infrared modal data through point cloud, visible light and infrared feature extraction modules respectively;

[0019] S222, a cross-modal feature cascade fusion module, used to gradually fuse point cloud features, visible light features, and infrared features in a residual cascade manner based on two cross attention modules to obtain cross-modal cascade fusion features;

[0020] S223, a three-dimensional target detection and positioning module, is used to predict the target category and three-dimensional position through the target detection module based on the cross-modal cascade fusion features, and calculate the loss between the labels for optimization.

[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] Among them, 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, one of which 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, 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.

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

[0035] ;

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

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

[0038] ;

[0039] ;

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

[0041] ;

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

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

[0044] ;

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

[0046] In one embodiment of the present invention, in step S222, the two cross-attention modules include a first cross-attention module:

[0047] Passing the point cloud features and the visible light features through the first cross attention module to obtain a first similarity between the point cloud features at each three-dimensional position and the visible light features at all two-dimensional positions, and aggregating key visible light features according to the magnitude of the first similarity to obtain complementary visible light features;

[0048] The complementary visible light feature and the point cloud feature are bitwise summed in a residual manner to obtain a point cloud enhancement feature.

[0049] In one embodiment of the present invention, the two cross-attention modules include a second cross-attention module;

[0050] Passing the point cloud enhancement feature and the infrared feature through the second cross attention module to obtain a second similarity between the point cloud enhancement feature at each three-dimensional position and the infrared features at all two-dimensional positions, and aggregating key infrared features according to the second similarity to obtain complementary infrared features;

[0051] The point cloud enhancement feature and the complementary infrared feature are bitwise summed in a residual manner to obtain a cross-modal cascade fusion feature.

[0052] In one embodiment of the present invention, in step S223, three-dimensional target detection and positioning includes:

[0053] Firstly, the cross-modal cascade fusion features are used to classify the three-dimensional objects of the substation through the classification branch in the object detection module, including but not limited to equipment, personnel, apparent defects and thermal defects;

[0054] Then, the cross-modal cascade fusion features are used to locate the three-dimensional target of the substation through the regression branch in the target detection module, including but not limited to length, width, height, and rotation angle;

[0055] Finally, the predicted category, position and actual category, position are used as input, and the entire model is jointly optimized through classification loss function and regression loss function.

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

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

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

[0059] Through two cross-attention cascades to fuse the features of point cloud and visible light and infrared images, the surface features and temperature features are gradually added to the point cloud features, and the features are gradually integrated, thereby improving the accuracy of three-dimensional target detection in substations, realizing the category and location prediction of targets and defects in substations, and improving the panoramic perception ability of equipment, personnel and environment. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0062] Figure 3 This is a diagram of the cross-attention module architecture of an embodiment of the present invention.

[0063] Figure 4This is a diagram of the architecture of a substation target detection model of a cascaded cross-attention module according to an embodiment of the present invention. DETAILED DESCRIPTION

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

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

[0066] See also Figure 1 As shown, the present invention discloses a method for detecting multi-scale re-decision targets in an air-ground-space UHV substation, comprising the following steps:

[0067] S10, acquiring two-dimensional modal data and three-dimensional point cloud modal data; wherein the two-dimensional modal data includes visible light and infrared modal data;

[0068] S20, determining the target location; wherein the method of determining the target location includes: applying two-dimensional modal data to image target location and applying two-dimensional modal data and three-dimensional point cloud modal data to perform cross-modal feature cascade fusion to perform three-dimensional target detection and location;

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

[0070] 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 three-dimensional target detection and positioning is applied, the two-dimensional modal data of different spatial scales, the original two-dimensional modal data and the three-dimensional point cloud modal data are cascaded and fused again to perform three-dimensional target detection and positioning; and the multi-scale re-decision of the UHV substation fault is completed;

[0071] See also Figure 1 As shown, in one embodiment of the present invention, the two-dimensional modal data and the three-dimensional point cloud modal 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. Among them, the two-dimensional modal data includes visible light and infrared modal data.

[0072] See also Figure 1 and Figure 2 As shown, in one embodiment of the present invention, in S20, when applying two-dimensional modality data to image target positioning, the following steps are included:

[0073] 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 time identification network of this solution only performs fault identification on two-dimensional images, and this embodiment does not limit the specific fault identification network.

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

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

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

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

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

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

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

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

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

[0083] ;

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

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

[0086] ;

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

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

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

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

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

[0092] ;

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

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

[0095] ;

[0096] ;

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

[0098] ;

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

[0100] ;

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

[0102] ;

[0103] ;

[0104] ;

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

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

[0107] ;

[0108] ;

[0109] ;

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

[0111] ;

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

[0113] See also Figure 1 and Figure 3As shown, in one embodiment of the present invention, in S20, two-dimensional images are used for image target positioning, mainly for single modality data, lacking an effective multi-visual modality fusion mechanism, resulting in the lack of complementary information between modalities, and being unable to fully utilize the correlation and complementarity between various modality data. Therefore, for target positioning, the present invention can also apply two-dimensional modality data and three-dimensional point cloud modality data for cross-modality feature cascade fusion to perform three-dimensional target detection and positioning, specifically including the following steps:

[0114] S221, a single-modal feature extraction module, is used to perform single-modal feature extraction on point cloud, visible light and infrared modal data through point cloud, visible light and infrared feature extraction modules respectively.

[0115] In one embodiment of the present invention, due to the unique properties of point cloud, visible light and infrared modal data, in this stage, the core features of each modality are extracted through specific feature extraction modules for the three types of visual modal information, thereby achieving accurate mapping of the original modal data to a high-dimensional feature space.

[0116] First, the preprocessed point cloud data is passed through a point cloud feature extraction module, including but not limited to mainstream PointNet, PointNet++, PCT, etc., which utilizes the geometric characteristics of the point cloud, such as the position, density, and direction of the points. The process can be formalized as follows:

[0117] ;

[0118] In the formula, is the input point cloud data, It is the point cloud feature extraction module. Point cloud features.

[0119] Then, the preprocessed visible light image is passed through a visible light feature extraction module, including but not limited to mainstream CNN, Transformer, etc., which utilizes the texture, edge, color, etc. of the visible light image. The process can be formalized as follows:

[0120] ;

[0121] In the formula, is the input visible light image, It is the visible light feature extraction module. Visible light characteristics.

[0122] Finally, the preprocessed infrared image is passed through an infrared feature extraction module, including but not limited to CNN, Transformer, etc., which utilizes the temperature distribution and thermal radiation intensity of the infrared image. The process can be formalized as follows:

[0123] ;

[0124] In the formula, is the input infrared image, It is the infrared feature extraction module. Infrared characteristics.

[0125] S222, a cross-modal feature cascade fusion module, is used to gradually fuse point cloud features, visible light features and infrared features in a residual cascade manner based on two cross-attention modules to obtain cross-modal cascade fusion features.

[0126] See also Figure 1 , Figure 3 and Figure 4 As shown, in one embodiment of the present invention, when two cross-attention modules are gradually merged, the point cloud features and visible light features are first merged, and then merged with the infrared features, using the texture and color information of the visible light image to facilitate the alignment of the infrared features thereto.

[0127] In this embodiment, the two cross-attention modules include a first cross-attention module and a second cross-attention module, and the structures and workflows of the two cross-attention modules are the same, except that the first cross-attention module is used to obtain complementary visible light features, and the second cross-attention module is used to obtain complementary infrared features. The details are as follows:

[0128] In order to effectively integrate the features of the three visual modalities, the cross-attention module based on residual cascade is used in this stage to gradually realize the interaction between point cloud features and visible light and infrared features.

[0129] First, the point cloud features and visible light features are passed through the first cross attention module to calculate the similarity between the point cloud features at each 3D position and the visible light features at all 2D positions. For easy distinction, the similarity between the point cloud features at each 3D position and the visible light features at all 2D positions is defined as the first similarity. According to the size of the first similarity, the key visible light features are aggregated to achieve the extraction of complementary visible light features. The process can be formalized as:

[0130] ;

[0131] In the formula, To complement the visible light characteristics, is the cross attention module. Among them, the three input parameters , and They are used as the query, key and value of the first cross attention module respectively. Secondly, the point cloud features and complementary visible light features are bitwise summed in a residual manner to enhance the point cloud features. The process can be formalized as follows:

[0132] ;

[0133] In the formula, Enhance features for point clouds.

[0134] Then, the point cloud enhancement features and infrared features are passed through the second cross attention module to calculate the similarity between the point cloud enhancement features at each 3D position and the infrared features at all 2D positions. In order to facilitate distinction, the similarity between the point cloud enhancement features at each 3D position and the infrared features at all 2D positions is defined as the second similarity. According to the size of the second similarity, the key infrared features are aggregated to achieve the extraction of complementary infrared features. The process can be formalized as:

[0135] ;

[0136] In the formula, Complementary infrared features.

[0137] Finally, the point cloud enhancement features and complementary infrared features are bitwise summed in a residual manner to obtain cross-modal cascade fusion features to further enhance the point cloud features. The process can be formalized as follows:

[0138] ;

[0139] In the formula, It is a cross-modal cascade fusion feature.

[0140] See also Figure 1 , Figure 3 and Figure 4 As shown, in one embodiment of the present invention, taking the workflow of the first cross-attention module as an example, it is explained how to obtain complementary visible light features.

[0141] In this embodiment, first, the point cloud feature is used as the query in the first cross attention module to perform corresponding feature transformation, and the visible light feature is used as the key and value in the first cross attention module to perform corresponding feature transformation. The process can be formalized as follows:

[0142] ;

[0143] In the formula, , and They correspond to the transformed features of query, key and value in the first cross-attention module respectively. , and They are respectively the transformed features in the first cross attention module , Transformation Features and transformation features The transformation parameters of .

[0144] Then, the transformed features of the first criss-cross attention module and transformation features The similarity between the two is calculated by dot product, and the After normalization, the process can be formalized as:

[0145] ;

[0146] In the formula, is the normalized weight, Expressed as function, is the matrix transpose, is the feature dimension.

[0147] Finally, the transformed features based on the normalized weights and the first criss-cross attention module , weighted average is performed to obtain point cloud enhanced features. The process can be formalized as:

[0148] ;

[0149] Among them, the framework of the second cross-attention module is the same as that of the first cross-attention module, except for the difference in module input and output. The process of the second cross-attention module obtaining complementary infrared features is the same as the process of the first cross-attention module obtaining complementary visible light features. In the second cross-attention module, the point cloud enhancement feature is used as the query in the second cross-attention module for corresponding feature transformation, and the infrared feature is used as the key and value in the second cross-attention module for corresponding feature transformation.

[0150] S223, a three-dimensional target detection and positioning module, is used to predict the target category and three-dimensional position through the target detection module based on the cross-modal cascade fusion features, and calculate the loss between the labels for optimization.

[0151] See also Figure 1 , Figure 3 and Figure 4 As shown, in one embodiment of the present invention, based on the fusion features of the point cloud and visible light and infrared modalities in the previous stage, this stage optimizes and trains the entire model by introducing a general three-dimensional target detection and positioning module, including but not limited to classification and regression branches.

[0152] First, the cross-modal cascade fusion features are used to classify the three-dimensional substation targets through the classification branch in the target detection module, including but not limited to equipment, personnel, apparent defects and thermal defects. Then, the cross-modal cascade fusion features are used to locate the three-dimensional substation targets through the regression branch in the target detection module, including but not limited to length, width, height, and rotation angle. Finally, with the predicted category, position and actual category, position as input, the entire model is jointly optimized through the classification loss function and regression loss function. The overall loss function can be expressed as:

[0153] ;

[0154] In the formula, is the overall loss function, is the classification loss, is the regression loss, is the balance coefficient. The entire trained model is used for target detection.

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

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

[0157] See also Figure 1 As 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 three-dimensional target detection and positioning is applied, the two-dimensional modal data of different spatial scales, the original two-dimensional modal data and the three-dimensional point cloud modal data are again cross-modal feature cascade fused to perform three-dimensional target detection and positioning; and the multi-scale re-decision of the UHV substation fault is completed.

[0158] 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 faults, 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 modal data and three-dimensional point cloud modal data are used for cross-modal feature cascade fusion to perform three-dimensional target detection and positioning, step S30 is used to re-shoot more accurate two-dimensional modal data for the part identified as the fault area, that is, including more accurate visible light and infrared modal data, and the two-dimensional modal data and the original two-dimensional modal data are cascaded and fused with the three-dimensional point cloud modal data features, and S20 is executed again to determine the fault detection and positioning, thereby improving the accuracy of detecting the fault area.

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

[0160] 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 method for detecting multi-scale re-decision targets in space-ground-ground in ultra-high voltage substations, characterized in that: The following steps are involved: S10, acquiring two-dimensional modal data and three-dimensional point cloud modal data; wherein the two-dimensional modal data includes visible light and infrared modal data; S20, determining target positioning; wherein the method of determining target positioning includes: applying two-dimensional modal data to perform image target positioning and applying two-dimensional modal data and three-dimensional point cloud modal data to perform cross-modal feature cascade fusion to perform three-dimensional target detection and positioning; 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 used, the fault recognition network performs fault analysis on images of different spatial scales obtained by re-photographing. When 3D target detection and positioning is used, 2D modal data of different spatial scales, original 2D modal data, and 3D point cloud modal data are fused again through cross-modal feature cascade to perform 3D target detection and positioning. This completes the multi-scale re-decision-making for UHV substation faults. In step S20, cross-modal feature cascade fusion is performed using the two-dimensional modal data and the three-dimensional point cloud modal data to perform three-dimensional target detection and positioning, including the following steps: S221, a single-modal feature extraction module, configured to perform single-modal feature extraction on the point cloud, visible light, and infrared modal data through the point cloud, visible light, and infrared feature extraction modules, respectively; S222, a cross-modal feature cascade fusion module, configured to gradually fuse point cloud features, visible light features, and infrared features in a residual cascade manner based on two cross-attention modules to obtain cross-modal cascade fusion features; S223, a three-dimensional target detection and positioning module, is used to predict the target category and three-dimensional position through the target detection module based on the cross-modal cascade fusion features, and calculate the loss between the labels for optimization.

2. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation according to claim 1, characterized in that: In step S20, image target positioning includes the following steps: S211, constructing a data set A using 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 dataset B as input, performing weighted summation of the feature map and its corresponding weight in the output layer to generate a class activation heat map of the feature map; S214: Perform image fusion on the class activation heat map and the original image in the dataset A to complete the positioning of the specific target in the image.

3. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation according to claim 2, characterized in that: Step S213, applying the gradient weighted class activation mapping algorithm to obtain a class activation heat map, including: S2131, find the pixel in the feature map that has the greatest impact on the classification result and perform gradient backpropagation to obtain the gradient of each pixel area on the feature map, and then calculate the global average of the gradient of each pixel point in the feature map to obtain the feature weight of the feature map; S2132: Perform weighted summation on the feature weights and the corresponding feature maps, activate the regions that are positively correlated with the classification, and suppress the regions that are negatively correlated with the classification through an activation function, to obtain a class activation heat map.

4. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation according to claim 3 is characterized in that: The feature weight is obtained by the following formula: ; Where, 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 heatmap is obtained by solving the partial derivative of the feature map point by point.

5. The method for detecting targets in the space-ground-air multi-scale re-decision-making mode in a UHV substation according to claim 2, characterized in that: Step S214 includes: using a fusion network to perform fault edge detection on the class activation heat map, fusing 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; Among them, 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, one of which 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 the 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, calculate weights for the fault edge image and the original image respectively, and then calculate the weighted average to obtain the fault location fusion image.

6. The method for detecting targets in the space-ground-air multi-scale re-decision-making mode in a UHV substation according to claim 5, characterized in that: The fusion strategy formula of the fusion network based on the global generalized pool is as follows: ; Where, 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 first channels; The weights of the fault edge image and the original image are obtained by the following formula: ; ; Where, It is a generalized pooling operation, and its calculation formula is as follows: ; Where, 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 Rank Elements of the column; The weight of each element in the pooling kernel is obtained by the following formula: ; Where, 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.

7. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation according to claim 1, characterized in that: In step S222, the two cross-attention modules include a first cross-attention module: Passing the point cloud features and the visible light features through the first cross-attention module to obtain a first similarity between the point cloud features at each three-dimensional position and the visible light features at all two-dimensional positions, and aggregating key visible light features based on the magnitude of the first similarity to obtain complementary visible light features; The complementary visible light feature and the point cloud feature are bitwise summed in a residual manner to obtain a point cloud enhanced feature.

8. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation according to claim 7, characterized in that: The two crisscross attention modules include a second crisscross attention module; Passing the point cloud enhanced features and the infrared features through the second cross attention module to obtain a second similarity between the point cloud enhanced features at each three-dimensional position and the infrared features at all two-dimensional positions, and aggregating key infrared features based on the magnitude of the second similarity to obtain complementary infrared features; The point cloud enhancement feature and the complementary infrared feature are bitwise summed in a residual manner to obtain a cross-modal cascade fusion feature.

9. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation according to claim 1, characterized in that: In step S223, three-dimensional target detection and positioning includes: First, the cross-modal cascade fusion features are used to classify substation three-dimensional objects through the classification branch in the object detection module, including but not limited to equipment, personnel, surface defects and thermal defects; Then, the cross-modal cascade fusion features are used to locate the three-dimensional target of the substation through the regression branch in the target detection module, including but not limited to length, width, height, and rotation angle; Finally, the predicted category, position and actual category, position are used as input, and the entire model is jointly optimized through the classification loss function and regression loss function.

10. The method for detecting targets in the space-ground-air multi-scale re-decision process in a UHV substation 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; based on target positioning, the ground inspection robot takes images of possible fault points close to the ground at close range 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.