SLAAEE3A July   2023  – June 2024 MSPM0L1306

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Gauge Hardware Introduction
  6. 3Gauge Software Introduction
    1. 3.1 Gauge Algorithm Introduction
    2. 3.2 Gauge GUI Introduction
  7. 4MSPM0 Gauge Evaluation Steps
    1. 4.1 Step1: Hardware Preparation
    2. 4.2 Step2: Get the Battery Model
    3. 4.3 Step3: Input the Customized Configuration
    4. 4.4 Step4: Evaluation
      1. 4.4.1 Detection Data Input Mode
      2. 4.4.2 Flash Data Input Mode
      3. 4.4.3 Communication Data Input Mode
  8. 5MSPM0 Gauge Solution Test Results
    1. 5.1 Performance Test
    2. 5.2 Current Consumption Test
  9. 6Revision History

Flash Data Input Mode

This mode means the battery running data (Vcell, Icell, Tcell) is saved into MCU. This method can remove the need of hardware and increase algorithm running frequency. As you do not need the UART communication, the running frequency is the fastest.

MSPM0L1306 Flash Data Input Mode
                    Structure Figure 4-8 Flash Data Input Mode Structure

To realize this method, you need to use the “Flash saved battery runfile generation” function to convert the SMData file or McuData file into C code.

MSPM0L1306 Battery Runfile
                    Generation Figure 4-9 Battery Runfile Generation

Copy the code from txt to the C file. After changing the definition of detection mode, run the algorithm with a single launchpad.

MSPM0L1306 Battery Runfile Copy Figure 4-10 Battery Runfile Copy

Remember, as the MCU memory size has limitations, the battery run file input into the MCU cannot be unbounded. If you want to run a long battery cycle test case, you need to change the time step in python code and C code. Reducing the u8AvgVcellDetectPeriod at the same time, if needed.

MSPM0L1306 Code Change for Changing Time
                    Step Figure 4-11 Code Change for Changing Time Step