With the rapid development of renewable energy power generation, the penetration of distributed power sources in the power grid is rapidly increasing, and the microgrid with power electronic inverter as the interface leads to reduced system stability due to the lack of inertia and damping. In this paper, in order to make the photovoltaic power plant effectively support the grid operation, the virtual synchronous motor algorithm VSG is introduced into the control of the inverter, and in order to improve the dynamic characteristics of the system, the virtual impedance is added into the control of the virtual synchronous machine, and then the cooperative adaptive control strategy of inertia and damping is obtained by improving the traditional VSG control strategy, and the parameters of the adaptive control system are determined, so that the VSG has good and consistent stability in the power grid before and after the grid strength change before and after has a better and consistent response characteristics. Through MATLAB/Simulink simulation and comparison experiments, the results show that the adaptive control strategy proposed in this paper can not only inhibit the speed of frequency change, but also reduce the amount of frequency deviation, and the designed control strategy can effectively improve the transient response time of the system, which verifies the reasonableness and validity of the designed model and control strategy.