BMS SOC, OCV & Coulomb Counting Error Simulator

Compare LFP and NMC voltage sensitivity, simulate current sensor offset and gain drift, and estimate whether an OCV rest correction can meet an error budget.

Jump to results

Inputs

Coulomb counting
Discharge is positive. Charge is negative.
Voltage measurement and rest
Use a nonnegative bound. Selected, ±5 mV and ±15 mV are compared.
Use an absolute amplitude fitted to your cell relaxation trace.
Illustrative first-order parameter.
Percentage points of SOC.

Results

Estimates
Signed coulomb-count SOC error-1.32 pp
Current offset error
2.4 Ah
Current gain error
0.24 Ah
Integrated measurement error
2.64 Ah
Reference / indicated end SOC
26 % / 24.68 %
Illustrative LFP and NMC cell OCV
2.8 2.8 3.5 3.5 4.2 4.2V V 0 SOC (%) 100
  • LFP
  • NMC

50 % SOC · LFP 3.3 V · NMC 3.75 V

Voltage sensitivity and OCV correction
MetricLFPNMC
Cell OCV3.3 V3.75 V
Local SOC sensitivity2 pp/mV0.154 pp/mV
SOC error with ±5 mV-10 to +10 pp-0.83 to +0.71 pp
SOC error with ±15 mV-21.67 to +22.5 pp-2.5 to +2.14 pp
SOC error with selected noise-10 to +10 pp-0.83 to +0.71 pp
Modeled rest to reach targetNo finite rest37.6 min

The curve and rest inputs are illustrative. Hysteresis and temperature error can further reduce the OCV correction budget.

Compare coulomb-counting drift and rested-voltage correction

The illustrative monotonic LFP and NMC curves show how a few millivolts of uncertainty become a larger SOC error on a flat plateau. Each curve is a synthetic example in volts per cell. Real curves depend on cell type, temperature, state of health and charge direction.

Offset integrates even near zero current. Gain error scales with the signed net current integral. The result uses constant sensor errors and a mean current over the selected interval. Capacity, initial SOC and coulombic-efficiency errors are separate effects.

The rest estimate fits a first-order exponential to the residual polarization. It inverts the curve at the requested SOC error bounds, subtracts the voltage error budget and solves for the required wait. Use cell-specific test data and include hysteresis or temperature model error in the voltage budget when appropriate.

Formulas

  • ΔAh = (offset[mA]/1000 + mean discharge current × gain[%]/100) × operating hours
  • ΔSOC[% points] = −100 × ΔAh / usable capacity[Ah]
  • Local voltage sensitivity ≈ 1 / (dOCV/dSOC); noise bounds = inverse OCV(OCV ± noise) − reference SOC
  • Modeled rest = τ × ln(initial polarization / remaining voltage budget) when the budget is positive and the initial residual exceeds it

Worked example

At 200 Ah, 2 A mean discharge, +100 mA offset and +0.5% gain for 24 h, accumulated current error is +2.64 Ah and indicated SOC is 1.32 percentage points below the reference count. At 50% SOC, ±5 mV shifts the synthetic LFP lookup by about ±10 percentage points.

Engineering references

Frequently asked questions

Why is OCV correction weak on the LFP plateau?

A small voltage difference maps to a large SOC range. The upper and lower knees generally provide stronger voltage information.

Will one hour of cell rest always be enough?

The PNGV HPPC protocol records OCV during one-hour rests. The settling time needed for correction depends on the cell, temperature, prior current, voltage error budget and acceptable SOC uncertainty.

Why can an OCV correction show no finite rest window?

When voltage uncertainty uses the complete allowable budget, waiting cannot make the modeled correction meet the requested error.