Bulletin of Electrical Engineering and Informatics Vol. 13, No. 6, December 2024, pp. 3809~3820 ISSN: 2302-9285, DOI: 10.11591/eei.v13i6.8167 3809 Journal homepage: http://beei.org Active filter harmonic compensator with proportional resonant current controller for photovoltaic inverter Le Khoa Nam, Le Hong Lam, Trinh Trung Hieu, Nguyen Huu Hieu Faculty of Electrical Engineering, The University of Danang–University of Science and Technology, Danang, Vietnam Article Info ABSTRACT Article history: Received Aug 3, 2023 Revised Mar 29, 2024 Accepted May 16, 2024 The strong development of renewable energy sources (RES), especially distributed energy sources, brings many benefits to the power system. Single-phase photovoltaic (PV) systems are the fastest growing type of distributed energy source worldwide today. Besides the beneficial factors for the distribution power system, the high penetration rate of solar power systems also causes negative impacts, especially power quality issues. PV inverters generate harmonics during the high-frequency switching of semiconductor elements. Traditionally available passive filters are not effective enough to ensure output power quality when the PV system generates power to the distribution grid. Therefore, this study presents the design of a proportional resonant current controller combined with active filter harmonic compensated (PR+HC) for a single-phase PV inverter. This controller, when integrated into traditional PV inverter, will provide better output power quality, contributing to reducing total harmonic distortion (THD) on the distribution grid. This study analyzes the parameters affecting the harmonic attenuation effect of the PR+HC controller, then simulates it on MATLAB Simulink to evaluate the results. The results of the study show that the PR+HC controller is not only effective in reducing the amplitude of odd harmonics, but also operates reliably even when the grid frequency fluctuates widely. Keywords: Active filter Harmonic compensator Photovoltaic inverter Proportional resonant Renewable energy sources This is an open access article under the CC BY-SA license. Corresponding Author: Trinh Trung Hieu Faculty of Electrical Engineering, The University of Danang–University of Science and Technology 54 Nguyen Luong Bang, Danang, Vietnam Email: tthieu@dut.udn.vn 1. INTRODUCTION Distributed energy resources (DER) are being developed vigorously to meet the increasing energy demand. DER are typically renewable energy sources (RES) such as solar, wind or small hydropower. Among them, photovoltaic (PV) occupies a large share of the distributed power category because of its advantages in performance, reliability, and affordability. Single-phase PV inverters grid-connected are commonly used systems that contain i) DC/DC boost converters that perform maximum-power-point tracking control and voltage amplification and ii) DC/AC inverter which responsible for power quality, equipment protection and synchronous grid-current injection. Various PV module orientations and technologies can be integrated thanks to this adaptable design [1]–[4]. When connected to the grid, PV inverters must ensure the international standards specified by each grid (e.g., IEC 61727). They are required to comply with the requirements of power quality, fault ride through and the ability of anti-islanding when there is a blackout. PV inverters must comply with specific criteria regarding voltage, frequency and generated harmonics to ensure satisfactory power quality [5], [6].