ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Copter: battery remaining measurement inaccurate?

Open rmackay9 opened this issue 13 years ago • 10 comments

The battery remaining measurement when using the 3dr power module may be incorrect.

rmackay9 avatar May 13 '13 01:05 rmackay9

With full charged LiPo 4s (16.8V) i read "16V" in the planner.

Marco Robustini

robustini avatar May 13 '13 10:05 robustini

Further data from my flight rc1 - at end of flight mission planner showed 50% left - actual recharged amount was 1890 on a 4000 mah so it wasn't off much. However, what fooled me was the displayed voltage at the end of the flight. My last flight is displaying 10.75 on the MP with actual VM measured value 11.35 volts. Looks like my voltage measurement is off by .6 volts or so with the 3dr power module - similar to what Marco reported.

Heino Pull

heyno avatar May 14 '13 00:05 heyno

In my case, there is a difference in the reported Mavlink battery voltage between 2.9.1b and 3.0.0rc2. On my 3S lipo, rc2 reports 10.6 volts, 2.9.1b reports 10.89 volts (which is closer to the voltmeter measured value). I'll take a look at the code to see what has changed.

Heino

heyno avatar May 14 '13 15:05 heyno

This issue can be closed - VOLT_DIVIDER is by default 10.0 in 3.0.0RC1. My 2.5 with power module worked better with 10.4. The battery current measurement is more accurate with this value. I'm not sure this would track with other APM 2.5 owners, but it may be that VOLT_DIVIDER might have to be tweaked at the final release. Marco has an MP issue asking for a different value for his 4S setup also since 10 ( or in my case 10.4) would only work well with 3S lipos.

heyno avatar May 17 '13 02:05 heyno

It is important to have the right voltage and current calibration because those two values are needed for a good remaining capacity evaluation.

More it would be better to primarily trig battery failsafe from remaining battery capacity.

See my comment for issue #114 :

"Battery failsafe should be triggered primarily from remaining capacity. Voltage triggering is bad because it is dependent from current load. It is very easy to get false trig when high current loads do occur specially at the end of the battery discharge cycle. And that is not dangerous for the battery as soon as there is remaining capacity in it.

If battery remaining capacity is rightly computed, then there is no reason to use voltage as a battery capacity indicator. The voltage alarm threshold can be kept for safety, but with a lower setting.

RC manufacturers are using battery capacity as the primary indicator for battery telemetry alarms. This is safe and a lot more precise than voltage."

Olivier-ADLER avatar Jun 14 '13 09:06 Olivier-ADLER

I think this is one for the documentation - the general perception is that the power module comes pre-calibrated to give correct results, but what I've found is that I need to tweak VOLT_DIVIDER and AMPS_PER_VOLT using an external current+voltage sensor to give more accurate readings, which I then cross-check by seeing how much is recharged back into the pack afterwards.

Can someone more familiar and confident with the 3DR Power Module write that up in the docs? I'm only going off my own experimental experience.

chapman avatar Sep 23 '13 19:09 chapman

Yes, I've been thinking about writing this up. I've only recently started paying attention to this as part of the battery failsafe.

rmackay9 avatar Sep 24 '13 01:09 rmackay9

I've created a video that shows how to calibrate the voltage and current monitor. It can be found at the bottom of this wiki page: http://copter.ardupilot.com/wiki/common-measuring-battery-voltage-and-current-consumption-with-apm/

rmackay9 avatar Oct 21 '13 11:10 rmackay9

This is a good video. Thanks for putting it together.

One safety thing: may not want to use handheld voltmeter to measure voltage on lipos. We have already had people in our lab short the battery by touching leads together while the leads are also still in the Deans connector. They immediately start unintentionally welding and cursing (luckily that was all that happened). Safer to use a battery checker that uses the balance plug.

mday299 avatar Oct 21 '13 19:10 mday299

mday, Ok thanks for the advice and the chuckle re unintentional welding.

rmackay9 avatar Oct 22 '13 02:10 rmackay9