Transformer fault diagnosis feature determination method and diagnosis method based on adaptive enhanced migration convolutional neural network
Through the adaptive enhanced transfer convolutional neural network and factor analysis method, combined with AdaBoost's method of integrating multiple CNNs, the problem of insufficient model capabilities in oil-immersed transformer fault diagnosis is solved, and more efficient feature expression and diagnosis accuracy are achieved.
Patent Information
- Application Number
- CN202410761014.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-18
AI Technical Summary
Existing machine learning methods have insufficient model capabilities and limited feature expression space in oil-immersed transformer fault diagnosis, resulting in low diagnosis accuracy and efficiency.
A transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network is adopted. By obtaining the relationship between hydrocarbon gas concentration and gas ratio, combined with factor analysis method for feature dimensionality reduction, an AdaBoost-TCNN model is constructed, and multiple CNNs are integrated for classification decision-making.
It significantly improves the accuracy and efficiency of transformer fault diagnosis, improves the ability of feature expression space, enhances model processing efficiency, and optimizes classification performance.
Smart Images

Figure CN118797484A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of transformer fault diagnosis, and in particular relates to a transformer fault diagnosis fault diagnosis feature determination method and a diagnosis method. Background Art
[0002] In the power system, transformers play a role in transmitting and distributing electric energy, which has an important impact on the economy, society and people's lives. When a transformer fails, it takes a lot of resources and time to repair it, causing power shortages and economic losses, and even causing major accidents such as casualties. Therefore, timely fault diagnosis of transformers can make emergency plans in advance to prevent emergencies, reduce maintenance costs, reduce threats to life and property of people in the distribution area, and effectively promote social stability.
[0003] Transformers are divided into two types: dry-type transformers and oil-immersed transformers. Dry-type transformers are filled with gases such as SF6 for heat dissipation, which can effectively prevent fires. However, they are larger than oil-immersed transformers, have poor moisture resistance and dust resistance, and are relatively expensive. In addition, dry-type transformers are suitable for specific scenarios such as distributed power sources that have high requirements for environmental noise and floor space. Oil-immersed transformers have a large oil tank filled with insulating oil, and all working components are enclosed in the oil tank. Oil-immersed transformers use the fluidity of insulating oil to dissipate heat. Compared with dry-type transformers, oil-immersed transformers have the advantages of low maintenance cost, large working capacity, and a wide range of voltage adaptability, so they are widely used in various scenarios of power systems.
[0004] Dissolved Gas Analysis (DGA) is a widely used transformer fault analysis method. In transformers, the main components of insulating oil are hydrocarbons, and the main components of solid insulating materials are cellulose. If a transformer has a discharge fault or an exothermic fault, it will cause the CH bonds, CC bonds, etc. in hydrocarbons and cellulose to break. Finally, after a series of chemical reactions, five common hydrocarbon gases, such as hydrogen (H2), methane (CH4), ethane (C2H6), ethylene (C2H4) and acetylene (C2H2), will be formed in the transformer. These gases are all dissolved in insulating oil. Therefore, the property information of dissolved gas in insulating oil can be extracted by gas chromatography, and the composition of dissolved gas and the content of various gases can be quantified to analyze the operating status and fault type of the transformer, thereby realizing effective monitoring of the operating status of the transformer, which is transformer fault diagnosis. Usually, we refer to the quantified property information of dissolved gas in insulating oil as DGA data. Based on the acquisition of a large amount of historical DGA data, transformer fault diagnosis methods mainly include traditional diagnosis methods and intelligent diagnosis methods.
[0005] Traditional transformer fault diagnosis methods need to refer to specific standards or manuals to analyze DGA data and then make a judgment on the fault type of the transformer. In China, DL / T722-2000 and SD187-1986 are the two most important standards. The DGA data analysis methods they recommend include characteristic gas method, three-ratio method, David triangle method, graphic Duval pentagon method, etc. These methods use the concentration of different gases and their ratios or correlations to analyze the fault type of the transformer, but there are many problems in actual use, and they fail to give accurate, reliable and stable fault diagnosis results. For example, the characteristic gas method fails to quantify the distribution difference between the main gas and the secondary gas. In most cases, the two overlap, and the judgment of the fault type basically relies on manual experience, and there are errors in the diagnosis results. The gas ratio coding of the three-ratio method is limited, and there is a situation where the corresponding coding combination cannot be found, or even if the corresponding coding combination is found, there is still a misjudgment. This method cannot comprehensively summarize the fault type, and the reliability of the diagnosis result is not high. Both the David triangle method and the graphic Duval pentagon method set fixed fault areas based on the concentrations of five common hydrocarbon gases and their correlations, which seems to provide clear quantitative rules, but has the defect that the boundaries of the set fault areas are too absolute. For DGA data near the boundaries, the accuracy of the diagnostic results they give cannot be guaranteed.
[0006] With the rapid development of machine learning, scholars have used related methods to try to accurately quantify and map the relationship between DGA data and fault types from a higher dimension, such as support vector machines, neural networks, Bayesian networks, cluster analysis, etc., and have achieved good results. For example, Li et al. used the improved three-ratio method to process DGA data, used the obtained multiple ratios to construct feature vectors, and added labels corresponding to the fault types to construct feature data sets, trained support vector machines based on adaptive enhancement, and achieved a classification accuracy of 90%. Prasojo et al. used the graphical Duval pentagon method to process DGA data, used the obtained multiple new values to construct feature vectors, and added labels corresponding to the fault types to construct feature data sets, trained random forests with synthetic minority oversampling technology (SMOTE), and achieved a classification accuracy of about 96%. Das et al. extracted 50 new features from DGA data to construct feature data sets, trained long short-term memory (LSTM) and bidirectional long short-term memory (bi-LSTM), and achieved the highest classification accuracies of 921% and 99.01%, respectively. Paul et al. considered five common hydrocarbon gases, H2, CH4, C2H6, C2H4 and C2H2, as gas features, extracted the attribute information of these five gas features from DGA data to construct feature vectors, and added labels corresponding to fault types to construct feature data sets. They trained the gradient boosting (GB) model with parameters optimized by the Bayesian optimization (BO) method and achieved a classification accuracy of 95.19%. Nanfak et al. used an improved k-means clustering algorithm based on genetic algorithm to divide the original DGA data into six data subsets, corresponding to six fault types. When processing unknown DGA data, it first determines the data subset to which it belongs, and then gives the corresponding fault type. This method achieved a classification accuracy of 98.29%. Rao et al. first designed an overlapping information feature selection (OIFS) method to select effective attribute information from DGA data to construct feature vectors, and added labels corresponding to fault types to construct feature data sets. On this basis, they again proposed an intelligent voting ensemble learning (IVEL) method to train the fault diagnosis model, achieving a classification accuracy of 92.6%.
[0007] From the above description, it can be seen that the existing traditional diagnostic methods mainly rely on manual experience judgment, the degree of automation and timeliness are not high, there is subjectivity and randomness, and the accuracy, reliability and stability of the diagnostic results are difficult to guarantee. In the early stage of machine learning development, traditional diagnostic methods can only play a limited role. In contrast, the intelligent diagnostic method uses a diagnostic model (actually a classification model of machine learning) to replace people to complete fault diagnosis. It can surpass people, that is, it can mine the distribution differences between DGA data of different fault types from a higher-dimensional feature space, which is not comparable to a fixed reference standard or manual, so it can obtain more accurate, reliable and stable diagnostic results. At the same time, the intelligent diagnostic method relies on computer equipment, and its diagnostic efficiency has obvious advantages. However, the accuracy of fault diagnosis depends on feature engineering and machine learning algorithms for data classification. Most of the existing intelligent diagnostic methods directly use the original DGA data, or perform simple data filtering on the DGA data, and rarely deeply mine the DGA data and extract high-dimensional features from it.
[0008] Existing intelligent diagnosis methods are committed to using the currently popular classification models, which is regarded as an attempt at something new. No feasibility analysis of the operation is given, or specific theoretical analysis or detailed selection basis is given. In addition, the classification models trained in most studies are essentially single classification models, that is, weak classification models, which are difficult to achieve stable classification performance. Finally, existing intelligent diagnosis methods rarely perform deep optimization on the classification models used to achieve exclusive optimal diagnostic results on the application object. Even if some scholars use some optimization methods in their research, such as SMOTE used by Prasojo et al. and genetic algorithms used by Nanfak et al., in order to solve other problems such as unbalanced data and low processing efficiency. Alternatively, some scholars use existing software or platforms to carry out mechanical parameter tuning, which cannot be regarded as a special deep optimization study. There are relatively few studies on the optimization of classification models for specific application objects. Therefore, conducting relevant research work from the three aspects of feature engineering, machine learning methods and deep optimization can further improve the effect of transformer fault diagnosis. Summary of the invention
[0009] The present invention aims to solve the problem that the existing machine learning method for oil-immersed transformer detection has the problem that the machine learning model capability needs to be improved, and the limited number of features leads to the limited feature expression space which affects the machine learning model capability, and the size of the feature expression space not only does not help improve the model capability but also reduces the processing efficiency of the model.
[0010] The transformer fault diagnosis feature determination method based on adaptive enhanced transfer convolutional neural network includes:
[0011] Firstly, the concentration of hydrocarbon gas in transformer fault is obtained as the initial gas feature, and the ratio of concentrations of different gases is used as the gas feature to expand the initial gas feature. Then, the factor analysis method is used to reduce the feature dimension to obtain a new n'-dimensional feature vector, and the new n'-dimensional feature vector is used as the feature for transformer fault diagnosis based on adaptive enhanced transfer convolutional neural network.
[0012] Further, the hydrocarbon gas includes hydrogen H2, methane CH4, ethane C2H6, ethylene C2H4 and acetylene C2H2.
[0013] Furthermore, the ratios of the concentrations of different gases include C2H6 / CH4, C2H2 / C2H4, CH4 / H2, H2 / TCDG 1 ×100, CH4 / TCDG 1 ×100, C2H6 / TCDG 1 ×100, C2H4 / TCDG 1 ×100, C2H2 / TCDG 1 ×100, H2 / max(H2, CH4, C2H6, C2H4, C2H2)×100, CH4 / max(H2, CH4, C2H6, C2H4, C2H2)×100, C2H6 / max(H2, CH4, C2H6 , C2H4, C2H2)×100, C2H4 / max(H2, CH4, C2H6, C2H4, C2H2)×100, C2H2 / max(H2, CH4, C2H6, C2H4, C2H2)×100, CH4 / TD 2 ×100, C2H4 / TD 2 ×100, C2H2 / TD 2 ×At least one of 100;
[0014] TCDG 1 =H2+CH4+C2H6+C2H4+C2H2, TD 2 =C2H4+CH4+C2H2.
[0015] Furthermore, the process of using factor analysis to reduce feature dimensionality includes:
[0016] Calculate the variance of the contribution of gas characteristics to the common factors to determine the effectiveness of the common factors; then determine the number of common factors n based on the overall contribution of the common factors; after determining the number of common factors, use the maximum variance method to rotate the common factors to obtain the heat map corresponding to the gas characteristics and the gas characteristics, and then determine the factor type represented by the common factors; then convert the vector corresponding to the common factor load values of all gas characteristics into a new feature vector of n' dimensions.
[0017] Furthermore, before performing factor analysis, it is necessary to first perform correlation analysis on the expanded gas characteristics. When the expanded gas characteristics have a positive linear correlation, factor analysis is then used for analysis.
[0018] Furthermore, when factor analysis is used, KMO and Bartlett's sphericity test are first performed, and then the variance of the contribution of gas characteristics to the common factors is calculated after the test.
[0019] The transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network includes:
[0020] First, the concentration of hydrocarbon gas when the transformer fails is collected, and then a new n'-dimensional feature vector is obtained according to the transformer fault diagnosis feature determination method based on the adaptive enhanced transfer convolutional neural network. Based on the n'-dimensional new feature vector, the transformer fault diagnosis is performed based on the adaptive enhanced transfer convolutional neural network.
[0021] Furthermore, an AdaBoost-TCNN network model is based on an adaptive enhanced transfer convolutional neural network. The AdaBoost-TCNN network model is: CNN is used as a weak classification model in the AdaBoost algorithm, and multiple weak classification models are integrated through the AdaBoost algorithm to obtain a classification model integrated by the weak classification models.
[0022] Furthermore, the AdaBoost-TCNN network model construction process includes the following steps:
[0023] Based on transformer faults and corresponding hydrocarbon gas concentrations, an original training set is constructed; for samples in the original training set, the transformer fault diagnosis feature determination method based on the adaptive enhanced transfer convolutional neural network is used to obtain multiple n'-dimensional new feature vectors, and each n'-dimensional new feature vector and the corresponding transformer fault type label are combined to form n'+1-dimensional data to obtain a training set;
[0024] There are n training samples in the training set, and the initial weight of each sample is d i =1 / n, and then train m CNNs in sequence, deciding whether to train once or multiple times based on the actual training difficulty; for an input sample x i , whose output vector is P(x i )=[P1(x i ),P2(x i ),…,P k )x i )],P1(x i ),P2(x i ),…,P k (x i) represents the probability that the sample belongs to each category;
[0025] Output of the first CNN Used to update the sample weight D = {d i}, as shown in formula (2);
[0026]
[0027] In the formula, represents the weight of the mth CNN on the i-th training sample, α is the learning rate, and Y i is the label vector of the i-th sample, P m (x i ) is the response of the m-th CNN to the i-th training sample; K is the number of categories;
[0028] The learning parameters trained by the previous CNN in the iterative process are the initial conditions for the training of the next CNN, so that the results of one CNN training are passed to the next CNN; the output vector obtained by training the CNN with all training samples is used to update D = {d i}, repeat this process for all CNNs in AdaBoost;
[0029] After training m CNNs as the basic classification model, we get Adaboost-TCNN, and formula (3) is used to predict the output category of the input sample;
[0030]
[0031] In the formula, The calculation formula is shown in formula (4);
[0032]
[0033] In the formula, The kth element of x is the probability of class k after being output by m CNNs. represents variables from 1 to k, is the corresponding probability.
[0034] Furthermore, 15 CNNs were used as weak classification models to ensemble the AdaBoost-TCNN network model.
[0035] The present invention takes 220kV oil-immersed transformers as the research object. In the feature engineering part, based on the three-ratio method, the present invention regards five common hydrocarbon gases as original gas features, and on this basis, conducts gas feature expansion research, increases the dimension of DGA data to solve the problem of insufficient feature expression, enriches the correlation information between gas features, and effectively improves the expression ability of feature expression space, thereby helping to improve the classification effect. At the same time, the present invention also removes redundant information, and uses factor analysis to convert the expanded gas features with more dimensions into fewer dimensions that can better express the distribution characteristics of DGA data and the main characteristics of gas features. Common factors, construct high-quality DGA data sets, reduce the processing volume of the model on the basis of ensuring the model capability to the greatest extent, and improve the processing efficiency of the model.
[0036] In terms of machine learning model construction, the present invention analyzes the particularity of data collection and the properties of the DGA data set, chooses to build an integrated classification model based on the Boosting algorithm, and builds an AdaBoost integrated classification model through comparative analysis to solve the problem of inaccurate and unstable classification performance obtained by a single classification model. Finally, deep optimization is performed. Referring to the idea of transfer learning, a convolutional neural network (CNN) with good performance is introduced into the AdaBoost integrated classification model to replace the original basic classification model decision tree, thereby constructing AdaBoost-TCNN, and fully verifying its feasibility, practicality and superiority on private and public data sets. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is the overall logic diagram of transformer fault diagnosis technology.
[0038] Figure 2 The classification performance diagram of the classification model on the DGA dataset before and after gas feature expansion.
[0039] Figure 3 Pearson's correlation coefficient plot for gas characteristics.
[0040] Figure 4 Spearman's correlation coefficient diagram of gas characteristics.
[0041] Figure 5 The scree plot for the twenty-one common factors.
[0042] Figure 6 This is the heat map after common factor rotation.
[0043] Figure 7 The classification performance diagram of the classification model on the DGA dataset before and after factor analysis.
[0044] Figure 8Precision plots obtained for the three ensemble classification models.
[0045] Fig. 9 Recal plots obtained for three ensemble classification models.
[0046] Fig.10 F1-score plots obtained for the three ensemble classification models.
[0047] Fig.11 This is the schematic diagram of the construction of AdaBoost-TCNN.
[0048] Fig.12 This is the classification performance diagram of AdaBoost-TCNN.
[0049] Fig.13 This is the classification performance graph of AdaBoost-SVM.
[0050] Fig.14 This is the classification performance diagram of AdaBoost-Decision Tree.
[0051] Fig.15 This is the classification performance diagram of CNN.
[0052] Fig.16 It is the classification performance diagram of SVM.
[0053] Fig.17 It is a graph of the classification performance of the decision tree. DETAILED DESCRIPTION
[0054] Specific implementation method 1: Combination Figure 1 To explain this embodiment,
[0055] This embodiment is a transformer fault diagnosis method based on an adaptive enhanced transfer convolutional neural network.
[0056] The main types of transformer failures include discharge failures or heat release failures. In fact, mechanical failures may also occur during the operation of the transformer, but they will eventually manifest as the above two types of failures.
[0057] 1. Discharge fault: When the transformer is subjected to electrical stress, the solid insulation material will be damaged, and the degree of damage to the solid insulation material is related to the amount of energy released when the discharge fault occurs. Therefore, according to the amount of energy released, the discharge fault can be further divided into the following three types of faults.
[0058] (1) High-energy discharge failure
[0059] High-energy discharge faults correspond to the release of greater energy. When a high-energy discharge fault occurs, the volume and rate of hydrocarbon gas generation in the transformer will increase, and will far exceed their decomposition rate. In this way, the generated hydrocarbon gas will accumulate in the gas relay of the transformer, causing the gas relay to trip, and will also damage the solid insulation material, reducing its insulation performance. When a high-energy discharge fault occurs, the hydrocarbon gases generated are mainly H2 and C2H2, followed by CH4 and C2H4. Among them, C2H2 accounts for 20% to 65% of the total hydrocarbon gas generated, and H2 accounts for 32% to 75% of the total hydrocarbon gas generated.
[0060] (2) Low energy discharge fault
[0061] Low-energy discharge faults usually occur between different potentials. The causes of the fault include poor lead contact, core grounding, and impurities in the insulating oil. When a low-energy discharge fault occurs, the hydrocarbon gases produced are mainly C2H2 and H2, which account for more than 25% of the total hydrocarbon gas produced, followed by C2H4, which accounts for less than 18% of the total hydrocarbon gas produced.
[0062] (3) Partial discharge failure
[0063] Partial discharge fault refers to local or repeated breakdown in areas with weak insulation performance or concentrated electric fields in solid insulating materials. Causes of the fault include bubbles and impurities in the insulating oil and moisture in the solid insulating materials. When a partial discharge fault occurs, the total amount of hydrocarbon gas produced is small, mainly H2, which accounts for more than 90% of the total amount of hydrocarbon gas produced.
[0064] 2. Exothermic fault: The temperature of the transformer cannot exceed 90℃ during normal operation. The higher the temperature of the transformer, the faster the decomposition of the insulating oil will be. The decomposition products include alkanes, alkenes, alkynes and coke. Similarly, according to the temperature of the transformer, exothermic faults can be further divided into the following three types of faults.
[0065] (1) Low temperature heat release failure
[0066] When a low-temperature heat release fault occurs, the temperature of the transformer is distributed in two intervals: below 150°C and between 150°C and 300°C. The causes of this fault include oil channel blockage and the heat generated by the winding cannot be dissipated in time. When a low-temperature heat release fault occurs, the hydrocarbon gases produced are mainly CH4 and C2H4, and C2H2 will not appear. The two account for 80% of the total hydrocarbon gas produced, of which CH4 accounts for a slightly larger proportion. It is worth noting that when a low-temperature heat release fault occurs, the total amount of hydrocarbon gas produced is also small, and there will be no harm in the short term. It is a potential fault. However, if it lasts too long, it will accelerate the aging of solid-state insulation materials, resulting in a reduction in the life of the transformer and eventually a serious accident.
[0067] (2) Medium temperature heat release failure
[0068] When a medium-temperature exothermic fault occurs, the temperature distribution of the transformer is in the range of 300℃ to 700℃. This fault will accelerate the decomposition of the insulating material in the insulating oil, and the H2 produced by the decomposition will increase sharply, and CH4, C2H4 and C2H6 will also increase accordingly. If the solid insulating material is damaged, the hydrocarbon gases produced are mainly CH4, C2H4 and CO2, followed by C2H6, H2 and CO. In addition, because the total amount of hydrocarbon gas produced is large, although the decomposed H2 increases sharply, it accounts for less than 27% of the total amount of hydrocarbon gas produced.
[0069] (3) High temperature heat release failure
[0070] When a high-temperature exothermic fault occurs, the temperature distribution of the transformer is in the range above 700°C. Compared with low-temperature exothermic faults and medium-temperature exothermic faults, high-temperature exothermic faults are more harmful and can quickly destroy solid insulating materials. When a high-temperature exothermic fault occurs, the hydrocarbon gases produced are mainly CH4, C2H4 and H2, followed by C2H2, and they account for almost all of the total amount of hydrocarbon gases produced.
[0071] The transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network described in the present invention mainly includes three parts of research content, namely feature engineering, machine learning method and deep optimization, such as Figure 1 shown.
[0072] In the feature engineering part, one aspect is gas feature expansion, the purpose is to further explore the correlation information between the original gas features in the DGA data, and the other aspect is factor analysis, the purpose is to remove the redundant information that may be added to fully express the main characteristics of the gas features. The ultimate goal of the feature engineering part is to build a high-quality DGA data set. Specifically, based on the five original gas features, sixteen new gas features are expanded, thus obtaining twenty-one gas features. Using the factor analysis method in the field of statistics, the factors that really work are extracted from the twenty-one gas features, called common factors, a total of twelve. As a result, the main characteristics of the gas features are further highlighted and fully expressed, and the redundant information that may neutralize the main characteristics is removed.
[0073] In the machine learning method part, the applicability of two commonly used ensemble learning algorithms, Bagging and Boosting, to this study was analyzed, and the Boosting algorithm was used to train three classic ensemble classification models, AdaBoost, XGBoost, and CatBoost, which have better classification performance accuracy and stability. Through comprehensive analysis using multiple evaluation indicators, the AdaBoost ensemble classification model with better performance emerged.
[0074] In the deep optimization part, in order to further improve the classification performance of the AdaBoost ensemble classification model, referring to the idea of transfer learning, the convolutional neural network (CNN) that performed well in previous studies was used as the basic classification model to replace the default decision tree, and the learning parameters of CNN were transferred to effectively improve the training efficiency and iteration performance, and AdaBoost-TCNN was constructed. Then experiments were conducted to fully verify the feasibility, practicality and superiority of AdaBoost-TCNN.
[0075] 1. DGA Dataset
[0076] Using the gas sensor developed by Suzhou Huiwen Nano Technology Co., Ltd., field tests were conducted in multiple power companies to obtain DGA data of 220kV oil-immersed transformers in different states (including normal state and different fault types). A total of 1305 DGA data were obtained to construct a DGA dataset. These DGA data correspond to six states, which are regarded as six labels of the DGA dataset. The detailed description is shown in Table 1. The DGA dataset is divided into a training set and a test set in a ratio of 7:3. The former is used to train the classification model, and the latter is used to test its classification performance.
[0077] Table 1 Description of the DGA dataset
[0078]
[0079] 2. Feature Engineering
[0080] 2.1 Gas feature expansion
[0081] DGA data can reflect the different states of the transformer. However, the initial DGA data contains a small number of gas features, that is, it only contains the concentrations of five common hydrocarbon gases, namely hydrogen (H2), methane (CH4), ethane (C2H6), ethylene (C2H4) and acetylene (C2H2). In other words, the DGA data are all six-dimensional feature vectors, which include one-dimensional label values and five-dimensional gas concentration values. It is difficult to fully and clearly describe the different states of the transformer, especially the different fault types, by relying solely on these gas features. Therefore, in the present invention, it is proposed to use the ratio relationship of the concentrations of different gases to expand the gas features to solve the problem of insufficient feature expression caused by the small number of features. Specifically, on the basis of the five gas features, sixteen new gas features are expanded, thereby obtaining twenty-one gas features. The description or calculation process of these gas features is shown in Table 2.
[0082] Table 2 Characteristics of twenty-one gases
[0083]
[0084]
[0085] TCDG 1 =H2+CH4+C2H6+C2H4+C2H2
[0086] TD 2 =C2H4+CH4+C2H2
[0087] Therefore, the DGA data set is processed to expand all DGA data from six dimensions to twenty-two dimensions. In order to verify the effectiveness of gas feature expansion, the same classification model is trained on the DGA data set before and after processing, and their classification performance is tested accordingly. By comparing the classification performance of the same classification model on the DGA data set before and after processing, the quality of the DGA data set before and after processing is explained, which indirectly shows the superiority of gas feature expansion.
[0088] Classification models in machine learning are usually divided into tree theory models and mathematical models. The former include decision trees, random forests, etc., and the latter include k-nearest neighbors (kNN), support vector machines (SVM), etc. In addition, as an important branch of machine learning, deep learning also includes various types of neural networks that cannot be ignored. Therefore, in order to make the test results more representative and convincing, decision trees, kNN, SVM and convolutional neural networks (CNN) were selected, and these four classification models were trained on the DGA datasets before and after processing, and their classification performance was tested accordingly, as shown in Figure 2. Figure 2 shown.
[0089] from Figure 2It can be seen that when the gas features are expanded from five to twenty-one, the amount of information contained in the DGA data set increases and its quality is improved. In this way, the classification performance of decision tree, kNN, SVM and CNN are significantly improved. Specifically, the classification accuracy of decision tree is increased from 76.74% to 78.44%, the classification accuracy of kNN is increased from 74.65% to 77.86%, the classification accuracy of SVM is increased from 51.20% to 75.34%, and the classification accuracy of CNN is increased from 83.23% to 84.36%. Therefore, the effectiveness of gas feature expansion is fully verified.
[0090] 2.2 Correlation analysis
[0091] In order to prevent information redundancy after gas feature expansion, the twenty-one gas features in the DGA data set are first subjected to correlation analysis. Specifically, the Pearson and Spearman correlation coefficient graphs are used to detect the linear and nonlinear correlations between the twenty-one gas features, such as Figure 3 and Figure 4 As shown. In the figure, the darker the color of the square, the stronger the correlation between the two gas characteristics. Conversely, the weaker the correlation between the two gas characteristics. The quantitative value of the correlation between gas characteristics is usually between -1 and 1, 1 represents positive correlation, and -1 represents negative correlation. The closer to 1 or -1, the stronger the correlation between the two, the more redundant information there is, and the more attention needs to be paid. 0 means no correlation. Specifically for Pearson's correlation coefficient graph, the closer to 1 or -1, the stronger the linear correlation between the two. Specifically for Spearman's correlation coefficient graph, the closer to 1 or -1, the stronger the nonlinear correlation between the two.
[0092] from Figure 3 and Figure 4 It can be clearly seen that there is obvious information redundancy between the twenty-one gas features. For example, there is a strong positive linear correlation between CH4 and C2H4 and C2H2, and there is a strong nonlinear correlation between CH4 and H2, C2H4, and C2H2. The strong correlation between other gas features can also be clearly seen. Therefore, the twenty-one gas features are further analyzed and feature dimensionality reduction is carried out.
[0093] 2.3 Factor Analysis
[0094] In statistics, factor analysis refers to a statistical technique for extracting common factors from a group of variables. Factor analysis can find hidden and representative common factors among many variables. Grouping variables of the same nature into one factor can reduce the number of variables and test hypotheses about the relationship between variables.
[0095] A small number of representative common factors are extracted from a large number of twenty-two-dimensional feature vectors contained in the DGA data set. For example, if the number of common factors is k (k < 21, the twenty-two-dimensional feature vectors are processed into k + 1 dimensions. This can not only reduce the feature dimension of the DGA data set, but also retain key feature information, remove redundant feature information, and thus improve the quality of the DGA data set. Therefore, the twenty-one gas features shown in Table 2 are analyzed using factor analysis. Since this part is a prior art, the present invention does not give a detailed calculation process of the factor analysis method, but gives the key steps therein, as shown below. It should be noted that the 1305 DGA data contained in the DGA data set are regarded as original feature vectors, which are standardized in terms of column features (i.e., single gas features), and then the mean and standard deviation of the twenty-one gas features are calculated, thereby constructing a covariance matrix to estimate the common factors. On this basis, the variance contributed by the twenty-one gas features to the common factors is calculated, the number of common factors is determined, and the factor loading matrix is obtained. Finally, the twenty-one gas features are converted into k (k < 21 common factors, and the feature vectors in the DGA data set are processed accordingly.
[0096] Key step 1: Conduct KMO and Bartlett's sphericity test. This is considered a feasibility check for using factor analysis, that is, whether the conditions for use are met.
[0097] The necessary prerequisite for using the factor analysis method is to conduct an appropriateness test on the DGA data set, and the commonly used ones include KMO and Bartlett's sphericity test. The KMO test can comprehensively evaluate the correlation between all gas features in the DGA data set. Its quantitative value is between 0 and 1. The closer it is to 1, the stronger the correlation between all gas features. If it is greater than 0.7, it means that it is suitable to use factor analysis to conduct subsequent analysis on the DGA data set. Similarly, the Bartlett's sphericity test can comprehensively evaluate the correlation between all gas features in the DGA data set, and its detection indicators include three. Among them, significance is the most important detection indicator. If its value is less than 0.05, it means that the factor analysis method is applicable. The results of the KMO and Bartlett's sphericity tests of the DGA data set are shown in Table 3. The test results show that it is suitable to use factor analysis to conduct subsequent analysis on the DGA data set of this study.
[0098] Table 3 KMO and Bartlett sphericity test results
[0099]
[0100]
[0101] Key step 2: Calculate the variance of the contribution of gas characteristics to the common factors. This is regarded as an assessment of the validity of the estimated common factors, that is, whether they can fully characterize the gas characteristics.
[0102] As mentioned above, the common factors are estimated based on the original feature vectors contained in the DGA data set. They are widely representative and can be used to fully express all gas features in the DGA data set. On this basis, the variance of the contribution of the gas features to the common factors reflects the degree to which the common factors express the gas features. If the variance of the contribution of a certain gas feature to the common factor is larger, it means that it is more fully expressed by the common factor. Generally, if the variance of the contribution of a certain gas feature to the common factor is greater than 0.8, it means that it is fully expressed. In the present invention, the variance of the contribution of the twenty-two gas features shown in Table 2 to the common factor is calculated, as shown in Table 4. It can be seen from the table that the variance of the contribution of the twenty-two gas features to the common factor is greater than 0.8, which shows that all gas features are fully expressed, and the common factors estimated based on the original feature vectors contained in the DGA data set are all valid.
[0103] Table 4 Variance of gas characteristics contribution to common factors
[0104]
[0105]
[0106] Key step 3: Determine the number of common factors. This is considered the core of feature dimensionality reduction, that is, whether the smaller number of common factors determined can fully represent all common factors.
[0107] The scree plot can intuitively display the eigenvalues of common factors, especially highlighting the common factors with larger eigenvalues. The eigenvalue here is actually the overall contribution of the common factor to all gas characteristics in the DGA data set. The larger the eigenvalue of a common factor, the greater its overall contribution, and the higher its independence as an individual characterization of gas characteristics. In the present invention, the scree plots of the estimated twenty-one common factors are drawn, as shown in Figure 1. Figure 5 As shown. It should be noted that, as mentioned above, the number of common factors is less than the number of gas features in the DGA dataset, but in extreme cases it can be equal to the number of gas features. Usually, factor analysis is not recommended in this case. In the process of estimating common factors, the number of common factors is assumed to be the number of gas features. This is due to extreme cases and is reflected in the scree plot. As can be seen from the figure, the broken line becomes flat after the twelfth common factor. And, after calculation, the total contribution of these twelve common factors accounts for 99.13%. Therefore, these twelve common factors are used to fully characterize all gas features in the DGA dataset.
[0108] Key step 4: Perform common factor rotation. This is considered as the attribute analysis process of the common factors, that is, determining the fault type or normal state corresponding to the common factors.
[0109] After determining the number of common factors, the maximum variance method is used to perform common factor rotation to obtain a heat map, such as Figure 6 As shown. In the figure, the ordinate represents the common factor load values of the twenty-one gas characteristics. The darker the color, the larger the common factor load value of the gas characteristic. In the first common factor, the top three common factor load values are 0.96, 0.96 and 0.93, corresponding to the three gas characteristics of C2H4 / TCDG, C2H4 / max(H2, CH4, C2H6, C2H4, C2H2) and C2H4 / TD respectively. These three gas characteristics all contain C2H4, corresponding to medium-temperature heat release faults. Therefore, the first common factor is called the overheating factor. Referring to the description of discharge fault or heat release fault, in the second and seventh common factors, the gas characteristics corresponding to the maximum common factor load value all include C2H2, and the second and seventh common factors are called discharge factors; in the third, eighth and eleventh common factors, the gas characteristics corresponding to the maximum common factor load value all include C2H6, and the third, eighth and eleventh common factors are called overheating factors; in the fourth common factor, the gas characteristics corresponding to the top three common factor load values all include CH4, C2H4 and C2H2, the 4th common factor is called the discharge factor; in the 5th and 6th common factors, the gas characteristics corresponding to the maximum common factor load value all include CH4, and the 5th and 6th common factors are called discharge factors; in the 9th and 10th common factors, the gas characteristics corresponding to the maximum common factor load value all include H2, and the 9th and 10th common factors are called discharge factors; in the 12th common factor, all common factor load values are low, and the 12th common factor is called the normal factor.
[0110] Key step 5: Apply factor analysis. This is considered as formal processing of the DGA dataset, which is to transform the eigenvectors of source gas characteristics into source common factors.
[0111] As mentioned above, in order to solve the information redundancy problem that may exist in the DGA data set, after the processing of the previous four key steps, twelve common factors have been obtained to replace the original twenty-one gas features. In this way, the twenty-two-dimensional original feature vector in the DGA data set can be converted into a thirteen-dimensional new feature vector. Formula (1) gives the conversion process of the twenty-one-dimensional gas features to the twelve-dimensional common factors.
[0112]
[0113] In the formula, F0~F 11 Represents twelve common factors, X1~X 21Indicates the common factor loading values corresponding to the twenty-one gas characteristics.
[0114] Therefore, the DGA data set is processed, and all DGA data are processed from twenty-two dimensions to thirteen dimensions. In order to verify the effectiveness of the factor analysis method, the decision tree, kNN, SVM and CNN are also trained on the DGA data set before and after processing, and their classification performance is tested accordingly, such as Figure 7 By comparing the classification performance of the same classification model on the DGA dataset before and after processing, the quality of the DGA dataset before and after processing is explained, which indirectly shows the superiority of the factor analysis method.
[0115] from Figure 7 It can be seen that when the twenty-one gas features are converted into twelve common factors, the main characteristics of the gas features are fully expressed and highlighted, the redundant information contained in the DGA data set is effectively removed, and its quality is improved again. In this way, the classification performance of decision tree, kNN, SVM and CNN are significantly improved. Specifically, the classification accuracy of decision tree is increased from 78.44% to 83.63%, the classification accuracy of KNN is increased from 77.86% to 81.21%, the classification accuracy of SVM is increased from 75.34% to 76.61%, and the classification accuracy of CNN is increased from 84.36% to 88.54%. Therefore, the effectiveness of factor analysis is fully verified.
[0116] 3. Machine Learning Methods
[0117] Ensemble learning is a machine learning method that improves the classification performance of basic classification models, and each basic classification model is regarded as a weak classification model. The essence of ensemble learning is to combine multiple independent weak classification models to form a strong classification model that can learn comprehensively and has high robustness, called an ensemble classification model, to improve its generalization performance. In ensemble learning, if a weak classification model misclassifies a sample, other weak classification models can correct it. In this way, not only can the classification accuracy of the ensemble classification model be improved, but also the risk of overfitting problems can be reduced, providing a guarantee for the stability of the ensemble classification model. Due to the fuzzy and complex relationship between DGA data (especially the multiple gas features or multiple common factors it contains) and fault types, a single basic classification model cannot well quantify the relationship between the two and effectively classify them. Therefore, it is considered to train an ensemble classification model to accurately map the relationship between DGA data and fault types, thereby improving the accuracy, reliability and stability of the diagnosis results.
[0118] Bagging and Boosting are typical ensemble learning algorithms. Among the Bagging algorithms, random forest is the most representative. It uses the Booststrap strategy for sampling to train each decision tree, and uses a specific strategy to form a random forest with multiple decision trees to improve its comprehensive classification performance. However, in the study of transformer fault diagnosis, it is usually difficult to obtain real DGA data from industrial sites, so the amount of DGA data obtained is not very rich. If the Bagging algorithm is used, part of the samples are used to train each basic classification model, rather than all the samples. In this way, the amount of data contained in the DGA data set itself is relatively small, and it is a small sample set. If it is divided into smaller sample sets again to train the basic classification model, its classification performance and generalization performance cannot be guaranteed. Therefore, the Bagging algorithm is not applicable, and the present invention decides to use the Boosting algorithm, and AdaBoost, XGBoost and CatBoost are the most representative.
[0119] In order to verify the classification performance of AdaBoost, XGBoost and CatBoost in transformer fault diagnosis, the three integrated classification models are trained on the DGA dataset after feature engineering, and their classification performance is tested accordingly. The best one is compared and determined as the final integrated classification model.
[0120] AdaBoost: AdaBoost with default parameter configuration is trained on the DGA dataset. The parameter setting details are shown in Table 5.
[0121] Table 5 Default parameter settings of AdaBoost
[0122]
[0123] Classification accuracy, Precision, Recall and F1-score are used to evaluate the classification performance of AdaBoost. After calculation, the classification accuracy of AdaBoost is 91.22%. Other evaluation results are shown in Table 6.
[0124] Table 6 Evaluation results of AdaBoost classification performance
[0125]
[0126] As can be seen from the table, the overall classification performance of AdaBoost with default parameter configuration is quite good, close to its classification accuracy, but the Precision obtained on the data labeled "2" is not satisfactory, and its F1-score on the data labeled "2" and the Recall on the data labeled "3" are also average. This shows that AdaBoost with default parameter configuration has a large room for improvement. However, compared with the classification accuracy achieved by a single classification model, its performance advantage is fully demonstrated, which effectively shows that the classification performance of the integrated classification model is better than that of a single classification model.
[0127] XGBoost: XGBoost with default parameter configuration is trained on the DGA dataset. The parameter setting details are shown in Table 7.
[0128] Table 7 Default parameter settings of XGBoost
[0129]
[0130] Classification accuracy, Precision, Recall and F1-score are used to evaluate the classification performance of XGBoost. After calculation, the classification accuracy of XGBoost is 88.55%. Other evaluation results are shown in Table 8.
[0131] Table 8 Evaluation results of XGBoost classification performance
[0132]
[0133] As can be seen from the table, the overall classification performance of XGBoost with default parameter configuration is lower than that of AdaBoost with default parameter configuration, and the problems existing in AdaBoost have not been solved. Specifically, the Precision obtained by XGBoost on the data labeled "2" is also unsatisfactory, and the F1-score obtained on the data labeled "2" and the Recall obtained on the data labeled "3" are average. Moreover, the Precision, Recall and F1-score obtained by XGBoost on the data of the remaining four labels are significantly lower than those of AdaBoost. This shows that the classification performance of AdaBoost is better than that of XGBoost, and it is more suitable to be determined as the final integrated classification model. It is worth noting that the classification accuracy achieved by XGBoost is still higher than that achieved by a single classification model. This once again reflects the advantages of the integrated classification model.
[0134] CatBoost: CatBoost with default parameter configuration is trained on the DGA dataset. The parameter setting details are shown in Table 9.
[0135] Table 9 Default parameter settings of CatBoost
[0136]
[0137] Classification accuracy, Precision, Recall and F1-score are used to evaluate the classification performance of CatBoost. After calculation, the classification accuracy of CatBoost is 83.59%. Other evaluation results are shown in Table 10.
[0138] Table 10 Evaluation results of CatBoost classification performance
[0139]
[0140] As can be seen from the table, the overall classification performance of CatBoost with default parameter configuration is significantly lower than that of XGBoost with default parameter configuration, not to mention AdaBoost. CatBoost not only failed to solve the problems of AdaBoost and XGBoost, but further highlighted them. Specifically, the Precision obtained by CatBoost on the data labeled "2", the F1-score obtained on the data labeled "2", and the Recall obtained on the data labeled "3" are further reduced. Moreover, the Precision, Recall and F1-score obtained by CatBoost on the data of the remaining four labels are significantly reduced. This shows that in this study, the classification performance of CatBoost is the worst. In contrast, the classification performance of AdaBoost is the best and can be determined as the final integrated classification model. It is worth noting that the classification accuracy achieved by CatBoost is higher than that achieved by most single classification models, and slightly lower than that achieved by CNN. This once again reflects the advantages of the integrated classification model.
[0141] Comprehensive analysis: Table 11 shows the classification accuracy achieved by AdaBoost, XGBoost and CatBoost. Among them, AdaBoost achieves the highest classification accuracy, which is 7.63% higher than CatBoost and 2.67% higher than XGBoost. Figure 8-Figure 10A comparison chart of Precision, Recall and F1-score obtained by the three integrated classification models is given. It can be seen from the figure that compared with the other two integrated classification models, AdaBoost has significantly higher Precision, Recall and F1-score on the data of each label of the DGA dataset. The comprehensive analysis results fully show that AdaBoost has the best classification performance. Therefore, it is determined as the final integrated classification model, and further research work is carried out to improve its classification performance. In addition, the classification performance of the integrated classification model is significantly better than that of a single classification model, and the necessity of building an integrated classification model is fully verified.
[0142] Table 11 Classification accuracy achieved by three integrated classification models
[0143]
[0144] 4. Deep Optimization
[0145] Compared with a single classification model, the classification performance of the ensemble classification model is better, and AdaBoost performs best, but there is still room for improvement. Therefore, in this section, we will conduct in-depth optimization of the ensemble classification model. Specifically, we use CNN, which performs well in factor analysis, instead of decision tree as the basic classification model, reversely enhance multiple CNNs through the AdaBoost algorithm, and transfer learning parameters between adjacent CNNs with reference to the idea of transfer learning, and then construct AdaBoost-TCNN.
[0146] In the AdaBoost algorithm, weak classification models are trained sequentially. The training results of the previous weak classification model are the basis for subsequent training. Each training sample will be assigned a signed weight to show the degree of incorrect training by the weak classification model. If the sample is correctly trained by the previous weak classification model, the weight of the sample will decrease exponentially. If the sample is not correctly trained by the previous weak classification model, the new weak classification model will use more weights to train it.
[0147] Assume that the training set is (x1,c1),(x2,c2),…,(x n ,c n ), where x i is a p-dimensional input vector, x i ∈R p , c i is x i The output of c i ∈{1,2,…,k}, where k is the number of categories. The training goal is to fit a classification model C(x) using the training samples, and use the classification model trained with the training samples to predict the labels of the test samples. Since each sample is assigned a corresponding weight, D = {di}, i = 1, 2, …, n is the weight vector of the sample, where n is the number of training samples.
[0148] Since there are n training samples, the initial weight of each sample is d i = 1 / n, and then train m CNNs in sequence, deciding whether to train once or multiple times based on the actual training difficulty. i , whose output vector is P(x i )=[P1(x i ),P2(x i ),…,P k (x i )],P1(x i ),P2(x i ),…,P k (x i ) represents the probability that the sample belongs to each category. When inputting the test sample, the input sample is classified into the category with the highest probability.
[0149] Output of the first CNN Used to update the sample weight D = {d i}, as shown in formula (2).
[0150]
[0151] In the formula, represents the weight of the mth CNN on the i-th training sample, α is the learning rate, and Y i is the label vector of the i-th sample, P m (x i ) is the response of the m-th CNN to the i-th training sample; K is the number of categories.
[0152] If the output vector P of the mth CNN m (x i ) and the output label are related, and their inner product has a high positive value, then the value in formula (2) is negative, so The value of will become smaller, indicating that the training sample is trained correctly. For the same training sample, the weight will be reduced when it is input into the next CNN. After the weights of all training samples are updated, normalization is performed, the currently trained CNN is saved, and the next CNN is trained. It can be seen that the above construction process effectively solves the problem of expected labels that may appear after the AdaBoost algorithm is combined with CNN. There is a problem of strong correlation with the actual output of CNN.
[0153] In this way, the learning parameters trained by the previous CNN in the iterative process are the initial conditions for the training of the next CNN, which reflects the advantage of the transfer learning idea and allows the results of one CNN training to be passed to the next CNN. In this way, there is no need to conduct a large number of training times. At the same time, the output vector obtained by training the CNN with all training samples is used to update D = {d i}, repeat this process for all CNNs in AdaBoost. Thus, AdaBoost-TCNN is constructed, and its construction principle is as follows Fig.11 shown.
[0154] After training m CNNs as the basic classification model, Adaboost-TCNN is obtained, and formula (3) is used to predict the output category of the input sample.
[0155]
[0156] In the formula, The calculation formula of is shown in formula (4).
[0157]
[0158] In the formula, The kth element of x is the probability of class k after being output by m CNNs. represents variables from 1 to k, is the corresponding probability. Using Lagrangian optimization on the constraint problem to find the improved estimator in multi-class AdaBoost, we can get formula (4).
[0159] In AdaBoost-TCNN, the present invention uses CNN as the basic classification model, but using different numbers of CNNs will lead to different experimental results. Therefore, the classification performance of AdaBoost-TCNN using different numbers of CNNs is first evaluated, as shown in Table 12. As can be seen from the table, when the number of CNNs used increases from 5 to 15, the classification accuracy obtained by AdaBoost-TCNN increases from 92.34% to 97.33%. When the number of CNNs used continues to increase to 25, the classification accuracy obtained by AdaBoost-TCNN drops to 93.84%. The reason is that as the number of CNNs used increases, the number of training samples that can be assigned to the new CNN is small. In this way, these small samples will be given very high weights. Therefore, the new CNN cannot be properly trained in the entire DGA data set. When the number of CNNs used increases to more than 15, the classification performance of AdaBoost-TCNN is no longer improved. When 15 CNNs are used, the highest classification accuracy is achieved by AdaBoost-TCNN. Therefore, 15 CNNs are used to construct AdaBoost-TCNN.
[0160] Table 12 Performance evaluation results of AdaBoost-TCNN using different numbers of CNNs
[0161]
[0162] AdaBoost-TCNN is trained on the DGA dataset, and its classification performance is evaluated using classification accuracy, Precision, Recall, and F1-score. After calculation, the classification accuracy achieved by AdaBoost-TCNN is 97.33%, and other evaluation results are shown in Table 13.
[0163] Table 13 Evaluation results of classification performance of AdaBoost-TCNN
[0164]
[0165]
[0166] As can be seen from the table, the classification performance of AdaBoost-TCNN is significantly better than AdaBoost, XGBoost and CatBoost. In addition, the Precision obtained on the data labeled "2" is increased to 0.76, the F1-score obtained on the data labeled "2" is increased to 0.86, and the Recall obtained on the data labeled "3" is increased to 0.95, which are significantly higher than those obtained by the three integrated classification models in step 3. This shows that AdaBoost-TCNN effectively solves the problems that they have not solved, and its superiority is proven.
[0167] In order to fully demonstrate the superiority of AdaBoost-TCNN, in addition to comparing it with the three integrated classification models in step 1, it is compared with decision tree, SVM, CNN, AdaBoost-Decision Tree and AdaBoost-SVM, as shown in Table 14.
[0168] Table 14 Parameter settings of different classification models and the classification performance achieved
[0169]
[0170] Table 15 CNN parameter settings
[0171]
[0172] As can be seen from Table 14, after the decision tree, SVM and CNN are enhanced by the AdaBoost algorithm, their classification accuracy is significantly improved. Specifically, the classification accuracy achieved by AdaBoost-Decision Tree is improved by 6.56%, the classification accuracy achieved by AdaBoost-SVM is improved by 12.83%, and the classification accuracy achieved by AdaBoost-TCNN is improved by 6.50%. At the same time, compared with AdaBoost-Decision Tree and AdaBoost-SVM, the classification accuracy achieved by AdaBoost-TCNN is 6.11% and 4.36% higher, respectively. This fully demonstrates that the classification performance of AdaBoost-TCNN is more superior and stable.
[0173] So far, the feasibility, practicality and superiority of the AdaBoost-TCNN constructed by the present invention have been fully demonstrated.
[0174] In order to verify the generalization performance of AdaBoost-TCNN, experiments were conducted again on the IEC TC 10 standard dataset. The data in the IEC TC 10 dataset are obtained from oil-immersed transformers of different models and voltage levels, so it itself has strong generalization. The dataset contains data on five types of faults: partial discharge, low-energy discharge, high-energy discharge, medium and low temperature overheating, and high temperature overheating. In order to ensure the integrity of the dataset, normal DGA data is added to the IEC TC 10 dataset. On this basis, decision trees, SVMs, CNNs, AdaBoost-Decision Trees, AdaBoost-SVMs, and AdaBoost-TCNNs are trained on the IEC TC 10 dataset, and their classification performance is tested accordingly, such as Figures 12 to 17 As shown. It should be noted that the parameter configurations of the six classification models are the same as those in Table 14 and Table 15. The ordinates 1-6 in the figure represent six labels, corresponding to five fault types and one normal state, as shown in Table 1. The blue circle in the figure represents the actual fault type of the test sample, and the red five-pointed star represents the fault type given by the classification model, that is, the predicted label. If the blue circle and the red five-pointed star coincide, it means that the diagnosis is successful, that is, the prediction is correct, such as Fig.12 As shown in the green box. Otherwise, it means the diagnosis is wrong, that is, the prediction is wrong, such as Fig.12 Shown in the red box.
[0175] from Figures 15 to 17 It can be seen that the number of misclassified samples of CNN is less than that of SVM and decision tree, which proves the correctness and superiority of using CNN instead of decision tree to build an integrated classification model. Figure 12 to Figure 14 It can be seen that compared with a single classification model, the classification performance of the classification model enhanced by the AdaBoost algorithm has been improved to varying degrees. By comparison, the classification performance of AdaBoost-TCNN is better than that of AdaBoost-SVM and AdaBoost-Decision Tree. After calculation, the classification accuracy of the six classification models is shown in Table 16.
[0176] Table 16 Classification accuracy achieved by six classification models
[0177]
[0178] As can be seen from the table, after the decision tree, SVM and CNN were enhanced by the AdaBoost algorithm, their classification accuracy was significantly improved. Specifically, the classification accuracy achieved by AdaBoost-Decision Tree increased by 4.65%, the classification accuracy achieved by AdaBoost-SVM increased by 11.63%, and the classification accuracy achieved by AdaBoost-TCNN increased by 11.63%. At the same time, compared with AdaBoost-Decision Tree and AdaBoost-SVM, the classification accuracy achieved by AdaBoost-TCNN was 9.3% and 4.65% higher, respectively. This once again fully demonstrates that the classification performance of AdaBoost-TCNN is more superior and stable. The method proposed in the present invention has been fully verified.
[0179] In addition, in this process, the time loss of the six classification models was counted, as shown in Table 17. The time loss of the integrated classification model is relatively long, which is understandable because they spend a lot of time on model calculations, effectively improving the classification accuracy. The time loss of AdaBoost-TCNN is 126s, which is the highest. However, from the previous experiments, we can know that its classification performance is the best and has obvious advantages over other classification models. Moreover, in practical applications, testers are more concerned about the diagnostic effect rather than the diagnostic efficiency, not to mention that the time loss of AdaBoost-TCNN meets the diagnostic efficiency requirements of practical applications. With the emergence of integrated, high-performance computing devices or computing platforms, the problem of diagnostic efficiency will be solved quickly.
[0180] Table 17 Time loss of six classification models
[0181]
[0182] Transformers play an important role in power systems, and accurate, reliable and stable fault diagnosis is necessary. Fault analysis based on DGA data with non-electrical quantity as reference and not affected by electromagnetics is widely used. After an in-depth study of traditional diagnostic methods and intelligent diagnostic methods, a transformer fault diagnosis technology based on adaptive enhanced transfer neural network is proposed to address the three existing problems, and an AdaBoost-TCNN with more accurate and stable classification performance is constructed. The main contents and contributions of this invention are as follows:
[0183] (1) To address the problem of insufficient expression of gas features, the present invention combines the traditional ratio method and the ratio relationship of each gas, expands the original five gas features into twenty-one gas features, and greatly enriches the correlation information between gas features in the DGA data set. The test results show the effectiveness of gas feature expansion.
[0184] (2) From the Pearson and Spearman correlation coefficient graphs, it is found that there is redundant information between the expanded gas features. The present invention uses factor analysis to convert the twenty-one gas features into twelve common factors that effectively express the main characteristics of the gas features. The test results show the effectiveness of the factor analysis method.
[0185] (3) Aiming at the problem of poor generalization of classification performance of single classification model, the present invention introduces the idea of ensemble learning and analyzes and determines the use of Boosting algorithm, thereby constructing three classic ensemble classification models. The test results using multiple evaluation indicators show that AdaBoost has the best classification performance, achieving a classification accuracy of 91.22%.
[0186] (4) To address the problem of the classification model not being deeply optimized, the present invention introduces a CNN with good performance to replace the default basic classification model of AdaBoost, while maintaining the advantages of adaptive enhancement, introducing the idea of transfer learning, and constructing the AdaBoost-TCNN model. The test results using multiple evaluation indicators show that the classification performance of AdaBoost-TCNN is greatly improved, achieving a classification accuracy of 95.35%.
[0187] The above calculation examples of the present invention are only used to explain the calculation model and calculation process of the present invention in detail, and are not intended to limit the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.
Claims
1. A method for determining transformer fault diagnosis features based on adaptive enhanced transfer convolutional neural network, characterized in that: include: Firstly, the concentration of hydrocarbon gas in the transformer fault is obtained as the initial gas feature, and the ratio relationship of the concentration of different gases is used as the gas feature to expand the initial gas feature; Then, the factor analysis method is used to reduce the feature dimension to obtain a new feature vector of n' dimensions, which is used as the feature for transformer fault diagnosis based on adaptive enhanced transfer convolutional neural network.
2. According to claim 1, the method for determining transformer fault diagnosis features based on adaptive enhanced transfer convolutional neural network is characterized in that: Hydrocarbon gases include hydrogen H2, methane CH4, ethane C2H6, ethylene C2H4 and acetylene C2H2.
3. The method for determining transformer fault diagnosis features based on adaptive enhanced transfer convolutional neural network according to claim 2 is characterized in that: The ratios of different gas concentrations include C2H6 / CH4, C2H2 / C2H4, CH4 / H2, H2 / TCDG 1 ×100, CH4 / TCDG 1 ×100, C2H6 / TCDG 1 ×100, C2H4 / TCDG 1 ×100, C2H2 / TCDG 1 ×100, H2 / max(H2, CH4, C2H6, C2H4, C2H2)×100, CH4 / max(H2, CH4, C2H6, C2H4, C2H2)×100, C2H6 / max(H2, CH4, C2H6 , C2H4, C2H2)×100, C2H4 / max(H2, CH4, C2H6, C2H4, C2H2)×100, C2H2 / max(H2, CH4, C2H6, C2H4, C2H2)×100, CH4 / TD 2 ×100, C2H4 / TD 2 ×100, C2H2 / TD 2 ×At least one of 100; TCDG 1 =H2+CH4+C2H6+C2H4+C2H2, TD 2 =C2H4+CH4+C2H2.
4. The method for determining transformer fault diagnosis features based on adaptive enhanced transfer convolutional neural network according to claim 1 is characterized in that: The process of using factor analysis to reduce feature dimensionality includes: Calculate the variance of the contribution of gas characteristics to the common factors to determine the effectiveness of the common factors; then determine the number of common factors n based on the overall contribution of the common factors; after determining the number of common factors, use the maximum variance method to rotate the common factors to obtain the heat map corresponding to the gas characteristics and the gas characteristics, and then determine the factor type represented by the common factors; then convert the vector corresponding to the common factor load values of all gas characteristics into a new feature vector of n' dimensions.
5. The method for determining transformer fault diagnosis features based on adaptive enhanced transfer convolutional neural network according to claim 4 is characterized in that: Before conducting factor analysis, it is necessary to first conduct a correlation analysis on the expanded gas characteristics. When the expanded gas characteristics have a positive linear correlation, factor analysis is then used for analysis.
6. The method for determining transformer fault diagnosis features based on adaptive enhanced transfer convolutional neural network according to claim 4 is characterized in that: When factor analysis is used, KMO and Bartlett sphericity tests are first performed, and then the variance of the contribution of gas characteristics to the common factors is calculated.
7. A transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network, characterized in that: include: First, the concentration of hydrocarbon gas when the transformer fails is collected, and then a new n'-dimensional feature vector is obtained according to the transformer fault diagnosis feature determination method based on the adaptive enhanced transfer convolutional neural network according to any one of claims 1 to 6. Based on the n'-dimensional new feature vector, the transformer fault diagnosis is performed based on the adaptive enhanced transfer convolutional neural network.
8. The transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network according to claim 7 is characterized in that: The AdaBoost-TCNN network model is based on an adaptive enhanced transfer convolutional neural network. The AdaBoost-TCNN network model is: CNN is used as a weak classification model in the AdaBoost algorithm, and multiple weak classification models are integrated through the AdaBoost algorithm to obtain a classification model integrated by the weak classification models.
9. The transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network according to claim 8 is characterized in that: The AdaBoost-TCNN network model construction process includes the following steps: Based on transformer faults and corresponding hydrocarbon gas concentrations, an original training set is constructed; for samples in the original training set, a transformer fault diagnosis feature determination method based on an adaptive enhanced transfer convolutional neural network as described in any one of claims 1 to 7 is used to obtain multiple n'-dimensional new feature vectors, and each n'-dimensional new feature vector and the corresponding transformer fault type label are combined to form n'+1-dimensional data to obtain a training set; There are n training samples in the training set, and the initial weight of each sample is d i =1 / n, and then train m CNNs in sequence, deciding whether to train once or multiple times based on the actual training difficulty; for an input sample x i , whose output vector is P(x i )=[P1(x i ),P2(x i ),…,P k (x i )],P1(x i ),P2(x i ),…,P k (x i ) represents the probability that the sample belongs to each category; Output of the first CNN Used to update the sample weight D = {d i }, as shown in formula (2); In the formula, represents the weight of the mth CNN on the i-th training sample, α is the learning rate, and Y i is the label vector of the i-th sample, P m (x i ) is the response of the m-th CNN to the i-th training sample; K is the number of categories; The learning parameters trained by the previous CNN in the iterative process are the initial conditions for the training of the next CNN, so that the results of one CNN training are passed to the next CNN; the output vector obtained by training the CNN with all training samples is used to update D = {d i }, repeat this process for all CNNs in AdaBoost; After training m CNNs as the basic classification model, Adaboost-TCNN is obtained, and formula (3) is used to predict the output category of the input sample; In the formula, The calculation formula is shown in formula (4); In the formula, The kth element of x is the probability of class k after being output by m CNNs. represents variables from 1 to k, is the corresponding probability.
10. The transformer fault diagnosis method based on adaptive enhanced transfer convolutional neural network according to claim 9 is characterized in that: The AdaBoost-TCNN network model was obtained by using 15 CNNs as weak classification models.
Citation Information
Patent Citations
Factor analysis-based quantitative evaluation method on of boiler efficiency influence indexes
CN103577681A
Transformer fault diagnosis method based on graph Markov neural network
CN113343581A
Bearing fault diagnosis method and device, electronic equipment and storage medium
CN115112372A
Transformer diagnosis method based on genetic algorithm feature optimization and support vector machine
CN115841152A
Cited By
Intelligent detection method and system for carbon fiber breakage
CN119090886A
Transformer fault detection method, device and equipment based on KFWAdaBoost and medium
CN119646592A
