Charge and Discharge Alarms
49
SLUUBD3D – September 2015 – Revised September 2018
Copyright © 2015–2018, Texas Instruments Incorporated
Charge Algorithm
NOTE:
In
BatteryStatus()
, the
[TCA]
bit, as well as the
[TDA]
and
[FD]
bits, are also set and cleared
based on safety and permanent fail protections. In
GaugingStatus()
, however, these bits do
not react on the safety protections.
GaugingStatus[TC][TD][FC][FD]
are the status flags based on the gauging conditions only.
These flags are set and cleared based on
SOC Flag Config
.
The
GaugingStatus[TC][TD]
flags are not the same as the
BatteryStatus[TCA][TDA]
flags.
The
[TCA]
and
[TDA]
flags can be set or cleared by the gauging event or by the safety or PF
events. These flags also clear if charging current is not present. The
[TC]
and
[TD]
flags,
however, only set and clear by a gauging event.
GaugingStatus[FC][FD]
has the same behavior as
BatteryStatus[FC][FD]
.
The table below summarizes the various options to set and clear the
[TC]
and
[FC]
flags in
GaugingStatus()
.
Flag
Set Criteria
Set Condition
Enable
[TC]
RSOC
RelativeStateOfCharge()
> =
TC: Set %
RSOC Threshold
SOC Flag Config [TCSetRSOC]
= 1
Valid Charge Termination
(enable by default)
When
ChargingStatus[VCT]
= 1
SOC Flag Config [TCSetVCT]
= 1
[FC]
RSOC
RelativeStateOfCharge()
> =
FC: Set %
RSOC Threshold
SOC Flag Config [FCSetRSOC]
= 1
Valid Charge Termination
(enable by default)
When
ChargingStatus[VCT]
= 1
SOC Flag Config [FCSetVCT]
= 1
Flag
Clear Criteria
Clear Condition
Enable
[TC]
RSOC (enable by default)
RelativeStateOfCharge()
≤
TC: Clear %
RSOC Threshold
SOC Flag Config [TCClearRSOC]
= 1
[FC]
RSOC (enable by default)
RelativeStateOfCharge()
≤
FC: Clear %
RSOC Threshold
SOC Flag Config [FCClearRSOC]
= 1
The tables below summarizes the various options to set and clear the
[TD]
and
[FD]
flags in both
BatteryStatus()
and
GaugingStatus()
.
Flag
Set Criteria
Set Condition
Enable
[TD]
RSOC (enable by default)
RelativeStateOfCharge()
< =
TD: Set %
RSOC Threshold
SOC Flag Config [TDSetRSOC]
= 1
[FD]
RSOC (enable by default)
RelativeStateOfCharge()
< =
FD: Set %
RSOC Threshold
SOC Flag Config [FDSetRSOC]
= 1
Flag
Clear Criteria
Clear Condition
Enable
[TD]
RSOC (enable by default)
RelativeStateOfCharge()
≥
TD: Clear %
RSOC Threshold
SOC Flag Config [TDClearRSOC]
= 1
[FD]
RSOC (enable by default)
RelativeStateOfCharge()
≥
FD: Clear %
RSOC Threshold
SOC Flag Config [FDClearRSOC]
= 1
The SOC configuration is stored in the following data flash.
Table 5-1. SOC FLAG Config
Class
Subclass
Name
Format
Size in
Bytes
Min
Max
Default
Unit
Settings
Configuration
SOC Flag
Config
Hex
2
0x0000
0xFFFF
0x02FB