Voltage Quality Time Series Classification using Convolutional Neural Network
Sagnik Basumallik

TL;DR
This paper demonstrates that convolutional neural networks can effectively classify various power quality issues from voltage time series data, outperforming traditional methods especially in noisy environments, aiding utilities and consumers in diagnosing voltage problems.
Contribution
The study introduces a CNN-based approach for classifying power quality disturbances from voltage time series, achieving high accuracy and robustness against noise.
Findings
CNN outperforms traditional classifiers in accuracy.
High noise robustness of the proposed method.
Potential for practical deployment by utilities and consumers.
Abstract
This paper presents the effectiveness of convolutional neural network (CNN) to classify power quality problems. These problems arise mainly due to increase in use of non-linear loads, operation of devices like adjustable speed drives and power factor correction capacitors, which is a growing concern both for utilities and customers. This work uses the advances in supervised learning to classify different power quality time-series waveforms such as voltage sag, swell, interruption, harmonics, transients and flicker. CNN results in a very high classification accuracy compared to other traditional and machine learning methods in presence of noise. This process can be employed by utilities as well as customers to understand the cause and mitigate voltage quality problems.
| Events | Class | Samples |
|---|---|---|
| Voltage Sag | 1 | 500 |
| Voltage Swell | 2 | 500 |
| Voltage Interruption | 3 | 500 |
| Voltage Harmonics | 4 | 500 |
| Voltage Transients | 5 | 500 |
| Voltage Flicker | 6 | 500 |
| Network | Structure | Accuracies | |||
|---|---|---|---|---|---|
| Original | Noisy | ||||
| CNN-1a |
|
99.83 | 99.67 | ||
| CNN-1b | 2 layers, 200x1,100x1 | 99.52 | 98.83 | ||
| CNN-1c | 1 layer, 200x1 | 99.81 | 99.72 | ||
| CNN-1d | 1 layer, 400x1 | 99.79 | 99.75 | ||
| Classifier | Feature | Data | Noise | Accuracy | ||
| CNN | High level | Synthetic | Yes | 99.83 | ||
| Fuzzy expert | S-Transform | Synthetic | Yes | 99.00 | ||
| Fuzzy C-means | S-Transform | Synthetic | No | 95.41 | ||
|
Wavelets | Synthetic | No | 98.03 | ||
| Neural Network | Wavelets | Synthetic | Yes | 99.56 | ||
| SVM | Wavelets | Practical | Yes | 95.81 | ||
| k-NN | Hilbert, Clarke | Synthetic | No | 80.06 | ||
| Hidden Markov | Fourier,Wavelet | Synthetic | No | 95.71 | ||
|
S-Trasform | Practical | Yes | 97.56 | ||
|
Wavelet | Synthetic | Yes | 96.6 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPower Quality and Harmonics · Power Transformer Diagnostics and Insulation · Magnetic Properties and Applications
Voltage Quality Time Series Classification using Convolutional Neural Network
Sagnik Basumallik
Abstract
This paper presents the effectiveness of convolutional neural network (CNN) to classify power quality problems. These problems arise mainly due to increase in use of non-linear loads, operation of devices like adjustable speed drives and power factor correction capacitors, which is a growing concern both for utilities and customers. This work uses the advances in supervised learning to classify different power quality time-series waveforms such as voltage sag, swell, interruption, harmonics, transients and flicker. CNN results in a very high classification accuracy compared to other traditional and machine learning methods in presence of noise. This process can be employed by utilities as well as customers to understand the cause and mitigate voltage quality problems.
Index Terms:
power quality, convolutional neural network
I Introduction
The major causes of degradation of power quality are due to increase in use of non-linear loads, capacitors and loads switching events, transformer energizing and faults. These events often introduces harmonics and also result in voltage and current sags, swells, interruptions and flickers. Significant economic loss resulting from voltage and current quality degradation have lead to development of standards such as IEEE 1159, which set the guidelines and recommends practices for monitoring power quality problems [1]. Timely classification of such events are of utmost importance to understand their impact on costly power system equipments and sensitive loads. Disturbances created by non-linear loads affect distribution system equipments, electric drives, programmable logic controllers, and single-loop controllers [2]. A timely identification and cause of such disturbances can help system operators take necessary actions to prevent device malfunctions.
A large body of work has been devoted to extract features and classification of such signals. These method includes traditional techniques such as Fourier Transform, Short-Time Fourier transform, Gabor transform, S-transform, Wavelet Transform and Kalman Filter, as well as more recent machine learning methods such as support vector machines and artificial neural networks [3], [4]. In this paper, we extend the work done by authors in [5] to classify more events such as interruptions, harmonics, transients and flickers using CNN. In order to verify the correctness of our method, signals obtained from RTDS are used (will be) to validate the learning model.
II Power Quality Events
Different events in power system have different influences on the quality of power being delivered. Such events can be either caused by faults or switching operations. In case of a line-to-line or line-to-ground fault, voltage interruptions or sags can be observed. Operations like shunt switching, induction motor starting, transformer energizing and non-linear load switching result in voltage notches, swells, and sags, flickers, besides introducing harmonics [6]. Thus, classifying these events are important to analyze the behavior of power systems under different operating conditions. Six different power quality scenarios are studied in this paper. The following section explain in brief the different events along with their mathematical formulations. Fig. 1 shows the various power quality events under the study.
II-A Voltage Sag
Voltage sags, which fall under the category of ‘under-voltage’, occurs mainly during heavy load switching or power system faults. IEEE Standard 1159 describes this condition as the decrease of 10%-90% of RMS voltage for a time duration between 0.5 cycles to 1 min. Voltage sags can also be caused as a result of inductor motor starting, transformer energizing or increase in source impedance [7, 8]. It is also termed as ‘votage dip’ and can be mathematically described by (1) where ,
[TABLE]
II-B Voltage Swell
Voltage swell fall under the category of ‘over-voltage’ which occurs when the voltage increase by 10% to 90% of its RMS value for 0.5 cycles to 1 min. Such events are caused due to sudden reduction in load, switching a capacitor bank, temporary voltage rise on unfaulted phase during SLG fault [7, 8]. It is also termed as ‘monemtary overvoltage’ and is mathematically given by (2) where ,
[TABLE]
II-C Voltage Interruption
When the RMS voltage drops by 90%-100% of its rated value for 0.5 cycles to 1 min, it is termed as a voltage interruption. They can be classified as long term ( min) and short term ( min) interruptions. These events are caused by faults, equipment failures, control malfunctions or operator intervention [8, 9]. Sometimes, interruptions are followed by voltage sags. It is expressed as (3) where ,
[TABLE]
II-D Voltage Harmonics
Operation of non-linear load like variable speed drives and induction arc furnaces often distorts the sinusoidal supply voltage waveform by introducing harmonic components which are integer multiple of fundamental frequency [10]. These harmonics can be expressed as a sum of sinusoidal waveforms with different frequencies w.r.t the fundamental. Power factor correction capacitors also adversely increase the harmonics when distortions are already present [8]. This results in transformer and induction motor overheating, overloaded neutrals, failure of circuit breakers and transformers [11]. IEEE Standard 519-2014 describes 5% of total harmonic distortion (fraction of sum of all harmonic components compared to the RMS value at 60 Hz) as nominal. Harmonics can be mathematically described by (4) where ,
[TABLE]
II-E Voltage Transients
Power system transient can be described as undesirable momentary oscillations caused due to sudden change in voltage, current or load [8]. They are broadly divided into two types: impulsive events such as lighting strokes and oscillatory events such as operation of capacitor banks or transformer start-up. Oscillatory transients can be further sub-divided into high, medium and low frequency components. Mathematically, they are described by (5) where sec,
[TABLE]
II-F Voltage Flicker
Frequent voltage variations can be observed in appliances such as television screens or lamps which occur due to operation of arc furnaces, arc welding machines, large motors and power factor correction capacitors are termed as voltage flickers [12]. It is often characterized by low voltage frequency between 0.5 to 25 Hz with slow magnitude changes. Voltage flickers adversely affect and reduce the span of appliances [13]. Traditionally, it can be modeled as (6) where and Hz,
[TABLE]
III Convolutional Neural Network
In this section, we aim to classify the power quality disturbance events using 1-D convolutional neural networks. CNN has been widely used in areas of computer vision and image processing resulting in high accuracies. It is able to extract high level information from raw data eliminating dependence on domain knowledge. CNN has gained proved to be effective in classifying time series events. Authors in [14] have used 1-D feature maps extracted from raw time series data obtained from gyroscopic sensors. Authors in [15] have used CNN to classify time series by first converting time series to recurrence plots. This section briefly explains the various layers of CNN which is used for classification. The entire network can be expressed as a feed-forward process of cascading functions , operating on inputs and learnable parameters as
III-A Input Layer
We start with time series obtained from various power quality events of dimension with time steps. 1-D feature maps are extracted from this input over multiple CNN layers.
III-B Convolution Layer
This layer performs a convolution between a portion of the time-series with learnable filters (or weights ). Multiple filters are used to obtain several feature maps from the inputs at each layer. These feature maps are stacked together and fed as input to the next layer. These filters resemble local receptive fields, learning from one specific subregion of the time series. Unlike traditional neural network where each weight is used once, CNN introduces the concept of parameter sharing where each filter is used at every position of the time series.
III-C Non-Linear Layer
The next layer introduces non-linearity between the input and output of the convolutional layer. The result obtained after convolving 1-D feature maps with different filters is passed through a non-linear activation function. This squashes the output between a certain threshold. Non-linear activation functions such as sigmoid, rectified linear units (ReLu) or leaky-Rectified linear unit (leaky-ReLU) can be used. In this paper, we have used the LeakyReLU which keeps positive values unchanged and alleviates the problem of dying gradients in ReLu by introducing a parameter . It can be written as, .
III-D Fully-Connected Layer
Feature maps generated from the previous layers are combined in this last layer which results in a -dimensional vector of class probabilities. The final classification is performed using a Softmax classifier which is given as,
[TABLE]
Once the vector of final scores , is computed by the fully-connected layer, the Softmax function normalizes it to have values within . This vector can be intuitively thought as normalized class probabilities. The Softmax function can then be combined with the cross-entropy loss as,
[TABLE]
which can be interpreted as minimizing the cross-entropy between the original and the predicted distribution. In other words, it minimizes the negative log likelihood of the correct class.
III-E Parameter Updates
In order for the network to learn, the weights can be updated using back-propagation techniques using various algorithms like gradient descent, momentum update, Nestrov momentum, AdaGrad, RMSProp, Adam and Nadam updates. Instead of training an entire batch of data which can be computationally expensive, mini-batches of data are used during each training cycle. In this paper, we have used the Nesterov-accelerated Adaptive Moment Estimation (Nadam) update mechanism, which combines RMSprop with momentum and Nesterov accelerated gradient.
IV Results and Discussions
Six different power quality time series: voltage sag, swell, interruption, harmonics, transients and flicker are used for classification and are given in Table I. All simulations are done using MATLAB using eqs (1 - 6). The input waveform is sampled at the rate of 5KHz which is equal to the sampling rate of any industry graded PMU. In order to prevent over-fitting of the data, several methods have been used. First, the training data was split into training and validation set using 10-fold cross-validation (CV). To account for class imbalance, we have used stratified k-fold CV which takes into account the relative distribution of classes. Second, the training and the validation accuracies and losses are monitored for every epoch. The training is stopped when the validation accuracy shows no improvements above 0.0001 after 10 epochs. The average number of epochs before early-stopping was found to be roughly between 17 to 30. The training data is also randomly shuffled before each epoch. To study the robustness of the method against random measurement noise, we pollute the signals with white Gaussian noise of 80dB. The resultant classification accuracies are shown in Table II. Fig. 4 presents the confusion matrix of the classification. It is seen that CNN with accuracy of 99.83% outperforms many of the traditional approaches [16].
V Future Works
To improve this paper, here are the following things that still need to be done.
Generate more power quality signals such as combination of sag and swell with harmonics, notch, spikes,. 2. 2.
Use RTDS to generate power system fault waveforms and subsequently use it to test accuracy of model obtained from simulation data. 3. 3.
Classify other events such as induction motor start-up, self-extinguishing faults, transformer and line energising.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Saleh, S. A. "Phaselet Transform-Based Approach for Detecting Voltage Flickers Due to Distributed Generation Units." IEEE Transactions on Industry Applications (2017).
- 2[2] Kumar, Raj, Bhim Singh, and D. T. Shahani. "Symmetrical components-based modified technique for power-quality disturbances detection and classification." IEEE Transactions on Industry Applications 52, no. 4 (2016): 3443-3450.
- 3[3] Singh, Utkarsh, and Shyam Narain Singh. "Application of fractional Fourier transform for classification of power quality disturbances." IET Science, Measurement and Technology 11, no. 1 (2017): 67-76.
- 4[4] Lee, Chun-Yao, and Yi-Xing Shen. "Optimal feature selection for power-quality disturbances classification." IEEE Transactions on power delivery 26, no. 4 (2011): 2342-2351.
- 5[5] Binsha P., Sachin Kumar S., Athira S. and K. P. Soman, ‘Power Quality Signal Classification using Convolutional Neural Network.’International Journal of Computer Technology and Applications, 2016, pp. 8033-8042
- 6[6] Erişti, H., and Y. Demir. "Automatic classification of power quality events and disturbances using wavelet transform and support vector machines." IET generation, transmission and distribution 6, no. 10 (2012): 968-976.
- 7[7] Ekici, Sami. "Classification of power system disturbances using support vector machines." Expert Systems with Applications 36, no. 6 (2009): 9859-9868.
- 8[8] Chintakindi, Sruthi Reddy, and DVSS Siva Sarma. "Classification of Power Quality events using improved S-transform." In India Conference (INDICON), 2015 Annual IEEE, pp. 1-5. IEEE, 2015.
