A method for evaluating the condition of ultra-high voltage transformers based on oil chromatography data
Through the UHV transformer condition assessment method based on oil chromatography data, generalized regression neural network and dynamic Bayesian network are used to realize real-time evaluation of short-term state changes of the transformer, solving the problem that traditional methods cannot judge early fault signs and state transition trends. , which improves the accuracy and credibility of condition evaluation and reduces the occurrence of power grid safety accidents.
Patent Information
- Application Number
- CN202311165495.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-09-11
AI Technical Summary
The traditional dissolved gas analysis method in transformer oil can only binary judge whether the equipment is in a healthy or faulty state. It cannot characterize the early failure signs of the equipment and the trend of short-term fault state transition of the transformer. Moreover, the online monitoring data is limited by the on-site atmospheric and electromagnetic environment. Impact, accuracy and stability fluctuate greatly, affecting the results and credibility of UHV transformer condition evaluation.
The UHV transformer condition assessment method based on oil chromatography data is used to obtain the oil and gas data at historical moments through field monitoring. The generalized regression neural network is used to predict the oil and gas data at future moments, and the dynamic Bayesian network is combined with the dynamic Bayesian network to evaluate the transformer condition at the current moment. , using fuzzy classification ideas to calculate the probability of state parameters to achieve real-time evaluation of short-term state changes of the transformer.
It effectively overcomes the impact of online monitoring data fluctuations, reduces false positives and false negatives, improves the effectiveness of alarms, can detect abnormal equipment status in a timely manner, warn security incidents in advance, and minimize power grid security accidents caused by equipment failures.
Smart Images

Figure CN117271990B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ultra-high voltage transformer operating status evaluation, and in particular to an ultra-high voltage transformer status evaluation method based on oil chromatogram data. Background Art
[0002] If a major accident occurs during the operation of the transformer, it will affect the normal operation of the power system, damage industrial production facilities, disrupt people's normal lives, damage social and economic development, and even endanger people's lives. Through the correct evaluation of the condition of the transformer in the power system, the fault of the transformer can be warned in time and maintenance can be organized in time, thus avoiding adverse effects on the safety of the power system.
[0003] The status evaluation of UHV transformers is to evaluate the operating status of UHV transformers in real time through various status parameters of UHV equipment. Status evaluation is an indispensable and important part of equipment management and the basis for making equipment maintenance decisions. The traditional analysis method of dissolved gas in transformer oil can only judge whether the equipment is in a healthy or faulty state in a binary way, and cannot characterize the early signs of equipment failure and the trend of short-term fault state transition of the transformer. The online monitoring device will also cause large fluctuations in the accuracy and stability of the acquired oil chromatographic data due to the influence of the on-site atmosphere and electromagnetic environment. The fixed alarm threshold is not universal, which directly affects the results and credibility of the UHV transformer status evaluation. Therefore, it is urgent to establish a set of UHV transformer dynamic evaluation algorithms to evaluate the short-term state changes of the transformer in real time. Summary of the invention
[0004] The present invention provides a method for evaluating the state of a UHV transformer based on oil chromatography data, so as to solve the problem that the traditional method for analyzing dissolved gas in transformer oil can only judge whether the equipment is in a healthy or faulty state in a binary manner, but cannot characterize the early signs of equipment failure and the trend of short-term failure state transition of the transformer. In addition, due to the influence of the on-site atmosphere and electromagnetic environment, the accuracy and stability of the acquired oil chromatography data fluctuate greatly, which directly affects the results and credibility of the UHV transformer state evaluation.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] On the one hand, the present invention provides a method for evaluating the state of a UHV transformer based on oil chromatogram data, the method comprising:
[0007] Through field monitoring, oil and gas data at historical moments are obtained; wherein the oil and gas data refers to the concentration of gas generated by the internal insulating oil and solid insulating materials during the operation of the UHV transformer;
[0008] Predict oil and gas data at future times through the preset oil and gas prediction model;
[0009] Based on the oil and gas data at historical moments and the predicted oil and gas data at future moments, a preset transformer state assessment model is used to assess the transformer state at the current moment to obtain an assessment result.
[0010] Furthermore, the oil and gas data include: carbon monoxide concentration, hydrogen concentration and total hydrocarbon concentration.
[0011] Furthermore, the oil and gas prediction model is a generalized regression neural network.
[0012] Furthermore, the preset oil and gas prediction model is used to predict the oil and gas data at future times, including:
[0013] Acquire multiple reference oil and gas data related to the oil and gas data to be predicted and the ratios between any two of the multiple reference oil and gas data as a set of data; and use the oil and gas data to be predicted as another set of data;
[0014] The nonlinear relationship between the two sets of data was analyzed using the kernel canonical correlation analysis method, and the eigenvalues were sorted to obtain the eigenvectors corresponding to the first seven eigenvalues.
[0015] Based on the feature vector and the sampled value of the oil and gas data to be predicted, the oil and gas prediction model is trained; wherein the input of the oil and gas prediction model is the feature vector, and the output is the predicted value of the oil and gas data;
[0016] Using the trained oil and gas prediction model, oil and gas data at future times can be predicted.
[0017] Furthermore, the reference oil and gas data include: acetylene concentration, ethane concentration, carbon dioxide concentration, ethylene concentration, methane concentration, carbon monoxide concentration, hydrogen concentration and total hydrocarbon concentration.
[0018] Furthermore, the transformer state assessment model is a dynamic Bayesian network.
[0019] Furthermore, based on the oil and gas data at the historical moment and the predicted oil and gas data at the future moment, a preset transformer state assessment model is used to assess the transformer state at the current moment, and an assessment result is obtained, including:
[0020] Based on the oil and gas data at historical moments obtained by field monitoring and the oil and gas data at future moments predicted by the oil and gas prediction model, the monthly carbon monoxide production rate, the monthly hydrogen production rate, the monthly total hydrocarbon production rate and the total hydrocarbon gas content are calculated as four state parameters for evaluating the operating state of the transformer; the four state parameters are used as observed feature quantities, and the operating state of the transformer is used as a hidden variable;
[0021] Using the idea of fuzzy classification, the probability of the four state parameters belonging to the three state intervals of small, normal and surge is calculated through the membership function, and the initial probability statistical table is obtained; and the operating state of the transformer at the previous moment and the future moment is used as the prior probability affecting the operating state at the current moment; among them, the operating state at the previous moment is passed to the current moment as the prior probability; for the operating state at the future moment, the static Bayesian network is used to infer it, and the inference result is used as the parent node of the dynamic Bayesian network;
[0022] After determining the network structure and initial probability distribution of the transformer state assessment model, training the transformer state assessment model to obtain a trained transformer state assessment model;
[0023] The trained transformer state assessment model is used to obtain the transformer state assessment result at the current moment.
[0024] Further, the membership function includes a membership function of a relatively small total hydrocarbon content, a membership function of a normal total hydrocarbon content, a membership function of a surge in total hydrocarbon content, a membership function of a relatively small monthly carbon monoxide production rate, a membership function of a normal monthly carbon monoxide production rate, a membership function of a surge in monthly carbon monoxide production rate, a membership function of a relatively small monthly hydrogen production rate, a membership function of a normal monthly hydrogen production rate, a membership function of a surge in monthly hydrogen production rate, a membership function of a relatively small monthly total hydrocarbon production rate, a membership function of a normal monthly total hydrocarbon production rate, and a membership function of a surge in monthly total hydrocarbon production rate; wherein,
[0025] The membership function of the total hydrocarbon content is smaller:
[0026]
[0027] The membership function of normal total hydrocarbon content is:
[0028]
[0029] The membership function of the total hydrocarbon content surge is:
[0030]
[0031] The membership function of the carbon monoxide monthly production rate is relatively small:
[0032]
[0033] The membership function of the normal monthly carbon monoxide production rate is:
[0034]
[0035] The membership function of the monthly carbon monoxide production rate surge is:
[0036]
[0037] The membership function of the small monthly hydrogen production rate is:
[0038]
[0039] The membership function of normal monthly hydrogen production rate is:
[0040]
[0041] The membership function of the monthly hydrogen production rate surge is:
[0042]
[0043] The membership function of the total hydrocarbon monthly gas production rate is relatively small:
[0044]
[0045] The membership function of normal total hydrocarbon monthly gas production rate is:
[0046]
[0047] The membership function of the monthly total hydrocarbon production rate surge is:
[0048]
[0049] Wherein, f(x) represents the degree of membership; x represents the value of the state parameter, and the state parameter is the monthly production rate of carbon monoxide, the monthly production rate of hydrogen, the monthly production rate of total hydrocarbons or the total hydrocarbon gas content.
[0050] On the other hand, the present invention further provides an electronic device, comprising a processor and a memory; wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the above method.
[0051] In yet another aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement the above method.
[0052] The beneficial effects brought about by the technical solution provided by the present invention include at least:
[0053] The technical solution of the present invention uses dissolved gas in oil as the evaluation basis, and uses the prediction of dissolved gas as an auxiliary means to evaluate the transformer status. The technical solution of the present invention includes a prediction model for predicting the gas concentration of three gases, CO, H2, and total hydrocarbons, based on KCCA-GRNN, and an evaluation model for evaluating the status of the transformer at the current moment based on a dynamic Bayesian network. Utilizing the present invention, a real-time evaluation of short-term state changes of the transformer can be performed, effectively overcoming the impact of fluctuations in online monitoring data, reducing false alarms and missed alarms, improving the effectiveness of alarms, and being able to promptly detect abnormal equipment status, early warning of safety incidents, and minimize power grid safety accidents caused by equipment failures, thereby maintaining substation equipment and power grid safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0055] Figure 1 It is a schematic diagram of the execution flow of the method for evaluating the state of an ultra-high voltage transformer based on oil chromatogram data provided by an embodiment of the present invention;
[0056] Figure 2 It is a generalized regression neural network structure diagram;
[0057] Figure 3 is a KCCA-GRNN prediction flow chart provided by an embodiment of the present invention;
[0058] Figure 4 is a schematic diagram of CO concentration prediction results provided by an embodiment of the present invention;
[0059] Figure 5 is a schematic diagram of hydrogen concentration prediction results provided by an embodiment of the present invention;
[0060] Figure 6 is a schematic diagram of the total hydrocarbon gas concentration prediction result provided by an embodiment of the present invention;
[0061] Figure 7 is a schematic diagram of a Bayesian network;
[0062] Figure 8 is a schematic diagram of a dynamic Bayesian network; (a) is the initial network, and (b) is the transition network;
[0063] Fig. 9 is a complete dynamic Bayesian network schematic diagram provided by an embodiment of the present invention;
[0064] Fig.10 Schematic diagram of the membership function of a combination of a trapezoid and a triangle provided in an embodiment of the present invention;
[0065] Fig.11 is a schematic diagram of a static Bayesian network provided by an embodiment of the present invention;
[0066] Fig.12 is a schematic diagram of a dynamic Bayesian network provided by an embodiment of the present invention;
[0067] Fig.13 It is a schematic diagram of a transformer status evaluation process based on prediction results provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0069] First embodiment
[0070] This embodiment provides a method for evaluating the state of a UHV transformer based on oil chromatogram data. The method can be implemented by an electronic device. The execution flow of the method is as follows: Figure 1 As shown, the following steps are included:
[0071] S1, obtaining oil and gas data at historical moments through field monitoring; wherein the oil and gas data refers to the concentration of gas generated by internal insulating oil and solid insulating materials during the operation of the UHV transformer;
[0072] S2, predicting the oil and gas data at future times through a preset oil and gas prediction model;
[0073] It should be noted that this state assessment method requires the use of gas concentration information at future times, so a KCCA-GRNN-based UHV transformer gas composition prediction method is first proposed.
[0074] 1.1 Transformer gas data feature extraction based on KCCA
[0075] When predicting transformer oil and gas data, it is necessary to use gas data such as acetylene, ethane, carbon dioxide, ethylene, methane, carbon monoxide, hydrogen, total hydrocarbons, and the concentration ratio between gases as feature vectors to predict data. Therefore, in the transformer data prediction process, multidimensional feature vectors will be involved. For neural networks, using multidimensional feature vectors for calculations will cause the calculation speed to decrease. In addition, if features with low correlation with the variables to be predicted are introduced, the prediction results will be deteriorated and the prediction accuracy will be reduced. In order to solve this problem, before predicting transformer data, it is necessary to process the data. For this, the method adopted in this embodiment is to extract features from the feature variables and the variables to be predicted using the KCCA method to obtain feature variables with large correlation coefficients. The extracted feature variables can be used as input vectors of the neural network to perform subsequent data prediction.
[0076] 1.1.1 Canonical Correlation Analysis Method
[0077] Canonical Correlation Analysis (CCA) is mainly used for quantitative analysis of the correlation between two sets of multidimensional data to reveal the intrinsic relationship between the two sets of data. n ],Y=[y1,y2,y3......y n ] are two groups of random variables. Through the canonical correlation analysis method, we can get the basis vector U=[u1,u2,u3......u p ]、V=[v1,v2,v3......v p ], so that the correlation between the typical vectors of the original X and Y matrices on the basis vectors is maximized. The typical vector can be expressed as
[0078] X * =U T X (1-1)
[0079] Y * =V T Y (1-2)
[0080] The correlation coefficient is:
[0081]
[0082] Among them, C xx is the covariance matrix of X, C yy is the covariance matrix of Y, C xyis the mutual covariance matrix of X and Y. Since U and V are selected to maximize the correlation coefficient ρ, and the values of U and V do not affect the size of the correlation coefficient ρ, U and V can be appropriately scaled so that the variance of U and V is 1, and set as a constraint condition, so that the maximum correlation coefficient problem of U and V can be converted into a constrained optimization problem as shown in the following formula:
[0083]
[0084] For the above constrained optimization problem, the Lagrangian function can be constructed to solve equation (1-4) and obtain the optimal U and V.
[0085] 1.1.2 Kernel Canonical Correlation Analysis Method
[0086] Canonical correlation analysis is a linear algorithm that can only express the linear relationship between two sets of data. However, in actual engineering problems, the variables encountered often have certain nonlinearity. In order to reveal the nonlinear relationship between data, Akaho introduced the kernel method into CCA and proposed the kernel canonical correlation analysis method (KCCA) suitable for nonlinear correlated variables. KCCA introduces the kernel function on the basis of CCA. The kernel function is used to map low-dimensional data to high-dimensional data space, and then the features of the data are extracted according to the idea of canonical correlation analysis.
[0087] Suppose that the mapping function φ(x) satisfies K(x,y)=<φ(x),φ(y)>, then K(x) is called the kernel function. For the sample X=[x1,x2,x3......x n ],Y=[y1,y2,y3......y n ] to perform φ function mapping, and then solve the correlation coefficient of samples X and Y according to formula (1-3), we can get
[0088] The optimization problem then becomes the following:
[0089]
[0090] The Lagrangian function method is used to solve equation (1-5), and the Lagrangian multipliers λ and ν are introduced to obtain the following Lagrangian function:
[0091]
[0092] 1.1.3 Kernel Canonical Correlation Analysis Calculation Process
[0093] Derivative the Lagrangian function mentioned above, we get:
[0094]
[0095]
[0096] Multiply equation (3-7) and equation (3-8) by U T 、V T ,have to:
[0097] U T K(X,Y)V-λU T K(X,X)U=0 (1-9)
[0098] V T K(Y,X)U-νV T K(Y,Y)V=0 (1-10)
[0099] Because (U T K(X,Y)V) T =V T K(Y,X)U, combining formula (1-9) and formula (1-10), we can get λU T K(X,X)U=νV T K(Y,Y)V, according to the constraints, λ=ν=U T K(X,Y)V=ρ, so the value of λ is the correlation coefficient of high-dimensional data φ(X) and φ(Y).
[0100] Multiply equation (1-8) by K(X,Y)K(Y,Y) on the left -1 , and because λ=ν, we get:
[0101] K(X,Y)K(Y,Y) -1 K(Y,X)U=λK(X,Y)V (1-11)
[0102] Substituting formula (1-7) into formula (1-11), we get:
[0103] K(X,Y)K(Y,Y) -1 K(Y,X)U=λ 2 K(X,X)U
[0104] So (K(X,Y)K(Y,Y) -1 K(Y,X)-λ 2 K(X,X))U=0 (1-12)
[0105] Multiply equation (1-7) on the left by K(Y,X)K(X,X) -1 ,have to:
[0106] K(Y,X)K(X,X) -1 K(X,Y)V=λK(Y,X)V (1-13)
[0107] Substituting formula (1-8) into formula (1-13), we get:
[0108] K(Y,X)K(X,X) -1 K(X,Y)V=λ 2 K(Y,Y)V
[0109] So (K(Y,X)K(X,X) -1 K(X,Y)-λ 2 K(Y,Y))V=0 (1-14)
[0110] Multiply equation (1-12) by K(X,X) on the left -1 ,have to
[0111] (K(X,X) -1 K(X,Y)K(Y,Y) -1 K(Y,X)-λ 2 )U=0
[0112] Multiply equation (1-14) by K(Y,Y) on the left -1 ,have to
[0113] (K(Y,Y) -1 K(Y,X)K(X,X) -1 K(X,Y)-λ 2 )V=0
[0114] Let K(X,X) -1 K(X,Y)K(Y,Y) -1 K(Y,X)=A,K(Y,Y) -1 K(Y,X)K(X,X) -1 K(X,Y)=B
[0115] Then AU=λ 2 U,BV=λ 2 V,λ 2 is the characteristic root of matrix A and B, and U and V are the corresponding 2 The process of solving the maximum correlation coefficient is to find the eigenvector corresponding to the largest eigenvalue of the A and B matrices, and then the second largest correlation coefficient can be calculated. After calculating the corresponding U and V, the required feature parameters can be obtained through the corresponding feature extraction projection equation.
[0116] 1.2 UHV transformer gas concentration prediction model based on KCCA-GRNN
[0117] 1.2.1 Feature Selection
[0118] When the transformer is in normal operation, its internal insulating oil and solid insulating materials will produce a small amount of gas due to the effects of electric field, humidity and oxidation, mainly including acetylene C2H2, ethane C2H6, carbon dioxide CO2, ethylene C2H4, methane CH4, carbon monoxide CO, hydrogen H2 and total hydrocarbons. When the transformer fails or is abnormal, the content of certain components in the gas will also change. According to statistical data, when the transformer fails, the content of CO, H2 and total hydrocarbons will change. The concentration of these three gases can be predicted to help complete the subsequent status assessment.
[0119] Taking into account the correlation between the gas concentrations generated by the transformer, the relationship between the concentration ratios of the two gases needs to be considered when conducting a status assessment analysis of the transformer. Therefore, eight gases, including acetylene C2H2, ethane C2H6, carbon dioxide CO2, ethylene C2H4, methane CH4, carbon monoxide CO, hydrogen H2, and total hydrocarbons, as well as the concentration ratios of any two gases are selected as reference vectors.
[0120] 1.2.2 Feature extraction
[0121] The 36-dimensional reference vectors of the eight gases mentioned above, including acetylene C2H2, ethane C2H6, carbon dioxide CO2, ethylene C2H4, methane CH4, carbon monoxide CO, hydrogen H2, total hydrocarbons, and the concentration ratios of each gas are taken as a set of data, and the three gases to be predicted, CO, H2, and total hydrocarbons, are taken as another set of data. The KCCA method is used to analyze the nonlinear relationship between the two sets of data, and the eigenvalues are sorted to obtain the eigenvectors corresponding to the first seven eigenvalues. Then, the feature extraction vector is obtained through the feature extraction projection equation as the input vector of the neural network.
[0122] 1.2.3GRNN prediction model
[0123] Generalized Regression Neural Network (GRNN) is a type of radial basis neural network. It is a type of forward network constructed based on function approximation theory. It has strong nonlinear mapping capabilities and flexible network structure. It has strong fault tolerance and robustness for solving nonlinear problems. It has been widely used in signal processing, food science, medicine and health fields due to its self-adaptive and high-speed ability to find optimal solutions and the advantages of no need for mathematical modeling.
[0124] GRNN has a strong advantage over other intelligent algorithms in predicting the development trend of dissolved gas in transformer oil. The model finally converges to the optimized regression surface with more sample clusters, and the prediction effect is relatively good. The GRNN prediction model consists of four layers: input layer, pattern layer, summation layer, and output layer. The network structure diagram is shown in the figure below. Figure 2 shown.
[0125] The theoretical basis of generalized regression neural network is nonlinear kernel regression. Let the joint probability density function of random variables x and y be f(x,y), and let x be x0. Then the regression value of y for x0 is:
[0126]
[0127] Where y0 is the predicted output when x0 is input.
[0128] When the probability density function f(x,y) is unknown, it is necessary to use the Parzen nonparametric estimation method, using the collected sample data {x i ,y i}Estimated density function. Its estimated density function is:
[0129]
[0130] Where: x i ,y i is the sample observation value of x and y, n is the sample capacity, p is the dimension of x, and σ is the width coefficient of the Gaussian function, that is, the smoothing parameter.
[0131] Substituting formula (4-2) into formula (4-1) and further simplifying it, we can get:
[0132]
[0133] When the smoothing factor σ is very large, is close to the mean of the sample dependent variable; on the contrary, when the smoothing factor σ approaches 0, It is very close to the training sample.
[0134] The GRNN prediction process is as follows:
[0135] Input layer: The input layer inputs the feature vector into the generalized regression neural network and divides the input vector into a training set and a test set. This paper uses the first 90% of the data as the training set and the last 10% as the test set to test the prediction effect. The number of neurons in the input layer is equal to the dimension of the input vector. Each neuron is a simple distribution unit that directly passes the input variable to the pattern layer.
[0136] Pattern layer: The number of neurons in the pattern layer is equal to the number of input samples. The pattern layer is used to calculate the value of the Gauss function of each sample in the test sample and the training sample.
[0137]
[0138] Summation layer: The summation layer uses two types of neurons for summation. One type of neuron performs arithmetic summation of the outputs of all pattern layer neurons. Another type of neuron performs a weighted summation of the outputs of neurons in all pattern layers
[0139] Output layer: outputs the prediction results of gas. The number of nodes in the output layer is equal to the dimension of the label vector. The output of each node is equal to the corresponding summation layer output divided by the output of the first node in the summation layer, as shown in formula (1-17).
[0140] Use Python to build the KCCA-GRNN structure, input feature parameters, divide the training set and test set, modify the size of the smoothing factor, and perform training and prediction. The KCCA-GRNN prediction process is as follows: Figure 3 shown.
[0141] 1.3 UHV transformer gas concentration prediction model based on KCCA-GRNN
[0142] 1.3.1 Experimental Dataset
[0143] This paper takes a total of 5367 data from the 1000kV Changnan I Line A Phase Reactor Online Monitoring Device of the State Grid Henan Electric Power Co., Ltd. from October 1, 2014 to December 19, 2019 as an example, and uses 90% of them as training samples to train the constructed generalized regression neural network, and 10% as test samples to test the prediction results of the neural network. The original data contains some blank sequences, and blank sequences will cause neural network calculation errors, so the blank sequences are removed first and then used as the input vector of the neural network.
[0144] Table 1.1 Oil chromatography gas data training set (unit: μL / L)
[0145]
[0146] Table 1.2 Oil chromatography gas data test set (unit: μL / L)
[0147]
[0148] 1.3.2 Experimental evaluation indicators
[0149] In order to compare the prediction results of different models and the accuracy of the proposed model, mean square error, mean absolute percentage error, maximum relative percentage error and correlation coefficient were selected to evaluate the prediction effect of the model.
[0150] The mean square error between the true value and the predicted value of the test set is:
[0151]
[0152] The mean absolute percentage error between the true and predicted values of the test set is:
[0153]
[0154] The maximum relative percentage error between the true value and the predicted value of the test set is:
[0155]
[0156] The correlation coefficient between the true value and the predicted value of the test set is:
[0157]
[0158] Where: y act is the true value of the gas dissolved in the oil, y pre is the predicted value of dissolved gas in oil, cov(y act ,y pre ) is y act With y pre The covariance of var(y act ) is y act The variance of var(y pre ) is y pre The variance of .
[0159] 1.3.3 Application Results Analysis
[0160] First, the KCCA method is used to perform kernel canonical correlation analysis on the 36-dimensional feature vector and the 3-dimensional vector to be predicted, and 7 groups of vectors with larger eigenvalues are extracted as the main feature vectors, which are then combined with the gas concentration sequence to be predicted in the training set to form the input vector of the generalized regression neural network. After training and modifying the size of the smoothing factor, the concentrations of three gases, CO, H2, and total hydrocarbons, are predicted, and the prediction results of the neural network are evaluated according to the evaluation indicators mentioned above.
[0161] Finally, the prediction results and evaluation index values are obtained as follows Figure 4 , Figure 5 , Figure 6 As shown, the horizontal axis is the gas data serial number, and the vertical axis is the content of each gas, in μL / L.
[0162] Table 1.3 CO concentration prediction result evaluation index values
[0163]
[0164] Table 1.4 Evaluation index values of hydrogen concentration prediction results
[0165]
[0166] Table 1.5 Evaluation index values for total hydrocarbon gas concentration prediction results
[0167]
[0168] The prediction method of this embodiment is compared with the results of the traditional support vector regression prediction method. The predicted gases are still CO, H2, and total hydrocarbons, and the data set division remains consistent. The prediction results are shown in Table 1.6, Table 1.7, and Table 1.8. It can be seen that when the number of samples in the test set is the same, the prediction model proposed in this paper has more accurate prediction results and better fits the data.
[0169] Table 1.6 Impact of different prediction models on CO prediction results
[0170]
[0171] Table 1.7 The impact of different prediction models on H2 prediction results
[0172]
[0173] Table 1.8 The impact of different prediction models on total hydrocarbon prediction results
[0174]
[0175] Tests were conducted on three gases: CO, H2, and total hydrocarbons. From the results, it can be seen that the mean square error, mean absolute percentage error, maximum relative percentage error, and correlation coefficient obtained by using the generalized regression neural network for prediction are smaller than those obtained using the support vector regression model.
[0176] The analysis shows that when the number of samples in the training set and the test set is the same, the prediction effect of the generalized regression neural network is always better than that of the support vector regression. Its prediction results are more consistent with the test set data, and the overall prediction error is less, which shows the superiority of the generalized regression neural network in the prediction of dissolved gas in transformer oil. In summary, the prediction model proposed in this paper has more accurate prediction results and better fits the data.
[0177] S3, based on the oil and gas data at historical moments and the predicted oil and gas data at future moments, a preset transformer state assessment model is used to assess the transformer state at the current moment to obtain an assessment result.
[0178] It should be noted that the comprehensive state assessment method based on dynamic Bayesian network takes into account the time factor, so it can deal with dynamic uncertainty problems and analyze the behavior that occurs within a period of time in order to perform state maintenance on the transformer. In addition, a fuzzy classification based on membership is used to take into account the randomness and uncertainty of network state parameters to ensure the accuracy of the evaluation results.
[0179] Based on the KCCA-GRNN UHV transformer gas concentration prediction model, a transformer state evaluation system based on the prediction results was proposed. The state results of the previous moment and the future moment were used as the prior probability of the state evaluation at the current moment, and a comprehensive analysis of the overall condition of the transformer was conducted. Through the comprehensive condition evaluation of the transformer, it was proved that the transformer state evaluation system using the dynamic Bayesian network has good overall evaluation effect, and the evaluation results are comprehensive and reliable. It is an effective means that can be used by transformer testers and maintenance personnel, which is of great significance to the safe production of transformers and the safe operation of power systems.
[0180] 2.1 Dynamic Bayesian Network
[0181] Bayesian network is a graphical model that describes the dependency relationship between data variables and is a model used for reasoning. It can represent the joint probability distribution and correlation between variables, so that uncertain relationships can be better expressed. In the state assessment method, the probability of each state can be calculated to determine the state assessment result. A simple Bayesian network such as Figure 7 shown.
[0182] Since the static Bayesian network does not consider the time factor, it cannot handle dynamic uncertainty problems and thus cannot analyze the behavior that occurs within a period of time. The dynamic Bayesian network takes the time factor into account on the basis of the static Bayesian network and can describe the state changes of the dynamic system at different times. The dynamic Bayesian network is obtained by expanding the Bayesian network with the same structure along the time axis. The typical dynamic Bayesian network consists of two parts: the initial network and the transfer network. The initial network defines the probability distribution at the initial moment, see Figure 8 (a). The transition network represents the state transition. The network is connected by edges between two time slices, which expresses the passage of time. Figure 8 (b). The dynamic Bayesian network uses probability theory to perform calculations in network nodes. Through the initial probability distribution, the conditional probabilities between the network graphs are continuously calculated, and finally the probability distribution of each node is obtained. The complete dynamic Bayesian network can be found in Fig. 9 .
[0183] 2.2 Establishment of dynamic Bayesian model for transformer condition assessment
[0184] 2.2.1 Feature extraction
[0185] After consulting the literature and understanding the actual causes of transformer failures, this paper decided to use the total hydrocarbon content, CO monthly gas production rate, H2 monthly gas production rate, and total hydrocarbon monthly gas production rate as observed feature quantities, and the operating status of the transformer as a hidden variable. For transformers, the dissolved gas in its oil is affected by many factors. When a fault occurs, the gases with the largest changes in gas concentration are the concentrations of H2 and total hydrocarbons. Combined with the data of the transformer online monitoring device and maintenance experience, the total hydrocarbon content, CO monthly gas production rate, H2 monthly gas production rate, and total hydrocarbon monthly gas production rate are used as the four state parameters for evaluating the transformer status.
[0186] 2.2.2 Data Preprocessing
[0187] Like the Bayesian network, the node types of the dynamic Bayesian network are usually finite discrete values, and the four state parameters selected in this paper are all real numbers collected. In order to improve the computing performance of the dynamic Bayesian network, combined with the fuzzy classification idea, the corresponding fuzzy sets are established according to the discrete states of the four state parameter data. Fuzzy classification is performed by designing fuzzy classification functions to obtain the membership between the data of each state parameter and different fuzzy sets. The obtained membership can be used as the probability that each state parameter belongs to each state interval. The division of the state intervals of the state parameters selected in this paper is shown in Table 2.1.
[0188] Table 2.1 Division of feature state intervals
[0189]
[0190] In order to obtain the probability that different state parameters belong to each state interval, the membership function of the trapezoidal and triangular combination is established to evaluate the state parameters. The image of the membership function of the trapezoidal and triangular combination is shown in Fig.10 shown.
[0191] Combining the data characteristics of the feature quantity and the characteristics of the membership function, the membership function is established as follows.
[0192] The membership function of the total hydrocarbon content is smaller:
[0193]
[0194] The membership function of normal total hydrocarbon content is:
[0195]
[0196] The membership function of the total hydrocarbon content surge is:
[0197]
[0198] The membership function of the carbon monoxide monthly production rate is relatively small:
[0199]
[0200] The membership function of the normal monthly carbon monoxide production rate is:
[0201]
[0202] The membership function of the monthly carbon monoxide production rate surge is:
[0203]
[0204] The membership function of the small monthly hydrogen production rate is:
[0205]
[0206] The membership function of normal monthly hydrogen production rate is:
[0207]
[0208] The membership function of the monthly hydrogen production rate surge is:
[0209]
[0210] The membership function of the total hydrocarbon monthly gas production rate is relatively small:
[0211]
[0212] The membership function of normal total hydrocarbon monthly gas production rate is:
[0213]
[0214] The membership function of the monthly total hydrocarbon production rate surge is:
[0215]
[0216] Wherein, f(x) represents the degree of membership; x represents the value of the state parameter, and the state parameter is the monthly production rate of carbon monoxide, the monthly production rate of hydrogen, the monthly production rate of total hydrocarbons or the total hydrocarbon gas content.
[0217] The parameter training of the model is carried out after the network structure and initial probability distribution of the transformer state assessment model are determined. The node parameters are continuously updated through data, thereby continuously improving the accuracy of the dependency relationship between influencing factors. According to the established membership function and combined with the historical data of the experiment, the initial probability distribution of the state intervals of the four observed variables under different states is given, as shown in Table 2.2.
[0218] Table 2.2 Initial probability distribution table
[0219]
[0220]
[0221] 2.2.3 Evaluation model structure established
[0222] The value of the characteristic parameter of the UHV transformer will change greatly under different operating conditions. The value of the characteristic parameter is strongly correlated with the operating state of the UHV transformer. The current state of the transformer is closely related to the state at the previous moment and the state at the next moment. This paper takes the four characteristic parameters as the observed variables of the Bayesian system, the state of the transformer as the hidden variable, and the static Bayesian network composed of the transformer state and the four characteristic parameters. Fig.11 .
[0223] Dynamic Bayesian Network is based on Fig.11 Based on the static Bayesian network shown in the figure, the dynamic Bayesian network on two time slices is obtained by expanding it in the time dimension. Fig.12 As shown in the figure, by establishing a dynamic Bayesian network, we can clearly see the relationship between the state of the transformer and the characteristic parameters at different times. After adding the time dimension, the state of the transformer at the previous moment is passed to the current moment as a priori probability, which means that the state of the transformer at the current moment is affected by the state of the transformer at the previous moment. For the state of the transformer at the future moment, it is impossible to put it into the dynamic Bayesian network as a time slice for iteration. We can use a static Bayesian network to infer and use the inferred result as the parent node of the dynamic Bayesian network, which means that the current state of the transformer will be affected by the state of the transformer at the future moment, which is in line with the actual production and operation rules of the transformer.
[0224] 3. Transformer status assessment based on prediction results
[0225] 3.1 Transformer condition assessment process based on prediction results
[0226] In the transformer status assessment system, the current transformer status needs to be evaluated based on the transformer status at the future moment. In actual production, the sampling device cannot predict the transformer status at the future moment. Based on the prediction results of the generalized regression network, we can introduce the gas data at the future moment into the status assessment system, thereby establishing a transformer status assessment system based on the prediction results. Fig.13 shown.
[0227] According to the oil and gas data monitored in the field and the oil and gas data predicted by GRNN, the monthly gas production rate of CO, monthly gas production rate of H2 and monthly gas production rate of total hydrocarbon can be obtained by calculation. Combined with the total hydrocarbon gas content, a set of four characteristic parameters is obtained. Then, using the idea of fuzzy classification, the probability of the four characteristic parameters belonging to the three state intervals of small, normal and surge is calculated through the membership function, and the initial probability statistics table is obtained. The state of the transformer at the previous moment and the future moment is taken as the prior probability affecting the state at the current moment, and then brought into the python code for reasoning to obtain the reasoning result of the transformer state.
[0228] 3.2 Comprehensive status assessment results
[0229] The transformer status assessment process based on prediction results is verified and analyzed based on 500 data obtained from the online monitoring device of the phase A reactor of the 1000kV Changnan I line of the State Grid Henan Electric Power Co., Ltd. This example data has a total of 500 samples. For this assessment model, since the monthly gas production rate needs to be calculated, the data of the first month cannot be used to obtain the monthly gas production rate, so the remaining 470 data are finally used for example verification.
[0230] First, the gas composition is predicted by a generalized regression neural network, and then the values of the four characteristic parameters are calculated in combination with the field monitoring data of the online monitoring device. Then, the values are input into the transformer state evaluation system based on the prediction results. The above steps are simulated and run in the pycharm software, and finally the evaluation results shown in Table 3.1 are obtained. The state evaluation results obtained by the method in this paper are compared with the actual state of the transformer on site. If the two states are consistent, the evaluation is considered correct. If the two states are inconsistent, it is considered to be mis-evaluated data. The specific evaluation results are shown in Table 3.2.
[0231] Table 3.1 Model evaluation results display
[0232]
[0233] Table 3.2 Evaluation results of some samples
[0234] sample The real status of the equipment Model evaluation status Is the evaluation correct? 1 normal normal correct 2 Early Warning normal mistake 3 Early Warning Early Warning correct 4 normal normal correct 5 normal normal correct 6 Early Warning Early Warning correct 7 Fault Fault correct 8 Fault Early Warning mistake 9 normal normal correct 10 Early Warning Early Warning correct …… …… …… ……
[0235] In summary, this embodiment provides a method for evaluating the state of a UHV transformer based on oil chromatography data, using dissolved gas in oil as the basis for evaluation, and using the prediction of dissolved gas as an auxiliary means to evaluate the state of the transformer. The technical solution of this method includes a prediction model for predicting the gas concentration of three gases, CO, H2, and total hydrocarbons, based on KCCA-GRNN, and an evaluation model for evaluating the state of the transformer at the current moment based on a dynamic Bayesian network. Using this method, the short-term state changes of the transformer can be evaluated in real time, effectively overcoming the impact of fluctuations in online monitoring data, reducing false alarms and missed alarms, improving the effectiveness of alarms, and being able to detect abnormal equipment states in a timely manner, early warning of safety incidents, and minimizing power grid safety accidents caused by equipment failures, thereby maintaining substation equipment and power grid safety.
[0236] Second embodiment
[0237] This embodiment provides an electronic device, which includes a processor and a memory; wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method of the first embodiment.
[0238] The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) and one or more memories, wherein the memory stores at least one instruction, and the instruction is loaded by the processor to execute the above method.
[0239] Third embodiment
[0240] This embodiment provides a computer-readable storage medium, which stores at least one instruction, and the instruction is loaded and executed by a processor to implement the method of the first embodiment. The computer-readable storage medium may be a ROM, a random access memory, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc. The instructions stored therein may be loaded by a processor in a terminal to execute the method.
[0241] In addition, it should be noted that the present invention can be provided as a method, an apparatus or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0242] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the 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 the 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, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal 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.
[0243] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0244] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0245] Finally, it should be noted that the above is a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for those skilled in the art, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.
Claims
1. A method for evaluating the state of a UHV transformer based on oil chromatography data, characterized in that: include: Through field monitoring, oil and gas data at historical moments are obtained; wherein the oil and gas data refers to the concentration of gas generated by the internal insulating oil and solid insulating materials during the operation of the UHV transformer; Predict oil and gas data at future times through the preset oil and gas prediction model; Based on the oil and gas data at historical moments and the predicted oil and gas data at future moments, a preset transformer state assessment model is used to assess the transformer state at the current moment and obtain an assessment result; The oil and gas data include: carbon monoxide concentration, hydrogen concentration and total hydrocarbon concentration; The transformer state assessment model is a dynamic Bayesian network; Based on the oil and gas data at the historical moment and the predicted oil and gas data at the future moment, a preset transformer state assessment model is used to assess the transformer state at the current moment, and an assessment result is obtained, including: Based on the oil and gas data at historical moments obtained by field monitoring and the oil and gas data at future moments predicted by the oil and gas prediction model, the monthly carbon monoxide production rate, the monthly hydrogen production rate, the monthly total hydrocarbon production rate and the total hydrocarbon gas content are calculated as four state parameters for evaluating the operating state of the transformer; the four state parameters are used as observed feature quantities, and the operating state of the transformer is used as a hidden variable; Using the idea of fuzzy classification, the probability of the four state parameters belonging to the three state intervals of small, normal and surge is calculated through the membership function, and the initial probability statistical table is obtained; and the operating state of the transformer at the previous moment and the future moment is used as the prior probability affecting the operating state at the current moment; among them, the operating state at the previous moment is passed to the current moment as the prior probability; for the operating state at the future moment, the static Bayesian network is used to infer it, and the inference result is used as the parent node of the dynamic Bayesian network; After determining the network structure and initial probability distribution of the transformer state assessment model, training the transformer state assessment model to obtain a trained transformer state assessment model; The trained transformer state assessment model is used to obtain the transformer state assessment result at the current moment.
2. The method for evaluating the state of a UHV transformer based on oil chromatogram data according to claim 1, characterized in that: The oil and gas prediction model is a generalized regression neural network.
3. The method for evaluating the state of a UHV transformer based on oil chromatogram data according to claim 2, characterized in that: The oil and gas data at a future time are predicted by using a preset oil and gas prediction model, including: Acquire multiple reference oil and gas data related to the oil and gas data to be predicted and the ratios between any two of the multiple reference oil and gas data as a set of data; and use the oil and gas data to be predicted as another set of data; The nonlinear relationship between the two sets of data was analyzed using the kernel canonical correlation analysis method, and the eigenvalues were sorted to obtain the eigenvectors corresponding to the first seven eigenvalues. Based on the feature vector and the sampled value of the oil and gas data to be predicted, the oil and gas prediction model is trained; wherein the input of the oil and gas prediction model is the feature vector, and the output is the predicted value of the oil and gas data; Using the trained oil and gas prediction model, oil and gas data at future times can be predicted.
4. The method for evaluating the state of a UHV transformer based on oil chromatogram data according to claim 3, characterized in that: The reference oil and gas data include: acetylene concentration, ethane concentration, carbon dioxide concentration, ethylene concentration, methane concentration, carbon monoxide concentration, hydrogen concentration and total hydrocarbon concentration.
5. The method for evaluating the state of a UHV transformer based on oil chromatogram data according to claim 1, characterized in that: The membership functions include membership functions of relatively small total hydrocarbon content, normal total hydrocarbon content, surge in total hydrocarbon content, membership functions of relatively small monthly carbon monoxide production rate, normal monthly carbon monoxide production rate, surge in monthly carbon monoxide production rate, membership functions of relatively small monthly hydrogen production rate, normal monthly hydrogen production rate, surge in monthly hydrogen production rate, membership functions of relatively small monthly total hydrocarbon production rate, normal monthly total hydrocarbon production rate, and surge in monthly total hydrocarbon production rate; wherein, The membership function of the total hydrocarbon content is smaller: The membership function of normal total hydrocarbon content is: The membership function of the total hydrocarbon content surge is: The membership function of the carbon monoxide monthly production rate is relatively small: The membership function of the normal monthly carbon monoxide production rate is: The membership function of the monthly carbon monoxide production rate surge is: The membership function of the small monthly hydrogen production rate is: The membership function of normal monthly hydrogen production rate is: The membership function of the monthly hydrogen production rate surge is: The membership function of the total hydrocarbon monthly gas production rate is relatively small: The membership function of normal total hydrocarbon monthly gas production rate is: The membership function of the monthly total hydrocarbon production rate surge is: Wherein, f(x) represents the degree of membership; x represents the value of a state parameter, and the state parameter is the monthly production rate of carbon monoxide, the monthly production rate of hydrogen, the monthly production rate of total hydrocarbons, or the total hydrocarbon gas content.
