Main Content

Battery Charging Current Limit

Maximum battery charging current

Since R2022b

Libraries:
Simscape / Battery / BMS / Current Management

Description

This block calculates the maximum charging current of a battery. Limiting the charging and discharging currents is an important consideration when you model battery packs.

This block supports single-precision and double-precision floating-point simulation.

Note

To enable single-precision floating-point simulation, the data type of all inputs and parameters must be single.

This diagram shows the structure of the block:

Equations

The charging current limit is equal to the minimum of these values:

  • The temperature-dependent limit for the coolest and hottest cells

  • The theoretical current based on the overvoltage limit of the cell

  • The terminal resistance

CurrentLimit=min(i1,i2,i3)i1=OvervoltageLimitmax(CellVoltage)R0i2=f(min(CellTemperature))i3=g(max(CellTemperature))

where

  • OvervoltageLimit is the value of the Cell overvoltage limit (V) parameter.

  • CellVoltage is the value of the CellVoltage input port.

  • R0 is the value of the Terminal resistance (ohm) parameter.

  • CellTemperature is the value of the CellTemperature input port.

Ports

Input

expand all

Cell voltage, in volt, specified as a scalar for a single cell or a vector for multiple cells.

Temperature of the cells, specified as a scalar for a single cell or a vector for multiple cells. The size of this input port must be equal to the size of the CellVoltage parameter.

Output

expand all

Charging current limit for the battery pack, returned as a scalar.

Parameters

expand all

Limit over which the battery cell is overcharged, in volt.

Terminal resistance, R0, in ohm.

Cell temperatures. The physical unit of this parameter must be the same as the physical unit of the CellTemperature input port.

Current limit for the coolest cell, in ampere. The size of this vector must be equal to the size of the Vector of temperature, T parameter.

Current limit for the hottest cell, in ampere. The size of this vector must be equal to the size of the Vector of temperature, T parameter.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2022b