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.

bq27520-g4 CHG flag

Other Parts Discussed in Thread: BQ27520-G4

 

Hello

 

My Customter is evaluating  BQ27520-G4 using EVM. ( gg file attached ).

Attached image is their read-out from BQ27520-G4 when charging versus time.

The issue is   even though charging finished, i.e.  SOC=100%,  CHG flag goes from low to high  after 4.5hrs in attached. suddenly..

 

We know   CHG flag is set depend on SOC and Temperature , according to   TRM ( sluua35)  page 12 ,

but , customer says the BAT temperature is within the range , and  SOC is above the TCA clear%.

 

Would you please kindly adivise about the  condtion which CHG flag changes except SOC% and Temperature if there were ?

Cusomter can not understand the cause of thie issue now.

 

 

 

 

BQ27520gg.txt
* Texas Instruments Data Flash File				
* File created Wed Oct 28 16:41:20 2015				
*				
* Device Number 520				
* Firmware Version 3.29				
* Build Number not available				
* Order Number not available				
*				
* bqz Device Number 0x0520				
* bqz Firmware Version 0x0329				
* bqz Build Number 3.29				
*				
* Field Order: Class name	 Subclass name	 Parameter name	 Parameter Value	 Units
Configuration	Safety	OT Chg	55	°C
Configuration	Safety	OT Chg Time	2	s
Configuration	Safety	OT Chg Recovery	50	°C
Configuration	Safety	OT Dsg	60	°C
Configuration	Safety	OT Dsg Time	2	s
Configuration	Safety	OT Dsg Recovery	55	°C
Configuration	Charge Inhibit Cfg	Chg Inhibit Temp Low	0	°C
Configuration	Charge Inhibit Cfg	Chg Inhibit Temp High	55	°C
Configuration	Charge Inhibit Cfg	Temp Hys	5	°C
Configuration	Charge	Charging Voltage	4100	mV
Configuration	Charge	Delta Temp	5	°C
Configuration	Charge	Suspend Low Temp	-5	°C
Configuration	Charge	Suspend High Temp	55	°C
Configuration	Charge Termination	Taper Current	40	mA
Configuration	Charge Termination	Taper Voltage	100	mV
Configuration	Charge Termination	TCA Set %	99	%
Configuration	Charge Termination	TCA Clear %	95	%
Configuration	Charge Termination	FC Set %	100	%
Configuration	Charge Termination	FC Clear %	98	%
Configuration	Charge Termination	DODatEOC Delta T	5	°C
Configuration	Data	Initial Standby	-10	mA
Configuration	Data	CC Threshold	1845	mAh
Configuration	Data	Design Capacity	2050	mAh
Configuration	Data	Des Energy Scale	1	Num
Configuration	Data	SOH LoadI	-400	mA
Configuration	Data	Default Temperature	298.2	°K
Configuration	Data	Device Name	bq27520	String
Configuration	Data	Data Flash Version	0	Hex
Configuration	Discharge	SOC1 Set Threshold	90	mAh
Configuration	Discharge	SOC1 Clear Threshold	100	mAh
Configuration	Discharge	SysDown Set Volt Threshold	3150	mV
Configuration	Discharge	SysDown Set Volt Time	2	s
Configuration	Discharge	SysDown Clear Volt	3400	mV
Configuration	Discharge	Final Voltage	3000	mV
Configuration	Discharge	Final Volt Time	2	s
Configuration	Discharge	Def Avg I Last Run	-299	mA
Configuration	Discharge	Def Avg P Last Run	-1131	mW
Configuration	Registers	Op Config	972	Flag
Configuration	Registers	SOC Delta	1	%
Configuration	Registers	i2c Timeout	4	0.5s
Configuration	Registers	DF Wr Ind Wait	0	100us
Configuration	Registers	OpConfig B	4a	Flag
Configuration	Registers	OpConfig C	2c	Flag
Configuration	Registers	OpConfig D	5e	Flag
Configuration	Registers	OpConfig E	0	Flag
Configuration	Power	Flash Update OK Voltage	2800	mV
Configuration	Power	Sleep Current	15	mA
Configuration	Power	Hibernate I	8	mA
Configuration	Power	Hibernate V	2550	mV
System Data	Manufacturer Info	Block 0	0	Hex
System Data	Manufacturer Info	Block 1	0	Hex
System Data	Manufacturer Info	Block 2	0	Hex
System Data	Manufacturer Info	Block 3	0	Hex
System Data	Manufacturer Info	Block 4	0	Hex
System Data	Manufacturer Info	Block 5	0	Hex
System Data	Manufacturer Info	Block 6	0	Hex
System Data	Manufacturer Info	Block 7	0	Hex
System Data	Manufacturer Info	Block 8	0	Hex
System Data	Manufacturer Info	Block 9	0	Hex
System Data	Manufacturer Info	Block 10	0	Hex
System Data	Manufacturer Info	Block 11	0	Hex
System Data	Manufacturer Info	Block 12	0	Hex
System Data	Manufacturer Info	Block 13	0	Hex
System Data	Manufacturer Info	Block 14	0	Hex
System Data	Manufacturer Info	Block 15	0	Hex
System Data	Manufacturer Info	Block 16	0	Hex
System Data	Manufacturer Info	Block 17	0	Hex
System Data	Manufacturer Info	Block 18	0	Hex
System Data	Manufacturer Info	Block 19	0	Hex
System Data	Manufacturer Info	Block 20	0	Hex
System Data	Manufacturer Info	Block 21	0	Hex
System Data	Manufacturer Info	Block 22	0	Hex
System Data	Manufacturer Info	Block 23	0	Hex
System Data	Manufacturer Info	Block 24	0	Hex
System Data	Manufacturer Info	Block 25	0	Hex
System Data	Manufacturer Info	Block 26	0	Hex
System Data	Manufacturer Info	Block 27	0	Hex
System Data	Manufacturer Info	Block 28	0	Hex
System Data	Manufacturer Info	Block 29	0	Hex
System Data	Manufacturer Info	Block 30	0	Hex
System Data	Manufacturer Info	Block 31	0	Hex
Gas Gauging	IT Cfg	Load Select	1	Num
Gas Gauging	IT Cfg	Load Mode	0	Num
Gas Gauging	IT Cfg	Max Res Factor	15	Num
Gas Gauging	IT Cfg	Min Res Factor	7	Num
Gas Gauging	IT Cfg	Ra Filter	500	Num
Gas Gauging	IT Cfg	Fast Qmax Start DOD %	92	%
Gas Gauging	IT Cfg	Fast Qmax End DOD %	96	%
Gas Gauging	IT Cfg	Fast Qm Start V Delta	125	mV
Gas Gauging	IT Cfg	Fast Qmax Current Threshold	4	Hr rate
Gas Gauging	IT Cfg	Fast Qmax Min Points	3	Num
Gas Gauging	IT Cfg	Min % Passed Chg for Qm	37	%
Gas Gauging	IT Cfg	Qmax Filter	96	Num
Gas Gauging	IT Cfg	Max % Default Qmax	100	%
Gas Gauging	IT Cfg	Terminate Voltage	3000	mV
Gas Gauging	IT Cfg	Term V Delta	200	mV
Gas Gauging	IT Cfg	ResRelax Time	500	s
Gas Gauging	IT Cfg	User Rate-mA	0	mA
Gas Gauging	IT Cfg	User Rate-m/cW	0	pwr
Gas Gauging	IT Cfg	Reserve Cap-mAh	0	mAh
Gas Gauging	IT Cfg	Reserve Cap-m/cWh	0	pwr
Gas Gauging	IT Cfg	Min Delta Voltage	0	mV
Gas Gauging	IT Cfg	Max Sim Rate	1	Hr rate
Gas Gauging	IT Cfg	Min Sim Rate	20	Hr rate
Gas Gauging	IT Cfg	Ra Max Delta	8	mOhm
Gas Gauging	IT Cfg	Qmax Max Delta %	5	%
Gas Gauging	IT Cfg	DeltaV Max dV	10	mV
Gas Gauging	IT Cfg	Max Res Scale	5000	Num
Gas Gauging	IT Cfg	Min Res Scale	200	Num
Gas Gauging	IT Cfg	Fast Scale Start SOC	10	%
Gas Gauging	Current Thresholds	Dsg Current Threshold	60	mA
Gas Gauging	Current Thresholds	Chg Current Threshold	36	mA
Gas Gauging	Current Thresholds	Quit Current	20	mA
Gas Gauging	Current Thresholds	Dsg Relax Time	60	s
Gas Gauging	Current Thresholds	Chg Relax Time	60	s
Gas Gauging	Current Thresholds	Quit Relax Time	1	s
Gas Gauging	Current Thresholds	Transient Factor Charge	128	Num
Gas Gauging	Current Thresholds	Transient Factor Discharge	128	Num
Gas Gauging	Current Thresholds	Max IR Correct	400	mV
Gas Gauging	State	IT Enable	1	Hex
Gas Gauging	State	App Status	1	Flag
Gas Gauging	State	Qmax Cell 0	2300	mAh
Gas Gauging	State	Cycle Count 0	0	Num
Gas Gauging	State	Update Status 0	2	Hex
Gas Gauging	State	Qmax Cell 1	2300	mAh
Gas Gauging	State	Cycle Count 1	0	Num
Gas Gauging	State	Update Status 1	2	Hex
Gas Gauging	State	Avg I Last Run	-497	mA
Gas Gauging	State	Avg P Last Run	-1792	pwr
Gas Gauging	State	Delta Voltage	1	mV
Gas Gauging	State	T Rise	20	Num
Gas Gauging	State	T Time Constant	32767	Num
Gas Gauging	State	Cell 0 V at Chg Term	4100	mV
Gas Gauging	State	Cell 1 V at Chg Term	4100	mV
OCV Tables	OCVa0 Table	Chem ID	129	Flag
OCV Tables	OCVa0 Table	Qmax Cell	2300	mAh
OCV Tables	OCVa0 Table	Update Status	2	Hex
OCV Tables	OCVa1 Table	Chem ID	129	Flag
OCV Tables	OCVa1 Table	Qmax Cell	2300	mAh
OCV Tables	OCVa1 Table	Update Status	2	Hex
Ra Tables	Ra0 Default	Ra Status	0	Hex
Ra Tables	Ra0 Default	Ra Flag	0	Hex
Ra Tables	Ra0 Default	Ra Base	47	Num
Ra Tables	Ra0 Default	Ra Gain	0	Num
Ra Tables	Ra0 Default	Ra 1	3	Num
Ra Tables	Ra0 Default	Ra 2	3	Num
Ra Tables	Ra0 Default	Ra 3	5	Num
Ra Tables	Ra0 Default	Ra 4	-4	Num
Ra Tables	Ra0 Default	Ra 5	-1	Num
Ra Tables	Ra0 Default	Ra 6	3	Num
Ra Tables	Ra0 Default	Ra 7	-3	Num
Ra Tables	Ra0 Default	Ra 8	-2	Num
Ra Tables	Ra0 Default	Ra 9	-1	Num
Ra Tables	Ra0 Default	Ra 10	3	Num
Ra Tables	Ra0 Default	Ra 11	1	Num
Ra Tables	Ra0 Default	Ra 12	-11	Num
Ra Tables	Ra0 Default	Ra 13	15	Num
Ra Tables	Ra0 Default	Ra 14	14	Num
Ra Tables	Ra1 Default	Ra Status	0	Hex
Ra Tables	Ra1 Default	Ra Flag	0	Hex
Ra Tables	Ra1 Default	Ra Base	47	Num
Ra Tables	Ra1 Default	Ra Gain	0	Num
Ra Tables	Ra1 Default	Ra 1	3	Num
Ra Tables	Ra1 Default	Ra 2	3	Num
Ra Tables	Ra1 Default	Ra 3	5	Num
Ra Tables	Ra1 Default	Ra 4	-4	Num
Ra Tables	Ra1 Default	Ra 5	-1	Num
Ra Tables	Ra1 Default	Ra 6	3	Num
Ra Tables	Ra1 Default	Ra 7	-3	Num
Ra Tables	Ra1 Default	Ra 8	-2	Num
Ra Tables	Ra1 Default	Ra 9	-1	Num
Ra Tables	Ra1 Default	Ra 10	3	Num
Ra Tables	Ra1 Default	Ra 11	1	Num
Ra Tables	Ra1 Default	Ra 12	-11	Num
Ra Tables	Ra1 Default	Ra 13	15	Num
Ra Tables	Ra1 Default	Ra 14	14	Num
Ra Tables	Ra0 Table	Ra Status	0	Hex
Ra Tables	Ra0 Table	Ra Flag	0	Hex
Ra Tables	Ra0 Table	Ra Base	47	Num
Ra Tables	Ra0 Table	Ra Gain	0	Num
Ra Tables	Ra0 Table	Ra 1	3	Num
Ra Tables	Ra0 Table	Ra 2	3	Num
Ra Tables	Ra0 Table	Ra 3	5	Num
Ra Tables	Ra0 Table	Ra 4	-4	Num
Ra Tables	Ra0 Table	Ra 5	-1	Num
Ra Tables	Ra0 Table	Ra 6	3	Num
Ra Tables	Ra0 Table	Ra 7	-3	Num
Ra Tables	Ra0 Table	Ra 8	-2	Num
Ra Tables	Ra0 Table	Ra 9	-1	Num
Ra Tables	Ra0 Table	Ra 10	3	Num
Ra Tables	Ra0 Table	Ra 11	1	Num
Ra Tables	Ra0 Table	Ra 12	-11	Num
Ra Tables	Ra0 Table	Ra 13	15	Num
Ra Tables	Ra0 Table	Ra 14	14	Num
Ra Tables	Ra1 Table	Ra Status	0	Hex
Ra Tables	Ra1 Table	Ra Flag	0	Hex
Ra Tables	Ra1 Table	Ra Base	47	Num
Ra Tables	Ra1 Table	Ra Gain	0	Num
Ra Tables	Ra1 Table	Ra 1	3	Num
Ra Tables	Ra1 Table	Ra 2	3	Num
Ra Tables	Ra1 Table	Ra 3	5	Num
Ra Tables	Ra1 Table	Ra 4	-4	Num
Ra Tables	Ra1 Table	Ra 5	-1	Num
Ra Tables	Ra1 Table	Ra 6	3	Num
Ra Tables	Ra1 Table	Ra 7	-3	Num
Ra Tables	Ra1 Table	Ra 8	-2	Num
Ra Tables	Ra1 Table	Ra 9	-1	Num
Ra Tables	Ra1 Table	Ra 10	3	Num
Ra Tables	Ra1 Table	Ra 11	1	Num
Ra Tables	Ra1 Table	Ra 12	-11	Num
Ra Tables	Ra1 Table	Ra 13	15	Num
Ra Tables	Ra1 Table	Ra 14	14	Num
Ra Tables	Ra0x Table	Ra Status	0	Hex
Ra Tables	Ra0x Table	Ra Flag	0	Hex
Ra Tables	Ra0x Table	Ra Base	47	Num
Ra Tables	Ra0x Table	Ra Gain	0	Num
Ra Tables	Ra0x Table	Ra 1	3	Num
Ra Tables	Ra0x Table	Ra 2	3	Num
Ra Tables	Ra0x Table	Ra 3	5	Num
Ra Tables	Ra0x Table	Ra 4	-4	Num
Ra Tables	Ra0x Table	Ra 5	-1	Num
Ra Tables	Ra0x Table	Ra 6	3	Num
Ra Tables	Ra0x Table	Ra 7	-3	Num
Ra Tables	Ra0x Table	Ra 8	-2	Num
Ra Tables	Ra0x Table	Ra 9	-1	Num
Ra Tables	Ra0x Table	Ra 10	3	Num
Ra Tables	Ra0x Table	Ra 11	1	Num
Ra Tables	Ra0x Table	Ra 12	-11	Num
Ra Tables	Ra0x Table	Ra 13	15	Num
Ra Tables	Ra0x Table	Ra 14	14	Num
Ra Tables	Ra1x Table	Ra Status	0	Hex
Ra Tables	Ra1x Table	Ra Flag	0	Hex
Ra Tables	Ra1x Table	Ra Base	47	Num
Ra Tables	Ra1x Table	Ra Gain	0	Num
Ra Tables	Ra1x Table	Ra 1	3	Num
Ra Tables	Ra1x Table	Ra 2	3	Num
Ra Tables	Ra1x Table	Ra 3	5	Num
Ra Tables	Ra1x Table	Ra 4	-4	Num
Ra Tables	Ra1x Table	Ra 5	-1	Num
Ra Tables	Ra1x Table	Ra 6	3	Num
Ra Tables	Ra1x Table	Ra 7	-3	Num
Ra Tables	Ra1x Table	Ra 8	-2	Num
Ra Tables	Ra1x Table	Ra 9	-1	Num
Ra Tables	Ra1x Table	Ra 10	3	Num
Ra Tables	Ra1x Table	Ra 11	1	Num
Ra Tables	Ra1x Table	Ra 12	-11	Num
Ra Tables	Ra1x Table	Ra 13	15	Num
Ra Tables	Ra1x Table	Ra 14	14	Num
Calibration	Data	CC Gain	10.383	mOhm
Calibration	Data	CC Delta	10.363	mOhm
Calibration	Data	CC Offset	-1416	Counts
Calibration	Data	Board Offset	31	Counts
Calibration	Data	Int Temp Offset	3	°C
Calibration	Data	Ext Temp Offset	1.6	°C
Calibration	Data	Pack V Offset	2	mV
Calibration	Temp Model	Ext a Coef 1	-11130	Num
Calibration	Temp Model	Ext a Coef 2	19142	Num
Calibration	Temp Model	Ext a Coef 3	-19262	Num
Calibration	Temp Model	Ext a Coef 4	28203	Num
Calibration	Temp Model	Ext a Coef 5	892	Num
Calibration	Temp Model	Ext b Coef 1	328	Num
Calibration	Temp Model	Ext b Coef 2	-605	Num
Calibration	Temp Model	Ext b Coef 3	-2443	Num
Calibration	Temp Model	Ext b Coef 4	4696	Num
Calibration	Temp Model	Ext Ideal AD at Tcal	11703	Num
Calibration	Temp Model	Ext True AD at Tcal	11338	Num
Calibration	Current	Deadband	5	mA
Security	Codes	Sealed to Unsealed	36720414	Hex
Security	Codes	Unsealed to Full	ffffffff	Hex

 

 

 

 

 

 

  • Your TCA Set % in the gg file is 99% therefore CHG will be set to 1 once SOC drops below 99%.

  •  

    Hello

    Thank you for your adivse about  customer's gg file and waveform  immediately!!

    So,.... customer says it may be SOC% is below 99%  but,  it is  not below  95%...

     

    Please let me have additional questions  about   bq27520-G4 TRM sluua35.pdf [CHG] bit and TCA Set%, TCA Clear% .

    Sorry to bother you again

     

    ~~TRM~~

    (1)We see TRM Page 12, ;

    CHG = Indicates OK to charge. This bit is set if StateOfCharge( ) is below "TCA Set %" and

    Temperature( ) is within the ranges set by Chg Inhibit Temp Low/High and Suspend Low/High Temp.

    (2)On the other hand, in TRM Page 48,;

    TCA Set % is the Terminate Charge Alarm Set Percentage threshold. TCA Set % sets a StateOfCharge( )

    percentage threshold at which the Flags( ) [CHG] bit is "cleared".

    ~~~~

     

    Q1

    So, our ( customer and my ) understanding is following, but is this correct?

    [CHG] bit is 0 if SOC% >  99% =TCA Set%

    [CHG] bit is 1 if SOC% <  95% =TCA Clear%

     

    Q2

    If Q1 was correct, I thik page 12 or page 48 has some typo , and I think following is correct for page 12, is n't it?

    '

    CHG = Indicates OK to charge. This bit is set if StateOfCharge( ) is below "TCA Clear %" and

    Temperature( ) is within the ranges set by Chg Inhibit Temp Low/High and Suspend Low/High Temp.

    '

    Q3

    Our ( customer and my ) understanding for TCA Set% and TCA Clear % and [CHG] bit is like hysteresis..,

    how do you think about?

     

    If charging from SOC% low to high and SOC% is above 95%; [CHG] is 1 ( no change )

    If charging from SOC% 95% to 100% and SOC% is above 99%; [CHG] is 0

    If discharging from 100% to 95% and SOC% is within 95% and 99%; [CHG] = 0 ( no change. acts as  hysteresis )

    If discharging from 95% to less , ; [CHG ] =1

     

    With My Best Regards

  • If the SOC falls below TCA set (default 99%) during discharging, CHG will be set which indicates that it is now ok to charge.
    If the SOC rises above TCA clear (default 95%) during charging, CHG will be cleared which indicates that it is not ok to charge (again).
    The default is a hysteresis of 4%.
    If the For example: SOC = 20% -> CHG = 1. Now you charge the battery - CHG will clear once the SOC >95%.
    Other example: SOC = 100%. CHG = 0 when SOC crossed 95% during previous charging. Now you discharge the battery. CHG will be set once the SOC < 99%.
  • Dear Hartl san

    Thank you for your answer !!

    Please let me confirm  in case SOC% is 97% ( within hysteresis).

    Is following correct? or something wrong? Tihs is question fom my customer.

    * [CHG] is set  to 1  immediately when cutomer set charging  to discharging  at  SOC&=97%

    * [CHG] is cleared to 0 immediately when customer set discharging to charging at SOC = 97%

    I had attached the drawing.

    Sorry to  bother you again but please advise.

    Best Regards

  • Hi Kanji,
    That's not normal. chg should set if SOC is lower than TCA set and clear when SOC is lower than TCA clear . ps review you gg setting if you are getting otherwise and log data too as well for debug purposes

    thanks
    Onux

  • Dear Onix san
    Thank you for your advise soon. I will talk with my customer.