Transmission tower insulator fault prediction method based on improved gray neural network

By introducing the momentum variable learning rate method and the combination of gray theory and artificial neural network into the gray neural network, the transmission pole insulator fault prediction model is optimized, solving the slow convergence and oscillation problems, improving the prediction accuracy and stability, and improving the power efficiency system reliability.

CN118734907APending Publication Date: 2024-10-01CHINA THREE GORGES UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410828812.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing transmission pole insulator fault prediction method based on gray neural network converges slowly during the learning process and is prone to oscillation, resulting in low prediction accuracy and affecting the reliability and safety of the power system.

Method used

The additional momentum variable learning rate method is used to improve the weight update strategy of the gray neural network. It combines gray theory and artificial neural network algorithms to determine the topology of the gray neural network, and optimizes the model through training samples to improve prediction accuracy and stability. .

Benefits of technology

It accelerates the prediction speed, improves the accuracy and stability of fault prediction, optimizes the performance of the model, improves the reliability of the power transmission system and reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734907A_ABST
    Figure CN118734907A_ABST
Patent Text Reader

Abstract

The invention discloses a transmission tower insulator fault prediction method based on an improved grey neural network, which comprises the following steps: firstly, constructing a traditional grey model, secondly, combining a grey theory with an artificial neural network algorithm, constructing a grey neural network model, and analyzing the grey neural network model; and finally, improving a weight updating strategy of the grey neural network through an additional variable learning rate method on the basis, and proposing a fault prediction model based on the improved grey neural network. Therefore, the power transmission tower insulator fault prediction method based on the improved gray neural network provided by the invention has better prediction precision. Compared with a traditional gray neural network model, the improved gray neural network model based on the additional variable learning rate method provided by the invention optimizes the performance of the gray neural network model, improves the fitting capability and reliability of the model, and improves the robustness of the model. The method is of great significance in improving the reliability of a power transmission system, reducing the operation and maintenance cost and improving the power supply quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of prediction analysis and electric power engineering, and in particular relates to a transmission tower insulator fault prediction method based on an improved grey neural network. Background Art

[0002] Transmission tower insulators are an important component of the power system, playing the important role of supporting transmission lines and insulating and conducting electricity. However, due to environmental factors, aging, contamination and other reasons, insulators may fail, resulting in reduced reliability and safety of the power system and possibly causing accidents.

[0003] Therefore, grey neural network has gradually become a hot topic and focus in the field of transmission tower insulator fault prediction. Researchers are committed to improving the prediction accuracy and reliability of the model to achieve rapid and accurate prediction and early warning of transmission tower insulator faults and improve the safety and reliability of the power system. It is a method that combines grey system theory with artificial neural network. Grey system theory is specifically used to process time series data and can model and predict data with incomplete and uncertain information, while artificial neural network has strong nonlinear modeling capabilities and can learn and establish complex relationships between input and output. The grey system theory and artificial neural network are integrated to form a grey neural network model. This model can use historical data for learning, establish a prediction model, and predict and warn future faults in the prediction of transmission tower insulator faults, providing strong support for the operation and maintenance of the power system.

[0004] Although some progress has been made in the transmission tower insulator fault prediction method based on grey neural network, there are still some shortcomings; first, the grey neural network model uses the gradient correction method to adjust the network weights, and corrects the weights from the negative gradient direction of the network prediction error, but does not consider the accumulation of previous experience, resulting in slow convergence of the learning process; secondly, for the grey neural network model, choosing a suitable learning rate is also crucial. Too large a learning rate will cause the weights to oscillate during the learning process, while too small a learning rate will make the network converge too slowly and the weights difficult to stabilize; therefore, it is necessary to design a transmission tower insulator fault prediction method based on an improved grey neural network to solve the above problems. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a transmission tower insulator fault prediction method based on an improved grey neural network. The method aims to accelerate the convergence speed, improve the model stability, and reduce the oscillation phenomenon during the training process. It can effectively improve the fault prediction accuracy and enhance the reliability and safety of the transmission system.

[0006] In order to achieve the above technical effects, the technical solution adopted by the present invention is:

[0007] A transmission tower insulator fault prediction method based on improved grey neural network includes the following steps:

[0008] S1, establish basic grey model;

[0009] S2, determining the grey neural network topology structure by combining the grey theory and artificial neural network algorithm through the basic grey model established in step S1;

[0010] S3, based on the grey neural network obtained in step S2, using a known sample sequence to train the grey neural network to construct a grey neural network model;

[0011] S4, on the basis of step S3, the weight update strategy of the grey neural network is improved by adding the momentum variable learning rate method, and a fault prediction model based on the improved grey neural network is obtained, so that it is known that the prediction method is effective when applied to transmission tower insulators and can effectively improve the fault prediction accuracy.

[0012] Preferably, in step S1, when constructing the basic grey model, a differential equation is established based on the original data sequence, and the abstract model is quantified using system information to predict the system output in the absence of system feature knowledge; the model description includes:

[0013] Assume the original data sequence x (0) for:

[0014] x (0) =(x (0) (t)|t=1,2,...,n)=(x (0) (1),x (0) (2),...,x (0) (n));

[0015] x (0) Make an accumulation to get the new data sequence x (1) , the tth item of the new data sequence is the original data sequence x (1) The sum of the first t terms of :

[0016]

[0017] Let Z (1) For X (1) Generate a sequence of adjacent means of :

[0018] z (1) (t) = 0.5[x (1) (t)+x (1) (t-1)]t=2,3,…,n;

[0019] This sequence is called the whitened background value sequence. Each whitened background value z (1) (t) are all x (1) (t) and the average value. According to the new data sequence x (1) Establish the grey differential equation:

[0020]

[0021] Where a is the development coefficient and b is the grey action; the values ​​of a and b are estimated using the least squares method:

[0022]

[0023]

[0024]

[0025] Then the solution of the grey differential equation is:

[0026]

[0027] In the formula, for The estimated value of the series Do a cumulative subtraction to get x (0) The predicted value of

[0028]

[0029] Preferably, in step S2, combining grey theory with an artificial neural network algorithm to determine the grey neural network topology structure includes:

[0030] The solution of the grey differential equation in the grey model in step S2 is used as the time response function of the grey neural network:

[0031]

[0032] Assuming that the number of elements in the original sequence is N, if t corresponds to the discrete time sequence {k} (k = 0, 1, ..., N-1), then the discrete time response function of the above formula is:

[0033]

[0034] Multiply both sides of the above equation by have to:

[0035]

[0036] According to the above formula:

[0037]

[0038] Mapping the above formula to the BP neural network, we get the grey neural network topology structure, where k is the network input and y(k) is the network predicted output value.

[0039] Preferably, in step S3, using a known sample sequence to train a neural network to construct a grey neural network model includes:

[0040] Calculate the corresponding differential equation coefficients to obtain the whitened gray differential equation, and use the differential equation to predict the unknown sample sequence; the specific method is:

[0041] set up Then the initial weight of the network is expressed as:

[0042]

[0043] The threshold of the output node in the LD layer is:

[0044]

[0045] The learning of grey neural network includes the forward transmission of samples and the back propagation of errors. In the forward transmission process, the input samples are processed layer by layer from the input layer to the hidden layer until the output layer. If the output layer does not get the expected output, it will enter the back propagation stage and adjust the network weights and thresholds according to the prediction error, so that the predicted output of the network is constantly close to the expected output. When the kth sample is input, the output of the jth node of the mth layer of the network is:

[0046]

[0047] in, is the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer; is the threshold of the jth node in the mth layer; and They represent the jth node output of the mth layer and the ith node output of the m-1th layer under the kth sample respectively; f m represents the transfer function of the mth layer;

[0048] According to the above formula, the output of each layer of the grey neural network is:

[0049] LA_a=α 1,k = k;

[0050]

[0051]

[0052]

[0053] Among them, the LB layer transfer function selects the S-type Sigmoid function, which has a high gain area and can ensure that the network eventually reaches a stable state; the transfer functions of other layers take f(x) = x; the Sigmoid function expression is as follows:

[0054]

[0055] The square error of the network under the kth sample is defined as:

[0056]

[0057] Among them, O(k) is the expected output of the network, y(k) is the predicted output of the network; assuming that there are K training samples of the grey neural network, the network mean square error corresponding to these K training samples is:

[0058]

[0059] It is defined as the error of the jth node in the mth layer when the network is training the kth sample. The error form gradient calculation formula of the network weight is:

[0060]

[0061] Among them, (f m )' represents the derivative of the transfer function of the mth layer;

[0062] Assuming that there are l nodes in the m+1th layer, we have:

[0063]

[0064] in, represents the error of the lth node in the m+1th layer when the network is training the kth sample; (f m+1 )' represents the derivative of the transfer function of the m+1th layer; represents the connection weight between the jth neuron in the mth layer and the lth neuron in the m+1th layer;

[0065] In the process of network training, the network weights and thresholds are corrected in batch mode, that is, after all training samples are input, the network parameters are adjusted by calculating the total mean square error gradient. From a global perspective, this method can make the error function move in a decreasing direction. The adjustment formula of the network weights is:

[0066]

[0067] Where η is the learning rate;

[0068] According to the above formula, the error of each layer of the grey neural network is calculated and the network weights are adjusted according to the error:

[0069] LD layer error: δ 4,k =y(k)-O(k);

[0070] LC layer error:

[0071] LB layer error:

[0072] Update the network weights according to the prediction error:

[0073]

[0074] Modulation threshold θ:

[0075]

[0076] In the grey neural network training process, the network weights w 11 、w 21 、w 22 、w 31 、w 32 And the output threshold θ is continuously corrected to realize the continuous solution of the optimal values ​​of the gray parameters a and b; when the network mean square error E meets the accuracy requirements, the gray neural network training is completed, and the trained model is used to predict the new data sequence.

[0077] Preferably, in step S4, improving the weight update strategy of the grey neural network by using the additional momentum variable learning rate method includes proposing a model improvement strategy based on the additional momentum variable learning rate method, and the specific formula is as follows:

[0078] When correcting the network weights, not only the effect of the error in the gradient direction is considered, but also the influence of the change trend on the error surface is considered. A value proportional to the previous weight change is added to each weight change, and new weights are generated according to the back propagation method. In the network learning process, the learning rate η changes adaptively. In the early stage of network evolution, η is large, which makes the network converge quickly. As the number of iterations increases, the learning rate η continues to decrease, making the network stable. The specific formula is:

[0079]

[0080] η(p)=η max -p(η max -η min ) / p max ;

[0081] Among them, p is the current iteration number; p max is the maximum number of iterations; is the change in the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer at the p-1th iteration; α is the momentum coefficient, 0≤α≤1; η(p) is the learning rate at the p-th iteration; η max is the maximum learning rate; η min is the minimum learning rate.

[0082] The beneficial effects of the present invention are as follows:

[0083] 1. The present invention improves the weight update strategy of the grey neural network by adding a momentum variable learning rate method, thereby improving the accuracy and stability of the prediction results, accelerating the prediction speed and optimizing the parameter selection, and having a substantial improvement on the stable operation and maintenance of the power system;

[0084] 2. Compared with the traditional grey neural network model, the improved grey neural network model based on the additional momentum variable learning rate method proposed in the present invention optimizes the performance of the grey neural network model, improves the fitting ability and reliability of the model, and is of great significance for improving the reliability of the power transmission system, reducing operation and maintenance costs, and improving the power supply quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Figure 1 It is a flowchart of the method of the present invention;

[0086] Figure 2 The overall flow chart of establishing the basic grey model in the present invention;

[0087] Figure 3 It is a topological structure diagram of a grey neural network in the present invention;

[0088] Figure 4 This is a fault prediction model diagram based on the improved grey neural network in the present invention;.

[0089] Figure 5 This is a diagram of the prediction results based on the improved grey neural network in the present invention. DETAILED DESCRIPTION

[0090] Embodiment 1:

[0091] like Figure 1 As shown, a transmission tower insulator fault prediction method based on an improved grey neural network includes the following steps:

[0092] S1, establish basic grey model;

[0093] S2, determining the grey neural network topology structure by combining the grey theory and artificial neural network algorithm through the basic grey model established in step S1;

[0094] S3, based on the grey neural network obtained in step S2, using a known sample sequence to train the grey neural network to construct a grey neural network model;

[0095] S4, on the basis of step S3, the weight update strategy of the grey neural network is improved by adding the momentum variable learning rate method, and a fault prediction model based on the improved grey neural network is obtained, so that it is known that the prediction method is effective when applied to transmission tower insulators and can effectively improve the fault prediction accuracy.

[0096] Preferably, in step S1, when constructing the basic grey model, a differential equation is established based on the original data sequence, and the abstract model is quantified using system information to predict the system output in the absence of system feature knowledge; the model description includes:

[0097] Assume the original data sequence x (0) for:

[0098] x (0) =(x (0) (t)|t=1,2,...,n)=(x (0) (1),x (0) (2),...,x (0) (n));

[0099] x (0) Make an accumulation to get the new data sequence x (1) , the tth item of the new data sequence is the original data sequence x (1) The sum of the first t terms of :

[0100]

[0101] Let Z (1) For X (1) Generate a sequence of adjacent means of :

[0102] z (1) (t) = 0.5[x (1) (t)+x (1) (t-1)]t=2,3,…,n;

[0103] This sequence is called the whitened background value sequence. Each whitened background value z (1) (t) are all x (1) (t) and the average value. According to the new data sequence x (1) Establish the grey differential equation:

[0104]

[0105] Where a is the development coefficient and b is the grey action; the values ​​of a and b are estimated using the least squares method:

[0106]

[0107]

[0108]

[0109] Then the solution of the grey differential equation is:

[0110]

[0111] In the formula, for The estimated value of the series Do a cumulative subtraction to get x (0) The predicted value of

[0112]

[0113] Preferably, in step S2, combining grey theory with an artificial neural network algorithm to determine the grey neural network topology structure includes:

[0114] The solution of the grey differential equation in the grey model in step S2 is used as the time response function of the grey neural network:

[0115]

[0116] Assuming that the number of elements in the original sequence is N, if t corresponds to the discrete time sequence {k} (k = 0, 1, ..., N-1), then the discrete time response function of the above formula is:

[0117]

[0118] Multiply both sides of the above equation by have to:

[0119]

[0120] According to the above formula:

[0121]

[0122] Mapping the above formula to the BP neural network, we get the grey neural network topology structure, where k is the network input and y(k) is the network predicted output value.

[0123] Preferably, in step S3, using a known sample sequence to train a neural network to construct a grey neural network model includes:

[0124] Calculate the corresponding differential equation coefficients to obtain the whitened gray differential equation, and use the differential equation to predict the unknown sample sequence; the specific method is:

[0125] set up Then the initial weight of the network is expressed as:

[0126] w 22 =2u,w 31 =w 32 =1+exp(-ak);

[0127] The threshold of the output node in the LD layer is:

[0128]

[0129] The learning of grey neural network includes the forward transmission of samples and the back propagation of errors. In the forward transmission process, the input samples are processed layer by layer from the input layer to the hidden layer until the output layer. If the output layer does not get the expected output, it will enter the back propagation stage and adjust the network weights and thresholds according to the prediction error, so that the predicted output of the network is constantly close to the expected output. When the kth sample is input, the output of the jth node of the mth layer of the network is:

[0130]

[0131] in, is the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer; is the threshold of the jth node in the mth layer; and They represent the jth node output of the mth layer and the ith node output of the m-1th layer under the kth sample respectively; f m represents the transfer function of the mth layer;

[0132] According to the above formula, the output of each layer of the grey neural network is:

[0133] LA_a=α 1,k = k;

[0134]

[0135]

[0136]

[0137] Among them, the LB layer transfer function selects the S-type Sigmoid function, which has a high gain area and can ensure that the network eventually reaches a stable state; the transfer functions of other layers take f(x) = x; the Sigmoid function expression is as follows:

[0138]

[0139] The square error of the network under the kth sample is defined as:

[0140]

[0141] Among them, O(k) is the expected output of the network, y(k) is the predicted output of the network; assuming that there are K training samples of the grey neural network, the network mean square error corresponding to these K training samples is:

[0142]

[0143] It is defined as the error of the jth node in the mth layer when the network is training the kth sample. The error form gradient calculation formula of the network weight is:

[0144]

[0145] Among them, (f m )' represents the derivative of the transfer function of the mth layer;

[0146] Assuming that there are l nodes in the m+1th layer, we have:

[0147]

[0148] in, represents the error of the lth node in the m+1th layer when the network is training the kth sample; (f m+1 )' represents the derivative of the transfer function of the m+1th layer; represents the connection weight between the jth neuron in the mth layer and the lth neuron in the m+1th layer;

[0149] In the process of network training, the network weights and thresholds are corrected in batch mode, that is, after all training samples are input, the network parameters are adjusted by calculating the total mean square error gradient. From a global perspective, this method can make the error function move in a decreasing direction. The adjustment formula of the network weights is:

[0150]

[0151] Where η is the learning rate;

[0152] According to the above formula, the error of each layer of the grey neural network is calculated and the network weights are adjusted according to the error:

[0153] LD layer error: δ 4,k =y(k)-O(k);

[0154] LC layer error:

[0155] LB layer error:

[0156] Update the network weights according to the prediction error:

[0157]

[0158] Modulation threshold θ:

[0159]

[0160] In the grey neural network training process, the network weights w 11 、w 21 、w 22 、w 31 、w 32 And the output threshold θ is continuously corrected to realize the continuous solution of the optimal values ​​of the gray parameters a and b; when the network mean square error E meets the accuracy requirements, the gray neural network training is completed, and the trained model is used to predict the new data sequence.

[0161] Preferably, in step S4, improving the weight update strategy of the grey neural network by using the additional momentum variable learning rate method includes proposing a model improvement strategy based on the additional momentum variable learning rate method, and the specific formula is as follows:

[0162] When correcting the network weights, not only the effect of the error in the gradient direction is considered, but also the influence of the change trend on the error surface is considered. A value proportional to the previous weight change is added to each weight change, and new weights are generated according to the back propagation method. In the network learning process, the learning rate η changes adaptively. In the early stage of network evolution, η is large, which makes the network converge quickly. As the number of iterations increases, the learning rate η continues to decrease, making the network stable. The specific formula is:

[0163]

[0164] Among them, p is the current iteration number; p max is the maximum number of iterations; is the change in the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer at the p-1th iteration; α is the momentum coefficient, 0≤α≤1; η(p) is the learning rate at the p-th iteration; η max is the maximum learning rate; η min is the minimum learning rate.

[0165] Embodiment 2:

[0166] According to a transmission tower insulator fault prediction method based on an improved grey neural network proposed in the present invention, the specific steps are:

[0167] Step 1: Establish a basic gray model.

[0168] Step 2: Through the grey model established in step 1, the grey theory and artificial neural network algorithm are combined to determine the grey neural network topology structure.

[0169] Step 3: Based on the grey neural network obtained in step 2, the known sample sequence is used to train the neural network to construct a grey neural network model.

[0170] Step 4: Based on step 3, the weight update strategy of the grey neural network is improved by adding the momentum variable learning rate method, and a fault prediction model based on the improved grey neural network is proposed. It is known that the prediction method is effective in the application of transmission tower insulators and can effectively improve the accuracy of fault prediction.

[0171] Figure 2 The overall flow chart for establishing a basic grey model.

[0172] Figure 2 A basic grey model was established, which established differential equations based on the original data sequence and used system information to quantify the abstract model, thereby predicting the system output in the absence of system characteristic knowledge. The model is described as follows:

[0173] Assume the original data sequence x (0) for:

[0174] x (0) =(x (0) (t)|t=1,2,...,n)=(x (0) (1),x (0) (2),...,x (0) (n)); (1)

[0175] x (0) Make an accumulation to get the new data sequence x (1) , the tth item of the new data sequence is the original data sequence x (1) The sum of the first t terms of , that is:

[0176]

[0177] Let the immediate neighbor mean generate the sequence, that is:

[0178] z (1) (t) = 0.5[x (1) (t)+x (1) (t-1)] t=2,3,…,n; (3)

[0179] This sequence is called the whitened background value sequence. Each whitened background value z (1) (t) are all x (1) (t) and the average value. According to the new data sequence x (1) Establish the grey differential equation, namely:

[0180]

[0181] Estimate the values ​​of a and b using the least squares method:

[0182]

[0183] in:

[0184] Then the solution to this equation is:

[0185]

[0186] for The estimated value of the series Do a cumulative subtraction to get x (0) The predicted value of Right now:

[0187]

[0188] Figure 3 is the topological structure diagram of the grey neural network. The solution of the grey differential equation in the grey model is taken as the time response function of the grey neural network, which is recorded as:

[0189]

[0190] Assuming that the number of elements in the original sequence is N, if t corresponds to the discrete time sequence {k} (k = 0, 1, ..., N-1), then the discrete time response function corresponding to equation (9) is:

[0191]

[0192] Multiply both sides of the above equation by have to:

[0193]

[0194] Then we have:

[0195]

[0196] Mapping equation (12) to the BP neural network, we get the grey neural network topology structure. Where: k is the network input; y(k) is the network predicted output value; w 11 、w 21 、w22 、w 31 、w 32 is the network weight; θ is the threshold of the output node; LA, LB, LC, and LD represent the four layers of the grey neural network respectively.

[0197] Figure 4 This is a diagram of the fault prediction model based on the improved grey neural network; Figure 4 is Figure 3 On this basis, the parameters of the grey neural network are initialized and trained, and a fault prediction model based on the improved grey neural network is constructed by the additional momentum variable learning rate method.

[0198] The neural network is trained with known sample sequences to obtain the corresponding differential equation coefficients and then the whitened grey differential equation, which is used to predict the unknown sample sequence.

[0199] set up Then the initial weight of the network can be expressed as:

[0200]

[0201] The threshold of the output node in the LD layer is:

[0202]

[0203] The learning of grey neural network mainly consists of two processes: forward transmission of samples and back propagation of errors. In the forward transmission process, the input samples are processed layer by layer from the input layer to the hidden layer until the output layer; if the output layer does not get the expected output, it will enter the back propagation stage and adjust the network weights and thresholds according to the prediction error, so that the network's predicted output is constantly close to the expected output. When the kth sample is input, the output of the jth node of the mth layer of the network is

[0204]

[0205] in: is the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer; is the threshold of the jth node in the mth layer; and They represent the jth node output of the mth layer and the ith node output of the m-1th layer under the kth sample respectively; f m represents the transfer function of the mth layer.

[0206] According to equations (13) to (15), the output of each layer of the grey neural network is:

[0207] LA_a=α 1,k = k; (16)

[0208]

[0209] Among them, the LB layer transfer function selects the S-type Sigmoid function, which has a high gain area and can ensure that the network eventually reaches a stable state. The transfer functions of other layers take f(x) = x. The Sigmoid function expression is as follows:

[0210]

[0211] The square error of the network under the kth sample is defined as:

[0212]

[0213] Among them, O(k) is the expected output of the network, and y(k) is the predicted output of the network. Assuming that there are K training samples of the grey neural network, the network mean square error corresponding to these K training samples is:

[0214]

[0215] It is defined as the error of the jth node in the mth layer when the network is training the kth sample. The error form gradient calculation formula of the network weight is:

[0216]

[0217] Among them, (f m )' represents the derivative of the transfer function of the mth layer.

[0218] Assuming that there are l nodes in the m+1th layer, we have:

[0219]

[0220] in, represents the error of the lth node in the m+1th layer when the network is training the kth sample; (f m+1 )' represents the derivative of the transfer function of the m+1th layer; Represents the connection weight between the jth neuron in the mth layer and the lth neuron in the m+1th layer.

[0221] During the network training process, the network weights and thresholds are corrected in batch processing, that is, after all training samples are input, the network parameters are adjusted by calculating the total mean square error gradient. From a global perspective, this method can make the error function move in a decreasing direction. The adjustment formula for the network weights is:

[0222]

[0223] Where η is the learning rate.

[0224] According to equations (23) to (25), the error of each layer of the grey neural network is calculated and the network weights are adjusted according to the error:

[0225] LD layer error: δ 4,k =y(k)-O(k);

[0226] LC layer error:

[0227] LB layer error:

[0228] Update the network weights according to the prediction error:

[0229]

[0230] Modulation threshold θ:

[0231]

[0232] In the grey neural network training process, the network weights w 11 、w 21 、w 22 、w 31 、w 32 The continuous correction of the output threshold θ is the process of continuously solving the optimal values ​​of the gray parameters a and b. The prediction ability of the model is also continuously improved in this process. When the network mean square error E meets the accuracy requirements, the gray neural network training is completed. The trained model can be used to predict new data sequences.

[0233] When correcting the network weights, not only the effect of the error in the gradient direction is considered, but also the influence of the changing trend on the error surface. A value proportional to the previous weight change is added to each weight change, and new weights are generated according to the back propagation method. In the network learning process, the learning rate η changes adaptively. In the early stage of network evolution, η is large, which makes the network converge quickly. As the number of iterations increases, the learning rate η continues to decrease, making the network tend to be stable.

[0234] The network weight adjustment formula based on the additional momentum variable learning rate method is:

[0235]

[0236] Among them, p is the current iteration number; p max is the maximum number of iterations; is the change in the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer at the p-1th iteration; α is the momentum coefficient, 0≤α≤1; η(p) is the learning rate at the p-th iteration; η maxis the maximum learning rate; η min is the minimum learning rate.

[0237] Figure 5 This is the prediction result diagram based on the improved grey neural network.

[0238] In order to illustrate the feasibility and effectiveness of the method proposed in the invention, the insulators and insulator defect targets in the transmission tower are detected, and the network parameters are corrected according to the weight adjustment formula of formula (26). The network is learned and evolved 120 times, and the best grey neural network parameters are finally obtained as a=0.1438 and b=0.7426.

[0239] Use the trained model to predict the monitoring data. Figure 5 It can be seen that the prediction accuracy of the fault prediction method based on the improved grey neural network is high, which shows that it is feasible to apply this method to the fault prediction of transmission tower insulators.

Claims

1. A transmission tower insulator fault prediction method based on improved grey neural network, characterized in that: The following steps are involved: S1, establish basic grey model; S2, determining the grey neural network topology structure by combining the grey theory and artificial neural network algorithm through the basic grey model established in step S1; S3, based on the grey neural network obtained in step S2, using a known sample sequence to train the grey neural network to construct a grey neural network model; S4, based on step S3, the weight update strategy of the grey neural network is improved by adding a momentum variable learning rate method to obtain a fault prediction model based on the improved grey neural network.

2. The method for predicting transmission tower insulator faults based on improved grey neural network according to claim 1, characterized in that: In step S1, when constructing the basic grey model, the differential equation is established based on the original data sequence, and the abstract model is quantified using the system information to predict the system output in the absence of system feature knowledge; the model The description includes: Assume the original data sequence x (0) for: x (0) =(x (0) (t)|t=1,2,...,n)=(x (0) (1),x (0) (2),...,x (0) (n)); x (0) Make an accumulation to get the new data sequence x (1) , the tth item of the new data sequence is the original data sequence x (1) The sum of the first t terms of : Let Z (1) For X (1) Generate a sequence of adjacent means of : z (1) (t)=0.5[x (1) (t)+x (1) (t-1)]t=2,3,…,n; This sequence is called the whitened background value sequence. Each whitened background value z (1) (t) are all x (1) (t) and the average value. According to the new data sequence x (1) Establish the grey differential equation: Where a is the development coefficient and b is the grey action; the values ​​of a and b are estimated using the least squares method: Then the solution of the grey differential equation is: In the formula, for The estimated value of the series Do a cumulative subtraction to get x (0) The predicted value of 3. The method for predicting transmission tower insulator faults based on improved grey neural network according to claim 2, characterized in that: In step S2, the grey theory and the artificial neural network algorithm are combined to determine the grey neural network topology structure including: The solution of the grey differential equation in the grey model in step S2 is used as the time response function of the grey neural network: Assuming that the number of elements in the original sequence is N, if t corresponds to the discrete time sequence {k} (k = 0, 1, ..., N-1), then the discrete time response function of the above formula is: Multiply both sides of the above equation by have to: According to the above formula: Mapping the above formula to the BP neural network, we get the grey neural network topology structure, where k is the network input and y(k) is the network predicted output value.

4. The method for predicting transmission tower insulator faults based on improved grey neural network according to claim 1, characterized in that: In step S3, the neural network is trained using a known sample sequence to construct a grey neural network model including: Calculate the corresponding differential equation coefficients to obtain the whitened gray differential equation, and use the differential equation to predict the unknown sample sequence; the specific method is: set up Then the initial weight of the network is expressed as: you 11 =a, you 22 =2u,w 31 =w 32 =1+exp(-ak); The threshold of the output node in the LD layer is: The learning of grey neural network includes the forward transmission of samples and the back propagation of errors. In the forward transmission process, the input samples are processed layer by layer from the input layer to the hidden layer until the output layer. If the output layer does not get the expected output, it will enter the back propagation stage and adjust the network weights and thresholds according to the prediction error, so that the predicted output of the network is constantly close to the expected output. When the kth sample is input, the output of the jth node of the mth layer of the network is: in, is the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer; is the threshold of the jth node in the mth layer; and They represent the jth node output of the mth layer and the ith node output of the m-1th layer under the kth sample respectively; f m represents the transfer function of the mth layer; According to the above formula, the output of each layer of the grey neural network is: LA_a=α 1,k =k; Among them, the LB layer transfer function selects the S-type Sigmoid function, which has a high gain area and can ensure that the network eventually reaches a stable state; the transfer functions of other layers take f(x) = x; the Sigmoid function expression is as follows: The square error of the network under the kth sample is defined as: Among them, O(k) is the expected output of the network, y(k) is the predicted output of the network; assuming that there are K training samples of the grey neural network, the network mean square error corresponding to these K training samples is: It is defined as the error of the jth node in the mth layer when the network is training the kth sample. The error form gradient calculation formula of the network weight is: Among them, (f m )' represents the derivative of the transfer function of the mth layer; Assuming that there are l nodes in the m+1th layer, we have: in, represents the error of the lth node in the m+1th layer when the network is training the kth sample; (f m+1 )' represents the derivative of the transfer function of the m+1th layer; represents the connection weight between the jth neuron in the mth layer and the lth neuron in the m+1th layer; During the network training process, the network weights and thresholds are corrected in batch mode, that is, after all training samples are input, the network parameters are adjusted by calculating the total mean square error gradient. The adjustment formula of the network weights is: Where η is the learning rate; According to the above formula, the error of each layer of the grey neural network is calculated and the network weights are adjusted according to the error: LD layer error: δ 4,k =y(k)-O(k); LC layer error: LB layer error: Update the network weights according to the prediction error: Modulation threshold θ: In the grey neural network training process, the network weights w 11 、w 21 、w 22 、w 31 、w 32 And the output threshold θ is continuously corrected to realize the continuous solution of the optimal values ​​of the gray parameters a and b; when the network mean square error E meets the accuracy requirements, the gray neural network training is completed, and the trained model is used to predict the new data sequence.

5. The method for predicting transmission tower insulator faults based on improved grey neural network according to claim 1, characterized in that: In step S4, improving the weight update strategy of the grey neural network by using the additional momentum variable learning rate method includes proposing a model improvement strategy based on the additional momentum variable learning rate method, and the specific formula is as follows: n(p)=n max -p(n max -or min ) / p max ; Among them, p is the current iteration number; p max is the maximum number of iterations; is the change in the connection weight between the i-th neuron in the m-1th layer and the j-th neuron in the m-th layer at the p-1th iteration; α is the momentum coefficient, 0≤α≤1; η(p) is the learning rate at the p-th iteration; η max is the maximum learning rate; η min is the minimum learning rate.