beautypg.com

Figure 11. top level algorithm diagram – Rainbow Electronics DS2781 User Manual

Page 12

background image

DS2781: Two-Cell Standalone Fuel Gauge IC

12 of 30

Figure 11. Top Level Algorithm Diagram

Capacity Look-up

Available Capacity Calculation

ACR Housekeeping

Age Estimator

Learn Function

Cell

Parameters

16 bytes

(EEPROM)

FULL

FULL(T) (R)

Active Empty

AE(T)

(R)

Standby Empty SE(T)

(R)

Remaining Active Absolute
Capacity (RAAC) mAh (R)

Sense Resistor’
(RSNSP) (1byte EE)

Voltage

(R)

Temperature

(R)

Current

(R)

Accumulated
Current (ACR) (R/W)

Aging Cap (AC)
(2 bytes EE)

Charge Voltage
(VCHG) (1 byte EE)

Remaining Stand-by Absolute
Capacity (RSAC) mAh (R)

Remaining Active Relative
Capacity (RARC) %

(R)

Remaining Stand-by Relative
Capacity (RSRC) %

(R)

Age Scalar (AS)
(1 bytes EE)

Min Chg Current
(IMIN) (1 byte EE)

Active Empty
Voltage (VAE)
(1 byte EE)

Active Empty
Current (IAE)
(1 byte EE)

Average Current (R)