The phase-locked loop plays a vital role in ensuring that the grid-connected current and voltage are synchronized when the inverter is connected in parallel to the grid. The dynamics of the power electronics and its interaction with the grid under the weak grid are obviously complicated. Stability issue. Starting from the control system of multi-inverter grid-connected, an impedance analysis model considering the influence of control loops such as phase-locked loop and current regulator is established. The inverters are considered for other inverters and their AC grids. The interaction between the two sets of inverters is proposed. The influence of grid strength, phase-locked loop parameters and the number of inverters on the stability margin of the system is analyzed. According to the obtained stability criterion, the maximum number of inverters that can be connected in parallel under different grid strengths is given. Finally, A model of multiple inverters connected in parallel to the weak grid was built on PSCAD to verify the correctness of the results.