A method, device, equipment and medium for locating faults in a transmission line
By dividing fault units and combining deep neural network and multi-input convolutional neural network analysis technology to integrate image and spatial data, the problem of poor fault location of transmission lines is solved and higher accuracy and reliability are achieved.
Patent Information
- Application Number
- CN202410896196.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-05
AI Technical Summary
The existing technology is ineffective in locating transmission line faults, and it is difficult to accurately locate faults caused by complex causes.
By acquiring fault signals from transmission lines, the fault area is divided and fault units are generated. Deep neural networks and multi-input convolutional neural networks are used to analyze images, lidar and electrical data, and image and spatial fault results are integrated to generate accurate fault location data.
It improves the accuracy and reliability of transmission line fault location, can identify difficult-to-detect fault locations, and effectively integrates different types of signals, improving the ability to identify hidden faults and improving the comprehensiveness of fault analysis.
Smart Images

Figure CN118425691B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a method, device, equipment and medium for locating a transmission line fault. Background Art
[0002] Transmission lines are a key component of the power transmission system, responsible for efficiently and long-distance transmission of electricity generated by large-scale power plants far from the load center to the user's location. However, since transmission lines usually cover hundreds or even thousands of kilometers, crossing different terrains such as cities, villages, mountains, rivers, and covering a vast area, and involving a wide range, and transmission lines are usually built in various environments, such as mountains, deserts, and sea areas, they are more likely to be affected by extreme weather such as wind, rain, lightning, and strong winds. At the same time, they are also affected by external factors such as vegetation, animals, and human damage, which makes them prone to failure, bringing certain challenges to the operation of the power grid.
[0003] In the prior art, in order to accurately locate the fault position after a fault occurs, the prior art mainly adopts distributed traveling wave measurement technology. This technology installs monitoring terminals at multiple points of the transmission line. These terminals can capture the power frequency fault signal and traveling wave fault signal near the fault point at the moment of the fault, thereby determining the fault position. However, due to the complex construction environment of the transmission line, the causes of the fault are complex and numerous, and the distributed traveling wave measurement technology can only detect faults caused by specific reasons. Few faults can be located, resulting in poor transmission line fault location effect. Summary of the invention
[0004] The problem solved by the present invention is how to improve the effect of locating faults in power transmission lines.
[0005] To solve the above problems, in a first aspect, the present invention provides a method for locating a transmission line fault, comprising:
[0006] Determine a fault area according to the acquired line fault signal of the transmission line, divide the fault area into preset unit sizes, and generate at least one fault unit;
[0007] Respectively acquiring pre-fault image data and post-fault image data of each of the faulty units, and respectively extracting pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data;
[0008] Determine the similarity between the pre-fault image feature and the post-fault image feature, and if the similarity is less than a preset similarity, input the post-fault image feature into a trained deep neural network model to generate an image fault result;
[0009] Acquire the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features to generate a spatial fault result, integrate the image fault result and the spatial fault result to generate first fault location data;
[0010] If the similarity is greater than or equal to the preset similarity, obtaining electrical data and infrared thermal imaging data of the faulty unit, inputting the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generating second fault location data;
[0011] The first fault location data or the second fault location data of all the fault units are integrated to generate a transmission line fault location set.
[0012] Optionally, the image fault result includes at least one image fault position and a corresponding first confidence, the deep neural network model includes an input layer, a multi-scale convolution block, an adaptive receptive field attention layer, a global path decoder, a local path decoder, a confidence unit and an output layer, the input layer, the multi-scale convolution block, the adaptive receptive field attention layer and the global path decoder are connected in sequence, the local path decoder, the confidence unit and the output layer are connected in sequence, and the input end of the local path decoder is also connected to the output end of the adaptive receptive field attention layer and the output end of the global path decoder respectively;
[0013] The input layer is used to receive the post-fault image features;
[0014] The multi-scale convolution block is used to extract multi-scale features of the post-fault image features;
[0015] The adaptive receptive field attention layer is used to use an attention mechanism to adjust the attention distribution of the multi-scale features to generate enhanced multi-scale features;
[0016] The global path decoder is used to decode the global features of the enhanced multi-scale features by upsampling operation and output global decoded data;
[0017] The local path decoder is used to decode the local features of the enhanced multi-scale features, output local decoded data, and fuse the global decoded data and the local decoded data to generate dual-path decoded data;
[0018] The confidence unit is used to generate a confidence corresponding to the dual-path decoded data according to the attention distribution and the dual-path decoded data;
[0019] The output layer is used to output the image fault position and the corresponding first confidence according to the dual-path decoded data and the confidence corresponding to the dual-path decoded data.
[0020] Optionally, the multi-input convolutional neural network model includes an electrical input layer, an electrical feature encoder, an image input layer, an image feature encoder, a feature fusion unit, a deep feature learning unit and an output layer, the electrical input layer and the electrical feature encoder are connected in sequence, the image input layer and the image feature encoder are connected in sequence, the input end of the feature fusion unit is connected to the output end of the electrical feature encoder and the output end of the image feature encoder respectively, and the output end of the feature fusion unit, the deep feature learning unit and the output layer are connected in sequence;
[0021] The electrical input layer is used to preprocess the electrical data to generate electrical time series data;
[0022] The electrical feature encoder is used to capture the electrical time series features of the electrical time series data using a bidirectional LSTM;
[0023] The image input layer is used to pre-process the infrared thermal imaging data to generate standard image data;
[0024] The image feature encoder is used to extract the image spatiotemporal features of the standard image data by using a variable convolutional layer and a spatiotemporal attention mechanism;
[0025] The feature fusion unit is used to adopt an attention weighted fusion strategy to fuse the electrical time series features and the image spatiotemporal features to generate fused features;
[0026] The deep feature learning unit is used to deeply mine the fusion features and generate fault category scores;
[0027] The output layer is used to generate the second fault location data according to the fault category score.
[0028] Optionally, the spatial fault result includes at least one spatial fault position and a corresponding second confidence level, and the integrating the image fault result and the spatial fault result to generate first fault location data includes:
[0029] Extracting the same fault position of the image fault position and the spatial fault position, and the corresponding first confidence level of the same position and second confidence level of the same position;
[0030] The first confidence level at the same position and the second confidence level at the same position are input into a confidence level trade-off formula to generate a balanced confidence level for each of the same fault positions; wherein the confidence level trade-off formula includes:
[0031] P=α*P(A)+β*P(B) ;
[0032] in, P is the equilibrium confidence, α is the first weight, x is the first confidence level of the same position, β is the second weight, y is the second confidence level of the same position;
[0033] The first fault location data is generated according to the same fault position corresponding to the largest balance confidence value.
[0034] Optionally, determining the similarity between the pre-fault image feature and the post-fault image feature includes:
[0035] Respectively extracting a pre-fault feature vector of the pre-fault image feature and a post-fault feature vector of the post-fault image feature;
[0036] Performing feature normalization on the pre-fault feature vector and the post-fault feature vector to generate a normalized pre-fault feature vector and a normalized post-fault feature vector;
[0037] The cosine similarity between the normalized pre-fault feature vector and the normalized post-fault feature vector is determined to generate the similarity.
[0038] Optionally, after integrating the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set, the method further includes:
[0039] Extracting the number of fault points and the distance between the fault points in the transmission line fault location set;
[0040] Generate an abnormal warning report based on the number of fault points and the distance between the fault points.
[0041] Optionally, the respectively acquiring the pre-fault image data and the post-fault image data of each of the faulty units comprises:
[0042] Respectively acquiring an original image before and after the failure of each of the faulty units;
[0043] Grayscale, filter and image enhancement are performed on the original image before the fault and the original image after the fault to generate the image data before the fault and the image data after the fault.
[0044] In a second aspect, the present invention provides a transmission line fault location device, comprising:
[0045] An area module, configured to determine a fault area according to the acquired line fault signal of the transmission line, and divide the fault area into preset unit sizes to generate at least one fault unit;
[0046] An image module, used to respectively obtain pre-fault image data and post-fault image data of each of the faulty units, and respectively extract pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data;
[0047] A similarity module is used to determine the similarity between the pre-fault image features and the post-fault image features. If the similarity is less than a preset similarity, the post-fault image features are input into a trained deep neural network model to generate an image fault result.
[0048] A first fault module is used to obtain the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features, generate a spatial fault result, integrate the image fault result and the spatial fault result, and generate first fault location data;
[0049] a second fault module, configured to obtain electrical data and infrared thermal imaging data of the faulty unit if the similarity is greater than or equal to the preset similarity, input the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generate second fault location data;
[0050] An integration module is used to integrate the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set.
[0051] In a third aspect, the present invention provides an electronic device, including a memory and a processor;
[0052] The memory is used to store computer programs;
[0053] The processor is used to implement the power transmission line fault locating method as described in the first aspect when executing the computer program.
[0054] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for locating a power transmission line fault as described in the first aspect is implemented.
[0055] The beneficial effects of the power transmission line fault location method, device, equipment and medium of the present invention are:
[0056] By analyzing the line fault signal of the transmission line, the approximate area where the fault occurs can be determined, and the area can be further subdivided into at least one fault unit. Fault analysis of each fault unit is helpful for the refinement and pertinence of subsequent processing, improving the accuracy and efficiency of calculation and analysis, reducing difficulty, and reducing unnecessary global search. For each fault unit, by comparing the similarity of the image data features before and after the fault, when the similarity is less than the preset similarity, it means that the fault unit has an area with obvious changes in the external structure. The deep neural network model is used for image analysis to generate preliminary image fault location results to effectively identify the difficult-to-detect fault location. At the same time, according to the pre-fault spatial features and post-fault spatial features of the laser radar scanning data corresponding to the fault unit, the pre-fault spatial features and post-fault spatial features are compared to generate spatial fault results, so as to locate the fault again at the spatial level, provide supplementary information of the three-dimensional perspective for auxiliary analysis and judgment, improve the accuracy and reliability of transmission line fault location, and integrate the image fault results and spatial fault results to obtain accurate first fault location data. When the similarity is greater than or equal to the preset similarity, it means that there is no obvious change area in the external structure of the faulty unit. It is necessary to perform internal fault analysis on the transmission line corresponding to the faulty unit. Combining electrical data and infrared thermal imaging data, a multi-input convolutional neural network model is used for deep joint analysis, which can effectively integrate different types of signals. The second fault location data obtained not only takes into account the changes in electrical performance, but also covers thermal anomaly detection, which greatly improves the ability to identify hidden faults. By analyzing faults in both external and internal analysis methods, a more comprehensive fault analysis can be performed compared to the existing technology, which greatly improves the effect of transmission line fault location. Finally, the first fault location data or the second fault location data of all faulty units are integrated to generate a transmission line fault location set, which can intuitively display each fault point. The fault point coordinates and fault causes of each fault unit in the transmission line fault location set also potentially reveal the correlation between each fault, providing intuitive and detailed information support for subsequent maintenance decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A schematic diagram of a flow chart of a method for locating a power transmission line fault provided by an embodiment of the present invention;
[0058] Figure 2 A schematic diagram of the structure of a deep neural network model provided by an embodiment of the present invention;
[0059] Figure 3 A schematic diagram of the structure of a multi-input convolutional neural network model provided by an embodiment of the present invention;
[0060] Figure 4A schematic diagram of the structure of a transmission line fault locating device provided by an embodiment of the present invention;
[0061] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0062] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0063] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0064] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0065] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0066] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0067] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a method, device, equipment and medium for locating a power transmission line fault.
[0068] like Figure 1As shown, a method for locating a power transmission line fault provided by an embodiment of the present invention includes:
[0069] S1, determining a fault area according to an acquired line fault signal of a power transmission line, dividing the fault area into preset unit sizes, and generating at least one fault unit.
[0070] Specifically, the current power system management center will set up detection terminals, such as fault indicators and sensors, on the transmission lines to detect line faults in a timely manner. After confirming that the transmission line has a fault through various devices, the line fault signal of the monitoring equipment can be used to roughly determine the approximate area of the fault location, that is, the fault area. Due to different fault causes, the scope of the fault area is also different, generally a few kilometers or even hundreds or thousands of kilometers, and the fault points generally include multiple ones. Therefore, in order to reduce the difficulty of calculation and improve the calculation accuracy, it is necessary to segment the fault area and divide the fault area into preset unit sizes to obtain at least one fault unit. Exemplarily, the preset unit size is set according to the computing power, jurisdiction, or maximum image resolution.
[0071] S2, respectively acquiring the pre-fault image data and the post-fault image data of each of the faulty units, and respectively extracting the pre-fault image features of the pre-fault image data and the post-fault image features of the post-fault image data.
[0072] Specifically, due to different fault causes, the transmission line fault conditions are also different. Transmission line fault conditions are generally divided into external structural faults and internal line faults. External structural faults include line strand breakage, corrosion, wear, ice coating, component missing and falling off, etc. Internal line faults include short circuit, virtual connection, phase loss, flashover, overload and overheating, etc. External structural faults can generally be directly obtained through observation. In order to improve the digital and automatic nature of fault judgment, the pre-fault image data and post-fault image data of each faulty unit are obtained respectively, and the pre-fault image features of the pre-fault image data and the post-fault image features of the post-fault image data are extracted respectively, so as to facilitate the subsequent judgment of whether the cause of the fault is an external structural fault.
[0073] S3, determining the similarity between the pre-fault image features and the post-fault image features, and if the similarity is less than a preset similarity, inputting the post-fault image features into a trained deep neural network model to generate an image fault result.
[0074] Specifically, the similarity between the image features before and after the fault is determined. If the similarity is less than the preset similarity, it means that the external structure of the faulty unit has changed before and after the fault, that is, the fault cause is an external structural fault. By inputting the image features after the fault into the trained deep neural network model, the fault position coordinates of the faulty unit, that is, the image fault result, can be obtained. Exemplarily, the preset similarity is set according to the actual situation.
[0075] S4, obtaining the laser radar scanning data of the faulty unit, and extracting the pre-fault spatial features and post-fault spatial features of the laser radar scanning data, comparing the pre-fault spatial features and the post-fault spatial features, generating a spatial fault result, integrating the image fault result and the spatial fault result, and generating first fault location data.
[0076] Specifically, in order to improve the accuracy of fault location, after obtaining the image fault result through the trained deep neural network model, the laser radar scanning data of the faulty unit is used for auxiliary judgment, and the spatial features before the fault and the spatial features after the fault are compared to generate a spatial fault result, so as to judge the fault coordinates of the faulty unit in the spatial dimension, and then integrate the image fault result and the spatial fault result to obtain the first fault location data determined from the two dimensions of image and space, thereby improving the accuracy of fault location. Exemplarily, the image fault result and the spatial fault result can be integrated by a weighted method to generate the first fault location data.
[0077] S5. If the similarity is greater than or equal to the preset similarity, the electrical data and infrared thermal imaging data of the faulty unit are obtained, and the electrical data and the infrared thermal imaging data are input into a trained multi-input convolutional neural network model to generate second fault location data.
[0078] Specifically, if the similarity is greater than or equal to the preset similarity, it means that there is no obvious change in the external structure of the faulty unit before and after the fault, that is, the transmission line fault is an internal line fault. At this time, the fault location is determined based on the electrical data and infrared thermal imaging data, considering the changes in electrical performance and thermal anomaly detection, and using a multi-input convolutional neural network model for in-depth joint analysis, accurate second fault location data can be obtained.
[0079] S6, integrating the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set.
[0080] Specifically, the coordinates of the fault point can be obtained through the first fault location data and the second fault location data. According to the longitude and latitude of the fault point coordinates, the corresponding fault units are sorted to generate a final transmission line fault location set.
[0081] In this embodiment, the approximate area where the fault occurs can be determined by the line fault signal of the transmission line, and the area is further subdivided into at least one fault unit. Fault analysis is performed on each fault unit, which helps to refine and target the subsequent processing, improve the accuracy and efficiency of calculation and analysis, reduce the difficulty, and reduce unnecessary global search. For each fault unit, by comparing the similarity of the image data features before and after the fault, when the similarity is less than the preset similarity, it means that the fault unit has an area with obvious changes in the external structure, and the transmission line fault is an external line fault. The deep neural network model is used for image analysis to generate preliminary image fault location results to effectively identify the difficult-to-detect fault location. At the same time, according to the pre-fault spatial features and post-fault spatial features of the laser radar scanning data corresponding to the fault unit, the pre-fault spatial features and the post-fault spatial features are compared to generate spatial fault results, so as to perform fault location again at the spatial level, provide supplementary information of the three-dimensional perspective for auxiliary analysis and judgment, improve the accuracy and reliability of transmission line fault location, and then integrate the image fault results and spatial fault results to obtain accurate first fault location data. When the similarity is greater than or equal to the preset similarity, it means that there is no obvious change area in the external structure of the faulty unit. The transmission line fault is an internal line fault. It is necessary to perform internal fault analysis on the transmission line corresponding to the faulty unit. Combining electrical data and infrared thermal imaging data, a multi-input convolutional neural network model is used for deep joint analysis, which can effectively integrate different types of signals. The second fault location data obtained not only takes into account the changes in electrical performance, but also covers thermal anomaly detection, which greatly improves the ability to identify hidden faults. By analyzing faults in two ways, external analysis and internal analysis, a more comprehensive fault analysis can be performed compared to the existing technology, which greatly improves the effect of transmission line fault location. Finally, the first fault location data or the second fault location data of all faulty units are integrated to generate a transmission line fault location set, which can intuitively display each fault point. Then, through the fault point coordinates and fault causes of each fault unit in the transmission line fault location set, the correlation between each fault is potentially revealed, providing intuitive and detailed information support for subsequent maintenance decisions.
[0082] Optionally, the image fault result includes at least one image fault position and a corresponding first confidence, the deep neural network model includes an input layer, a multi-scale convolution block, an adaptive receptive field attention layer, a global path decoder, a local path decoder, a confidence unit and an output layer, the input layer, the multi-scale convolution block, the adaptive receptive field attention layer and the global path decoder are connected in sequence, the local path decoder, the confidence unit and the output layer are connected in sequence, and the input end of the local path decoder is also connected to the output end of the adaptive receptive field attention layer and the output end of the global path decoder respectively;
[0083] The input layer is used to receive the post-fault image features;
[0084] The multi-scale convolution block is used to extract multi-scale features of the post-fault image features;
[0085] The adaptive receptive field attention layer is used to use an attention mechanism to adjust the attention distribution of the multi-scale features to generate enhanced multi-scale features;
[0086] The global path decoder is used to decode the global features of the enhanced multi-scale features by upsampling operation and output global decoded data;
[0087] The local path decoder is used to decode the local features of the enhanced multi-scale features, output local decoded data, and fuse the global decoded data and the local decoded data to generate dual-path decoded data;
[0088] The confidence unit is used to generate a confidence corresponding to the dual-path decoded data according to the attention distribution and the dual-path decoded data;
[0089] The output layer is used to output the image fault position and the corresponding first confidence according to the dual-path decoded data and the confidence corresponding to the dual-path decoded data.
[0090] Specifically, Figure 2As shown, the deep neural network model includes an input layer, a multi-scale convolution block, an adaptive receptive field attention layer, a global path decoder, a local path decoder, a confidence unit and an output layer. The input layer, the multi-scale convolution block, the adaptive receptive field attention layer and the global path decoder are connected in sequence, the local path decoder, the confidence unit and the output layer are connected in sequence, and the input end of the local path decoder is also connected to the output end of the adaptive receptive field attention layer and the output end of the global path decoder respectively; the input layer is used to receive the post-fault image features and adjust the post-fault image features to a uniform size, for example, (H, W, C), where H is the height, W is the width, and C is the number of channels. The multi-scale convolution block is used to extract the multi-scale features of the post-fault image features, which uses multiple convolution layers, each followed by an activation function (such as ReLU) and a pooling layer (such as maximum pooling), and gradually extracts low-level to high-level features in the image, and the multi-scale convolution block is provided with a residual block, which helps to solve the gradient disappearance problem and accelerate the training process. The adaptive receptive field attention layer is used to use the attention mechanism to adjust the attention distribution of multi-scale features and generate enhanced multi-scale features. It applies the adaptive receptive field attention mechanism to dynamically adjust the weights of feature maps of different scales, emphasize the feature extraction of the fault area, and suppress background noise. The global path decoder is used to decode the global features of the enhanced multi-scale features by upsampling operation and output global decoded data. It focuses on the overall context understanding and gradually restores the image resolution through upsampling. The local path decoder is used to decode the local features of the enhanced multi-scale features, output local decoded data, and fuse the global decoded data and the local decoded data to generate dual-path decoded data. It focuses on the reconstruction of detail features, receives information from the specific layer of the feature extraction module, and fuses the global path information through jump connections to enhance the parsing ability of local fault features. The two paths transmit information to each other through the interactive layer during the decoding process to achieve the coordinated optimization of global and local features. The confidence unit is used to generate the confidence corresponding to the dual-path decoded data according to the attention distribution and the dual-path decoded data. After the feature extraction and decoding process, an auxiliary network, namely the attention-guided confidence network, is introduced, which is specifically used to evaluate the confidence of fault recognition based on the attention distribution of the feature map. The network learns to extract clues reflecting the model's confidence from the feature map and converts them into a confidence score for fault location; the output layer is used to output the image fault location and the corresponding first confidence based on the dual-path decoded data and the confidence corresponding to the dual-path decoded data.
[0091] Optionally, the multi-input convolutional neural network model includes an electrical input layer, an electrical feature encoder, an image input layer, an image feature encoder, a feature fusion unit, a deep feature learning unit and an output layer, the electrical input layer and the electrical feature encoder are connected in sequence, the image input layer and the image feature encoder are connected in sequence, the input end of the feature fusion unit is connected to the output end of the electrical feature encoder and the output end of the image feature encoder respectively, and the output end of the feature fusion unit, the deep feature learning unit and the output layer are connected in sequence;
[0092] The electrical input layer is used to preprocess the electrical data to generate electrical time series data;
[0093] The electrical feature encoder is used to capture the electrical time series features of the electrical time series data using a bidirectional LSTM;
[0094] The image input layer is used to pre-process the infrared thermal imaging data to generate standard image data;
[0095] The image feature encoder is used to extract the image spatiotemporal features of the standard image data by using a variable convolutional layer and a spatiotemporal attention mechanism;
[0096] The feature fusion unit is used to adopt an attention weighted fusion strategy to fuse the electrical time series features and the image spatiotemporal features to generate fused features;
[0097] The deep feature learning unit is used to deeply mine the fusion features and generate fault category scores;
[0098] The output layer is used to generate the second fault location data according to the fault category score.
[0099] Specifically, Figure 3As shown, the multi-input convolutional neural network model includes an electrical input layer, an electrical feature encoder, an image input layer, an image feature encoder, a feature fusion unit, a deep feature learning unit and an output layer. The electrical input layer and the electrical feature encoder are connected in sequence, the image input layer and the image feature encoder are connected in sequence, the input end of the feature fusion unit is connected to the output end of the electrical feature encoder and the output end of the image feature encoder respectively, and the output end of the feature fusion unit, the deep feature learning unit and the output layer are connected in sequence; the electrical input layer is used to preprocess electrical data and generate electrical time series data. It receives time series data of electrical parameters (such as current, voltage, power, etc.) and converts them into a vector form suitable for network input through an embedding layer; the electrical feature encoder is used to use a bidirectional LSTM to capture the electrical time series features of the electrical time series data, and it introduces a gating mechanism to control the flow of information and enhance the ability to capture abnormal patterns; the image input layer is used to preprocess infrared thermal imaging data, for example, such as normalization, cropping and enhancement, to generate standard image data; the image feature encoder is used to use a variable convolution layer and spatiotemporal attention The deformable convolution is a kind of neural network that extracts the image spatiotemporal features of standard image data. Compared with traditional convolution, the deformable convolution can dynamically adjust the shape of the convolution kernel, better adapt to the irregular fault features in the image, and improve the flexibility and accuracy of the model. In addition, the spatiotemporal attention mechanism is added in the image feature extraction process, which not only focuses on the significant areas in the image, but also considers the importance of features that change over time, so that the model can distinguish the pattern of fault evolution over time. The feature fusion unit is used to adopt an attention-weighted fusion strategy to fuse electrical time series features and image spatiotemporal features to generate fused features. It uses a multi-layer perceptron (MLP) to predict the fusion weights, and then fuses the electrical features with the image features through the attention-weighted fusion strategy based on these weights. The deep feature learning unit is used to deeply mine the fused features and generate fault category scores. It sends the fused features to a deeper convolution layer or a fully connected layer to further extract high-level features and enhance the expression ability of the model. At the same time, residual connections are added to help the gradient to smoothly back propagate, alleviate the gradient vanishing problem, and accelerate the training process. The output layer is used to generate the second fault location data based on the fault category score.
[0100] Optionally, the spatial fault result includes at least one spatial fault position and a corresponding second confidence level, and the integrating the image fault result and the spatial fault result to generate first fault location data includes:
[0101] Extracting the same fault position of the image fault position and the spatial fault position, and the corresponding first confidence level of the same position and second confidence level of the same position;
[0102] The first confidence level at the same position and the second confidence level at the same position are input into a confidence level trade-off formula to generate a balanced confidence level for each of the same fault positions; wherein the confidence level trade-off formula includes:
[0103] P=α*P(A)+β*P(B) ;
[0104] in, P is the equilibrium confidence, α is the first weight, x is the first confidence level of the same position, β is the second weight, y is the second confidence level of the same position;
[0105] The first fault location data is generated according to the same fault position corresponding to the largest balance confidence value.
[0106] Specifically, the image fault position of the image fault result and the spatial fault position of the spatial fault result have the same fault point, that is, the same fault position, that is, the image fault result and the spatial fault result have corresponding first confidence and second confidence for the same fault point, that is, each identical fault position also has corresponding first confidence and second confidence, so the first confidence and second confidence corresponding to each identical fault position are input into the confidence trade-off formula, the balanced confidence corresponding to the identical fault position is output, the balanced confidence corresponding to each identical fault position is compared, and the identical fault position corresponding to the maximum balanced confidence is taken as the first fault location data. This embodiment can comprehensively consider the image fault results and spatial fault results obtained by the two judgment methods, thereby improving the accuracy of positioning.
[0107] Optionally, determining the similarity between the pre-fault image feature and the post-fault image feature includes:
[0108] Respectively extracting a pre-fault feature vector of the pre-fault image feature and a post-fault feature vector of the post-fault image feature;
[0109] Performing feature normalization on the pre-fault feature vector and the post-fault feature vector to generate a normalized pre-fault feature vector and a normalized post-fault feature vector;
[0110] The cosine similarity between the normalized pre-fault feature vector and the normalized post-fault feature vector is determined to generate the similarity.
[0111] Specifically, a convolutional neural network can be used to extract the pre-fault feature vector of the pre-fault image feature and the post-fault feature vector of the post-fault image feature respectively; the pre-fault feature vector and the post-fault feature vector are feature normalized to generate the normalized pre-fault feature vector and the normalized post-fault feature vector; the cosine similarity between the normalized pre-fault feature vector and the normalized post-fault feature vector is determined to generate the similarity. The cosine similarity measures the similarity of the directions of two vectors, and the value range is between -1 and 1. The closer the value is to 1, the more consistent the direction is, that is, the higher the similarity is.
[0112] Optionally, after integrating the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set, the method further includes:
[0113] Extracting the number of fault points and the distance between the fault points in the transmission line fault location set;
[0114] Generate an abnormal warning report based on the number of fault points and the distance between the fault points.
[0115] Specifically, an abnormal warning report is generated according to the number of fault points and the distance between the fault points, and the density between each fault point is calculated according to the distance between the fault points. When the number of fault points is greater than the preset number of points and the density is greater than the preset density, a special abnormal warning report is output; when the number of fault points is less than or equal to the preset number of points and the density is greater than the preset density, an intermediate abnormal warning report is output; when the number of fault points is less than or equal to the preset number of points and the density is less than or equal to the preset density, a low-level abnormal warning report is output, thereby providing intuitive and detailed information support for subsequent transmission line processing.
[0116] Optionally, the respectively acquiring the pre-fault image data and the post-fault image data of each of the faulty units comprises:
[0117] Respectively acquiring an original image before and after the failure of each of the faulty units;
[0118] Grayscale, filter and image enhancement are performed on the original image before the fault and the original image after the fault to generate the image data before the fault and the image data after the fault.
[0119] Specifically, graying the original image before and after the fault, and converting the color image to a grayscale image can reduce the complexity of processing and reduce the demand for computing resources. Filtering is mainly used to remove noise from the image or smooth the image, and can also be used to sharpen the image to enhance the edges and details. The specific choice of filter (such as Gaussian filter for noise reduction, Laplacian filter or Unsharp Masking for sharpening) depends on the image quality and subsequent processing requirements. The image enhancement step can significantly improve the visual quality and analysis performance of the image, such as improving the global contrast of the image through histogram equalization, or using homomorphic filtering to process the low-frequency (light) and high-frequency (detail) components of the image respectively, thereby improving the readability and analysis accuracy of the image without changing the essential characteristics of the image.
[0120] like Figure 4 As shown, a transmission line fault location device 400 provided in an embodiment of the present invention includes:
[0121] The area module 410 is used to determine the fault area according to the acquired line fault signal of the transmission line, and divide the fault area into preset unit sizes to generate at least one fault unit;
[0122] An image module 420, configured to respectively obtain pre-fault image data and post-fault image data of each of the faulty units, and respectively extract pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data;
[0123] A similarity module 430 is used to determine the similarity between the pre-fault image feature and the post-fault image feature. If the similarity is less than a preset similarity, the post-fault image feature is input into a trained deep neural network model to generate an image fault result.
[0124] A first fault module 440 is used to obtain the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features, generate a spatial fault result, integrate the image fault result and the spatial fault result, and generate first fault location data;
[0125] A second fault module 450 is configured to obtain electrical data and infrared thermal imaging data of the faulty unit if the similarity is greater than or equal to the preset similarity, input the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generate second fault location data;
[0126] The integration module 460 is used to integrate the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set.
[0127] like Figure 5 As shown, an electronic device 500 provided in an embodiment of the present invention includes a memory 510 and a processor 520; the memory 510 is used to store a computer program; the processor 520 is used to implement the above-mentioned transmission line fault location method when executing the computer program.
[0128] In other words, an electronic device 500 includes a memory 510 and a processor 520 coupled to the memory 510; the memory 510 is configured to store a computer program; and the processor 520 is configured to perform the following operations when executing the computer program:
[0129] Determine a fault area according to the acquired line fault signal of the transmission line, divide the fault area into preset unit sizes, and generate at least one fault unit;
[0130] Respectively acquiring pre-fault image data and post-fault image data of each of the faulty units, and respectively extracting pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data;
[0131] Determine the similarity between the pre-fault image feature and the post-fault image feature, and if the similarity is less than a preset similarity, input the post-fault image feature into a trained deep neural network model to generate an image fault result;
[0132] Acquire the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features to generate a spatial fault result, integrate the image fault result and the spatial fault result to generate first fault location data;
[0133] If the similarity is greater than or equal to the preset similarity, obtaining electrical data and infrared thermal imaging data of the faulty unit, inputting the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generating second fault location data;
[0134] The first fault location data or the second fault location data of all the fault units are integrated to generate a transmission line fault location set. An embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the transmission line fault location method as described above is implemented.
[0135] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:
[0136] Determine a fault area according to the acquired line fault signal of the transmission line, divide the fault area into preset unit sizes, and generate at least one fault unit;
[0137] Respectively acquiring pre-fault image data and post-fault image data of each of the faulty units, and respectively extracting pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data;
[0138] Determine the similarity between the pre-fault image feature and the post-fault image feature, and if the similarity is less than a preset similarity, input the post-fault image feature into a trained deep neural network model to generate an image fault result;
[0139] Acquire the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features to generate a spatial fault result, integrate the image fault result and the spatial fault result to generate first fault location data;
[0140] If the similarity is greater than or equal to the preset similarity, obtaining electrical data and infrared thermal imaging data of the faulty unit, inputting the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generating second fault location data;
[0141] The first fault location data or the second fault location data of all the fault units are integrated to generate a transmission line fault location set. An electronic device 500 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 500 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 500 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0142] The electronic device 500 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0143] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0144] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for locating a transmission line fault, characterized in that: include: Determine a fault area according to the acquired line fault signal of the transmission line, divide the fault area into preset unit sizes, and generate at least one fault unit; Respectively acquiring pre-fault image data and post-fault image data of each of the faulty units, and respectively extracting pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data; Determine the similarity between the pre-fault image feature and the post-fault image feature, and if the similarity is less than a preset similarity, input the post-fault image feature into a trained deep neural network model to generate an image fault result; Acquire the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features to generate a spatial fault result, integrate the image fault result and the spatial fault result to generate first fault location data; If the similarity is greater than or equal to the preset similarity, obtaining electrical data and infrared thermal imaging data of the faulty unit, inputting the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generating second fault location data; Integrate the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set; The image fault result includes at least one image fault position and a corresponding first confidence, the deep neural network model includes an input layer, a multi-scale convolution block, an adaptive receptive field attention layer, a global path decoder, a local path decoder, a confidence unit and an output layer, the input layer, the multi-scale convolution block, the adaptive receptive field attention layer and the global path decoder are connected in sequence, the local path decoder, the confidence unit and the output layer are connected in sequence, and the input end of the local path decoder is also connected to the output end of the adaptive receptive field attention layer and the output end of the global path decoder respectively; The input layer is used to receive the post-fault image features; The multi-scale convolution block is used to extract multi-scale features of the post-fault image features; The adaptive receptive field attention layer is used to use an attention mechanism to adjust the attention distribution of the multi-scale features to generate enhanced multi-scale features; The global path decoder is used to decode the global features of the enhanced multi-scale features by upsampling operation and output global decoded data; The local path decoder is used to decode the local features of the enhanced multi-scale features, output local decoded data, and fuse the global decoded data and the local decoded data to generate dual-path decoded data; The confidence unit is used to generate a confidence corresponding to the dual-path decoded data according to the attention distribution and the dual-path decoded data; The output layer is used to output the image fault position and the corresponding first confidence according to the dual-path decoded data and the confidence corresponding to the dual-path decoded data; The multi-input convolutional neural network model includes an electrical input layer, an electrical feature encoder, an image input layer, an image feature encoder, a feature fusion unit, a deep feature learning unit and an output layer, wherein the electrical input layer and the electrical feature encoder are connected in sequence, the image input layer and the image feature encoder are connected in sequence, the input end of the feature fusion unit is connected to the output end of the electrical feature encoder and the output end of the image feature encoder respectively, and the output end of the feature fusion unit, the deep feature learning unit and the output layer are connected in sequence; The electrical input layer is used to preprocess the electrical data to generate electrical time series data; The electrical feature encoder is used to capture the electrical time series features of the electrical time series data using a bidirectional LSTM; The image input layer is used to pre-process the infrared thermal imaging data to generate standard image data; The image feature encoder is used to extract the image spatiotemporal features of the standard image data by using a variable convolutional layer and a spatiotemporal attention mechanism; The feature fusion unit is used to adopt an attention weighted fusion strategy to fuse the electrical time series features and the image spatiotemporal features to generate fused features; The deep feature learning unit is used to deeply mine the fusion features and generate fault category scores; The output layer is used to generate the second fault location data according to the fault category score; The spatial fault result includes at least one spatial fault position and a corresponding second confidence level, and the step of integrating the image fault result and the spatial fault result to generate first fault location data includes: Extracting the same fault position of the image fault position and the spatial fault position, and the corresponding first confidence level of the same position and second confidence level of the same position; The first confidence level at the same position and the second confidence level at the same position are input into a confidence level trade-off formula to generate a balanced confidence level for each of the same fault positions; wherein the confidence level trade-off formula includes: P=α*P(A)+β*P(B) ; in, P is the equilibrium confidence, α is the first weight, x is the first confidence level of the same position, β is the second weight, y is the second confidence level of the same position; The first fault location data is generated according to the same fault position corresponding to the largest balance confidence value.
2. The method for locating a power transmission line fault according to claim 1, characterized in that: The determining of the similarity between the pre-fault image feature and the post-fault image feature comprises: Respectively extracting a pre-fault feature vector of the pre-fault image feature and a post-fault feature vector of the post-fault image feature; Performing feature normalization on the pre-fault feature vector and the post-fault feature vector to generate a normalized pre-fault feature vector and a normalized post-fault feature vector; The cosine similarity between the normalized pre-fault feature vector and the normalized post-fault feature vector is determined to generate the similarity.
3. The method for locating a power transmission line fault according to claim 1, characterized in that: After integrating the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set, the method further includes: Extracting the number of fault points and the distance between the fault points in the transmission line fault location set; Generate an abnormal warning report based on the number of fault points and the distance between the fault points.
4. The method for locating a power transmission line fault according to claim 1, characterized in that: The step of respectively acquiring the pre-fault image data and the post-fault image data of each of the faulty units comprises: Respectively acquiring an original image before and after the failure of each of the failure units; Gray-scaling, filtering and image enhancement are performed on the original image before the fault and the original image after the fault to generate the image data before the fault and the image data after the fault.
5. A transmission line fault locating device, used to implement the transmission line fault locating method according to any one of claims 1 to 4, characterized in that: include: An area module, configured to determine a fault area according to the acquired line fault signal of the transmission line, and divide the fault area into preset unit sizes to generate at least one fault unit; An image module, used to respectively obtain pre-fault image data and post-fault image data of each of the faulty units, and respectively extract pre-fault image features of the pre-fault image data and post-fault image features of the post-fault image data; A similarity module is used to determine the similarity between the pre-fault image features and the post-fault image features. If the similarity is less than a preset similarity, the post-fault image features are input into a trained deep neural network model to generate an image fault result. A first fault module is used to obtain the laser radar scanning data of the faulty unit, extract the pre-fault spatial features and the post-fault spatial features of the laser radar scanning data, compare the pre-fault spatial features and the post-fault spatial features, generate a spatial fault result, integrate the image fault result and the spatial fault result, and generate first fault location data; a second fault module, configured to obtain electrical data and infrared thermal imaging data of the faulty unit if the similarity is greater than or equal to the preset similarity, input the electrical data and the infrared thermal imaging data into a trained multi-input convolutional neural network model, and generate second fault location data; An integration module is used to integrate the first fault location data or the second fault location data of all the fault units to generate a transmission line fault location set.
6. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the power transmission line fault locating method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for locating a power transmission line fault according to any one of claims 1 to 4 is implemented.
