This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
pid_notfastenuf [2017/04/29 01:06] sirdomsen |
pid_notfastenuf [2017/04/29 01:19] (current) sirdomsen |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== PID Tuning Guide (written by NotFastEnuf) ===== | ===== PID Tuning Guide (written by NotFastEnuf) ===== | ||
- | note: this guide may be a bit Whoop/ | + | <font inherit/ |
After spending countless hours analyzing logs for research sake - I came to some very simple tuning conclusions that always seem to hold true. Here is my abridged and adapted guide for tuning micros. I know you didn't ask for it but it might inspire others to share something that I can learn or help someone in need.\\ | After spending countless hours analyzing logs for research sake - I came to some very simple tuning conclusions that always seem to hold true. Here is my abridged and adapted guide for tuning micros. I know you didn't ask for it but it might inspire others to share something that I can learn or help someone in need.\\ | ||
Line 13: | Line 13: | ||
1. If you cant turn the bumpy ride from external influences like wind or propwash into clean crisp high frequency oscillations - then you have too much latency and P is out of sync with the motion that the gyro is measuring. Reduce filtering. You will be able to raise P higher (this happened to me with the E011)\\ | 1. If you cant turn the bumpy ride from external influences like wind or propwash into clean crisp high frequency oscillations - then you have too much latency and P is out of sync with the motion that the gyro is measuring. Reduce filtering. You will be able to raise P higher (this happened to me with the E011)\\ | ||
2. If you reduce filtering too far - you will not be able to raise D gain high enough and it will be dominated by noise. This looks like a very bumpy ride for no reason\\ | 2. If you reduce filtering too far - you will not be able to raise D gain high enough and it will be dominated by noise. This looks like a very bumpy ride for no reason\\ | ||
- | 3. Find the sweet spot in filtering where you have as much P as you need to always keep the craft tight no matter what conditions you fly in and just enough clean D to keep high frequency oscillation damped. \\ | + | 3. Find the sweet spot in filtering where you have as much P as you need to always keep the craft tight no matter what conditions you fly in and just enough clean D to keep high frequency oscillation damped.\\ |
\\ | \\ | ||
Final Step:\\ | Final Step:\\ | ||
Line 20: | Line 20: | ||
End result - micros don't feel like micros anymore!!! I know you didn't ask for all that, but if you understand my process, maybe it will help you understand why I think an FPV camera is a better tool than a blackbox log for tuning a micro. On a larger craft - the forces that it can generate are bigger than external forces like wind so the process is different and blackbox plays a slightly different roll in the process. In short, I would not use it to tune a micro, but I might use it to help analyze a problem that I can't intuitively solve if I encounter one.\\ | End result - micros don't feel like micros anymore!!! I know you didn't ask for all that, but if you understand my process, maybe it will help you understand why I think an FPV camera is a better tool than a blackbox log for tuning a micro. On a larger craft - the forces that it can generate are bigger than external forces like wind so the process is different and blackbox plays a slightly different roll in the process. In short, I would not use it to tune a micro, but I might use it to help analyze a problem that I can't intuitively solve if I encounter one.\\ | ||
\\ | \\ | ||
- | If you are flying a micro that has a bumpy ride outside - consider this procedure | + | If you are flying a micro that has a bumpy ride outside - consider this procedure |