SOC Estimator (Coulomb Counting) gives values above 1 because of current profile. How can I limit this to 1, but descent whenever the current is discharging?
1 view (last 30 days)
Show older comments
Artjom Vartanyan
on 15 Dec 2023
Commented: Fangjun Jiang
on 16 Jan 2024
I have a current profile that was the result of a HPPC test. Now I want to simulate the SOC of the battery in Simulink. But because of the current profile the SOC calculated using the Coulomb Counting building block in Simulink exceeds 1 (> 100%) which is impossible.
How can I fix this? I want the SOC to be limited to 1, but I want it to discharge whenever the current discharges.
Thanks in advance.
THE SOC AND CURRENT PROFILE (in A):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1569847/image.jpeg)
MY SCHEME:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1569852/image.jpeg)
2 Comments
madhan ravi
on 15 Dec 2023
Why not use a saturation block whos SOC upper limit is limited to 100 and lower to 0?
Accepted Answer
Fangjun Jiang
on 15 Dec 2023
SOC is the integration of current. The "Coulomb Counting" block does not have an option to saturate so your options are limited.
- Set the initial SOC to less than 0.4.
- Increase the cell capacity.
4 Comments
Gokul Gopakumar
on 16 Jan 2024
Moved: Fangjun Jiang
on 16 Jan 2024
Hello all,
I had a similar question regarding the Coulomb Counting method using the SOC Estimator Block. I have a table in Matlab workspace with Current in Amperes and Time in hours. The test ran for almost 76 hours with data acquisition every 100ms. In between there is a Rest phase for 2 hrs where the current is 0 A. So overall i have a table with 1851958 rows of data. I am giving this as input in the current block. The Initial SOC is taken from a SOC OCV Lookup Table depending on the voltage. When i run the programme, the block is only executing for 10Sec. How should i adapt the block as to run the programme for the entire length of the Table ?
Fangjun Jiang
on 16 Jan 2024
The 10 seconds is probably the default simulation stop time of the model. It has nothing to do with the block or your data.
You can change the simulation stop time to be 76x3600 seconds.
More Answers (0)
See Also
Categories
Find more on Battery Management System 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!