The Internet of Energy is the key to achieving the goals of China’s energy revolution, and Internet technology will become an important means to promote the transformation and development of China’s energy industry. Based on the analysis of the current research status of virtual synchronous machines, an implementation method of a virtual synchronous machine algorithm based on a synchronous rotating coordinate system is proposed. This algorithm does not require a phase-locked loop, which greatly improves the accessibility of renewable energy and realizes its transformation from auxiliary energy to main energy. Simulation results verify the effectiveness of the proposed algorithm.