SLAAEF5A March 2024 – June 2025 MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1
After the battery is running data in SMData format or the MCUData format (the name needs to follow the naming format), users can use Battery Parameter File Generation for One Battery to get the battery model (battery circuit file) in csv and text by following in the steps in Figure 4-4.
Copy the generated table in the text into Gauge_UserConfig.c, and the table length into Gauge_UserConfig.h. Then, finish the battery circuit table input.
The element of the battery circuit table (battery model) has five combinations:
A brief introduction is given on how these parameters are generated. As shown in Figure 4-6, OCV equals to the final Vcell before discharging. SOC is obtained after the test with the Qmax at the same time using Equation 2. Rcell equals to the Ohmic resistance shown in Figure 4-6. The voltage change in one second is treated as the influence of Rcell and the value equals to dOcv(mV)/Current (mA). The cap factor equals to dSOC(%)/dOCV(mV)*Qmax(As) or dSOC(%)/dOCV(V)*3.6*Qmax(mAh). Slope rate equals to dSOC(Dec) / dOCV(mV). For the detailed parameters generation method, see the python source code shared in the development package of this document.