According to one embodiment, when the circuit CTRL detects that the voltage VT is between the threshold Vth and Vth_l, the circuit CTRL is configured to send a request to the load 400 (
According to one embodiment, the circuit CTRL is further configured to compare the voltage VT to a threshold Vth_h, when the voltage VT has a steady value representative of the voltage VP. The threshold Vth_h is determined by the nominal value of the voltage VAC and is, in absolute values, higher than the threshold Vth_l.
The threshold Vth_h is determined so that, when the voltage VT has a steady value representative of the value of the voltage VP, the voltage VT is, in absolutes values, above the threshold Vth_h if the value of the voltage VP is above its nominal value. A value of voltage VP above its nominal value indicates an issue on the mains, and more particularly, that the voltage VAC has a value above its nominal value.