A method for detecting the occurrence of a fault in an electrical circuit including at least one stage with an output terminal for supplying a respective load, the circuit admitting of a plurality of faulty conditions as well as a normal operating condition, the method comprising the steps of:
- detecting a voltage and a current applied to the load by the output terminal,
- comparing the detected value of the voltage with a range of values permitted for the voltage during the normal operation of the circuit, and generating a first logic signal which assumes a first value or a second value when the voltage applied to the load is inside or outside the range of permitted values, respectively,
- comparing the detected value of the voltage with a range of values permitted for the current during the normal operation condition, and generating a second logic signal which assumes a first value or a second value when the current applied to the load is inside or outside the range of permitted values, respectively, and
- processing the first and second logic signals, generating at least one first signal which indicates that the circuit is in one of the plurality of faulty conditions, when at least one of the first and second logic signals assumes the second value, and generating at least one second signal which assumes different values in accordance with the distribution of values assumed by the first and second logic signals, the at least one second signal indicating which one of the plurality of faulty conditions is present in the circuit.