Cell Balancing
Develop algorithms to balance the state of charge values in all cells of a battery.
Blocks
Passive Cell Balancing | Passive battery cell balancing algorithm (Since R2022b) |
Featured Examples
Battery Passive Cell Balancing
Balance a battery with two cells connected in series by using a passive cell balancing algorithm. The initial state-of-charge (SOC) for the two cells are equal to 0.7 and 0.75. The balancing procedure depends on the cell voltages. Alternatively, you can use the SOC values for balancing. When the balancing is active, a bleeding resistor switches on to bleed the cells with higher charge. You can use the objects and functions in the Battery Pack Model Builder to generate more complex battery packs.
Size Resistor for Battery Passive Cell Balancing
Implement a passive cell balancing for a lithium-ion battery pack. Cell-to-cell differences in the battery module create imbalances in the cell state-of-charge (SOC) and voltages. In this example, the balancing algorithm triggers when the battery pack is idle and the difference in the cell SOC is greater than a certain predefined value. The passive balancing shunt resistor is sized based on power loss and balancing time considerations.
Charge and Discharge Battery Module with Passive Balancing
Perform a cyclic charge and discharge cycle on a battery module while balancing the voltages of the module parallel assemblies.
- Since R2024a
- Open Live Script
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)