SLAAEF5A March   2024  – June 2025 MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , 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 Technologies
      1. 2.2.1 NomAbsSoc Calculation
        1. 2.2.1.1 Coulometer With OCV Calibration
        2. 2.2.1.2 Data Fusion
        3. 2.2.1.3 Battery Model Filter
      2. 2.2.2 CusRltSoc Calculation
        1. 2.2.2.1 EmptySoc and FullSoc
        2. 2.2.2.2 Core Temperature Evaluation
      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 Step 1: Hardware Preparation
    2. 4.2 Step 2: Get a Battery Model
      1. 4.2.1 Battery Test Pattern
      2. 4.2.2 Battery Model Generation
    3. 4.3 Step 3: Input Customized Configuration
    4. 4.4 Step 4: Evaluation
      1. 4.4.1 Detection Data Input Mode
      2. 4.4.2 Communication Data Input Mode
    5. 4.5 Step 5: Gauge Performance Check
      1. 4.5.1 Learning Cycles
      2. 4.5.2 SOC and SOH Accuracy Evaluation
  8. 5MSPM0 Gauge Solutions
    1. 5.1 MSPM0L1306 and 1 LiCO2 Battery
      1. 5.1.1 Hardware Setup Introduction
      2. 5.1.2 Software and Evaluation Introduction
      3. 5.1.3 Battery Test Cases
        1. 5.1.3.1 Performance Test
        2. 5.1.3.2 Current Consumption Test
    2. 5.2 MSPM0G3507, BQ76952 and 4 LiFePO4 Batteries
      1. 5.2.1 Hardware Setup Introduction
      2. 5.2.2 Software and Evaluation Introduction
      3. 5.2.3 Battery Test Cases
        1. 5.2.3.1 Performance Test 1 (Pulse Discharge)
        2. 5.2.3.2 Performance Test 2 (Load Change)
    3. 5.3 MSPM0L1306 and BQ76905
  9. 6Summary
  10. 7References
  11. 8Revision History

Battery Model Generation

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.

 Generate Parameter File From SMDataFigure 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, finish the battery circuit table input.

 Battery Circuit Table InputFigure 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.

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.

 Pulse Discharge ExampleFigure 4-6 Pulse Discharge Example
OSZAR »