SLAAEE3 july   2023 MSPM0L1306 , 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

Step3: Input the Customized Configuration

You need to fulfill the configurations of the “tBattParamsConfig” structure in “Gauge_UserConfig.c”. For easy evaluation, you only need to change the general configuration parameters.

GUID-6CE6CD5A-C33B-4379-A0A3-38CF117012AB-low.png Figure 4-5 tBattParamsConfig Structure

Divide these parameters into two parts. A short description for all these related parameters is in Table 4-4.

Table 4-4 General Configuration Parameters
Parameters Comment
u16DesignCap_mAh Just input the standard capacity of battery or the tested battery capacity through battery parameter generation test.
u16MinBattVoltThd_mV
u16MaxBattVoltThd_mV
i8MaxTempThd_C
i8MinTempThd_C
Battery Vcell, Tcell threshold. They are reserved to control warning flags when the battery situation is above these parameters.
u8AvgBattParamsUpdateCount It tells the average data is got after the settled cycles.
u8SysTikShift
sysTikFreq
Choose the algorithm running frequency.
Table 4-5 VGauge Algorithm Related Parameters
Parameters Comment
u8CircuitTableLength Circuit table length
u8CircuitTableTestTemp_C
iq15RcellNegTshift_R
iq15RcellPosTshift_R
These parameters are used to evaluate the Rcell under a different temperature. It is by experience and will not affect the performance too much.