This paper simulates the micro-grid to establish a shore-to-ship seamless connection power supply system and control strategy by the shore-controlled inerter dual-output. The shore-controlled 60Hz inverter power supply and the 50Hz inverter transition transformer are directly supplied without changing the control of the ship power station. The shore-ship power supply is seamlessly connected through the shore-controlled inverter, which is suitable for most ships. The strategies for inverter dual-output shore-to-ship seamless power supply are: V/f control method controls inverter constant frequency constant voltage power supply; P/Q control method controls shore ship seamless connection and smooth transfer load; Phase-locked loop control method controls phase-shifting and variable-frequency control of the shore power during the integration of shore power into the ship's power to complete the parallel condition, assisting to stabilize the frequency and voltage of the output of the rectifier inverter; Inverter control reduces frequency and voltage fluctuations of V/f control and P/Q control conversion by following from state following to reverse state following innovation.