The invention relates to an
inverter used for detecting a
solar cell panel and an
electric network side insulation
resistor and a detection method. The
inverter provided by the invention comprises a boosting unit and an inversion unit, wherein the boosting unit is connected in series with the inversion unit, and a two-stage
relay is arranged between the
tail end of the inversion unit and an
electric network, namely, an L line is provided with a
relay K1 and a
relay K3 which are connected in series; an N line is provided with a relay K2 and a relay K4 which are connected in series, and a relay K5 is respectively connected between the relay K1 and the relay K3 as well as between the relay K2 and the relay K4; and a
common point of each relay K5 is connected with a
resistor R1, and the other end of the
resistor R1 is directly connected to an
enclosure. According to the
inverter and the method, a detection circuit is simplified, usually, the
solar cell panel and the network side insulation resistor are detected simultaneously, the inverter needs at least two sets of similar circuits, and meanwhile, insulation values between the positive and negative poles of the
solar cell panel as well as between the L line of an
electric network and the ground, and an N line of the electric network and the ground is detected under a condition that a complicated plus circuit is not needed.