The document presents a novel phase-locked loop (PLL) method employing fuzzy logic for improving phase angle detection in grid-connected photovoltaic inverters. This method utilizes a second-order generalized integrator (SOGI) combined with fuzzy logic to enhance synchronization performance under varying grid conditions. Simulation and experimental validation methods are described for assessing the effectiveness of this new approach.