In battery-charging mode, contactor KM1 is in state 2 (down) and contactor KM2 is open. With this configuration, the power converter works as a buck-boost dc–dc converter with power factor correction. The controlled semiconductor S5 stays turned on, while the controlled semiconductor S6 is ...