The invention relates to the technical field of photovoltaic
energy storage inverter grid-connected and off-grid detection, and discloses an
inverter grid-connected and off-grid detection method, device and equipment and a storage medium, and the method comprises the steps: judging whether an
inverter is in a grid-connected operation state or not; when the inverter is in the grid-connected operation state, acquiring the fundamental
voltage of the inverter and the sampling
voltage of the
power grid at the current moment; after
virtual power grid voltage is obtained through calculation based on the fundamental wave
voltage, phase voltages of the same phase between the
virtual power grid voltage and the sampling voltage are compared; and in a preset time, if the difference value of the phase voltage of at least one phase is out of a preset range, determining that the inverter is in an off-grid state. According to the method, false triggering detection is not easy, the calculation process related to grid-connected and off-grid detection of the
power grid voltage is simplified, the problem that the proportion of
chip resources is too high during calculation is solved, and meanwhile the accuracy and
rapidity of grid-connected and off-grid detection are improved.