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

Mixing Introduction

Mixing algorithm is used to calculate different types of SOC and capacity.

For NomAbsSoc and NomFullCap, it directly comes from IGauge or CapacityLearn.

For EmptySoc, a current-temperature table “AbsEmptySocMatrix” is made to simulate the influence of current and temperature on EmptySoc. A table example is shown in Figure 2-11. One EmptySoc value is used to cover all the real EmptySoc when the battery works in a CT table block range. For example, if TempThd[1]<Tcell< TempThd[0], and CurtThd[0]<Icell<CurtThd[1], EmptySoc[4] is used to represent all the EmptySoc under this condition.

In one block, the real EmptySoc of the left bottom corner is minimum and the real EmptySoc of the right top corner is maximum. The acquired maximum EmptySoc is used to represent the total block for simplifying, the gap between the recorded EmptySoc and real EmptySoc causes the battery dischargeable capacity to shrink, especially in the worst case. In order to reduce this shrink, customers can make the CT table more finely. The max supported temperature threshold number is 6. The max current threshold numbers is 4.

GUID-0A342811-2806-4066-82EA-A355174FBA44-low.png Figure 2-11 CT Table Example

For FullSoc, after power on, it uses the MaxFullChgVoltThd as OCV to get a default FullSoc first. When the battery is fully charged, the calibrated NomAbsSoc is recognized as the new FullSoc updated into the current-temperature table “AbsFullSocMatrix” under different temperature, same as EmptySoc.

The SmoothRltSoc is obtained by tacking the change of the CusRltSoc with the same target 0% or 100% without sudden change. However, if CusRltSoc suddenly changed to 0% or 100%, SmoothRltSoc changes to 0% and 100% at the same time. Besides, CusRltSoc can be above 0% and 100%. SmoothRltSoc is limited between 0% and 100%.

The key output parameters of the function are listed in Table 2-3.

Table 2-3 Mixing Key Parameters
Parameter Comment
iq15CusRltSoc The relative SOC that closely tack the change of EmptySoc and FullSoc, based on NomAbsSoc.
SmoothRltSoc Used to remove the sudden jump of CusRltSoc.
i16CusRemCap_mAh The remain capacity can be used by customer with current load and temperature.
u16CusFullCap_mAh The full capacity can be used by customer with current load and temperature.
i16NomRemCap_mAh The remain capacity of battery based on circuitParamsTable range.
u16NomFullCap_mAh The full capacity of battery based on circuitParamsTable range.
iq15AbsEmptySocMatrix The matrix to record different emptySoc under different temperatures and current. If not initialization, it will be learn automatically.
iq15AbsFullSocMatrix The matrix to record different fullSoc under different temperatures and it will be learn automatically.