A method and system for predicting pollution flashover faults of power transmission lines
Through dual-path neural network and gray wolf optimized random forest algorithm, image and environmental information are integrated to solve the problem of single pollution flash fault prediction feature in the existing technology, improve prediction accuracy and robustness, and provide more effective Detection direction.
Patent Information
- Application Number
- CN202410821961.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Existing transmission line pollution flashover fault prediction methods have single characteristics and ignore the mutual influence of images, states and environments, resulting in low prediction accuracy and poor robustness.
The dual-path neural network DP-CNN is used to extract local and micro features of the image, and combined with the random forest algorithm optimized by Gray Wolf, the image information, physical information and environmental information are integrated to build a failure probability prediction model.
The accuracy and robustness of fault prediction are improved, the detection direction can be provided more accurately, and the negative impact of fault occurrence can be reduced.
Smart Images

Figure CN118378198B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system automation, and in particular relates to a method and system for predicting pollution flashover faults of power transmission lines. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] In transmission lines, insulators are usually installed on power poles to provide insulation support for transmission lines and prevent electrical breakdown between conductors, conductors and pole towers, and conductors and the ground. Pollution flashover refers to the situation where the dirt attached to the surface of the insulator of electrical equipment gradually dissolves in water under humid conditions, forming a conductive film on the insulation surface, which greatly reduces the insulation level of the insulator. When a pollution flashover accident occurs in the equipment, the success rate of reclosing is very low, often causing large-scale power outages; the strong arcs accompanying pollution flashover often cause damage to electrical equipment. Therefore, pollution flashover failures can cause serious problems in many aspects.
[0004] The current fault detection method using deep learning uses images for detection, but its features are single and only consider the surface of the insulator, while ignoring its working state and environmental impact. Some stains do not cause functional damage to the insulator. Therefore, the image-based deep learning detection method is misleading. Image features contain data with high dimensions and are suitable for deep learning, but one-dimensional state information is not suitable for deep learning. Each feature exists independently, with neither temporal sequence nor correlation in spatial structure. The deep learning classification method is not interpretable for independent physical features.
[0005] Therefore, the current transmission line pollution flashover fault prediction method has a single feature and ignores the mutual influence and joint action of images, states and environments, which greatly affects the prediction accuracy and has low robustness. Summary of the invention
[0006] In order to overcome the shortcomings of the above-mentioned prior art, the present invention proposes a method and system for predicting power transmission line pollution flashover faults, constructs a dual-path neural network DP-CNN to perform image segmentation on the original image and extract image vector features; integrates image information, physical information and environmental information, constructs a random forest optimized based on the grey wolf algorithm, and improves the random forest to output prediction probability.
[0007] In some embodiments, the following technical solutions are adopted:
[0008] Obtaining transmission line images, physical information, and surrounding environment information of the insulator to be predicted;
[0009] The acquired transmission line images are segmented and image vector features are extracted. The dual-path neural network DP-CNN is used to extract local features and micro features from the original images.
[0010] Perform data preprocessing on physical information and environmental information, and adopt normalization to map the original information into the (0, 1) interval to generate physical features and environmental features;
[0011] Construct a prediction unit for failure probability;
[0012] The image vector features, physical features and environmental features are used as inputs of a prediction unit, and a list of fault occurrence probabilities and feature importances of insulators to be predicted is output;
[0013] According to the comparison between the probability of occurrence of the insulator failure to be predicted and the threshold value, early warning information is returned.
[0014] Furthermore, the dual-path neural network DP-CNN extracts local features and micro features from the original image, specifically including:
[0015] In the local feature extraction path, the convolution layer conv5 with a convolution kernel size of 15×15, the maximum pooling layer P2 with a 4×4, the ReLU layer, the convolution layer conv6 with a convolution kernel size of 13×13, and the maximum pooling layer P2 with a 4×4 are connected in sequence to output the local feature map Fm, which is expressed as follows:
[0016]
[0017] ,
[0018] ,
[0019] in, , It is the feature map after each layer of convolution operation; Represents the convolution kernel of convolutional layers conv5 and conv6; is the bias of the corresponding convolutional layer; is the input insulator image; is the output local feature map;
[0020] In the micro-feature extraction path, the convolution layer conv1 with a convolution kernel size of 9×9, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv2 with a convolution kernel size of 7×7, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv3 with a convolution kernel size of 5×5, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv4 with a convolution kernel size of 3×3, and the maximum pooling layer P1 of 2×2 are connected in sequence to output the micro-feature map Fn, which is expressed as follows:
[0021]
[0022] ,
[0023] ,
[0024] in, , It is the feature map after each layer of convolution operation; Represents the convolution kernels of convolutional layers conv1, conv2, conv3, and conv4; is the bias of the corresponding convolutional layer; is the input insulator image; is the output micro-feature map.
[0025] The fully connected layer is used to concatenate the feature vectors output by the micro-feature extraction path and the local feature extraction path to obtain the image vector feature. .
[0026] Furthermore, the dual-path neural network DP-CNN uses the Balanced cross entropy loss function as the objective function of the optimization algorithm, which is expressed as follows:
[0027]
[0028] in, Indicates that the insulator to be predicted is faulty. represents the probability that the insulator to be predicted is not faulty, p is the probability that the insulator to be predicted is faulty, is the weight factor, and .
[0029] Furthermore, the process of obtaining the fault probability and feature importance list of the insulator to be predicted based on the random forest algorithm optimized by the grey wolf is as follows:
[0030] Step S501: Fusion of image vector features , physical characteristics and environmental characteristics , get the input of the prediction module :
[0031]
[0032] Step S502: Randomly select a portion of samples from the original training set to form a sub-sample set, so that each decision tree is trained on a different sample set. The expression is as follows:
[0033]
[0034] Where, M is the number of insulator samples, For sampling samples, It is a random sampling with replacement;
[0035] Step S503: For each node of each decision tree, a portion of features is randomly selected to form the node, and the expression is as follows:
[0036]
[0037] Where N is the N-dimensional feature of each insulator, is an optional feature set for decision trees;
[0038] Step S504: Optimizing the number of trees in the random forest using the GWO algorithm and the number of branch and leaf forks to improve prediction accuracy;
[0039] Specifically, the parameter settings of the gray wolf algorithm include: the number of gray wolves, the maximum number of iterations, the dimension, the minimum limit, and the maximum limit; among them, the dimension is set to 2, which means that two variables need to be optimized, namely the number of decision trees and the number of branch and leaf forks;
[0040] Step S505: Voting on the prediction results of each decision tree in the random forest to obtain the probability of failure, rather than just outputting the prediction category. The expression is as follows:
[0041]
[0042] in, is the insulator sample to be tested, For the The feature set used by the decision tree, is the failure probability of the insulator to be tested, There are a total of B decision trees. is a trained decision model;
[0043] And output the feature importance, which is the role played by all features in the prediction and classification process, represents the fault source factors of the insulator to be predicted, and provides detection direction for fault detection personnel.
[0044] Furthermore, a fixed threshold is set based on the comparison between the fault probability of the insulator to be predicted and the threshold. When the predicted probability is greater than the threshold, the fault probability and feature importance are returned and an early warning is issued so that the inspection personnel can perform further inspection and maintenance based on the early warning information.
[0045] In other embodiments, the following technical solutions are adopted:
[0046] An acquisition module, which is configured to: acquire a transmission line image, insulator physical information, and environmental information;
[0047] An image processing module is configured to: extract vector features from the acquired transmission line image, including image vector features composed of local vectors and micro vectors;
[0048] The data processing module is configured to: perform data preprocessing on the physical information and the environmental information, map the original information to the interval (0, 1) by normalization, and generate physical features and environmental features;
[0049] A probability prediction module is configured to: construct a prediction module for failure probability, wherein the prediction module is a random forest algorithm based on gray wolf optimization;
[0050] The image vector features, physical features and environmental features are used as inputs of a prediction network, and a list of fault occurrence probabilities and feature importances of insulators to be predicted is output;
[0051] The early warning prompt module is configured to return early warning information based on the comparison between the probability of occurrence of the failure of the insulator to be predicted and a threshold value.
[0052] In other embodiments, the following technical solutions are adopted:
[0053] An electronic device comprises a memory and a processor, and computer instructions stored in the memory and running on the processor. When the computer instructions are run by the processor, the steps of the above-mentioned power transmission line pollution flashover fault prediction method are completed.
[0054] In other embodiments, the following technical solutions are adopted:
[0055] A computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by a processor, the steps of the above-mentioned power transmission line pollution flashover fault prediction method are completed.
[0056] Compared with the prior art, the present invention has the following beneficial effects:
[0057] 1. The present invention provides a method and system for predicting power transmission line pollution flashover faults, designs a prediction method of multi-feature fusion, extracts features from multiple angles, enriches feature types, takes into account the limitations of a single feature in prediction, incorporates external factors related to the fault into prediction variables, and improves the robustness of the model;
[0058] 2. The present invention designs a dual-path neural network DP-CNN to extract local features and micro features from the original image. Based on the proposed DP-CNN network, image features of two range receptive fields are extracted. The overall appearance of the insulator is expressed by extracting local features of the image, and the detailed features of the insulator are expressed by extracting micro features of the image. The image information of the insulator is fully extracted to improve the accuracy of model prediction.
[0059] 3. The present invention constructs the prediction results of the joint action of different features based on the improved random forest algorithm, fully considers the interaction and influence between the features, and in order to achieve the output probability value and feature importance, the random forest algorithm is improved to the average result of the predicted classification value output by all decision trees, so as to achieve the output of fault probability instead of the output of classification result; further, in order to improve the global optimal solution of the prediction, avoid falling into the local optimal solution, and fully express the mutual influence of different aspects of features, the gray wolf algorithm is introduced to effectively improve the ability of the prediction model to identify the most important features; through the above prediction method, the accurate prediction of the fault probability is achieved, which can provide specific detection directions for detection personnel more accurately, achieve effective prediction, and detect and repair as early as possible to reduce the negative impact of the occurrence of faults.
[0060] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0062] Figure 1 This is a flow chart of a method for predicting power transmission line flashover faults described in Embodiment 1 of the present invention.
[0063] Figure 2 Schematic diagram of the dual-path neural network DP-CNN architecture described in Example 1 of the present invention. DETAILED DESCRIPTION
[0064] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0065] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.
[0066] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0067] Embodiment 1
[0068] In one or more embodiments, a method for predicting power transmission line flashover faults is disclosed, such as Figure 1 As shown, the following steps are included:
[0069] Step S1: Acquire the transmission line image, physical information and surrounding environment information of the insulator to be predicted;
[0070] Step S2: performing image segmentation on the acquired transmission line image and extracting image vector features, and using a dual-path neural network DP-CNN to extract local features and micro features from the original image;
[0071] Step S3: preprocess the physical information and environmental information, map the original information to the interval (0, 1) by normalization, and generate physical features and environmental features;
[0072] Step S4: construct a prediction unit for failure probability, wherein the prediction unit is a random forest algorithm based on gray wolf optimization;
[0073] Step S5: using the image vector features, physical features and environmental features as inputs of a prediction unit, and outputting a list of fault occurrence probabilities and feature importances of insulators to be predicted;
[0074] Step S6: Return warning information based on the comparison between the probability of occurrence of the insulator failure to be predicted and the threshold value.
[0075] In step S1, physical information of the insulator to be predicted is obtained, including: transmission voltage, leakage current, insulator mechanical load and insulator temperature.
[0076] Since there is stray capacitance between the metal part of each insulator on the transmission line and the pole tower and conductor, the insulator is subjected to voltages of different magnitudes. The transmission voltage is the voltage value that the insulator is subjected to when the transmission line is operating normally, and is obtained through a voltage measuring device.
[0077] The leakage current is the current flowing through the surface of the insulator under the operating voltage obtained by the leakage current sensor.
[0078] The insulator mechanical load is the maximum mechanical load that the insulator is rated to withstand under factory design.
[0079] The insulator temperature is obtained by a temperature sensor externally mounted on the insulator.
[0080] In step S1, the ambient environment information of the insulator to be predicted is obtained, including: ambient temperature and ambient humidity.
[0081] The ambient temperature and humidity are obtained by temperature and humidity sensors installed on the power pole near the insulator.
[0082] The dual-path neural network DP-CNN architecture in step S2 specifically includes:
[0083] The dual-path neural network consists of two paths. One path uses a smaller-sized convolution kernel to perform convolution operations on the input image, and uses a pooling layer with a smaller pooling range to extract micro features of a small field of view. The other path uses a larger-sized convolution kernel to perform convolution operations on the input image, and uses a pooling layer with a larger pooling range to extract local features of a large field of view.
[0084] Specifically, Figure 2 As shown in FIG. 1 , the transmission line image of the insulator to be predicted is input into the upper and lower paths at the same time. In the micro-feature extraction path, the convolution layer conv1 with a convolution kernel size of 9×9, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv2 with a convolution kernel size of 7×7, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv3 with a convolution kernel size of 5×5, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv4 with a convolution kernel size of 3×3, and the maximum pooling layer P1 of 2×2 are connected in sequence to output the micro-feature map Fn, as shown in formula (1); in the local feature extraction path, the convolution layer conv5 with a convolution kernel size of 15×15, the maximum pooling layer P2 of 4×4, the ReLU layer, the convolution layer conv6 with a convolution kernel size of 13×13, and the maximum pooling layer P2 of 4×4 are connected in sequence to output the local feature map Fm, as shown in formula (2).
[0085]
[0086] , (1)
[0087] ,
[0088] in, , It is the feature map after each layer of convolution operation; Represents the convolution kernels of convolutional layers conv1, conv2, conv3, and conv4; is the bias of the corresponding convolutional layer; is the input insulator image; is the output micro-feature map.
[0089]
[0090] , (2)
[0091] ,
[0092] in, , It is the feature map after each layer of convolution operation; Represents the convolution kernel of convolutional layers conv5 and conv6; is the bias of the corresponding convolutional layer; is the input insulator image; is the output local feature map.
[0093] In the micro-feature extraction path, the size of the convolution kernel is gradually reduced from 9×9 to 3×3, concentrating feature extraction in a small receptive field and gradually reducing the amount of calculation parameters; in the local feature extraction path, large-scale convolution kernels of 13×15 and 13×13 are used to extract the overall features of a large field of view; a pooling layer is followed by a continuous convolution layer to reduce the image resolution, filter useful information, and reduce the amount of calculation.
[0094] After each convolution and pooling operation, an activation function ReLU layer is added to activate more nonlinear features, so that the feature map after each convolution is converted into a nonlinear value. Since there are too many pixel values in the original image input, the ReLU layer brings a certain sparsity to the feature map, avoids gradient explosion, alleviates the problem of overfitting, simplifies the calculation of network parameters, and improves efficiency.
[0095] The fully connected layer is used to concatenate the feature vectors output by the micro-feature extraction path and the local feature extraction path to obtain the image vector feature. As shown in formula (3), it includes the feature vectors of two visual ranges, micro and local, so that the prediction information can be affected by different visual ranges, and has both the specific detail features of the insulator and the overall image vector features of the insulator, converting the image into a one-dimensional vector feature.
[0096] (3)
[0097] In this embodiment, in the training process of the neural network model, in order to further improve the accuracy of the segmentation results, the Balanced cross entropy loss function (BCE loss) is used as the objective function of the optimization algorithm, as shown in formula (4). Due to the large number of insulators, but the imbalance of the number of faulty and normal samples, this embodiment sets a weight for each sample, whether it is faulty or not, through a dynamic scaling factor:
[0098] (4)
[0099] in, Indicates that the insulator to be predicted is faulty. represents the probability that the insulator to be predicted is not faulty, p is the probability that the insulator to be predicted is faulty, is the weight factor, and .
[0100] This embodiment introduces the BCE loss function so that the network can adjust the contribution of samples to the loss according to the difference in the number of positive and negative samples, increase the effective thinking of network learning, and thus improve the accuracy of segmentation.
[0101] In step S3, the physical information and environmental information are preprocessed. Specifically, the transmission voltage, leakage current, insulator mechanical load, insulator temperature, ambient temperature and ambient humidity data are normalized by standard deviation, as shown in the following formula (5), and all data are mapped to the range of 0-1 to obtain physical characteristics: and environmental characteristics .
[0102] (5)
[0103] in, is a certain information of the insulator to be predicted, is the number of insulators to be predicted, is the standard deviation of a certain information of the insulator to be predicted, is the eigenvalue obtained after normalization.
[0104] Step S4 is to construct a prediction module for failure probability, and the prediction module is a random forest algorithm based on gray wolf optimization.
[0105] Specifically, the image vector features, physical features and environmental features obtained by preprocessing are one-dimensional vector discrete values. The feature values seem to be taken from different aspects and are independent of each other, but in fact, the stains on the surface of the insulator may be the factor causing the abnormal current and voltage, so there may be a large correlation between the two feature values: the increase in external temperature may affect the stray capacitance or the temperature of the insulator itself, so there may also be a large correlation between these feature values. This application incorporates the possible mutual influence and joint action between the various features into the reference variables for prediction, and proposes to use the idea of random forest for regression prediction:
[0106] Random forest has the advantage of integrated learning. It constructs multiple decision trees. Each decision tree is independent and randomly selects one or more features in the sample to form a sub-sample for training. The prediction results of each decision tree are integrated to achieve the prediction task.
[0107] Grey Wolf Optimizer (GWO) is a heuristic optimization algorithm based on the behavior of gray wolf groups in nature. It simulates the cooperative and competitive behavior of gray wolf groups when solving problems, and optimizes the solution of the problem by simulating the foraging behavior of gray wolves. The basic idea of the algorithm is to regard the solution space of the problem as the ecosystem of gray wolves. The position of gray wolves represents the position of solutions, and the fitness of gray wolves represents the quality of solutions. The algorithm updates the position of gray wolves and finds better solutions by simulating four behaviors of gray wolf groups, including searching, siege, chasing and escaping. Each gray wolf in the wolf pack represents a potential solution of the population. In order to indicate the role of different solutions, the gray wolves are set to social levels. The position of alpha wolves is regarded as the optimal solution, the position of beta wolves is regarded as the optimal solution and suboptimal solution, and the position of gamma wolves is regarded as the remaining candidate solutions. In the hunting process of the wolf pack, the alpha wolf leads, that is, the alpha wolf has a higher weight for prediction and classification, and the beta wolf and gamma wolf occasionally participate in hunting.
[0108] The process of obtaining the fault probability and feature importance list of the insulator to be predicted based on the random forest algorithm optimized by the grey wolf is as follows:
[0109] Step S501: Fusion of image vector features , physical characteristics and environmental characteristics , get the input of the prediction module :
[0110] (6)
[0111] Step S502: Randomly select a portion of samples from the original training set to form a sub-sample set, so that each decision tree is trained on a different sample set, as shown in formula (7), increasing the diversity of the prediction model and making the integration effect more accurate.
[0112] (7)
[0113] Where, M is the number of insulator samples, For sampling samples, is a random sampling with replacement.
[0114] Step S503: For each node of each decision tree, a portion of features is randomly selected to form the node, as shown in formula (8), considering that some features have a greater impact when acting together, thereby improving the robustness of the model.
[0115] (8)
[0116] Where N is the N-dimensional feature of each insulator, is an optional feature set for decision trees.
[0117] Step S504: Optimizing the number of trees in the random forest using the GWO algorithm and the number of branch and leaf forks to improve prediction accuracy.
[0118] Specifically, the parameter settings of the gray wolf algorithm include: the number of gray wolves, the maximum number of iterations, the dimension, the minimum limit, and the maximum limit; among them, the dimension is set to 2, which means that two variables need to be optimized, namely the number of decision trees and the number of branch and leaf forks.
[0119] Step S505: voting on the prediction results of each decision tree in the random forest to obtain the probability of fault occurrence, rather than just outputting the prediction category, as shown in formula (9);
[0120] (9)
[0121] in, is the insulator sample to be tested, For the The feature set used by the decision tree, is the failure probability of the insulator to be tested, There are a total of B decision trees. is a trained decision model.
[0122] And output the feature importance, which is the role played by all features in the prediction and classification process, represents the fault source factors of the insulator to be predicted, and provides detection direction for fault detection personnel.
[0123] Step S6: Set a fixed threshold value based on the comparison between the predicted probability of occurrence of the insulator failure and the threshold value. When the predicted probability is greater than the threshold value, return the failure probability and feature importance, and issue an early warning so that the inspection personnel can conduct further inspection and maintenance based on the early warning information.
[0124] Embodiment 2
[0125] In one or more embodiments, a power transmission line pollution flashover fault prediction system is disclosed, specifically comprising:
[0126] An acquisition module, which is configured to: acquire a transmission line image, insulator physical information, and environmental information;
[0127] An image processing module is configured to: extract vector features from the acquired transmission line image, including image vector features composed of local vectors and micro vectors;
[0128] The data processing module is configured to: perform data preprocessing on the physical information and the environmental information, map the original information to the interval (0, 1) by normalization, and generate physical features and environmental features;
[0129] A probability prediction module is configured to: construct a prediction module for failure probability, wherein the prediction module adopts a random forest algorithm based on gray wolf optimization;
[0130] Taking the image vector features, physical features and environmental features as inputs of a prediction network, and outputting the probability of occurrence of a fault of an insulator to be predicted;
[0131] The early warning prompt module is configured to return early warning information based on the comparison between the probability of occurrence of the insulator failure to be predicted and the threshold value.
[0132] Embodiment 3
[0133] Embodiment 3 of the present invention provides an electronic device, including a memory and a processor, and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the steps of the above-mentioned power transmission line flashover fault prediction method are completed.
[0134] Embodiment 4
[0135] Embodiment 4 of the present invention provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the steps of the above-mentioned power transmission line flashover fault prediction method are completed.
[0136] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing device, and a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0139] The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0140] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for predicting pollution flashover faults of power transmission lines, characterized in that: include: Obtaining transmission line images, physical information, and surrounding environment information of the insulator to be predicted; Perform image segmentation on the acquired transmission line image and extract image vector features; Perform data preprocessing on physical information and surrounding environment information to generate physical features and environmental features; Constructing a prediction unit for failure probability, wherein the prediction unit is a random forest algorithm based on gray wolf optimization; The image vector features, physical features and environmental features are used as inputs of a prediction unit, and a list of fault occurrence probabilities and feature importances of insulators to be predicted is output; Returning warning information according to the comparison of the probability of occurrence of the insulator failure to be predicted with a threshold value; The physical information includes: transmission voltage, leakage current, insulator mechanical load and insulator temperature; The ambient environment information includes: ambient temperature and ambient humidity; The image segmentation of the acquired power transmission line image and extraction of image vector features, and the use of a dual-path neural network DP-CNN to extract local features and micro features from the original image, specifically include: In the local feature extraction path, the convolution layer conv5 with a convolution kernel size of 15×15, the maximum pooling layer P2 with a 4×4, the ReLU layer, the convolution layer conv6 with a convolution kernel size of 13×13, and the maximum pooling layer P2 with a 4×4 are connected in sequence to output the local feature map Fm, which is expressed as follows: , , in, , It is the feature map after each layer of convolution operation; Represents the convolution kernel of convolutional layers conv5 and conv6; is the bias of the corresponding convolutional layer; is the input insulator image; is the output local feature map; In the micro-feature extraction path, the convolution layer conv1 with a convolution kernel size of 9×9, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv2 with a convolution kernel size of 7×7, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv3 with a convolution kernel size of 5×5, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv4 with a convolution kernel size of 3×3, and the maximum pooling layer P1 of 2×2 are connected in sequence to output the micro-feature map Fn, which is expressed as follows: , , in, , It is the feature map after each layer of convolution operation; Represents the convolution kernels of convolutional layers conv1, conv2, conv3, and conv4; is the bias of the corresponding convolutional layer; is the input insulator image; is the output micro-feature map.
2. A method for predicting power transmission line flashover faults according to claim 1, characterized in that: The dual-path neural network DP-CNN uses the Balanced cross entropy loss function as the objective function of the optimization algorithm, which is expressed as follows: in, Indicates that the insulator to be predicted is faulty. represents the probability that the insulator to be predicted is not faulty, p is the probability that the insulator to be predicted is faulty, is the weight factor, and .
3. A method for predicting power transmission line flashover faults according to claim 1, characterized in that: The data preprocessing adopts a normalization method to map the original information into the interval (0, 1) to generate physical features and environmental features; The physical information and the surrounding environment information are preprocessed, specifically: the transmission voltage, leakage current, insulator mechanical load, insulator temperature, ambient temperature and ambient humidity data are normalized to the maximum value, and all data are mapped between 0 and 1, as shown below: in, is a certain information of the insulator to be predicted, is the number of insulators to be predicted, is the standard deviation of a certain information of the insulator to be predicted, is the eigenvalue obtained after normalization.
4. A method for predicting power transmission line flashover faults according to claim 1, characterized in that: The process of the prediction unit outputting the fault occurrence probability and feature importance list of the insulator to be predicted is as follows: Step S501: Fusion of image vector features , physical characteristics and environmental characteristics , get the input of the prediction module : Step S502: Randomly select a portion of samples from the original training set to form a sub-sample set, so that each decision tree is trained on a different sample set. The expression is as follows: Where, M is M insulator samples, For sampling samples, It is a random sampling with replacement; Step S503: For each node of each decision tree, a portion of features is randomly selected to form the node, and the expression is as follows: Where N is the N-dimensional feature of each insulator, is an optional feature set for decision trees; Step S504: Optimizing the number of trees in the random forest using the GWO algorithm and the number of branch and leaf forks to improve prediction accuracy; Specifically, the parameter settings of the gray wolf algorithm include: the number of gray wolves, the maximum number of iterations, the dimension, the minimum limit, and the maximum limit; among them, the dimension is set to 2, which means that two variables need to be optimized, namely the number of decision trees and the number of branch and leaf forks; Step S505: Voting on the prediction results of each decision tree in the random forest to obtain the probability of failure, rather than just outputting the prediction category. The expression is as follows: in, is the insulator sample to be tested, For the The feature set used by the decision tree, is the failure probability of the insulator to be tested, There are a total of B decision trees. is a trained decision model; And output the feature importance, which is the role played by all features in the prediction and classification process, represents the fault source factors of the insulator to be predicted, and provides detection direction for fault detection personnel.
5. A method for predicting power transmission line pollution flashover faults according to claim 1, characterized in that: According to the comparison between the fault probability of the insulator to be predicted and the threshold, a fixed threshold is set. When the predicted probability is greater than the threshold, the fault probability and feature importance are returned and an early warning is issued so that the inspection personnel can conduct further inspection and maintenance according to the early warning information.
6. A power transmission line pollution flashover fault prediction system, characterized in that: An acquisition module, which is configured to: acquire a transmission line image, insulator physical information, and surrounding environment information; The physical information includes: transmission voltage, leakage current, insulator mechanical load and insulator temperature; The ambient environment information includes: ambient temperature and ambient humidity; An image processing module is configured to: extract vector features from the acquired transmission line image, including image vector features composed of local vectors and micro vectors; The vector feature extraction of the acquired power transmission line image uses a dual-path neural network DP-CNN to extract local features and micro features from the original image, specifically including: In the local feature extraction path, the convolution layer conv5 with a convolution kernel size of 15×15, the maximum pooling layer P2 with a 4×4, the ReLU layer, the convolution layer conv6 with a convolution kernel size of 13×13, and the maximum pooling layer P2 with a 4×4 are connected in sequence to output the local feature map Fm, which is expressed as follows: , , in, , It is the feature map after each layer of convolution operation; Represents the convolution kernel of convolutional layers conv5 and conv6; is the bias of the corresponding convolutional layer; is the input insulator image; is the output local feature map; In the micro-feature extraction path, the convolution layer conv1 with a convolution kernel size of 9×9, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv2 with a convolution kernel size of 7×7, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv3 with a convolution kernel size of 5×5, the maximum pooling layer P1 of 2×2, the ReLU layer, the convolution layer conv4 with a convolution kernel size of 3×3, and the maximum pooling layer P1 of 2×2 are connected in sequence to output the micro-feature map Fn, which is expressed as follows: , , in, , It is the feature map after each layer of convolution operation; Represents the convolution kernels of convolutional layers conv1, conv2, conv3, and conv4; is the bias of the corresponding convolutional layer; is the input insulator image; is the output micro-feature map; A data processing module is configured to: perform data preprocessing on the physical information and the surrounding environment information to generate physical features and environmental features; A probability prediction module is configured to: construct a prediction module for failure probability, wherein the prediction module adopts a random forest algorithm based on gray wolf optimization; Taking the image vector features, physical features and environmental features as inputs of a prediction network, and outputting the probability of occurrence of a fault of an insulator to be predicted; The early warning prompt module is configured to return early warning information based on the comparison between the probability of occurrence of the insulator failure to be predicted and the threshold value.
7. An electronic device, characterized in that: The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the method for predicting power transmission line flashover faults as described in any one of claims 1 to 5 is completed.
8. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the power transmission line pollution flashover fault prediction method described in any one of claims 1-5.
