Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Taking design capacity as an example. First we need to determine the value of the LSB. If the sense resistor (a resistor used for calculating current) has a value of 2 ohms then our LSB would have a value of 5/2 = 2.5. The units for the LSB is micro volts hours / ohms which is just micro amp hours. If we have a battery that has a capacity of 1000000 micro amp hours, the value of the design_capacity field will be (1000000 / 2.5) = 400000.

Mathinline
bodyx + b