HELP: Battery Failsafe Crash

FlightLog

I have used DIY Drones for a long time to figure out issues but have never posted. I recently encountered a problem that has me a little puzzled and I am hoping someone can help me figure out the cause. Yesterday I was adding the finishing touches on my new build and wanted to ensure that battery failsafe was configured correctly. I am using a 3rd party current sensor so I began the process of making sure it was tuned properly. I set the voltage and the current according to my watt meter and everything was running smooth. I decided to test and make sure the FAILSAFE_BATT worked as expected. I was doing the endurance test inside a warehouse as the weather was bad outside. My copter did not have a GPS installed and I was hovering in AltHold the entire time. The failsafe was configured to LND when it either hit 22.0v or 500mAh reserve, the battery is a 6s 8A. Upon hitting FAILSAFE_BATT-1 the copter appeared to start descending about a foot before going full throttle and slamming into the ceiling 15ft up then smashing into the concrete floor, I was hovering about 5ft when the failsafe activated. The battery did not sustain any damage from the impact, I charged it back up and 7200mAh was put back. I was watching the HUD on MissionPlanner and the voltage was about 22.3v when failsafe activated. I cant seem the figure out why it would shoot up. Maybe there is a setting flipped that I have overlooked, but AltHold works really well so I assume PixHawk knows how to climb and decent? I'm hoping someone can take a look at the Log from the flight and help me figure out how to prevent this from happening again.

Addition information.

PixHawk is flipped 180 and AHRS has been adjusted.

The TX used has a spring to center throttle. (works well for AltHold)

Firmware: Copter 3.4.6 X8 configuration

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

Join diydrones

Email me when people reply –

Replies

  • Thanks for the help. I started a post over there to see if anyone else has some input as to what may have happened.

    http://discuss.ardupilot.org/t/help-battery-failsafe-crash/16109

  • 3D Robotics

    Good research, but I'm afraid this is beyond my expertise. I'd repost this in the Ardupilot forums, and hopefully one of the developers can explain what's going on. 

  • Chris,

    Thank you for your reply.

    I don't think the FailSafe was triggered due to voltage but rather mAh used. When you look at the Voltage in the graph it is above the minimum voltage that would trigger FailSafe until the voltage drop from the max climb. I created a graphic from screen shots that helps put things into a better timeline. you can see right after failsafe was triggered the vehicle began to climb, then the user pulled down on the throttle (RC3) to stop it from continuing the climb (without success). When you see the mode switch back to ALT that was because we cycled the mode switch to try and get the quad under control again. Not sure if we were able to establish any control because at this point it had already made contact with the ceiling. The full throttle you see on the input (RC3) was because the quad started to fall from the impact with the ceiling (natural reaction).

    The thing that really has me confused is why ThI (Throttle In) goes crazy when failsafe gets activated which in tern causes the ThO (Throttle Out) to go max 100% you can see this on the other graphics attached, the ThI was smooth the entire flight until FailSafe activated why would RC3 (throttle) input read smooth and accurate but ThI (Throttle In) go sporadic? In the documentation for reading the log files it states "The pilot’s throttle in as a number from 0 to 1000" but it clearly went to 12 on the graph, does that mean it was seeing a value of 12000?

    Is there potentially a value switched that would cause it to accelerate up instead of establishing a decent? when you graph CTUN.Alt and BARO.Alt, both match the entire flight until FailSafe activates, then the CTUN.Alt goes opposite of the BARO.Alt. Is that normal?

    I should hopefully have things repaired pretty soon and would like to get this figured out, both for me and maybe someone else that might have experienced the same thing.

    Potential troubleshooting steps:

    • Set a mode to: LND and make sure it works properly, allowing me to switch back if it doesn't.
    • Roll back to a previous firmware and see if there is any change.

    I am not sure how repeatable the problem is and do not plan on sending it back into the ceiling again. Ill need to figure out a way to anchor the quad and make sure the FailSafe behaves as planned.

    Thanks again for the help.

    FAILSAFE Graphic.jpg

    DCRt-1.JPG

    ThI-1.JPG

  • 3D Robotics

    Sounds like it started a batt failsafe land and then revoked it when your power sensor reported the voltage was back above threshold. Why it didn't hold alt at the current alt is a mystery, however.  In the log, does it return to Alt Hold, or does it go into Manual when the failsafe is revoked? If the latter, that would explain the action given your spring-loaded throttle stick. 

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Friday
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Friday
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Friday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Friday
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
DIY Robocars via Twitter
RT @a1k0n: Fully autonomous wipeout in the corkscrew at Laguna Seca @selfracingcars today. Got some tuning to do; this car is very fast, bu…
Oct 13
More…