switched capacitor battery equalization

This circuit is to simulate an active battery balancing switched capacitor topology for a BMS
739 Downloads
Updated 28 Jun 2018

View License

This unfortunately is not a working file. I have been struggling these past few days to figure out why I cannot stop the flow of current from the 'controlled current block'. I have played around with the code as well as different types of switches. If anyone is able to give suggestions on how to control this switch it would be greatly appreciated.
Also, please ignore the rest of the design. I have not finished setting the PWM frequency and the capacitance values. I am only concerned with how to control this switch.

Thanks in advance everyone!

Cite As

Sean Clark (2026). switched capacitor battery equalization (https://www.mathworks.com/matlabcentral/fileexchange/67863-switched-capacitor-battery-equalization), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities
Version Published Release Notes
1.0.0.0