Week 7 State of charge estimation
Title:
- Simulate the 3 test cases from harness dashboard and write a detailed report on the results.
- what is coulomb counting and BMS for SOC.
Explanation :
- https://in.mathworks.com/matlabcentral/fileexchange/72865-design-and-test-lithium-ion-battery-management-algorithms
- From the above links harness dashboard simulation program can be downloaded.
- Below Figure shows the Closed Loop Harness Dashboard.

To select test sqeuence go to test sequence and select the test sequence as shown.

After running onto the test it is found that an error has occured, which was unexpected to my knowledge.

Furthermore going onto the error it is found that some of the blocks were not installed in the matlab which caused an error.

which further showed no signs of anything in the scope as well but while taking on the refrences it is studied and observed by me that.
- In the first simulation all three conditions were simulated such as driving charging and the stable state hence the charging and discharging were observed and in the end the constant 100% SOC was observed because of the standby state of the vehicle.
- In the second simulation it was just the discharging as the SOC dropped to 0% in the driving state within 8600 seconds and the charging state was not achieved at 10000 seconds.
- In the third simulation, only charging was observed for the first 2000 seconds and the SOC remained at 100% constant for the next 18000 seconds.


- The Coulomb counting method measures the discharging current of a battery and integrates the discharging current over time in order to estimate SOC. Coulomb counting method is done to estimate the SOC(t), which is estimated from the discharging current, I(t), and previously estimated SOC values, SOC(t-1). SOC is calculated by the following equation:


But there are several factors that affect the accuracy of Coulomb counting method including temperature, battery history, discharge current, and cycle life.
Modified Coulomb Counting Method :
- To improve the Coulomb counting method, a new technique called modified Coulomb counting method is proposed. The modified Coulomb counting method uses the corrected current to improve the accuracy of estimation.
- The corrected current is the function of discharging current. There is a quadratic relationship between the corrected current and discharging current of battery. By practice of experimental data, corrected current is calculated by the following form:

where k2, k1 and k0 are constant values obtained from the practice experimental data.
- In modified Coulomb counting method, SOC is calculated by the following equation:

The experimental results show that the accuracy of the modified Coulomb counting method is superior to the conventional Coulomb counting method.


Inside SOC we have its circuit connections.



This system carries out the estimation by coulomb counting equation mentioned earlier. The main advantage of coulomb counting is that of its simplicity and low computational cost. Temperature and current are taken as input from the battery. Current signal is given to the gain block and the temperature is given to capacity as it varies according to the temperature. These inputs are given to integration where current will be integrated wrt time. This output is given to another block where it is divided by capacity and henceforth the SOC is estimated.