This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pid_tuning_guide [2016/07/21 04:56] pedro147 |
pid_tuning_guide [2016/12/07 21:48] (current) ian446 |
||
---|---|---|---|
Line 57: | Line 57: | ||
The D term usually creates the " | The D term usually creates the " | ||
- | A unusual method to check how good the quad is tuned is to hit it while hovering with an object (ruler / pencil) | + | A unusual method to check how good the quad is tuned is to hit it while hovering with an object (ruler / pencil) |
- | {{:pedro:formula.jpg?direct&60x60 }} | + | <font 18px/ |
+ | |||
+ | This is how I tune, it may be wrong, as there are many tuning methods, but this might help or give you some ideas, and note this is just my opinion, its written for acro mode tuning: | ||
+ | |||
+ | You need D to balance P. P is the primary correction force, D is the one that stops it overshooting the mark. To check this, hover the quad in front of you and facing away from you, and flick the roll stick left and right. See if the quad bounces as it settles on the new position. If it does, increase the D at least 10% and try again. If it doesn' | ||
+ | |||
+ | Let's assume you now have P and D in the correct proportion, but maybe not the correct overall amount. How do you know if the P/D ratio is too much or too little? If there is not enough P/D the quad feels a bit doughey or unresponsive, | ||
+ | |||
+ | The I term is adjusted by lowering it until you see the quad having difficulty holding a set attitude both in hover or while travelling forwards on a set course, it will start to drift around. Then bump I up just enough so the quad will hold its attitude (say in 10% increments). If you start tuning with too much I, it will foil your tuning attempts. Any value of P, I or D that is too high for the quad will make tuning very difficult. It is always best to start low and work up, and do not increase any of the values any more than is needed. | ||
+ | |||
+ | It is difficult to know where to start with the I term. Usually it ends up being 1/3 to 1/2 of the P term once tuned (on my quads). Also I find it doesn' | ||
+ | |||
+ | Some more comments by silverxxx regarding where to start with I from this post: [[https:// | ||
+ | |||
+ | "I sometimes start at zero to see how balanced the quad is. Otherwise if I can't balance the quad or I just don't feel like havig drifts, I just put 1 in there, that stops the drifts.\\ | ||
+ | However, low I seems good in gentle flights, but will be bad as soon as heavy maneuvering starts. Generally the quad tends to want to come back after a rate change with I too low." | ||
+ | |||
+ | Also, you don't have to tune a quad and that's it (in one go). If you keep notes, you can keep tweaking it when you are in the mood to try some changes. Some quads I almost gave up on turned out to be great flyers in the end, given a bit of time and persistence, | ||
+ | \\ | ||
+ | Something else to add is that in general, higher kv motors need less PID because in effect they add gain to the PID's compared to the same size motor with lower kv rating. A similar thing can happen by changing prop pitch/ | ||