フィルターのクリア

Using Coulomb Counting Method for SoC Estimation of battery

9 ビュー (過去 30 日間)
Ranish Sharma
Ranish Sharma 2024 年 5 月 5 日
回答済み: Javier Gazzarri 2024 年 5 月 6 日
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

採用された回答

Javier Gazzarri
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 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by