A control system for converting power from a three-phase AC power supply into DC power for charging a battery, the control system comprising: a voltage detection module adapted to provide voltage component values indicative of the value of the voltage in each phase of the three-phase AC power supply; and a first transformation module adapted to convert the voltage component values from a stationary reference frame into first and second reference voltage signals in a rotating reference frame using a Clarke-Park transform, characterized in that the control system further comprises: a level shift module adapted to compensate the first and second reference voltage signals to simulate a balanced three-phase AC power supply; a second transformation module adapted to convert the compensated first and second reference voltage signals from the rotating reference frame to the stationary reference frame using an inverse Clarke-Park transform, the second transformation module providing, as an output, a first power reference, a second power reference, and a third power reference; and a converter control module adapted to control operation of a first phase dual active bridge converter, a second phase dual active bridge converter, and a third phase dual active bridge converter based on the output of the second transformation module for providing a DC charging voltage to the battery. a voltage detection module adapted to provide voltage component values indicative of the value of the voltage in each phase of the three-phase AC power supply; and a first transformation module adapted to convert the voltage component values from a stationary reference frame into first and second reference voltage signals in a rotating reference frame using a Clarke-Park transform, characterized in that the control system further comprises: a level shift module adapted to compensate the first and second reference voltage signals to simulate a balanced three-phase AC power supply; a second transformation module adapted to convert the compensated first and second reference voltage signals from the rotating reference frame to the stationary reference frame using an inverse Clarke-Park transform, the second transformation module providing, as an output, a first power reference, a second power reference, and a third power reference; and a converter control module adapted to control operation of a first phase dual active bridge converter, a second phase dual active bridge converter, and a third phase dual active bridge converter based on the output of the second transformation module for providing a DC charging voltage to the battery. a level shift module adapted to compensate the first and second reference voltage signals to simulate a balanced three-phase AC power supply; a second transformation module adapted to convert the compensated first and second reference voltage signals from the rotating reference frame to the stationary reference frame using an inverse Clarke-Park transform, the second transformation module providing, as an output, a first power reference, a second power reference, and a third power reference; and a converter control module adapted to control operation of a first phase dual active bridge converter, a second phase dual active bridge converter, and a third phase dual active bridge converter based on the output of the second transformation module for providing a DC charging voltage to the battery. <EOS>