SLAAEF5B March   2024  – June 2025 MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3506 , MSPM0G3507 , MSPM0H3216 , 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

Hardware Setup Introduction

The hardware board is typically made to evaluate the one-cell battery gauge implementation.

 MSPM0 Gauge Hardware Board Figure 5-2 MSPM0 Gauge Hardware Board

Figure 5-3 shows the hardware high-level block diagram, showing all the used pins by this demo. The implementation tests the current at the analog-to-digital controller (ADC) channel 13, the temperature at ADC channel 5 and voltage at ADC channel 1.

 MSPM0 Gauge Board Block
          Diagram Figure 5-3 MSPM0 Gauge Board Block Diagram

With the internal OPA for current detection, the detection error at room temperature can reach ±0.25% at ±2A load. For more hardware introduction and performance, refer to the A Self-Calibratable Current Detection Solution Based on MSPM0 application note.

The gauge board instructions are shown in Figure 5-4. Pay attention to the MCU power switch supply jumper. For downloading, connect VMCU to VEx, then the MCU is supplied with 3.3V, which can make sure the voltage matches with the debugger. For evaluation, connect VMCU to VIn, then the MCU is supplied with 1.8V-LDO. This can make sure of the best analog performance. When the MCU is powered in around 500ms, the MCU calibrates the ADC+OPA for current detection. At this time, the current is 0. Otherwise, there is a constant current offset.

 Gauge Board Instructions Figure 5-4 Gauge Board Instructions

If users are using the MSPM0L1306 LaunchPad in communication data input mode, then connect the UART pin as follows. This does not an exception to the software change.

 MSPM0L1306 Launchpad UART
          Connection Figure 5-5 MSPM0L1306 Launchpad UART Connection