The on-grid solar power system is generally composed of photovoltaic array composed of solar cell modules, solar charge and discharge controller, grid-connected inverter, DC load and AC load. The photovoltaic array converts solar energy into electric energy when there is light, and supplies power to the load through the solar charge and discharge controller.