The wide bandwidth of phase-locked loop (PLL) will increase the negative real part of the output impedance of the grid-connected inverter (GCI), thus destroying the stability of the weak grids. This article proposes a novel method to improve the system stability through decoupling the PLL and grid impedance. Initially, the coupling relationship between PLL and grid impedance is revealed. It can explain why the choice of PLL bandwidth and the grid impedance magnitude is limited. Then, the decoupling method is proposed where the primary control structure of GCI does not need to change and uses the structured voltage, the product of PCC voltage and grid admittance, as the improved input of PLL. The proposed method can achieve the full-frequency passive of the output impedance of GCI even if the PLL has high bandwidth and the impedance measurement error is up to 60%, which means the adverse stability effect of PLL on the system is eliminated. The theoretical analysis is verified by simulations and experiments.