Li-ion battery charger model

The model designed is a 48V to 25V bidirectional boost converter with a 5 Stage Constant Current Control.
1.3K Downloads
Updated 30 Jan 2021

View License

The converter is controlled using two PI control loops. One operates during the charging stage and the other operated during discharging stage. During the Charging State a 5 Stage Constant Current Control is used as the charging time and the charging of Multi (5) Stage Constant Current Control (MSCCC) was found better than Constant Current Constant Voltage method (ref paper: https://doi.org/10.1109/ITEC-AP.2016.7512982)

The DC load voltage is set to be at a constant 48V at both charging and discharging stages. The battery pack used is a 7s19p (I took the data of charging rates and discharge rates from the LG INR18650 B4 2600mAh cell data sheet).

Cite As

pratinav pratinav (2025). Li-ion battery charger model (https://uk.mathworks.com/matlabcentral/fileexchange/86593-li-ion-battery-charger-model), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0