This document presents a new control strategy to suppress DC current injection for three-phase grid-connected photovoltaic inverters. The strategy is based on accurately extracting the DC component from grid current output using a second-order generalized integrator. A fractional-order PID controller is then designed in the DC suppression loop, with its parameters adjusted using a particle swarm optimization algorithm. The performance of the proposed method is evaluated through simulation and experimental results, showing it can suppress DC components within 0.1% of rated current. The key contributions are developing a fractional-order PID controller for DC mitigation and using a particle swarm optimization algorithm to optimize the controller parameters.