This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ34110: Charge Termination does not behave like specified

Part Number: BQ34110

Hello,

I am using the BQ34110 gas gauge together with an lead acid battery.

Battery:

- Lead acid

- 9000 mAh

- 24 V nominal voltage

The gas gauge should control an external charger by using the FC flag in Battery Status register. Therefore I try to use current taper charge termination to set FC flag.

In the manual (slubf7a) it is written:

1. Current Taper method:
1. During two consecutive periods of Current Taper Window, the AverageCurrent() is less than
Taper Current AND
2. During the same periods, the accumulated change in capacity > Minimum Taper Capacity AND
3. Voltage() is > ChargingVoltage() – Taper Voltage. When this occurs, the [CHG] bit of
BatteryStatus() is cleared. Also, if the [CSYNC] bit of CEDV_Gauging_Configuration is set, and
RemainingCapacity() is set equal to FullChargeCapacity().

I set

Taper Current to 30 mA,

Minimum Taper Capacity to 0 mAh/256,

Taper Voltage to 200 mV,

Current Taper Window to 60 s,

Maintenance Current to 30 mA (what does this parameter do, it is not explained in the manual?)

In the Operation Config A register JEITA is enabled, NIMH_CHG_EN, NI_DT, NI_DV are disabled so Taper Current method should be used.

The gauge is working in current scaling mode, scale factor is 3.

BQ34110_current_configuration.gg.csv

My problem is now that FC flag is set too early, when current is about 80 mA and not as configured at 30 mA, please see attached log file:

Wed Jan 20 10:51:15 CET 2021

Device Name = bq34110
Firmware Version = 0_02

Design Capacity = 3000

Sample,DateTime,ElapsedTime,Control,Temperature,Voltage,Batt Stat,Current,RemCap,FullChgCap,AvgCurr,RunTimeEmty,AvgTimeFull,AccumulatedCharge,AccumulatedCharge Time,AvgPwr,IntTemp,CycleCnt,RSOC,SOH,ChgVolt,ChgCurr,OpStat,GaugeStat,CEDVRemCap,EDV Threshold,SmRemCap,SmCurrent,ManufacStat,EOSLearnStatus,EOSSafetyStatus,EOSStatus,AutoLearnTime,AvgDsgCurrent,AvgDsgTemp,LearnedResistance,LearnedResTimeHours,LearnedResTimeSeconds,LastLearnedResistance,LastLearnedResHours,LastLearnedResSeconds,InitialRRateAgeHours,InitialRRateAgeSeconds,RRate,RRateLong,InitialRcellRRateLearnRes,InitialRcellRRateLearnCount,LogRowTime(ms),LogStatus
1,2021-01-20 10:51:19,4.003,0x0000,22.6,29820,0x0002,89,3000,3000,92,65535,0,-1,0,23,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591703,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,808,SUCCESS
2,2021-01-20 10:51:23,8.003,0x0000,22.6,29820,0x0002,89,3000,3000,92,65535,0,-1,1,23,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591699,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,743,SUCCESS
3,2021-01-20 10:51:27,12.003,0x0000,22.6,29820,0x0002,89,3000,3000,91,65535,0,-1,1,23,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591695,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,729,SUCCESS
4,2021-01-20 10:51:31,16.003,0x0000,22.6,29820,0x0002,88,3000,3000,90,65535,0,-1,1,22,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591691,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,708,SUCCESS
5,2021-01-20 10:51:35,20.004,0x0000,22.6,29820,0x0002,88,3000,3000,90,65535,0,-1,1,22,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591687,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,694,SUCCESS
6,2021-01-20 10:51:39,24.004,0x0000,22.6,29820,0x0002,88,3000,3000,89,65535,0,-1,1,22,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591683,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,709,SUCCESS
7,2021-01-20 10:51:43,28.004,0x0000,22.6,29820,0x0002,88,3000,3000,89,65535,0,-1,1,22,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591679,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,693,SUCCESS
8,2021-01-20 10:51:47,32.005,0x0000,22.6,29820,0x0002,86,3000,3000,88,65535,0,-1,1,22,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591675,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,729,SUCCESS
9,2021-01-20 10:51:51,36.005,0x0000,22.6,29820,0x0002,86,3000,3000,88,65535,0,-1,1,22,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591671,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,706,SUCCESS
10,2021-01-20 10:51:55,40.005,0x0000,22.6,29820,0x0002,84,3000,3000,87,65535,0,-1,1,21,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591667,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,718,SUCCESS
11,2021-01-20 10:51:59,44.005,0x0000,22.6,29820,0x0002,84,3000,3000,86,65535,0,-1,1,21,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591663,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,693,SUCCESS
12,2021-01-20 10:52:03,48.006,0x0000,22.6,29820,0x0002,84,3000,3000,86,65535,0,-1,1,21,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591659,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,706,SUCCESS
13,2021-01-20 10:52:07,52.006,0x0000,22.6,29820,0x0002,84,3000,3000,85,65535,0,-1,1,21,24.7,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591655,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,728,SUCCESS
14,2021-01-20 10:52:11,56.006,0x0000,22.6,29820,0x0002,84,3000,3000,85,65535,0,-1,1,21,24.8,18,100,100,30000,2000,0x0292,0x8000,3000,1806,3000,0,0x0B,0x000A,0x00,0xD0,2591651,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,736,SUCCESS
15,2021-01-20 10:52:15,60.007,0x0000,22.6,29820,0x0002,84,3000,3000,85,65535,0,-1,1,21,24.8,18,100,100,30000,2000,0x0292,0x800A,3000,1806,3000,0,0x0B,0x000C,0x00,0xD0,2591647,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,732,SUCCESS
16,2021-01-20 10:52:19,64.007,0x0000,22.6,29820,0x001A,83,3000,3000,84,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x000C,0x00,0xD0,2591643,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,734,SUCCESS
17,2021-01-20 10:52:23,68.009,0x0000,22.6,29820,0x001A,83,3000,3000,84,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x000C,0x00,0xD0,2591639,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,702,SUCCESS
18,2021-01-20 10:52:27,72.008,0x0020,22.6,29820,0x001A,83,3000,3000,84,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3599,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,767,SUCCESS
19,2021-01-20 10:52:31,76.009,0x0020,22.6,29820,0x001A,83,3000,3000,84,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3599,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,727,SUCCESS
20,2021-01-20 10:52:35,80.009,0x0020,22.6,29820,0x001A,83,3000,3000,83,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3599,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,719,SUCCESS
21,2021-01-20 10:52:39,84.010,0x0020,22.6,29820,0x001A,83,3000,3000,83,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3599,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,719,SUCCESS
22,2021-01-20 10:52:43,88.010,0x0020,22.6,29820,0x001A,83,3000,3000,83,65535,0,0,0,21,24.8,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3599,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,766,SUCCESS
23,2021-01-20 10:52:47,92.011,0x0000,22.6,29820,0x001A,83,3000,3000,83,65535,0,0,0,21,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3595,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,746,SUCCESS
24,2021-01-20 10:52:51,96.011,0x0000,22.6,29820,0x001A,83,3000,3000,83,65535,0,0,0,21,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3591,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,771,SUCCESS
25,2021-01-20 10:52:55,100.011,0x0000,22.6,29820,0x001A,81,3000,3000,82,65535,0,0,0,21,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3587,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,727,SUCCESS
26,2021-01-20 10:52:59,104.012,0x0000,22.6,29820,0x001A,81,3000,3000,82,65535,0,0,0,21,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3583,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,977,SUCCESS
27,2021-01-20 10:53:03,108.012,0x0000,22.6,29820,0x001A,81,3000,3000,82,65535,0,0,0,20,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3579,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,740,SUCCESS
28,2021-01-20 10:53:07,112.013,0x0000,22.6,29820,0x001A,81,3000,3000,82,65535,0,0,0,20,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3575,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,742,SUCCESS
29,2021-01-20 10:53:11,116.013,0x0000,22.6,29820,0x001A,81,3000,3000,82,65535,0,0,0,20,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3571,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,822,SUCCESS
30,2021-01-20 10:53:15,120.013,0x0000,22.6,29820,0x001A,81,3000,3000,82,65535,0,0,0,20,24.9,18,100,100,30000,30,0x0292,0x800A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3567,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,713,SUCCESS
31,2021-01-20 10:53:19,124.013,0x0000,22.6,27528,0x0018,-16,3000,3000,62,65535,0,0,0,15,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3563,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,815,SUCCESS
32,2021-01-20 10:53:23,128.014,0x0000,22.6,26988,0x0018,-16,3000,3000,43,65535,0,0,0,11,24.9,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3559,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,848,SUCCESS
33,2021-01-20 10:53:27,132.015,0x0000,22.6,26916,0x0018,-16,3000,3000,29,65535,0,0,0,7,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3555,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,835,SUCCESS
34,2021-01-20 10:53:31,136.015,0x0000,22.6,26868,0x0018,-16,3000,3000,18,65535,0,0,0,5,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3551,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,827,SUCCESS
35,2021-01-20 10:53:35,140.016,0x0000,22.6,26832,0x0018,-16,3000,3000,10,65535,0,0,0,3,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3547,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,776,SUCCESS
36,2021-01-20 10:53:39,144.017,0x0000,22.6,26808,0x0018,-16,3000,3000,4,65535,0,0,0,1,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3543,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,756,SUCCESS
37,2021-01-20 10:53:43,148.017,0x0000,22.6,26772,0x0018,-16,3000,3000,-1,65535,65535,0,0,0,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3539,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,813,SUCCESS
38,2021-01-20 10:53:47,152.017,0x0000,22.6,26748,0x0018,-16,3000,3000,-5,36000,65535,0,0,-1,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3535,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,951,SUCCESS
39,2021-01-20 10:53:51,156.018,0x0000,22.6,26724,0x0018,-16,3000,3000,-7,25714,65535,0,0,-2,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3531,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,876,SUCCESS
40,2021-01-20 10:53:55,160.018,0x0000,22.6,26700,0x0018,-16,3000,3000,-9,20000,65535,0,0,-2,25.0,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3527,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,784,SUCCESS
41,2021-01-20 10:53:59,164.019,0x0000,22.6,26688,0x0018,-16,3000,3000,-11,16364,65535,0,0,-3,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3523,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,776,SUCCESS
42,2021-01-20 10:54:03,168.019,0x0000,22.6,26664,0x0018,-16,3000,3000,-12,15000,65535,0,0,-3,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3519,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,760,SUCCESS
43,2021-01-20 10:54:07,172.019,0x0000,22.6,26652,0x0018,-16,3000,3000,-13,13846,65535,0,0,-3,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3515,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,792,SUCCESS
44,2021-01-20 10:54:11,176.019,0x0000,22.6,26640,0x0018,-16,3000,3000,-14,12857,65535,0,0,-3,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3511,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,743,SUCCESS
45,2021-01-20 10:54:15,180.020,0x0000,22.6,26628,0x0018,-16,3000,3000,-14,12857,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3507,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,800,SUCCESS
46,2021-01-20 10:54:19,184.020,0x0020,22.6,26616,0x0018,-16,3000,3000,-15,12857,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3506,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,766,SUCCESS
47,2021-01-20 10:54:23,188.020,0x0020,22.6,26604,0x0018,-16,3000,3000,-15,12857,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3506,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,743,SUCCESS
48,2021-01-20 10:54:27,192.020,0x0020,22.6,26592,0x0018,-16,3000,3000,-15,12857,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3506,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,826,SUCCESS
49,2021-01-20 10:54:31,196.021,0x0020,22.6,26580,0x0018,-16,3000,3000,-15,12857,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3506,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,784,SUCCESS
50,2021-01-20 10:54:35,200.021,0x0000,22.6,26556,0x0018,-16,3000,3000,-16,11250,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3504,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,756,SUCCESS
51,2021-01-20 10:54:40,204.022,0x0000,22.6,26556,0x0018,-16,3000,3000,-16,11250,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,3000,1806,3000,0,0x0B,0x0844,0x00,0xD0,3500,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,778,SUCCESS
52,2021-01-20 10:54:44,208.022,0x0000,22.6,26544,0x0018,-16,2999,3000,-16,11246,65535,0,0,-4,25.2,18,100,100,30000,30,0x0292,0x804A,2999,1806,3000,0,0x0B,0x0844,0x00,0xD0,3496,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,797,SUCCESS
53,2021-01-20 10:54:48,212.022,0x0000,22.6,26532,0x0018,-16,2999,3000,-16,11246,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,2999,1806,3000,0,0x0B,0x0844,0x00,0xD0,3492,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,808,SUCCESS
54,2021-01-20 10:54:52,216.023,0x0000,22.6,26532,0x0018,-16,2999,3000,-16,11246,65535,0,0,-4,25.2,18,100,100,30000,30,0x0292,0x804A,2999,1806,3000,0,0x0B,0x0844,0x00,0xD0,3488,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,790,SUCCESS
55,2021-01-20 10:54:56,220.023,0x0000,22.6,26520,0x0018,-16,2999,3000,-16,11246,65535,0,0,-4,25.1,18,100,100,30000,30,0x0292,0x804A,2999,1806,3000,0,0x0B,0x0844,0x00,0xD0,3484,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,930,SUCCESS
56,2021-01-20 10:55:00,224.024,0x0000,22.6,26508,0x0018,-16,2999,3000,-16,11246,65535,0,0,-4,25.2,18,100,100,30000,30,0x0292,0x804A,2999,1806,3000,0,0x0B,0x0844,0x00,0xD0,3480,0,-273.2,0,0,0,0,0,0,0,0,0,0,0,0,849,SUCCESS

What is going wrong? Please help

Thank you in advance.