Using Coulomb Counting Method for SoC Estimation of battery
3 次查看(过去 30 天)
显示 更早的评论
Hi There
I would like to ask if any one could help in turing this into a MATLAB script. Where there Battery voltage and current capacity is asked along with the hours used and then those inputs is used to calculte the state of charge. some thing like what is shown in the picture.
Thanks
0 个评论
采纳的回答
Javier Gazzarri
2024-5-6
Hello Ranish.
Please bear in mind that the above calculation is only valid under the approximation that the voltage is constant during the entire discharge time, which is not true in a real battery. The code you can use is:
C = 500; R = 0.6; V = 12;
t = 0:3*3600;
I = V/R * ones(size(t));
SOC = 1 - trapz(t,I)/3600/C;
SOC(end)
Best regards,
Javier
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propulsion and Power Systems 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!