A method for controlling a protection device, the protection device being capable of protecting at least one electronic switching branch of an electrical conversion system against an electrical overcurrent, the or each branch comprising two switching half-branches serially connected at an intermediate terminal, at least one half-branch including at least one switching member, the or each switching member comprising a first controllable electronic switch and a diode connected in antiparallel with said first electronic switch, the protection device comprising, for the or each switching branch, at least one second electronic switch connected to the intermediate terminal or to an electrode of said diode connected in antiparallel with the first electronic switch, the or each second electronic switch being capable of switching, under the action of a command, from an on state to an off state to protect said diode against the overcurrent,
- wherein the method comprises, for the or each second electronic switch, the following steps:
- measuring, for the or each diode capable of being protected by said second switch, at least one magnitude relative to the current circulating in that diode,
- controlling the or each second electronic switch based on the magnitude measured by the measuring means.