# 如何在DS2784中存储电量计参数

## 计算

### 累积偏置寄存器(地址61h)

AccBias_µV = AccBias_mA × SenseResistor_mΩ
AccBias_µV = 0.3125mA × 20.00mΩ
AccBias_µV = 6.25µV

### 老化容量寄存器(地址62/63h)

AgingCapacity_µVhrs = AgingCapacity_mAhrs × SenseResistor_mΩ
AgingCapacity_µVhrs = 1220mAhrs × 20.00mΩ
AgingCapacity_µVhrs = 24,400µVhrs

### 最小充电电流寄存器(地址65h)

ChargeCurrent_µV = ChargeCurrent_mA × SenseResistor_mΩ
ChargeCurrent_µV = 80mA × 20.00mΩ
ChargeCurrent_µV = 1600µV

### 电量空电流寄存器(地址67h)

AECurrent_µV = AECurrent_mA × SenseResistor_mΩ
AECurrent_µV = 240mA × 20.00mΩ
AECurrent_µV = 4800µV

### 满电量40寄存器(地址6A/6Bh)

Full40_µVhrs = Full40_mAhrs × SenseResistor_mΩ
Full40_µVhrs = 1051mAhrs × 20.00mΩ
Full40_µVhrs = 21020µVhrs

### 电流失调偏置寄存器(地址7Bh)

OffsetBias_µV = OffsetBias_mA × SenseResistor_mΩ
OffsetBias_µV = -0.3125mA × 20.00mΩ
OffsetBias_µV = -6.25µV

### 温度截点(地址7Ch–7Eh)

 ValueStored (7Ch) = T34 = +18°C = 12h ValueStored (7Dh) = T23 = 0°C = 00h ValueStored (7Eh) = T12 = -12°C = F4h

## 结论

DS2784允许用户根据应用的确切参数定制电量计。然而，器件所存储的参数单位不是常用单位。按照本应用笔记给出的计算方法，可将常用单位转换成DS2784所需的单位。