Hydroelectric generating set monitoring data cleaning method based on abnormal value detection

By combining CUSUM and DPC algorithms to identify and remove outliers in hydropower unit monitoring data, it solves the problem of poor data quality in harsh environments, improves data accuracy and reliability, and is suitable for large-scale data processing.

CN118673012APending Publication Date: 2024-09-20XIAN UNIV OF TECH

Patent Information

Application Number
CN202410855948.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In harsh environments such as humidity and strong electromagnetic fields, hydropower units are prone to missing data, outliers and small-scale deviations in the monitoring system, which affects the accuracy and reliability of data analysis.

Method used

The CUSUM algorithm and the DPC algorithm are combined to achieve effective data cleaning by identifying the cumulative deviation and local density of the data, marking and removing outliers in the monitoring data.

Benefits of technology

It improves the quality and reliability of data, is suitable for large-scale data processing, enhances the accuracy and reliability of status monitoring of hydropower units, and reduces the time and cost of manual cleaning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673012A
    Figure CN118673012A
Patent Text Reader

Abstract

The invention discloses a hydroelectric generating set monitoring data cleaning method based on abnormal value detection. The method specifically comprises the following steps: S1, collecting long-term operation monitoring data of a hydroelectric generating set; s2, performing preliminary analysis on the acquired monitoring data by adopting a CUSUM algorithm to obtain a feature vector; s3, identifying data discrete values in the feature vectors through a DPC algorithm, calculating local density and relative distance between data points, and determining and marking abnormal clusters; and S4, integrating a CUSUM algorithm and a DPC algorithm to identify abnormal values in the monitoring data, and removing the abnormal values. The method not only effectively removes abnormities and noise and improves data quality and reliability, but also is suitable for large-scale data processing, and has high practicability and wide adaptability in the field of hydroelectric generating set monitoring data cleaning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of hydropower unit state detection, and in particular relates to a hydropower unit monitoring data cleaning method based on abnormal value detection. Background Art

[0002] As the core equipment of hydropower stations, hydropower units play an important role as a link between hydraulic and electrical systems. Safe and stable operation is of great significance to the safety of power stations, personnel and the stability of power systems. Especially in the context of new power systems, the complementary multi-energy of water, wind and solar power makes the main risk source of hydropower operation expand from traditional uncertain runoff to high-dimensional uncertainty of runoff and meteorological factors of wind and solar power generation, which fundamentally increases the risk of hydropower operation. Under the trend of digital transformation, the current operation and maintenance mode of hydropower units is mainly "condition maintenance". In intelligent maintenance and operation and maintenance, how to accurately reflect the real operating status of the unit is crucial. At present, hydropower units have established and improved computer monitoring systems, which have laid a data foundation for intelligent management of units, but still face many difficulties and challenges. Due to the long-term operation of units in harsh environments such as humidity and strong electromagnetics, the monitoring system is prone to data anomalies such as missing, outliers and small-scale offsets, which limits the accuracy and reliability of subsequent data analysis. Therefore, studying effective hydropower unit condition monitoring data cleaning methods is of great significance to improving the health status assessment of units. Summary of the invention

[0003] The purpose of the present invention is to provide a method for cleaning monitoring data of a hydropower unit based on outlier detection, which solves the technical problem that the monitoring system is prone to missing, outliers and small-scale deviations due to the long-term operation of the unit in harsh environments such as humidity and strong electromagnetic fields.

[0004] The technical solution adopted by the present invention is a method for cleaning monitoring data of a hydropower unit based on abnormal value detection, which specifically includes the following steps:

[0005] S1, collect long-term operation monitoring data of hydropower units;

[0006] S2, using the CUSUM algorithm to perform preliminary analysis on the collected monitoring data to obtain the feature vector;

[0007] S3, using the DPC algorithm to identify discrete values ​​of data in the feature vector, calculate the local density and relative distance between data points, and determine and mark abnormal clusters;

[0008] S4, integrates the CUSUM algorithm and the DPC algorithm to identify and remove outliers in the monitoring data.

[0009] The present invention is also characterized in that:

[0010] S2 is specifically as follows: determine the control parameters and reference values, initialize the parameters, and set S + (m) = 0, S - (m) = 0, and the sudden abnormal values ​​in the monitoring data are identified by calculating the cumulative deviation of the data points relative to the process target value or baseline.

[0011] The cumulative deviation is calculated as shown in equations (1) and (2):

[0012] S + (m)=max(0,X m -d c -K+S + (m-1)) (1)

[0013] S - (m)=min(0,X m -d c +K+S - (m-1)) (2)

[0014] In formula (1) and formula (2), S + (m) is the upper limit cumulative sum, S - (m) is the lower limit cumulative sum, X m To determine the control parameters, K is to determine the control parameters, d c is the reference value.

[0015] The local density and relative distance are calculated in S3 as shown in equations (3) and (4):

[0016]

[0017] In formula (3): i is the relative density of point i in its neighborhood; j is the current calculation point; d ij is the distance between point i and point j; d c is the cutoff distance, which is used to define the size of the local neighborhood; χ(x) is an indicator function. When x<0, χ(x) takes 1, otherwise χ(x) takes 0, which is used to count the number of c Points within range;

[0018]

[0019] In formula (4): i is the relative density of point i in its neighborhood; ρ j is the relative density of point j in its neighborhood; d ij is the minimum distance required for point i to reach other points with higher density.

[0020] S3 is specifically: Calculate the local density ρ of each data point iand the minimum distance δ to a point with higher density i , and ρ i and δ i Draw it in a two-dimensional coordinate system, build a decision diagram, and then determine the cluster center based on the density peak point in the decision diagram. Finally, according to the cluster center, assign the data points to the corresponding clusters to complete the cluster analysis, identify the density peak point and cluster center, and confirm the abnormal clustering.

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

[0022] The present invention uses the Cumulative Sum (CUSUM) algorithm to identify the positive and negative deviations of the data, and adopts the Density Peak Clustering (DPC) algorithm to aggregate key feature vectors, identify density peaks and cluster centers, and then combine the CUSUM analysis and DPC clustering results to accurately identify the outliers in the data, and finally, remove the marked abnormal data points. It not only effectively removes anomalies and noise, improves data quality and reliability, but is also suitable for large-scale data processing, and has high practicality and wide adaptability in the field of hydropower unit monitoring data cleaning. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of a method for cleaning monitoring data of a hydropower unit based on abnormal value detection according to the present invention;

[0024] Figure 2 It is a data cleaning process diagram of the CUSUM-DPC algorithm in the hydropower unit monitoring data cleaning method based on outlier detection of the present invention. DETAILED DESCRIPTION

[0025] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0026] Example 1

[0027] like Figure 1-2 As shown, Figure 1 and Figure 2 As shown, the present invention aims at the problem that the traditional power system abnormal data processing method is inefficient and difficult to process large-scale data, and discloses a hydropower unit monitoring data cleaning method based on abnormal value detection, which specifically includes the following steps:

[0028] S1, collect long-term operation monitoring data of hydropower units;

[0029] Due to the complex operating environment of the hydropower unit under the coupling of the long-term water-machine-electrical multi-physical field, the monitoring signal faces multiple interferences, and the hydropower unit is responsible for peak load and frequency regulation, and the operating conditions are changeable, which also leads to fluctuations in the monitoring data. Taking the X-direction swing data of the upper conductor of the hydropower unit as an example, in order to obtain the long-term operation law of the unit, the data point interval is collected for two minutes and exported to obtain the X-direction swing data of the upper conductor of the unit.

[0030] S2, using the CUSUM algorithm to perform preliminary analysis on the collected monitoring data, mainly to identify the mutation anomalies in the monitoring data, and obtain the feature vector, which is the calculation result of the traversal data points of formula (1) and formula (2);

[0031] S3, the DPC algorithm is used to identify the discrete values ​​of the data in the feature vector, calculate the local density and relative distance between data points, and determine and mark abnormal clusters; the local density and relative distance parameters are mainly used to identify the cluster center and boundary, and different data sets are artificially set based on prior knowledge.

[0032] S4, integrating the CUSUM algorithm and the DPC algorithm to identify and remove outliers in the monitoring data, that is, according to the labels of the data points by the CUSUM algorithm and the DPC algorithm, take their collection and delete the data whose labels are outliers after integration to improve the accuracy and reliability of the data.

[0033] The present invention combines the sensitivity of the CUSUM algorithm and the cluster analysis capability of the DPC algorithm, and realizes efficient detection of small changes and abnormal patterns in time series data; the cleaned model data can be used for analysis and decision-making in multiple fields such as hydropower unit status assessment, prediction, and optimization, which helps to improve the accuracy and precision of decision-making. For example, using the cleaned data to diagnose faults in hydropower units can improve the accuracy and rapid responsiveness of fault diagnosis. And because of the high efficiency and accuracy of the abnormal data cleaning algorithm, it can greatly reduce the time and cost of manual data cleaning, avoiding the situation where traditional data cleaning methods need to invest a lot of manpower; the abnormal data cleaning algorithm can effectively remove abnormal points in the hydropower unit monitoring system and improve the accuracy and reliability of the data. The cleaned data can more accurately reflect the operating status of the hydropower unit, help monitor the health status of the system in real time, discover potential problems in a timely manner, and take corresponding measures to maintain the stable operation of the hydropower unit.

[0034] Example 2

[0035] Based on Example 1, S2 specifically includes: using the CUSUM algorithm to analyze the monitoring data of the hydropower unit to determine the control parameter K and the reference value d c , parameter K determines the sensitivity, initialization parameters, let S + (m) = 0, S- (m) = 0, and by calculating the cumulative deviation of the data points relative to the process target value or baseline, sensitive detection of system performance changes can be achieved, thereby identifying sudden abnormal values ​​in the monitoring data.

[0036] The specific CUSUM algorithm first checks the integrity of the data, removes obvious erroneous readings or missing values, and calculates the cumulative value of positive and negative deviations at each time point: As a state representation of time series data, the vector effectively captures the changing trend of the data, thereby identifying and marking abnormal values ​​that continuously change in the monitoring data.

[0037] Furthermore, the cumulative deviation is calculated as shown in equations (1) and (2):

[0038] S + (m)=max(0,X m -d c -K+S + (m-1)) (1)

[0039] S - (m)=min(0,X m -d c +K+S - (m-1)) (2)

[0040] In formula (1) and formula (2), S + (m) is the upper limit cumulative sum, S - (m) is the lower limit cumulative sum, X m To determine the control parameters, K is to determine the control parameters, d c is the reference value. m When the difference between the control parameter K and the reference value dc is large enough, S + (m) accumulates this difference and resets it to zero if it is less than zero. This method can help identify upward trend anomalies in the data. - (m) is used to detect negative deviation or decline. This means that when the data is lower than the parameter K and the reference value dc, S - (m) will accumulate this decline and reset to zero if the result is greater than zero, which helps identify downward trend anomalies in the data.

[0041] Example 3

[0042] Based on Example 2, S3 is specifically: transform the feature vector The vector is used as input and the DPC algorithm is applied for further analysis. The DPC algorithm is based on the local density ρ of each point. i and its minimum distance δ to a point with higher density iTo identify cluster centers and boundaries, S + (m) and S - (m) is used as an input feature to calculate the local density of each point. The local density of a point may be based on the distance S from other points. + (m) and S - The similarity or difference of (m) values ​​is calculated to identify dense areas or sparse areas. The local density and relative distance are calculated in S3 as shown in formula (3) and formula (4):

[0043]

[0044] In formula (3): i is the relative density of point i in its neighborhood; j is the current calculation point, d ij is the distance between point i and point j; d c is the cutoff distance, which is used to define the size of the local neighborhood; χ(x) is an indicator function. When x<0, χ(x) takes 1, otherwise χ(x) takes 0, which is used to count the number of c Points within range;

[0045]

[0046] In formula (4): i is the relative density of point i in its neighborhood; ρ j is the relative density of point j in its neighborhood, d ij is the minimum distance required for point i to reach other points with higher density.

[0047] Furthermore, the local density ρ of each data point is calculated based on the DPC algorithm. i and the minimum distance δ to a point with higher density i , and ρ i and δ i Draw in a two-dimensional coordinate system, build a decision diagram, and then determine the cluster center based on the density peak point in the decision diagram. Finally, according to the cluster center, assign the data points to the corresponding clusters to complete the cluster analysis. By combining the trend characteristics extracted by the CUSUM algorithm and the cluster analysis capabilities of the DPC algorithm, and iterating, all potential outliers are identified. Further optimize the algorithm and calculate the deviation d of all corrected data points i , and find the minimum value as a new reference threshold δ i =min(d i), so that possible abnormal changes can be captured more sensitively. This method not only utilizes the sensitivity of the CUSUM algorithm in capturing data change trends, but also accurately identifies abnormal points in complex data distribution through the clustering analysis mechanism of the DPC algorithm. Specifically, it is as follows: 1. Perform CUSUM analysis on time series data, extract the cumulative values ​​of positive and negative deviations, and construct feature vectors; 2. Apply the DPC algorithm to perform cluster analysis on feature vectors to identify density peak points and cluster centers; 3. Combine the results of CUSUM and DPC to determine abnormal patterns and mark abnormal data points; 4. Provide a data basis for performance analysis of hydropower units based on the marked abnormal points.

[0048] The present invention aims at the problem of low efficiency and difficulty in processing large-scale data sets in the monitoring data processing of hydropower units, and optimizes the data cleaning process by combining the cumulative sum algorithm (CUSUM) and the density peak clustering algorithm (DPC). The method first identifies the mutation anomaly in the data through the CUSUM algorithm, and quickly marks the data points that exceed the predetermined threshold. Subsequently, the DPC algorithm is used to analyze the outliers in the monitoring data, evaluate the local density and relative distance between the data points, and accurately mark the abnormal clusters. Through this algorithm combination, the outliers in the monitoring data can be effectively integrated and cleared, and the accuracy and availability of the data can be significantly improved. The method is highly feasible and applicable in cleaning outliers in the monitoring data of hydropower units.

[0049] The core technology of the present invention is to combine the cumulative sum algorithm with the density clustering algorithm to achieve effective cleaning of the monitoring data of the hydropower unit. The algorithm has high accuracy and reliability and can improve the efficiency and accuracy of the processing and analysis of the monitoring data of the hydropower unit.

Claims

1. A method for cleaning monitoring data of hydropower units based on outlier detection, characterized in that: The specific steps include: S1, collect long-term operation monitoring data of hydropower units; S2, using the CUSUM algorithm to perform preliminary analysis on the collected monitoring data to obtain the feature vector; S3, using the DPC algorithm to identify discrete values ​​of data in the feature vector, calculate the local density and relative distance between data points, and determine and mark abnormal clusters; S4, integrates the CUSUM algorithm and the DPC algorithm to identify and remove outliers in the monitoring data.

2. The method for cleaning monitoring data of a hydropower unit based on abnormal value detection according to claim 1 is characterized in that: The S2 is specifically as follows: determining control parameters and reference values, initializing parameters, and setting S + (m) = 0, S - (m) = 0, and the sudden abnormal values ​​in the monitoring data are identified by calculating the cumulative deviation of the data points relative to the process target value or baseline.

3. The method for cleaning monitoring data of a hydropower unit based on abnormal value detection according to claim 2 is characterized in that: The cumulative deviation is calculated as shown in formula (1) and formula (2): S + (m)=max(0,X m -d c -K+S + (m-1)) (1) S - (m)=min(0,X m -d c +K+S - (m-1)) (2) In formula (1) and formula (2), S + (m) is the upper limit cumulative sum, S - (m) is the lower limit cumulative sum, X m To determine the control parameters, K is to determine the control parameters, d c is the reference value.

4. The method for cleaning monitoring data of a hydropower unit based on abnormal value detection according to claim 3 is characterized in that: The local density and relative distance are calculated in S3 as shown in formula (3) and formula (4): In formula (3): i is the relative density of point i in its neighborhood; j is the current calculation point; d ij is the distance between point i and point j; d c is the cutoff distance, which is used to define the size of the local neighborhood; χ(x) is an indicator function. When x<0, χ(x) takes 1, otherwise χ(x) takes 0, which is used to count the number of c Points within range; In formula (4): i is the relative density of point i in its neighborhood; ρ j is the relative density of point j in its neighborhood; d ij is the minimum distance required for point i to reach other points with higher density.

5. The method for cleaning monitoring data of a hydropower unit based on abnormal value detection according to claim 4 is characterized in that: The S3 is specifically as follows: calculating the local density ρ of each data point i and the minimum distance δ to a point with higher density i , and ρ i and δ i Draw it in a two-dimensional coordinate system, build a decision diagram, and then determine the cluster center based on the density peak point in the decision diagram. Finally, according to the cluster center, assign the data points to the corresponding clusters to complete the cluster analysis, identify the density peak point and cluster center, and confirm the abnormal clustering.

Citation Information

Patent Citations

  • DPC-based method and system for detecting abnormality of multi-door system of rail vehicle

    CN109374318A

  • Transformer monitoring data abnormal value detection and cleaning method and device

    CN112527788A

  • Abnormal data detection and monitoring method based on CUSUM type change point statistics

    CN115795285A

  • Hydroelectric generating set state monitoring data cleaning method and device and electronic equipment

    CN117574055A

  • Improved non-intrusive appliance load monitoring method and device

    WO2016141978A1

Cited By

  • A method and system for monitoring vehicle driving status based on big data

    CN120293261B