A method for detecting a short-circuit in a power converter, the power converter comprising a first direct current (DC) terminal, a second DC terminal, an alternating current (AC) terminal, a first semiconductor switch electrically coupled to the first DC terminal and the AC terminal, a second semiconductor switch electrically coupled to the second DC terminal and the AC terminal, and an inductance, the method comprising:
- receiving a voltage signal which is representative for a switch voltage measured over the first semiconductor switch and the second semiconductor switch;
- determining an inductance voltage over the inductance based on the measured switch voltage and a DC voltage between the first and second DC terminals;
- determining a current flowing through the semiconductor switches based on the determined inductance voltage;
- and
- determining that the short-circuit is present based on the determined current and a predetermined current threshold.