yaw affects pitch/roll?

My quad has been flying pretty well with 3.1RC7 but i have a persistent issue with yaw and roll pitch instability that is most obvious when flying in auto or guided mode.

The quad flies great in stabilize mode, alt hold and loiter without major issue.  The quad will accept and navigate to waypoints in guided mode and has successfully run auto missions.  However, if the mission calls for subsequent waypoints with more than about 90dg difference in heading, the rapid yaw commanded by autopilot is immediately followed by a roll/pitch instability and a dramatic loss in altitude .

This has happened 3+ times, with both 3.0.1 and 3.1RC7.  Usually i note the signature "wiggle and dip" in time to throw it back into stabilize mode and save it.  Today i wasn't so lucky and the quad hit the dirt after i gave a guided mode waypoint at ~ 180 heading from the quad's previous commanded position.  The quad went unstable and dropped 30+ft to the field below.

After replacing broken frame parts and checking over the system, i took it for another test flight in stabilize mode only.  I noticed during this flight that dramatic yaw input from the sticks shows similar behaviour in stabilize mode.

Is this a tuning issue?  Is my Yaw PID set too aggressively (I'm at default)?  Is there something in my logs i should be looking for to determine what the root cause of this is?  I've reviewed my tlog from the guided mode flight that resulted in crash and i can't see anything obvious.

my setup:

F450 clone frame, APM 2.5, xbee telemetry, 3700mah 3s LiPo, Turnigy 1000kV motors (D2830/11), GemFan 1045 props, canon sx 230 downward facing cam as payload.  AUW is ~ 1400g.  hovers well at ~45-50% throttle.

My tlog is attached.  I can see the event, but nothing indicating what led up to it.  You'll note that i accidentally left my telemetry on for a bit after the funny business...

Thanks in advance for any help!

:-)

2013-11-26 19-47-33.tlog

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

Join diydrones

Email me when people reply –

Replies

  • Hi Guys, 

    Any update on the issue above ? 

    i do have the same problem. 

    Regards 

  • Hi Daniel, 

    Did you advanced with this issue?

    Daniel Sisson said:

    I think I see a similar sort of issue in loiter mode with mine. Even in a nice steady hover in loiter, if I yaw the copter around it tends to drift from it's original position pretty dramatically. I dunno if this is just the compass getting confused and not knowing which motors to bring it back in time, however it does sound related. Maybe just try yawing in loiter mode and see if it drifts out of position too?

  • Hi,

    ArduCopter 3.1.2 on a 500 class quadcopter.

    I also have a major problem with yaw during auto mode, the yaw is so strong that overall stability is lost on the Roll/Pitch axis, causing "fluttering" sometimes until it hits the ground.  

    I do not understand under which conditions requested yaw should be so strong that it overpowers the stability of the craft on other axes. IMO, Under no circumstances (requested high yaw rate or no) should yaw take precedence over roll/pitch stability of the craft... and yet.. it clearly does. It seems that roll/pitch stability should feed back to requested yaw rate and reduce yaw input if either are perturbed beyond a certain threshold.

    I will attempt to reduce both RATE_YAW_P an more-so AHRS_YAW_P to reduce yaw affecting roll/pitch stability.

    • Video of instability in action.. 

       

      • did you find out what caused this ?

      • Hello did you solve that problem?, I having a drift issue when yawing, thanks.

  • Continued to investigate this and found the following:

    decreasing Rate Yaw P solved the dip during yaw.  Quad responds a touch more slowly, but no longer loses stability during hard yaw.  

    however, I'm still having an overall stability issue.  I'll start a seperate thread for my persistent problems.

    • Brandon, did you post a seperate thread for that? Link?

  • I think I see a similar sort of issue in loiter mode with mine. Even in a nice steady hover in loiter, if I yaw the copter around it tends to drift from it's original position pretty dramatically. I dunno if this is just the compass getting confused and not knowing which motors to bring it back in time, however it does sound related. Maybe just try yawing in loiter mode and see if it drifts out of position too?

  • This does sound like your yaw rate is set too high. See: http://copter.ardupilot.com/wiki/tuning/

    STABILIZE_YAW_P produces the input into the rate controller, so both affect the behavior. in this case, since you're not continuously oscillating, it sounds like STABILIZE_YAW_P is the best thing to tweak. If you reduce that, the commanded yaw rate will be lower, but you'll get a descent tracking anyway.

    If RATE_YAW is too low, then you probably see a slight yaw oscillation taking place or the inability to achieve the correct heading. Both can also be verified in stabilize to see how the vehicle responds to commanded yaw inputs.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Monday
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
DIY Robocars via Twitter
RT @SmallpixelCar: Lanenet pretty much used all my GPU power on @NVIDIAEmbedded Xavier since I optimized with tensorRT. I need to run anoth…
Sep 3
xemone liked Max Gilson's profile
Aug 31
DIY Robocars via Twitter
RT @LyftLevel5: Our @kaggle competition on Motion Prediction for Autonomous Vehicles is now live! Experiment with the largest-ever self-dri…
Aug 24
DIY Robocars via Twitter
RT @chr1sa: Our next @DIYRobocars virtual AI car race will be on Sept 26th. Sign up here https://www.meetup.com/DIYRobocars/events/272786977/ https://t.co/UENKGSOWO8
Aug 24
DIY Robocars via Twitter
New ready-to-run @NVIDIAEmbedded JetRacer car from Waveshare. Perfect for the next @diyrobocars race as soon as we… https://twitter.com/i/web/status/1297960223013867520
Aug 24
DIY Drones via Twitter
RT @chr1sa: The US government just approved 5 US-made drones for purchase, all based on the @Dronecode @PX4Autopilot standard. Great news f…
Aug 20
More…