A method and system for cleaning temperature data of a wind turbine inverter
By using edge elimination and variance change point cleaning methods in wind turbine inverter temperature data, the problem of insufficient versatility in abnormal data processing in the existing technology is solved, accurate cleaning and identification of temperature data is achieved, and equipment efficiency is improved. Accuracy of health assessment and fault diagnosis.
Patent Information
- Application Number
- CN202111187610.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-10-12
AI Technical Summary
Existing technology contains a large amount of abnormal data in wind turbine inverter temperature data monitoring. Traditional data cleaning methods are not very versatile and difficult to effectively identify and filter correct temperature information, affecting equipment health evaluation and fault diagnosis.
A temperature data cleaning method based on edge elimination and variance change points is used to clean abnormal data in three steps: first, the temperature over-limit points are processed, then the improved Raida criterion is used to identify large-scale outliers, and finally the variance change point method is used Remove remaining outliers and accumulated data to achieve effective temperature data extraction.
It achieves effective cleaning of inverter temperature data, has a low effective data deletion rate, has strong versatility, does not need to rely on historical data for pre-training, and can accurately identify and remove different types of abnormal data.
Smart Images

Figure CN113918552B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wind power generation, and in particular to a method and system for cleaning temperature data of a frequency converter of a wind turbine generator set. Background Art
[0002] The inverter of a wind turbine is a key energy conversion device of a wind turbine. During the operation of the unit, the inverter switches on and off frequently, and the monitoring temperature becomes a parameter that can directly reflect the status of the equipment. However, there are a lot of abnormal data in the data obtained by monitoring through the SCADA system. The traditional data cleaning method is not universal. It is not only difficult to achieve classification and identification, but also likely to filter out the valid data that correctly reflects the temperature information of the equipment, which is not conducive to the subsequent analysis work. Therefore, the effective cleaning of the inverter temperature data is of great significance to the accurate establishment of the inverter health evaluation model, as well as fault diagnosis, health status assessment, life prediction and other work. Summary of the invention
[0003] The object of the present invention is to provide a method and system for cleaning temperature data of a wind turbine inverter, which solves the above-mentioned deficiencies in the prior art.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is:
[0005] The present invention provides a method for cleaning temperature data of a wind turbine inverter, comprising the following steps:
[0006] Step 1, preprocessing the original temperature monitoring data obtained during the actual operation of the wind turbine inverter to obtain a matrix A;
[0007] Step 2, cleaning the temperature limit point data in the matrix A obtained in step 1 to obtain a matrix A';
[0008] Step 3, cleaning the large-range temperature outlier data in the matrix A' obtained in step 2 to obtain a matrix A'';
[0009] Step 4: Clean the remaining temperature outlier data and accumulated temperature point data in the matrix A''' obtained in step 3 to obtain correct temperature monitoring data.
[0010] Preferably, in step 1, the original temperature monitoring data obtained during the actual operation of the wind turbine inverter is preprocessed to obtain a matrix A, and the specific method is:
[0011] The original temperature monitoring data obtained during the actual operation of the wind turbine inverter is recorded as matrix A, where matrix A has n rows and 2 columns, and the first column data is the unit operating power, which is arranged in order of size and recorded as P = [P1, P2, ... Pi ,…P n ]; The second column of data is the temperature monitoring value corresponding to different powers in the first column of power data, recorded as T = [T1, T2, ...T i ,…T n ].
[0012] Preferably, in step 2, the temperature exceeding limit point data in the matrix A obtained in step 1 is cleaned to obtain the matrix A', and the specific method is:
[0013] The temperature monitoring value corresponding to the unit operating power in the i-th row of matrix A that is less than 0 or greater than the maximum allowable power value of the unit is recorded as 0, and then the corresponding rows with a value of 0 are removed to obtain the matrix A′.
[0014] Preferably, in step 3, the large-range temperature outlier data in the matrix A' obtained in step 2 is cleaned to obtain the matrix A'', and the specific method is:
[0015] Segment the matrix A' obtained in step 2 to obtain L sub-matrices;
[0016] The improved Raida criterion is used to identify and remove the large-range temperature outlier data in each sub-matrix to obtain the matrix A''.
[0017] Preferably, the matrix A' obtained in step 2 is segmented to obtain L sub-matrices, and the specific method is:
[0018] The matrix A' is segmented according to the unit operating power in the matrix A' to obtain L sub-matrices; wherein L represents the difference between the maximum power monitoring value and the minimum power monitoring value in the matrix A' divided by 500 and rounded up.
[0019] Preferably, the improved Raida criterion is used to identify and remove the large-range temperature outlier data in each sub-matrix to obtain the matrix A''. The specific method is:
[0020] Calculate the expectation of the temperature vector corresponding to each submatrix; and count the median and mode of the temperature vector corresponding to each submatrix;
[0021] Calculate the data distribution characteristic parameters of the corresponding submatrix according to the obtained expectation, median and mode;
[0022] Calculate the standard deviation of the temperature vector corresponding to each submatrix;
[0023] Using the data distribution characteristic parameters and standard deviation of each sub-matrix, combined with the improved Raida criterion, the large-scale temperature outlier data in the temperature vector are identified; the matrix A" is obtained;
[0024] The large-range temperature outlier data in the matrix A" are removed to obtain the matrix A"'.
[0025] Preferably, in step 4, the remaining temperature outlier data and accumulated temperature point data in the matrix A'' obtained in step 3 are cleaned to obtain correct temperature monitoring data, and the specific method is:
[0026] The variance change point method is used to clean the remaining temperature outlier data and accumulated temperature point data in the matrix A'' to obtain the correct temperature monitoring data.
[0027] Preferably, the variance change point method is used to clean the remaining temperature outlier data and the accumulated temperature point data in the matrix A'' to obtain the correct temperature monitoring data. The specific method is:
[0028] Calculate the variance of each point in the temperature vector of each submatrix in the matrix A'', and then obtain the variance vector corresponding to each submatrix;
[0029] Calculate the rate of change of the variance vector corresponding to each submatrix to obtain the rate of change vector corresponding to each submatrix;
[0030] Calculate the change rate vector corresponding to each submatrix to construct the objective function;
[0031] The objective function is constructed by calculation, and the mutation points in the rate of change vector are eliminated according to the calculated objective function value, so as to finally obtain the correct temperature monitoring data.
[0032] A wind turbine inverter temperature data cleaning system, the system can run the method described, including:
[0033] A data preprocessing unit is used to preprocess the original temperature monitoring data obtained during the actual operation of the wind turbine inverter to obtain a matrix A;
[0034] A first cleaning unit is used to clean the temperature exceeding limit point data in the acquired matrix A to obtain a matrix A';
[0035] The second cleaning unit is used to clean the large-range temperature outlier data in the obtained matrix A' to obtain the matrix A'';
[0036] The third cleaning unit is used to clean the remaining temperature outlier data and the accumulated temperature point data in the obtained matrix A'' to obtain correct temperature monitoring data.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] The present invention provides a method and system for cleaning temperature data of a wind turbine inverter. Based on the distribution characteristics of abnormal temperature data of a wind turbine inverter, the abnormal data are divided into temperature exceeding limit points, large-scale outlier abnormal data and local stacking abnormal data. According to the distribution characteristics of the abnormal data, a method for cleaning inverter temperature data based on edge elimination and variance change points is proposed. The abnormal data is cleaned through three steps to realize the extraction of normal inverter temperature data. The results of example verification show that the data cleaning method proposed in the present invention can realize the cleaning of the above three types of abnormal data, the effective data deletion rate is low, and no pre-training based on historical data is required, and the method has strong versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the process of the present invention;
[0040] Figure 2 It is a flowchart of the present invention;
[0041] Figure 3 It is the original monitoring data diagram of the inverter temperature;
[0042] Figure 4 This is the inverter temperature monitoring data (black dots) after removing the over-limit (grey dots) data;
[0043] Figure 5 It is the temperature monitoring data that preliminarily removes the temperature outliers in a large range;
[0044] Figure 6 It is the temperature monitoring data after removing the remaining outliers and accumulation points. DETAILED DESCRIPTION
[0045] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0046] The specific process of the embodiment is as shown in the attached Figure 1 As shown, the specific steps are as follows:
[0047] Step 1: collect the power-temperature raw monitoring data of the inverter module during the actual operation process. The power-temperature raw monitoring data covers the temperature monitoring data under different operating powers, which is recorded as matrix A. Matrix A has n rows and 2 columns. The first column of data is the unit operating power monitoring data, which is arranged in order of size and recorded as P = [P1, P2, ...P i ,...P n ]; the second column of data is the temperature monitoring value corresponding to different powers in the first column of power data, recorded as T = [T1, T2, ...T i ,...T n ]; in this scheme, all vectors are column vectors, so:
[0048]
[0049] Wherein, T1 is the temperature monitoring value under the P1 power condition.
[0050] Make a two-dimensional distribution diagram based on the two columns of data in matrix A, as shown in the attached figure. Figure 2 As shown in the attached Figure 2 It can be seen that the temperature monitoring data under different power conditions in matrix A can be divided into normal recording data, temperature limit point data, large range temperature outlier data and accumulated temperature point data.
[0051] Step 2: First, the temperature exceeding limit point data is cleared from the matrix A obtained in step 1. Such abnormal data can be identified according to formula (1), that is, the temperature monitoring value corresponding to the unit operating power in the i-th row of preprocessed temperature monitoring data that is less than 0 or greater than the maximum allowable power value of the unit is recorded as 0. Then, the data of the corresponding row containing 0 data is removed by conventional methods, and only non-0 rows are retained. After the exceeding limit data is removed, the matrix is recorded as A′. The result is as follows: Figure 3 As shown:
[0052] If P i <0 or P i >P m , then T′ i =0;
[0053] T′ t =T t , if 0≤P i ≤P m , then T′ i =T i (1)
[0054] 1≤i≤n
[0055] Among them, P i is the power monitoring data value corresponding to the i-th row in matrix A; P m The maximum power allowed by the unit;
[0056] T′ i is the temperature monitoring value in the second column of the i-th row in matrix A.
[0057] After removing the temperature exceeding the limit point data, the matrix A′ is obtained as follows:
[0058]
[0059] The matrix A′ indicates that the temperature exceeding limit point data corresponding to the first j-1 rows and the last nq rows of the original matrix are removed, then for the matrix A′:
[0060] P j = min(P′);
[0061] P q =max(P′)
[0062] Step 3: Segment the matrix A′ obtained in step 2 according to the value range of the power monitoring data in the first column, i.e., P′, to obtain L sub-matrices, which are respectively denoted as A1, A2, ...AU, ...AL, where AU can also represent [PU TU]. Set the number of segments to L, where L represents the difference between the maximum power monitoring value and the minimum power monitoring value in the matrix A′ divided by 500 and rounded up, i.e.:
[0063]
[0064] After the segmentation is completed, the matrix A′ can be expressed as:
[0065]
[0066] Among them, the value range of P1 is:
[0067]
[0068] P1 min =P j
[0069] T1 represents the temperature data corresponding to the value range of P1, and t represents the number of data:
[0070] T1=[T 11 , T 12 ,...T 1t ]
[0071] Similarly, the value range of PU can be obtained as follows:
[0072]
[0073]
[0074] 1<U≤L
[0075] Step 4: Identify and remove the large-range temperature outlier data according to the segmentation results in step 3. Take the large-range temperature outlier data of the submatrix A1 of the matrix A′ as an example. First, calculate the expected E of the temperature vector T1 corresponding to the submatrix A1. P1 , calculate the median of this group of data Mid P1 and the majority P1 , and according to the expected E P1 , median Mid P1 With the majority Maj P1 , calculate the parameter λ that reflects the data distribution characteristic of this group P1 , calculated as follows:
[0076]
[0077] other;
[0078] Step 5: Calculate the standard deviation σ of the temperature vector T1 corresponding to the submatrix A1 P1 , and identify large-scale outlier data points for each data of the temperature vector T1 according to the improved Raida criterion, and each data identification result is recorded as Iden x , the specific calculation method is as follows:
[0079] Iden x =1,T x <λ P1 ±3σ P1 ;
[0080] Iden x =0, T x ≥λ P1 ±3σ P1 ;
[0081] Among them, T x Represents the xth data of the temperature vector T1, and 1≤x≤t, then after calculation, a set of recognition result vectors composed of 0 and 1 can be obtained, denoted as Iden(T1), which is:
[0082] Iden(T1)=[Iden1,Iden2,Iden3,...,Iden x , ..., Iden t ]
[0083] Step 6: According to the recognition result in step 5, the large-range temperature outlier data in the temperature vector T1 corresponding to the submatrix A1 is eliminated, and each element of the recognition result vector Iden(T1) is multiplied by the corresponding element of the temperature vector T1 to obtain T1″. Similarly, P1″ is obtained. The specific calculation method is as follows:
[0084] T1″=[Iden1T 11 ,Iden2T 12 ,Iden3T 13 , …, Iden x T 1x , …, Iden t T 1t ];
[0085] P1″=[Iden1P 11 , Iden2P 12 , Iden3P 13 , …, Iden x P 1x, …, Iden t P 1t ]
[0086] A1″=[P1″T1″]
[0087] Among them, A1″ is the identified matrix, which contains several rows with all zero elements.
[0088] The rows with 0 elements are removed by conventional methods, and only rows with non-0 elements are retained to complete the removal of large-scale temperature outlier data, which is recorded as:
[0089] A1″′=[P1″′T1″′]
[0090] Step 7, repeat steps 4 to 6 to complete the identification and elimination of large-scale outlier data in the temperature vectors T1, T2, ..., TU, ..., TL corresponding to A1, A2, ..., AU, ..., AL. The data after the identification and elimination of large-scale temperature outlier data is recorded as A″′, which is:
[0091]
[0092] The results are attached Figure 4 shown.
[0093] Step 8: For the data matrix A'' obtained in step 7, the variance change point method is used to identify the remaining temperature outlier data and the accumulated temperature point data. Taking the identification of abnormal data in A1'' as an example, the variance of each point of the temperature vector T1'' in A1'' is first calculated. The variance calculation formula is:
[0094]
[0095] Among them, T″′ h is the hth element in the temperature vector T1″′; λ ε is the distribution characteristic parameter of the first h elements in the temperature vector T1″′, and the calculation method is the same as the distribution characteristic parameter calculation method in step 4; s h is the variance of the h-th point, which is used to characterize the degree of discreteness between the h-th point data and the previous h-1 data. k represents the number of data in T1″′. Then, a set of variance vectors can be obtained by calculation and recorded as S1, which are:
[0096] S1=[s1,s2,s3,...,s h , ..., s k ]
[0097] Step 9, calculate the rate of change of the variance vector S1 obtained in step 8, the calculation method is as follows:
[0098]
[0099] Among them, s h-1 With s h are the variance of the first h items and the variance of the first h-1 items, respectively, h It represents the rate of change between the variance of the first h items of data and the variance of the first h-1 items of data. After calculating item by item, we can get the rate of change vector V1, which is:
[0100] V1=[v2,v3,...,v h , ..., v k ]
[0101] Step 10: for the rate of change vector V1 obtained in step 9, identify the data points where the rate of change suddenly changes in the vector, and construct the objective function Targ_h to identify v h Take whether it is a mutation point as an example:
[0102] First, define v h A neighborhood of is used as the target calculation vector, denoted as v hμ , then:
[0103] v hμ =[v h-μ , v h-μ+1 , …, v h , …, v h+μ-1 , v h+μ ]
[0104] Among them, μ<<k, then according to the statistical law, it can be concluded that if v h The corresponding data point is the mutation point of the rate of change, then at v h At this point, two linear equations must be satisfied at the same time, namely:
[0105]
[0106]
[0107] Among them, β1, β2, is the model parameter and y is the independent variable in the model.
[0108] Then the objective function Targ_h can be constructed:
[0109]
[0110] Step 11, calculate the objective function Targ_h obtained in step 10. If Targ_h is v h The smallest value in the neighborhood, then identify v h is the point where the rate of change in the vector suddenly changes. Otherwise, it indicates that v h It is not a point where the rate of change in the vector suddenly changes, that is:
[0111] The hth data in the T1″′ vector needs to be removed, that is, T1h″″=0, and Targ_h is the minimum in the neighborhood;
[0112] The hth unsigned data in the T1″′ vector needs to be removed, that is, T1h″″=T1h″′, Targ_h is not the minimum in the neighborhood
[0113] Step 12, repeat step 11, calculate the objective function Targ_h under different values of h, identify all points that need to be eliminated, and for matrix A1″′, use traditional methods to eliminate rows containing 0 elements to generate matrix A1″″, which represents the result of eliminating accumulated data and small-range outlier data.
[0114] Step 13, repeat steps 8 to 12 to complete the cleaning of the entire A″′ matrix piled data and small-range outlier data, and the final result is recorded as A″″, such as Figure 5 shown.
[0115] Working principle of the present invention:
[0116] Based on the distribution characteristics of abnormal temperature data of wind turbine inverters, the present invention divides abnormal data into temperature limit point data, large-range temperature outlier point data and accumulated temperature point data. According to the distribution characteristics of abnormal data, a method for cleaning inverter temperature data based on edge elimination and variance change point is proposed. The abnormal data is cleaned through three steps to realize the extraction of normal inverter temperature data. The results of example verification show that the data cleaning method proposed in this paper can realize the cleaning of the above three types of abnormal data, with a low effective data deletion rate, and no need for pre-training based on historical data, and has strong versatility.
[0117] The improved Raida criterion adopted in the present invention performs a large-scale outlier data point identification on each data in the temperature vector. The traditional Raida criterion uses the median plus or minus three times the standard deviation for identification, while the present application uses the mode, median and expected calculation parameters in statistics plus or minus three times the standard deviation for identification, which broadens the scope of application. The Raida criterion works best for normal distribution and approximate normal distribution, but the collected data may not conform to the normal distribution.
Claims
1. A method for cleaning temperature data of a wind turbine inverter, characterized in that: The following steps are involved: Step 1: pre-process the original temperature monitoring data of the wind turbine inverter during actual operation to obtain the matrix ; Step 2: Get the matrix obtained in step 1 The temperature limit point data in the matrix is cleaned to obtain ; Step 3: Get the matrix obtained in step 2 The large range of temperature outlier data in the matrix is cleaned to obtain ; Step 4: Get the matrix obtained in step 3 Clean the remaining temperature outlier data and accumulated temperature point data in the system to obtain correct temperature monitoring data; In step 1, the original temperature monitoring data of the wind turbine inverter during actual operation is preprocessed to obtain the matrix The specific method is: The original temperature monitoring data obtained during the actual operation of the wind turbine inverter is recorded as a matrix , where the matrix It is n rows and 2 columns. The data in the first column is the unit operating power, which is arranged in order of size and recorded as ; The second column of data is the temperature monitoring value corresponding to different powers in the first column of power data, recorded as ; In step 2, the matrix obtained in step 1 is The temperature limit point data in the matrix is cleaned to obtain The specific method is: The matrix The value of the power that is less than 0 or greater than the maximum allowable power value of the unit The temperature monitoring value corresponding to the operating power of the row unit is recorded as 0, and then the corresponding rows with a value of 0 are removed to obtain the matrix ; In step 3, the matrix obtained in step 2 The large range of temperature outlier data in the matrix is cleaned to obtain The specific method is: For the matrix obtained in step 2 Segment and obtain sub-matrices; The improved Raida criterion is used to identify and remove the large-scale temperature outlier data in each sub-matrix, and the matrix is obtained. ; The improved Raida criterion is used to identify and remove the large-scale temperature outlier data in each sub-matrix, and the matrix is obtained. The specific method is: Calculate the expectation of the temperature vector corresponding to each submatrix; and count the median and mode of the temperature vector corresponding to each submatrix; Calculate the data distribution characteristic parameters of the corresponding submatrix according to the obtained expectation, median and mode; Calculate the standard deviation of the temperature vector corresponding to each submatrix; The data distribution characteristic parameters and standard deviation of each submatrix are used to identify the large-scale temperature outlier data in the temperature vector in combination with the improved Raida criterion; the matrix ; The matrix The large range of temperature outlier data in the matrix is removed to obtain ; Step 4: Get the matrix obtained in step 3 The remaining temperature outlier data and accumulated temperature point data in the system are cleaned to obtain the correct temperature monitoring data. The specific method is: Using the variance change point method to Clean the remaining temperature outlier data and accumulated temperature point data in the system to obtain correct temperature monitoring data; Using the variance change point method to The remaining temperature outlier data and accumulated temperature point data in the system are cleaned to obtain the correct temperature monitoring data. The specific method is: Calculating the Matrix The variance of each point in the temperature vector in each sub-matrix is obtained, and then the variance vector corresponding to each sub-matrix is obtained; Calculate the rate of change of the variance vector corresponding to each submatrix to obtain the rate of change vector corresponding to each submatrix; Calculate the change rate vector corresponding to each submatrix to construct the objective function; The objective function is constructed by calculation, and the mutation points in the rate of change vector are eliminated according to the calculated objective function value, so as to finally obtain the correct temperature monitoring data.
2. A method for cleaning temperature data of a wind turbine inverter according to claim 1, characterized in that: For the matrix obtained in step 2 Segment and obtain The specific method is: The matrix According to the matrix The unit operating power in is divided into sections, and the sub-matrices; among them, Representation Matrix The difference between the maximum power monitoring value and the minimum power monitoring value is divided by 500 and rounded up.
3. A wind turbine inverter temperature data cleaning system, characterized in that: The system is capable of running the method described in any one of claims 1 to 2, including: The data preprocessing unit is used to preprocess the original temperature monitoring data obtained during the actual operation of the wind turbine inverter to obtain a matrix ; The first cleaning unit is used to clean the obtained matrix The temperature limit point data in the matrix is cleaned to obtain ; The second cleaning unit is used to clean the obtained matrix The large range of temperature outlier data in the matrix is cleaned to obtain ; The third cleaning unit is used to clean the obtained matrix The remaining temperature outlier data and accumulated temperature point data are cleaned to obtain correct temperature monitoring data.
