Hi guys.
Should APM battery voltage readings compensate for voltage drop in shunt resistors and PDB wiring? I am having trouble setting a reliable battery failsafe as my power module sees a lot of voltage drop under heavy load.
It occurs to me that even 0.05 ohms from the battery to the sense point and back, when drawing 50 amps, is a loss of 2.5 volts. This is close to what I'm seeing in real life, using cheap Zippy 4s 5000mAh batteries, fairly heavy wiring and a point-source power distribution system. My last build using a non-3DR sensor showed much the same.
Is this your usual behavior? Say my battery is still at 14 volts, under load the PM reads it as 11.5 volts, triggering an early failsafe. Perhaps I could set my failsafe voltage lower, but then If I don't load the vehicle as heavily the battery could be in danger of discharging too low. I see some serious flyers turn battery failsafe off entirely.
Would a simple Ohm's Law compensation calculation given a PDB resistance parameter be useful? I would like to try and add this to APM. I imagine one could reasonably guess a typical resistance value as default and, even if it's a bit off for any particular build it should still be better than none. A simple calibration procedure might also work, but may not be necessary for many and might be fooled by bad batteries.
The goal is to have the reported battery voltage less coupled to current draw and make it more faithful to the actual battery voltage. This should make battery failsafes more reliable.
Or perhaps APM does all this already, I missed it completely and my copter is wonky :-)
Thanks,
Nick