Design and implementation of optimal controller for DFIG-WT using autonomous groups particle swarm optimization
Design and implementation of optimal controller for DFIG-WT using autonomous groups particle swarm optimization
Corresponding Author:
Wael Abdelfattah Mohamed
Departement of Electrical Power and Machines Engineering, The Higher Institute of Engineering
4J94+QFG, El Shorouk, Cairo Governorate 4920213, Egypt
Email: [email protected]
1. INTRODUCTION
Wind energy generation has turned out to be one of the rapidest and the most significant source of
renewable energy in the world because of the huge expends of electricity needs. Now, the variable-speed
wind turbine (VSWT) fitted with doubly fed induction generator (DFIG) has a growing attention due to its
advantages [1]. DFIG is the most used generator in variable speed fixed frequency wind power systems. In
this paper DFIG system is applied to stand-alone system. Different to grid-connected wind turbine (WT)
systems, off-grid system should maintain active and reactive power beside matching the generation and load,
regardless of variation in wind speed and load changes [2], [3].
Fulfilled transient performance can't be accomplished by customary PI control for the DFIG because
of nonlinear control characteristics of DFIG. Subsequently this work delivers the issue to build up a smart
control strategy for the DFIG for off-grid system. Various control techniques, for example, Appling adaptive,
and fuzzy logic. The famous proportional-integral (PI) controller ,which is widely used in WT due to it is
simple [4] and other studies found in [5]-[7]. However, it is not easy to get the required performance if its
parameters isn’t tunned. Figure 1 shows the PI controller.
The parameter settings of the PI controller are the vital of the PI controller design because they
directly affect the control performance of the system. Over the most recent couple of years, the heuristic
algorithms are applied to fine-tune the PI controller. Numerous master's focus on the exploration of the
intelligent algorithms, for example, the neural network and its mutation algorithm [8], [9]. The controller
parameters or gains (Kp and Ki) are picked to meet recommended performance rules indicated as far as rise
and settling times overshoot, and ess, following a step change in the demand [10].
Figure 1. PI controller
Many researches were dedicated to the insightful PI controllers, for example, the fuzzy and variable
gain algorithms [11], [12] however the fuzzy and variable gain rules actually should be optimized. Thus, the
biological optimization algorithms such as the evolutionary computing, swarm intelligence, and so on, were
introduced to improve the optimization of PI parameters [10], [13]-18]. Swarm intelligence has purposed PSO
and autonomous groups PSO (AGPSO) that have opened paths to a new generation of advanced process
control. These advanced techniques to design control systems are, in general, dependent on achieving optimum
performance with various types of disturbance that are unknown in most practical applications [15]-[19].
In this paper, the system modeling is described in section 2. Also, in section 2 validation of the
identified model. In section 3 explanation of applying the optimization techniques is presented. While the
results and discussions are presented in section 4. Finally, the conclusion is given in section 5.
2. SYSTEM MODELING
2.1. Implemented wind turbine and DFIG system
A system consists of DFIG, brushless DC motor (BLDC), Drive circuit, inverter, speed measuring
unit, reactive power measuring unit and data acquisition card shown in Figure 2. Optimization techniques is
applied to PI controller in MATLAB/Simulink while connecting the data acquisition card to the
MATLAB/SIMULINKusing Data Acquisition Toolbox. and the block diagram describing the system shown
in Figure 3. The technical data of the system is as in [4].
Int J Pow Elec & Dri Syst, Vol. 13, No. 3, September 2022: 1813-1821
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1815
Figure 4. Measured and simulated TF model output Figure 5. Measured and simulated TF model output
of VAR loop of speed loop
PSO or AGPSO
Tuning Algorithm
Plant
Figure 6. VAR and speed response of practical and Figure 7. Structure of system with PI tuning
identified model algorithms
3. METHOD
3.1. Objective function
The PI controller has normally a TF given by (3) [21]:
𝐾𝑖
𝐺𝑐 (𝑠) = 𝐾𝑝 + (3)
𝑆
where, Kp, and Ki indicates the proportional, and integral gains respectively. In this paper, PSO, and
AGPSO algorithms are used to optimize the the controller parameters for VAR loop and speed control based
on performance index. The performance index are weighted goal attainment Method 1,2 (WGAM1), and
(WGAM2), declared by (4), and (5) [21].
1
𝑊𝐺𝐴𝑀1 = (4)
[𝑐1 (𝑡𝑟−𝑡𝑟𝑑 )2 +𝑐2 (𝑀𝑝 −𝑀𝑝𝑑 )2 +𝑐3 (𝑡𝑠 −𝑡𝑠𝑑 )2 +𝑐4 (𝑒𝑠𝑠 −𝑒𝑠𝑠𝑑 )2 ]
Design and implementation of optimal controller for DFIG-WT using … (Hatem Mohamed Seoudy)
1816 ISSN: 2088-8694
1
𝑊𝐺𝐴𝑀2 = (5)
(1−𝑒 −𝛽 )⋅(𝑀𝑝 +𝑒𝑠𝑠 )+(𝑒 −𝛽 )⋅(𝑡𝑠 −𝑡𝑟 )
Where, r(t): required output, y(t): plant output, e(t): error signal, β: weighting factor, c1 to c4: weighting
factors, trd, Mpd: desired rise time, and maximum overshoot. tsd, and essd: desired settling time, and steady
state error. In (4) the actual parameters (tr, Mp, ts, and ess) are used to find the best solution for the objective
function by ∑(𝑒𝑟𝑟𝑜𝑟𝑠)2 of actual and desired parameters (trd, Mpd, tsd, and essd). In (5), The factor β is
above 0.7 to minimize Mp and ess. meanwhile β is below 0.7 to minimize tr and ts [4].
where, 𝑣𝑖𝑘 is the present velocity of particle i at iteration k, 𝑣𝑖𝑘+1 is the updated velocity of particle i, w is the
inertia weight, c1, c2 are two acceleration positive PSO constants, 𝑠𝑖𝑘 is the present position of particle i at
iteration k, rand1i, rand2i are random numbers between 0 and 1, pbesti is the best position of particle i, and
gbest is the global best position of the group so far. The new position 𝑠𝑖𝑘+1 can be modified using the present
position 𝑠𝑖𝑘 and updated velocity 𝑣𝑖𝑘+1 .
The positive constants c1 and c2 are usually set between 0.5 to 2 [14].The inertia weight w is set as a
decreasing linear function with the iteration number from 0.9 to 0.4 [22]-[24]. PSO parameters are
summarized in Table 1.
In addition to the privilege of PSO, autonomous groups particle swarm optimization (AGPSO) has
the advantages of using diverse autonomous groups which result in more randomized and directed search.
Applying AGPSO to tune PI controller to control DFIG is proposed beside PSO. A mathematical model of
the AGPSO is utilize different strategies for updating c1 and c2 [25]. Finding a good balance between c1 and
c2 and considering them as dynamic coefficients. The dynamic coefficients of AGPSO algorithm are
presented in the Figure 8 [25].
In Table 2, T indicates the maximum number of iterations and t is the present iteration. For instance,
the particles of AGPSO utilizes two principal third root, two cubic functions for groups 1 and 2 in addition to
one principal third root and cubic functions for groups 3 and 4.
Int J Pow Elec & Dri Syst, Vol. 13, No. 3, September 2022: 1813-1821
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1817
Table 3. Results of the PSO, and AGPSO for PI Table 4. Results of the PSO and AGPSO for PI
controllers in simulation of VAR loop controllers in simulation of speed loop
Response Optimization Performance Criteria Optimization Performance Criteria
Response
methods WGAM1 WGAM2 methods WGAM1 WGAM2
Value of fitness PSO 1.5392 1.4392 Value of fitness PSO 0.11515 0.86391
function AGPSO 0.2538 0.7209 function AGPSO 8.79E-04 0.1568
Rising PSO 0.087399 1.4055 Rising PSO 0.60787 0.58724
time(sec) AGPSO 0.3709 0.1735 time(sec) AGPSO 0.2787 0.1917
Overshoot PSO 0 0 Overshoot PSO 0.046845 0.01337
percentage AGPSO 0.0079 0.0044 percentage AGPSO 0.0253 0.0284
Settling time PSO 2.9721 2.9962 Settling time PSO 1.103 1.5402
(sec) AGPSO 1.505 0.9698 (sec) AGPSO 0.5491 0.3617
Steady state PSO 0.001282 0.00201 Steady state PSO -0.00578 -0.00357
error AGPSO 0.0016 7.30E-04 error AGPSO -0.0025 -0.0025
Table 5. Parameters of PI controllers for VAR loop Table 6. Parameters of PI controllers for speed loop
Performance Criteria Performance Criteria
PI Gains Optimization methods PI Gains Optimization methods
WGAM1 WGAM2 WGAM1 WGAM2
PSO 0.061582 0.027787 PSO 0.000296 0.003862
Kp Kp
AGPSO 0 0.0196 AGPSO 9.50E-04 3.06E-04
PSO 0.076026 0.054485 PSO 0.005508 0.008898
Ki Ki
AGPSO 0.0716 0.1554 AGPSO 0.0130 0.0130
Figure 9. Simulation with respect to WGAM1 Figure 10. Simulation with respect to WGAM2
Design and implementation of optimal controller for DFIG-WT using … (Hatem Mohamed Seoudy)
1818 ISSN: 2088-8694
In the experimentation, the resulted gains are Kp=0.0007 and Ki=0.01 for the speed regulation and
Kp=0.02 and Ki=0.1 for the VAR regulation. The experimental results of the implemented system under the
effect of PI, PSO-PI, and AGPSO-PI controllers are shown in Figures 11 to 14. Figure 11 shows the response
of speed loop and corresponding response of VAR loop for case 1 (RL load, 1600 rpm, and 30 VAR) (a) PI
controller, (b) PSO-PI controller, and (c) AGPSO-PI controller.
Also Figure 12, 13, and 14 show that responses for case 2 (induction motor, 1600 rpm, and 30
VAR), case 3 (RL load, 1600 to 1400 rpm, and 30 VAR), and case 4 (induction motor, 1600 to 1400 rpm,
and 30 VAR) respectively. The Figures show the superior of AGPSO algorithm than PSO algorithm in
finding the global optimum PI parameters and better time response.
(a)
(a)
(b) (b)
(c) (c)
Figure 11. Experimental results of speed and VAR Figure 12. Experimental results of speed and VAR
Case 1 at 1600 rpm: (a) PI controller, (b) PSO-PI Case 2 at 1600 rpm: (a) PI controller, (b) PSO-PI
controller, and (c) AGPSO-PI controller controller, and (c) AGPSO-PI controller
Int J Pow Elec & Dri Syst, Vol. 13, No. 3, September 2022: 1813-1821
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1819
(a) (a)
(b) (b)
(c) (c)
Figure 1. Experimental results of Speed and VAR Figure 2. Experimental results of Speed and VAR
Case 3 at 1600 rpm to 1400 rpm to 1600 rpm. (a) PI Case 4 at 1600 rpm to 1400 rpm to 1600 rpm (a) PI
controller, (b) PSO-PI controller, and (c) AGPSO- controller, (b) PSO-PI controller, and (c) AGPSO-PI
PI controller controller
5. CONCLUSION
This paper introduces a design and implementation of Optimal PI Controller for Test bed of DFIG
driven by wind turbine using autonomous group PSO. Two optimization techniques PSO and AGPSO for PI
controllers tuning of VAR loop beside speed loop of a DFIG driven by BLDC motor has been proposed in
this work. The controllers were simulated in MATLAB/Simulink and then verified experimentally. System
identification is also proposed to determine the VAR loop TF and and speed loop TF of the implemented
system. The validation of identification shows the matching of the identified model with the implemented
one. Results from experiments clarify the feasibility of the proposed methodology. It is approved that
AGPSO achieves the prevalent control execution (quicker transient response and more modest steady state
Design and implementation of optimal controller for DFIG-WT using … (Hatem Mohamed Seoudy)
1820 ISSN: 2088-8694
error (ess)) contrasted with the PSO in tuning PI controller. Experimental results show the superior of the
AGPSO than PSO in optimizing PI parameters wrt the desired performance indices.
REFERENCES
[1] W. Qiao, G. K. Venayagamoorthy, and R. G. Harley, “Design of Optimal PI Controllers for Doubly Fed Induction Generators
Driven by Wind Turbines Using Particle Swarm Optimization,” in The 2006 IEEE International Joint Conference on Neural
Network Proceedings, 2006, pp. 1982-1987, doi: 10.1109/IJCNN.2006.246944.
[2] S. Arnaltes, J. L. Rodriguez-Amenedo, and M. E. Montilla-DJesus, “Control of variable speed wind turbines with doubly fed
asynchronous generators for stand-alone applications,” Energies, vol. 11, no. 1, p. 26, 2018, doi: 10.3390/en11010026.
[3] Y. Hocini, A. Allali, and H. M.Boulouiha, “Power fuzzy adaptive control for wind turbine,” International Journal of Electrical
and Computer Engineering, vol. 10, no. 5, pp. 5262-5273, Oct. 2020, doi: 10.11591/ijece.v10i5.pp5262-5273 .
[4] Osman, Prof & El-Wakeel, Amged & A.kamel, Dr & Seoudy, Hatem. (2015). Optimal Tuning of PI Controllers for Doubly-Fed
Induction Generator-Based Wind Energy Conversion System using Grey Wolf Optimizer. International Journal of Engineering
Research and Applications (IJERA), ISSN: 2248-9622. 5. 81-87. https://www.ijera.com/papers/Vol5_issue11/Part%20-
%203/M511038187.pdf
[5] A. Kumar. GB, Shivashankar, and Keshavamurthy, “Design and control of grid-connected solar-wind integrated conversion
system with DFIG supplying three-phase four-wire loads”, International Journal of Power Electronics and Drive Systems
(IJPEDS), vol. 12, no. 2, pp. 1150-1161, Jun. 2021, doi: 10.11591/ijpeds.v12.i2.pp1150-1161.
[6] B. B. M. El Amine, A. Ahmed, M. B. Houari, and D. Mouloud, “Modeling, Simulation and Control of a Doubly-Fed Induction
Generator for Wind Energy, Conversion Systems,” International Journal of Power Electronics and Drive Systems, vol. 11, no. 3,
pp. 1197-1210, Sep. 2020, doi: 10.11591/ijpeds.v11.i3.pp1197-1210.
[7] M. A. Beniss, H. E. Moussaoui, T. Lamhamdi, and H. E. Markhi, “Performance analysis and enhancement of direct power control
of DFIG based wind system”, International Journal of Power Electronics and Drive Systems (IJPEDS), vol. 12, no. 2, pp. 1034-
1044, Jun. 2021, doi: 10.11591/ijpeds.v12.i2.
[8] L. Lu, S. Liang, D. Yuewei, L. Chenglin, and Q. Zhidong, “Improved quantum bacterial foraging algorithm for tuning parameters
of fractional-order PID controller,” Journal of Systems Engineering and Electronics, vol. 29, no. 1, pp. 166-175, Feb. 2018, doi:
10.21629/JSEE.2018.01.17.
[9] B. Hekimoğlu, “Optimal Tuning of Fractional Order PID Controller for DC Motor Speed Control via Chaotic Atom Search
Optimization Algorithm,” IEEE Access, vol. 7, pp. 38100-38114, 2019, doi: 10.1109/ACCESS.2019.2905961.
[10] El-Telbany and Mohammed, "Employing Particle Swarm Optimizer and Genetic Algorithms for Optimal Tuning of PID
Controllers: A Comparative Study", ICGST-ACSE Journal, vol. Volume 7, no. Issue 2, November 2007, http://www.icgst.com/.
[11] D. Nangru, D. K. Bairwa, K. Singh, S. Nema and P. K. Padhy, "Modified PSO based PID controller for stable processes,"
International Conference on Control, Automation, Robotics and Embedded Systems (CARE), 2013, pp. 1-5, doi:
10.1109/CARE.2013.6733708.
[12] Z. Gaing, “A particle swarm optimization approach for optimum design of PID controller in AVR system,” IEEE Transactions on
Energy Conversion, vol. 19, no. 2, pp. 384-391, Jun. 2004, doi: 10.1109/TEC.2003.821821.
[13] G. Huang, D. Wu, W. Yang, and Y. Xue, “Self-tuning of PID parameters based on the modified particle swarm optimization,”
2010 8th World Congress on Intelligent Control and Automation, 2010, pp. 5311-5314, doi: 10.1109/WCICA.2010.5554822.
[14] J. Kennedy and R. Eberhart, “Particle swarm optimization,” in Proceedings of ICNN'95 - International Conference on Neural
Networks, 1995, pp. 1942-1948, doi: 10.1109/ICNN.1995.488968.
[15] M. M. Alhato and S. Bouallègue, “Thermal exchange optimization based control of a doubly fed induction generator in wind en-
ergy conversion system,” Indonesian Journal of Electrical Engineering and Computer Science (IJEECS) vol. 20, pp. 1-8, 2020,
doi: 10.11591/ijeecs.v20.i3.pp1252-1260.
[16] M. A. Al-Gabalawy, N. S. Hosny, and S. A. Hussien, “Cuckoo search algorithm based for tunning both PI and FOPID controllers
for the DFIG-Wind energy conversion system,” International Journal of Electrical and Computer Engineering (IJECE), vol. 10,
no. 6, pp. 6319-6329, Dec. 2020, doi:10.11591/ijece.v10i6.pp6319-6329.
[17] Y. Belgaid, M. Helaimi, R. Taleb, and M. B. Youcef, “Optimal tuning of PI controller using genetic algorithm for wind turbine
application", Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 18, no. 1, pp. 167-178, Apr.
2020, doi: 10.11591/ijeecs.v18.i1.pp167-178.
[18] S. Albatran, M. I. Alomoush, A. M. Koran, "Gravitational-search algorithm for optimal controllers design of doubly-fed induction
generator,”, International Journal of Electrical and Computer Engineering (IJECE), vol. 8, no. 2, pp. 780-792, 2018, doi:
org/10.11591/ijece.v8i2.pp780-792.
[19] S. Chen, “Particle Swarm Optimization for PID Controllers with Robust Testing,” in 2007 International Conference on Machine
Learning and Cybernetics, 2007, pp. 956-961, doi: 10.1109/ICMLC.2007.4370280.
[20] A. A. E. Osman, A. S. El-Wakeel, A.kamel, and H. M. Seoudy, “Optimal tuning of PI Controllers for Doubly-Fed Induction
Generator using Grey Wolf Optimizer,” Journal of American Science, vol. 11, no. 11, pp. 154-164, 2015, doi:
10.7537/marsjas111115.16.16 .
[21] A. S. El-Wakeel, F.Hassan, A.Kamel, and A. Abdel-hamed, “Optimum Tuning of PID Controller For A Permanent Magnet
Brushless DC Motor,” International journal of electrical engineering &Technology (IJEET), vol. 4, no. 2, pp. 53-64, 2013.
[22] M. Belsam, J. Ananth, and C. S. RaviChandran, “Soft Computing Based Design of PID Controller for a Linear Brushless DC
Motor,” International Journal of Soft Computing, vol. 7, no. 2, pp. 58-62, 2012, doi:10.3923/ijscomp.2012.58.62.
[23] H. E. A. Ibrahim, F. N. Hassan, and A. O. Shomer, “Optimal PID control of a brushless DC motor using PSO and BF techniques,”
Ain Shams Engineering Journal, Volume 5, Issue 2, Jun. 2014, pp. 391-398, doi: 10.1016/j.asej.2013.09.013.
[24] A. S. El-Wakeel, A. E.-E. Kamel, and A. Abdel-hamed, “A Hybrid Bacterial Foraging-Particle Swarm Optimization Technique
for Optimal Tuning of Proportional-Integral-Derivative Controller of a Permanent Magnet Brushless DC Motor,” Electric Power
Components and Systems, vol. 43, no. 3, pp. 309-309, 2- 2015, doi: 10.1080/15325008.2014.981320.
[25] S. Mirjalili, A. Lewis, A. S. Sadiq, “Autonomous Particles Groups for Particle Swarm Optimization”, Arabian Journal for Science
and Engineering, vol. 39, no. 6, pp 4683-4697, doi: http://dx.doi.org/10.1007/s13369-014-1156-x.
Int J Pow Elec & Dri Syst, Vol. 13, No. 3, September 2022: 1813-1821
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1821
BIOGRAPHIES OF AUTHORS
Hatem Mohamed Seoudy received his B.Sc. degree from the Higher Institute
of Engineering, El Shorouk Academy, Cairo, Egypt, in 2005, the M.Sc. degree from the
Faculty of Engineering, Helwan University, Egypt, in 2010, and the Ph.D. degree from the
Faculty of Engineering, Alazhar University, Egypt, in 2016. He is currently an Assistant
Professor at the Department of Electrical Engineering, Higher Institute of Engineering,
ElShorouk Academy. His research interests include, smart grids, control system, artificial
intelligence, electrical drives, renewable energy, and optimization techniques. He can be
contacted at email: [email protected].
Mohamed Attya Saad-Eldin received his B.Sc. degree from the Higher
Institute of Engineering, El-Shorouk Academy, Cairo, Egypt, in 2001, the M.Sc. degree
from the Faculty of Engineering, Ain-Shams University, Egypt, in 2008, and the Ph.D.
degree from the Faculty of Engineering at Soubra, Benha University, Egypt, in 2017. He is
currently an Assistant Professor at the Department of Electrical Engineering, Higher
Institute of Engineering, El-Shorouk Academy. His research interests include, power system
protection, smart grids, control system, artificial intelligence, renewable energy, and
optimization techniques. He can be contacted at email: [email protected].
Wael Abdelfattah Mohamed Ahmed received his M.Sc. and Ph.D. degrees
from the Faculty of Engineering, Ain-Shams University, Egypt, in 2014, and 2017,
respectively. Since then he is an Assistant Professor at electrical power and machines
engineering department, the higher institute of engineering at El-Shorouk Academy, Cairo,
Egypt. His research interests include distribution system design and planning, power system
analysis, stability, reliability, renewable energy, smart grid, load Management, optimization,
and Electric Vehicles. He can be contacted at email: [email protected].
Design and implementation of optimal controller for DFIG-WT using … (Hatem Mohamed Seoudy)