Calculating How Current-Sensor Bias Accumulates in Consumed Charge — Stepped terrain
Calculating How Current-Sensor Bias Accumulates in Consumed Charge — a worked case for stepped terrain, with explicit data, a sensitivity comparison and an independent evidence check.

The measurement question
A small current-reading bias accumulates when the monitor integrates consumed charge. The sign matters: positive bias overreports use, while negative bias can make the remaining-charge estimate optimistic. A worked guide can calculate the integrated consequence over a mission and distinguish an offset error from a proportional scale error. ArduPilot documents current-monitor calibration, but the installed sensor and measurement boundary determine the appropriate procedure. Do not equate charger refill charge with a perfect reference without accounting for its own measurement scope and battery behavior. Keep consumed ampere-hours separate from watt-hours and from verified usable battery capacity.
This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.
Case conditions and evidence
The example contains an upper terrace and a lower work surface. A single reference elevation can hide a substantial change in sensor-to-surface distance. Keep the two surfaces separate during the first comparison and identify which height reference was actually used for every recorded observation.
Compare an independently checked location on each terrace. Do not use a point on the upper surface to claim that the lower surface has the same error or observation geometry.

Reproduce the numerical check
Illustrative input data: Constant reported-minus-true current bias (bias) = 0.64 A; Integration interval (elapsed) = 1,860 s.
Calculation: 1000*bias*elapsed/3600.
Consumed-charge overstatement for positive current bias = 330.66667 mAh.
The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.
Change one assumption
Increase only constant reported-minus-true current bias (bias) from 0.64 to 0.704 A. Re-evaluating the same equation gives consumed-charge overstatement for positive current bias = 363.73333 mAh. The arithmetic difference from the baseline is 33.066667 mAh.
For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.
Interpret the result
Include monitor calibration evidence in any charge-based mission estimate. If the accumulated uncertainty is material, resolve the measurement chain and revise the planning allowance rather than treating a precise displayed percentage as verified remaining capacity.
Bias can vary with current, temperature and sensor type. Unmeasured loads, zero clipping and integration gaps create further errors; ampere-hours do not account for changing voltage or establish peak-power capability near battery limits.
Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.
Independent checks and delivery
Compare the monitor with an appropriate independent reference over representative loads, then integrate both over the same interval. Check offset and scale separately and preserve configuration changes so later cumulative readings remain traceable to their calibration.
Package the height reference, the terrace boundary and the observed transition zone. State where the surface was not directly observed and where a model filled a gap.
Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.



