Never seen anything like this .... D 20 times default, I 3.5 times default, P over twice default, Stab pitch and roll  three times ...

Copter flew fine on stock PIDs, also flies fine with these new parameters from autotune, although I now see an occasional twitch in pos hold. Copter is a fairly standard 4kg quad on 6S with 15" props, very sturdy, neither over nor under powered ...

Anyone experienced something similar?

Views: 331

Reply to This

Replies to This Discussion

Edit: 5 times default.

I have similar results (however I and D are a little lower on my 3kg, 4S, 15'' setups). The copters fly fine with stock PIDs and very aggressive on Autotune. But most interestingly it twitches from time to time. Some of these twitches are related to GPS timing jitter. 

Do you see the twitches on both stock and autotuned PID's?

I only see them on the auto-tuned settings ...

I've progressively backed out from the autotuned settings, to try to find a middle of the road sort of balance. Went from 12 to 8 for stab roll and pitch, then from 0.35 to 0.2 for rate P and I, finally decreased D from 0.02 to 0.008. Am amazed at how little difference these rather large adjusments make ...

I need to do some more tests and may end up reverting to stock PIDs, as  what I am after is the best possible stability (film), I don't care about aggressive/tight control ..

Are you ending up flying with stock PID's?

The twitches are much more visible when flying the autotuned PIDs. I did the same and fly PIDs somewhere between  the stock and the autotune ones. I am looking forward to AC 3.3. I flew master a while ago and it was less twitchy.

Makes sense (Re: twitches more visible on autotuned pids).

I took a closer look at logs to try to get a clue on what's going on, must admit I am in the dark ...

Second  pic shows desired roll vs roll (first part of auto-tune). The flat green at the beginning does not makes sense, I suspect that's an artefact.

First  pic is a close up of latter rolls. I'd think somewhere around 56 are where the optimum settings are. Need to understand Leonard's scheme better ...

Just for grins, I may try the whole thing again with a "regular" 3DR GPS instead of m8. Better be the same ... :)

btw, you are a bold man flying master on what I suspect is an expensive rig!

Not sure I am quite ready for that  -:)

I always fly the latest beta or master on my own machines. Never had any real problems :-) 

But you better wait a while with testing a new build if there is a warning on drones discuss due to some fundamental changes in the code. 

Yes, would be perfect if you could test the 3DR GPS with the autotune settings and see if the twitches are still visible.

Hi John,

It is hard to say too much about your tune without looking at the logs. I have developed autotune further for the next release. It will check a few more edge cases and hopefully be a little more robust to some of the more interesting setups.... maybe....

Looking at the graphs above it looks like you have a good tune and I wouldn't be concerned about your results. As usual back the stab  P off to soften the response but don't change the Rate settings.

You are correct about the response around 56 being what you are looking for. Autotune increases Stab P until it gets an overshoot then backs it off by 75%, hopefully back to about where the 56 point is.

The new autotune has some improved tests so it is able to stop when it starts to overshoot rather than look for a 10% overshoot then back off.

The sharper tune is probably not creating any twitching, it is more likely that the softer tune is hiding twitching that has always been there. We have been slowly polishing up the controller designs, especially the navigation controllers, to make them as smooth as possible. There is still work to be done...

Reply to Discussion


© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service