Transformer temperature abnormality early warning method and system based on clustering algorithm

By combining the OPTICS clustering algorithm and the equal-spaced simplification method, a transformer temperature abnormality early warning model is constructed, which solves the problems of long diagnosis and insufficient identification in the existing technology, and achieves efficient identification and early warning of transformer temperature abnormalities. Suitable for transformer monitoring under complex working conditions.

CN116702473BActive Publication Date: 2024-08-27JIANGSU GUODIAN NANZI HAIJI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310674212.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-08-27
Estimated Expiration
2043-06-08

AI Technical Summary

Technical Problem

Existing transformer overheating fault diagnosis methods are time-consuming, insufficient in reliability, unable to effectively identify defects in external auxiliary parts of the transformer, and supervised machine learning methods are limited in complex temperature operating modes.

Method used

A transformer temperature abnormality early warning method based on the OPTICS clustering algorithm and the equal-spaced simplification method is adopted. An intelligent early warning model is constructed through unsupervised point sorting to identify the cluster structure. Noise samples are used for feature extraction to enhance the robustness and data mining value of the model.

Benefits of technology

It achieves efficient identification of transformer temperature anomalies, improves the accuracy and reliability of early warning, can effectively model and provide early warning under complex working conditions, and is suitable for forced oil circulation water-cooled transformers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116702473B
    Figure CN116702473B
Patent Text Reader

Abstract

The present invention discloses a transformer temperature anomaly warning method based on a clustering algorithm, which collects a state parameter data group of the transformer at intervals as a sampling sample, wherein the state parameter data group is an array composed of various state parameters, and the sampling sample is used as a training sample for building a model; the training sample is normalized; the OPTICS clustering algorithm is used to build an intelligent warning model and construct a state matrix; the noise sample Z is processed by an equal interval simplification method; and the state matrix is ​​reorganized: warning evaluation index. This application adopts the OPTICS clustering algorithm which is not restricted by sample labels, and adaptively generates an operating mode, thereby realizing the modeling of transformer temperature anomalies under complex and changeable working conditions. The combination of point sorting recognition clustering structure and equal interval simplification method can more fully tap the value of data, making the constructed intelligent warning model more robust.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of transformer monitoring, and in particular relates to a transformer temperature abnormality early warning method and system based on a clustering algorithm. Background Art

[0002] Transformer overheating is one of the most common faults, which poses a serious threat to the safe operation and service life of the transformer. When the transformer is energized, energy transfer and loss will occur. Most of the energy will be transmitted in the form of electrical energy, and the remaining energy will act on the transformer windings, core and metal structural parts in the form of loss. The loss will be converted into heat and dispersed in any part of the transformer. If the heat generated is greater than the heat dissipation, overheating will occur, which is also called transformer overheating fault. According to relevant statistics [2], there are many reasons for transformer overheating, mainly including poor contact of tap changer; multiple grounding, short circuit or magnetic leakage of the core; poor wire joints or loose fasteners; local poor heat dissipation caused by local oil channel blockage, etc. Most transformer faults will be highlighted in the form of temperature changes. By analyzing the temperature status of the transformer, it is possible to identify in advance whether the transformer is in good operating condition.

[0003] Common transformer overheating fault diagnosis methods include dissolved gas analysis in oil, infrared temperature measurement, and optical fiber temperature measurement. Among them, the dissolved gas method in oil is one of the most widely used methods for identifying latent defects of oil-immersed transformers. It determines whether there is an overheating fault inside the transformer by observing different gas ratios. This method is time-consuming, unreliable, and has limited practical application value. It is also unable to identify defects in external accessories of the transformer. Infrared temperature measurement methods often use infrared thermal imagers or cameras to measure the temperature of transformers regularly and at fixed points in a non-contact manner. For the diagnosis of overheating faults, a fixed threshold is usually used. Once the temperature exceeds the limit, an alarm signal will be issued. Optical fiber temperature measurement is a contact temperature measurement method with high sensitivity and little influence from strong electric field environment. It is generally used for transformer winding temperature measurement. Its diagnosis of transformer overheating faults is the same as infrared temperature measurement. In actual operation, the transformer temperature is affected by many factors and there are uncertain operating modes. Therefore, the use of supervised machine learning methods for modeling will be greatly restricted. Summary of the invention

[0004] The present application discloses a transformer temperature abnormality warning method based on a clustering algorithm. The unsupervised point sorting and identification clustering structure (Ordering Points To Identify the Clustering Structure, OPTICS) clustering algorithm is used to adaptively construct a model, and the data in the space are clustered according to the density distribution. In response to data of arbitrary shapes, in the OPTICS algorithm modeling process, most samples are used, but there are also a few samples that are judged as noise. Since the noise samples also belong to the data of the normal operation of the transformer, if the noise samples are abandoned, the deviation between the actual value and the calculated theoretical value will be increased. For this reason, this study proposes an equal interval simplification method to extract features from the noise data and use it as a supplement to the OPTICS model. The combination of the point sorting and identification clustering structure and the equal interval simplification method can more fully explore the value of the data, making the constructed intelligent warning model more robust.

[0005] The technical solution of this application is:

[0006] The transformer temperature abnormality early warning method based on clustering algorithm includes the following steps:

[0007] S1, collecting a state parameter data group of the transformer at intervals as a sampling sample, wherein the state parameter data group is an array composed of various state parameters, and the sampling sample is used as a training sample for building a model;

[0008] S2, normalization of training samples;

[0009] S3, using OPTICS clustering algorithm to build an intelligent early warning model and construct a state matrix;

[0010] S4, the noise sample Z is processed using the equal interval simplification method (EIS for short);

[0011] S5, reorganized state matrix:

[0012] S6, early warning assessment indicators.

[0013] The training sample normalization process specifically includes the following steps:

[0014] The training samples are normalized and the original data in the training samples are converted to the range of [0, 1]. The specific processing formula is formula (1):

[0015]

[0016] x ijrepresents the jth state parameter of the state parameter data set at the i-th moment in the training sample, n is the number of state parameters, and m is the number of state parameter data sets in the training sample; in this embodiment, n=6, x ij * represents the normalized value of the jth state parameter of the state parameter data set at the i-th moment in the training sample; x j_max represents the maximum value of the jth state parameter in the training sample; x j_min Represents the minimum value of the j-th state parameter in the training sample;

[0017] The normalized training sample is X = [X1, X2, ...X i , …, X m ], X i =[x i1 * , x i2 * ,…x ij * , …, x in * ], the training samples include m groups of samples, and each sample includes n state parameters.

[0018] Step S3 specifically includes the following steps:

[0019] The OPTICS clustering algorithm is used to build an intelligent early warning model. The neighborhood radius ε and the minimum number of points MinPts are set. The normalized training samples are input into the OPTICS clustering algorithm to obtain clustering results and noise samples Z (noise samples are samples that fail to form clusters in the sampled samples). After clustering by the OPTICS algorithm, the clustering result is that the valid samples are divided into K clusters, and each valid sample is accompanied by a label of the cluster to which it belongs. The valid samples represent the remaining samples after the normalized training samples X are removed from the noise samples Z.

[0020] Based on the samples under each cluster, the average value of each cluster is calculated respectively. The average value calculation method of each cluster is as follows: the qth cluster is set to include Q samples, q = 1, 2...K, each sample consists of n state parameters, and the same state parameters in the Q samples are averaged to obtain a state vector of size 1×n. A state vector is used to represent an operating mode of the transformer, and the average value matrix H0 of size K×n corresponding to the K clusters is obtained, H0∈R K×n , H0∈R K ×n is a state matrix, each row vector in the state matrix represents an operating mode, indicating that the cluster result includes K different operating conditions of the transformer.

[0021] Preferably, n is equal to 6, that is, there are 6 state parameters including transformer active power, water supply pressure, drainage pressure, oil level, main transformer left temperature, and main transformer right temperature; the neighborhood radius ε=0.01, and the minimum number of points MinPts is 4 to 10.

[0022] Extracting the transformer operation mode based on the output of the noise sample Z, on the one hand, gives the noise sample Z the meaning of characterizing the operation mode, on the other hand, integrates the noise sample Z into the state matrix H0 to improve the deficiencies in the state matrix H0.

[0023] The equal spacing simplification method processes the noise sample Z and specifically includes the following steps:

[0024] 401) Set the expected number of clusters of noise sample Z including G operation modes, i.e., noise sample Z, as G; select any state parameter Z in noise sample Z j As a reference quantity, j = 1, 2, 3 ... n, the state parameter Z j The intervals are divided into G intervals with equal spacing, and each interval represents an operation mode by default;

[0025] 402) scattering all noise samples Z into corresponding intervals according to the reference amount;

[0026] 403) An average calculation is performed for all noise samples in the same interval, and the result of the average calculation represents the operation mode, which can greatly simplify the historical data; intervals without samples are ignored.

[0027] 404) After selecting different reference quantities for several times, repeating steps 402)-403), finally obtaining additional G operating modes of the transformer from the noise sample Z, and obtaining a supplementary state matrix S∈R G×n .

[0028] Finally, multiple groups of state vectors representing the operating modes are obtained from the noise samples and added to the state matrix to improve the original state matrix's coverage of scattered, small-scale, and unconventional normal operating modes.

[0029] For the selection of the expected number G and the reference quantity in the equal spacing simplification method, the principles to be followed are:

[0030] (1) The expected number G is less than or equal to but not greater than the sample number;

[0031] (2) When setting several benchmark quantities, the expected value G is taken from large to small to simplify the original historical data;

[0032] (3) The reference quantity is a parameter that is closely related to the transformer operating conditions. In this embodiment, the transformer active power is selected as the reference quantity.

[0033] S5, reorganization state matrix: The clustering algorithm obtains K kinds of operation modes in the training samples, and its state matrix is ​​H0∈R K×n , a total of G operating modes are obtained from the noise samples by the equal spacing division method, and the supplementary state matrix is ​​S∈R G ×n , concatenate the state matrix H0 with the supplementary state matrix SS to form a new state matrix H, H∈R (K+G)×n .

[0034] Step S6 specifically includes the following steps:

[0035] The state parameter data group of the transformer is collected in real time as a real-time sample. After determining the new state matrix H, the matching degree between the new sample and each operation mode is measured by the spatial distance. That is, the state parameter data group of the transformer is collected in real time as a real-time sample, and the spatial distance between the real-time sample and each row vector in the state matrix is ​​calculated respectively. The state vector with the smallest spatial distance is taken as the theoretical value of the real-time sample. Among them, the spatial distance is calculated using the Euclidean distance (dist()), and the formula is formula (2):

[0036]

[0037] Among them, x new represents real-time samples, h i Represents the i-th row vector in the state matrix H (i.e., an operating mode).

[0038] The operating mode vector y with the smallest Euclidean distance to the real-time sample (new sample) is selected as the theoretical value of the real-time sample; whether the transformer temperature is abnormal is determined by measuring the difference between the real-time sample and the theoretical value.

[0039] The difference between the real-time sample and the theoretical value is measured by the root mean square error (RMSE) in percentage, and the calculation formula is (3):

[0040]

[0041] in, is the jth state parameter of the real-time sample, y j is the jth state parameter of the theoretical value;

[0042] When the RMSE value is less than 20%, it indicates that the transformer temperature is normal; when the RMSE is between or equal to 20%-40%, a first-level warning signal is triggered; when it is greater than 40%, a second-level warning signal is triggered.

[0043] A transformer temperature abnormality warning system based on clustering algorithm includes a sampling unit, a normalization unit, a state matrix construction unit, a noise sample processing unit, a state matrix reorganization unit and a warning evaluation unit;

[0044] The sampling unit collects a state parameter data group of the transformer at intervals as a sampling sample, wherein the state parameter data group is an array composed of various state parameters, and the sampling sample is used as a training sample for building a model;

[0045] Normalization unit training sample normalization processing;

[0046] The state matrix construction unit uses the OPTICS clustering algorithm to construct the state matrix of the intelligent early warning model;

[0047] The noise sample processing unit processes the noise sample Z using an equal spacing simplification method;

[0048] The normalization unit working process specifically includes the following steps:

[0049] The training samples are normalized and the original data in the training samples are converted to the range of [0, 1]. The specific processing formula is formula (1):

[0050]

[0051] x ij represents the jth state parameter of the state parameter data set at the i-th moment in the training sample, n is the number of state parameters, and m is the number of state parameter data sets in the training sample; in this embodiment, n=6, x ij * represents the normalized value of the jth state parameter of the state parameter data set at the i-th moment in the training sample; x j_max represents the maximum value of the jth state parameter in the training sample; x j_min Represents the minimum value of the j-th state parameter in the training sample;

[0052] The normalized training sample is X = [X1, X2, ...X i , …, X m ], X i =[x i1 * , x i2 * , …x ij * , …, x in * ], the training samples include m groups of samples, and each sample includes n state parameters.

[0053] The working process of the state matrix construction unit specifically includes the following steps:

[0054] The OPTICS clustering algorithm is used to build an intelligent early warning model. The neighborhood radius ε and the minimum number of points MinPts are set. The normalized training samples are input into the OPTICS clustering algorithm to obtain the clustering results and noise samples Z. After clustering by the OPTICS algorithm, the clustering result is that the valid samples are divided into K clusters. Each valid sample is accompanied by a label of the cluster to which it belongs. The valid samples represent the remaining samples after the normalized training samples X are removed from the noise samples Z.

[0055] Based on the samples under each cluster, the average value of each cluster is calculated respectively. The average value calculation method of each cluster is as follows: the qth cluster is set to include Q samples, q = 1, 2...K, each sample consists of n state parameters, and the same state parameters in the Q samples are averaged to obtain a state vector of size 1×n. A state vector is used to represent an operating mode of the transformer, and the average value matrix H0 of size K×n corresponding to the K clusters is obtained, H0∈R K×n , H0∈R K ×n is a state matrix, each row vector in the state matrix represents an operating mode, indicating that the cluster result includes K different operating conditions of the transformer.

[0056] The equal spacing simplification method processes the noise sample Z and specifically includes the following steps:

[0057] 401) Set the expected number of clusters of noise sample Z including G operation modes as G; select any state parameter Z in noise sample Z j As a reference quantity, j = 1, 2, 3 ... n, the state parameter Z j The intervals are divided into G intervals with equal spacing, and each interval represents an operation mode by default;

[0058] 402) scattering all noise samples Z into corresponding intervals according to the reference amount;

[0059] 403) performing an average calculation for all noise samples in the same interval, wherein the result of the average calculation represents the operation mode;

[0060] 404) traverses different reference quantities and repeats steps 402)-403), obtains additional G operating modes of the transformer from the noise sample Z, and obtains a supplementary state matrix S∈R G×n .

[0061] The working process of the state matrix reorganization unit specifically includes the following steps:

[0062] The clustering algorithm obtains K operating modes in the training samples, and its state matrix is ​​H0∈R K×n, a total of G operating modes are obtained from the noise samples by the equal spacing division method, and the supplementary state matrix is ​​S∈R G×n , concatenate the state matrix H0 with the supplementary state matrix SS to form a new state matrix H, H∈R (K+G)×n .

[0063] The working process of the early warning assessment unit specifically includes the following steps:

[0064] The state parameter data group of the transformer is collected in real time as the real-time sample, and the spatial distance between the real-time sample and each row vector in the state matrix is ​​calculated respectively. The state vector with the smallest spatial distance is taken as the theoretical value of the real-time sample. The spatial distance is calculated using the Euclidean distance, and the formula is (2):

[0065]

[0066] Among them, x new represents real-time samples, h i Represents the i-th row vector in the state matrix H;

[0067] The operating mode vector y with the smallest Euclidean distance to the real-time sample is selected as the theoretical value of the real-time sample; the transformer temperature is determined to be abnormal by measuring the difference between the real-time sample and the theoretical value;

[0068] The difference between the real-time sample and the theoretical value is measured by the root mean square error in percentage, and the calculation formula is (3):

[0069]

[0070] Among them, RMSE represents the root mean square error in percentage, is the jth state parameter of the real-time sample, y j is the jth state parameter of the theoretical value;

[0071] When the RMSE value is less than 20%, it indicates that there is no abnormality in the transformer temperature; when the RMSE value is between or equal to 20%-40%, a first-level warning signal is triggered; when the RMSE value is greater than 40%, a second-level warning signal is triggered.

[0072] This application proposes an intelligent early warning system for overheating hazards of forced oil circulation water-cooled transformers. The OPTICS clustering algorithm is used to unsupervisedly construct a normal operating status model of the transformer. It is not restricted by sample labels and can adaptively generate operating modes, thus realizing the modeling of abnormal transformer temperature under complex and changeable working conditions.

[0073] The present application proposes a transformer operation mode extraction method based on the OPTICS clustering algorithm and the equal-interval simplification method. By processing the noise signal of the OPTICS clustering algorithm by the equal-interval simplification method, the shortcomings of the OPTICS clustering algorithm itself are effectively compensated.

[0074] The intelligent early warning method of this application has been verified by real data. The theoretical value generated by the multi-parameter state model has a high degree of match with the actual value, which is sufficient to serve as a reference object for transformer temperature anomaly identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0076] Figure 1 The number of clusters generated under different MinPts;

[0077] Figure 2 Comparison between actual and theoretical values ​​of the temperature of the temperature test sample on the left side of the main transformer;

[0078] Figure 3 Comparison of actual and theoretical values ​​of the temperature of the temperature test sample on the right side of the main transformer. DETAILED DESCRIPTION

[0079] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0080] This experiment takes a 220kV forced oil circulation water-cooled transformer in a power plant as the object, and takes six state parameters of transformer power, water supply pressure, drainage pressure, oil level, main transformer left temperature, and main transformer right temperature for experimental analysis, with a total sample number of 12,000. Six state parameters of transformer active power, water supply pressure, drainage pressure, oil level, main transformer left temperature, and main transformer right temperature are used for experimental analysis.

[0081] The transformer temperature abnormality early warning method based on clustering algorithm includes the following steps:

[0082] S1, collecting the state parameter data group of the transformer at intervals as sampling samples, wherein the state parameter data group is an array composed of various state parameters, and the state parameters include transformer active power, water supply pressure, drainage pressure, oil level, main transformer left temperature and main transformer right temperature, and using the sampling samples as training samples for building a model;

[0083] S2, normalize the training samples and convert the original data in the training samples to the range of [0, 1]. The specific processing formula is formula (1):

[0084]

[0085] Here x ij represents the jth state parameter of the state parameter data set at the i-th moment in the training sample, n is the number of state parameters, and m is the number of state parameter data sets in the training sample; in this embodiment, n=6, x ij * represents the normalized value of the jth state parameter of the state parameter data set at the i-th moment in the training sample; x j_max represents the maximum value of the jth state parameter in the training sample; x j_min Represents the minimum value of the j-th state parameter in the training sample;

[0086] The normalized training sample is X = [X1, X2, ...X i , …, X m ], X i =[x i1 * , x i2 * , …x ij * , …, x in * ], the training samples include m groups of samples, and each sample includes n state parameters, n is equal to 6, that is, transformer active power, water supply pressure, drainage pressure, oil level, main transformer left temperature, main transformer right temperature, a total of 6 state parameters;

[0087] S3, using the OPTICS clustering algorithm to build an intelligent early warning model, setting the neighborhood radius ε and the minimum number of points MinPts, input the normalized training samples into the OPTICS clustering algorithm, and obtain the clustering results and noise samples Z (noise samples are samples that fail to form clusters in the sampled samples); after clustering by the OPTICS algorithm, the clustering result is that the valid samples are divided into K clusters, each valid sample is accompanied by a label of the cluster to which it belongs, and the valid samples represent the remaining samples after the normalized training samples X are removed from the noise samples Z.

[0088] The neighborhood radius ε=0.01, the minimum number of points MinPts is 4 to 10, and in this embodiment, the neighborhood radius ε=0.01, and the minimum number of points MinPts is 5;

[0089] Based on the samples under each cluster, the average value of each cluster is calculated respectively. The average value calculation method of each cluster is as follows: Assume that the qth cluster includes Q samples, q = 1, 2...K, and each sample consists of 6 state parameters. The same state parameters in the Q samples are averaged to obtain a state vector of size 1×6. A state vector is used to represent an operating mode of the transformer. The average value matrix H0 of size K×n corresponding to the K clusters is obtained, H0∈R K×n , H0∈R K×n is a state matrix, each row vector in the state matrix represents an operating mode, indicating that the cluster result contains K different operating conditions of the transformer.

[0090] S4, the equal interval simplification method (EIS) is used to process the noise sample Z and extract the transformer operation mode based on the output of the noise sample Z. On the one hand, the noise sample Z is given the meaning of characterizing the operation mode. On the other hand, the noise sample Z is integrated into the state matrix H0 to improve the deficiencies in the state matrix H0.

[0091] The equal spacing simplification method processes the noise sample Z and specifically includes the following steps:

[0092] 401) Set the expected number of clusters of noise sample Z including G operation modes, i.e., noise sample Z, as G; select any state parameter Z in noise sample Z j As a reference quantity, j = 1, 2, 3L n, the state parameter Z j The intervals are divided into G intervals with equal spacing, and each interval represents an operation mode by default;

[0093] 402) scattering all noise samples Z into corresponding intervals according to the reference amount;

[0094] 403) An average calculation is performed for all noise samples in the same interval, and the result of the average calculation represents the operation mode, which can greatly simplify the historical data; intervals without samples are ignored.

[0095] 404) After selecting different reference quantities for several times, repeating steps 402)-403), finally obtaining additional G operating modes of the transformer from the noise sample Z, and obtaining a supplementary state matrix S∈R G×n .

[0096] Finally, multiple groups of state vectors representing the operating modes are obtained from the noise samples and added to the state matrix to improve the original state matrix's coverage of scattered, small-scale, and unconventional normal operating modes.

[0097] For the selection of the expected number G and the reference quantity in the equal spacing simplification method, the principles to be followed are:

[0098] (1) The expected number G is less than or equal to but not greater than the sample number;

[0099] (2) When setting several benchmark quantities, the expected value G is taken from large to small to simplify the original historical data;

[0100] (3) The reference quantity is a parameter that is closely related to the transformer operating conditions. In this embodiment, the transformer active power is selected as the reference quantity.

[0101] S5, reorganization state matrix: The clustering algorithm obtains K kinds of operation modes in the training samples, and its state matrix is ​​H0∈R K×n , a total of G operating modes are obtained from the noise samples by the equal spacing division method, and the supplementary state matrix is ​​S∈R G ×n , concatenate the state matrix H0 with the supplementary state matrix SS to form a new state matrix H, H∈R (K+G)×n ;

[0102] S6, early warning assessment indicators

[0103] The state parameter data group of the transformer is collected in real time as a real-time sample. After determining the new state matrix H, the matching degree between the new sample and each operation mode is measured by the spatial distance. That is, the state parameter data group of the transformer is collected in real time as a real-time sample, and the spatial distance between the real-time sample and each row vector in the state matrix is ​​calculated respectively. The state vector with the smallest spatial distance is taken as the theoretical value of the real-time sample. Among them, the spatial distance is calculated using the Euclidean distance (dist()), and the formula is formula (2):

[0104]

[0105] Among them, x new represents real-time samples, h i Represents the i-th row vector in the state matrix H (i.e., an operating mode).

[0106] The operating mode vector y with the smallest Euclidean distance to the real-time sample (new sample) is selected as the theoretical value of the real-time sample; whether the transformer temperature is abnormal is determined by measuring the difference between the real-time sample and the theoretical value.

[0107] The difference between the real-time sample and the theoretical value is measured by the root mean square error (RMSE) in percentage, and the calculation formula is (3):

[0108]

[0109] in, is the jth state parameter of the real-time sample, yj is the jth state parameter of the theoretical value.

[0110] When the RMSE value is less than 20%, it indicates that the transformer temperature is normal; when the RMSE is between or equal to 20%-40%, a first-level warning signal is triggered; when it is greater than 40%, a second-level warning signal is triggered.

[0111] In practice, most equipment failure defects are not sudden events, but a process of gradual performance degradation. The state change caused by performance degradation is not a single parameter, but is often presented in the form of coupling of multiple physical quantities. This study uses multi-parameter analysis, which makes it easier to detect hidden dangers in equipment. When small changes in multiple parameters are combined together, the overall defect characteristics are relatively more obvious. Therefore, this embodiment uses RMSE as an indicator for early warning assessment, representing an overall deviation. When the real-time samples of one or more parameters deviate from the theoretical values, they will eventually be reflected in the RMSE value.

[0112] In the OPTICS algorithm, the smaller the value of MinPts, the more clusters are formed, and vice versa. Figure 1 Describes the number of clusters formed by samples under different parameters, Figure 1 It can be seen that the minimum number of points parameter has an obvious impact on the clustering structure of the OPTICS algorithm. Since the samples are all normal operating data, the more clusters generated, the more detailed the transformer operating modes covered, the greater the probability that the data matches the most similar operating mode, and the calculated theoretical value is more meaningful. However, excessive clustering of training samples, on the one hand, the data differences under each operating mode are small, and there are too many redundant data; on the other hand, large clusters inevitably bring a lot of calculations, which is difficult to meet the needs of practical applications. Taking the above issues into consideration, after many experiments, this application concludes that the value of MinPts is 5.

[0113] When the neighborhood radius ε is 0.01 and MinPts is 5, the OPTICS algorithm divides the training samples into 536 clusters, of which the noise cluster contains 2758 samples, and these samples are distributed in the entire training sample space. Without considering the noise cluster, the 535 clusters can be averaged to obtain a state matrix of size 535×6. If the noise samples are abandoned, the potential operation mode of the transformer will be ignored, and the reference significance of the theoretical value calculated by the intelligent early warning model will be weakened. To this end, the equal interval simplification method is used to further analyze the noise samples. In this experiment, the equal interval division refers to the form of [int(number of noise samples / 10)], where int(.) represents rounding. Taking the active power of the transformer as the benchmark, after simplified calculation, 179 operation modes are finally extracted from 276 equal intervals. The 179 operation modes are used as a supplement to the state matrix and spliced ​​into the state matrix.

[0114] By extracting the transformer operation mode using the OPTICS algorithm and the equal interval simplification method, a total of 724 state vectors can be obtained, that is, 724 transformer operation modes are refined from the original 12,000 samples. Based on the above state matrix, the test samples are calculated and analyzed, and each test sample can obtain a state vector with the minimum spatial distance from it, which is used as the theoretical value of the test sample. Figure 2 and Figure 3 The actual and theoretical values ​​of the two parameters, the left temperature of the main transformer and the right temperature of the main transformer, are shown respectively. Figure 2 and Figure 3 In the experiment, the actual value and the theoretical value can match each other, no matter how complex the temperature changes are, they can match each other in the end.

[0115] A transformer temperature abnormality warning system based on clustering algorithm includes a sampling unit, a normalization unit, a state matrix construction unit, a noise sample processing unit, a state matrix reorganization unit and a warning evaluation unit;

[0116] The sampling unit collects a state parameter data group of the transformer at intervals as a sampling sample, wherein the state parameter data group is an array composed of various state parameters, and the sampling sample is used as a training sample for building a model;

[0117] Normalization unit training sample normalization processing;

[0118] The state matrix construction unit uses the OPTICS clustering algorithm to construct the state matrix of the intelligent early warning model;

[0119] The noise sample processing unit processes the noise sample Z using an equal spacing simplification method;

[0120] The normalization unit working process specifically includes the following steps:

[0121] The training samples are normalized and the original data in the training samples are converted to the range of [0, 1]. The specific processing formula is formula (1):

[0122]

[0123] x ij represents the jth state parameter of the state parameter data set at the i-th moment in the training sample, n is the number of state parameters, and m is the number of state parameter data sets in the training sample; in this embodiment, n=6, x ij * represents the normalized value of the jth state parameter of the state parameter data set at the i-th moment in the training sample; x j_max represents the maximum value of the jth state parameter in the training sample; x j_min Represents the minimum value of the j-th state parameter in the training sample;

[0124] The normalized training sample is X = [X1, X2, ...X i , …, X m ], X i =[x i1 * , x i2 * , …x ij * , …, x in * ], the training samples include m groups of samples, and each sample includes n state parameters.

[0125] The working process of the state matrix construction unit specifically includes the following steps:

[0126] The OPTICS clustering algorithm is used to build an intelligent early warning model. The neighborhood radius ε and the minimum number of points MinPts are set. The normalized training samples are input into the OPTICS clustering algorithm to obtain the clustering results and noise samples Z. After clustering by the OPTICS algorithm, the clustering result is that the valid samples are divided into K clusters. Each valid sample is accompanied by a label of the cluster to which it belongs. The valid samples represent the remaining samples after the normalized training samples X are removed from the noise samples Z.

[0127] Based on the samples under each cluster, the average value of each cluster is calculated respectively. The average value calculation method of each cluster is as follows: the qth cluster is set to include Q samples, q = 1, 2...K, each sample consists of n state parameters, and the same state parameters in the Q samples are averaged to obtain a state vector of size 1×n. A state vector is used to represent an operating mode of the transformer, and the average value matrix H0 of size K×n corresponding to the K clusters is obtained, H0∈R K×n , H0∈RK ×n is a state matrix, each row vector in the state matrix represents an operating mode, indicating that the cluster result includes K different operating conditions of the transformer.

[0128] The equal spacing simplification method processes the noise sample Z and specifically includes the following steps:

[0129] 401) Set the expected number of clusters of noise sample Z including G operation modes as G; select any state parameter Z in noise sample Z j As a reference quantity, j = 1, 2, 3 ... n, the state parameter Z j The intervals are divided into G intervals with equal spacing, and each interval represents an operation mode by default;

[0130] 402) scattering all noise samples Z into corresponding intervals according to the reference amount;

[0131] 403) performing an average calculation for all noise samples in the same interval, wherein the result of the average calculation represents the operation mode;

[0132] 404) traverses different reference quantities and repeats steps 402)-403), obtains additional G operating modes of the transformer from the noise sample Z, and obtains a supplementary state matrix S∈R G×n .

[0133] The working process of the state matrix reorganization unit specifically includes the following steps:

[0134] The clustering algorithm obtains K operating modes in the training samples, and its state matrix is ​​H0∈R K×n , a total of G operating modes are obtained from the noise samples by the equal spacing division method, and the supplementary state matrix is ​​S∈R G×n , concatenate the state matrix H0 with the supplementary state matrix SS to form a new state matrix H, H∈R (K+G)×n .

[0135] The working process of the early warning assessment unit specifically includes the following steps:

[0136] The state parameter data group of the transformer is collected in real time as the real-time sample, and the spatial distance between the real-time sample and each row vector in the state matrix is ​​calculated respectively. The state vector with the smallest spatial distance is taken as the theoretical value of the real-time sample. The spatial distance is calculated using the Euclidean distance, and the formula is (2):

[0137]

[0138] Among them, x new represents real-time samples, h i Represents the i-th row vector in the state matrix H;

[0139] The operating mode vector y with the smallest Euclidean distance to the real-time sample is selected as the theoretical value of the real-time sample; the transformer temperature is determined to be abnormal by measuring the difference between the real-time sample and the theoretical value;

[0140] The difference between the real-time sample and the theoretical value is measured by the root mean square error in percentage, and the calculation formula is (3):

[0141]

[0142] Among them, RMSE represents the root mean square error in percentage, is the jth state parameter of the real-time sample, y j is the jth state parameter of the theoretical value;

[0143] When the RMSE value is less than 20%, it indicates that there is no abnormality in the transformer temperature; when the RMSE value is between or equal to 20%-40%, a first-level warning signal is triggered; when the RMSE value is greater than 40%, a second-level warning signal is triggered.

[0144] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0145] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0146] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.

[0147] Those skilled in the art will appreciate that the modules or units or groups of the devices in the examples disclosed herein may be arranged in the device as described in the embodiment, or alternatively may be located in one or more devices different from the devices in the example. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.

[0148] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or groups in the embodiments may be combined into one module or unit or group, and in addition they may be divided into a plurality of submodules or subunits or subgroups. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device so disclosed may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0149] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0150] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.

[0151] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or portions of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a floppy disk, a CD-ROM, a hard disk drive, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.

[0152] In the case where the program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code; the processor is configured to execute the method of the present invention according to the instructions in the program code stored in the memory.

[0153] By way of example and not limitation, computer readable media include computer storage media and communication media. Computer readable media include computer storage media and communication media. Computer storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and includes any information delivery medium. Any combination of the above is also included within the scope of computer readable media.

[0154] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.

[0155] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative, not restrictive, with respect to the scope of the present invention, which is defined by the appended claims.

Claims

1. A transformer temperature abnormality warning method based on clustering algorithm, characterized in that: The following steps are involved: S1, collecting a state parameter data group of the transformer at intervals as a sampling sample, wherein the state parameter data group is an array composed of various state parameters, and the sampling sample is used as a training sample for building a model; S2, normalization of training samples; S3, using OPTICS clustering algorithm to build an intelligent early warning model and construct a state matrix; S4, use the equal spacing simplification method to process the noise sample Z; S5, reorganized state matrix: S6, early warning assessment indicators; The equal spacing simplification method processes the noise sample Z and specifically includes the following steps: 401) Set the expected number of clusters of noise sample Z including G operation modes, i.e., noise sample Z, as G; select any state parameter Z in noise sample Z j As a reference quantity, j = 1, 2, 3L n, the state parameter Z j The intervals are divided into G intervals with equal spacing, and each interval represents an operation mode by default; 402) scattering all noise samples Z into corresponding intervals according to the reference amount; 403) performing an average calculation for all noise samples in the same interval, wherein the result of the average calculation represents the operation mode; 404) traverses different reference quantities and repeats steps 402)-403), obtains additional G operating modes of the transformer from the noise sample Z, and obtains a supplementary state matrix S∈R G×n ; The reorganization state matrix specifically includes the following steps The clustering algorithm obtains K operating modes in the training samples, and its state matrix is ​​H0∈R K×n , a total of G operating modes are obtained from the noise samples by the equal spacing division method, and the supplementary state matrix is ​​S∈R G×n , concatenate the state matrix H0 with the supplementary state matrix SS to form a new state matrix H, H∈R (K+G)×n ; Step S6 specifically includes the following steps: The state parameter data group of the transformer is collected in real time as the real-time sample, and the spatial distance between the real-time sample and each row vector in the state matrix is ​​calculated respectively. The state vector with the smallest spatial distance is taken as the theoretical value of the real-time sample. The spatial distance is calculated using the Euclidean distance, and the formula is (2): Among them, x new represents real-time samples, h i Represents the i-th row vector in the state matrix H; The operating mode vector y with the smallest Euclidean distance to the real-time sample is selected as the theoretical value of the real-time sample; and whether the transformer temperature is abnormal is determined by measuring the difference between the real-time sample and the theoretical value.

2. The transformer temperature abnormality early warning method based on clustering algorithm according to claim 1 is characterized in that: The training sample normalization process specifically includes the following steps: The training samples are normalized and the original data in the training samples are converted to the range of [0, 1]. The specific processing formula is formula (1): x ij represents the jth state parameter of the state parameter data set at the i-th moment in the training sample, n is the number of state parameters, and m is the number of state parameter data sets in the training sample; where n = 6, x ij * represents the normalized value of the jth state parameter of the state parameter data set at the i-th moment in the training sample; x j_max represents the maximum value of the jth state parameter in the training sample; x j_min Represents the minimum value of the j-th state parameter in the training sample; The normalized training sample is X = [X1, X2, ...X i , …, X m ], X i =[x i1 * , x i2 * , …x ij * , …, x in * ], the training samples include m groups of samples, and each sample includes n state parameters.

3. The transformer temperature abnormality early warning method based on clustering algorithm according to claim 2 is characterized in that: Step S3 specifically includes the following steps: The OPTICS clustering algorithm is used to build an intelligent early warning model. The neighborhood radius ε and the minimum number of points MinPts are set. The normalized training samples are input into the OPTICS clustering algorithm to obtain the clustering results and noise samples Z. After clustering by the OPTICS algorithm, the clustering result is that the valid samples are divided into K clusters. Each valid sample is accompanied by a label of the cluster to which it belongs. The valid samples represent the remaining samples after the normalized training samples X are removed from the noise samples Z. Based on the samples under each cluster, the average value of each cluster is calculated respectively. The average value calculation method of each cluster is as follows: the qth cluster is set to include Q samples, q = 1, 2...K, each sample consists of n state parameters, and the same state parameters in the Q samples are averaged to obtain a state vector of size 1×n. A state vector is used to represent an operating mode of the transformer, and the average value matrix H0 of size K×n corresponding to the K clusters is obtained, H0∈R K×n , H0∈R K×n is a state matrix, each row vector in the state matrix represents an operating mode, indicating that the cluster result includes K different operating conditions of the transformer.

4. The transformer temperature abnormality early warning method based on clustering algorithm according to claim 3 is characterized in that: n is equal to 6, that is, there are 6 state parameters of the transformer, namely, active power, water supply pressure, drainage pressure, oil level, main transformer left temperature, and main transformer right temperature; The neighborhood radius ε=0.01, and the minimum number of points MinPts is 4 to 10.

5. The transformer temperature abnormality early warning method based on clustering algorithm according to claim 1 is characterized in that: For the selection of the expected number G and the reference quantity in the equal spacing simplification method, the principles to be followed are: (1) The expected number G is less than or equal to but not greater than the sample number; (2) When setting several benchmark quantities, the expected value G is taken from large to small to simplify the original historical data; (3) The reference quantity should be a parameter that is closely related to the transformer operating conditions.

6. The transformer temperature abnormality early warning method based on clustering algorithm according to claim 1 is characterized in that: The following steps are involved: The difference between the real-time sample and the theoretical value is measured by the root mean square error in percentage, and the calculation formula is (3): Among them, RMSE represents the root mean square error in percentage, is the jth state parameter of the real-time sample, y j is the jth state parameter of the theoretical value; When the RMSE value is less than 20%, it indicates that there is no abnormality in the transformer temperature; when the RMSE value is between or equal to 20%-40%, a first-level warning signal is triggered; when the RMSE value is greater than 40%, a second-level warning signal is triggered.

7. A transformer temperature abnormality warning system based on clustering algorithm, characterized in that: include Sampling unit, normalization unit, state matrix construction unit, noise sample processing unit, state matrix reorganization unit and early warning assessment unit; The sampling unit collects a state parameter data group of the transformer at intervals as a sampling sample, wherein the state parameter data group is an array composed of various state parameters, and the sampling sample is used as a training sample for building a model; Normalization unit training sample normalization processing; The state matrix construction unit uses the OPTICS clustering algorithm to construct the state matrix of the intelligent early warning model; The noise sample processing unit processes the noise sample Z using an equal spacing simplification method; The normalization unit working process specifically includes the following steps: The training samples are normalized and the original data in the training samples are converted to the range of [0, 1]. The specific processing formula is formula (1): x ij represents the jth state parameter of the state parameter data set at the i-th moment in the training sample, n is the number of state parameters, and m is the number of state parameter data sets in the training sample; where n = 6, x ij * represents the normalized value of the jth state parameter of the state parameter data set at the i-th moment in the training sample; x j_max represents the maximum value of the jth state parameter in the training sample; x j_min Represents the minimum value of the j-th state parameter in the training sample; The normalized training sample is X = [X1, X2, ...X i , …, X m ], X i =[x i1 * , x i2 * , …x ij * ,···,x in * ], the training samples include m groups of samples, and each sample includes n state parameters; The working process of the state matrix construction unit specifically includes the following steps: The OPTICS clustering algorithm is used to build an intelligent early warning model. The neighborhood radius ε and the minimum number of points MinPts are set. The normalized training samples are input into the OPTICS clustering algorithm to obtain the clustering results and noise samples Z. After clustering by the OPTICS algorithm, the clustering result is that the valid samples are divided into K clusters. Each valid sample is accompanied by a label of the cluster to which it belongs. The valid samples represent the remaining samples after the normalized training samples X are removed from the noise samples Z. Based on the samples under each cluster, the average value of each cluster is calculated respectively. The average value calculation method of each cluster is as follows: the qth cluster is set to include Q samples, q = 1, 2...K, each sample consists of n state parameters, and the same state parameters in the Q samples are averaged to obtain a state vector of size 1×n. A state vector is used to represent an operating mode of the transformer, and the average value matrix H0 of size K×n corresponding to the K clusters is obtained, H0∈R K×n , H0∈R K×n is the state matrix, each row vector in the state matrix represents an operation mode, indicating that the cluster results include K different operating conditions of the transformer; The equal spacing simplification method processes the noise sample Z and specifically includes the following steps: 401) Set the expected number of clusters of noise sample Z including G operation modes, i.e., noise sample Z, as G; select any state parameter Z in noise sample Z j As a reference quantity, j = 1, 2, 3 ... n, the state parameter Z j The intervals are divided into G intervals with equal spacing, and each interval represents an operation mode by default; 402) scattering all noise samples Z into corresponding intervals according to the reference amount; 403) performing an average calculation for all noise samples in the same interval, wherein the result of the average calculation represents the operation mode; 404) traverses different reference quantities and repeats steps 402)-403), obtains additional G operating modes of the transformer from the noise sample Z, and obtains a supplementary state matrix S∈R G×n ; The working process of the state matrix reorganization unit specifically includes the following steps: The clustering algorithm obtains K operating modes in the training samples, and its state matrix is ​​H0∈R K×n , a total of G operating modes are obtained from the noise samples by the equal spacing division method, and the supplementary state matrix is ​​S∈R G×n , concatenate the state matrix H0 with the supplementary state matrix SS to form a new state matrix H, H∈R (K+G)×n ; The working process of the early warning assessment unit specifically includes the following steps: The state parameter data group of the transformer is collected in real time as the real-time sample, and the spatial distance between the real-time sample and each row vector in the state matrix is ​​calculated respectively. The state vector with the smallest spatial distance is taken as the theoretical value of the real-time sample. The spatial distance is calculated using the Euclidean distance, and the formula is (2): Among them, x new represents real-time samples, h i Represents the i-th row vector in the state matrix H; Select the operation mode vector y with the smallest Euclidean distance to the real-time sample as the theoretical value of the real-time sample; Determine whether the transformer temperature is abnormal by measuring the difference between the real-time sample and the theoretical value; The difference between the real-time sample and the theoretical value is measured by the root mean square error in percentage, and the calculation formula is (3): Among them, RMSE represents the root mean square error in percentage, is the jth state parameter of the real-time sample, y j is the jth state parameter of the theoretical value; When the RMSE value is less than 20%, it indicates that there is no abnormality in the transformer temperature; when the RMSE value is between or equal to 20%-40%, a first-level warning signal is triggered; when the RMSE value is greater than 40%, a second-level warning signal is triggered.

Citation Information

Patent Citations

  • Transformer state monitoring data anomaly detection method

    CN105512474A

  • Transformer working condition identification method based on Adaboost-SVM

    CN114970725A

  • Improved out-of-domain (OOD) detection techniques

    CN115398437A

  • Transformer oil temperature abnormity monitoring method based on density aggregation algorithm

    CN115905990A

  • Transformer monitoring system using dissolved gas analysis and partial discharge analysis techniques

    KR101731218B1