Simulation of Single-Phase on-Grid Photovoltaic Inverter for Power Injection and Active Power Filter

Susatyo Handoko, Mochammad Facta, Tejo Sukmadi


Currently, most photovoltaic (PV) sources are connected to the grid. This research discusses single-phase on-grid PV inverters. A two-stage inverter which consisted of a boost-type DC-DC converter and a single-phase inverter, was used. In addition, the inverter improved the power quality to deliver PV maximum power. The entire power generated by PV was to be delivered to PCC, and power quality in PCC was also improved. In this system, the grid only drew or supplied active power. The P&O algorithm, as a simple algorithm, was used to control the boost converter to obtain the maximum PV power. In a single-phase inverter, the DC link voltage regulation was carried out using the PI control (outer loop), while the hysteresis control was used to control the output current (inner loop). The voltage control regulated the power delivered from the PV to the PCC by maintaining a constant DC bus voltage at the specified value. With the current control, a single-phase inverter provided two compensations: reactive power and harmonics. In this research, a simulation to control a two-stage inverter was created by using PSIM. Irradiation for PV was varied between 0-1000 W/m2 for 5 seconds. The simulation results showed that the controls performed could work well, as shown by the maximum power injection from the PV to the PCC in which the grid current was sinusoidal (harmonic mitigation) and reactive power compensation was performed.


Photovoltaic; inverter; single phase; active power filter; power quality.

Full Text:



S. Mukhtarov, J. I. Mikayilov, S. Maharramov, J. Aliyev, and E. Suleymanov, “Higher Oil Prices, Are they Good or Bad for Renewable Energy Consumption: The Case of Iran?,†Renew. Energy, 2022, doi: 10.1016/j.renene.2021.12.135.

F. Zhang, X. Wang, M. Wu, X. Hou, C. Han, and Z. Liu, “Optimization design of uncertain parameters for improving the stability of photovoltaic system,†J. Power Sources, vol. 521, no. December 2021, p. 230959, 2022, doi: 10.1016/j.jpowsour.2021.230959.

J. Gong, D. Li, T. Wang, W. Pan, and X. Ding, “A comprehensive review of improving power quality using active power filters,†Electr. Power Syst. Res., vol. 199, no. April, p. 107389, 2021, doi: 10.1016/j.epsr.2021.107389.

M. Malik and P. R. Sharma, “A scheme for reduction in harmonics and establish the stability of hybrid system connected in grid,†Ain Shams Eng. J., vol. 11, no. 4, pp. 1123–1130, 2020, doi: 10.1016/j.asej.2020.02.013.

R. B. N., M. Venu Gopala Rao, and R. Srinivasa Rao, “Battery Energy Integrated Active Power Filter for Harmonic Compensation and Active Power Injection,†Sustain. Comput. Informatics Syst., p. 100664, 2022, doi: 10.1016/j.suscom.2022.100664.

R. Kumar, “Fuzzy particle swarm optimization control algorithm implementation in photovoltaic integrated shunt active power filter for power quality improvement using hardware-in-the-loop,†Sustain. Energy Technol. Assessments, vol. 50, no. May 2021, p. 101820, 2022, doi: 10.1016/j.seta.2021.101820.

S. Echalih, A. Abouloifa, I. Lachkar, J. M. Guerrero, Z. Hekss, and F. Giri, “Hybrid automaton-fuzzy control of single phase dual buck half bridge shunt active power filter for shoot through elimination and power quality improvement,†Int. J. Electr. Power Energy Syst., vol. 131, no. March 2020, p. 106986, 2021, doi: 10.1016/j.ijepes.2021.106986.

Z. Li, L. Wang, Y. Wang, and G. Li, “Harmonic detection method based on adaptive noise cancellation and its application in photovoltaic - active power filter system,†Electr. Power Syst. Res., vol. 184, no. March, p. 106308, 2020, doi: 10.1016/j.epsr.2020.106308.

J. A. Cortajarena, O. Barambones, P. Alkorta, and J. Cortajarena, “Sliding mode control of an active power filter with photovoltaic maximum power tracking,†Electr. Power Energy Syst., vol. 110, no. March, pp. 747–758, 2019, doi: 10.1016/j.ijepes.2019.03.070.

M. Aourir et al., “Nonlinear control of multicellular single stage grid connected photovoltaic systems with shunt active power filtering capability,†IFAC-PapersOnLine, vol. 53, no. 2, pp. 12853–12858, 2020, doi: 10.1016/j.ifacol.2020.12.2091.

S. Ouchen, H. Steinhart, M. Benbouzid, and F. Blaabjerg, “Robust DPC-SVM control strategy for shunt active power filter based on H∞ regulators,†Electr. Power Energy Syst., vol. 117, no. May 2019, p. 105699, 2020, doi: 10.1016/j.ijepes.2019.105699.

Z. Hekss et al., “Hybrid automaton control of three phase reduced switch shunt active power filter connected photovoltaic system,†IFAC-PapersOnLine, vol. 53, no. 2, pp. 12847–12852, 2020, doi: 10.1016/j.ifacol.2020.12.1986.

E. Samavati and H. R. Mohammadi, “Simultaneous voltage and current harmonics compensation in islanded/grid-connected microgrids using virtual impedance concept,†Sustain. Energy, Grids Networks, vol. 20, p. 100258, 2019, doi: 10.1016/j.segan.2019.100258.

F. Deng, A. Petucco, P. Mattavelli, and X. Zhang, “An enhanced current sharing strategy for islanded ac microgrids based on adaptive virtual impedance regulation,†Int. J. Electr. Power Energy Syst., vol. 134, no. July 2021, p. 107402, 2022, doi: 10.1016/j.ijepes.2021.107402.

A. Sahli, F. Krim, A. Laib, and B. Talbi, “Model predictive control for single phase active power filter using modified packed U-cell (MPUC5) converter,†Electr. Power Syst. Res., vol. 180, no. December 2019, p. 106139, 2020, doi: 10.1016/j.epsr.2019.106139.

S. Asapu and V. R, “Modified hysteresis current control of multilevel converter for grid connected battery storage system,†Mater. Today Proc., no. xxxx, 2021, doi: 10.1016/j.matpr.2021.07.290.

A. Azzam-Jai and M. Ouassaid, “Photovoltaic Interfaced Shunt Active Power Filter Under Online-Varying Parameters Based On Fuzzy Logic Controller And Adaptive Hysteresis Band Current Controller,†in 3rd International Conference on Intelligent Computing in Data Sciences, ICDS, 2019, pp. 1–7, doi: 10.1109/ICDS47004.2019.8942282.

I. Setiawan, A. Priyadi, and M. H. Purnomo, “Control Strategy Based on Associative Memory Networks for a Grid-Side Converter in On-Grid Renewable Generation Systems Under Generalized Unbalanced Grid Voltage Conditions,†Int. Rev. Electr. Eng., vol. 11, pp. 171–182, 2016.

P. S. Sanjan, N. G. Yamini, and N. Gowtham, “Performance Comparison of Single-Phase SAPF Using PQ Theory and SRF Theory,†International Conf. Emerg. Technol., p. 9154126, 2020, doi: 10.1109/INCET49848.2020.9154126.

S. M. Bagi, F. N. Kudchi, and S. Bagewadi, “Power Quality Improvement using a Shunt Active Power Filter for Grid Connected Photovoltaic Generation System,†in Proceedings of B-HTC 2020 - 1st IEEE Bangalore Humanitarian Technology Conference, 2020, pp. 1–4, doi: 10.1109/B-HTC50970.2020.9298001.

W. Choi and B. Sarlioglu, “Comparative Analysis on Performance of Power Quality Improvement of Grid-Connected Inverters,†EEE Energy Convers. Congr. Expo., pp. 4281–4286, 2019, doi: 10.1109/ECCE.2019.8912488.

W. Choi, K. Jung, and B. Sarlioglu, “Power Control of Hybrid Grid-Connected Inverter to Improve Power Quality,†in ECCE 2020 - IEEE Energy Conversion Congress and Exposition, 2020, pp. 3741–3745, doi: 10.1109/ECCE44975.2020.9235627.

N. Moharana, D. Dash, and S. K. Dalai, “Power Quality Improvement in PVGrid System,†2021, pp. 1–5, doi: 10.1109/apsit52773.2021.9641469.



  • There are currently no refbacks.

Published by INSIGHT - Indonesian Society for Knowledge and Human Development