Off-grid inverters, as a core component of modern energy solutions, are gaining increasing attention. The role of off-grid inverters is to separate the solar power system from the grid, forming an independently operating microgrid system. During normal operation of a solar power system, the solar panels generate DC power, which is converted into AC power by a shunt inverter and injected into the grid. In this way, the solar power system can sell the excess electricity to the grid, thus realizing the feedback of electricity.