SLUUCW8 October 2023 BQ27Z746
The [TC] and [FC] bits in GaugingStatus() can be set at charge termination and based on RSOC or cell voltage. If multiple set and clear conditions are selected, then the corresponding flag is set whenever a valid set or clear condition is met. If the set and clear conditions are true at the same time, the flag will clear. The same functionality is applied to the [TD] and [FD] bits in GaugingStatus().
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 A and SOC Flag Config B.
The BatteryStatus()[TCA][TDA][FC][FD] flags are set and cleared according to the GaugingStatus()[TC][TD][FC][FD] flags.
The table below summarizes the options to set and clear the [TC] and [FC] flags in GaugingStatus().
Flag | Set Criteria | Set Condition | Enable |
---|---|---|---|
[TC] | Cell Voltage | Voltage() > TC: Set Voltage Threshold | SOC Flag Config A[TCSETV] = 1 |
RSOC | RelativeStateOfCharge() > TC: Set % RSOC Threshold | SOC Flag Config A[TCSETRSOC] = 1 | |
Valid Charge Termination (enable by default) | When ChargingStatus[VCT] = 1 | SOC Flag Config A[TCSETVCT] = 1 | |
[FC] | Cell Voltage | Voltage() > FC: Set Voltage Threshold | SOC Flag Config B[FCSETV] = 1 |
RSOC | RelativeStateOfCharge() > FC: Set % RSOC Threshold | SOC Flag Config B[FCSETRSOC] = 1 | |
Valid Charge Termination (enable by default) | When ChargingStatus[VCT] = 1 | SOC Flag Config A[FCSETVCT] = 1 |
Flag | Clear Criteria | Clear Condition | Enable |
---|---|---|---|
[TC] | Cell Voltage | Voltage() ≤ TC: Clear Voltage Threshold | SOC Flag Config A[TCCLEARV] = 1 |
RSOC (enable by default) | RelativeStateOfCharge() ≤ TC: Clear % RSOC Threshold | SOC Flag Config A[TCCLEARRSOC] = 1 | |
[FC] | Cell Voltage | Voltage() ≤ FC: Clear Voltage Threshold | SOC Flag Config B[FCCLEARV] = 1 |
RSOC (enable by default) | RelativeStateOfCharge() ≤ FC: Clear % RSOC Threshold | SOC Flag Config B[FCCLEARRSOC] = 1 |
The tables below summarize the various options to set and clear the [TD] and [FD] flags in GaugingStatus().
Flag | Set Criteria | Set Condition | Enable |
---|---|---|---|
[TD] | Cell Voltage | Voltage() < TD: Set Voltage Threshold | SOC Flag Config A[TDSETV] = 1 |
RSOC (enable by default) | RelativeStateOfCharge() < TD: Set % RSOC Threshold | SOC Flag Config A[TDSETRSOC] = 1 | |
[FD] | Cell Voltage | Voltage() < FD: Set Voltage Threshold | SOC Flag Config B[FDSETV] = 1 |
RSOC (enable by default) | RelativeStateOfCharge() <FD: Set % RSOC Threshold | SOC Flag Config B[FDSETRSOC] = 1 |
Flag | Clear Criteria | Clear Condition | Enable |
---|---|---|---|
[TD] | Cell Voltage | Voltage() ≥ TD: Clear Voltage Threshold | SOC Flag Config A[TDCLEARV] = 1 |
RSOC (enable by default) | RelativeStateOfCharge() ≥ TD: Clear % RSOC Threshold | SOC Flag Config A[TDCLEARRSOC] = 1 | |
[FD] | Cell Voltage | Voltage() ≥ FD: Clear Voltage Threshold | SOC Flag Config B[FDCLEARV] = 1 |
RSOC (enable by default) | RelativeStateOfCharge() ≥ FD: Clear % RSOC Threshold | SOC Flag Config B[FDCLEARRSOC] = 1 |
The configuration options for the charge and discharge alarms are in the following data flash.
Class | Subclass | Name | Type | Min | Max | Default | Unit | Description |
---|---|---|---|---|---|---|---|---|
Settings | Configuration | SOC Flag Config A | H2 | 0x0000 | 0x0FFF | 0x0C8C | — | Bit 0: TDSETV—Enables the TD flag set by cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 1: TDCLEARV—Enables the TD flag cleared by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 2: TDSETRSOC—Enables the TD flag set by the RSOC threshold 0 = Disabled 1 = Enabled (default) Bit 3: TDCLEARRSOC—Enables the TD flag cleared by the RSOC threshold 0 = Disabled 1 = Enabled (default) Bit 4: TCSETV—Enables the TC flag set by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 5: TCCLEARV—Enables the TC flag cleared by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 6: TCSETRSOC—Enables the TC flag set by the RSOC threshold 0 = Disabled (default) 1 = Enabled Bit 7: TCCLEARRSOC—Enables the TC flag cleared by the RSOC threshold 0 = Disabled 1 = Enabled (default) Bit 8: Reserved Bit 9: Reserved Bit 10: FCSETVCT—Enables the FC flag set by valid charge termination 0 = Disabled 1 = Enabled (default) Bit 11: TCSETVCT—Enables the TC flag set by valid charge termination 0 = Disabled 1 = Enabled (default) Bit 15: 12: Reserved |
Settings | Configuration | SOC Flag Config B | H1 | 0x00 | 0xFF | 0x8C | — | Bit 0: FDSETV—Enables the FD flag set by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 1: FDCLEARV—Enables the FD flag cleared by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 2: FDSETRSOC—Enables the FD flag set by the RSOC threshold 0 = Disabled 1 = Enabled (default) Bit 3: FDCLEARRSOC—Enables the FD flag cleared by the RSOC threshold 0 = Disabled 1 = Enabled (default) Bit 4: FCSETV—Enables the FC flag set by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 5: FCCLEARV—Enables the FC flag cleared by the cell voltage threshold 0 = Disabled (default) 1 = Enabled Bit 6: FCSETRSOC—Enables the FC flag set by the RSOC threshold 0 = Disabled (default) 1 = Enabled Bit 7: FCCLEARRSOC—Enables the FC flag cleared by the RSOC threshold 0 = Disabled 1 = Enabled (default) |
Gas Gauging | FD | Set Voltage Threshold | I2 | 0 | 5000 | 3000 | mV | GaugingStatus()[FD] and BatteryStatus()[FD] cell voltage set threshold |
Gas Gauging | FD | Clear Voltage Threshold | I2 | 0 | 5000 | 3100 | mV | GaugingStatus()[FD] and BatteryStatus()[FD] cell voltage clear threshold |
Gas Gauging | FD | Set RSOC % Threshold | U1 | 0 | 100 | 0 | % | GaugingStatus()[FD] and BatteryStatus()[FD] RelativeStateOfCharge() set threshold |
Gas Gauging | FD | Clear RSOC % Threshold | U1 | 0 | 100 | 5 | % | GaugingStatus()[FD] and BatteryStatus()[FD] RelativeStateOfCharge() clear threshold |
Gas Gauging | FC | Set Voltage Threshold | I2 | 0 | 5000 | 4400 | mV | GaugingStatus()[FC] and BatteryStatus()[FC] cell voltage set threshold |
Gas Gauging | FC | Clear Voltage Threshold | I2 | 0 | 5000 | 4300 | mV | GaugingStatus()[FC] and BatteryStatus()[FC] cell voltage clear threshold |
Gas Gauging | FC | Set RSOC % Threshold | U1 | 0 | 100 | 100 | % | GaugingStatus()[FC] and BatteryStatus()[FC] RelativeStateOfCharge() set threshold |
Gas Gauging | FC | Clear RSOC % Threshold | U1 | 0 | 100 | 95 | % | GaugingStatus()[FC] and BatteryStatus()[FC] RelativeStateOfCharge() clear threshold |
Gas Gauging | TD | Set Voltage Threshold | I2 | 0 | 5000 | 3200 | mV | GaugingStatus()[TD] cell voltage set threshold |
Gas Gauging | TD | Clear Voltage Threshold | I2 | 0 | 5000 | 3300 | mV | GaugingStatus()[TD] cell voltage clear threshold |
Gas Gauging | TD | Set RSOC % Threshold | U1 | 0 | 100 | 6 | % | GaugingStatus[()TD] RelativeStateOfCharge() set threshold |
Gas Gauging | TD | Clear RSOC % Threshold | U1 | 0 | 100 | 8 | % | GaugingStatus()[TD] RelativeStateOfCharge() clear threshold |
Gas Gauging | TC | Set Voltage Threshold | I2 | 0 | 5000 | 4400 | mV | GaugingStatus()[TC] cell voltage set threshold |
Gas Gauging | TC | Clear Voltage Threshold | I2 | 0 | 5000 | 4300 | mV | GaugingStatus()[TC] cell voltage clear threshold |
Gas Gauging | TC | Set RSOC % Threshold | U1 | 0 | 100 | 100 | % | GaugingStatus()[TC] RelativeStateOfCharge() set threshold |
Gas Gauging | TC | Clear RSOC % Threshold | U1 | 0 | 100 | 95 | % | GaugingStatus()[TC] RelativeStateOfCharge() clear threshold |