Week 7 State of charge estimation
1.What is coulomb counting? Explain how BMS implements coulomb counting for soc estimation
Coulomb counting
SOC is a measure of how much charge is available for use in the battery.For the application of rechargeable batteries in H/EVs,SOC is a crucial parameter and thus needs to be measured accurately though electronic and electric systems.It cannot be measureddirectly because it requires measuring the lithium content at both electrodes. Without accurate soc measurement, the battery management system (BMS) would be unable to inform the user when the vehicle needs to be charged or what could bedone to improve battery capacity. A few indirect methods have been discovered to measure the SOC:
- Chemical method:applicable only to cells that give open access to their electrolytes (non-sealed lead acid batteries for instance) .The SOC can be measured from the specific gravity (hydrometer) or the pH (pH meter} of the electrolyte
- Voltage method:measures the present voltage of the battery to find its soc using the discharge characteristics of the voltage vs SOC. Not a preferred method because temperature variations are nat accounted for in this method which can cause the terminal voltage of a cell to vary from its ocv
- Current integration method (also known as Coulomb counting): involves measuring the amount alcurrent entering andleaving the battery,integrated over time.A device called a coulomb counter will measure the current supplied or removed over a period of time,and will compare it to the pre-programmed capacity of the battery,hence determining the current
The figure below shows how SOC is modeled.The amount of current entering/leaving the battery is integrated over time and the effect altemperature on capacity is also accounted for by using a 1-D lookup table.

Although this is one of the most common ways of measuring SOC,it still suffers from a lack of reference point. The soc needs to be recalibrated regularly bock to 100% everytime a battery is fully charged,and this is dependent on how accurately the sensor determines a fully charged cell. This method also does not consider the changing efficiency of the cell,which is dependent on how much is the charging and discharging current.
With greater charge/discharge current,the temperature of the cell increases,which affects efficiency. In addition,over time,the pre-declared capacity (Q) and efficiency of a cell reduces,so reduction in cycle life also affects the soc measurement.
2) Access the model 'Design and Test Lithium Ion Battery Management Algorithms'.Simulate the 3 test cases from harness dashboardand write a detailed report on the results.
THE MODEL:canbe used to mimic diverse usage cycles and environmental conditions to evaluate a systems response to a potentially unsale condition. For instance,voltage,current,or temperature outside the recommended limits. Lets say this BMS is a part of an EV powertrain and the initial SOC is 75% withtheambient temperature being 15 degrees C. The vehicle is run lor a while and then stops to charge.Once the vehicle and battery ore at rest and charging,the cell balancing cycle kicks in.How do we know that during the charging stage the battery pock will remain within recommended electrical and thermallimits? What if the temperature ol the pack is 40 degrees C instead of close to 15? Will onaggressive drive cycle cause on under-voltage situation when the SOCis running low? A model such as this one allows the vehicle designer to test these types of situations.





- Battery is in driving mode for first 3000 secs
- The next 1000 secs it is cell balancing as the BMS has come to a standby.This will generally only happen when the vehicle has come to a stop for a long time.
- The next 5000 seconds are for charging
- BMS continues to be in standby for the remaining 11000 seconds

OBSERVATIONS:
- Fluctuations in cell voltages and pock current until 3000sec indicates that the vehicle was in driving mode
- 2.Cell voltages start off differently which means there was soc imbolancing from the beginning. However,they do start converging after 3000sec as cell balancing begins,and by the end of 20,000sec oil cells stabilize around 4.lV
- Between 4000sec and 9000sec there is constant current (cc) and constant voltage (CV) charging happening: from 4000 - "' 4600sec it is cc and then the remaining is During cc the soc increases much more quickly, and then slows down during CV as a precaution mechanism to avoid charging post the voltage limit
- There is a moderate difference in the temperatures of Cell 1 (297K} and Cell 6 (303K) when the vehicle comes to a stop at 3000sec.This is because of the way the battery pock is assembled.Cell 1 is open to the atmosphere while Cell 6 is thermally insulated on one sidThe dif ference in their peak temperatures is 15 degrees C,and this happens during the initial charging stages. Even at the end of the simulation,when the BMS hos been in standby mode for >10000sec the difference in temperature of cell 1and cell 6 is still 15 degrees C. This reallypoints to the importance of how vitalit is to maintain o similar temperature throughout the whole pock, otherwise it willlead to difference between individual cells,such as their voltages,discharge capacities,cycle life or cell degradation,etc.
- The SOC graph shows the estimation of SOC through different methods,with yellow corresponding to coulomb counting,blue for unscented Kolman Filter (UKF),and orange for Extended Kolman Filter (EKF). Both Kolman filter methods ore evidently more accurate than coulomb counting due to their ability to account for voltage information (the difference between OCV and (sum of} voltage drops)
Test case 2: Currently unable to run this test,possibly due to bug


OBSERVATIONS:
- Since the battery is only in charging mode,the sudden influx of current from 0 to 30A is seen within the first 5 seconds (when zoomed in). Due to the surge of electrons into the cells,this also explains the drastic rise in temperature in all cells
- Cell balancingis in process since the beginning
- EKF hos outperformed UKF by a little bit again,while Coulomb counting method for SOC approximation seems the most inaccurate one. We can say this because a SOC of 100% is highly unlikely,and with Coulomb counting it might be displaying 100% because itis only pre-programmed to do so at the end of CCCV charging. EKF shows a SOC of 93% while UKF displays 94.5%,which seem more realistic and accurate.