The electric load of the ship at the bottom berth of the floating offshore wind farm platform is compatible with the power generation of the wind farm generator. The 60Hz ship power and 50Hz wind power adopt frequency conversion, the 50Hz ship power and the 50Hz wind power use the inverter to smoothly switch seamlessly, and the seamless power supply ensures that the ship can be easily and quickly berthed in a short period of time. Based on the inverter power supply control strategy of virtual synchronous generator (VSG) control and grid-connected working mode and autonomous mode of the system small-signal model, the VSG has the characteristics of fast tracking and certain mechanical and electrical inertia compared with the frequency variation of the inverter power supply based on the droop control. Meanwhile, the grid-connected pre-synchronization process and the synchronous generator pull-in synchronization process have similar characteristics, and the frequency and voltage change amplitude are relatively flat. The simulation analysis and experimental results verify the correctness of the control strategy.