Main Content

Passive Balancing Interface

Interface for cell balancing between battery and cell supervisory circuit

Since R2024a

Libraries:
Simscape / Battery / HIL

Description

The Passive Balancing Interface block provides an abstracted vectorized interface for cell balancing between a battery and a cell supervisory circuit. Use this block with desktop simulations and hardware-in-the-loop battery emulation hardware.

A cell supervisory circuit is an electronic circuit that connects to battery cells or parallel assemblies. You can use this circuit to normalize voltages or states-of-charge (SOC) inside a module or pack. In the real world, you implement this equipment between your battery and the battery management system (BMS) control.

In this figure, the items in blue represent real-world equipment, voltages, and currents.

To avoid damaging your battery and to test your cell balancing algorithms under standard operational conditions and fault conditions, you can use hardware-in-the-loop battery emulation hardware. An abstracted interface facilitates connecting, setting, and configuring the passive balancing BMS to your emulated battery.

In this figure:

  • The blue color represents real-world equipment, voltages, and currents.

  • The green color represents the interface between the real-world equipment, voltages, and currents, as well as the simulated equipment, voltages, and currents.

  • The orange color represents the simulated equipment, voltages, and currents.

The Passive Balancing Interface block provides the abstract representation of power electronic equipment without the need to model it in detail. For example, if you have a battery pack with different levels of temperature or voltage within its constituent parts, you can use this block to check if the BMS is correctly balancing your pack after a variety of operational scenarios.

Ports

Input

expand all

Current, in ampere, flowing through the balancing circuit connected to each parallel assembly of the battery, specified as a scalar if the Number of balancing circuits is 1, or a vector otherwise. The size of this vector must be equal to the value of the Number of balancing circuits parameter.

Output

expand all

Voltage, in volt, across the balancing circuit connected to each parallel assembly of the battery, returned as a scalar if the Number of balancing circuits is 1, or a vector otherwise. The size of this vector is equal to the value of the Number of balancing circuits parameter.

Conserving

expand all

Electrical array-of-nodes conserving port associated with the positive terminal of the interface. The size of this port is equal to the value of the Number of balancing circuits parameter.

If, inside a ParallelAssembly, Module, ModuleAssembly, or Pack object you set the BalancingStrategy property to "External", then connect this port to the +BUS port of the battery generated block.

Electrical array-of-nodes conserving port associated with the negative terminal of the interface. The size of this port is equal to the value of the Number of balancing circuits parameter.

If, inside a ParallelAssembly, Module, ModuleAssembly, or Pack object you set the BalancingStrategy property to "External", then connect this port to the -BUS port of the battery generated block.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Number of balancing circuits that the interface connects to. The value of this parameter affects the size of all ports of this block and must be equal to the number of parallel assemblies in the battery or to the total number of series connections.

Extended Capabilities

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

Version History

Introduced in R2024a