Pixhawk only likes to flip and crash.

I have had exactly 0 successful flights with Pixhawk so far.  This quad flew fine on APM other than the fact that my clone APM had a bad barometer, which is why I switched to pixhawk.

My quad is about 1.5kg AUW, SimonK 30A esc's with Afro NFET V2014-01-19 firmware, Tiger MT2216-9 1100kv motors, Arducopter 3.1.2.

First crash was on a throttle punch, motor 1 just stopped and the quad crashed.  Troubleshot it to an ESC sync issue (which didn't exist on APM...).  To fix it I added the ground wire to the ESC servo connector.  Tried autotune again, and although it didn't crash arm 1 would dip during the autotune.  So then I updated the ESC firmware to the latest.  Also soldered the motors direct to the ESC.  Seems to have resolved the issue, at least when the quad is strapped down.

Went to try today.  Before attempting autotune I did a couple of mild throttle punches to see if I had any issues, and sure enough the quad flipped and crashed inverted.

Now, even with default PID's that don't fly good, doing a mild throttle punch shouldn't result in the quad flipping over and crashing correct?  I'm scared to get to autotune altitude knowing the quad has this problem, so far my crashes have only resulted in minor damage due to the low altitude.

I've attached the log and would be eternally grateful if someone can assist me in getting this $700 paperweight flying properly.  I'm especially confused why I didn't have these problems with APM but do now with the Pixhawk.

flip and crash.log

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

Join diydrones

Email me when people reply –

Replies

  • What is "ESC sync"?
    • See the videos in the thread linked above.

      • Hi, thanks, and sorry that was a little silly a question I asked. I just thought of it in the context of the PWM signals, and never heard of anything about sync there...

        As far as I can see in the SimonK source , the Afro ESCs use the ICP interupt to capture the PWM signal. That is, an interupt is fired each time the beginning and each time the end of a pulse comes on the RC input. The interrupt handler does not do an awful lot of work, but it is also not super minimal. The commutation (sync) is done from a main loop.

        It is not impossible that very frequent PWM pulses could have some effect on commutation phase, sometimes.

        Regards

        Soren

        sim-/tgy
        tgy -- Open Source Firmware for ATmega-based Brushless ESCs - sim-/tgy
  • Well I think I've narrowed this down to a Pixhawk only issue so I've posted a new message with video in the Pixhawk forum:

    http://diydrones.com/forum/topics/pixhawk-causing-motor-sync-issues...

  • You might want to raise your minimum throttle setting in advanced parameters. From what I have seen, esc sync issues are more likely when motors are at low speed. They do not have Hall effect sensors measuring rotor position so the esc has to figure that out based on back emf information. This is harder to do when speeds are low. When adjusting min throttle, just make sure that you can still descend properly. That might not solve your problems but it's worth a shot.
  • Did some troubleshooting and it does appear that I have a sync issue still.  So I am going to try some changes on the ESC firmware side of things to see if I can resolve it.  At least now I can recreate the issue with the quad strapped down instead of finding the problem terra firma style.

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…