Next Article in Journal
Iron Recovery from Bauxite Tailings Red Mud by Thermal Reduction with Blast Furnace Sludge
Next Article in Special Issue
Reliability Modelling and Evaluation for LTD System Based on Load-Sharing Model
Previous Article in Journal
Analysis of the LIF/Mie Ratio from Individual Droplets for Planar Droplet Sizing: Application to Gasoline Fuels and Their Mixtures with Ethanol
Previous Article in Special Issue
Modelling and Stability Analysis of Wind Power Plants Connected to Weak Grids
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Power Quality Disturbance Recognition Using VMD-Based Feature Extraction and Heuristic Feature Selection

1
College of Mechanical Engineering, Zhejiang University of Technology, Hangzhou 310023, China
2
Key Laboratory of Special Purpose Equipment and Advanced Manufacturing Technology of Ministry of Education, Zhejiang University of Technology, Hangzhou 310024, China
3
College of Computer Science & Technology, Zhejiang University of Technology, Hangzhou 310023, China
4
Key Laboratory of Advanced Manufacturing Technology of Zhejiang Province, College of Mechanical Engineering, Zhejiang University, Hangzhou 310027, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2019, 9(22), 4901; https://doi.org/10.3390/app9224901
Submission received: 9 October 2019 / Revised: 10 November 2019 / Accepted: 11 November 2019 / Published: 15 November 2019

Abstract

:
Power quality disturbances (PQDs) have a large negative impact on electric power systems with the increasing use of sensitive electrical loads. This paper presents a novel hybrid algorithm for PQD detection and classification. The proposed method is constructed while using the following main steps: computer simulation of PQD signals, signal decomposition, feature extraction, heuristic selection of feature selection, and classification. First, different types of PQD signals are generated by computer simulation. Second, variational mode decomposition (VMD) is used to decompose the signals into several instinct mode functions (IMFs). Third, the statistical features are calculated in the time series for each IMF. Next, a two-stage feature selection method is imported to eliminate the redundant features by utilizing permutation entropy and the Fisher score algorithm. Finally, the selected feature vectors are fed into a multiclass support vector machine (SVM) model to classify the PQDs. Several experimental investigations are performed to verify the performance and effectiveness of the proposed method in a noisy environment. Moreover, the results demonstrate that the start and end points of the PQD can be efficiently detected.

1. Introduction

Currently, renewable energy, such as photovoltaic and wind energy, is increasingly integrated with power systems to respond to the global energy crisis. Distribution generation systems with high penetration and power electronic equipment with nonlinear loads cause serious power quality disturbances (PQDs). The uncertain behavior of wind energy and PV systems occurs in nonstationary disturbances due to the random variation of environmental factors [1]. Smart transmission systems that are equipped with modern power systems increase the applications of nonlinear switched devices, which exaggerate the power quality problems in distribution systems [2,3]. Furthermore, nonlinear electronic loads, switching phenomena, short circuit faults, and lightning strikes can cause power quality disturbances [4]. These disturbances are harmful to electrical equipment and they cause system faults, computer data loss, and programmable logic controller failures or malfunctions [5]. For instance, a short circuit fault or transformer energizing may result in variations of the magnitude of voltage and current waveforms, which create sag, swell, and interruption events [6]. The application of an electronic converter might lead to harmonics and notches. Voltage flickers are usually caused by arc furnaces. Transients and spikes may be caused by lightning or a sudden switching-off for large loads.
Power quality (PQ) is the ability of power systems to deliver undistorted voltage, current, and frequency signals with a set of limits of electrical properties, which permit power systems to function under expected operational conditions without a significant loss of performance or life [7]. According to the IEEE standard 1159–1995 [8], the PQD include a wide range of PQ phenomena, namely transient (impulsive and oscillatory), short duration variations (interruption, sag, and swell), frequency variations, long duration variations (sustained under voltages and sustained over voltages), and steady state variations (harmonics, notch, and flicker), with a time scale that ranges from tens of nanoseconds to steady state. The IEEE standard 1459–2010 [9] includes definitions for the measurement of electric power quantities under sinusoidal, non-sinusoidal, balanced, and unbalanced conditions. In [10], the authors presented an IEEE Std.1459 power magnitude measurement system that works as a part of a PQ improvement structure. It is essential to analyze and identify power disturbances through power quality event detection to mitigate power quality events. The effective strategy of mitigation action can be implemented to improve the quality of power systems by classifying power quality disturbances.
Various studies have focused on signal processing methods, such as Fourier Transform (FT), short time Fourier Transform (STFT), S-transform, and wavelet transform (WT), when considering that feature extraction plays an important role in power quality analysis [11,12,13]. However, Fourier Transform is effective for stationary signals, but it is not suitable for PQD detection. Meanwhile, Short Time Fourier Transform also has a limitation, as it has a fixed resolution when the time-frequency window is selected [14]. The wavelet transform has better performance under ideal conditions, but its ability to detect PQDs is reduced in a noisy background [15]. S-transform (ST) is a time-frequency analysis method that combines the WT and STFT. ST is utilized to recognize PQDs by using a flexible localizing Gaussian window. However, in [16], it shows that ST degrades when dealing with some nonstationary events, especially for transient PQDs.
Recently, empirical mode decomposition (EMD) has been widely used in PQD feature extraction due to its excellent local adaptive performance [17,18]. In [19], the authors developed a method for evaluating PQDs by utilizing EMD and the Hilbert transform. Nevertheless, EMD is sensitive to noise and sampling and it suffers from the problems of recursive calculation and mode mixing [20]. Dragomiretskiy and Zosso proposed a more robust decomposition technique, named variational mode decomposition (VMD), to overcome the drawbacks of EMD [21]. VMD decomposes a signal into several band-limited intrinsic modes by updating with Wiener filtering. Each mode has a central frequency that is gradually demodulated to the corresponding baseband. Different from EMD, the bandwidth of the VMD intrinsic modes is narrow, which can not only prevent the mode mixing problem in EMD but also accurately extract time-frequency features.
In highlighting VMD, many studies have tried to enhance its application in signal feature extraction. Fu et al. [22] proposed a VMD-based method to assess the health status of wind turbines in condition monitoring fields. Samantaray et al. [23] investigated the detection and classification method for single and mixed power quality disturbances by utilizing VMD and a decision tree. Abdoos et al. [24] adopted VMD and ST to extract the PQD features and then used sequential forward selection and sequential backward selection to eliminate the redundant features. The results demonstrated the satisfactory performance of VMD in terms of speed and accuracy.
There is still a lack of analysis of the feature extraction effect with classifier accuracy, despite the numerous studies performed in the field of PQD detection. Few studies have focused on feature selection during PQD detection. Feature selection also needs to be taken seriously since not all features are involved in PQD detection. Features with useful information the increase the accuracy of PQD classification. Meanwhile, redundant features may mislead the classifier and reduce the computational efficiency.
In this paper, a novel methodology is developed for the detection and classification of power quality disturbances in a microgrid system. Different from the method that is introduced in the reviewed studies, this proposed approach takes advantage of VMD, permutation entropy, and Fisher scoring to obtain the relevant features for classification. Specifically, VMD is utilized to decompose the obtained signal into a cluster of sub-intrinsic mode functions. Afterwards, the statistical features, such as RMS, standard deviation, and multiscale moments, are extracted from each IMF under noise-free and noisy environments. Furthermore, the permutation entropy and Fisher scoring are used to effectively identify the relevant features. Both of the two analysis methods are essential and constitute a two-stage heuristic feature selection method. Finally, an SVM classifier is implemented to identify the different types of the PQ disturbance signals through the optimized feature vectors. Experimental investigations are performed while using the proposed methodology in both a simulation model and real microgrid platform.
The main contributions of the proposed approach include the following aspects:
(1)
VMD is more capable of PQD signal decomposition when compared with wavelet packet decomposition due to its adaptive and robust characteristics, especially in dealing with recursive calculation and mode mixing problems. Additionally, the start and end points of a PQD event can be detected by using VMD and permutation entropy.
(2)
The two-stage heuristic feature selection technique consists of permutation entropy, and the Fisher score is utilized to eliminate any irrelevant features, which not only enhances the generalization capability and detection accuracy of the classifier, but also releases the computational complexity in terms of efficiency.
(3)
The proposed algorithm has sufficient flexibility under different levels of noisy environments, either for the detected sensitivity or specificity of the PQD.

2. Theoretical Background

2.1. Variational Mode Decomposition

Different from EMD, VMD is an adaptive and non-recursive method that can analyze both nonstationary and nonlinear signals. The scope of VMD decomposes a signal into band-limited sub-signals by using a non-recursive calculation method. Each decomposed sub-signal has certain sparse properties in the frequency domain. Additionally, the decomposed sub-signal is defined as the mode as well as EMD. Moreover, each sub-signal is assumed to be concentrated around a corresponding frequency centre. Thus, the bandwidth of each sub-signal can be chosen by utilizing the H1 Gaussian smoothness for the transformed signal.
VMD first utilizes the Hilbert transform to convert each mode uk into an analytical expression uk+ in a single-sided spectral domain to obtain the bandwidth of each mode function:
u k + ( t ) = ( δ ( t ) + j π t ) u k ( t )
After the Hilbert transformation, the frequency spectrum of each mode is shifted to the baseband and the corresponding estimated centre frequency ωk is adjusted by using an exponential tuned term. Subsequently, the bandwidth is estimated according to the Gaussian smoothness of the demodulated signal by utilizing the squared L2-norm of the gradient [25]. Thus, the VMD process is realized by solving a constrained variational problem [26]:
min { u k } , { ω k } { k = 1 K [ ( δ ( t ) + j π t ) u k ( t ) ] e j ω k t 2 2 } ,    s u b j e c t t o k = 1 K u k ( t ) = f ( t )
where f(t) is the target signal, {uk}: = {u1, …, uK} represents the set of the decomposed modes, and {ωk}: = {ω1, …, ωK} represents the respective centre frequencies, respectively. Subsequently, the constraint optimization problem in Equation (2) can be converted into an unconstrained problem via a quadratic penalty term and Lagrangian multipliers, as below:
L ( { u k } , { ω k } , λ ) = α k = 1 K [ ( δ ( t ) + j π t ) u k ( t ) ] e j ω k t 2 2 + f ( t ) k = 1 K u k ( t ) 2 2 + λ ( t ) , f ( t ) k = 1 K u k ( t )
To solve the original minimization problem, the alternate direction method of multipliers (ADMM) is adopted to determine the saddle point of the augmented Lagrangian in a sequence of iterative suboptimizations. [21] summarizes the details of the VMD algorithm. By this process, all of the mode functions are obtained and updated by Wiener filtering to tune the centre frequency in the spectral domain:
u ^ k n + 1 ( ω ) = f ^ ( ω ) i < k u ^ i n + 1 ( ω ) i > k u ^ i n ( ω ) + λ ^ n ( ω ) 2 1 + 2 α ( ω ω k n ) 2       ( ω > 0 ) ω k n + 1 = 0 ω | u ^ k n + 1 ( ω ) | 2 d ω 0 | u ^ k n + 1 ( ω ) | 2 d ω
The centre frequency ωkn is calculated from the weighted centre of each mode in the spectral domain: the centre represents the frequency of the least squares linear regression of the instantaneous phase. Figure 1 presents the VMD algorithm as well as Appendix A.

2.2. Permutation Entropy

Entropy is a conventional approach to indicate the degree of uncertainty for a random system in the field of information theory. As entropy increases with the degree of randomness for an observed system, it can be utilized in a quantitative analysis for feature extraction in the field of PQD detection. Permutation entropy is one of most popular entropies in signal processing [22]. The temporal information of the monitored object is recognized according to permutation entropy by counting the ordinal patterns. Permutation entropy can estimate the complexity of a time-series after comparing the neighbouring values. By definition, permutation entropy is calculated by the time-series probability density function that is based on Shannon entropy. For a time domain series with a finite length of N, {x(t)} (t = 1, 2, …, N), a segment can be constructed by an m-order dimension. Each m-order segment is then sorted in an ascending sequence that is defined as permutation pattern π. The m-order segment X is defined in Equation (5) while considering the time delay α:
X i m = { x ( i + α ( j 1 1 ) ) , x ( i + α ( j 2 1 ) ) , , x ( i + α ( j m 1 ) ) }
From practical experience, the time lag α is selected as 1 and the value m is from 3 to 7. Hence, the number of m-order permutation patterns π is the factorial of m. The relative frequency of each permutation pattern π is calculated in Equation (6):
p ( π ) = H { X i m h a s t y p e π , i | 1 , 2 , , N m + 1 } N m + 1
where H represents a number. Subsequently, permutation entropy PE(m) is calculated while using the probability density function p(π) for the relative frequency in Equation (7):
P E ( m ) = i = 1 m ! p ( π i ) log ( p ( π i ) )

2.3. Fisher Score- Based Feature Selection Method

As mentioned above, a number of features can be extracted according to the behavior of the statistical method. However, the extracted features are not all useful for the classification, which might be redundant or irrelevant. It is essential to select the significant features and discard irrelevant features to improve the accuracy of the classification. Meanwhile, low dimensionality is beneficial to simultaneously reduce the computation burden and improve the efficiency of the classification algorithm. Various methods, such as Laplacian Score, Fisher score, ReliefF, Wilcoxon rank, and Gain Ratio, are valid for feature selection.
The Fisher score is one of the most popular algorithms for ranking the priority of features [27,28]. As a supervised algorithm, the Fisher score ranks extracted features by the Fisher criterion. In this method, the extracted features can be quantified in discriminative scores for different classes. For instance, the data set {fik(1), fik (2), …fik (N)} is defined as the kth feature in the ith class. First, the mean value uik and standard deviation σ2ik of the kth feature are calculated, as follows:
u i k = 1 N p = 1 N i f i k σ i k 2 = 1 N p = 1 N i ( f i k u i k ) 2
Afterwards, the Fisher score value FSij between the ith and the jth class can be quantified, as follows:
F S i j ( k ) = k = 1 C ( f i j k u i k ) 2 k = 1 C y i k ( f i j k u i k ) 2
As observed from the Fisher score expression, a large value represents a highly relevant correlation of the kth feature between the ith and the jth classes. A larger Fisher score indicates that the corresponding feature reveals more relevant distinction between the classes. The feature has a high priority to be chosen for the training model.

3. Proposed Method

Figure 2 presents the flowchart of the proposed method. The main scheme is implemented in four steps: PQD generation in a computer simulation, feature extraction, optimization of feature selection, and pattern recognition. In this paper, the proposed algorithm is designed to classify 13 classes of different signals, which are generated as a pure sine signal, sag, swell, interrupt, harmonics, sag with harmonics, swell with harmonics, interrupt with harmonics, flicker, oscillatory transient, impulsive transient, periodic notch, and spike. Second, by utilizing VMD to decompose the target signal into several IMFs, the feature vector is extracted in the statistical analysis method. Third, permutation entropy is imported to filter the invalid IMFs. Subsequently, the Fisher score is adopted to eliminate the redundant features to optimize feature selection. Finally, the classifier is realized by SVM to recognize different PQD patterns.
The training data is generated from computer simulation with the 13 classes mentioned above. The dataset size of each class is 1000. After training, several analysis methods, such as confusion matrix and receiver operating characteristic curve, are imported to evaluate the performance of the training model, which is presented in Section 4.4. In another word, the artificial dataset of the simulation signals is utilized for the training and developed set. Additionally, the trained model will be tested on the real experimental setup to verify the effectiveness of the classifier, which is presented in Section 4.5.
As specific implementation, the data generation and preprocessing, including the VMD algorithm, is realized on the Python script in the training stage. Subsequently, the public feature extraction library, LibXtract, is integrated with the console application to extract features. Afterwards, the feature heuristic selection and classifier model is trained on the server setup in Anaconda Python. In the training stage, the fault simulator system and the data acquisition system are both integrated on the LabVIEW environment. In particular, the communication is realized by the data-logging and supervisory control (DSC) packet. Additionally, the DAQmx driver packet realizes the data acquisition system. The experimental voltage/current data in time domain is obtained and saved as csv format in files. As an alternative method, the proposed algorithm can be realized on other platforms, such as C++ and Matlab.

3.1. Computer Simulation of PQDs

In this work, a set of signals for training is artificially obtained through computer models. The artificial PQD signals consist of 10 single types, including pure a sine signal, sag, swell, interrupt, harmonics, flicker, oscillatory transient, impulsive transient, periodic notch, and spike. The multiple types consist of sag with harmonics, swell with harmonics, and interrupt with harmonics. The definition of the PQD signals with the parameter variations is based on the IEEE-1159 standard [29], as presented in Table 1. Waveform signals with 10 cycles are generated for 2000 points at a 10 kHz sampling frequency. The parameter A represents the normalized amplitude at a constant value. The parameter α represents the intensity levels of the sag, swell, and interruption. The expression u(t) denotes the time step function.
In this work, all of the studied cases are based on pure normal-class sinusoidal signals that can vary their amplitude within 10% of their ideal magnitude. Additionally, the probability of a signal containing noise must be considered. Therefore, the simulated signal is coupled with Gaussian noise contamination at different signal-to-noise ratios (SNRs) in this paper. The SNR is defined, as follows, where Ps represents the original signal power and Pn represents the noise power correspondingly.
S N R = 10 * log ( P s P n )

3.2. PQD Feature Extraction

For the recognition of different PQD patterns, it is essential to utilize a classifier to analyze the signal that is obtained from the voltage or current sensors. However, it is difficult to identify the time-series signal directly for common classification methods. As feature extraction plays an important role in the pattern recognition schemes, VMD is utilized to decompose the obtained signal into several IMFs for potential feature extraction in this paper. The sub-mode decomposed by VMD contains a specific spectrum, which can accurately trace the signal changes of the power quality. Thus, signal decomposition can effectively eliminate the impact of noise and separate the useful components in high level modes. As mentioned above, the decomposition results depend on the mode number, which is defined as K. When considering the harmonic components that exist in the PQD signal, the value of K is selected as 5. Additionally, parameter α of the data-fidelity constraint is selected as 2500 based on the experimental trial. Subsequently, by generating artificial PQD signals, the IMF is decomposed by VMD. After the decomposition, the statistical features are calculated and extracted from each mode in the time domain. Table 2 marks and lists all of the features and the corresponding labels.
With the proposed feature extraction method, the PQD signals are decomposed into five IMFs. Subsequently, the statistical feature vectors are given as the following equations, where F1, F2, …, F9 represent the feature vectors of RMS, standard deviation, variance, range, skewness, kurtosis, mean, average deviation, and permutation entropy, respectively.
F 1 = [ R M S 1 R M S 2 R M S 3 R M S 4 R M S 5 ] F 2 = [ μ 1 μ 2 μ 3 μ 4 μ 5 ] F 3 = [ σ 1 σ 2 σ 3 σ 4 σ 5 ] F 4 = [ var 1 var 2 var 3 var 4 var 5 ] F 5 = [ r a n g e 1 r a n g e 2 r a n g e 3 r a n g e 4 r a n g e 5 ] F 6 = [ K T 1 K T 2 K T 3 K T 4 K T 5 ] F 7 = [ S K 1 S K 2 S K 3 S K 4 S K 5 ] F 8 = [ σ ¯ 1 σ ¯ 2 σ ¯ 3 σ ¯ 4 σ ¯ 5 ] F 9 = [ P E 1 P E 2 P E 3 P E 4 P E 5 ]
The data must be normalized between 0 and 1 by using the min-max normalization method in Equation (12), where Zi is the normalized data, Fmax is the maximum data of the vector, and Fmin is the minimum data, respectively, since the elements of the extracted feature sets have different units.
Z i = F i F min F max F min
After normalization, the feature set F is obtained while using Equation (13).
F = [ F 1 F 2 F 3 F 4 F 5 F 6 F 7 F 8 F 9 ]

3.3. PQD Feature Heuristic Selection

The original feature vectors in high dimensions contain not only useful information, but also redundant messages. As a result, the original high dimensional feature vectors would lead to the waste of computer resources and a decrease in accuracy. In this paper, a two-stage heuristic feature selection algorithm is adopted to filter relevant features for the classification of PQDs. When considering the function of the VMD method, some decomposed IMFs may be the separated noise, which contains little useful information. As a result, it is obligatory to remove these feature vectors extracted from the useless IMFs. Further, permutation entropy is imported by estimating the time-series complexity of the obtained IMF to select IMFs. In this work, a hard threshold of permutation entropy is computed to select valid IMFs, which is set as 0.6. In other words, if the permutation entropy of the IMF is larger than 0.6, the decomposed IMF is treated as chaotic with less useful information [30].
In the second stage, the Fisher score is adopted to filter the relevant features. As described above, if the feature is highly relevant, the corresponding Fisher score is relatively large. Hence, the classification accuracy would achieve perfection. On the contrary, if the feature shows irrelevance for the classification result, the Fisher score is near zero. In this circumstance, the classifier would have poor performance. In addition, one point should be noted: the threshold selection of the Fisher’s score is very important. In this study, the threshold value of the Fisher score is set as 0.25 and Section 4.3 discusses the reason of the threshold selection.

3.4. Multiclass Classification for PQDs

After feature selection, a support vector machine (SVM) is utilized as the classifier to identify the pattern of PQDs. It is essential to adjust the strategies that are used for multiclass classification since the original SVM was designed for binary classification. When compared with binary classification problems, multi classification is more complex and it contains large datasets [31]. In this paper, the strategy “one-versus-rest” (OVR) is adopted to expand the SVM for multiclass classification. For an N-class problem, N hyperplanes are generated for N classes. When generating the ith hyperplane of the ith class, SVM treats the ith class as the positive case. Meanwhile, the rest are treated as a negative class. During the classifying process, all of the samples are required in each quadratic programming problem. The new sample is assigned to the corresponding class by calculating the closest distant to the hyperplane.
Figure 3 gives an example of the OVR strategy. When considering a data set with four classes marked C1, C2, C3, and C4, the OVR strategy treats each class as the positive example and the rest as negative examples. Therefore, four classifiers will be trained to give the predicted result. If there is only one classifier like f3 predicts the sample as positive, the final result is determined. Otherwise, it is usually referred the forecast confidence given by each classifier. Subsequently, choose the maximum value as the final result.
In this paper, the radial basis function (RBF) is chosen as the kernel function of the SVM, because the selected features are nonlinear and the quadratic programming problem is not linearly separable. By choosing a nonlinear kernel, the SVM model will build a nonlinear classification boundary. Furthermore, the penalty parameter C and the adjustable parameter γ in the SVM with an RBF kernel are optimized by conducting the grid search algorithm. In particular, C is the penalty coefficient, which is representative of the tolerance for error. The higher C is, the less error is tolerated, which makes the classifier model over-fit. The smaller C is, the easier it is to under-fit. If C is too large or too small, the generalization ability of the classifier would be poor. Parameter γ comes with the RBF function when it is selected as kernel. It implicitly determines the distribution of data after mapping to the new eigenspace. The larger the gamma is, the less the support vector is, the smaller the gamma value is, and the more the support vector is.

4. Experimental Results and Discussion

4.1. Experimental Setup

A microgrid platform is built in the laboratory environment to verify the proposed method, as shown in Figure 4 and Figure 5. The microgrid platform is designed in a double layer structure with a flexible topology that contains flexible line connection, distributed generations like PV array and wind turbine, line impedance simulators, including resistance, and inductive and capacitive loads (100 kW RLC Load). To be specific, the distributed generations consist of centralized inverters for the photovoltaic roof, microinverters for the photovoltaic roof, a photovoltaic simulator, a diesel generator simulator, and a wind turbine simulator. Moreover, the load of the microgrid platform consists of lighting systems, an induction motor, charging piles for electric vehicles, and a 100 kW programmable PLC load. The microgrid platform is designed to operate at 400 V three phases with 50 Hz. Two sub-microgrid layers are coupled with bidirectional converters, which allow for the electrical energy to be transmitted in bidirectional flows. These sub-microgrid layers are connected to the bulk power system by deploying the three phases AC bus. Moreover, the microgrid platform is able to simulate different line faults to recur by utilizing the line impedance simulator under the logical program control.

4.2. PQD Signal Decomposition and Detection

An artificial signal that represents an interruption with harmonics will be discussed, as follows, in order to verify the effectiveness of VMD. Figure 6 shows the PQD type of the interruption with third and fifth harmonics in the time series. As seen, the electric power is interrupted from 0.035 s to 0.117 s. Meanwhile, the obtained signal is contaminated with the third and fifth harmonics. Additionally, white noise is added with 25 dB SNR to represent the real signal.
Figure 7 presents the different decomposition result of VMD, and Figure 7a–d represent the decomposed number K = 3, 4, 5 and 6, respectively. When K = 3 in Figure 7a, it appears that the PQD signal is under-decomposed. Although the fundamental component is obtained in the first IMF, the third and fifth harmonics mix in the second IMF. Figure 7b shows the same result. When K = 5 in Figure 7c, the first three IMFs are decomposed as fundamental components, the third and fifth harmonics, effectively. Interestingly, the fourth IMF presents two mutation pulses for detecting the start and the end of the PQD. By setting an appropriate threshold, the start and the end of the PQD can be easily detected and implemented on the hardware with less computational cost. Meanwhile, Figure 7d also shows a similar result when K = 6, which reveals that the PQD signal is over-decomposed, because the other two IMFs share the noise component. Nevertheless, this situation is less harmful than the under-decomposed situation, since feature selection in the next step will help to filter redundant IMFs. Moreover, from Figure 7c, it is apparent that the first four IMFs carry valid information and the remaining IMFs are invalid. Therefore, it is obligatory to consider these four IMFs for feature extraction. Meanwhile, the permutation entropy of each IMF is 0.231, 0.357, 0.442, 0.553, and 0.689, which verifies the observation results.
Additionally, as referred to in Ref. [24], the wavelet packet decomposition (WPD) is imported for comparison. Figure 8a,b present the decomposition result by WPD when the decomposition level is 2 and 3, respectively. In Figure 8a, since the decomposition level is 2, the corresponding wavelet node is 4, which reveals that WPD can only filter noise, but the first node still retains the main component of the original signal. Though the number of the wavelet nodes increases to 8, it still reveals a similar result in Figure 8b. By contrast, VMD performs better, even if the decomposed number K is not suitable for decomposition. The reason for this phenomenon is that each node of the wavelet packet can be approximately treated as a band-pass filter at the specific frequency range. As mentioned in Section 3.1, the sampling frequency is selected as 10 kHz. For the two levels of WPD that are shown in Figure 8a, the band width of each node is approximately 1.25 kHz. Meanwhile, for the three levels of WPD that are shown in Figure 8b, the band width of each node is approximately 0.625 kHz. However, the PQD signal is defined as the interruption of the third and fifth harmonics, where sinusoidal components with frequencies of 50 Hz, 150 Hz, and 250 Hz exist. Hence, all of these components are retained and mixed in the first node, so the WPD does not seem to work effectively. Based on the decomposition result, VMD is adaptive and robust for PQD signal decomposition, especially for recursive calculation and mode mixing problems.

4.3. Feature Selection Analysis

The Fisher score with permutation entropy, which is described in Section 3.3, is utilized to filter redundant features as a feature heuristic selection method. Specifically, the embedded dimension parameter of permutation entropy is set to 6. Based on the experimental trial, the time delay parameter of permutation entropy is set to 1. The hard threshold of permutation entropy is set to 0.6. Figure 9 presents the correlation of the top 16 selected features, which represent the IMF2 RMS, IMF2 standard deviation, IMF2 variance, IMF2 average deviation, IMF2 kurtosis, IMF2 skewness, IMF2 range, IMF2 permutation entropy, IMF1 permutation entropy, IMF1 variance, IMF1 standard deviation, IMF1 RMS, IMF1 average deviation, IMF1 kurtosis, IMF1 range, and IMF4 permutation entropy. As shown, each feature is imported into the training dataset to determine the classification accuracy, with the aim of showing the effectiveness of the feature selection method. The experiments are conducted 50 times to avoid errors and stochastic disturbances. Subsequently, the accuracy results are generated by averaging the calculations. If the feature is irrelevant to the target class, the corresponding Fisher’s score is nearly zero. Hence, the average accuracy of the classification would be poor. Conversely, if the feature is highly relevant, the corresponding Fisher score is relatively large. Thus, the classifier that is constructed by relevant features would achieve perfect accuracy. Moreover, the threshold value of the selected feature is very important. Threshold selection is discussed in the following paragraph.
In this case, the SVM classifier is adopted to focus on the effects of the selected features. To be specific, the sample data sets are partitioned into 10 equal folds, and the tests were performed in 10 iterations. The number of each test instance is 1000. For the SVM classifier, the cost values C and γ of the SVM model are set to 100 and 0.02, respectively, and the linear kernel is selected as the kernel function. The classification threshold is set to 0.5. For each PQD class, the data sets were split into the training data sets and the test data sets. The ratio of the samples for the training and test is 4:1.
Two feature ranking methods, Fisher’s score only and Fisher’s score with the permutation algorithm, were used for feature selection for comparison. Figure 10a,b show the precision and recalls results by extracting different features according to the Fisher’s score only and Fisher’s score with the permutation algorithm, respectively. The average precision and average recall ratio reached 96.5% when the top 24 ranked features were selected by the Fisher’s scoring algorithm. Similarly, the average precision and the average recall ratio according to the Fisher’s score with the permutation algorithm achieved 97.6% when the SVM classifier was trained by feeding the 16 top-ranked features. However, the SVM classifier that was trained by the Fisher’s score with the permutation selection algorithm showed better performance. Moreover, it cost less dimensions for feature vectors.
Interestingly, as observed from the average precision and the average recall ratio, the accuracy was initially increased with the increased number of top-ranked features, because the decision boundary of the SVM hyperplane is more clearly separated by increasing the relevant feature vectors. However, once the feature dimension reached the proper ranking feature point, the performance of the classifier continued to decrease due to redundant features. After a decrease, the average precision and average recall ratio increased again, because the SVM imported the slack variable and the penalty factor to construct the decision boundary in soft intervals, which improved the robustness and generalization of the classifier.
The accuracy of the SVM classifier is compared under different ratios of training and testing sets to further investigate the effectiveness of the heuristic selection method. The percentages of the training set were increased by 5%, 10%, 15%, 20%, 25%, 30%, and 35%. 1000 trials were performed for each training set percentage to reduce random effects. Figure 11a,b presents the bar graphs of the average accuracy for different percentages of training and testing sets. The error standard deviations are also marked in figures. As discussed in Figure 11, the top 24 features are selected during training and testing. Overall, the training and test accuracies with heuristic selection were both better than the values without selection. When the training percentage is set as 5%, the training accuracy is larger than the testing accuracy, as shown in Figure 11a as well as Figure 11b, which reveals that the training model is underfitting. With the increased percentage of the training sets, the testing accuracy is enhanced. Meanwhile, the classification error is decreased. When the training percentage increases to 30%, the training and test accuracies approach one another when the feature heuristic selection method is used. Nevertheless, neither the training nor the test accuracy are consistent, regardless of the increasing percentages of the training set.

4.4. Performance Analysis

The performance of the proposed method can be depicted by the following values: precision for the correctly identified type of PQD, Poccur; recall for the correctly identified type of PQD, Roccur; precision for the incorrectly identified type of PQD, Pother; and, recall for the incorrectly identified type of PQD, Rother.
P d e f e c t = T P T P + F P R d e f e c t = T P T P + F N P o t h e r = T N T N + F N R o t h e r = F P F P + T N A ccuracy = T P + T N T P + F P + T N + F N × 100 %
As shown in Equation (14), TP represents the number of true positive instances, which means that the estimated PQD type is correctly classified. FP represents the number of false positive instances, which means that another PQD is classified incorrectly as the estimated PQD type. FN represents the number of false negative instances, which means that the estimated PQD type is incorrectly classified as another PQD type. TN represents the number of true negative instances, which means that another PQD type is correctly identified as the corresponding PQD. Table 3 presents the confusion matrix of the PQD classification for the validation data sets. The classification results achieve high accuracy, as observed from the confusion matrix. However, there are still some mistakes due to the similar characteristics of some PQD types. For instance, two C4 (Interrupt Disturbances) samples are incorrectly assigned to C2 (Sag). Meanwhile, three C2 samples are also incorrectly assigned to C4, because the formula definitions of C2 and C4 are the same, and the only difference between these two classes is parameter α. As referred to above in Table 2, parameter α randomly varies over a range. To be specific, for C2 (sag), the range of parameter α is from 0.1 to 0.9. For C4 (interrupt) and the range of parameter α is from 0.9 to 1. When parameter α is selected to be near for both classes, the features that were extracted from the signal are also similar. In this circumstance, it would lead to an incorrect classification. The results for C11 (Sag with harmonics) and C13 (Interruption with harmonics) also verify this situation.
The receiver operating characteristic (ROC) curve is adopted to depict the tradeoff relationship between the true positive rate and the false positive rate to evaluate the performance of the proposed classifier, as shown in Figure 12. Ten OVR classifiers were constructed due to the ten PQD types since the “one-versus-rest” (OVR) structure was utilized for multiclass classification in this paper. Subsequently, ten ROC curves were drawn to represent the true positive rate versus the false positive rate at various threshold values of θ. To be specific, the threshold varied from 0 to 1 with a step of 0.02. By giving the threshold θ, the average values of the true positive rate and false positive rate were calculated. The areas of the four ROC curves from the C1 class to the C10 class were 0.979, 0.958, 0.949, 0.963, 0.957, 0.978, 0.947, 0.965, 0.986, and 0.987. For the PQD classification, a large false positive rate would cause false alarms, which would result in unexpected or even mistaken strategy responses for power grids. More seriously, a large false positive rate would lead to worse consequences in the distribution generation systems with high penetration. By contrast, a small true positive rate would degrade the usability of the PQD detecting system. Being observed from the ROC curves, the proposed method has enough flexibility to satisfy various requirements, either for the disturbance-detected sensitivity or specificity.

4.5. Accuracy Under a Real Noisy Environment

The signals in the real power systems are contaminated with the high probability of containing noise. Therefore, an artificial test signal is constructed with different intensities of white Gaussian noise (AWGN). The intensity of the white Gaussian noise is given as the signal to noise ratio (SNR), which is defined in Equation (10), where Ps and Pn are the power of the signal and noise, respectively.
Table 4 shows the performance of the proposed classifier under different SNRs between 20 and 50 dB, which is conducted on the real microgrid platform. The robustness of the proposed algorithm is tested for 500 test samples for each PQD class in the presence of noise. The type of PQD events and the number of PQD events are selected in random series during the test stage. Overall, the classification accuracy decreases as the SNR level decreases. Nevertheless, the classification accuracy still reaches greater than 94%, even if the SNR drops to 20 dB. The results demonstrate that the SVM classifier of the proposed algorithm is less sensitive in a noisy environment. The reason that the classifier is insensitive to noise is attributed to the satisfactory performance of the algorithm. Each mode has a central frequency with a narrow bandwidth since VMD decomposes the signal into band-limited modes by updating with Wiener filtering. In this method, the disturbance signal is effectively separated from noise, which benefits the procedure of feature extraction for the SVM classifier.

5. Conclusions

This paper proposes a novel approach for PQD detection and classification. At the first stage, the proposed algorithm takes advantage of VMD to decompose the obtained signal into a series of intrinsic mode functions. Subsequently, the statistical features, such as RMS, standard deviation, and multiscale moments, are extracted from each IMF. Subsequently, a two-stage heuristic feature selection algorithm is introduced to rank the dominant features based on permutation entropy and the Fisher score. Finally, the reconstructed feature vectors are imported into a multiclass SVM classifier for training to identify the different types of PQD signals. The artificial dataset of the PQD signals is utilized for the model training and developing in order to improve the robust of the PQD classifier. Subsequently, the trained model is tested on the real experimental setup. Several analysis methods, such as confusion matrix and receiver operating characteristic (ROC) curve, are imported and analyzed the performance of the trained classifier model. Afterwards, the trained model is tested on the real microgrid platform to verify the effectiveness of the proposed algorithm.
The conclusions of this research are summarized, as follows. Signal preprocessing is obligatory at the first stage. The VMD process is beneficial for both signal de-noising and PQD detection. The permutation entropy analysis had the ability to identify useful IMFs that were obtained from VMD, which is vital in the feature selection process. By identifying the dominant features, the accuracy and the computational efficiency are both improved. Particularly, permutation entropy combined with the Fishe score showed better performance in ranking the relevant features. According to the real experimental data analysis, the proposed approach showed enough flexibility under different noisy environments, either for PQD detection sensitivity or specificity.

Author Contributions

Each author contributed extensively to the preparation of this manuscript. L.F. and S.C. designed the experiment; Q.Z., Y.W. and L.F. performed the experiments; L.F., G.P. and T.Z. analyzed the data; and L.F. wrote the paper.

Funding

This work is supported by the National Basic Research Program of China (973 Program) (Project Name: Comprehensive Control and Cooperative Optimization of Multi-energy Flow in Industrial Zone Park. No. 2017YFA0700300), National Natural Science Foundation of China (Project Name: Research on fault recognition and diagnosis technology for wind turbine gearboxes based on product test data. No. 51275453), and National Natural Science Foundation of China (Project Name: Research on the Hierarchical Collaborative Control Method of the Dynamic Coupling Force/Displacement for the Compliant Macro-Micro Gripping System. No. 51805276.

Acknowledgments

We wish to thank Xiaojun Zhou and Jinxing Chen for advice on experiment analysis of this study.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

In order to present the VMD algorithm, we introduce an application example on a simple signal. The artificial signal is consist of three sine signals, which is defined as:
f ( t ) = cos ( 2 π f 1 t ) + 0.25 cos ( 2 π f 2 t ) + 0.16 cos ( 2 π f 3 t )
where f1 = 3 Hz, f2 = 12 Hz, f3 = 28 Hz, and the sample frequency is 1000 Hz, sampling time is 1 s. It is obvious that the artificial signal can be decomposed into three modes. As it mentioned above, the decomposition results depend on the mode number, which is defined as K. Therefore, we select K as 3. The decomposition result is presented in Figure A1. Observed from Figure A1, the artificial signal is decomposed effectively, where three modes are clearly separated.
Figure A1. The decomposition result by VMD when K = 3 and α = 2500. (a) The original signal; (b) No. 1 mode component; (c) No. 2 mode component; (d) No. 3 mode component.
Figure A1. The decomposition result by VMD when K = 3 and α = 2500. (a) The original signal; (b) No. 1 mode component; (c) No. 2 mode component; (d) No. 3 mode component.
Applsci 09 04901 g0a1
Then we would like to discuss the value choice of K. If K is too small (K = 2), the signal is underbinning. Then the decomposed results are shown in Figure A2. It is apparent that each mode is either shared by neighboring modes.
Figure A2. The decomposition result by VMD when K = 3. (a) No. 1 mode component; (b) No. 2 mode component.
Figure A2. The decomposition result by VMD when K = 3. (a) No. 1 mode component; (b) No. 2 mode component.
Applsci 09 04901 g0a2
If K is too small (K = 4), the signal is overbinning. Then the decomposed results are shown in Figure A3. It seems that each mode is separated clearly as pure sine signal. However, compared with Figure A3a,b, the frequencies of two modes are same, which is like mode duplication.
Based on what discussed above, we can see that the VMD algorithm is able to decomposed signal in an adaptive method. As same as a classical shortcoming of many segmentation algorithms, it is vital to preset the number of clusters in initial stage. For the VMD algorithm, the choice of K is important. Moreover, the parameter α of the data-fidelity constraint, which influences the tightness of the band-limits, is also important in the decomposition. The details of the VMD parameters can be referred in [19].
Figure A3. The decomposition result by VMD when K = 3 and α = 2500. (a) The original signal; (b) No. 1 mode component; (c) No. 2 mode component; (d) No. 3 mode component.
Figure A3. The decomposition result by VMD when K = 3 and α = 2500. (a) The original signal; (b) No. 1 mode component; (c) No. 2 mode component; (d) No. 3 mode component.
Applsci 09 04901 g0a3

References

  1. Mesbah, M.; Moses, P.S.; Islam, S.M.; Masoum, M.A.S. Digital implementation of a fault emulator for transient study of power transformers used in grid connection of wind farms. IEEE Trans. Sustain. Energy 2014, 5, 646–654. [Google Scholar] [CrossRef]
  2. Fu, L.; Wei, Y.D.; Fang, S.; Tian, G.; Zhou, X.J. A wind energy generation replication method with wind shear and tower shadow effects. Adv. Mech. Eng. 2018, 10, 3. [Google Scholar] [CrossRef]
  3. Teke, A.; Saribulut, L.; Tumay, M. A Novel Reference Signal Generation Method for Power-Quality Improvement of Unified Power-Quality Conditioner. IEEE Trans. Power Deliv. 2011, 26, 2205–2214. [Google Scholar] [CrossRef]
  4. Ahila, R.; Sadasivam, V.; Manimala, K. An integrated PSO for parameter determination and feature selection of ELM and its application in classification of power system disturbances. Appl. Soft. Comput. 2015, 32, 23–37. [Google Scholar] [CrossRef]
  5. Brenna, M.; Faranda, R.; Tironi, E. A New Proposal for Power Quality and Custom Power Improvement: OPEN UPQC. IEEE Trans. Power Deliv. 2009, 24, 2107–2116. [Google Scholar] [CrossRef]
  6. Khokhar, S.; Zin, A.A.M.; Mokhtar, A.S.; Ismail, N.A.M. MATLAB/Simulink Based Modeling and Simulation of Power Quality Disturbances. In Proceedings of the IEEE Conference on Energy Conversion (CENCON), Johor Bahru, Malaysia, 13–14 October 2014; pp. 445–450. [Google Scholar]
  7. Mahela, O.P.; Shaik, A.G.; Gupta, N. A critical review of detection and classification of power quality events. Renew. Sustain. Energy Rev. 2015, 41, 495–505. [Google Scholar] [CrossRef]
  8. IEEE Recommended Practice for Monitoring Electric Power Quality; IEEE Standards Board, IEEE Std. 1159–1995; IEEE Inc.: New York, NY, USA, 1995; p. 6.
  9. Standard Definitions for the Measurement of Electric Power Quantities Under Sinusoidal, Non-Sinusoidal, Balanced, or Unbalanced Conditions; Revision of IEEE Std. 1459–2000, IEEE Standard 1459–2010; IEEE Inc.: New York, NY, USA, 2010; p. 3.
  10. José, C.A.; Salvador, O.; Nicolás, M.; Francisco, J.G.; Salvador, S. Measurement system for a power quality improvement structure based on IEEE Std. 1459. IEEE Trans. Instrum. Meas. 2013, 62, 3177–3188. [Google Scholar] [CrossRef]
  11. Kanirajan, P.; Kumar, V.S. Power quality disturbance detection and classification using wavelet and RBFNN. Appl. Soft. Comput. 2015, 35, 470–481. [Google Scholar] [CrossRef]
  12. He, S.F.; Li, K.C.; Zhang, M. A Real-Time Power Quality Disturbances Classification Using Hybrid Method Based on S-Transform and Dynamics. IEEE Trans. Instrum. Meas. 2013, 62, 2465–2475. [Google Scholar] [CrossRef]
  13. Ray, P.K.; Mohanty, S.R.; Kishor, N.; Catalao, J.P.S. Optimal Feature and Decision Tree-Based Classification of Power Quality Disturbances in Distributed Generation Systems. IEEE Trans. Sustain. Energy 2014, 5, 200–208. [Google Scholar] [CrossRef]
  14. Jurado, F.; Saenz, J.R. Comparison between discrete STFT and wavelets for the analysis of power quality events. Electr. Power Syst. Res. 2002, 62, 183–190. [Google Scholar] [CrossRef]
  15. Eristi, H.; Ucar, A.; Demir, Y. Wavelet-based feature extraction and selection for classification of power system disturbances using support vector machines. Electr. Power Syst. Res. 2010, 80, 743–752. [Google Scholar] [CrossRef]
  16. Biswal, B.; Dash, P.K.; Panigrahi, B.K. Non-stationary power signal processing for pattern recognition using HS-transform. Electr. Appl. Soft. Comput. 2009, 9, 107–117. [Google Scholar] [CrossRef]
  17. Zhang, Y.; Ji, T.Y.; Li, M.S.; Wu, Q.H. Identification of Power Disturbances Using Generalized Morphological Open-Closing and Close-Opening Undecimated Wavelet. IEEE Trans. Ind. Electron. 2016, 63, 2330–2339. [Google Scholar] [CrossRef]
  18. Camarena-Martinez, D.; Valtierra-Rodriguez, M.; Perez-Ramirez, C.A.; Amezquita-Sanchez, J.P.; Romero-Troncoso, R.D.; Garcia-Perez, A. Novel Downsampling Empirical Mode Decomposition Approach for Power Quality Analysis. IEEE Trans. Ind. Electron. 2016, 63, 2369–2378. [Google Scholar] [CrossRef]
  19. Shukla, S.; Mishra, S.; Singh, B. Empirical-Mode Decomposition with Hilbert Transform for Power-Quality Assessment. IEEE Trans. Power Deliv. 2009, 24, 2159–2165. [Google Scholar] [CrossRef]
  20. Lima, M.A.A.; Cerqueira, A.S.; Coury, D.V.; Duque, C.A. A novel method for power quality multiple disturbance decomposition based on Independent Component Analysis. Int. J. Electr. Power Energy Syst. 2012, 42, 593–604. [Google Scholar] [CrossRef]
  21. Dragomiretskiy, K.; Zosso, D. Variational mode decomposition. IEEE Trans. Signal Process. 2014, 62, 531–544. [Google Scholar] [CrossRef]
  22. Fu, L.; Wei, Y.D.; Fang, S.; Zhou, X.J.; Lou, J.Q. Condition Monitoring for Roller Bearings of Wind Turbines Based on Health Evaluation under Variable Operating States. Energies 2017, 10, 1564. [Google Scholar] [CrossRef]
  23. Achlerkar, P.D.; Samantaray, S.R.; Manikandan, M.S. Variational Mode Decomposition and Decision Tree Based Detection and Classification of Power Quality Disturbances in Grid-Connected Distributed Generation System. IEEE Trans. Smart Grids 2018, 9, 3122–3132. [Google Scholar] [CrossRef]
  24. Abdoos, A.A.; Mianaei, P.K.; Ghadikolaei, M.R. Combined VMD-SVM based feature selection method for classification of power quality events. Appl. Soft. Comput. 2016, 38, 637–646. [Google Scholar] [CrossRef]
  25. Fu, L.; Zhu, T.T.; Zhu, K.; Yang, Y.L. Condition Monitoring for the Roller Bearings of Wind Turbines under Variable Working Conditions Based on the Fisher Score and Permutation Entropy. Energies 2019, 12, 3085. [Google Scholar] [CrossRef]
  26. Wang, Y.X.; Liu, F.Y.; Jiang, Z.S.; He, S.L.; Mo, Q.Y. Complex variational mode decomposition for signal processing applications. Mech. Syst. Signal Proc. 2018, 86, 75–85. [Google Scholar] [CrossRef]
  27. Zhu, T.; Qu, Z.; Xu, H.; Zhang, J.; Shao, Z.; Chen, Y.; Prabhakar, S.; Yang, J. RiskCog: Unobtrusive real-time user authentication on mobile devices in the wild. IEEE Trans. Mob. Comput. 2019. [Google Scholar] [CrossRef]
  28. Tan, D.P.; Li, P.Y.; Ji, Y.X.; Wen, D.H.; Li, C. SA-ANN-based slag carry-over detection method and the embedded WME platform. IEEE Trans. Ind. Electron. 2013, 60, 4702–4713. [Google Scholar] [CrossRef]
  29. Bhuiyan, S.M.A.; Khan, J.; Murphy, G. WPD for Detecting Disturbances in Presence of Noise in Smart Grid for PQ Monitoring. IEEE Trans. Ind. Appl. 2018, 54, 702–711. [Google Scholar] [CrossRef]
  30. Zhang, X.Y.; Liang, Y.T.; Zhou, J.Z.; Zang, Y. A novel bearing fault diagnosis model integrated permutation entropy, ensemble empirical mode decomposition and optimized SVM. Measurement 2015, 69, 164–179. [Google Scholar] [CrossRef]
  31. Tan, D.P.; Li, L.; Zhu, Y.L.; Zheng, S.; Ruan, H.J.; Jiang, X.Y. An embedded cloud database service method for distributed industry monitoring. IEEE Trans. Ind. Inf. 2018, 14, 2881–2893. [Google Scholar] [CrossRef]
Figure 1. Flow chart of the VMD algorithm.
Figure 1. Flow chart of the VMD algorithm.
Applsci 09 04901 g001
Figure 2. Main flow chart of the proposed method.
Figure 2. Main flow chart of the proposed method.
Applsci 09 04901 g002
Figure 3. The diagram of the “one-versus-rest” (OVR) multiclass strategy.
Figure 3. The diagram of the “one-versus-rest” (OVR) multiclass strategy.
Applsci 09 04901 g003
Figure 4. Experimental setup for power quality disturbances.
Figure 4. Experimental setup for power quality disturbances.
Applsci 09 04901 g004
Figure 5. The architecture diagram of the experimental setup.
Figure 5. The architecture diagram of the experimental setup.
Applsci 09 04901 g005
Figure 6. Original signal of interruption with harmonics.
Figure 6. Original signal of interruption with harmonics.
Applsci 09 04901 g006
Figure 7. Power quality disturbances (PQD) signal decomposition results by variational mode decomposition (VMD). (a) When K = 3 by VMD; (b) when K = 4 by VMD; (c) when K = 5 by VMD; and, (d) when K = 6 by VMD.
Figure 7. Power quality disturbances (PQD) signal decomposition results by variational mode decomposition (VMD). (a) When K = 3 by VMD; (b) when K = 4 by VMD; (c) when K = 5 by VMD; and, (d) when K = 6 by VMD.
Applsci 09 04901 g007
Figure 8. PQD signal decomposition results by WPD. (a) When the decomposition level is 2 by WPD; and, (b) when the decomposition level is 3 by WPD.
Figure 8. PQD signal decomposition results by WPD. (a) When the decomposition level is 2 by WPD; and, (b) when the decomposition level is 3 by WPD.
Applsci 09 04901 g008
Figure 9. Correlation between features and classification accuracy.
Figure 9. Correlation between features and classification accuracy.
Applsci 09 04901 g009
Figure 10. Identification accuracy results with different numbers of selected features. (a) Training result only by Fisher’s scoring method; and, (b) training result by Fisher’s score and the permutation entropy method.
Figure 10. Identification accuracy results with different numbers of selected features. (a) Training result only by Fisher’s scoring method; and, (b) training result by Fisher’s score and the permutation entropy method.
Applsci 09 04901 g010
Figure 11. Accuracy comparison with different training percentages. (a) classification accuracy with feature heuristic selection; and, (b) classification accuracy without feature selection.
Figure 11. Accuracy comparison with different training percentages. (a) classification accuracy with feature heuristic selection; and, (b) classification accuracy without feature selection.
Applsci 09 04901 g011
Figure 12. Receiver operating characteristic curve for each PQD class.
Figure 12. Receiver operating characteristic curve for each PQD class.
Applsci 09 04901 g012
Table 1. Mathematical model of the power quality disturbances.
Table 1. Mathematical model of the power quality disturbances.
LabelPQD TypeMathematical ModeParameters
C1Pure Sine y ( t ) = A sin ( ω t ) A = 1 ω = 2 π * 50
C2Sag y ( t ) = A [ 1 α ( u ( t t 1 ) u ( t t 2 ) ) ] sin ( ω t ) 0.1 α 0.9 T t 2 t 1 9 T
C3Swell y ( t ) = A [ 1 + α ( u ( t t 1 ) u ( t t 2 ) ) ] sin ( ω t ) 0.1 α 0.8 T t 2 t 1 9 T
C4Interrupt y ( t ) = A [ 1 α ( u ( t t 1 ) u ( t t 2 ) ) ] sin ( ω t ) 0.9 α 1 ; T t 2 t 1 9 T
C5Harmonics y ( t ) = A [ α 1 sin ( ω t ) + α 3 sin ( 3 ω t ) + α 5 sin ( 5 ω t ) + α 7 sin ( 7 ω t ) ] 0.05 α 3 , α 5 , α 7 0.15 α i 2 = 1
C6Flicker y ( t ) = A [ 1 + α f sin ( β ω t ) ] sin ( ω t ) 0.1 α 0.2 5 β 20 H z
C7Oscillatory transient y ( t ) = A [ sin ( ω t ) + α c ( t t 1 ) / τ sin ( ω n ( t t 1 ) t ) ( u ( t 1 ) u ( t 2 ) ) ] 0.1 α 0.8 0.5 T t 2 t 1 3 T 8 ms τ 40 ms 300 f n 900 H z
C8Impulsive transient y ( t ) = A [ 1 α ( u ( t t 1 ) u ( t t 2 ) ) ] sin ( ω t ) 0 α 0.414 0.05 T t 2 t 1 0.1 T
C9Periodic notch y ( t ) = sin ( ω t ) sign ( sin ( ω t ) ) × { n = 0 9 K × [ u ( t ( t 1 0.02 n ) ) u ( t ( t 2 0.02 n ) ) ] } 0 t 1 , t 2 0.5 T 0.01 T t 2 t 1 0.05 T 0.1 K 0.4
C10Spike y ( t ) = sin ( ω t ) + sign ( sin ( ω t ) ) × { n = 0 9 K × [ u ( t ( t 1 0.02 n ) ) u ( t ( t 2 0.02 n ) ) ] } 0 t 1 , t 2 0.5 T 0.01 T t 2 t 1 0.05 T 0.1 K 0.4
C11Sag with harmonics y ( t ) = A [ 1 α ( u ( t t 1 ) u ( t t 2 ) ) ] [ α 1 sin ( ω t ) + α 3 sin ( 3 ω t ) + α 5 sin ( 5 ω t ) ] 0.1 α 0.9 ; T t 2 t 1 9 T 0.05 α 3 , α 5 , α 7 0.15 ; α i 2 = 1
C12Swell with harmonics y ( t ) = A [ 1 + α ( u ( t t 1 ) u ( t t 2 ) ) ] [ α 1 sin ( ω t ) + α 3 sin ( 3 ω t ) + α 5 sin ( 5 ω t ) ] 0.1 α 0.9 T t 2 t 1 9 T 0.05 α 3 , α 5 , α 7 0.15 α i 2 = 1
C13Interrupt with harmonics y ( t ) = A [ 1 α ( u ( t t 1 ) u ( t t 2 ) ) ] [ α 1 sin ( ω t ) + α 3 sin ( 3 ω t ) + α 5 sin ( 5 ω t ) ] 0.9 α 1 0.05 α 3 , α 5 , α 7 0.15 α i 2 = 1
Table 2. Statistical parameters for feature extraction.
Table 2. Statistical parameters for feature extraction.
No.Statistical FeatureExpression
1RMS R M S = 1 K k = 1 K [ x ( k ) ] 2
2Mean μ = k = 1 K [ x ( k ) ] / K
3Standard Deviation σ = k = 1 K [ x ( k ) x ¯ ] 2 / ( K 1 )
4Variance var = k = 1 K [ x ( k ) x ¯ ] 2 / K
5Range r a n g e = max ( x ( k ) ) min ( x ( k ) )
6Kurtosis K T = k = 1 K [ ( x ( k ) x ¯ ) / σ ] 4 / K
7Skewness S K = k = 1 K [ ( x ( k ) x ¯ ) / σ ] 3 / K
8Average Deviation σ ¯ = k = 1 K | x ( k ) x ¯ | / K
9Permutation Entropy P E = i = 1 m ! p ( π i ) log ( p ( π i ) )
Table 3. Confusion matrix of PQD classification.
Table 3. Confusion matrix of PQD classification.
Assigned ClassTrue Class
C1C2C3C4C5C6C7C8C9C10C11C12C13
C1418000000000000
C2039404000000000
C3003900000000000
C4050411000000000
C5000039700000000
C6000004270000000
C7000000407000000
C8000000039600000
C9000000004070000
C10000000000406000
C11000000000040134
C12000000000034130
C13000000000030398
Table 4. Performance of PQD classification accuracy under a noisy environment.
Table 4. Performance of PQD classification accuracy under a noisy environment.
Assigned ClassSignal to Noise Ratio
20 dB30 dB40 dB50 dB
C1100%100%100%100%
C295.4%98.2%98.8%99.2%
C399.2%100%100%100%
C4100%100%100%100%
C594.2%97.8%97.8%99.6%
C694.4%98.0%99.6%100%
C797.6%99.6%99.6%99.6%
C8100%100%100%100%
C9100%100%100%100%
C1098.0%98.4%99.8%100%
C1195.4%95.8%97.2%98.8%
C1296.2%96.6%97.6%98.4%
C1395.6%97.8%98.6%99.2%
Overall 97.38%98.63%99.15%99.60%

Share and Cite

MDPI and ACS Style

Fu, L.; Zhu, T.; Pan, G.; Chen, S.; Zhong, Q.; Wei, Y. Power Quality Disturbance Recognition Using VMD-Based Feature Extraction and Heuristic Feature Selection. Appl. Sci. 2019, 9, 4901. https://doi.org/10.3390/app9224901

AMA Style

Fu L, Zhu T, Pan G, Chen S, Zhong Q, Wei Y. Power Quality Disturbance Recognition Using VMD-Based Feature Extraction and Heuristic Feature Selection. Applied Sciences. 2019; 9(22):4901. https://doi.org/10.3390/app9224901

Chicago/Turabian Style

Fu, Lei, Tiantian Zhu, Guobing Pan, Sihan Chen, Qi Zhong, and Yanding Wei. 2019. "Power Quality Disturbance Recognition Using VMD-Based Feature Extraction and Heuristic Feature Selection" Applied Sciences 9, no. 22: 4901. https://doi.org/10.3390/app9224901

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop