The invention relates to the technology of photovoltaic grid-connected
inverter, in particular to an online detection method of insulating resistance to ground of a photovoltaic grid-connected
inverter. The method comprises the following steps of: by sampling an output
voltage VPV of a photovoltaic
cell and enabling a switch S1 in a resistance switch circuit to be in opening or closing state, disconnecting or connecting a
resistor R5 from or to an upper bridge arm, and then sampling a
voltage signal of a dividing
voltage output end of a lower bridge arm to obtain a
voltage ratio equation of
anode to ground of photovoltaic
cell and
cathode to ground of the photovoltaic
cell, thereby online calculating a insulating resistance R+ of
anode to ground of the photovoltaic cell and an insulating resistance R- of
cathode to ground of the photovoltaic cell in real-time and accurately. The method has simple calculation process and high detecting precision; by adopting the method, the online and real-time detection of
anode-to-
ground resistance of the photovoltaic cell and the
cathode-to-
ground resistance of the photovoltaic cell is achieved, the photovoltaic grid-connected
inverter is guaranteed to work safely and reliably.