In order to reduce the instantaneous impulse current and improve the stability of the grid connection,the control meth-od of instantaneous impulse current of virtual synchronous generator with phase compensation is studied.A double closed-loop con-troller is designed to reduce the influence of instantaneous impulse current on the grid connection of virtual synchronous generator.The current resonator inner loop controller is used to suppress the instant impulse current and directly compensate the reference phase Angle of the current resonator inner loop controller to improve the control effect of the instant impulse current.Based on the active power frequency and reactive power voltage governing equations,the voltage outer loop controller is designed to ensure that the virtual synchronous generator is synchronized with the grid voltage and further suppress the impulse current at the moment of grid connection.Experimental results show that the method can effectively compensate the reference phase Angle of the current resonant inner loop con-troller.This method can effectively control the instantaneous impulse current of the virtual synchronous generator connected to the grid.After control,the active and reactive power of the virtual synchronous generator connected to the grid can accurately track the change of the command value,and the impact is small.At the same time,it can effectively reduce the amplitude of voltage fluctuation and improve the stability of grid connection.