A small-signal model of photovoltaic(PV)generation connected to weak AC grid is established based on a detailed model of the structure and connection of a PV generation system. An eigenvalue analysis is then employed to study the stability of PV generation for different grid strengths and control parameters in a phaselocked loop(PLL) controller in the voltage source converter. The transfer function of the power control loop in the dq rotation frame is developed to reveal the influence mechanism of PLL gains on the small-signal stability of PV generation. The results can be summarized as follows:(1)oscillation phenomena at a frequency of about 5 Hz may occur when the grid strength is low;(2) the tuning control parameters of the PLL have a noticeable effect on the damping characteristics of the system, and larger proportional gain can improve the system damping;(3)within a frequency range of 4-5 Hz,the PLL controller has positive feedback on the power loop of PV generation. A virtual inductance control strategy is proposed to improve the operational stability of PV generation. Finally, a simulation model of PV generation connected to weak AC grid is built in PSCAD/EMTDC and the simulation results are used to validate the analysis.