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
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
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…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
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…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
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, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
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, 2022
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, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
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, 2022
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, 2022
More…