SLAAEF5 March   2024 MSPM0G1505 , MSPM0G1505 , MSPM0G1506 , MSPM0G1506 , MSPM0G1507 , MSPM0G1507 , MSPM0L1303 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1306-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Algorithm Introduction
    1. 2.1 Battery Basic Knowledge Introduction
    2. 2.2 Different SOCs and Used Equations
      1. 2.2.1 NomAbsSoc Calculation
        1. 2.2.1.1 Coulometer With OCV Calibration
        2. 2.2.1.2 Battery Model Filter
      2. 2.2.2 CusRltSoc Calculation
      3. 2.2.3 SmoothRltSoc Calculation
    3. 2.3 Algorithm Overview
      1. 2.3.1 Voltage Gauge Introduction
      2. 2.3.2 Current Gauge Introduction
      3. 2.3.3 Capacity Learn Introduction
      4. 2.3.4 Mixing Introduction
  6. 3Gauge GUI Introduction
    1. 3.1 MCU COM Tool
    2. 3.2 SM COM Tool
    3. 3.3 Data Analysis Tool
  7. 4MSPM0 Gauge Evaluation Steps
    1. 4.1 Step1: Hardware Preparation
    2. 4.2 Step2: Get Battery Model
      1. 4.2.1 Battery Test Pattern
      2. 4.2.2 Battery Model Generation
    3. 4.3 Step3: Input Customized Configuration
    4. 4.4 Step4: Evaluation
      1. 4.4.1 Detection Data Input Mode
      2. 4.4.2 Communication Data Input Mode
  8. 5MSPM0 Gauge Solutions
    1. 5.1 MSPM0L1306 + 1 LiCO2 Battery
      1. 5.1.1 Hardware Setup Introduction
      2. 5.1.2 Software and Evaluation Introduction
      3. 5.1.3 Battery Testcases
        1. 5.1.3.1 Performance Test
        2. 5.1.3.2 Current Consumption Test
    2. 5.2 MSPM0G3507 + BQ76952 + 4 LiFePO4 Batteries
      1. 5.2.1 Hardware Setup Introduction
      2. 5.2.2 Software and Evaluation Introduction
      3. 5.2.3 Battery Testcases
        1. 5.2.3.1 Performance Test1 (Pulse Discharge)
        2. 5.2.3.2 Performance Test2 (Load Change)
  9. 6References

Battery Model Generation

After you get the battery running data in SMData format or the MCUData format (the name should also flow their naming format), you can then use “Battery Parameter File Generation for One Battery” to get the battery model (battery circuit file) in excel and text, by following in the steps in Figure 4-4.

GUID-CF8100AF-5AAF-4A8A-9984-FA6CD9E45A91-low.png Figure 4-4 Generate Parameter File From SMData

Copy the generated table in the text into Gauge_UserConfig.c, and the table length into Gauge_UserConfig.h. Then, you can finish the battery circuit table input.

GUID-EBC49CB7-0F75-4E84-8D99-8EACB49978B6-low.png Figure 4-5 Battery Circuit Table Input

The element of the battery circuit table (Battery model) has five combinations:

  • The first is OCV (mV).
  • The second is SOC.
  • The third is Rcell (Ω).
  • The fourth is cap factor.
  • The fifth is slope rate.

For OCV and SOC, it influences the SOC calibration used in the Capacity learn part. For Rcell and cap factor, it will mostly influence the VFAbsSoc accuracy.

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 its 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 equal to dSOC(Dec) / dOCV(mV). For the detailed parameters generation method, see the python source code shared in the development package of this document.

GUID-B79B18E0-4274-4DAD-91D5-B1A9006426AC-low.png Figure 4-6 Pulse Discharge Example

For high-level MSPM0 Gauge solution, as it takes the residual SOC or battery aging into consideration, it is good to make the circuit table larger than the application voltage range to reserve some buffer. Table 4-2 shows an example for different discharge conditions. Pay attention to the difference between OCV and max charge/discharge voltage.

Table 4-2 MSPM0 Gauge L2 SOC-OCV Range
Current<0.01C Current<0.1C Current<0.5C
Table max OCV 4.3V 4.3V 4.3V
Table min OCV 2.6V 2.6V 2.6V
Application max charge voltage 4.2V 4.2V 4.2V
Application min discharge voltage 2.8V 2.8V 2.8V