Method for controlling an on-board automobile battery charger that is connected to an electrical power supply network (2) and provided with a filter comprising three capacitors (C1, C2, C3) that are each connected by one plate to one phase of the charger and connected together by their other plate, with a controlled relay (SN) that is configured to connect one phase to the neutral, and with a three-phase relay (8) that is configured to interrupt the flow of a current through each phase; it is determined whether a first set of conditions is met and, if so, it is determined that the charger is connected to a three-phase electrical power supply network (2) and charging of the battery (4) is initiated; if not, it is determined whether the electrical power supply network (2) is a single-phase network and, if so, charging of the battery (4) is initiated; if not, it is determined that the network is unknown, charging is prevented and an error signal is issued.
展开▼