Open Access iconOpen Access



Adaptive Fuzzy Logic Controller for Harmonics Mitigation Using Particle Swarm Optimization

Waleed Rafique1, Ayesha Khan2, Ahmad Almogren3, Jehangir Arshad1, Adnan Yousaf4, Mujtaba Hussain Jaffery1, Ateeq Ur Rehman5, Muhammad Shafiq6,*

1 Department of Electrical & Computer Engineering, COMSATS University Islamabad Lahore Campus, Lahore, 54000, Pakistan
2 Syed Babar Ali School of Science and Engineering, Lahore University of Management Sciences, Lahore, 54000, Pakistan
3 Department of Computer Science, College of Computer and Information Sciences, King Saud University, Riyadh, 11633, Saudi Arabia
4 Department of Electrical Engineering, Superior University, Lahore, 54000, Pakistan
5 Department of Electrical Engineering, Government College University, Lahore, 54000, Pakistan
6 Department of Information and Communication Engineering, Yeungnam University, Gyeongsan, 38541, Korea

* Corresponding Author: Muhammad Shafiq. Email: email

Computers, Materials & Continua 2022, 71(3), 4275-4293.


An excessive use of non-linear devices in industry results in current harmonics that degrades the power quality with an unfavorable effect on power system performance. In this research, a novel control technique-based Hybrid-Active Power-Filter (HAPF) is implemented for reactive power compensation and harmonic current component for balanced load by improving the Power-Factor (PF) and Total–Hormonic Distortion (THD) and the performance of a system. This work proposed a soft-computing technique based on Particle Swarm-Optimization (PSO) and Adaptive Fuzzy technique to avoid the phase delays caused by conventional control methods. Moreover, the control algorithms are implemented for an instantaneous reactive and active current (Id-Iq) and power theory (Pq0) in SIMULINK. To prevent the degradation effect of disturbances on the system's performance, PS0-PI is applied in the inner loop which generate a required dc link-voltage. Additionally, a comparative analysis of both techniques has been presented to evaluate and validate the performance under balanced load conditions. The presented result concludes that the Adaptive Fuzzy PI controller performs better due to the non-linearity and robustness of the system. Therefore, the gains taken from a tuning of the PSO based PI controller optimized with Fuzzy Logic Controller (FLC) are optimal that will detect reactive power and harmonics much faster and accurately. The proposed hybrid technique minimizes distortion by selecting appropriate switching pulses for VSI (Voltage Source Inverter), and thus the simulation has been taken in SIMULINK/MATLAB. The proposed technique gives better tracking performance and robustness for reactive power compensation and harmonics mitigation. As a result of the comparison, it can be concluded that the PSO-based Adaptive Fuzzy PI system produces accurate results with the lower THD and a power factor closer to unity than other techniques.


Cite This Article

W. Rafique, A. Khan, A. Almogren, J. Arshad, A. Yousaf et al., "Adaptive fuzzy logic controller for harmonics mitigation using particle swarm optimization," Computers, Materials & Continua, vol. 71, no.3, pp. 4275–4293, 2022.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1838


  • 1010


  • 0


Share Link