SLAAEF5B March 2024 – June 2025 MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3506 , MSPM0G3507 , MSPM0H3216 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1
Before evaluating the gauge performance, users need to have a concept about the learning cycles of this algorithm. This algorithm has three parameters that are learned in the code running. The first is the NomFullCap and MaxNomFullCap. The second is the FullSoc and the third is the EmptySoc. All of these affect the SmoothSoc output performance and accuracy. In the following part, a battery test case is shown to show the learning capacity of this algorithm in Figure 4-11.
Figure 4-15 Battery Discharge and Charge for 3 TimesWhen the iGaugeDominationFlg is set, the MaxNomFullCap changes from 0 to a value. At this time, this means the gauge algorithm calculates the NomFullCap error and NomFullSoc error reduce to an acceptable range. Normally, this takes one full discharge or charge.
The FullSoc and EmptySoc and are related to the CusSoc and SmoothSoc. These adjust when the battery turns to full or empty. However, the learning result is not saved at the beginning, as the NomFullSoc error is large. In Figure 4-15, the FullSoc adjusts to 94.9% at about 4000s and readjusts again at 30000s. The EmptySoc adjusts at 16000s and readjusts again at 43000s. At 60000s, as the load is same, the EmptySoc loads the saved value from the EmptySocMatrix.
SmoothSoc can have large jumps when EmptySoc and FullSoc is learning, especially when MaxNomFullCap is not learned and NomAbsSoc has large errors in the learning cycles. The battery is doing a constant discharge from 100% to 0%. An example is shown in Figure 4-16. This can be common on LiFePO4 batteries. To reduce the SmoothSoc error, users can use PackRecordLoad function to give the algorithm a start NomAbsSoc value and set the EmptyOcvMatrix and FullOcvMatrix in the battParamsCfg. If users just want to avoid the large jump of the SmoothSoc, then an IIR filter with an excellent cut of frequency is suggested to be added on the SmoothSoc output.
Figure 4-16 SmoothSoc
Jump