High-voltage line operation state identification method based on LOF algorithm

By combining the LOF algorithm with the ML and Isolated Forest algorithms, it solves the problems of accuracy deviation and abnormal identification of high-voltage cable operating status in the existing technology, achieves accurate identification and abnormal detection of high-voltage cables, and improves the identification accuracy.

CN118568620APending Publication Date: 2024-08-30BEIJING SHUNYI LIYUAN POWER SUPPLY ENG INSTALLATION CO +1

Patent Information

Application Number
CN202410479747.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When the existing technology determines the operating status of high-voltage cables, the unilateral use of characteristic factors leads to deviations in prediction accuracy, and it is difficult to establish an abnormal identification model for the operating status of high-voltage lines under high-quality monitoring.

Method used

A high-voltage cable line operating status identification method based on the LOF algorithm is used to collect data through a variety of sensors for cleaning and dimensionality reduction. The LOF, ML algorithm, and isolated forest algorithm are combined to identify the high-voltage line operating status in real time. LOF is used to identify a very small amount of abnormal data. advantages.

Benefits of technology

It achieves accurate identification of the operating status of high-voltage cables without pre-defining the number of abnormal points. It can detect outliers and local anomalies with uneven density distribution, improving the accuracy of identification of abnormal high-voltage cables.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568620A
    Figure CN118568620A
Patent Text Reader

Abstract

The invention discloses a high-voltage line operation state identification method based on an LOF algorithm, and belongs to the technical field of power system application management. Operation data of a plurality of high-voltage cables are collected through various types of sensors; the method comprises the following steps: firstly, cleaning and detecting collected data and processing missing values, abnormal values and error values in the data; secondly, carrying out data standardization; and finally carrying out dimension reduction on the high-dimensional data. Taking the state data of each cable in the dimensionality-reduced data as a data point to carry out LOF calculation; an LOF algorithm is combined with an ML algorithm and an isolated forest algorithm, and the operation state of the high-voltage line is recognized; and counting the operation state of the high-voltage line. According to the method, the outliers with non-uniform density distribution can be detected without pre-defining the number of the abnormal points; in addition, local characteristics of the data points are considered, so that local abnormity can be found, and the identification accuracy of the abnormal high-voltage cable is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system application management, and in particular to a method for identifying the operating state of a high-voltage line based on a LOF algorithm. Background Art

[0002] Since 2019, researchers have been exploring the feasibility of using the induced voltage of the cable outer sheath as a parameter feature for fault diagnosis to evaluate the feasibility of online monitoring technology for 500kV high-voltage cables. Tests conducted at the Ertan Power Station showed potential application prospects. Jiangsu Electric Power Co., Ltd. recognized the importance of identifying the type of partial discharge in the cable for monitoring the operating status of the cable and extending the life of the cable, and developed a method based on TF clustering and PRPD spectrum analysis, which can effectively identify different types of partial discharges, including single partial discharge sources and mixed partial discharge sources. Shanghai Electric Power Company designed an evaluation strategy for the operation monitoring results of high-voltage cables, and established a new evaluation index system by analyzing and classifying the operation status evaluation indicators. China Electric Power Research Institute has established a status assessment platform based on operation data analysis to preliminarily assess the degree of cable aging and make corresponding recommendations based on the evaluation results.

[0003] During normal operation, power cables are affected by factors such as electricity, heat, mechanics, environment, defects left by installation and maintenance, and insulation degradation occurs, usually partial discharge. Partial discharge will further aggravate the degradation of cable insulation materials. Long-term vicious cycle will greatly shorten the life of the cable and even cause safety operation accidents. Since unilateral characteristic factors are always used as predictions when judging the operating status of high-voltage cables, the characteristic information is relatively one-sided, resulting in deviations in the prediction accuracy of the characteristic information sent to the algorithm implementation. Secondly, under the current high-quality monitoring grid requirements of the State Grid, the operating status of high-voltage lines is extremely rare, and it is extremely difficult to establish an abnormal recognition model using typical machine learning algorithms. In view of this situation, it is necessary to construct a high-voltage cable line operating status recognition model based on the LOF algorithm on the basis of abnormal feature extraction, make full use of the nonlinear bridging ability of the machine learning algorithm and the advantages of the LOF algorithm in identifying extremely small amounts of abnormal data, and identify the operating status of high-voltage cables in real time, so as to realize real-time recognition of the operating status of high-voltage lines. Summary of the invention

[0004] The purpose of the present invention is to propose a method for identifying the operating status of a high-voltage line based on a LOF algorithm, comprising the following steps:

[0005] Step 1: Collect the operating data of multiple high-voltage cables through multiple types of sensors within a specific time range;

[0006] Step 2: First, clean and detect the data collected in step 1 and process missing values, outliers and erroneous values ​​in the data to ensure data quality; secondly, standardize the data to ensure that the data features have similar numerical ranges; finally, reduce the dimensionality of high-dimensional data to reduce computational complexity;

[0007] Step 3: LOF calculation is performed on the status data of each cable in the data whose dimension has been reduced in step 2 as a data point;

[0008] Step 4: Combine the LOF algorithm with the ML algorithm and the isolation forest algorithm to identify the operating status of the high-voltage line;

[0009] Step 5: Count the operating status of the high-voltage line.

[0010] The operating data in step 1 include: temperature, humidity, cable sheath induced voltage, cable load, tower inclination, tower corrosion damage, insulator damage data, ground wire sag data, ground resistance value, and ground body burial depth data.

[0011] Step 4 specifically includes the following sub-steps:

[0012] Step 41: Determine the maximum tree height and the number of isolated forests in the isolation forest algorithm;

[0013] Step 42: Using the obtained LOF data as the root node of the isolation tree;

[0014] Step 43: Based on step 41 and step 42, the isolation forest algorithm is used to detect the data and establish a tree structure in combination with the root node;

[0015] Step 44: Use the LOF result of each isolated tree as the branch discrimination criterion of the isolation forest;

[0016] Step 45: Divide the data space into two subspaces, and on this basis, repeat steps 43 and 44 to construct new leaf nodes until each leaf node has only one data or reaches a preset tree height threshold.

[0017] The branching criteria in step 44 are:

[0018] LOF results greater than or equal to 1 are preliminarily identified as having potential abnormal attributes and are assigned to the left branch; those less than 1 are considered normal values ​​and are assigned to the right branch.

[0019] Step 5 is as follows:

[0020] First, the tree height status of each isolated tree is counted, and the average path length of each data point in each tree is calculated; then, the average path length of each data point is calculated, and the average path length is standardized and divided by the average path length of the sample data set; finally, a threshold is set to determine whether the data point is abnormal, and the data points exceeding the threshold are considered outliers.

[0021] The beneficial effects of the present invention are:

[0022] The present invention adopts the method of combining LOF with ML to identify the status of high-voltage cables. It can detect outliers with uneven density distribution without pre-defining the number of abnormal points. In addition, the local characteristics of data points are taken into account, local anomalies can be discovered, and the accuracy of identifying abnormal high-voltage cables is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 The figure is a flow chart of a method for identifying the operating status of a high voltage line based on the LOF algorithm of the present invention. DETAILED DESCRIPTION

[0024] The present invention proposes a method for identifying the operating status of a high-voltage line based on a LOF algorithm, which will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0025] Figure 1 The flowchart of the method for identifying the operating status of a high-voltage line based on the LOF algorithm of the present invention is as follows:

[0026] 1. Data Collection

[0027] Select the data of m cables at a certain moment.

[0028] First, the temperature and humidity data obtained by the sensor are collected. Each cable collects two data: temperature T and humidity H.

[0029] Then, the cable outer sheath induced voltage data V and the cable load data L are obtained through the line.

[0030] Next, the detector is used to obtain the tower tilt data A, tower corrosion damage data R, insulator damage data I, ground wire sag data S, ground resistance value G, and ground body burial depth data D.

[0031] For each state data, a weight is set according to its importance and influence to obtain the weight matrix Y.

[0032] Y=w1×T+w2×H+w3×V+w4×L+w5×A+w6×R+w7×I+w8×S+w9×G+w10×D

[0033] Among them, w1~w10 are corresponding weight parameters.

[0034] 2. Data processing

[0035] According to the above concatenation formula, all data are added according to the weights to obtain a high-dimensional data matrix with a shape of [m,n], where n is the number of cable parameters and m is the number of cables. The collected data is preprocessed and first cleaned. Due to sensor stability issues, there may be empty data, which affects the final results. The empty data is cleaned out of the data set to obtain better results. The data is then subjected to PCA dimensionality reduction to make the data more suitable for the LOF algorithm. First, the raw data is standardized to ensure that the mean of each feature is 0 and the standard deviation is 1. This eliminates the impact of different scales on PCA and ensures that all features have the same importance. The standardization formula is as follows:

[0036]

[0037] In the formula, x′ i is the standardized feature, x i is the original eigenvalue, μ i is the mean of the eigenvalues, σ i is the standard deviation of the standard value.

[0038] Next, we calculate the covariance matrix of the standardized data. The covariance matrix measures the correlation between different features. The covariance matrix formula is as follows:

[0039]

[0040] In the above formula, X is the matrix containing all the standardized samples, x i is the i-th sample after standardization, is the mean vector of all samples.

[0041] Perform eigenvalue decomposition on the covariance matrix to obtain eigenvalues ​​and corresponding eigenvectors. The eigenvectors describe the main directions of the data, and the eigenvalues ​​represent the variance of the data in these directions. According to the size of the eigenvalues, select the eigenvectors corresponding to the first k eigenvalues ​​as the principal components to form a projection matrix. Multiply the standardized data by the projection matrix to obtain the reduced-dimensional data. The projection formula is as follows:

[0042] X new =X·W

[0043] X in the formula new is the data after dimensionality reduction, and W is the selected eigenvector that constitutes the projection matrix.

[0044] Reduce the high-dimensional data of [m,n] to the low-dimensional data of [m,n1], where n1 is the dimension of the data after dimensionality reduction, and n1 is much smaller than n.

[0045] 3. Main model LOF calculation

[0046] For the reduced-dimensional data [m, n1], the state data [1, n1] of each cable is used as a data point to calculate the LOF. For each data point, the distance between it and its neighboring data points is calculated, and the neighboring points are found within the specified radius. Then, the average distance of these neighboring points is calculated as the local reachability density of the data point.

[0047] Calculate the Local Outlier Factor: For each data point, calculate the average of the local reachable density of its neighboring points. Then, compare the local reachable density of the point with the local average of the neighboring points to get the local outlier factor, which represents the ratio of the density of the neighboring points of the point to the density of the neighboring points of other points.

[0048] Identify outliers: For each data point, calculate its local anomaly factor. If the local anomaly factor is high, it means that the density of neighboring points of this point is low and it may be an outlier.

[0049] The LOF algorithm will obtain the data of [m,1] and obtain the outlier factor for the data of each cable segment.

[0050] 4. Combine the LOF algorithm with the ML algorithm and the isolation forest algorithm to identify the operating status of high-voltage lines

[0051] Step 1: Determine the maximum tree height in the isolation forest algorithm as log(m) and the number of isolated forests as v;

[0052] Step 2: Set the root node; use the obtained LOF data as the root node of the isolation tree;

[0053] Step 3: Based on the first two steps, the isolation forest algorithm is used to detect the data and combine it with the root node to establish a tree structure;

[0054] Step 4: Use the LOF result of each isolated tree as the branch discrimination criterion of the isolation forest; LOF results greater than or equal to 1 are preliminarily identified as having potential abnormal attributes and are divided into the left branch; LOF results less than 1 are considered normal values ​​and are divided into the right branch;

[0055] Step 5: Perform data branching according to the branching result of step 4. This process divides the data space into two subspaces, and repeats steps 3 and 4 on this basis to construct new leaf nodes until each leaf node has only one data or reaches the preset tree height threshold log(m).

[0056] 5. Statistics on the operating status of high-voltage lines

[0057] Count the tree height status of each isolated tree, let L ij represents the average length of data point i in the jth isolated tree, Represents the average path length of data point i in all isolated trees.

[0058] Calculate the average path length of each data point in each tree, where d ik is the path length from data point i to the kth sample in the tree.

[0059]

[0060] Next, calculate the average path length for each data point

[0061]

[0062] The average path length is normalized by dividing it by the average path length of the sample data set. μ is the average path length of the sample data set, and σ is the standard deviation of the average path length of the sample data set.

[0063]

[0064] Set a threshold w to determine whether a data point is abnormal. Data points exceeding w are considered outliers, and Z i is the anomaly score of data point i.

[0065] In summary, the present invention adopts the method of combining LOF with ML to identify the status of high-voltage cables. It does not need to predefine the number of abnormal points and can detect outliers with uneven density distribution. It also takes into account the local characteristics of data points and can discover local anomalies, thereby improving the accuracy of identifying abnormal high-voltage cables.

Claims

1. A method for identifying the operating status of a high-voltage line based on a LOF algorithm, characterized in that: The following steps are involved: Step 1: Collect the operating data of multiple high-voltage cables through multiple types of sensors within a specific time range; Step 2: First, clean and detect the data collected in step 1 and process missing values, outliers and erroneous values ​​in the data to ensure data quality; secondly, standardize the data to ensure that the data features have similar numerical ranges; finally, reduce the dimensionality of high-dimensional data to reduce computational complexity; Step 3: LOF calculation is performed on the status data of each cable in the data whose dimension has been reduced in step 2 as a data point; Step 4: Combine the LOF algorithm with the ML algorithm and the isolation forest algorithm to identify the operating status of the high-voltage line; Step 5: Count the operating status of the high-voltage line.

2. The high-voltage line operation status identification method based on the LOF algorithm according to claim 1 is characterized in that: The operation data in step 1 include: temperature, humidity, cable outer sheath induced voltage, cable load, tower inclination, tower corrosion damage, insulator damage data, ground wire sag data, ground resistance value, and ground body burial depth data.

3. The high-voltage line operation status identification method based on the LOF algorithm according to claim 1 is characterized in that: The step 4 specifically includes the following sub-steps: Step 41: Determine the maximum tree height and the number of isolated forests in the isolation forest algorithm; Step 42: Using the obtained LOF data as the root node of the isolation tree; Step 43: Based on step 41 and step 42, the isolation forest algorithm is used to detect the data and establish a tree structure in combination with the root node; Step 44: Use the LOF result of each isolated tree as the branch discrimination criterion of the isolation forest; Step 45: Divide the data space into two subspaces, and on this basis, repeat steps 43 and 44 to construct new leaf nodes until each leaf node has only one data or reaches a preset tree height threshold.

4. The high-voltage line operation status identification method based on the LOF algorithm according to claim 3 is characterized in that: The branch discrimination criteria in step 44 are: LOF results greater than or equal to 1 are preliminarily identified as having potential abnormal attributes and are assigned to the left branch; those less than 1 are considered normal values ​​and are assigned to the right branch.

5. The high-voltage line operation status identification method based on the LOF algorithm according to claim 4 is characterized in that: The step 5 is specifically as follows: First, the tree height status of each isolated tree is counted, and the average path length of each data point in each tree is calculated; then, the average path length of each data point is calculated, and the average path length is standardized and divided by the average path length of the sample data set; finally, a threshold is set to determine whether the data point is abnormal, and the data points exceeding the threshold are considered outliers.

Citation Information

Patent Citations

  • Special transformer industry missort identification method based on power utilization characteristics and outlier detection

    CN111861785A

  • Time series data anomaly monitoring system and method based on LOF and isolated forest

    CN115577275A

  • Power load prediction method and system, storage medium and equipment

    CN116365519A

  • Abnormal data identification and correction method for electrical load of high-voltage industrial and commercial users

    CN116821832A

  • Substation secondary circuit on-line state monitoring and abnormity diagnosis method

    CN117148229A

Cited By

  • Cable conductor resistance detection method and system applied to cable production line

    CN118759230A

  • Wind turbine generator abnormity early warning method and system based on artificial intelligence

    CN119128776A

  • A method for monitoring the operating status of an engine thermal test device

    CN119782868A

  • A method for monitoring the operating status of an engine thermal test device

    CN119782868B

  • SIP-LOF-based observation data anomaly identification method

    CN119848713A