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

Introduction

There are different Gauge solutions based on MSPM0. Table 1-1 shows the quick compare between them for customers to choose the suitable one. This document focuses on introducing MSPM0 Gauge L2 solution with different setup, including

  • MSPM0L1306 Gauge board + 1 LiCO2 battery (Section 5.1)
  • MSPM0G3507 Launchpad+ BQ76952 EVM + 4 LiFePO4 batteries (Section 5.2)
Table 1-1 MSPM0 Gauge Solution Compare
MSPM0 Gauge L1 MSPM0 Gauge L2
Detected parameters Voltage; Temperature Voltage; Temperature; Current
Output key parameters SOC SOC; SOH; Remain capacity; Cycles
Used methods Volt Gauge Coulomb counting + Volt Gauge + Empty/Full compensation + Capacity learn
Suitable application Output step data with low SOC accuracy Output percentage data with high SOC accuracy
Suitable battery type LiCO2/LiMn2O4 LiCO2/LiMn2O4/LiFePO4

Remember MSPM0 Gauge L2 is a pure software code. MCU platform, the AFE or the battery is just used to show the capability of this algorithm. Its features are shown as below:

  • Work after MCU power-on without factory calibration or learning cycles.
  • Support SOC, SOH, capacities and warning flag output.
  • Low requirement for battery chemistry parameters input.
  • High precision and reliability

The solution is combined of three parts: hardware, software and GUI. All of them can be found at https://www.ti.com/lit/zip/slaaef5. You can also find the MCU code for typical cases under the SDK (mspm0_sdk_xxx\examples\nortos\LP_MSPM0xxxx\battery_gauge).

  • The hardware board is used to detect voltage, current and temperature, which will be input into algorithm to calculate SOC. As described for different hardware setup details, see Section 5.
  • The software project includes the used gauge algorithm, MCU control and AFE communications. For the description of algorithm, see Section 2. For the typical usage case, see Section 5.
  • The GUI is written by python, which can be used to communicate with the gauge board, run test pattern, and do data analysis. For GUI introduction, see Section 3.