Signal Processing in Power Quality
Signal Processing in Power Quality
Dr. T. Jayasree
Associate Professor, Department of ECE,
Government College of Engineering, Bodinayakanur
&
Dr. T. Selvin Retna Raj
Assistant Professor, Department of ECE,
DMI College of Engineering, Chennai.
1
Outline
Introduction
Classification modules
Comparison results
Summary
2
Introduction – Power quality
Electrical power system is a large and complex network, where power quality
disturbances must be monitored, analyzed
Objectives:
To develop transformation based methods for the detection of power quality
disturbances in time – frequency domain.
8
Literature survey
Author and Title Method Inference
RamaMohana Reddy, Ram Kishore Kumar Reddy, DWPT with Adaptive Classification is performed
Sujatha, Power Quality Classification of Neuro-Fuzzy system only for three disturbances.
Disturbances using Wavelet Packet Transform with
Adaptive Neuro-Fuzzy system, Turkish Journal of
Computer and Mathematics Education (2020), Vol.12,
no.3, pp.4892-4903
Rajendra Mahla, Baseem Khan, Om Prakash Mahela, Wavelet Packet based Difficult to frame rules for
and Anup Singh, Recognition of complex and multi fast kurtogram and ruled classifying disturbances
9
power quality disturbances using Wavelet Packet decision tree
based fast kurtogram and ruled decision tree
Literature survey
Author and Title Method Inference
Dan Su, Kaicheng Li, and Nian Shi, Power Quality Modified S- Transform Power quality disturbance
Disturbances Recognition Using Modified S- based features detection is performed
Transform Based on Optimally Concentrated based on optimally
Window, Integration of Renewable Energy, concentrated window
Sustainability, (2020)Vol.13, P.No. 1-14 function
Nitin Kumawat, Kumar Verma, Zaveri, Comparison DWPT based features Three level decomposition
between Wavelet Packet Transform and M- band are used is performed and energy
Wavelet Packet Transform for identification of Power based features are extracted.
Quality Disturbances, Power Research, (2021)Vol.64,
no.1, P.No. 37-45
Shouxiang Wang & Haiwen Chen, A novel deep Continuous Wavelet CWT based images are
learning method for the classification of power quality Transform (CWT) and used for the discrimination
disturbances using convolutional neural network, Convolutional neural of signals. CNN is used for
Applied energy, (2022), P. No:1126-1140 network (CNN) classification.
Achlerkar, Samantaray, & Manikandan. Variational Variational mode Difficult to frame decision
mode decomposition and decision tree based detection decomposition for rules for classifying
and classification of power quality disturbances in feature extraction and disturbances 10
grid-connected distributed generation system, IEEE decision tree for
Transactions on Smart Grid, (2022), 9(4), 3122-3132. classification
Literature survey
Author and Title Method Inference
Chirag A Naik & Prasanta Kundu, Wavelet Wavelet Packet Used only for the
Packet Transform Based Parameter for the Transform classification of short
Analysis of Short Duration Power Quality duration power quality
Disturbances, IFAC-Papers, 2020, disturbances
48(30),P.No: 485-48
Kalyana Sundaram, Neela, Automatic S- Transform and MLP The MLP classifier
Classification of Power Quality Disturbances Neural network produced
using S- Transform and MLP Neural
network, International Science Press, (2021),
P.No. 31 -45.
Deokar, Waghmare, Integrated DWT- FFT DWT- FFT , Feed 3 – level decomposition
approach for detection and classification forward neural networks is performed and FFT is
Duration Power Quality Disturbances, applied for finding
International Journal of Electrical Power & spectrogram
Energy Systems, (2022) 61, 594-605.
Li, Jianmin, Zhaosheng Teng, Qiu Tang, and double resolution S- SVM produced less
Junhao Song. Detection and classification of transform and SVM performances 11
power quality disturbances using double
resolution S-transform and SVMs, IEEE
Literature Summary
Detection of disturbances is carried out by representing the power quality
disturbances in time – frequency domain.
12
Overall flow diagram
13
Method 1: DWT based power quality disturbance detection
and feature extraction
The hierarchical decomposition of an input signal into a succession of gradually lower
resolution signals is called Multi Resolution Analysis (MRA).
The input signal is passed through a set of high pass and low pass filters. Subsequently, down
sampling is used to remove half of the signal samples
The low pass filter coefficients are called as approximation coefficients, and the high pass filter
coefficients are called as detailed coefficients,
14
DWT based feature extraction - Steps
Step 1: Signal x(n) is decomposed into 4 levels using DWT-MRA technique, in the 4th level, set
of 4 detailed coefficients, {D1, D2, D3, D4} and one set approximation coefficients {A4} are
produced.
Step 2: Find mean, median, energy and variance for all the coefficients in the 4th level.
D1 M0 N0 E0 V0
D2 M1 N1 E1 V1
D3 M2 N2 E2 V2
D4 M3 N3 E3 V3
A4 M4 N4 E4 V4
15
Generation of DWT based distribution patterns
Step 1: Apply Multi Resolution Analysis (MRA) based decomposition
technique in order to obtain the DWT coefficients.
Step 2: In the Nth level of decomposition, the DWT coefficients are {D1, D2,
D3, ………DN, AN}.
Step 3: Extract statistical features from the coefficients.
Mean
Variance DWT coefficients Mean Variance
D1 M0 V0
D2 M1 V1
D3 M2 V2
D4 M3 V3
……… ………. ……….
DN MM VM
AN MN VN
Swells
Sags
Transient
Harmonics 17
Flickers
Results – Normal and Power quality disturbances
Implemented in Matlab 2018b software. Length of the signal = 4000 samples,
Sampling frequency = 10kHz
The normal signal and the five types of disturbances such as voltage sag,
voltage swell, transients, flicker and harmonics considered in this research
work.
18
Results - DWT Cofficients for voltage sag signal
19
The start and end of the of the voltage disturbance is clearly detected in
all the DWT coefficients D1, D2, D3, D4 and A4
DWT Coefficients for voltage swell
Transients: only one spike is seen in D1, D2, D3, D4 and A4,
which represents the presence of disturbance. 21
DWT based
decomposition is
performed upto nine
levels.
Mean and variance
are calculated at the
9th level and plotted.
26
Wavelet Packet Tree after performing 4 – level decomposition
The tree structure contains 31 nodes represented by (0,0), (1,0), (1,1), (2,0),
(2,1), (2,2), (2,3), (3,0), (3,1), (3,2), (3,3), (3,4), (3,5), (3,6), (3,7), (4,0),27(4,1),
(4,2), (4,3), (4,4), (4,5), (4,6), (4,7), (4,8), (4,9), (4,10), (4,11), (4,12), (4,13),
(4,14) and (4,15)
DWPT based features
Nodes Mean Median Energy Variance
After performing 4 – level (4,0) M0 N0 E0 V0
decomposition, find mean, (4,1) M1 N1 E1 V1
median and variance for all the (4,2) M2 N2 E2 V2
(4,3) M3 N3 E3 V3
nodes. (4,4) M4 N4 E4 V4
(4,5) M5 N5 E5 V5
(4,6) M6 N6 E6 V6
(4,7) M7 N7 E7 V7
(4,8) M8 N8 E8 V8
(4,9) M9 N9 E9 V9
(4,10) M10 N10 E10 V10
(4,11) M11 N11 E11 V11
(4,12) M12 N12 E12 V12
(4,13) M13 N13 E13 V13
(4,14) M14 N14 E14 V14
(4,15) M15 N15 E15 V15
28
DWPT based disturbance detection – Voltage sag signal
(after performing 4 – level decomposition)
of transient disturbance.
DWPT based disturbance detection – Voltage Harmonics
signal
Comparing DWT and DWPT features, it is found that DWPT feature values are
high for all the disturbances.
34
Energy value is found to be high for all the cases and for the transient
disturbance, energy is maximum.
Method 3: S – Transform based Power quality disturbance
detection
The S-transform (ST) is used for generating the temporal frequency
representation of the signal. It was proposed by Stockwell R.G. in 2001
35
Algorithm for computation of S – Transform
36
S – Transform based feature extraction
37
Results: Disturbances detection using ST contour and 3-D
plots (Voltage swell)
43
Method 4: DWT-ST based power quality disturbance detection
and feature extraction
Step 1: First find the DWT of
the power quality disturbance
signal.
Step 2: Obtain the
approximation and detailed
coefficients by performing 4
level decomposition level.
Step 3: Find the ST of the
DWT coefficients in the fourth
level.
Step 4: Derive the ST Matrix,
ST Contour, ST 3D plots.
Step 5: Extract the features
such as Mean, Median,
Variance, Energy.
44
DWT-ST contours and 3D plots – Voltage swell signal
After performing 4 – level decomposition using DWPT, in the 4th level, the
nodes are N(4,0), N(4,1), ………….N(4,15)
In the above figure, it is observed that, two contours are present at the 5051th and
100th sample, in most of the nodes which represents start and end of the sag
disturbance.
DWPT-ST 3D plots for voltage swell signal
The different set of features are extracted using the DWT, DWPT and ST,
DWT-ST and DWPT-ST are given as input to the ANN classifiers.
57
The performance of the network is evaluated by finding various
performance metrics.
Probabilistic Neural Network (PNN) Classifier
PNN is a feed forward network consisting of 4 layers: 1) Input layer, 2) Pattern layer, 3)
Summation layer 4) Output layer.
o When an input is applied, the distance from the input vector to the training input vectors is
computed by pattern layer. This layer produces a vector, whose elements specify how close the
input is to the training input.
o The summation layer sums the involvement for each class of inputs and generates the net output
as a vector of probabilities.
Step 3: Read the input vector and assign Gaussian function for each class.
Compute all Gaussian functional values for each class, for each cluster of hidden
nodes.
Step 4: Feed all the Gaussian functional values from the hidden node cluster to
the single output node of cluster.
Step 5: Add all the inputs and multiply by a constant for each category of the
output node. Find the most valuable of all the useful values added together at the
59
output nodes.
Radial Basis Function Neural Network (RBFNN) Classifier
The RBFNN consists of an input layer, a hidden layer and an output layer
The hidden layer contains a transfer function called the multivariate Gaussian
Density function
j
h
yk ( x) = w
j =1
kj j ( x ) + wk 0
60
classification Algorithm using RBFNN
61
Recurrent Neural Network (RNN) classifier
62
Classification Algorithm using RNN
The input feature vector is represented as xᵢ. The weights associated with the input is denoted
using a vector U
The hidden representation (sᵢ) of the network is computed as a function of the output of the
previous time step and current input along with bias.
In this approach, we will predict the output after each time step.
63
Performance metrics
F Score
F Score is a measure used for finding the accuracy of the model on a dataset.
64
ANN model parameters
Input
Five disturbances (5 x 500) + normal (500) – Totally 3000 signals
Input feature vector – mean, median, standard deviation, variance ( 4 x
500 for each type)
Training data – 75%, testing – 25%
Implemented in MATLAB
No of neurons in the hidden layer – chosen by trial and error
No. of epochs: 500, MSE attained – 0.0125
Output
Six classes (normal + 5 disturbance types)
65
Comparison results using DWT + PNN and RBFNN classifiers
(using different mother wavelets)
The performances are evaluated using DWT based features as input. DWT is computed
using different mother wavelets.
It is observed that, Db8 mother wavelet produced better performance for both PNN and
RBFNN classifiers.
Accuracy Specificity Sensitivity F-Score
PNN classifier
Db4 81.2 76.3 74.3 80.4
Db8 85.6 83.4 80.2 81.5
Sym 4 82.4 78.4 80.4 77.8
Sym8 76.2 80.5 81.4 80.0
Coif 81.4 79.2 80.6 81.7
haar 80.8 81.7 83.2 79.5
RBFNN classifier
Db4 82.4 77.9 75.2 81.6
Db8 86.1 84.2 81.2 82.6
Sym 4 83.6 79.5 81.7 78.6
Sym8 77.6 81.7 82.7 81.366
Coif 82.8 80.5 81.7 82.8
haar 81.8 82.8 84.1 80.6
Comparison results using DWT + RNN classifier
(using different mother wavelets)
It is observed that, Db8 mother wavelet produced better performance for RNN classifier.
The performances are evaluated under noisy conditions. Then DWT based features are
extracted from the power quality disturbance signals added with noise. DWT is
computed using different mother wavelets.
It is observed that, Db8 mother wavelet produced better performance using PNN
classifier.
PNN classifier
The performances are evaluated using DWPT based features under normal and noisy
conditions using PNN, RBFNN and RNN classifiers. DWPT is computed using Db8
mother wavelet.
It is observed that, RNN produced better outcomes.
Only five frequency sub bands are considered for the extraction of features.
Mean and variance distribution patterns show unique patterns which are helpful for
distinguishing various power quality disturbances.
77
References
for aperiodic voltages and currents’, IEEE Trans, Power Deliv, vol. 15,
References
Bhuiyan, SM, Khan, J & Murphy, G 2018, ‘WPD for detecting disturbances
in presence of noise in smart grid for PQ monitoring’, IEEE Trans Ind Appl,
vol. 54, no. 1, pp. 702‐711.
Cai, D, Li, K, He, S, Li, Y & Luo, Y 2018, ‘A highly accurate and fast power
quality disturbances classification based on dictionary learning 79
sparse
decomposition’, Transactions of the Institute of Measurement and Control.
Publications
Chirag A Naik & Prasanta Kundu 2015, ‘Wavelet Packet Transform Based
Parameter for the Analysis of Short Duration Power Quality Disturbances’,
IFAC-Papers On Line, vol. 48, no. 30, pp. 485-489.
Dan Su, Kaicheng Li & Nian Shi 2021, ‘Power Quality Disturbances
Recognition Using Modified S-Transform Based on Optimally Concentrated
Window’, Integration of Renewable Energy, Sustainability, vol. 13, pp. 1-14.
81