Battery failsafe failure?

Hello everyone,

I just finished building my first quad and encountered strange issue during second test flight (ardu-copter V3.1.5). Few seconds after lift-off APM stopped responding to throttle commands and started gaining altitude. The quad was still not stable as none of the gains were tuned. I have helicopter flying experience, thus I was testing quad in "Stabilize mode". When it went to RTL it started gaining altitude and I kinda freaked out not understanding what is happening, so moved throttle to 0 and switched between modes (I was not flying in an open area and quad was flying towards a tree). That did shut off motors and quad crashed through tree into ground. Not much damage, only one arm bent.

At home I reviewed flight logs and only then realized that it entered RTL mode caused by battery fail-safe. However, fail-safe is set at 16V and according to the logs voltage never fell bellow ~18.6V. Capacity was also set correctly. Any ideas what could have caused it to enter RTL mode? Maybe some kind of a bug or wrong data from voltage sensor that was not captured by logging?

Any help is appreciated!

I am attaching whole data log to the post and failure data here (I deleted IMU data as it is not as relevant, but available in full log):

CURR, 317, 93192, 1897, 1863, 4876, 66.89587
GPS, 3, 482316000, 1807, 8, 2.23, 54.9890627, 23.9474907, 0.37, 81.09, 0.09, 64.79, -1.010000, 426767
GPS, 3, 482316200, 1807, 8, 2.23, 54.9890632, 23.9474913, 0.59, 81.21, 0.28, 64.79, -0.980000, 426968
GPS, 3, 482316400, 1807, 8, 2.23, 54.9890617, 23.9474924, 0.75, 81.73, 1.01, 64.79, -1.300000, 427168
GPS, 3, 482316600, 1807, 8, 2.23, 54.9890610, 23.9474936, 0.83, 81.85, 0.64, 64.79, -1.230000, 427369
MODE, RTL, 366
ERR, 6, 1
GPS, 3, 482316800, 1807, 8, 2.23, 54.9890597, 23.9474934, 0.91, 81.92, 0.63, 64.79, -1.140000, 427570
DU32, 7, 272761
CURR, 258, 95655, 1933, 1389, 4940, 70.64372

2014-08-29 19-36-17_4.log

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Your BATT_CAPACITY  is 3670mAh.

    your FS_BATT_MAH is 3600

    So you are asking for FS when there is less than 3600mAh left.

    your CURR.CurrTot indicates that you've used 70mAh right before RTL.

    So.. everything is fine. (which is pretty usual when people blame it on "bugs")

    you should read documentation on FS_BATT_MAH  http://copter.ardupilot.com/wiki/arducopter-parameters/#Failsafe_ba...

    • Thank you!

      Indeed mistake on my side. I thought that FS_BATT_MAH is how much battery is discharged, not how much is left.

      Thanks again!

      • BTW: be sure to remember that you cannot discharge a Li-xx battery to 0% while flying. Whatever your battery capacity is , you should not enter more than ~80% of that.

        • Yes, I perfectly know that. When I entered 3600mAh I thought that would disable capacity fail-safe (as it would never reach 3600mAh discharge). Boy I was wrong. I trust voltage readings more in determining battery state. I will disable capacity cut-off as in my opinion voltage cut off will work fine. But at first I need to fix the flying machine.

          • yes, voltage is a better indicator, less precise prediction when you are 50% into the flight time,  but more accurate prediction of the end, like "5minutes left."

            it also handles half-charged batteries, and different capacities better when some of your packs get old.

            • How much voltage (per cell, LiPo) would be good for a Battery Fail Safe?

              I did set mine (3S) to 10.5V (so, 3.5v per cell) but the drone come back too soon.... (because the voltage drops while on load....)

              What voltage per cell would you recommend?

              Thanks.

              • well, I do not use battery failsafe, but I get a warning over HoTT and telemety, and OSD at 14.2v (<=3.55vcell)

                - the setting depends on the percentage of battery used at this point (if larger capcity, this means more flighttime left, and voltage drop is lower.)

                -you are using 3S  - that probaply means higher current - and the cell may drop more while climbing etc.

                in short : you need to base it on your own experience, and the distance you may fly.

              • That depends on how far you fly from landing spot. But I would suggest ~3.7-3.8V per cell as it will be much better for pack (although you will lose a minute of flight)

This reply was deleted.

Activity

DIY Drones via Twitter
RT @chr1sa: My talk on PX4 and FAA certification is coming up at 1:45 PST today on the PX4 Dev Summit livestream. Includes some cool new st…
Tuesday
DIY Drones via Twitter
RT @seesharp: I'm tuned into the PX4 / Dronecode free live conference. Great stuff. Microsoft AirSim talk in 10 minutes. https://t.co/0zbZ2…
Monday
DIY Robocars via Twitter
RT @masato_ka: 距離センサを3つとESP32を付けたラジコンカーをDonkeyCarライクにNNで自動走行。3層FC極小モデルをTensorFlow Lite for microcontrollerで動かしてる。機体は借り物でRumiCarって言います。Tenso…
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: My car was able to go all the way autonomously until the crosswalk. It was only 100 yards from the target. What should b…
Jul 4
Liam left a comment on Agricultural UAVs
"Hi
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Smart move. The car used the shadow to guide it through the bridge. This was never in the training samples. But it learn…
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Getting closer to the target. Single camera. Untrained road. https://t.co/Wsr7RwDamj
Jun 29
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: #donkeycar https://t.co/czuLoVRcA4
Jun 29
DIY Robocars via Twitter
https://t.co/DKQbNTbz0g
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: Donkey car, car car car car car car; Donkey car, car car car car car car; Donkey Car. Anyone like our tiny tiny donkey…
Jun 29
DIY Robocars via Twitter
RT @SmallpixelCar: After improving DBSCAN speed, I can get 11 frame per second on @NVIDIAEmbedded Jerson Xavier MAXN mode and the autonomou…
Jun 26
DIY Robocars via Twitter
RT @Heavy02011: Join us at next Virtual Race League: ⁦@diyrobocars⁩ Race #4 - Parking Lot Nerds, August 1st https://t.co/5KUpu7VGaH
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: #CUDA implementation should be easy, because most of the time is on distance calculations berween two points and if the…
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: This is the view from the car. Even my lanenet inference is fast on @NVIDIAEmbedded Jerson Xavier, DBSCAN clustering tak…
Jun 25
More…