You are on page 1of 8

Artificial Neural Network based Dynamic Voltage

Restorer for Improvement of Power Quality


Mikal Ahmed
Md. Samiul Haque Sunny Eklas Hossain
Electrical & Electronic Engineering
Electrical & Electronic Engineering Electrical Engineering & Renewable
Khulna University of Engineering &
Khulna University of Engineering & Energy
Technology, KUET
Technology, KUET Oregon Tech.
Khulna, Bangladesh
Khulna, Bangladesh OR-97601, USA
mekal.2k11@gmail.com
mdshs31@gmail.com eklas.hossain@oit.edu
Fuad Un-Noor
Electrical & Electronic Engineering
Khulna University of Engineering &
Technology, KUET
Khulna, Bangladesh
fuad9304@gmail.com

Abstract—Dynamic Voltage Restorer (DVR) is a custom transmission parallel feeders [7]. This paper presents design
power device used as an effective solution in protecting and implementation of a high-performance DVR – which,
sensitive loads from voltage disturbances in power distribution unlike the past works mentioned – employs Artificial Neural
systems. The efficiency of the control technique, that conducts Network (ANN) control strategy for voltage sag and swell
the switching of the inverters, determines the DVR efficiency. mitigation of a power system network.
Proportional-Integral-Derivative (PID) control is the general
technique to do that. The power quality restoration capabilities ANN loosely imitates animal brains, where numerous
of this controller are limited, and it produces significant neurons are connected in an intricate nexus. In ANN, a
amount of harmonics – all of which stems from this linear number of nodes act as these neurons, and when a node
technique’s application for controlling non-linear DVR. As a receives any information, it forwards it to the next one in line
solution, this paper proposes an Artificial Neural Network after required processing. The nodes are arranged in different
(ANN) based controller for enhancing restoration and layers, and each input is processed through all the layers to
harmonics suppression capabilities of DVR. A detailed produce an output. Before being able to employ ANNs in
comparison of Neural Network controller with PID driven any specific task, they need to be trained with data related to
controller and Fuzzy logic driven controller is also illustrated, the purpose it is supposed to serve. In this case, the ANN is
where the proposed controller demonstrated superior trained with fault data and the corresponding actions to
performance with a mere 13.5% Total Harmonic Distortion. mitigate those instabilities. To achieve this, a feedforward
ANN is trained with backpropagation and Levenberg
Keywords—Power quality, Dynamic Voltage Restorer (DVR),
PID, Fuzzy logic, Artificial Neural Network (ANN)
Marquardt optimization. Bias is used during the training;
tansig, softmax, and purelin transfer functions are used in the
I. INTRODUCTION layers; the training data is generalized and randomized to
With advanced and complicated technologies being avoid the overfitting during the training, and consists of
implemented in today’s power systems, electrical power previous fault history and possible disturbance conditions.
quality faces many problems including voltage sags, swells, This ANN approach is guaranteed to be robust because of its
harmonics, unbalance and flickers [1-3]. Voltage sags adaptive nature which comes from the ability to be trained
associated with faults in transmission and distribution for all possible fault cases. The results show that the
systems, energizing of transformers, and starting of large proposed DVR works perfectly against voltage sags and
induction motors are considered as the most important power swells with only 13.5% Total Harmonic Distortion (THD),
quality disturbances [4-7]. Dynamic Voltage Restorers whereas Fuzzy logic and PID control systems generated
(DVR) in the past have been deployed to counter these issues THDs of 24.4% and 19.7%, respectively.
with various techniques including static VAR compensator In this paper, section II gives the theoretical background,
(SVC) [4], different inverter configurations [8, 9], voltage section III presents the proposed method, and section IV
source inverter [10], and bidirectional DC-DC converter, shows the mathematical underpinnings and the training
among others. Mahdianpoor et al. employed Posicast and process of the ANN. Section V demonstrates the simulation
P+Resonant control method which constrained fault current results: which shows the DVR performance for three phase
by making the DVR behave like a virtual impedance [5]. sag mitigation and the corresponding inverter signals.
Abed et al. used Proportional-Integral (PI) controller along Section VI compares the proposed method with PID and
with pulse width modulation to overcome voltage sags and Fuzzy controllers, where the superiority of the proposed
swells in [11], while dq0 concept was applied by Francis et technique is demonstrated for different sag and swell
al. in [12]. Jimichi et al. proposed an isolated unidirectional mitigations scenarios, and THD suppression. Finally, the
high frequency DC-DC converter to control a DVR with low conclusion is drawn in section VII.
voltage ratings in [13]. Shahabadini et al.’s method uses
cascaded H-bridge multilevel converters, and reduces power II. THEORITICAL BACKGROUND AND THE PROBLEM
factor at load side during sags to increase compensation FORMULATION
capability [14]. Kumar et al. used sliding mode control for To calculate the voltage sag/swell magnitude at the point
DVR control aimed at mitigating sags in three-phase of common coupling (PCC) in radial systems (which is the
978-1-4799-7312-5/18/$31.00 ©2018 IEEE 5565
most prevailing one in industrial distribution networks), it is
common to use the voltage divider model. According to this
model, the power quality issues can be represented as shown
in Fig. 1, where the voltage magnitude at the PCC is given
by:
Vsag / swell = Z f / ( Z s + Z f ) (1)
Where,
Z s = The source impedance including the transformer
impedance;
Z f =The impedance between the PCC and the fault
(a)
including fault and line impedances.

Fig. 1. Block diagram of power system to represent power quality issues.

Dynamic Voltage Restorers (DVR) are complicated static


devices which work by adding the required voltage to restore
(b)
the amplitude back to stable region during a voltage sag.
Basically, this means that the device injects power into the Fig. 2. (a) Block diagram of Dynamic Voltage Restorer (DVR). (b)
Conventional DVR connected distribution system.
system in order to bring the voltage back to the level required
by the load. Injection of power is achieved by a switching
There are mainly three voltage sag compensation
system coupled with a transformer which is connected in
techniques that are used by dynamic voltage restorer in order
series with the load. There are two types of DVR; one with
to cater the power quality problems: pre-sag compensation,
energy storage, and the other without it. Devices without
in-phase compensation, and phase advanced compensation
energy storage restore the voltage waveform by drawing the
required amount of current from the supply. The other type V pre − sag
technique. In the diagram shown in Fig. 3, the and
uses the energy storage to compensate the voltage sag. The
difference between a DVR with storage, and an Vsag
are voltages at the point of common coupling (PCC)
Uninterruptible Power Supply (UPS) is that the DVR only before and during the sag respectively. The voltage injected
supplies the part of the waveform that has been reduced in by DVR for pre-sag compensation can be written as:
amplitude due to the voltage sag, not the whole waveform. In
other words, UPS is a power source, whereas DVR is just a
compensator to mitigate any disturbance in the supplied
power from a source. As can be seen from Fig. 2, the basic
DVR consists of an injection/booster transformer, a
harmonic filter, a voltage source converter (VSC), and a
control system. DVR systems are highly efficient and fast in
response. In the case of systems without storage, none of the
inherent issues with storage are relevant. Another key aspect
of DVR systems is that they can be used for harmonic
mitigation, fault current limiting, power factor correction and
reduction of transients, in addition to voltage sag mitigation.

Fig. 3. Phase diagram of sag compensation techniques. The vectors in


blue, red, and green present the compensation voltages for the three
differenct techniques.

| Vinj |=| V pre− sag | − | Vsag | (2)

5566
V pre − sag sin(θ pre − sag ) y j = f (¦i w ji xi − θ j ) − f (net j )
θinj = tan −1 ( ) (3) (7)
V pre − sag cos(θ pre − sag ) − Vsag cos(θ sag ) Where,
The voltage injected by DVR for in-phase compensation
technique is given by: net j = ¦i w ji xi − θ j
(8)
VDVR = Vinj (4)
Computational output of the output node:
| Vinj |=| V pre− sag | − | Vsag | (5)

∠Vinj = θ inj = θ sag (6) z l = f (¦i vlj y j − θ l ) = f (netl )


(9)
The main concept of phase advance compensation
Where,
method is to achieve required compensation by reactive
power injection only. In this method, the injected voltage and
the load current are 90 degrees apart.
netl = ¦i vlj y j − θ l
(10)
III. PROPOSED METHOD
Among the main two types of control techniques - linear Error of the output node:
and nonlinear - the nonlinear controller is more suitable for
DVR, as it is truly a non-linear system due to the presence of 1 1
power semiconductor switches in the inverter bridge. E= ¦ (t l − z l ) 2 = 2 ¦l(t l − f (¦iv lj y j − θ l )) 2
2 l
(11)
Frequently applied non-linear controllers are Artificial
Neural Network (ANN), Fuzzy Logic (FL), and Space
Vector Pulse Width Modulation (SVPWM). ANN control Hypothesis:
method has adaptive and self-organization capacity. It also
has inherent learning capability that can provide improved
¦
n
precision by interpolation. Because of these reasons, ANN is hθ ( x ) = θ T x = i=0
θ i xi
(12)
chosen in the proposed system to overcome the shortcomings
of linear PID method. In Fig. 4, block diagram of the
proposed method is shown. Gradient update [18]:

1 m
θ j := θ j − α ¦ (hθ ( x (i ) ) − y (i ) ) x j (i )
m i =1 (13)

Where, xi = input node, y j = node of the hidden layer,


zl = node of output layer, w ji = weight value of network
between the input node and node of hidden layer, vlj =
weight value of network between the nodes of hidden layer
and output layer, tl = expected value of the output node, α =
learning rate, m = total sample, θ = weight.
The training procedure of the ANN is depicted in Fig. 5.
Though it is difficult to set a universal set of parameters best-
Fig. 4. Block diagram of the proposed DVR system to mitigate voltage
instabilities.
suited for every system, the training can be optimized to
produce a near-perfect result for all cases, even if the
topology is different than the one considered for this work.
IV. ARTIFICIAL NEURAL NETWORK The time required for training can also be modified
An Artificial Neural Network (ANN) is a mathematical considering the trade-offs between accuracy and the number
model or computational model that is inspired by the of nodes in the ANN; as less number of layers and nodes
structure and functional aspects of biological neural networks reduces the training time, but also reduces accuracy.
[15]. These networks are used to estimate or approximate
functions, can depend on a large number of inputs which are
generally unknown [16]. A hypothesis is made which will be
used to calculate gradient output. Output of computed
network can be explained as following [17]:
Output of the node of hidden layer:

5567
compensation technique. Fig. 6 shows the simulation model,
while Table 1 shows the power system parameters used in
this work. Fig. 7 shows the waveforms of three phase supply
voltage, sag condition, required voltage to mitigate it, and
voltage after restoration by the proposed ANN driven DVR.
It can be noted that the restored waveform is identical to the
original one, and attained stability. The sag simulated here is
also a drastic one, where real systems do not usually change
in such an abrupt way. But the drastic sag is used to
underscore the robustness of the proposed ANN-based
DVR’s robustness over other methods; as for small changes
in voltage profile all methods’ responses are nearly the same.

TABLE I. PARAMETERS FOR THE POWER SYSTEM USED IN


SIMULATION.

Component Details

Source 33 kV, 50 Hz

Transformer T1 5 MVA, 33/11 kV DYn11

Transformer T2 750 MVA, 11/4 kV DYn11

Line 0.675+j0.372 Ω /km, 2 km

Load 4.75 kW, 3.25 kVAR

Fig. 5. Training procedure flowchart of the ANN controller for DVR.

V. SIMULATION RESULTS AND DISCUSSION


A three-phase power system with a source, a
transmission line, two transformers at both ends of it, and a
nonlinear load has been designed to test the proposed

Fig. 6. Simulation model for sag mitigation with ANN controller.

5568
(a)

(b)

(c)

(d)

(e)

5569
(f)
Fig. 7. Three phase sag mitigation based on ANN controlled DVR. (a) Instantaneous voltage at stable condition; (b) Instantantaneous voltage when sag
occurs; (c) Voltage required to mitigate voltage sag; (d) Output voltage of the inverter circuit; (e) Generated PWM for inverter; (f) Instantaneous voltage
after voltage restoration.

both by almost eliminating harmonics higher than the 4th


VI. COMPARATIVE ANALYSIS order (200 Hz), and the harmonics magnitudes within this
Sag restoration by DVR, using PID, Fuzzy, and the window are also less than those generated by PID and Fuzzy
proposed ANN controller is shown in Fig. 8. In Fig. 8a, the controllers. Table 2 quantifies the performances of these
output of the PID method demonstrates significant amount of three methods to mitigate voltage sag and swell for both
harmonics presence with noticeable waveform distortion. single and three phase systems, along with the system THDs.
Fig. 8b shows the Fuzzy controller’s output, which has less This comparison unequivocally proves ANN’s superiority as
harmonics than PID, and contains a little distorted wave it totally outperforms PID and provides significantly less
pattern all along. But the ANN method restores the voltage THD than both PID and Fuzzy methods. The Fuzzy
without any noticeable distortion and harmonics (Fig. 8c) – controller is clearly the least effective one among these three.
which demonstrates its superiority over the other two. To The PID controller performs only 0.4% better than ANN for
provide a better illustration of the harmonics suppression 50% three-phase voltage swell restoration, and in all the
capabilities of these methods, the total harmonic distortion other testing criteria, the ANN controller reigns supreme.
(THD) is presented in Fig. 8d. The fundamental frequency is However, this superior performance comes at the expenses
50 Hz; therefore, PID and Fuzzy are both generating a large of greater cost and computational load compared to other
number of harmonics - Fuzzy being more successful of these existing methods, but these limitations are acceptable
two to suppress their magnitudes. But ANN outshines them considering the higher accuracy.

(a)

(b)

5570
(c)

(d)
Fig. 8. Restored Voltage Using (a) PID controller; (b) Fuzzy controller; (c) ANN controller; (d)THD comparison: the least THD can be seen at ANN based
DVR, the range of the harmonics is also truncated by a huge amount by this method.

TABLE II. COMPARISON OF ANN, FUZZY, AND PID CONTROLLED DVR. THE ANN METHOD SHOWS THE BEST PERFORMANCE.
Controller 50% 3-ĭ voltage 50% 1-ĭ voltage 50% 3-ĭ voltage 50% 1-ĭ voltage % THD Voltage restoration and
sag restoration sag restoration swell restoration swell restoration THD mitigation capability.
ANN 99.8% 99.5% 99.6% 99.8% 13.5% Excellent

FUZZY 98.6% 98.7% 99.2% 98.32% 24.4% Moderate

PID 98.1% 98.4% 97% 98.2% 19.7% Acceptable

voltage sag have been presented. Comparison of the


VII. CONCLUSION proposed method with the popular PID controller, and non-
DVRs are a popular choice for enhancing power quality linear Fuzzy controller has been carried out, where the
in power systems, with an array of control system on offer to proposed ANN controller appeared as the best option to
drive these devices. In this paper, application of ANN to restore system voltage while mitigating THD to the greatest
operate DVR for providing better performance than existing extent.
systems to mitigate voltage sag, swell, and harmonics has
been demonstrated. Problem statement and theoretical REFERENCES
background, structure of the proposed method, training [1] M. H. Bollen, R. Das, S. Djokic, P. Ciufo, J. Meyer, S. K.
procedure of the ANN used have been described in detail. Rönnberg, et al., "Power quality concerns in implementing
Simulation results showing the DVR performance during

5571
smart distribution-grid applications," IEEE Transactions on Conference on Automatic Control and Intelligent Systems
Smart Grid, vol. 8, pp. 391-399, 2017. (I2CACIS), Kota Kinabalu, 2017, pp. 122-127.
[2] V. Khadkikar, D. Xu, and C. Cecati, "Emerging Power Quality [12] D. Francis and T. Thomas, "Mitigation of voltage sag and swell
Problems and State-of-the-Art Solutions," IEEE Transactions using dynamic voltage restorer," in Emerging Research Areas:
on Industrial Electronics, vol. 64, pp. 761-763, 2017. Magnetics, Machines and Drives (AICERA/iCMMD), 2014
[3] X. Liang, "Emerging power quality challenges due to Annual International Conference on, 2014, pp. 1-6.
integration of renewable energy sources," IEEE Transactions on [13] T. Jimichi, H. Fujita, and H. Akagi, "A dynamic voltage restorer
Industry Applications, vol. 53, pp. 855-866, 2017. equipped with a high-frequency isolated DC–DC converter,"
[4] T. Sutradhar, J. R. Pal, and C. Nandi, "Voltage Sag Mitigation IEEE Transactions on Industry Applications, vol. 47, pp. 169-
by using SVC," International Journal of Computer 175, 2011.
Applications, vol. 71, 2013. [14] M. Shahabadini and H. Iman-Eini, "Improving the performance
[5] F. M. Mahdianpoor, R. A. Hooshmand, and M. Ataei, "A new of a cascaded H-bridge-based interline dynamic voltage
approach to multifunctional dynamic voltage restorer restorer," IEEE Transactions on Power Delivery, vol. 31, pp.
implementation for emergency control in distribution systems," 1160-1167, 2016.
IEEE transactions on power delivery, vol. 26, pp. 882-890, [15] M. S. H. Sunny, A. N. R. Ahmed and M. K. Hasan, "Design and
2011. simulation of maximum power point tracking of photovoltaic
[6] E. Babaei, M. F. Kangarlu, and M. Sabahi, "Mitigation of system using ANN," 2016 3rd International Conference on
voltage disturbances using dynamic voltage restorer based on Electrical Engineering and Information Communication
direct converters," IEEE Transactions on Power Delivery, vol. Technology (ICEEICT), Dhaka, 2016, pp. 1-5.
25, pp. 2676-2683, 2010. doi: 10.1109/CEEICT.2016.7873105.
[7] G. N. Kumar and D. D. Chowdary, "DVR with sliding mode [16] M. S. H. Sunny, E. Hossain, T. N. Mimma and S. Hossain, "An
control to alleviate voltage sags on a distribution system for autonomous robot: Using ANN to navigate in a static path,"
three phase short circuit fault," in Industrial and Information 2017 4th International Conference on Advances in Electrical
Systems, 2008. ICIIS 2008. IEEE Region 10 and the Third Engineering (ICAEE), Dhaka, 2017, pp. 291-296.
international Conference on, 2008, pp. 1-4. doi: 10.1109/ICAEE.2017.8255369
[8] M. Messiha, C. Baraket, A. Massoud, A. Iqbal, and R. Soliman, [17] M. S. H. Sunny, E. Hossain, A. Sutradhar, M. Mandal and M.
"Dynamic voltage restorer for voltage sag mitigation in oil & A. Rafiq, "Evaluation and development of a self-ruling internal
gas industry," in Smart Grid and Renewable Energy (SGRE), control system for preventing car accidents using artificial
2015 First Workshop on, 2015, pp. 1-6. neural network," 2017 4th International Conference on
[9] M. ønci, M. Büyük, A. Tan, K. Bayindir, and M. Tümay, Survey Advances in Electrical Engineering (ICAEE), Dhaka, 2017, pp.
of inverter topologies implemented in dynamic voltage 297-301.
restorers, 2017. doi: 10.1109/ICAEE.2017.8255370
[10] A. M. Gee, F. Robinson, and W. Yuan, "A Superconducting [18] Andrew Ng, Machine learning on OpenClassroom. [Online].
Magnetic Energy Storage-Emulator/Battery Supported Dynamic Available:http://openclassroom.stanford.edu/MainFolder/Docu
Voltage Restorer," IEEE Transactions on Energy Conversion, mentPage.php?course=MachineLearning&doc=exercises/ex3/ex
vol. 32, pp. 55-64, 2017. 3.html
[11] A. H. Abed, J. Rahebi and A. Farzamnia, "Improvement for
power quality by using dynamic voltage restorer in electrical
distribution networks," 2017 IEEE 2nd International

5572

You might also like