A method for controlling a power supply circuit of an electric motor, the power supply circuit comprising a power converter, referred to as an inverter, configured to supply at least one AC voltage from a DC voltage source and a superconducting power supply link configured to supply said electric motor with power, the superconducting power supply link connected between an output of the inverter and the electric motor, said method being executed in a power supply circuit controller comprising a control output configured to control said inverter, at least one first input configured to receive at least one first signal representative of a voltage measured across terminals of said superconducting power supply link, and a second input, referred to as a synchronization input, configured to receive at least one second signal representative of a position of a rotor of said electric motor, said method comprising:
- i) multiplying said first signal and a sinusoidal signal synchronized with said second signal to obtain a third signal representative of a resistive component of said voltage measured across terminals of said superconducting power supply link, and then,
- ii) when said third signal exceeds a predetermined threshold value, inhibiting said control output, and when not, repeating steps i) and ii).