원시데이터 수집 시스템
선정목록으로

Wind Turbine Condition Monitoring Based on Bagging Ensemble Strategy and KNN Algorithm

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Hongmin Zhang — Beijing Engineering Research Center of Power Station Automation, Chn Energy ZhiShen Control Technology Co., Ltd., Beijing, China
  2. Haiming Niu — Beijing Engineering Research Center of Power Station Automation, Chn Energy ZhiShen Control Technology Co., Ltd., Beijing, China
  3. Zenghui Ma — College of Ocean Information Engineering, Hainan Tropical Ocean University, Sanya, China
  4. Shuyao Zhang — School of Control and Computer Engineering, North China Electric Power University, Beijing, China
DOI
10.1109/access.2022.3164717
저널
IEEE Access
발행년도
2022
발행기관
Institute of Electrical and Electronics Engineers
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2022.3164717
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4226126966

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The gearbox is an important component of a wind turbine (WT). Once the gearbox is damaged, problems such as long-term maintenance and high maintenance costs will occur. Therefore, it is necessary to carry out on-line condition monitoring (CM) of WTs. Because a large amount of data is accumulated by the supervisory control and data acquisition (SCADA) system, CMs based on data-driven methods have been widely investigated. In this paper, a CM method that is based on the KNN regression method and bagging ensemble strategy is proposed. The proposed method is validated by SCADA data collected from a field WT. The results show that the ensemble model can achieve the desired estimation accuracy and improve the operation efficiency by approximately 30%.

본문 39,549자

본문 펼치기
1 2 3 4 5 6 7 8 Received 1 March 2022, accepted 13 March 2022, date of publication 4 April 2022, date of current version 12 September 2022. _Digital Object Identifier 10.1109/ACCESS.2022.3164717_ # Wind Turbine Condition Monitoring Based on Bagging Ensemble Strategy and KNN Algorithm HONGMIN ZHANG <sup>1</sup>, HAIMING NIU <sup>1</sup>, ZENGHUI MA <sup>2</sup>, AND SHUYAO ZHANG <sup>3</sup> 1Beijing Engineering Research Center of Power Station Automation, Chn Energy ZhiShen Control Technology Co., Ltd., Beijing 102200, China 2College of Ocean Information Engineering, Hainan Tropical Ocean University, Sanya 572022, China 3School of Control and Computer Engineering, North China Electric Power University, Beijing 102206, China Corresponding author: Shuyao Zhang (120202127027@ncepu.edu.cn) This work was supported in part by the Chn Energy Science and Technology Innovation Project ‘‘Research and Demonstration of Wind Turbine Control System’’, Funding No.:YZ2021001. ABSTRACT The gearbox is an important component of a wind turbine (WT). Once the gearbox is damaged, problems such as long-term maintenance and high maintenance costs will occur. Therefore, it is necessary to carry out on-line condition monitoring (CM) of WTs. Because a large amount of data is accumulated by the supervisory control and data acquisition (SCADA) system, CMs based on data-driven methods have been widely investigated. In this paper, a CM method that is based on the KNN regression method and bagging ensemble strategy is proposed. The proposed method is validated by SCADA data collected from a field WT. The results show that the ensemble model can achieve the desired estimation accuracy and improve the operation efficiency by approximately 30%. 9 INDEX TERMS Wind turbine gearbox, data-driven method, condition monitoring, KNN, bagging. 10 I. INTRODUCTION 11 To cope with global climate change, China has announced 12 that it will achieve peak carbon dioxide emissions by 13 2030 and carbon neutrality by 2060 [1]. Therefore, clean 14 energy power generation technology has broad development 15 potential. As a kind of clean energy, wind energy has been 16 widely utilized worldwide. According to the Global Wind 17 Energy Council (GWEC)ś report [2], although the global 18 newly installed capacity reached 93 GW in 2020, a large 19 number of wind turbines (WTs) still need to be installed. 20 With an increase in the number of wind turbines in service 21 and the extension of operation times, the possibility of 22 component failure also increases. According to the statistical 23 data [3], due to the harsh operating environment and other 24 conditions, the gearbox is the component of WTs with a high 25 incidence of faults. Once the gearbox is damaged, problems 26 such as high maintenance costs, complex maintenance 27 processes, and long maintenance times due to structural 28 constraints will ensue [4]. Therefore, it is necessary to carry 29 out online condition monitoring (CM) of gearboxes. 30 The CM of gearboxes is divided into vibration signal 31 analysis [5], oil quality analysis [6] and supervisory control 32 and data acquisition (SCADA) system data analysis [7] The associate editor coordinating the review of this manuscript and approving it for publication was Dipankar Deb . according to different signal sources. However, vibration 33 signal analysis requires the installation of professional 34 sensors to collect high-frequency vibration data, resulting 35 in additional expenses. Oil quality analysis is an invasive 36 method that cannot realize online monitoring. Presently, 37 almost all wind turbines are equipped with the SCADA 38 system [8], which can collect a large amount of operational 39 and record fault data. Therefore, WTCM based on SCADA 40 data has been widely employed by scholars. 41 Since a large amount of data accumulates in the SCADA 42 system, the data-driven method is an essential method in 43 CM based on SCADA data [9]. Fu _et_ _al._ [10] built a model 44 based on deep learning to process the temperature of a 45 gearbox using historical SCADA data. Jin _et_ _al._ [11] mined 46 health status-related information from SCADA data and 47 established a Mahalanobis space as a reference space for wind 48 turbine condition monitoring. Liu _et_ _al._ [12] constructed a 49 global monitoring statistic based on all temperature variables 50 contained in the SCADA system to monitor the overall health 51 status of the wind turbine. Zhang _et_ _al._ [13] combined the 52 random forest with extreme gradient boosting to establish a 53 wind turbine fault detection framework. Luo _et al._ [14] pro- 54 posed a SCADA data-based, online monitoring method based 55 on a a pair-copula and BP neural network. Dhiman _et al._ [15] 56 applied a SVM to WT gearbox condition monitoring and 57 analyzed the regression residual from a statistical point of 58 59 view. Dhiman _et al._ [16] proposed the highly reliable method 60 of applying the TWSVM and adaptive threshold to WT 61 gearbox anomaly detection. 62 The K-nearest neighbors (KNN) algorithm is a commonly 63 used nonparametric method that was proposed by Cover and 64 Hart in 1968 [17]. The KNN algorithm does not need to train 65 a model in advance and is often selected to solve regression 66 and classification problems. The operating environment and 67 operating parameters of WTs are complex and changeable. 68 The models trained by conventional parametric methods, 69 such as neural networks and Bayesian methods, may 70 have poor flexibility and encounter the problem of model 71 mismatch. The KNN algorithm does not need to train the 72 model in advance and only needs to update the training set in 73 time to obtain the optimal estimation effect; thus, it is suitable 74 for WTCM. 75 However, when the number of training samples is large, 76 the KNN algorithm is bound to cause a vast amount of 77 time overhead and to reduce the operation efficiency when 78 calculating the Euclidean distance between the test sample 79 and all training samples. Scholars have performed many 80 studies on how to reduce the loss of operation accuracy 81 while improving the computational efficiency of the KNN 82 algorithm [18]. 83 Ensemble learning constructs and combines multiple 84 learners to complete learning tasks, which can often obtain 85 generalization performance with significant advantages over 86 a single learner [19]. Ensemble systems have prove n 87 to be very effective and extremely versatile in a broad 88 spectrum of problem domains and real-world applications. 89 Bagging is the most famous representative of the parallel 90 ensemble learning strategy [20]. Bagging can be combined 91 with almost any learning algorithm to form an ensemble 92 learning system, such as a neural network [21] or decision 93 tree [22]. 94 To solve the problem of slow operation caused by 95 an excessively large training set of KNNs, a condition 96 monitoring method based on the bagging ensemble strategy 97 and the KNN regression method is proposed in this paper. 98 The training set is randomly sampled based on bagging to 99 construct multiple KNN individual learners. With an increase 100 in the number of individual learners, the ensemble system will 101 become more complex, the estimation accuracy will increase, 102 and the calculation time will remain at the same order of 103 magnitude. 104 The SCADA data collected from a WT are used to validate 105 the feasibility of the industrial application of the proposed 106 approach. The results show that the proposed method can 107 realize gearbox CM and provide health rate indicators. 108 The remainder of this paper is organized as follows: 109 Section II presents the framework of the ensemble KNN 110 method. Section III gives a detailed description of the KNN 111 algorithm, bagging ensemble strategy and SPC technology. 112 Section IV shows the results of experiments to validate the 113 proposed method. The experimental results are summarized, 114 and the conclusions are given in Section V. FIGURE 1. NBM monitoring with the input _u_ ( _t_ ) for both the process _G_ ( _t_ ) and its model _G_ <sup>ˆ</sup> ( _t_ ), their outputs _y_ ( _t_ ) and _y_ ˆ ( _t_ ), respectively, and the final error or residual _e_ ( _t_ ). II. THE FRAMEWORK OF PROPOSED METHOD 115 _A._ _NORMAL BEHAVIOR MODELING STRATEGY_ 116 Normal behavior modeling (NBM) is a condition monitoring 117 method based on the SCADA data-driven method [23]. 118 Because the collected field data often have no distinct label, 119 we cannot use the classification algorithm to detect the 120 specific fault of the equipment. The NBM method based on 121 SCADA data can use the unlabeled operation data to monitor 122 the statuses of the target variables in which we are interested. 123 The framework of the NBM is shown in Fig. 1. 124 We will describe the NBM in detail. First, aiming at the 125 target variable, a model is established by using the historical, 126 collected, normal SCADA data, which is usually a data- 127 driven algorithm model. Second, the real-time SCADA data 128 are input into the model to obtain the estimated value of the 129 target variable, which represents the real-time value if the 130 equipment is in normal operation. Last, the residual between 131 the estimated value and the observed value is calculated. The 132 residual represents the current deviation of the target variable 133 from the normal operation. 134 _B._ _THE PROPOSED FRAMEWORK OF ENSEMBLE KNN_ 135 _METHOD_ 136 As shown in Fig. 2, the proposed WTCM, ensemble KNN 137 method can be divided into three parts: data preprocessing, 138 offline ensemble model establishment and online monitoring. 139 The specific steps are described as follows: 140 (1) Data preprocessing: First, to obtain the normal 141 available data, the missing data and abnormal data in the 142 original data are deleted according to the relevant technical 143 documents. Second, the relevant operating parameters are 144 selected as the target variable and auxiliary variables. Among 145 them, the target variable is the variable that we want 146 to monitor, and the auxiliary variables are the operating 147 parameters that are closely related to the target variable. Last, 148 the normal data are determined and normalized. 149 (2) Offline ensemble model establishment: Since the KNN 150 algorithm does not need to be trained in advance, it only needs 151 to randomly sample the training set _n_ times to establish the 152 ensemble KNN learner. The threshold is calculated based on 153 SPC technology and the verification set. 154 (3) Online monitoring: The real-time SCADA data are 155 input as the testing sample into the ensemble model to 156 (2) Sort the Euclidean distance in descending order, 183 identify K training samples closest to _x_ and record them 184 as _xp_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> = ( _x_ 1 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> <sup>_, x_</sup> 2 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> <sup>_, . . ., x_</sup> _mp_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_, y_</sup> <sup>(</sup> _p_ <sup>_K_</sup> <sup>))</sup> <sup>_T, p_</sup> <sup>∈</sup> <sup>[1</sup> <sup>_, K_</sup> <sup>].</sup> <sup>The</sup> 185 as _xp_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> = ( _x_ 1 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> <sup>_, x_</sup> 2 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> <sup>_, . . ., x_</sup> _mp_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_, y_</sup> <sup>(</sup> _p_ <sup>_K_</sup> <sup>))</sup> <sup>_T, p_</sup> <sup>∈</sup> <sup>[1</sup> <sup>_, K_</sup> <sup>].</sup> <sup>The</sup> 185 estimated value of the testing sample’s target variable is 186 expressed as follows: 187 _p_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> = ( _x_ 1 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> 1 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> <sup>_, x_</sup> 2 <sup>(</sup> <sup>_K_</sup> _p_ <sup>)</sup> <sup>_, . . ., x_</sup> _mp_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_, y_</sup> <sup>(</sup> _p_ <sup>_K_</sup> <sup>)</sup> _y_ ˆ = _K_ _p_ =1 _y_ <sup>(</sup> _p_ <sup>_K_</sup> <sup>)</sup> <sup>_/K_</sup> (2) 188 To further improve the accuracy of the algorithm, the 189 ‘‘weighted method’’ can be employed instead of the ‘‘average 190 method.’’ In this paper, the nearest neighbor samples closer 191 to the testing sample will be assigned a large weight, and the 192 nearest neighbor samples further from the testing sample will 193 be assigned a smaller weight. The formula of the weighted 194 KNN (wKNN) is expressed as follows: 195 _y_ ˆ = _K_ _p_ =1 _y_ <sup>(</sup> _p_ <sup>_K_</sup> <sup>)</sup> - _wp_ (3) 196 _wp_ = 1) (4) 197 _wp_ = _D_ <sup>(</sup> 1 <sup>_K_</sup> + <sup>)</sup> _K_ <sup>(</sup> 1 <sup>_K_</sup> + <sup>)</sup> _K_ - _p_ <sup>_/D_</sup> <sup>(</sup> <sup>_K_</sup> <sup>)(</sup> FIGURE 2. The framework of proposed method. 157 obtain the estimated value _y_ ˆ( _t_ ) of the target variable and to 158 calculate the residual _e_ ( _t_ ) between ˆ _y_ ( _t_ ) and the observed value 159 _y_ ( _t_ ) of the testing sample. Next, _e_ ( _t_ ) is compared with the 160 threshold, and the health rate of the gearbox is calculated 161 according to the sliding window method. 162 III. METHOD 163 _A._ _KNN REGRESSION ALGORITHM FOR CONDITION_ 164 _MONITORING_ 165 The basic principle of the KNN regression algorithm is 166 described as follows: when the target variable of the testing 167 sample is unknown, obtain the _K_ nearest neighbors of the 168 testing sample, and take the average value of the target 169 variable of the _K_ nearest neighbors as the estimated value 170 of the target variable of the testing sample. Therefore, the 171 essence of the regression problem is the prediction problem. 172 The difference is that in the condition monitoring, the target 173 variables of the testing samples can be actually measured, 174 so the distance measurement formula of the KNN regression 175 algorithm can be improved. The calculation is detailed as 176 follows: 177 For a testing sample _x_ = ( _x_ 1 _, x_ 2 _, . . ., xm, y_ ) <sup>_T_</sup> ( _y_ is the 178 target variable) 179 (1) Calculate the Euclidean distance between _x_ and the 180 training sample _xj_ = ( _x_ 1 _j, x_ 2 _j, . . ., xmj, yj_ ) <sup>_T_</sup> : 181 _dj_ ( _x, xj_ ) = ( �� _xl_ - _xlj_ ��2 + �� _y_ - _yj_ ��2)1 _/_ 2 (1) _p_ =1 where _wp_ is the weight of the _p_ -th nearest neighbor, _D_ <sup>(</sup> 1 <sup>_K_</sup> + <sup>)</sup> _K_ - _p_ 198 is the Euclidean distance between _x_ and its 1 + _K_ - _p_ -th 199 neighbor, and _D_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> is the sum of the Euclidean distances 200 between _x_ and its neighbors. 201 According to the specific steps of the KNN algorithm, the 202 time consumption of the KNN algorithm is only related to the 203 size of the training set; the calculation time is linear with the 204 size of the training set; its time complexity is _O_ ( _n_ ); and _n_ is 205 the number of training samples. 206 _B._ _KNN ALGORITHM WITH BAGGING STRATEGY_ 207 The general structure of ensemble learning is to gener- 208 ate multiple a¸ˇr individual learnersa¸ś and then combine 209 them through a selected strategy. The common strategies 210 are boosting, bagging and stacking [24]. Boosting is a 211 serial iterative structure, with a strong dependence among 212 individual learners. Stacking is a hierarchical structure. 213 To avoid overfitting, individual learners are required to be 214 heterogeneous. 215 The bagging ensemble strategy is a parallel strategy. 216 All homogeneous learners are interdependent. By randomly 217 changing the distribution of the training sets, new training 218 subsets are generated, and individual learners are trained. 219 The steps of the KNN regression algorithm with the bagging 220 strategy are presented as follows: 221 Let the number of individual learners be _b_, and let the 222 number of training samples for each individual learner be _nb_, 223 generally _nb_ ≤ _n_ . 224 (1) The original training set is randomly sampled _b_ times 225 to form _b_ KNN-based training subsets. 226 (2) A KNN individual learner is trained based on each 227 training subset, and then these KNN learners are combined. 228 When combining the individual learners, the simple voting 229 _dj_ ( _x, xj_ ) = ( _m_ _l_ =1 182 where _dj_ ( _x, xj_ ) is the Euclidean distance between _x_ and _xj_ . In practical applications, the sample mean _X_ <sup>¯</sup> and sample 263 standard deviation _S_ are employed to replace _µ_ and _σ_ of the 264 normal distribution. The formula is presented as follows: 265 _X_ ¯ = <sup><u>1</u></sup> _n_ _n_ _l_ =1 _el_ (7) 266 <u>1</u> _S_ = ( _n_ - 1 _n_ _l_ =1 2 ) <sup>1</sup> <sup>_/_</sup> <sup>2</sup> (8) 267 ( _el_ _X↼_ ) FIGURE 3. Bagging ensemble strategy diagram. 230 method is utilized for the classification task, and the simple 231 average method is employed for the regression task. 232 As previously mentioned, the time complexity of the KNN 233 learner is _O_ ( _nb_ ), so the time complexity of the bagging 234 ensemble KNN algorithm is _b_ ( _O_ ( _nb_ ) + _O_ ( _s_ )). Generally, the 235 voting/average complexity s is very small, and _b_ is generally 236 a small constant, so the complexity of the conventional KNN 237 algorithm and bagging integrated KNN algorithm has the 238 same order of magnitude. 239 _C._ _THRESHOLD SETTING METHOD_ 240 The output of condition monitoring is often a continuous 241 value, but we cannot judge whether the gearbox is faulty 242 according to the continuous output, so we need to convert the 243 condition monitoring result into a binary output by setting the 244 threshold. If the residual exceeds the threshold, the gearbox 245 will have a high probability of abnormality at this time. In this 246 paper, statistical process control (SPC) is selected as the 247 method to use to set the threshold. 248 SPC is a process monitoring method based on statistical 249 theory that can be applied to involve the alarm threshold in 250 WTCM [24]. Because the gearbox often shows overheating 251 faults, this paper mainly discusses how to set the upper limit 252 of the alarm. The detailed method is expressed as follows: 253 Assuming random variable _X_ Ñ( _µ, σ_ <sup>2</sup> ), according to the 254 relevant theory of normal distribution, the probability of 255 random variable _X_ falling in the interval −∞ _, µ_ + 1 _._ 645 _σ_ ] 256 and −∞ _, µ_ + 1 _._ 282 _σ_ ] are expressed as follows: 257 _P_ (−∞ _< X_ ≤ _µ_ + 1 _._ 645 _σ_ ] ≈ 0 _._ 95 (5) 258 _P_ (−∞ _< X_ ≤ _µ_ + 1 _._ 282 _σ_ ] ≈ 0 _._ 90 (6) 259 If the value of _X_ continually exceeds the above range, the 260 operation process will be affected by abnormal factors and 261 fails. Therefore, the overheating and warming threshold can 262 be designed according to the normal distribution of _µ_ and _σ_ . where _el_ is the residual of the observed value and estimated 268 value and _n_ is the number of testing samples. 269 The formula of the threshold can be defined as follows: 270 _T_ 1 = _X_ <sup>¯</sup> + 1 _._ 282 _S_ (9) 271 _T_ 2 = _X_ <sup>¯</sup> + 1 _._ 645 _S_ (10) 272 where _T_ 1 is the first alarm threshold and _T_ 2 is the second 273 alarm threshold. 274 If the gearbox oil temp continuously exceeds the threshold, 275 a significant failure of the gearbox will occur at this time. 276 Hierarchical thresholds can realize hierarchical alarms in 277 industrial applications and provide different fault tolerances 278 for industrial applications. 279 IV. CASE ANALYSIS 280 _A._ _DATA DESCRIPTION_ 281 The SCADA data used in this paper to verify the effectiveness 282 of the proposed method in this paper are obtained from 283 an onshore WT in Hebei Province, China. The main 284 characteristic parameters of the WT are listed as follows: the 285 related power is 2 MW; the related wind speed is 12 m/s; the 286 cut-in wind speed is 4 m/s; the cut-off wind speed is 25 m/s 287 and the SCADA system sample interval is 10 mins. The fault 288 type is gearbox bearing overheating. 289 _B._ _DATA PREPROCESSING_ 290 The unavailable data in historical SCADA data are deleted, 291 including the following data: missing data, data with active 292 power less than or equal to zero, data with wind speeds less 293 than the cut-in speed, and data with wind speeds greater than 294 the cut-off wind speed. The samples with abnormal operating 295 parameters are removed based on the Laida criterion; 14,000 296 samples remain. 297 There are dozens of characteristic parameters in SCADA 298 system. Firstly, eight variables are roughly selected and 299 their Pearson correlation coefficients with gearbox bearing 300 temperature are calculated: wind speed, generator speed, 301 ambient temp, active power, impeller speed, wind direction 302 angle and reactive power. The range and Pearson correlation 303 coefficient of selected variables is shown in Tab. 1. 304 It can be seen from table 1 that there is a strong positive 305 correlation between bearing temperature and wind speed, 306 generator speed and active power, which is in line with the 307 normal characteristics that the increase of wind speed leads to 308 the increase of rotating speed and load of impeller, generator 309 and other equipment, and then the increase of gearbox bearing 310 TABLE 1. The range of selected variables. 311 temperature. Wind direction angle is closely related to pitch 312 and yaw system, reactive power and grid connection process. 313 They have little impact on gearbox, so the correlation is poor. 314 Although the correlation between bearing temperature and 315 ambient temperature is general, when the power and wind 316 speed are the same, the difference of ambient temperature 317 will also lead to great differences in the operation state of 318 the unit, which needs to be referred to in condition division 319 and condition monitoring. Combined with the above analysis, 320 it is determined that the auxiliary variables are wind speed, 321 generator speed, impeller speed, ambient temperature and 322 active power. 323 Normalize the samples to avoid dimensional influence. 324 The formula is presented as follows: _<u>x</u>_ - _<u>x</u>_ <u>min</u> 325 _x_ <sup>∗</sup> = (11) _x_ max − _x_ min 326 where _x_ is the raw data, _x_ min is the minimum of the 327 corresponding parameter, and _x_ max is the maximum of the 328 corresponding parameter. 329 We select No. 1-6,000 samples as the training samples 330 to establish the ensemble model and designate No. 6,001331 7,000 samples as the verification samples to select various 332 parameters of the ensemble model and to design the alarm 333 threshold. Samples No. 6,001-14,000 are taken as testing 334 samples to monitor the condition of the gearbox. 335 _C._ _PERFORMANCE ANALYSIS OF MODEL_ 336 This section will compare the performance of the con337 ventional KNN model and ensemble model. The running 338 environment of the program is MATLAB R2019a; the CPU 339 model is Intel i7-10710U; and the RAM is 16G. 340 The performance of the conventional KNN model is 341 analyzed, and the influence of the number of training samples 342 on the conventional KNN model is discussed ( _K_ = 10). 343 Starting from the last 500 samples as the training set, 344 expand the training set by increasing 500 samples each 345 time from back to front according to the chronological 346 relationship; construct the training set of conventional KNN; 347 and test based on the verification set. In this paper, the root 348 mean square error (RMSE) is utilized as the error function to 349 evaluate the estimation accuracy of the model; its formula is where _yi_ is the observed value of the target variable and _y_ ˆ _i_ 352 is the estimated value of the target variable. The RMSE and 353 operation time are shown in Fig. 4. 354 First, the above figure is analyzed in terms of estimation 355 accuracy. With an increase in the number of training samples, 356 the RMSE shows a downward trend. When the number 357 of training samples is less than 2,000, the decline rate of 358 the RMSE increases. When the number of training samples 359 exceeds 2,000, the decline rate of the RMSE decreases. 360 From the aspect of running time, although the time fluctuates 361 slightly during the running process, it increases linearly with 362 an increase in the number of training samples, which is 363 consistent with the previously mentioned law of the KNN 364 algorithm. 365 Second, the performance of the ensemble KNN model is 366 investigated. Set the number of training samples of individual 367 learners to 500, set the number of individual learners to 1- 368 12 and establish 12 ensemble KNN models. Because the 369 bagging ensemble model exhibits randomness in sampling, 370 50 repeated experiments are carried out for each model. The 371 RMSE obtained from the experimental results is shown in the 372 box diagram of Fig. 5. 373 As shown in Fig. 5, with an increase in the number of 374 individual learners, the overall box of the ensemble KNN 375 model shows a tightening trend, indicating that the larger 376 FIGURE 4. The performance of conventional KNN model. FIGURE 5. The performance of ensemble KNN model. shown as follows: 350 _n_ _i_ =1 _RMSE_ = �� <u>1</u> _n_ - 1 ( _yi_ −ˆ _yi_ ) <sup>2</sup> (12) 351 TABLE 2. Parameters of conventional KNN model and ensemble KNN model. 377 is the number of individual learners, the more complex the 378 ensemble model, and the better its stability. 379 Simultaneously, the median (Q2) of the RMSE tends 380 to decrease with an increase in the number of individual 381 learners. When the number of individual learners is less 382 than 4, Q2 decreases at a faster rate. When the number of 383 individual learners is greater than 4, Q2 fluctuates, but the 384 change tends to be flat as a whole. 385 We compare the performance of the conventional KNN 386 model and ensemble KNN model. The estimation accuracy 387 and calculation time of the conventional KNN model and 388 ensemble KNN model under different training set scales 389 are shown in the following table. In the table, _t_ 1 of the 390 conventional KNN model is the time required to calculate 391 1,000 verification samples; _t_ 2 of the integrated KNN model is 392 the average time of 50 experiments; and Q3, Q2 and Q1 are 393 the upper quartile, median and lower quartile, respectively, 394 of the RMSE of the ensemble KNN model in 50 repeated 395 experiments. 396 As shown in Tab. 2, with an increase in the number 397 of individual learners, the training time of the ensemble 398 KNN model shows a linear upward trend. When there are 399 3 individual learners, Q3 is 1 _._ 56 × 10 <sup>−2</sup>, and the average 400 training time is 0.027 s. Compared with 2,000 training 401 samples of the conventional KNN model, the estimation 402 accuracy decreases by 2.6% and the training time increases 403 by 34.14%, indicating that the ensemble KNN model has 404 advantages with regard to training time. 405 Next, we will use the proposed KNN method, conventional 406 KNN method, CNN and LSTM to perform an experiment on 407 the verification set and to compare the program running time 408 and estimation accuracy. The specific parameter settings of 409 the above methods are listed as follows (the training sample of 410 conventional KNN, CNN and LSTM is the last 1500 samples 411 in the training set): 412 (1) CNN: The size of the 2DCNN convolution kernel is set 413 to 3×3; the number is set to 16; the ReLU activation function 414 is applied the number of epochs is set to 20; and the learning 415 rate is 0.005. 416 (2) LSTM: The input layer time step of LSTM is set to 417 6; the output is set to 6; the sigmoid activation function is 418 employed; the learning rate is set to 0.005; epochs are set 419 to 20; the loss function is the average absolute error MAE; TABLE 3. Comparative experimental results. and the Adam optimizer is utilized to update the network 420 weight. 421 As shown in Tab. 3, when the total number of training 422 samples is constant, the time consumed by the conventional 423 KNN and ensemble KNN is basically constant, the CNN and 424 LSTM consumed a substantial amount of time in the training 425 process, and the estimation time is longer than that of the two 426 KNN methods. In terms of estimation accuracy, the ensemble 427 KNN has advantages over the other three methods. 428 _D._ _CONDITION MONITORING OF GEARBOX_ 429 This section will monitor the condition of the gearbox using 430 the previously verified ensemble model and 8,000 testing 431 samples. The number of individual learners is 3, and the 432 training sample of each individual learner is 500. 433 First, the alarm threshold is set according to the verification 434 set. The _X_ <sup>¯</sup> of the residuals of the ensemble model on the 435 verification set is -0.0023, and _S_ is 0.0154. According to 436 (9) and (10), the first alarm threshold is 0.0176, and the 437 second alarm threshold is 0.0232. Fig. 6 shows the condition 438 monitoring results and two-level alarm threshold of the 439 testing samples. It is worth mentioning that the difference 440 between the two-level thresholds in this paper is small, which 441 can explain why the estimation accuracy of the method 442 proposed in this paper is high. 443 The figure shows that the residuals of the first 2,500 444 samples do not continually or greatly exceed the threshold, 445 FIGURE 6. The residual and two-level alarm threshold. FIGURE 7. Real-time alert. (a) First alarm threshold. (b) Second alarm threshold. 446 indicating that the gearbox is still in normal operation at this 447 time. After approximately 2,500 points, the residual of the 448 sample significantly and continuously exceeds the threshold 449 value, indicating that the gearbox state is abnormal at this 450 time. 451 Due to the harsh environment or sensor failure, the residual 452 may exceed the alarm threshold under the normal condition 453 of the gearbox. To avoid false alarms, we stipulate that when 454 4 consecutive intervals (40 mins) are detected to exceed the threshold, an alarm will be triggered. The alarm condition is 455 shown in Fig. 7. 456 However, the residual sequence has the characteristics of 457 frequent fluctuation, which is not conducive to the intuitive 458 judgment of the operation state of the gearbox. Therefore, 459 we define a health rate based on the sliding window method 460 to improve the condition monitoring process of the gearbox. 461 If the length of the sliding window is _M_ and the number of 462 samples below the alarm threshold in one window is _N_, then 463 FIGURE 8. The health rate of gearbox. 464 for the first alarm threshold _T_ 1 and second alarm threshold 465 _T_ 2, the first health rate _R_ 1 and second health rate _R_ 2 can be 466 defined as: 467 _R_ 1 = <sup>_<u>N</u>_</sup> <sup><u>1</u></sup> (13) _M_ 468 _R_ 2 = <sup>_<u>N</u>_</sup> <sup><u>2</u></sup> (14) _M_ 469 In this section, _M_ = 1 _,_ 000. The health rate of the gearbox 470 is shown in Fig. 8. 471 The health rate curve shows that at approximately the first 472 1,500 windows, the health rate of the gearbox remains stable 473 and high, and the two-level health rates remain approximately 474 100%. After the 1,500th window, the health rate began 475 to decline, and at approximately the 2,500th window, the 476 health rate fell to the first trough. After the health rate 477 fluctuates, it reaches the lowest value after the 4,500th sliding 478 window. The first health rate is below 70%, and the minimum 479 second health rate is approximately 80%, indicating that the 480 operation state of the gearbox is unstable and has failed. 481 Thus, the health rate of the gearbox is always low. The health 482 rate curve can provide a more intuitive operation status of 483 the gearbox, reduce false alarms, and provide an important 484 reference for staff. 485 V. CONCLUSION 486 In this paper, we propose a gearbox condition monitoring 487 method based on the KNN algorithm and ensemble strategy. 488 The method is validated by SCADA data collected from a 489 WT. With the results of the experiments, we can safely reach 490 the following conclusions: 491 (1) With an increase in the number of training samples, the 492 estimation accuracy of the KNN algorithm is improved, but 493 when it is expanded to a certain scale, its estimation accuracy 494 is improved slowly. 495 (2) With an increase in the number of individual learners, 496 the estimation accuracy of the ensemble learning model is 497 improved, and the time only increases linearly. When the 498 estimation accuracy is similar, the integrated learning model 499 may have higher operational efficiency. (3) The ensemble KNN model combined with SPC 500 technology can realize the condition monitoring of WT 501 gearboxes, and the health rate calculation method based on 502 the sliding window method is more suitable for the actual site. 503 REFERENCES 504 [1] C. Zou, B. Xiong, H. Xue, D. Zheng, Z. Ge, Y. Wang, L. Jiang, S. Pan, 505 and S. Wu, ‘‘The role of new energy in carbon neutral,’’ _Petroleum Explor._ 506 _Develop._, vol. 48, no. 2, pp. 480–491, Apr. 2021. 507 [2] _Global Wind Report 2021: Wind Energya¸ŕ Role on the Road to Net Zero,_ 508 _Global Wind Energy Council_ . Accessed: Jan. 20, 2021. [Online]. Available: 509 https://gwec.net/global-offshore-wind-report-2021/ 510 [3] L. Jiang, D. Xiang, Y. F. Tan, Y. H. Nie, H. J. Cao, Y. Z. Wei, 511 D. Zeng, Y. H. Shen, and G. Shen, ‘‘Analysis of wind turbine Gearbox’s 512 environmental impact considering its reliability,’’ _J._ _Cleaner_ _Prod._, 513 vol. 180, pp. 846–857, Apr. 2018. 514 [4] J. Zhou, S. Roshanmanesh, F. Hayati, V. J. Junior, T. Wang, S. Hajiabady, 515 X. Y. Li, H. Basoalto, H. Dong, and M. Papaelias, ‘‘Improving the reliabil- 516 ity of industrial multi-MW wind turbines,’’ _Insight-Non-Destructive Test._ 517 _Condition Monitor._, vol. 59, no. 4, pp. 189–195, Apr. 2017. 518 [5] S. Koukoura, J. Carroll, A. McDonald, and S. Weiss, ‘‘Comparison of 519 wind turbine gearbox vibration analysis algorithms based on feature 520 extraction and classification,’’ _IET_ _Renew._ _Power_ _Gener._, vol. 13, no. 14, 521 pp. 2549–2557, 2019. 522 [6] S. Sheng, ‘‘Monitoring of wind turbine gearbox condition through oil 523 and wear debris analysis: A full-scale testing perspective,’’ _Tribol. Trans._, 524 vol. 59, no. 1, pp. 149–162, 2016. 525 [7] A. Heydari, D. A. Garcia, A. Fekih, F. Keynia, L. B. Tjernberg, and 526 L. De Santoli, ‘‘A hybrid intelligent model for the condition monitoring 527 and diagnostics of wind turbines gearbox,’’ _IEEE_ _Access_, vol. 9, 528 pp. 89878–89890, 2021. 529 [8] J. P. Salameh, S. Cauet, E. Etien, and A. Sakout, ‘‘Gearbox condition 530 monitoring in wind turbines: A review,’’ _Mech._ _Syst._ _Signal_ _Process._, 531 vol. 111, pp. 251–264, Oct. 2018. 532 [9] J. Tautz-Weinert and S. J. Watson, ‘‘Using SCADA data for wind turbine 533 condition monitoring—A review,’’ _IET_ _Renew._ _Power_ _Gener._, vol. 11, 534 no. 4, pp. 382–394, 2017. 535 [10] J. Fu, J. Chu, P. Guo, and Z. Chen, ‘‘Condition monitoring of wind turbine 536 gearbox bearing based on deep learning model,’’ _IEEE_ _Access_, vol. 7, 537 pp. 57078–57087, 2019. 538 [11] X. Jin, Z. Xu, and W. Qiao, ‘‘Condition monitoring of wind turbine 539 generators using SCADA data analysis,’’ _IEEE_ _Trans._ _Sustain._ _Energy_, 540 vol. 12, no. 1, pp. 202–210, Jan. 2021. 541 [12] X. Liu, J. Du, and Z. S. Ye, ‘‘A condition monitoring and fault isolation 542 system for wind turbine based on SCADA data,’’ _IEEE_ _Trans._ _Ind._ 543 _Informat._, vol. 18, no. 2, pp. 986–995, Feb. 2022. 544 [13] D. Zhang, L. Qian, B. Mao, C. Huang, B. Huang, and Y. Si, ‘‘A data- 545 driven design for fault detection of wind turbines using random forests and 546 XGboost,’’ _IEEE Access_, vol. 6, pp. 21020–21031, 2018. 547 548 [14] Z. Luo, C. Liu, and S. Liu, ‘‘A novel fault prediction method of wind turbine 549 gearbox based on Pair-Copula construction and BP neural network,’’ _IEEE_ 550 _Access_, vol. 8, pp. 91924–91939, 2020. 551 [15] H. S. Dhiman, D. Deb, J. Carroll, V. Muresan, and M.-L. Unguresan, 552 ‘‘Wind turbine gearbox condition monitoring based on class of support 553 vector regression models and residual analysis,’’ _Sensors_, vol. 20, no. 23, 554 p. 6742, Nov. 2020. 555 [16] H. Dhiman, D. Deb, S. M. Muyeen, and I. Kamwa, ‘‘Wind turbine gearbox 556 anomaly detection based on adaptive threshold and twin support vector 557 machines,’’ _IEEE Trans. Energy Convers._, vol. 36, no. 4, pp. 3462–3469, 558 Dec. 2021. 559 [17] T. Cover and P. Hart, ‘‘Nearest neighbor pattern classification,’’ _IEEE_ 560 _Trans. Inf. Theory_, vol. IT-13, no. 1, pp. 21–27, Jan. 1967. 561 [18] C. J. Ma and Z. S. Ding, ‘‘Improvement of k-nearest neighbor algorithm 562 based on double filtering,’’ in _Proc. 5th Int. Conf. Mech., Control Comput._ 563 _Eng. (ICMCCE)_, Dec. 2020, pp. 1567–1570. 564 [19] X. Dong, Z. Yu, and W. Cao, ‘‘A survey on ensemble learning,’’ _Frontiers_ 565 _Comput. Sci._, vol. 14, pp. 241–258, Apr. 2020. 566 [20] Breiman, ‘‘Bagging predictors, machine learning research: Four current 567 directions,’’ _AIM Mag._, vol. 6, no. 18, pp. 97–136, 1997. 568 [21] M. Park, S. Lee, S. Hwang, and D. Kim, ‘‘Additive ensemble neural 569 networks,’’ _IEEE Access_, vol. 8, pp. 113192–113199, 2020. 570 [22] Z.-H. Zhou and Y. Jiang, ‘‘NeC4.5: Neural ensemble based C4.5,’’ _IEEE_ 571 _Trans. Knowl. Data Eng._, vol. 16, no. 6, pp. 770–773, Jun. 2004. 572 [23] T. Xiao, J. Zhu, and T. Liu, ‘‘Bagging and boosting statistical machine 573 translation systems,’’ _Artif. Intell._, vol. 195, pp. 496–527, Feb. 2013. 574 [24] D. S. Holmes and A. E. Mergen, ‘‘Using SPC in conjunction with APC,’’ 575 _Qual. Eng._, vol. 23, no. 4, pp. 360–364, Oct. 2011. 576 HONGMIN ZHANG received the B.E. degree 577 from the Beijing University of Chemical Technol578 ogy, Beijing, China, in 2018. 579 She is currently working as an Engineer 580 with the Research and Development Center, 581 Guoneng Zhishen Control Technology Company 582 Ltd., China. Her current research interests include 583 wind turbine condition monitoring and fault 584 prediction. HAIMING NIU received the B.E. degree in 585 electrical automation from the Northeast China 586 Institute of Electric Power, Heilongjiang, China, 587 in 2003, and the B.S. degree in electrical automa- 588 tion from China Electric Power Research Institute, 589 Beijing, China, in 2013. 590 He is currently working as an Engineer with 591 Guoneng Zhishen Control Technology Company 592 Ltd., China. His current research interests include 593 wind turbine condition monitoring and fault 594 prediction. 595 ZENGHUI MA received the Ph.D. degree in 596 control theory and control engineering from North 597 China Electric Power University, Beijing, China, 598 in 2015. 599 He is currently a Senior Engineer with Hainan 600 Tropical Ocean University, Sanya, China. His cur- 601 rent research interests include thermal intelligent 602 control and wind turbine fault prediction. 603 SHUYAO ZHANG received the B.E. degree in 604 automation from North China Electric Power Uni- 605 versity, Baoding, China, in 2019. She is currently 606 pursuing the Ph.D. degree in control theory and 607 control engineering with North China Electric 608 Power University, Beijing, China. 609 610

섹션 본문 65문단 · 24,147자

I. INTRODUCTION

2To cope with global climate change, China has announced that it will achieve peak carbon dioxide emissions by 2030 and carbon neutrality by 2060 [1]. Therefore, clean energy power generation technology has broad development potential. As a kind of clean energy, wind energy has been widely utilized worldwide. According to the Global Wind Energy Council (GWEC)ś report [2], although the global newly installed capacity reached 93 GW in 2020, a large number of wind turbines (WTs) still need to be installed.

3With an increase in the number of wind turbines in service and the extension of operation times, the possibility of component failure also increases. According to the statistical data [3], due to the harsh operating environment and other conditions, the gearbox is the component of WTs with a high incidence of faults. Once the gearbox is damaged, problems such as high maintenance costs, complex maintenance processes, and long maintenance times due to structural constraints will ensue [4]. Therefore, it is necessary to carry out online condition monitoring (CM) of gearboxes.

4The CM of gearboxes is divided into vibration signal analysis [5], oil quality analysis [6] and supervisory control and data acquisition (SCADA) system data analysis [7] according to different signal sources. However, vibration signal analysis requires the installation of professional sensors to collect high-frequency vibration data, resulting in additional expenses. Oil quality analysis is an invasive method that cannot realize online monitoring. Presently, almost all wind turbines are equipped with the SCADA system [8], which can collect a large amount of operational and record fault data. Therefore, WTCM based on SCADA data has been widely employed by scholars.

5Since a large amount of data accumulates in the SCADA system, the data-driven method is an essential method in CM based on SCADA data [9]. Fu et al. [10] built a model based on deep learning to process the temperature of a gearbox using historical SCADA data. Jin et al. [11] mined health status-related information from SCADA data and established a Mahalanobis space as a reference space for wind turbine condition monitoring. Liu et al. [12] constructed a global monitoring statistic based on all temperature variables contained in the SCADA system to monitor the overall health status of the wind turbine. Zhang et al. [13] combined the random forest with extreme gradient boosting to establish VOLUME 4, 2016 a wind turbine fault detection framework. Luo et al. [14] proposed a SCADA data-based, online monitoring method based on a a pair-copula and BP neural network. Dhiman et al. [15] applied a SVM to WT gearbox condition monitoring and analyzed the regression residual from a statistical point of view. Dhiman et al. [16] proposed the highly reliable method of applying the TWSVM and adaptive threshold to WT gearbox anomaly detection.

6The K-nearest neighbors (KNN) algorithm is a commonly used nonparametric method that was proposed by Cover and Hart in 1968 [17]. The KNN algorithm does not need to train a model in advance and is often selected to solve regression and classification problems. The operating environment and operating parameters of WTs are complex and changeable. The models trained by conventional parametric methods, such as neural networks and Bayesian methods, may have poor flexibility and encounter the problem of model mismatch. The KNN algorithm does not need to train the model in advance and only needs to update the training set in time to obtain the optimal estimation effect; thus, it is suitable for WTCM.

7However, when the number of training samples is large, the KNN algorithm is bound to cause a vast amount of time overhead and to reduce the operation efficiency when calculating the Euclidean distance between the test sample and all training samples. Scholars have performed many studies on how to reduce the loss of operation accuracy while improving the computational efficiency of the KNN algorithm [18].

8Ensemble learning constructs and combines multiple learners to complete learning tasks, which can often obtain generalization performance with significant advantages over a single learner [19]. Ensemble systems have prove n to be very effective and extremely versatile in a broad spectrum of problem domains and real-world applications. Bagging is the most famous representative of the parallel ensemble learning strategy [20]. Bagging can be combined with almost any learning algorithm to form an ensemble learning system, such as a neural network [21] or decision tree [22].

9To solve the problem of slow operation caused by an excessively large training set of KNNs, a condition monitoring method based on the bagging ensemble strategy and the KNN regression method is proposed in this paper. The training set is randomly sampled based on bagging to construct multiple KNN individual learners. With an increase in the number of individual learners, the ensemble system will become more complex, the estimation accuracy will increase, and the calculation time will remain at the same order of magnitude.

10The SCADA data collected from a WT are used to validate the feasibility of the industrial application of the proposed approach. The results show that the proposed method can realize gearbox CM and provide health rate indicators.

11The remainder of this paper is organized as follows: Section II presents the framework of the ensemble KNN method. Section III gives a detailed description of the KNN algorithm, bagging ensemble strategy and SPC technology. Section IV shows the results of experiments to validate the proposed FIGURE 1. NBM monitoring with the input u(t) for both the process G(t) and its modelĜ(t) , their outputs y(t) andŷ(t) , respectively, and the final error or residual e(t) .

12method. The experimental results are summarized, and the conclusions are given in Section V.

A. NORMAL BEHAVIOR MODELING STRATEGY

13Normal behavior modeling (NBM) is a condition monitoring method based on the SCADA data-driven method [23]. Because the collected field data often have no distinct label, we cannot use the classification algorithm to detect the specific fault of the equipment. The NBM method based on SCADA data can use the unlabeled operation data to monitor the statuses of the target variables in which we are interested. The framework of the NBM is shown in Fig. 1.

14We will describe the NBM in detail. First, aiming at the target variable, a model is established by using the historical, collected, normal SCADA data, which is usually a datadriven algorithm model. Second, the real-time SCADA data are input into the model to obtain the estimated value of the target variable, which represents the real-time value if the equipment is in normal operation. Last, the residual between the estimated value and the observed value is calculated. The residual represents the current deviation of the target variable from the normal operation.

B. THE PROPOSED FRAMEWORK OF ENSEMBLE KNN METHOD

15As shown in Fig. 2, the proposed WTCM, ensemble KNN method can be divided into three parts: data preprocessing, offline ensemble model establishment and online monitoring. The specific steps are described as follows:

16(1) Data preprocessing: First, to obtain the normal available data, the missing data and abnormal data in the original data are deleted according to the relevant technical documents. Second, the relevant operating parameters are selected as the target variable and auxiliary variables. Among them, the target variable is the variable that we want to monitor, and the auxiliary variables are the operating parameters that are closely related to the target variable. Last, the normal data are determined and normalized.

17(2) Offline ensemble model establishment: Since the KNN algorithm does not need to be trained in advance, it only needs to randomly sample the training set n times to establish the ensemble KNN learner. The threshold is calculated based on SPC technology and the verification set.

18(3) Online monitoring: The real-time SCADA data are input as the testing sample into the ensemble model to obtain the estimated valueŷ(t) of the target variable and to calculate the residual e(t) betweenŷ(t) and the observed value y(t) of the testing sample. Next, e(t) is compared with the threshold, and the health rate of the gearbox is calculated according to the sliding window method.

A. KNN REGRESSION ALGORITHM FOR CONDITION MONITORING

19The basic principle of the KNN regression algorithm is described as follows: when the target variable of the testing sample is unknown, obtain the K nearest neighbors of the testing sample, and take the average value of the target variable of the K nearest neighbors as the estimated value of the target variable of the testing sample. Therefore, the essence of the regression problem is the prediction problem. The difference is that in the condition monitoring, the target variables of the testing samples can be actually measured, so the distance measurement formula of the KNN regression algorithm can be improved. The calculation is detailed as follows:

20For a testing sample x = (x 1 , x 2 , ..., x m , y) T (y is the target variable) (1) Calculate the Euclidean distance between x and the training sample x j = (x 1j , x 2j , ..., x mj , y j ) T :

21where d j (x, x j ) is the Euclidean distance between x and x j .

22(2) Sort the Euclidean distance in descending order, identify K training samples closest to x and record them as x

23The estimated value of the testing sample's target variable is expressed as follows:ŷ

24To further improve the accuracy of the algorithm, the"weighted method" can be employed instead of the "average method". In this paper, the nearest neighbor samples closer to the testing sample will be assigned a large weight, and the nearest neighbor samples further from the testing sample will be assigned a smaller weight. The formula of the weighted KNN (wKNN) is expressed as follows:

25where w p is the weight of the p-th nearest neighbor, D (K) 1+K−p is the Euclidean distance between x and its 1 + K − p-th neighbor, and D (K) is the sum of the Euclidean distances between x and its neighbors. According to the specific steps of the KNN algorithm, the time consumption of the KNN algorithm is only related to the size of the training set; the calculation time is linear with the size of the training set; its time complexity is O(n); and n is the number of training samples.

B. KNN ALGORITHM WITH BAGGING STRATEGY

26The general structure of ensemble learning is to generate multipleąřindividual learnersąś and then combine them through a selected strategy. The common strategies are boosting, bagging and stacking [24]. Boosting is a serial iterative structure, with a strong dependence among individual learners. Stacking is a hierarchical structure. To avoid overfitting, individual learners are required to be heterogeneous.

27The bagging ensemble strategy is a parallel strategy. All homogeneous learners are interdependent. By randomly changing the distribution of the training sets, new training subsets are generated, and individual learners are trained. The steps of the KNN regression algorithm with the bagging strategy are presented as follows:

28Let the number of individual learners be b, and let the number of training samples for each individual learner be n b , generally n b ≤ n. (1) The original training set is randomly sampled b times to form b KNN-based training subsets.

29(2) A KNN individual learner is trained based on each training subset, and then these KNN learners are combined. When combining the individual learners, the simple voting method is utilized for the classification task, and the simple average method is employed for the regression task.

30As previously mentioned, the time complexity of the KNN learner is O(n b ), so the time complexity of the bagging ensemble KNN algorithm is b(O(n b ) + O(s)). Generally, the voting/average complexity s is very small, and b is generally a small constant, so the complexity of the conventional KNN algorithm and bagging integrated KNN algorithm has the same order of magnitude.

C. THRESHOLD SETTING METHOD

31The output of condition monitoring is often a continuous value, but we cannot judge whether the gearbox is faulty according to the continuous output, so we need to convert the condition monitoring result into a binary output by setting the threshold. If the residual exceeds the threshold, the gearbox will have a high probability of abnormality at this time. In this paper, statistical process control (SPC) is selected as the method to use to set the threshold.

32SPC is a process monitoring method based on statistical theory that can be applied to involve the alarm threshold in WTCM [24]. Because the gearbox often shows overheating faults, this paper mainly discusses how to set the upper limit of the alarm. The detailed method is expressed as follows:

33Assuming random variable X(µ, σ 2 ), according to the relevant theory of normal distribution, the probability of random variable X falling in the interval −∞, µ + 1.645σ] and −∞, µ + 1.282σ] are expressed as follows:

34If the value of X continually exceeds the above range, the operation process will be affected by abnormal factors and fails. Therefore, the overheating and warming threshold can be designed according to the normal distribution of µ and σ.

35In practical applications, the sample meanX and sample standard deviation S are employed to replace µ and σ of the normal distribution. The formula is presented as follows:

36where e l is the residual of the observed value and estimated value and n is the number of testing samples.

37The formula of the threshold can be defined as follows:

38where T 1 is the first alarm threshold and T 2 is the second alarm threshold.

39If the gearbox oil temp continuously exceeds the threshold, a significant failure of the gearbox will occur at this time. Hierarchical thresholds can realize hierarchical alarms in industrial applications and provide different fault tolerances for industrial applications.

A. DATA DESCRIPTION

40The SCADA data used in this paper to verify the effectiveness of the proposed method in this paper are obtained from an onshore WT in Hebei Province, China. The main characteristic parameters of the WT are listed as follows: the related power is 2 MW; the related wind speed is 12 m/s; the cut-in wind speed is 4 m/s; the cut-off wind speed is 25 m/s and the SCADA system sample interval is 10 mins. The fault type is gearbox bearing overheating.

B. DATA PREPROCESSING

41The unavailable data in historical SCADA data are deleted, including the following data: missing data, data with active power less than or equal to zero, data with wind speeds less than the cut-in speed, and data with wind speeds greater than the cut-off wind speed. The samples with abnormal operating parameters are removed based on the Laida criterion; 14,000 samples remain.

42There are dozens of characteristic parameters in SCADA system. Firstly, eight variables are roughly selected and their Pearson correlation coefficients with gearbox bearing temperature are calculated: wind speed, generator speed , ambient temp, active power, impeller speed, wind direction angle and reactive power . The range and Pearson correlation coefficient of selected variables is shown in Tab. 1. It can be seen from table 1 that there is a strong positive correlation between bearing temperature and wind speed, generator speed and active power, which is in line with the normal characteristics that the increase of wind speed leads to the increase of rotating speed and load of impeller, generator and other equipment, and then the increase of gearbox bearing temperature. Wind direction angle is closely related to pitch and yaw system, reactive power and grid connection process. They have little impact on gearbox, so the correlation is poor. Although the correlation between bearing temperature and ambient temperature is general, when the power and wind speed are the same, the difference of ambient temperature will also lead to great differences in the operation state of the unit, which needs to be referred to in condition division and condition monitoring. Combined with the above analysis, it is determined that the auxiliary variables are wind speed, generator speed, impeller speed, ambient temperature and active power.

43Normalize the samples to avoid dimensional influence. The formula is presented as follows:

44where x is the raw data, x min is the minimum of the corresponding parameter, and x max is the maximum of the corresponding parameter.

45We select No. 1-6,000 samples as the training samples to establish the ensemble model and designate No. 6,001-7,000 samples as the verification samples to select various parameters of the ensemble model and to design the alarm threshold. Samples No. 6,001-14,000 are taken as testing samples to monitor the condition of the gearbox.

C. PERFORMANCE ANALYSIS OF MODEL

46This section will compare the performance of the conventional KNN model and ensemble model. The running environment of the program is MATLAB R2019a; the CPU model is Intel i7-10710U; and the RAM is 16G.

47The performance of the conventional KNN model is analyzed, and the influence of the number of training samples on the conventional KNN model is discussed (K = 10).

48Starting from the last 500 samples as the training set, expand the training set by increasing 500 samples each time from back to front according to the chronological relationship; construct the training set of conventional KNN; and test based on the verification set. In this paper, the root mean square error (RMSE) is utilized as the error function to evaluate the estimation accuracy of the model; its formula is shown as follows:

49where y i is the observed value of the target variable andŷ i is the estimated value of the target variable. The RMSE and operation time are shown in Fig. 4. First, the above figure is analyzed in terms of estimation accuracy. With an increase in the number of training samples, the RMSE shows a downward trend. When the number of training samples is less than 2,000, the decline rate of the RMSE increases. When the number of training samples exceeds 2,000, the decline rate of the RMSE decreases. From the aspect of running time, although the time fluctuates slightly during the running process, it increases linearly with an increase in the number of training samples, which is consistent with the previously mentioned law of the KNN algorithm.

50Second, the performance of the ensemble KNN model is investigated. Set the number of training samples of individual learners to 500, set the number of individual learners to 1-12 and establish 12 ensemble KNN models. Because the bagging ensemble model exhibits randomness in sampling, 50 repeated experiments are carried out for each model. The RMSE obtained from the experimental results is shown in the box diagram of Fig. 5.

51As shown in Fig. 5, with an increase in the number of individual learners, the overall box of the ensemble KNN model shows a tightening trend, indicating that the larger is the number of individual learners, the more complex the ensemble model, and the better its stability.

52Simultaneously, the median (Q2) of the RMSE tends to decrease with an increase in the number of individual learners. When the number of individual learners is less than 4, VOLUME 4, 2016 Next, we will use the proposed KNN method, conventional KNN method, CNN and LSTM to perform an experiment on the verification set and to compare the program running time and estimation accuracy. The specific parameter settings of the above methods are listed as follows (the training sample (1) CNN: The size of the 2DCNN convolution kernel is set to 3×3; the number is set to 16; the ReLU activation function is applied the number of epochs is set to 20; and the learning rate is 0.005.

53(2) LSTM: The input layer time step of LSTM is set to 6; the output is set to 6; the sigmoid activation function is employed; the learning rate is set to 0.005; epochs are set to 20; the loss function is the average absolute error MAE; and the Adam optimizer is utilized to update the network weight.

54As shown in Tab. 3, when the total number of training samples is constant, the time consumed by the conventional KNN and ensemble KNN is basically constant, the CNN and LSTM consumed a substantial amount of time in the training process, and the estimation time is longer than that of the two KNN methods. In terms of estimation accuracy, the ensemble KNN has advantages over the other three methods.

D. CONDITION MONITORING OF GEARBOX

55This section will monitor the condition of the gearbox using the previously verified ensemble model and 8,000 testing samples. The number of individual learners is 3, and the training sample of each individual learner is 500.

56First, the alarm threshold is set according to the verification set. TheX of the residuals of the ensemble model on the verification set is -0.0023, and S is 0.0154. According to (9) and (10), the first alarm threshold is 0.0176, and the second alarm threshold is 0.0232. Fig. 6 shows the condition monitoring results and two-level alarm threshold of the testing samples. It is worth mentioning that the difference between the two-level thresholds in this paper is small, which can explain why the estimation accuracy of the method proposed in this paper is high.

57The figure shows that the residuals of the first 2,500 samples do not continually or greatly exceed the threshold, indicating that the gearbox is still in normal operation at this time. After approximately 2,500 points, the residual of the sample significantly and continuously exceeds the threshold value, indicating that the gearbox state is abnormal at this time.

58Due to the harsh environment or sensor failure, the residual may exceed the alarm threshold under the normal condition of the gearbox. To avoid false alarms, we stipulate that when 4 consecutive intervals (40 mins) are detected to exceed the threshold, an alarm will be triggered. The alarm condition is shown in Fig. 7.

59However, the residual sequence has the characteristics of frequent fluctuation, which is not conducive to the intuitive judgment of the operation state of the gearbox. Therefore, we define a health rate based on the sliding window method to improve the condition monitoring process of the gearbox.

60If the length of the sliding window is M and the number of samples below the alarm threshold in one window is N , then for the first alarm threshold T 1 and second alarm threshold T 2 , the first health rate R 1 and second health rate R 2 can be defined as:

61In this section, M = 1, 000. The health rate of the gearbox is shown in Fig. 8.

62The health rate curve shows that at approximately the first 1,500 windows, the health rate of the gearbox remains stable and high, and the two-level health rates remain approximately 100%. After the 1,500th window, the health rate began to decline, and at approximately the 2,500th window, the health rate fell to the first trough. After the health rate fluctuates, it reaches the lowest value after the 4,500th sliding window. The first health rate is below 70%, and the minimum second health rate is approximately 80%, indicating that the operation state of the gearbox is unstable and has failed. Thus, the health rate of the gearbox is always low. The health rate curve can provide a more intuitive operation status of the gearbox, reduce false alarms, and provide an important reference for staff.

V. CONCLUSION

63In this paper, we propose a gearbox condition monitoring method based on the KNN algorithm and ensemble strategy. The method is validated by SCADA data collected from a WT. With the results of the experiments, we can safely reach the following conclusions:

64(1) With an increase in the number of training samples, the estimation accuracy of the KNN algorithm is improved, but when it is expanded to a certain scale, its estimation accuracy is improved slowly.

65(2) With an increase in the number of individual learners, the estimation accuracy of the ensemble learning model is improved, and the time only increases linearly. When the estimation accuracy is similar, the integrated learning model may have higher operational efficiency.

66(3) The ensemble KNN model combined with SPC technology can realize the condition monitoring of WT gearboxes, and the health rate calculation method based on the sliding window method is more suitable for the actual site.

참고문헌 22건

  1. Bagging and Boosting statistical machine translation systems Artificial Intelligence · Elsevier BV · 2012 10.1016/j.artint.2012.11.005
  2. Using SPC in Conjunction with APC Quality Engineering · Taylor & Francis · 2011 10.1080/08982112.2011.602941
  3. Nearest neighbor pattern classification IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 1967 10.1109/tit.1967.1053964
  4. NeC4.5: neural ensemble based C4.5 IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 2004 10.1109/tkde.2004.11
  5. Monitoring of Wind Turbine Gearbox Condition through Oil and Wear Debris Analysis: A Full-Scale Testing Perspective Tribology Transactions · Taylor & Francis · 2015 10.1080/10402004.2015.1055621
  6. Using SCADA data for wind turbine condition monitoring – a review IET Renewable Power Generation · Institution of Engineering and Technology · 2016 10.1049/iet-rpg.2016.0248
  7. Improving the reliability of industrial multi-MW wind turbines Insight - Non-Destructive Testing and Condition Monitoring · British Institute of Non-Destructive Testing · 2017 10.1784/insi.2017.59.4.189
  8. Analysis of wind turbine Gearbox's environmental impact considering its reliability Journal of Cleaner Production · Elsevier BV · 2018 10.1016/j.jclepro.2018.01.078
  9. A Data-Driven Design for Fault Detection of Wind Turbines Using Random Forests and XGboost IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2818678
  10. Gearbox condition monitoring in wind turbines: A review Mechanical Systems and Signal Processing · Elsevier BV · 2018 10.1016/j.ymssp.2018.03.052
  11. Condition Monitoring of Wind Turbine Gearbox Bearing Based on Deep Learning Model IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2912621
  12. Comparison of wind turbine gearbox vibration analysis algorithms based on feature extraction and classification IET Renewable Power Generation · Institution of Engineering and Technology · 2019 10.1049/iet-rpg.2018.5313
  13. A survey on ensemble learning Frontiers of Computer Science · Higher Education Press · 2019 10.1007/s11704-019-8208-z
  14. Condition Monitoring of Wind Turbine Generators Using SCADA Data Analysis IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2020 10.1109/tste.2020.2989220
  15. A Novel Fault Prediction Method of Wind Turbine Gearbox Based on Pair-Copula Construction and BP Neural Network IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2994077
  16. Additive Ensemble Neural Networks IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3003748
  17. Wind Turbine Gearbox Condition Monitoring Based on Class of Support Vector Regression Models and Residual Analysis Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20236742
  18. A Condition Monitoring and Fault Isolation System for Wind Turbine Based on SCADA Data IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tii.2021.3075239
  19. The role of new energy in carbon neutral Petroleum Exploration and Development · Elsevier BV · 2021 10.1016/s1876-3804(21)60039-3
  20. Wind Turbine Gearbox Anomaly Detection Based on Adaptive Threshold and Twin Support Vector Machines IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2021 10.1109/tec.2021.3075897
  21. Improvement of k-nearest neighbor algorithm based on double filtering 2019 4th International Conference on Mechanical, Control and Computer Engineering (ICMCCE) · 2020 10.1109/icmcce51767.2020.00343
  22. A Hybrid Intelligent Model for the Condition Monitoring and Diagnostics of Wind Turbines Gearbox IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3090434