The invention discloses a protection device of a
photovoltaic inverter. The protection device comprises a
voltage detection circuit, a driving
control circuit and a
control circuit; under the condition that the
photovoltaic inverter is in the high-
voltage input state, the
voltage detection circuit outputs a first
control signal to the driving
control circuit, a by-pass switch is controlled by the driving control circuit to be switched on, and a photovoltaic module supplies power to a
bus through the by-pass switch. Under the condition that the direct-current side of the
photovoltaic inverter is short-circuited, the voltage detection circuit outputs a second
control signal to the driving control circuit, the by-pass switch is controlled by the driving control circuit to be switched off, a large current is prevented from flowing through the by-pass switch, short-
circuit protection on the by-pass switch is achieved, the by-pass switch is prevented from being damaged, and the reliability of the photovoltaic
inverter is accordingly improved. In addition, the control circuit can control the driving control circuit to switch off the by-pass switch. The invention further discloses the photovoltaic
inverter.