Libraries and Learning Services
University of Auckland Research Repository, ResearchSpace
Version
This is the Accepted Manuscript version. This version is defined in the NISO recommended practice RP-8-2008 http://www.niso.org/publications/rp/
Suggested Reference
Naik, C., Hafiz, F., Swain, A., & Kar, A. K. (2016). Classification of power quality events using wavelet packet transform and extreme learning machine. In 2016 IEEE
2nd Annual Southern Power Electronics Conference (SPEC) (pp. 6 pages). New York,USA: IEEE. doi:10.1109/SPEC.2016.7846169
Copyright
Items in ResearchSpace are protected by copyright, with all rights reserved, unless otherwise indicated. Previously published items are made available in accordance with the copyright policy of the publisher.
© 2016 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
For more information, see General copyright, Publisher copyright.
Classification of Power Quality Events using Wavelet Packet Transform and Extreme Learning Machine
Chirag Naik∗, Faizal Hafiz†, Akshya Swain† and A. K. Kar‡
∗Sarvjanik College of Engineering & Technology,Gujarat, India.
Email: [email protected]
†Department of Electrical & Computer Engineering, The University of Auckland, Auckland, New Zealand Email: [email protected], [email protected]
‡Department of Electrical Engineering, Unitec Institute of Technology, Auckland, New Zealand Email: [email protected]
Abstract—A novel method of classifying Power quality (PQ) events using Wavelet Packet Transform (WPT) and Extreme Learning Machines (ELM) has been proposed. In recent times, the power quality has been a major research concern due to changing regulations, liberalized distribution market and increased use of power electronic based equipment. The first step of any remedial action requires proper identification of PQ events. One of the major challenge of this event identification is to extract significant features from the limited measurements, which can subsequently be used for the classification. Therefore, in the present study Wavelet Packet Transform (WPT) has been used to obtain several mathematical features. These features can segregate both single and simultaneous PQ event occurrences.
Further to improve the classification performance, the ELM based classifier has been used. This classifier significantly re- duces the training time by many-fold. The performance of the proposed approach has been compared with ANN based classifier considering over 1000 PQ signals from various PQ events. The results of the simulation demonstrate that the proposed approach can achieve over 99% classification accuracy.
Keywords—Classification; power quality; signal processing;
power distribution; extreme learning machines I. INTRODUCTION
The power quality (PQ) has become a major concern for the utilities in the past few years with the changing landscape of the electrical power utilization. Especially, the increasing use of electronic equipment and consequent many-fold rise in non-linear loads have made the maintenance of PQ a challenging task. The partial or complete failure of sensitive equipment, data processing errors and data losses are some of the detrimental effects caused by poor PQ. Further, the revised regulations and liberalization of distribution market have highlighted the importance of maintaining good PQ [1].
The consumer load is the major factor which contributes to the PQ deterioration in the changed load scenario. At the same time, the utility operations such as load switching, fault clearing, maintenance activities also contribute to PQ deterioration. Hence, the responsibility of maintaining good PQ must be shared by, both, utility and its consumers.
The remedial actions for PQ improvement can only be initiated, if the nature the PQ disturbances, their impact on overall PQ and the frequency of their occurrence is correctly monitored [2]. Hence, the identification of PQ disturbance through classification is essential before taking any remedial
action [3]–[5]. For this purpose, the IEEE 1159-2009 standard broadly defines the different PQ disturbances [6] such as voltage sag, voltage swell, interruptions, harmonics, oscillatory and impulsive transients on the basis of their magnitude, duration and spectral content.
The major challenge of the PQ classification is to identify wide variety of PQ disturbances from limited measurements.
However, it is not possible to classify PQ disturbance/event directly from the acquired signals owing to wide variations in frequency (from fundamental to several kHz), duration (few cycles to several seconds) and magnitude. To overcome this problem, usually several mathematical features are de- rived from the acquired PQ signals through suitable signal processing technique [7]–[9]. Over the years, several signal processing techniques such as Fourier Transform (FT), Short time Fourier transform (STFT), Wavelet Transform (WT) and Wavelet packet transform (WPT) have been utilized for the feature extraction.
The Fourier Transform (FT) is suitable for the analysis of stationary harmonics, and has been used quite effectively for harmonic analysis. However, FT completely transforms the amplitude- time representation to magnitude-frequency representation. In both representations; either time or fre- quency information is lost. For this reason, FT is not suitable for the analysis of non-stationary PQ disturbances [10]. The windowed version of FT, Short time Fourier transform (STFT), can retrieve both time and frequency information. However, due to fixed window width, the time resolution is compromised [11]. The Wavelet Transform (WT) is capable of fetching both time and frequency information. For this reason, most of the recent approaches [8], [12]–[14] rely on WT. In this work, a variant of WT, Wavelet packet transform (WPT), has been used to extract the mathematical features from the PQ signals.
To classify the PQ events using extracted features any intelligent classifier can be used, considering the extracted features as pre-cursors and PQ event type as outputs. e.g., Artificial Neural Networks (ANN) [15], [16], Fuzzy Logic Controllers [17], Support Vector Machines (SVM) [18], Rule- Based systems [19], Hidden Markov models [20] etc.
Note that the overall classification accuracy is dependent on both, extracted features and classifier. Hence, to effectively classify/identify the PQ events it is essential to combine effective distinguishing features with a robust classifier. For
this purpose in this work, ten mathematical features extracted using WPT have been proposed. The proposed features can be used as pre-cursors to any intelligent classifier for the final classification. For this purpose, the present study pro- poses the use of Extreme Learning Machine (ELM) [21]–[24].
The extreme learning machine is in essence a Single-hidden Layer Feed-forward Network (SLFN), with simplified yet quite effective learning algorithm. The use of ELM as a classifier enables significant reduction in training time while maintaining higher classification accuracy. To evaluate the effectiveness of the proposed, WPT-ELM approach, test data sets containing more than 1000 signals were derived following the definitions of IEEE 1159-2009. Further, the performance of ELM is compared with ANN using the proposed mathematical features on single and multiple simultaneous disturbances. The rest of the article is organized as follows; proposed feature extraction technique using WPT is explained in Section II. The ELM based classifier is briefly explained in Section III. The results are illustrated in Section IV with conclusions in Section V.
II. THEWAVELETPACKETTRANSFORM
The acquired PQ signals are time domain signals which give amplitude-time representation. WT can simultaneously fetch both, time and frequency, information necessary for the feature extraction. However, the complex computation involved with the WT often makes it unfeasible for the practical applications. The discrete wavelet transform (DWT) reduces the computational complexity of WT and hence, utilized in many PQ analysis. Note that the signal processing technique used in this work i.e. WPT, is essentially an extension of DWT.
In both, DWT and WPT, the signals are decomposed at several levels. At each level, signals are decomposed by half frequency high pass and low pass filter. The output signals from the high-pass filter are referred to as details, cDj and the same from the low-pass filter as approximations, cAj, respectively. At every level of decomposition the signal is down-sampled by a factor of 2. In DWT at each level approximations, cAj are discarded and only details, cDj are passed to the next level for further decomposition. On the other hand, in WPT both details and approximations are preserved and analyzed at each level of decomposition. Thus, WPT can simultaneously analyze both high and low frequency content of the time series. This is desirable as voltage sag, swell and interruptions are related with low frequencies while
Fig. 1: WPT algorithm with three level of decomposition
TABLE I: CLASS OFPQ EVENTS Class PQ Disturbance
1 Pure
2 Voltage Sag 3 Voltage Swell 4 Interruption
5 Harmonics
6 Oscillatory transients 7 Sag with transients 8 Swell with transients 9 Sag with harmonics 10 Swell with harmonics
oscillatory transients and harmonics contain medium and/or higher frequencies.
Fig. 1 shows the WPT algorithm with three levels of decomposition. The original PQ signal is at level (0,0). The details and approximations of the original PQ signal at the first level of decomposition are denoted as (1,0) and (1,1). At level (0,0) the sampled PQ signal is passed through first level of half band high pass and half band low pass filters to get detail cD(1,0) and approximation cA(1,1) and the process is continued further till the third level of decomposition.
III. PQSIGNALACQUISITION ANDFEATURE
EXTRACTION
The PQ disturbance signals were acquired by MATLAB simulations following the broad definitions of IEEE 1159- 2009 standards.To test the proposed technique, several multiple simultaneous disturbances were also considered, e.g., sag with harmonics, swell with harmonics, sag with transients and swell with transients. All the simulated signals were normalized with respect to 100 V peak to peak pure sinusoidal signal.
The simulated disturbances are illustrated in Fig. 2. For each disturbance class shown in Table I, several cases were sim- ulated following IEEE 1159. For example, several cases of voltage sag varying from (10%-90%) in magnitude and 1 cycle to 15 cycle in duration were included. Similarly, simulated momentary interruption varied from 1 cycle to 15 cycles. The variation in oscillatory transients was induced by using differ- ent values of capacitance from100µF to5000µF, switching instances and durations. The harmonic signals were simulated using various sources of harmonics, which include: inverters with sinusoidal pulse width modulation scheme, uncontrolled rectifier and controlled rectifiers with various firing angles.
These simulated signals were used to create a test data set containing 1152 signals which was utilized for investigating the performance of the proposed approach.
The feature extraction plays an important role in the classification. The extracted features should mathematically convey the information about the respective PQ disturbance signal. In this paper, for each PQ disturbance signal , 10 discriminating mathematical features were computed based on the WPT decomposition at different levels as shown in Table II. As seen in Fig. 3, the computed WPT based features are capable of distinguishing between the classes, although their values in some cases overlapping. This further underlines the usage of an intelligent classifier for the accurate classification
(a) (b) (c)
(d) (e) (f)
(g) (h) (i)
Fig. 2: (a) Voltage Sag signal (b) Voltage Swell signal (c) Momentary Interruption (d) Harmonics (e) Oscillatory Transient (f) Sag with Harmonics (g) Swell with Harmonics (h) Sag with Transients and (i) Swell with Transients
of the PQ events. In the next section, the proposed classifier based on ELM is explained.
IV. EXTREMELEARNINGMACHINEBASEDCLASSIFIER
An Extreme Leaning Machine (ELM), proposed by Huang et. al. [21], is in essence a Single-hidden-layer Feed-forward Network (SLFN) albeit with a simplified learning mechanism.
In conventional Neural Network (NN) learning approaches, the target function is approximated by adapting network pa- rameters (connection weights and biases of neurons) as per learning data. However, this rigid approach to adjust each network parameter is the main cause of NN’s inability to use non-differentiable activation functions and pro-longed training durations [21]–[24].
To overcome this problem, a simplified learning approach
is used for ELM. Huang et. al [21] demonstrated that it is possible to set the input weights and biases of the hidden layer neurons in SLFN without compromising its generalization capabilities. With input weights and biases to hidden layer determined randomly, only the connection weights from hidden to output layer need to be evaluated; which can be done analytically. In other words, with this learning approach only small fraction of the network parameters have to be evaluated for given learning data which leads to significant reduction in a training time and a better generalization capability for unseen test data.
The simplified learning approach for ELM can be explained by a simple problem consisting of n inputs, moutputs and N training samples. For this problem, ELM will have n and m neurons in the input and output layers. Assuming the size of
TABLE II: EXTRACTEDMATHEMATICALFEATURES THROUGHWPT DECOMPOSITION
Features F unction WPT Decomposition Level
f1 Energy
m
P
n=1
(x21+x22+· · ·+x2m) C0(0,0)
f2, f3 Minimum min
1...nxn C3(2,0), C7(3,0)
f4 Maximum max
1...nxn C1(1,0)
f5 Variance
P(x−x)2
(n−1) C10(3,3)
f6 Standard Deviation
qP (x−x)2
(n−1) C8(3,1)
f7, f8 Skew (n−1)(n−2)n P
(xjs−x)3 C6(2,3), C12(3,5) f9, f10 Kurtosis {(n−1)(n−2)(n−3)n(n+1)
P(xjs−x)4}(n−2)(n−3)3(n−1)2 C6(2,3), C11(3,4)
the hidden layer (hidden neurons) to beN˜), the output of ELM for the jthtraining sample (oj) can be given by the following equation [21], [22],
N˜
X
i=1
βigi(xj) =
N˜
X
i=1
βig(wi·xj+bi) =oj, with j= 1, . . . N, wi= [wi1, . . . , win]T and βi= [βi1. . . βim]T
(1)
where,gi(x), wiand biare the activation function, weight vector and bias of theith hidden neuron, respectively. On the basis of (1), the output of the hidden and the output layer can be represented by(2) and (3), respectively.
H =
g(w1·x1+b1) . . . g(wN˜·x1+bN˜) ... . . . ... g(w1·xN +b1) . . . g(wN˜·xN +bN˜)
N×N˜
β =
 β1T
... βNT˜
N˜×m
and T =
 tT1
... tTN˜
N×m
(2)
Hβ=O (3)
Note that, the input weights and bias of the hidden neuron (w, b) are randomly determined. Hence, output of the hidden layer (H), can be evaluated easily using (2). The next step is to determine the connection weights from hidden to the output layer (β) by solving following analytical equation [21]–[24],
Hβ=T (4)
In this work, an updated version of ELM algorithm [24], is used to evaluate β which is given by (5). The size of hidden layer,N˜, and the constant,C, in (5) were determined heuristically to be 200and215.
β=HT(I
C +HHT)−1T (5) V. RESULTS ANDDISCUSSIONS
The performance of the proposed WPT-ELM based classi- fier is evaluated using the test data containing 1152 signals. For each of the signal, ten distinguishing features were evaluated using WPT and mathematical function listed in Table II. Out of 1152 data samples, 864 samples were (75% of data) randomly selected for the training of the classifier and the remaining 288 samples were used for validation. In addition to ELM, ANN (feed-forward network with 10 hidden neurons) based classifier
(a) (b) (c)
Fig. 3: Co-relation of Extracted Features with the PQ event Classes (a) f1 andf10, (b)f4andf5, (c)f7 andf8
TABLE III: PERFORMANCE COMPARISON OF ELM AND
ANNBASEDCLASSIFIERS- I Accuracy
Time (s)
Best Mean Dev.
ELM 99.31% 98.06% 0.004 0.04 ANN 98.62% 97.22% 0.01 0.76
was also used for the performance comparison. Since, the input parameters of ELM’s hidden layer and initial parameter of ANN are selected randomly, both the classifiers were trained 25 times using the same training data. For both ELM and ANN, the architecture with the best accuracy (out of 25 runs) was further used to evaluate the performance using validation data. The results of the classifier training are listed in Table III. As expected, ELM outperforms ANN; the training time for ELM is almost 19 times less than that for the ANN. In addition, the standard deviation is comparatively less in ELM which indicates stable performance.
The prediction of classifiers for the validation data is shown in Table IV. Both the classifiers identified test instances of Class 4 - 10 with 100% accuracy. Note that PQ instances in Class 6-10 are simultaneous disturbances; 100% accuracy in identification of these instances indicates effectiveness of the extracted features. Mis-classification was observed for the PQ instances of Class 2 and 3 (Sag and Swell) albeit its very small and within acceptable limits. Note that ANN based classifier failed to identify the Class 1 events which further underlines the role of classifier in the overall performance. Overall, with WPT-ELM based approach gives classification accuracy of 99.3%.
VI. CONCLUSIONS
The Power Quality classification using on WPT-ELM com- bination is proposed. The efficacy of the proposed approach was evaluated on ten distinct, single and multiple simultaneous disturbances which were simulated following the definitions of IEEE 1159-2009 standard.Ten distinct mathematical features were extracted using WPT which can be used as pre-cursors to any classifier. To enhance the classification accuracy further, an alternate classifier based on ELM is proposed and its performance is compared with ANN based classifier. The results indicate that the simplified learning algorithm of ELM leads to significant reduction in training time while providing enhanced classification accuracy on unseen data owing to better generalization capabilities.
REFERENCES
[1] R. Billinton and Z. Pan, “Incorporating reliability index probability distributions in performance based regulation,” inElectrical and Com- puter Engineering, 2002. IEEE CCECE 2002. Canadian Conference on, vol. 1. IEEE, 2002, pp. 12–17.
[2] M. Uyar, S. Yildirim, and M. T. Gencoglu, “An expert system based on s-transform and neural network for automatic classification of power quality disturbances,”Expert Systems with Applications, vol. 36, no. 3, pp. 5962–5975, 2009.
[3] J. Zhang, A. Swain, N. K. C. Nair, and J. J. Liu, “Estimation of power quality using an unscented kalman filter,” in TENCON 2007 - 2007 IEEE Region 10 Conference, Oct 2007, pp. 1–4.
TABLE IV: PERFORMANCE COMPARISON OF ELM AND
ANNBASEDCLASSIFIERS-II
Class ELM Predictions ANN Predictions Correct Incorrect Correct Incorrect
1 100% - - 100%
2 96.9% 3.1% 93.8% 6.2%
3 97.4% 2.6% 97.4% 2.6%
4 100% - 100% -
5 100% - 100% -
6 100% - 100% -
7 100% - 100% -
8 100% - 100% -
9 100% - 100% -
10 100% - 100% -
Overall 99.3% 0.7% 98.6% 1.4%
[4] J. Zhang, A. K. Swain, and S. K. Nguang, “Parameter estimation of exponentially damped sinusoids using hsvd based extended complex kalman filter,” inTENCON 2008 - 2008 IEEE Region 10 Conference, Nov 2008, pp. 1–6.
[5] J. C. H. Peng, N. K. C. Nair, J. Zhang, and A. K. Swain, “Detection of lightly damped inter-area power oscillations using extended complex kalman filter,” inTENCON 2009 - 2009 IEEE Region 10 Conference, Jan 2009, pp. 1–5.
[6] “Recommended practice for monitoring electric power quality,”IEEE Std 1159-2009 (Revision of IEEE Std 1159-1995), pp. c1–81, June 2009.
[7] C. A. Naik and P. Kundu, “S-transform based feature for the identifica- tion of power quality disturbances,” inIndia Conference (INDICON), 2013 Annual IEEE. IEEE, 2013, pp. 1–5.
[8] ——, “Power quality index based on discrete wavelet transform,”
International Journal of electrical power & energy systems, vol. 53, pp. 994–1002, 2013.
[9] ——, “Analysis of power quality disturbances using wavelet packet transform,” in2014 IEEE 6th India International Conference on Power Electronics (IICPE), Dec 2014, pp. 1–4.
[10] C. Heydt and W. Jewell, “Pitfalls of electric power quality indices,”
IEEE Transactions on Power Delivery, vol. 13, no. 2, pp. 570–578, 1998.
[11] P. Dash, B. Panigrahi, and G. Panda, “Power quality analysis using s- transform,” IEEE transactions on power delivery, vol. 18, no. 2, pp.
406–411, 2003.
[12] Z.-L. Gaing, “Wavelet-based neural network for power disturbance recognition and classification,” IEEE transactions on power delivery, vol. 19, no. 4, pp. 1560–1568, 2004.
[13] S. Kaewarsa, K. Attakitmongcol, and T. Kulworawanichpong, “Recog- nition of power quality events by using multiwavelet-based neural networks,”International Journal of Electrical Power & Energy Systems, vol. 30, no. 4, pp. 254–260, 2008.
[14] M. Uyar, S. Yildirim, and M. T. Gencoglu, “An effective wavelet-based feature extraction method for classification of power quality disturbance signals,”Electric Power Systems Research, vol. 78, no. 10, pp. 1747–
1755, 2008.
[15] I. Monedero, C. Leon, J. Ropero, A. Garcia, J. M. Elena, and J. C.
Montano, “Classification of electrical disturbances in real time using neural networks,”IEEE Transactions on Power Delivery, vol. 22, no. 3, pp. 1288–1296, 2007.
[16] C. A. Naik and P. Kundu, “Power quality disturbance classification employing s-transform and three-module artificial neural network,”
International Transactions on Electrical Energy Systems, vol. 24, no. 9, pp. 1301–1322, 2014.
[17] M. Chilukuri and P. Dash, “Multiresolution s-transform-based fuzzy recognition system for power quality events,” IEEE Transactions on Power Delivery, vol. 19, no. 1, pp. 323–330, 2004.
[18] H. Eris¸ti and Y. Demir, “A new algorithm for automatic classification
of power quality events based on wavelet transform and svm,”Expert systems with applications, vol. 37, no. 6, pp. 4094–4102, 2010.
[19] A. Rodr´ıguez, J. Aguado, F. Mart´ın, J. L´opez, F. Mu˜noz, and J. Ruiz,
“Rule-based classification of power quality disturbances using s- transform,” Electric power systems Research, vol. 86, pp. 113–121, 2012.
[20] T. Abdel-Galil, E. El-Saadany, A. Youssef, and M. Salama, “Distur- bance classification using hidden markov models and vector quantiza- tion,”IEEE transactions on power delivery, vol. 20, no. 3, pp. 2129–
2135, 2005.
[21] G.-B. Huang, Q.-Y. Zhu, and C.-K. Siew, “Extreme learning machine:
a new learning scheme of feedforward neural networks,” inNeural Net- works, 2004. Proceedings. 2004 IEEE International Joint Conference on, vol. 2. IEEE, 2004, pp. 985–990.
[22] ——, “Extreme learning machine: theory and applications,”Neurocom- puting, vol. 70, no. 1, pp. 489–501, 2006.
[23] G.-B. Huang, L. Chen, and C. K. Siew, “Universal approximation using incremental constructive feedforward networks with random hidden nodes,” IEEE Transactions on Neural Networks, vol. 17, no. 4, pp.
879–892, 2006.
[24] G.-B. Huang, H. Zhou, X. Ding, and R. Zhang, “Extreme learning machine for regression and multiclass classification,”IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), vol. 42, no. 2, pp. 513–529, 2012.
View publication stats View publication stats