Class BatteryProtection

  • public class BatteryProtection
    extends java.lang.Object
    This utility class provides algorithms to calculate maximum allowed charge and discharge currents for batteries.

    The logic uses:

    • Allowed Current Limit provided by Battery Management System
    • Voltage-to-Percent characteristics based on Min- and Max-Cell-Voltage
    • Temperature-to-Percent characteristics based on Min- and Max-Cell-Temperature
    • Linear max increase limit (e.g. 0.5 A per second)
    • Force Charge/Discharge mode (e.g. -1 A to enforce charge/discharge)