- Use a block or script to continuously monitor the SoC of each cell: SoC1, SoC2, SoC3.
- Use the Min block or a MATLAB Function block to compute.
Cell balancing Uniform for DTSC ?
6 views (last 30 days)
Show older comments
I have make double tiered Switched capacitor Based Active cell balancing of lithium ion cells closed loop simulation and it's working. But as I have to Connect Sum to lower soc among 3 from. What should I do to make it uniform ?

0 Comments
Answers (1)
Prathamesh
on 28 May 2025
I understand that you are working on a double-tiered switched capacitor-based active cell balancing system for Li-ion batteries, and your simulation is functional. Now, you want to ensure that the balancing logic directs charge (or "Sum") to the cell with the lowest State of Charge (SoC) among three cells, and you want this to be uniform and closed-loop.
Below are the steps to implement Uniform Balancing logic:
min_soc = min([SoC1, SoC2, SoC3]);
3. Use a MATLAB Function block to output a selector signal:
function idx = min_soc_index(SoC1, SoC2, SoC3)
[~, idx] = min([SoC1, SoC2, SoC3]);
end
This gives you idx = 1, 2, or 3 depending on which cell has the lowest SoC.
4. Continuously monitor SoC and update the balancing path in real-time
5. Add hysteresis or a small threshold to avoid oscillations when SoCs are nearly equal.
Hope this helps.
0 Comments
See Also
Categories
Find more on Modeling and Prediction with NARX and Time-Delay Networks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!