Just can't get yaw to work

Ok, so need some assistance with tuning yaw - see the attached vid (you won't need to watch more than a minute or two to see the problem. You can ignore the pitch issues which I'm addressing via the gimbal PID's.

Basically, I can't get the damned thing to fly straight without the nose bouncing around. Speed doesn't seem to matter - loiter or high speed, the bouncing is the same.

But it appears yaw can't be tuned the same way as pitch and roll - I've tried:
- detuning P (to 0.1)

- uptuning P (to 0.35)

and various settings inbetween.

I've also tried combining it with Stab Yaw as well - from as low as 4.5 to 9.5. And tried doing some I tuning, but it didn't really seem to have any effect.

If I detune it, it just bounces left/right slower, and has a lot of overshoot. If I tune it up, it bounces less, but more more quickly.


Where should I be tuning? Should I even look at D to control the overshoot?

I redid the compass calibration at the field before I shot this video. Compassmot is 9%, and I have tried running with and without it enabled, and it makes no difference. All motors are perfectly aligned, and seem to be running normally. Running APM2.6 and 3.1.5

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

Join diydrones

Email me when people reply –

Replies

  • So are you relying on the supplied tools only, or do you know anything about PID?

    I think you should understand PID first, try Wikipedia.

    In general, you would want to have D low, almost 0, I also low, but sometimes it helps, and P is the one that makes the fastest moves, because it is simply P, which is proportional to the difference between set point and actual point.

    Your overshoot is being caused by I or D, but most likely I because it takes some time for the Integration to accumulate, and then it will oscillate. Cmon R&D.

    If you want it to be as smooth as possible, try a low or medium P setting, no I , no D. And get back to me, if you care.

    • Lol - did *you* read it?

      Answer me this mr PID-expert-who's-annoyed-I-critised-his-airframe-design...why is there no D on yaw in arducopter, and why in most craft is it not needed.

      • Because you don't need to use any differential feedback for small craft with good response.

        If it was a larger craft the inertia of moving would cause it to overshoot which is why a negative D is added, to reduce the speed as it approaches the target point. I went through 2 years of just PID.

        • So if there is no option for D,

          this assumes you are moving a small mass, and that you need to keep P low.

          I (integral) can help if there is any sensor offset or drifting.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
13 hours ago
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Monday
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Saturday
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Friday
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…