Performance of Grid-Connected PV System Based on SAPF for Power Quality Improvement


This paper presents the design of a shunt Active Power Filter (SAPF) for grid-connected photovoltaic systems. The proposed system injects PV power into the grid, by feeding the SAPF; to eliminate harmonics currents and compensate reactive power produced by nonlinear loads. To inject the photovoltaic power to the grid we use a boost converter controlled by a Fuzzy logic (FLC) algorithm for maximum power point tracking (MPPT). The SAPF system is based on a two-level voltage source inverter (VSI); P-Q theory algorithm is used for references harmonic currents extraction. The overall system is designed and developed using MATLAB /Simulink software. Simulation results confirm the performance of the grid-connected photovoltaic system based on SAPF. For the MPPT controller, the results show that the proposed FLC algorithm is fast in finding the MPPT than conventional techniques used for MPPT like perturbed and observed (P&O). The simulated compensation system shows its effectiveness such as the sinusoidal form of the currents and the reactive power compensation. The proposed solution has achieved a low Total Harmonic Distortion (THD), demonstrating the efficiency of the presented method. Also, the results determine the performances of the proposed system and offer future perspectives of renewable energy for power quality improvement.


  1. SAPF, Harmonics
  2. MPPT
  3. Reactive power
  4. P-Q theory algorithm
  5. Power quality and THD



The present article presents an analysis and simulation of a three-phase SAPF fed by PV systems. An MPPT fuzzy logic controller is employed to feed the grid by the maximum allowable PV power. The proposed system has been simulated in MATLAB/SIMULINK software. This system is used to eliminate harmonics and to compensate reactive power generated by nonlinear loads. Performances of the shunt APF are related to the current references quality. This method is very important because it allows harmonic currents and reactive power compensation simultaneously. Simulation results show that the current obtained after filtering and the voltage waveforms are in phase. Also, the current THD is reduced from 33.34% to 2.87% which confirms the good filtering quality of harmonic currents and the perfect compensation of reactive power which improve the power quality.


[1] J. Lu, X. Xiao, J. Zhang, Y. Lv, and C. Yuan, “A Novel Constant Active-current Limit Coordinated Control Strategy Improving Voltage Sag Mitigation for Modular Multi-level Inverter-based Unified Power Quality Conditioner,” Electric Power Components and Systems, vol. 44, pp. 578-588, 2016.

[2] R. Belaidi, A. Haddouche, and H. Guendouz, “Fuzzy logic controller based three-phase shunt active power filter for compensating harmonics and reactive power under unbalanced mains voltages,” Energy Procedia, vol. 18, pp. 560-570, 2012.

[3] T.-J. Park, G.-Y. Jeong, and B.-H. Kwon, “Shunt active filter for reactive power compensation,” International Journal o Electronics, vol. 88, pp. 1257-1269, 2001.

[4] S. K. Jain, P. Agarwal, and H. Gupta, “A Dedicated Microcontroller based Fuzzy Controlled Shunt Active Power Filter,” Intelligent Automation & Soft Computing, vol. 11, pp. 33- 46, 2005.

[5] K. Srikanth, T. K. Mohan, and P. Vishnuvardhan, “Improvement of power quality for microgrid using fuzzy based UPQC controller,” in Electrical, Electronics, Signals, Communication and Optimization (EESCO), 2015 International Conference on, 2015, pp. 1-6.

Leave a Reply

Your email address will not be published. Required fields are marked *