You are on page 1of 6



109
2019 IEEE International Conference on Sustainable Energy Technologies and Systems(ICSETS)..............................................

A Novel Islanding Detection Method Based on


Transfer Learning Technique Using VGG16
Network
Santhosh K G Manikonda, Student Member, IEEE Dattatraya N Gaonkar, Senior Member, IEEE
Department of Electrical and Electronics Engineering Department of Electrical and Electronics Engineering
National Institute of Technology Karnataka National Institute of Technology Karnataka
Surathkal, India Surathkal, India
santhosh.manikonda@gmail.com dngaonkar@nitk.ac.in

Abstract—The escalating need for energy in the recent times an unplanned event. This is a serious issue since it poses
is unprecedented, which is driving the penetration of renewable a threat to both system and personnel [1]–[3]. Unintentional
energy sources in distribution system in a big way. The growing islanding needs to be detected and necessary actions must be
number of renewable sources in a system has made the control,
operation and protection of the system very complex. Among taken. International standards, such as, IEEE 1547 dictates that
others, one of the key issues in seamless interconnection of islanding event must be detected within 2 seconds.
renewable energy sources to a system is islanding. This paper Over the years, several islanding detection methods (IDMs)
proposes a new and efficient islanding detection method that have been reported in the literature. IDMs can be broadly
employs transfer learning based technique. The results show that classified as passive [4]–[7], active [8]–[14], hybrid [15], [16],
the proposed method can successfully classify islanding events
with a good accuracy. signal processing (SP) based [17]–[21], and machine learning
Index Terms—Distributed Generation, Islanding Detection, Re- (ML) based [22]–[26]. Passive methods basically monitor
newable Energy Sources, Machine Learning, Transfer Learning, the local parameters from point of common coupling (PCC).
Classification Parameters, such as voltage, current, frequency, phase and total
harmonic distortion and so on, are passively measured and
I. I NTRODUCTION compared with a threshold value to detect islanding. These
The power generation sources connected to the consumer methods are very fast. However, passive methods require
side of the grid, at the distribution network, for local pro- threshold setting and it has a non-detection zone (NDZ), where
duction and consumption are termed as distributed generation it fails to detect islanding. Active methods on the other hand,
(DG) sources. This scheme reduces the losses that would inject a disturbance signal and check the response. Based
otherwise occur in a conventional transmission network, where on the response an islanding event is detected. The problem
the power generation sources are at a remote location. DG of NDZ is eliminated in this method. The issue with active
is effective in terms of alleviating transmission losses, cost methods is that they introduce power quality problems in
of new system to transmit more power and also other com- the system. Hybrid methods have attempted to combine the
plexities related to long transmission networks. Also, DG can advantages of passive and active methods. Signal processing
be used as an emergency source at times of during natural techniques have the ability to extract hidden features from
calamities or grid failure . On the other hand, DG also has the parameters that are extracted from PCC. This enables the
some limitations. The intermittent nature of the renewable minimization of NDZ in passive techniques and makes them
sources makes the control of power extremely difficult. In effective. In addition, the use of ML based techniques have a
addition to this, the conventional power network is designed great impact on performance of IDMs.
for unidirectional flow of power, meaning from power sources In spite of all the advancements in IDMs, the increasing
to the distribution side. The introduction of DG sources in complexity of the system along with upcoming trends, such
a distribution network has given rise to problems that make as smart grids, the need of the hour is to have intelligent
seamless integration of DG sources cumbersome. One of the IDMs that can handle huge amounts of data effectively. This
key problems that arise due to increased DG penetration is paper proposes a new islanding detection method that uses
islanding. Islanding is a phenomenon where a DG continues to the concept of image classification based on transfer learning
energize the local loads even when the power supply from the technique to classify islanding and non-islanding events. This
utility grid is absent or discontinued. Islanding can either be approach has not been reported in the literature, to the best of
intentional or unintentional. Intentional islanding is a planned authors knowledge. The remainder of the paper is organized
event and necessary care is taken to avoid occurrence of as given below.
any problems. Unintentional islanding on the other hand is Section. II gives an account of the grid connected PV based

978-1-5386-6971-6/19/ $31.00 ©2019 IEEE



110

Fig. 1. Schematic of the system used for implementing proposed method.

inverter system that is used for implementing the proposed


method. Section. III details the process of converting time-
series data to images and the data set generation. In Section. IV
a brief explanation about convolution neural networks (CNNs)
is presented. Section. V explains the method that uses the
generated data set and performs classification of islanding and
non-islanding events. Section. VI discusses the results obtained
using the proposed method. Lastly, Section. VII summarizes
the paper and potential of the proposed method in islanding
detection application.
Fig. 2. Scalogram image of the example equation.
II. S YSTEM DESCRIPTION
A 100kW grid-connected PV system is considered for
implementing the proposed technique. A schematic of the
system is shown in Fig.1. Voltages from the PCC are fed
to the algorithm for classifying islanding and non-islanding
events. The MATLAB/Simulink model of the system shown
in Fig.1 used for this work is based on [27]. This model has
been adapted to meet the requirements of this study. In the
simulations, an isladning event is created at a time instant of
0.4s and Va , Vb , Vc from point of common coupling (PCC) are
acquired for a total of 7 cycles at 1000 samples per second.
A computer with Intel Core i7 processor and 4GB RAM
running on Windows 8 operating system is used to carry out
the simulations.
III. DATA S ET G ENERATION
The proposed technique uses image classification as a means
to detect islanding. The process of converting time-series data,
that is acquired from the PPC, to images is presented here.
x(t) = 10sin(2π ∗ 20 ∗ t) + 20sin(2π ∗ 200 ∗ t) (1) Fig. 3. Scalogram images of concatenated voltage (V[abc] ) for grid connected
and islanded modes of operation.
A scalogram image is obtained by applying Continuous
wavelet transform (CWT) to a time-series data. A scalogram
is basically a visual representation of CWT with x and y axes and 200Hz, while the magnitudes are depicted in two different
representing time and frequency where as z-axis represents colors (blue for 10 and yellow for 20).
magnitude displayed in terms of color gradient. An example To generate the data set for islanding and non-islanding
of a scalogram image and its corresponding voltage signal are cases the following method is used. The three phase voltages,
shown in Fig.2. This scalogram image is obtained from time- Va , Vb and Vc from the PCC are acquired as a time-series data.
series data generated by (1) for a duration of 1sec. It represents These three voltages are concatenated together to represent
two signals of frequencies 20Hz and 200Hz with magnitudes the state of all three voltages in a single array as V[abc] .
10 and 20 respectively. The frequencies are arbitrarily chosen CWT is now applied to concatenated voltage V[abc] to generate
solely for demonstration purpose. It can be seen from the a scalogram image that has the information of all three
scalogram in Fig. 2, the two bars represents frequencies, 20Hz phases. The above process is now repeated for PCC voltages

111

TABLE I
VARIOUS CASES SIMULATED TO CREATE DATA SET

Events simulated Number of cases


Islanding: (Total 56)
Near Zero Mismatch loading 20
Light & medium load 36
Non-Islanding (Total 56)
Grid-connected 36
Sudden switching ON of L and C loads 10
Sudden switching OFF of L and C loads 10

Fig. 5. Convolution layer in a CNN.

learnable weights. Each neuron receives an input and a dot


product is performed. At the end, the entire network of NN
or CNN, has a single differentiable score as output. However,
CNNs or ConvNets are explicitly designed for images at the
input layer. These images are generally looked at as a 3D
Fig. 4. General architecture of a CNN.
volume. The width and height in pixels form a 2D plane while
the RGB values for each pixel form the depth of the volume.
that are acquired for different conditions. Several islanding Majority of the layers in CNN turns input image to features.
and non-islanding cases are simulated and scalogram images Only the last few layers are used for classification [28]. A
are generated for each case. Fig.3 shows scalogram images general architecture of CNN is depicted in Fig. 4.
generated using concatenated voltage V[abc] for grid connected The basic building blocks of a CNN are briefly discussed
and islanded modes of operation. Here, an islanding event is here.
created at 0.4sec. It can be clearly seen in Fig. 3 that there is 1) Convolution Layer (ConVLayer)
a clear distinction between islanded and grid connected mode A ConvLayer is the core of a CNN. It composes of a
images. This indicates the potential of image classification set of learnable filters (also known as kernels). Each
techniques as a candidate for islanding detection. kernel extends through the depth of the image (RGB
Since the detection of an islanding event is very difficult at channels form the depth) but it is spatially small in
near zero power mismatch between the DG source generation width and height. A convolution is applied between
and the load, care has been taken to include plenty of cases the kernel and entire image as shown in Fig. 5. This
in this region. In case of grid connected mode of operation, convolution computes the dot product of entries of the
sudden switching (ON/OFF) of inductive or capacitive loads kernel and the image space that it occupies. As a result
are often misclassified as islanding events. Therefore, several a 2D activation map is produced which represents the
cases of sudden switching of inductive and capacitive loads response of the kernel at every spatial location in the
are also included. A total of 112 events are simulated for the image. This convolution operation is repeated with other
data set creation. These cases include, 56 islanding events and set of filters and produce more 2D activation maps. Once
56 non-islanding events. All the considered cases are tabulated the the image is convoluted with different filters/kernels,
in Table I. a stack of filtered images with different features is
obtained.
IV. C ONVOLUTION N EURAL N ETWORKS 2) Rectified Linear Unit (ReLu)
Feature ”extraction is an important step when traditional ML Rectified Linear Unit layer is mostly used as an acti-
is used for image classification. In the training process features vation function to the output of previous layers. This
are extracted to initially train the ML classifier. Later, when a layer returns zero if the input is negative and returns the
new image is given as an input for classification, again features same number for positive values. Mathematically, it is
are extracted from the image and fed to the ML classifier for represented as f (x) = max(0, x). Other functions such
classification. Contrary to traditional ML, a convolution neural as, tanh and sigmoid are also available.
network (CNN) performs end to end learning, meaning, the 3) Max pooling layer
classifier learns both the features and classification directly This layer performs down sampling of the features that
from the images. are extracted in convolution layer. This process can be
A convolution neural network is quite similar to a Neural looked at as dimensionality reduction. In max pooling
Network (NN). The following are the similarities. Both NN layer, the image is segmented into non-overlapping rect-
and CNNs have neurons as basic building blocks, biases and angles and outputs the maximum value from each sub-

112

Fig. 6. Schematic of the framework of VGG16 convolution neural network.

Fig. 7. Training accuracy and validation loss of VGG16 convolution neural network for islanding detection.

region. Apart from maximum, other functions such as, different but related task is known as Transfer Learning (TL).
average pooling and L2 norm pooling are also available.
V. M ETHODOLOGY
4) Fully connected layer
In a fully connected layer a list of features becomes a list Once the time-series data is converted to images, the
of votes. In other words, this layer produces class scores entire islanding detection problem now becomes an image
from the activations that will be used for classification. classification problem. The proposed method uses Transfer
Learning approach to classify islanding and non-islanding
An important aspect be noted is that, two CNNs with the events treating it as an image classification problem.
same exact architecture will have a different behaviour based To implement transfer learning, a pre-trained CNN, VGG16
on the training data that it is fed to them. The behaviour of is used. VGG16 is a CNN that is trained on 1 million images
the network is learned from the data itself, leading to a data and it can classify over 1000 classes of images. It has been
driven approach. placed among the best performers in the ImageNet competition
Once the architecture of a CNN is designed the next phase in 2014 for demonstrating lowest error till that time [29]. A
is to train the CNN with a huge amount of data. This training general architecture of VGG16 is shown in Fig. 6. Since our
phase generally takes a lot of time and is usually performed on problem is also related to image classification, we can make
graphical processing units (GPU) for enhanced speed. Since use of transfer learning concept to reuse the CNN architecture
it takes a lot of resources, computational, time and men, to of VGG16 and make necessary modifications as needed.
design, test, train and evaluate the performance of a CNN it To suit the requirement of classifying islanding events,
is a good practice to reuse the best architectures that have necessary changes have been made to the last few layers
demonstrated superior performances. The process of reusing of VGG16 network. One major change is that in VGG16,
a model that has performed well for a certain task to solve a the classification layer is designed to classify 1000 classes.

113

network is trained with both islanding and non-islanding image


data. Accuracy of the proposed method is 100% for a testing
data of 44, which has 22 images from islanding class and 22
images from grid connected class. It has been demonstrated
that transfer learning can be effectively applied for islanding
detection problem.
R EFERENCES
[1] R. O’Gorman and M. A. Redfern, ”The difficulties of connecting renew-
able generation into utility networks,” 2003 IEEE Power Engineering
Society General Meeting (IEEE Cat. No.03CH37491), 2003, pp. 1471
Vol. 3.
[2] R. A. Walling and N. W. Miller, ”Distributed generation islanding-
implications on power system dynamic performance,” IEEE Power
Engineering Society Summer Meeting,, Chicago, IL, USA, 2002, pp.
92-96 vol.1.
[3] P. L. Villenueve, ”Concerns generated by islanding [electric power
generation],” in IEEE Power and Energy Magazine, vol. 2, no. 3, pp.
49-53, May-June 2004.
Fig. 8. Confusion matrix for testing data on VGG16 convolution neural [4] Sung-Il Jang and Kwang-Ho Kim, ”An islanding detection method
network. for distributed generations using voltage unbalance and total harmonic
distortion of current,” in IEEE Transactions on Power Delivery, vol. 19,
no. 2, pp. 745-752, April 2004.
[5] M. A. Redfern, O. Usta and G. Fielding, ”Protection against loss of
Therefore, the classification layer is appropriately configured utility grid supply for a dispersed storage and generation unit,” in IEEE
for binary classification to suit the problem at hand. The Transactions on Power Delivery, vol. 8, no. 3, pp. 948-954, July 1993.
learning rate (α) has been chosen as 0.001 and the stochastic [6] W. Freitas, Wilsun Xu, C. M. Affonso and Zhenyu Huang, ”Compar-
ative analysis between ROCOF and vector surge relays for distributed
gradient descent with momentum as optimization algorithm. generation applications,” in IEEE Transactions on Power Delivery, vol.
For training purpose 60% of images from each class are used. 20, no. 2, pp. 1315-1324, April 2005.
The remaining 40% is used for testing the network on unseen [7] Fu-Sheng Pai and Shyh-Jier Huang, ”A detection algorithm for
islanding-prevention of dispersed consumer-owned storage and gener-
cases. Initially, a total of 20 epochs are set for” training. It ating units,” in IEEE Transactions on Energy Conversion, vol. 16, no.
can be seen from the Fig. 7, that the training loss is zero and 4, pp. 346-351, Dec 2001.
accuracy is 100% after the training process. On a single CPU [8] G. A. Kern, ”SunSine300, utility interactive AC module anti-islanding
test results,” Conference Record of the Twenty Sixth IEEE Photovoltaic
it took 367 miutes to train the network. Specialists Conference - 1997, Anaheim, CA, 1997, pp. 1265-1268.
[9] M. E. Ropp, M. Begovic and A. Rohatgi, ”Analysis and performance
VI. R ESULTS assessment of the active frequency drift method of islanding prevention,”
The performance of the network is assessed by testing it in IEEE Transactions on Energy Conversion, vol. 14, no. 3, pp. 810-816,
Sep 1999.
with a new set of images. In this case a total of 44 images, 22 [10] I. PVPS., Evaluation of islanding detection methods for photovoltaic
islanding and 22 grid connected, are used for testing. These utility-interactive power systems (Report IEA PVPS T5-09, 2002)
images are not used in the training process. This approach will [11] F. Liu, Y. Kang, Y. Zhang, S. Duan and X. Lin, ”Improved SMS island-
ing detection method for grid-connected converters,” in IET Renewable
be useful to asses the performance of the CNN for unseen data. Power Generation, vol. 4, no. 1, pp. 36-42, January 2010.
The performance of CNN can be visualized by a confusion [12] L. A. C. Lopes and Huili Sun, ”Performance assessment of active
matrix. Fig. 8 depicts the confusion matrix for the VGG16 frequency drifting islanding detection methods,” in IEEE Transactions
on Energy Conversion, vol. 21, no. 1, pp. 171-180, March 2006.
CNN used for islanding detection. It can be seen that all [13] H. Karimi, A. Yazdani and R. Iravani, ”Negative-Sequence Current
22 islanding cases have been classified as islanding and all Injection for Fast Islanding Detection of a Distributed Resource Unit,”
22 grid connected cases as grid connected events. In terms in IEEE Transactions on Power Electronics, vol. 23, no. 1, pp. 298-307,
Jan. 2008.
of accuracy, this is equivalent to 100%. The results achieved [14] D. Reigosa, F. Briz, C. B. Charro, P. Garcia and J. M. Guerrero, ”Active
show the potential of transfer learning technique for islanding Islanding Detection Using High-Frequency Signal Injection,” in IEEE
detection. Transactions on Industry Applications, vol. 48, no. 5, pp. 1588-1597,
Sept.-Oct. 2012.
VII. C ONCLUSION [15] V. Menon and M. H. Nehrir, ”A Hybrid Islanding Detection Technique
Using Voltage Unbalance and Frequency Set Point,” in IEEE Transac-
A new approach has been proposed in this paper which tions on Power Systems, vol. 22, no. 1, pp. 442-448, Feb. 2007.
treats islanding detection problem as an image classification [16] P. Mahat, Z. Chen and B. Bak-Jensen, ”A Hybrid Islanding Detection
Technique Using Average Rate of Voltage Change and Real Power
problem. This is made possible by converting time series Shift,” in IEEE Transactions on Power Delivery, vol. 24, no. 2, pp.
data into scalogram images. These images are obtained by 764-771, April 2009.
applying continuous wavelet transform to the voltage signals [17] J. H. Kim, J. G. Kim, Y. H. Ji, Y. C. Jung and C. Y. Won, ”An Islanding
Detection Method for a Grid-Connected System Based on the Goertzel
acquired from the PCC. The state of all the three phases can Algorithm,” in IEEE Transactions on Power Electronics, vol. 26, no. 4,
be represented in a single image. In the next step, a pre- pp. 1049-1055, April 2011.
trained network, VGG16, is used to apply transfer learning. [18] A. Pigazo, M. Liserre, R. A. Mastromauro, V. M. Moreno and A.
Dell’Aquila, ”Wavelet-Based Islanding Detection in Grid-Connected PV
Few modifications have been made to the pre-trained VGG16 Systems,” in IEEE Transactions on Industrial Electronics, vol. 56, no.
CNN to suit the requirements of islanding detection. The 11, pp. 4445-4455, Nov. 2009.

114

[19] A. Samui and S. R. Samantaray, ”Wavelet Singular Entropy-Based Transactions on Power Delivery, vol. 22, no. 2, pp. 828-835, April 2007.
Islanding Detection in Distributed Generation,” in IEEE Transactions [25] B. Matic-Cuka and M. Kezunovic, ”Islanding Detection for Inverter-
on Power Delivery, vol. 28, no. 1, pp. 411-418, Jan. 2013. Based Distributed Generation Using Support Vector Machine Method,”
[20] P. K. Ray, N. Kishor and S. R. Mohanty, ”Islanding and Power Quality in IEEE Transactions on Smart Grid, vol. 5, no. 6, pp. 2676-2686, Nov.
Disturbance Detection in Grid-Connected Hybrid Power System Using 2014.
Wavelet and S-Transform,” in IEEE Transactions on Smart Grid, vol. [26] M. R. Alam, K. M. Muttaqi and A. Bouzerdoum, ”A Multifeature-Based
3, no. 3, pp. 1082-1094, Sept. 2012. Approach for Islanding Detection of DG in the Subcritical Region of
[21] M. A. Farhan and K. Shanti Swarup, ”Mathematical morphology- Vector Surge Relays,” in IEEE Transactions on Power Delivery, vol. 29,
based islanding detection for distributed generation,” in IET Generation, no. 5, pp. 2349-2358, Oct. 2014.
Transmission & Distribution, vol. 10, no. 2, pp. 518-525, 2 4 2016. [27] P. Giroux, G.Sybille, Hydro-Quebec Research Institute (IREQ), and C.
[22] O. N. Faqhruldin, E. F. El-Saadany and H. H. Zeineldin, ”A Universal Osorio, S. Chandrachood, The Mathworks, 100kW Grid- Connected PV
Islanding Detection Technique for Distributed Generation Using Pattern Array demo detaield model, Mathworks File Exchange,2012.
Recognition,” in IEEE Transactions on Smart Grid, vol. 5, no. 4, pp. [28] M. Z. Alom, T. M. Taha, C. Yakopcic, S. Westberg, M. Hasan, B.
1985-1992, July 2014. C. Van Esesn, A. A. S.Awwal, and V. K. Asari, The History Began
[23] S. R. Samantaray, K. El-Arroudi, G. Joos and I. Kamwa, ”A Fuzzy Rule- from AlexNet: A Comprehensive Survey on Deep Learning Approaches,
Based Approach for Islanding Detection in Distributed Generation,” in arXiv:1803.01164. http://arxiv.org/abs/1803.01164.
IEEE Transactions on Power Delivery, vol. 25, no. 3, pp. 1427-1433, [29] K. Simonyan, A. Zisserman , ”Very Deep Convolutional Networks for
July 2010. Large-Scale Image Recognition,” CoRR, https://arxiv.org/abs/1409.1556,
[24] K. El-Arroudi, G. Joos, I. Kamwa and D. T. McGillis, ”Intelligent-Based Computer Vision and Pattern Recognition (CVPR), 2014.
Approach to Islanding Detection in Distributed Generation,” in IEEE

You might also like