Intelligent prediction method of power equipment fault based on graph convolutional neural network
Through the intelligent prediction method of power equipment faults based on graph convolutional neural network, the problem of low accuracy of power equipment fault prediction in the existing technology is solved, and high-accuracy fault prediction and simple deployment and maintenance are achieved, which is suitable for different units. Device data set.
Patent Information
- Application Number
- CN202111542143.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-12-16
AI Technical Summary
Existing power equipment fault prediction methods have low accuracy, are difficult to promote and apply in the market, and have a high false positive rate, resulting in inconvenient manual maintenance.
An intelligent prediction method for power equipment faults based on graph convolutional neural network is adopted. By collecting historical monitoring information of power equipment for preprocessing, a graph convolutional neural network model is constructed to predict the failure of power equipment, and the graph convolutional neural network is used to extract The time-dependent features of the input data are combined with a two-dimensional convolutional neural network and a fully connected neural network for fault classification.
It achieves a high fault prediction accuracy of more than 80%, which is 15% higher than commonly used algorithms. It has good versatility and simple deployment and maintenance, and is suitable for equipment data sets of different units.
Smart Images

Figure CN114266301B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fault prediction, and in particular to an intelligent prediction method for power equipment faults based on a graph convolutional neural network. Background Art
[0002] Electricity is the main energy source for people's modern life, and power equipment is the basic unit for building power grids. Therefore, maintaining the normal operation of power equipment is an important task of power management. Repairing power equipment after failure not only causes power interruption, but also causes secondary damage to the equipment. The prediction and maintenance of power equipment failures can prevent problems before they occur, which is an important demand in the current smart grid. In smart grids, fault prediction is to collect the operating data of power equipment, combined with relevant analysis algorithms or expert experience, to make judgments on the impending failure of the equipment. At present, academia and industry have proposed a variety of methods for predicting power equipment failures. Such as: 1) Expert experience, combining expert knowledge to set thresholds for relevant detection parameters. This method is simple and easy, but has a high false positive rate and causes trouble for manual maintenance; 2) Traditional algorithms based on Kalman filters, Bayesian networks, Markov chains, etc. rely on preprocessing of input data, which makes the prediction accuracy low and difficult to promote and apply in the market; 3) Machine learning algorithms based on BP neural networks, support vector machines, etc. Although these algorithms involve artificial intelligence, the processing methods fail to match the characteristics of data collected by power equipment well, and the predicted fault accuracy is also low, which needs further improvement. Summary of the invention
[0003] In response to the technical problem, the present invention proposes an intelligent prediction method for power equipment faults based on graph convolutional neural network. Combined with the characteristics of data collected by power equipment, based on a new type of neural network - graph convolutional neural network (GCN), the method predicts the faults of power equipment, has high prediction accuracy and high application and promotion value.
[0004] In order to achieve the above object, the technical solution of the present invention is implemented as follows: a method for intelligent prediction of power equipment faults based on graph convolutional neural network, the steps of which are as follows:
[0005] Step 1: Collect historical monitoring information of the power equipment to be predicted, pre-process the historical monitoring information, and the pre-processed monitoring information and the data set collected by the power data center constitute the training sample;
[0006] Step 2: Build a graph convolutional neural network and initialize the neural network parameters; use the monitoring information as the input of each node of the graph convolutional neural network, and use the graph convolutional neural network to classify the monitoring information;
[0007] Step 3: Use the training samples to train the graph convolutional neural network constructed in step 2 to obtain an optimized graph convolutional neural network model;
[0008] Step 4: Collect the real-time monitoring information of the equipment to be tested and preprocess it, input the preprocessed monitoring information into the optimized graph convolutional neural network model to obtain the fault prediction results.
[0009] The monitoring information includes the voltage, current and infrared image of the power equipment; the preprocessing includes two parts: 1) data cleaning, removing the noise and irrelevant data in the voltage, current and infrared image; 2) data reduction, normalizing the voltage and current using the standard deviation method.
[0010] The graph convolutional neural network has n nodes arranged in a straight line topology, and the input of node i is i ,a i ,g i >; The link weight between node i and node i+1 is λ n-i , link weight λ n-i Determined in the training of convolutional neural networks; graph convolutional neural networks are able to extract temporal dependency features of input data.
[0011] The graph convolutional neural network includes a connected two-dimensional convolutional neural network and a fully connected neural network. The input of the two-dimensional convolutional neural network is an infrared image, and the output of the two-dimensional convolutional neural network and the voltage and current in the monitoring information are input into the fully connected neural network. The output of the fully connected neural network is whether a fault occurs and the type of fault.
[0012] Collecting n voltage information is expressed as <u1,u2,…u n >,u i is the voltage of the device at a certain moment; collecting n current information is expressed as <a1,a2,…a n >; Collect n infrared image information and express it as <g1,g2…g n >, g i Represents a three-dimensional tensor of a color image; where g i As the input of the 2D convolutional neural network, u i and a i The output of the two-dimensional convolutional neural network is used as the input of the fully connected neural network. The output of the fully connected neural network (Y0, Y1…Y m ) indicates whether a fault has occurred and the type of fault.
[0013] Assume that the spatial features of the graph convolutional neural network output are {h t-p ,...,h t-1 ,h t }, that is, it contains p hidden states and uses an iterative update process:
[0014] z t =σ(W (z) f(A,g t )+U (z) h t-1 ) (1)
[0015] c t =tanh(W (c) f(A,g t )) (2)
[0016] h t =z t ⊙h t-1 +(1-z t )⊙c t (3)
[0017] Among them, f(A,g t ) is the graph convolution process, A is the convolution kernel, g t is the infrared image representation of node t, z t The rendering operation at node t, c t is the activation function at the connection of node t, and the data transmission between each node is determined by c t and link weight λ n-i Calculate; h t is the iterative output of the spatial feature t, and the parameters σ and W to be trained in the graph convolutional neural network (z) , U (z) , W (c) And σ is the activation layer parameter, W (z) is the fully connected layer parameter, U (z) is the spatial feature h in the rendering operation t-1 The transformation weight parameter, W (c) is the fully connected layer parameter, ⊙ is the XOR operation, and tanh is the tangent function.
[0018] In a fully connected neural network, the connection spatial features {h t-p ,...,h t-1 ,h t There are 4 hidden layers after}, and the last layer uses a softmax layer to realize the classification prediction of power equipment failure.
[0019] The training of the graph convolutional neural network in step 3 adopts the supervised learning method as follows:
[0020] (1) Take out 10,000 sets of training data (x, y) from the data set G collected by the power data center;
[0021] (2) For the i-th group of training data (x i ,y i ), and input it into the graph convolutional neural network to obtain the predicted value y i ', and use cross entropy to calculate the actual value y i and the predicted value y i The error between
[0022] (3) For the error loss calculated for each set of data, the stochastic gradient descent algorithm is used to optimize the network parameters in the graph convolutional neural network;
[0023] (4) Randomly extract 100 sets of test data from the data set G collected by the power data center, calculate the error value according to the method in step (2), and calculate the average error loss avg , if the average error loss avg If it is within the range of 5%, the accuracy requirement is met and training is stopped; otherwise, return to step (1) to conduct the next batch of training.
[0024] Beneficial effects of the present invention: Compared with the methods used in existing early warning devices on the market, the present invention has the following three significant advantages: 1) It has good versatility. For data sets collected by different units / equipment, a high prediction accuracy can be achieved after the training model converges, without adjusting the model structure or hyperparameters; 2) The prediction accuracy is high. Based on the existing collected data, the accuracy can reach more than 80%. Compared with commonly used algorithms, the accuracy can be improved by about 15%; 3) It is simple to use, deploy, upgrade and maintain. After the model is trained, the model algorithm with fixed parameters can be embedded in the early warning device. In the later update and maintenance of the equipment, only the parameters in the model need to be updated, and there is no need to upgrade the hardware equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 It is a schematic diagram of the process of the present invention.
[0027] Figure 2 This is a straight line topology diagram of the graph convolutional neural network of the present invention.
[0028] Figure 3 Schematic diagram of the interconnection architecture of each node of the present invention.
[0029] Figure 4 It is a simulation comparison diagram of the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] like Figure 1 As shown, a method for intelligent prediction of power equipment faults based on graph convolutional neural network, the steps are as follows:
[0032] Step 1: Collect historical monitoring information of the power equipment to be predicted, preprocess the historical monitoring information, and the preprocessed monitoring information and the data set collected by the power data center constitute the training sample.
[0033] The preprocessing used here includes two parts: 1) data cleaning, which removes noise and irrelevant data in the original data (including voltage, current, and infrared images) to prevent the subsequent neural network training from not converging; 2) data reduction, which normalizes the original data (including voltage and current) using the standard deviation method to accelerate the convergence of subsequent neural network training.
[0034] For an electric power equipment to be predicted, its monitoring information is statistically recorded, including voltage, current, infrared images and other data, and the above monitoring information in the recent period is input into the graph convolutional neural network GCN to predict the fault information of the equipment in the future, including whether a fault occurs and the type of fault.
[0035] The n voltage information collected in the recent period is expressed as <u1,u2,…u n >,u i is the voltage of the device at a certain moment, which is a one-dimensional scalar; collect n current information, expressed as <a1,a2,…a n >, a i is a one-dimensional scalar; collect n infrared image information, expressed as <g1,g2…g n >. Among them, u i and a i is a one-dimensional scalar, and g i is a three-dimensional tensor representing a regular color image.
[0036] Step 2: Construct a graph convolutional neural network and initialize the neural network parameters; use the monitoring information as the input of each node of the graph convolutional neural network, and use the two-dimensional convolutional neural network and the fully connected neural network to classify the monitoring information.
[0037] Initialization is a common operation in neural network training, and the methods can be all-zero initialization or random initialization. Figure 2 As shown, the graph convolutional neural network GCN used in the present invention has n nodes arranged in a straight line topology, and the input of node i is i ,a i ,g i >. The link weight between node i and node i+1 is set to λ n-i , the value of λ is determined in the subsequent neural network training. The GCN with this topological architecture can extract the temporal dependency features of the input data.
[0038] The n nodes input to the graph convolutional neural network are arranged in a time series straight line topology, which can extract time-dependent features. The graph convolutional neural network has this function, which is obtained through the reasoning calculation of the graph convolutional neural network, just like the pooling layer of the convolutional neural network can extract local features of the image. Dependency features are data values generated by data with time dimension as dependency. The dependency features here specifically refer to the features presented by the infrared image data during this period of time, including a series of characteristic attributes and their values that can be intuitively recognized by humans, such as stable changes, abnormal aggravation, and abnormal reduction.
[0039] For data processing within node i, an interconnected architecture of a 2D-CNN and a fully connected neural network FNN is used, such as Figure 3 As shown. Among them, g i As the input of 2D-CNN, u i and a i And the output of 2D-CNN is used as the input of FNN, and the output of FNN (Y0, Y1…Y m ), the output indicates whether a fault occurs and the type of fault. The m outputs are encoded using one-hot coding. If all 0s are present, there is no fault; if the jth bit is 1, it indicates fault number j.
[0040] In the graph convolution process, the output spatial feature is set to {h t-p ,...,h t-1 ,h t}, that is, the p hidden states (h) contained in it, adopt the iterative calculation update process, as shown in the following formula. Among them, f(A,g t ) is the graph convolution process, A is the convolution kernel, the algorithm in the neural network, and also the parameter to be trained. When using it, just encode and call the relevant algorithm.t is the infrared image representation at time node t, z t The rendering operation at time node t, spatial feature h t After rendering operation, use z t Indicates that rendering is a specific algorithm operation in the AI algorithm. t is the activation function at the connection of node t, and the data transmission between each node is determined by c t and link weight λ n-i To calculate. t is the iterative output of the spatial feature t, and the remaining variables σ, W (z) , U (z) , W (c) They are the parameters to be trained in the neural network, representing the parameters in different places in the neural network (corresponding to the positions in the formula), which are to be determined in the subsequent training process.
[0041] z t =σ(W (z) f(A,g t )+U (z) h t-1 ) (1)
[0042] c t =tanh(W (c) f(A,g t )) (2)
[0043] h t =z t ⊙h t-1 +(1-z t )⊙c t (3)
[0044] Among them, σ is the activation layer parameter, W (z) is the fully connected layer parameter, U (z) is the spatial feature h in the rendering operation t-1 The transformation weight parameter, W (c) is the fully connected layer parameter, ⊙ is the XOR operation, and tanh is the tangent function.
[0045] In FNN, the connection spatial features {h t-p ,...,h t-1 ,h t}There are 4 hidden layers after that, and the scale of the neural network is (64, 256, 256, 64). The last layer uses a softmax layer to achieve classification prediction of power equipment failures.
[0046] The hidden layer further abstracts and extracts the correlation between the classified data. Classification prediction is achieved through the softmax layer, which is the basic principle of supervised learning. It just applies the algorithms and models used in this process to a specific equipment fault detection scenario.
[0047] Step 3: Use the training samples to train the graph convolutional neural network constructed in step 2 to obtain an optimized graph convolutional neural network model.
[0048] For the training of the above graph convolutional neural network GCN, the supervised learning method is adopted, and the process is as follows:
[0049] (1) Take out 10,000 sets of training data (x, y) from the data set G collected by the power data center;
[0050] (2) For the i-th group of training data (x i ,y i ), and input it into GCN to obtain the predicted value y i ', and use cross entropy to calculate the actual value y i and the predicted value y i The error between
[0051] (3) For the error loss calculated for each set of data, the stochastic gradient descent algorithm is used to optimize the network parameters in GCN;
[0052] The network parameters are the activation layer parameters σ and the fully connected layer parameters W. (z) and W (c) , the feature h in the rendering operation t-1 The transformation weight parameter U (z) .
[0053] (4) Randomly extract 100 sets of test data from the data set G collected by the power data center, calculate the error value according to the method in step (2), and calculate the average error loss avg , if the average error loss avg If it is within the range of 5%, the accuracy requirement is met and training is stopped; otherwise, return to step (1) to conduct the next batch of training.
[0054] Step 4: Collect the real-time monitoring information of the equipment to be tested and preprocess it, input the preprocessed monitoring information into the optimized graph convolutional neural network model to obtain the fault prediction results.
[0055] Based on a set of 10,000 collected data, the current mainstream centralized methods were tested and compared. The test results are as follows: Figure 4 As shown. Figure 4It can be seen that the method proposed in the present invention can achieve an accuracy rate of more than 80%, which is about 15% higher than that of commonly used algorithms.
[0056] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent prediction method for power equipment faults based on graph convolutional neural network, It is characterized in that The steps are as follows: Step 1: Collect historical monitoring information of the power equipment to be predicted, pre-process the historical monitoring information, and the pre-processed monitoring information and the data set collected by the power data center constitute the training sample; Step 2: Build a graph convolutional neural network and initialize the neural network parameters; The monitoring information is used as the input of each node of the graph convolutional neural network, and the graph convolutional neural network is used to classify the monitoring information; The graph convolutional neural network includes a connected two-dimensional convolutional neural network and a fully connected neural network, the input of the two-dimensional convolutional neural network is an infrared image, the output of the two-dimensional convolutional neural network and the voltage and current in the monitoring information are input into the fully connected neural network, and the output of the fully connected neural network is whether a fault occurs and the type of fault; Step 3: Use the training samples to train the graph convolutional neural network constructed in step 2 to obtain an optimized graph convolutional neural network model; The training of the graph convolutional neural network in step 3 adopts the supervised learning method as follows: (1) Take out 10,000 sets of training data (x, y) from the data set G collected by the power data center; (2) For the i-th group of training data (x i ,y i ), and input it into the graph convolutional neural network to obtain the predicted value y i ', and use cross entropy to calculate the actual value y i and the predicted value y i 'The error loss between them; (3) For the error loss calculated for each set of data, the stochastic gradient descent algorithm is used to optimize the network parameters in the graph convolutional neural network; (4) Randomly extract 100 sets of test data from the data set G collected by the power data center, calculate the error value according to the method in step (2), and calculate the average error loss avg , if the average error loss avg If it is within the 5% range, the accuracy requirement is met and training is stopped; Otherwise, return to step (1) to perform the next batch of training; Step 4: Collect the real-time monitoring information of the equipment to be tested and preprocess it, input the preprocessed monitoring information into the optimized graph convolutional neural network model to obtain the fault prediction results.
2. According to claim 1, the method for intelligent prediction of power equipment faults based on graph convolutional neural network, It is characterized in that The monitoring information includes the voltage, current and infrared image of the power equipment; the preprocessing includes two parts: 1) data cleaning, removing the noise and irrelevant data in the voltage, current and infrared image; 2) Data reduction: normalize the voltage and current using the standard deviation method.
3. According to claim 1 or 2, the intelligent prediction method for power equipment fault based on graph convolutional neural network, It is characterized in that The graph convolutional neural network has n nodes arranged in a straight line topology, and the input of node i is i ,a i ,g i >; The link weight between node i and node i+1 is λ n-i , link weight λ n-i Determined in the training of convolutional neural networks; graph convolutional neural networks are able to extract temporal dependency features of input data. 4. According to claim 3, the intelligent prediction method for power equipment faults based on graph convolutional neural network, It is characterized in that Collecting n voltage information is expressed as 1 ,u 2 ,…u n >,u i is the voltage of the device at a certain moment; collecting n current information is expressed as 1 ,a 2 ,…a n >; Collect n infrared image information and express it as <g 1 ,g 2 …g n >, g i Represents a three-dimensional tensor of a color image; where g i As the input of the 2D convolutional neural network, u i and a i The output of the two-dimensional convolutional neural network is used as the input of the fully connected neural network. The output of the fully connected neural network (Y 0 ,Y 1 …Y m ) indicates whether a fault has occurred and the type of fault. 5. According to claim 4, the intelligent prediction method for power equipment faults based on graph convolutional neural network, It is characterized in that Assume that the spatial features of the graph convolutional neural network output are {h t-p ,...,h t-1 ,h t }, that is, it contains p hidden states and uses an iterative update process: z t =σ(W (z) f(A,g t )+U (z) h t-1 ) c t =tanh(W (c) f(A,g t )) h t =z t ⊙h t-1 +(1-z t )⊙c t Among them, f(A,g t ) is the graph convolution process, A is the convolution kernel, g t is the infrared image representation of node t, z t The rendering operation at node t, c t is the activation function at the connection of node t, and the data transmission between each node is determined by c t and link weight λ n-i Calculate; h t is the iterative output of the spatial feature t, and the parameters σ and W to be trained in the graph convolutional neural network (z) , U (z) , W (c) And σ is the activation layer parameter, W (z) is the fully connected layer parameter, U (z) is the spatial feature h in the rendering operation t-1 The transformation weight parameter, W (c) is the fully connected layer parameter, ⊙ is the XOR operation, and tanh is the tangent function.
6. The intelligent prediction method for power equipment fault based on graph convolutional neural network according to claim 4 or 5, It is characterized in that In a fully connected neural network, the connection spatial features {h t-p ,...,h t-1 ,h t There are 4 hidden layers after}, and the last layer uses a softmax layer to realize the classification prediction of power equipment failure.
7. According to claim 1, the method for intelligent prediction of power equipment faults based on graph convolutional neural network, It is characterized in that The error
