Battery Charging

Motor Inverter » Battery Charging

  • Boost Mode Connection
    Boost Mode Connection
  • Buck Mode Connection
    Buck Mode Connection

A unique feature of the inverter is it's ability to charge the battery. It can take a DC input voltage and either step it up or down to the battery voltage with no additional components. The DC voltage may be supplied by a simple 1 or 3-phase bridge rectifier, a PFC correction circuit or any other DC source like a solar panel.

At least for lower power charging (say below 5kW) this allows you to get rid of a separate charger built into your car. In most practical situation slow charging is ok. You always have the freedom to add an external fast charger (e.g. in your garage) or add DC fast charging to your conversion.

Step Up

The first diagram depicts how to connect the inverter for boost mode charging, that is stepping up the input voltage. This mode is used if the DC input voltage is LOWER than the lowest battery pack voltage. For example rectified 230V AC results in 320V DC.

Precharge and main relay should already be present in your car anyway. If your main contactor has a free contact it can be used for breaking the input voltage. Otherwise a separate relay is needed.

The AC input voltage first passes though a ground fault detector. This is an important feature as the charger is non-isolated. The AC input terminates at the input relay K1 to be completely disconnected when unused. A free contact of K1 supplies 12V to the inverter. In the drawing it is assumed that the car is in forward drive position. The 12V are then also supplied to the reverse pin. This combination tells the inverter to run in charge mode.

The normally open relay K3 makes sure no AC is supplied to the inverter while it is still in drive mode.

When you plug in your AC mains, the inverter will power up in charge mode. It will precharge the bus caps to the specified voltage and then close the main relay. After a delay of 500ms it will start charging. It keeps charging until it is powered down, so you need a BMS to find out when to stop charging. The BMS relay output can be put in series to the green control line.

The parameter "chargemode" must be set to Boost (3) to use this mode. The parameter chargecur sets the charger INPUT current in this mode. chargekp and chargeflt can be optimized to minimize oscilation of the control loop.

Step Down

Step Down mode is used if the DC input voltage is higher than the highest wanted battery pack voltage.

Precharge and main relay are not used in this mode. Two input relays are needed. The first, K1 is closed immediatly as you plug in your AC mains. It charges the bus caps through a resistor and powers up the inverter in charge mode. The second relay, K4 must be controlled by a custom precharge logic and must close as soon as the bus caps are sufficiently charged. The normally open relay of the boost mode is not needed, as charge mode is prioritized over drive mode. Because of the precharge logic the inverter will have enough time to exit drive mode.

The battery is connected to one of the phase outputs via (delayed) K4.

The parameter "chargemode" must be set to Buck (4) to use this mode. The parameter chargecur sets the charger OUTPUT current in this mode. chargekp and chargeflt can be optimized to minimize oscilation of the control loop.

Videos