In grid-connected photovoltaic (PV) systems, power quality and voltage control are necessary, particularly under unbalanced grid conditions. These conditions frequently lead to double-line frequency power oscillations, which worsen Direct Current (DC)-link voltage ripples and stress DC-link capacitors. The well-known dq frame vector control technique, which is effective under normal conditions, struggles with oscillatory component management in unbalanced grid conditions. To address this issue, this paper presents an advanced control approach designed for grid-connected PV inverters. The proposed approach is effective at reducing oscillations in the DC-link voltage at double the grid frequency, thereby enhancing system stability and component longevity. This method introduces a feedback control method designed to regulate oscillatory components that appeared within the dq frame and suppress the DC-link voltage oscillations under imbalance conditions, including single line-to-ground (SLG) faults. Additionally, the control scheme incorporates a maximum power point tracking (MPPT) controller to optimize PV efficiency. Comprehensive simulations demonstrate the effectiveness of this method in maintaining sinusoidal current injections and stabilizing DC-link voltage during unbalanced grid conditions. Simulation results show that the control scheme effectively stabilizes DC-link voltage, maintains balanced grid current, and ensures constant active power under various conditions, including SLG faults and solar irradiance changes.