A method for controlling charging of a battery, or a battery of a motor vehicle, from a single-phase network, in which an input voltage is filtered, electrical power is taken from a network to the battery via a voltage step-down stage and a voltage step-up stage coupled via an inductive component or an inductance coil, the method comprising:
- compensating for a phase shift between an input current of the voltage step-down stage and an input voltage of the voltage step-down stage;
- controlling the input current of the voltage step-down stage via an open-loop control of a chopping duty cycle of the voltage step-down stage as a function of a voltage of the single-phase power supply network, a setpoint power, and an intensity of the current flowing through the inductive component, to compensate for the phase shift between the input current of the voltage step-down stage and the input voltage of the voltage step-down stage, and to control power received by the battery as a function of the setpoint power;
- and
- locking an intensity of a current flowing through the battery to a reference battery intensity via a closed-loop control of a chopping duty cycle of the voltage step-up stage as a function of a voltage at an output of the voltage step-down stage, a voltage of the battery, and a difference between a setpoint induction intensity and an intensity of the current flowing through the inductive component.