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 @a1k0n: Sync'd @joshu's GoPro w/ my datalogging; video is 2.5X speed, Google imagery upper-right. Found out my track boundaries are WAY…
yesterday
DIY Robocars via Twitter
RT @a1k0n: Also, at 45mph, the front tires literally blow up like a balloon and it doesn't have much front traction, so the car becomes fai…
yesterday
DIY Robocars via Twitter
RT @a1k0n: Okay, some datalogs! Green dots are precalculated racing line (from my crummy optimizer -- it veers to the middle after 2 for Re…
yesterday
DIY Robocars via Twitter
RT @a1k0n: Welp my @selfracingcars entry, hastily conceived heading filter and all, actually worked! Heading home, datalogs and videos to f…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
Friday
DIY Robocars via Twitter
RT @f1tenth: What can we learn from autonomous racing? Actually, a lot! To get an idea what you can do in this field and where the research…
Oct 11
DIY Robocars via Twitter
Oct 11
DIY Robocars via Twitter
RT @a1k0n: It's aliiiiiive! Less than a week until @selfracingcars and I'm just now digging this bad boy out. Been a crazy few months. Hope…
Oct 10
DIY Robocars via Twitter
RT @OttawaAVGroup: Mark your calendars. CAV Canada is happening on Dec. 2nd, 10am-4pm EST. And guess what - admission is FREE! Get your ti…
Oct 6
DIY Robocars via Twitter
RT @f1tenth: Our new 1:10 scale 3D racetrack is here. We will implement it in the @SVLSimulator in the next weeks so everybody can use it.…
Oct 6
DIY Robocars via Twitter
RT @DAVGtech: Received sweet autonomous Ferrari's that we plan to demo at the @IndyAChallenge on our portable @donkey_car track. Let us kno…
Oct 6
DIY Robocars via Twitter
Sep 30
DIY Robocars via Twitter
Sep 9
DIY Robocars via Twitter
RT @chr1sa: We've got another virtual @DIYRobocars race tomorrow at 9:00am PT. Two dozen autonomous cars will compete, four at a time. Ther…
Sep 4
DIY Robocars via Twitter
Sep 1
More…