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

Hardware Setup Introduction

The hardware board is typically made to evaluate the one-cell battery gauge solution.
GUID-85631551-2031-4704-A47C-ACAC4D22DFDE-low.png 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 solution tests the current at the analog-to-digital controller (ADC) channel 13, the temperature at ADC channel 5 and voltage at ADC channel 1.

GUID-C4A7AB89-6BE1-4F68-8B4C-17C6CA59C270-low.png Figure 5-3 MSPM0 Gauge Board Block Diagram

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

The Gauge board instructions is shown in Figure 5-4. Pay attention to the MCU power switch supply jumper. For downloading, connect VMCU to VEx, then the MCU will be supplied with 3.3V, which can ensure the voltage matching with the debugger. For evaluation, connect VMCU to VIn, then the MCU will be supplied with 1.8V-LDO. It can ensure the best analog performance. Besides, when the MCU is powered in around 500ms, the MCU will calibrate the ADC+OPA for current detection. At this time, the current should be 0. Otherwise, there will be a constant current offset.

GUID-67653F3F-5DC1-4DCA-82B6-B91B1A4B2773-low.png Figure 5-4 Gauge Board Instructions

If you use MSPM0L1306 launchpad in communication data input mode, you need to connect the UART pin as follows, besides of doing the software change.

GUID-85F00DEF-9494-4975-BA28-F25A2F96B996-low.png Figure 5-5 MSPM0L1306 Launchpad UART Connection