Rainbow Electronics DS2784 User Manual
Page 14

DS2784: 1-Cell Stand-Alone Fuel Gauge IC with Li+ Protector and SHA-1 Authentication
14 of 38
measurement made just prior to the offset conversion is retained in the current register and is substituted for the
dropped current measurement in the current accumulation process. Therefore, the accumulated current error due
to offset correction is typically much less than 1/1024.
CURRENT OFFSET BIAS
The current offset bias (COB) value allows a programmable offset value to be added to raw current measurements.
The result of the raw current measurement plus COB is displayed as the current measurement result in the current
register, and is used for current accumulation. COB can be used to correct for a static offset error, or can be used
to intentionally skew the current results and, therefore, the current accumulation.
Read and write access is allowed to COB. Whenever the COB is written, the new value is applied to all subsequent
current measurements. COB can be programmed in 1.56
μV steps to any value between +198.1µV and -199.7µV.
The COB value is stored as a two’s complement value in EEPROM. The COB is loaded on power-up from
EEPROM memory. The factory default value is 00h.
The difference between the CAB and COB is that the CAB is not subject to current blanking. Offset currents
between 100µV and -25µV are not accumulated if the offset is made by the COB. Offset currents between 100µV
and -25µV are accumulated if they are made by the CAB.
CURRENT OFFSET BIAS REGISTER FORMAT
ADDRESS
7Bh
S 2
6
2
5
2
4
2
3
2
2
2
1
2
0
MSb
LSb
“S”: Sign Bit(s) Units: 1.56
μV/R
SNS
CURRENT BLANKING
The current blanking feature modifies current measurement result prior to being accumulated in the ACR. Current
blanking occurs conditionally when a current measurement (raw current + COBR) falls in one of two defined
ranges. The first range prevents charge currents less than 100
μV from being accumulated. The second range
prevents discharge currents less than 25
μV in magnitude from being accumulated. Charge current blanking is
always performed; however, discharge current blanking must be enabled by setting the NBEN bit in the control
register. See the register description for additional information.