308
edits
Red Leader (talk | contribs) (Syntaxhihglight) |
|||
Line 29: | Line 29: | ||
You can find good explanations on how to practically tune the controller. [http://en.wikipedia.org/wiki/PID_controller Wikipedia's article on the PID Controller] | You can find good explanations on how to practically tune the controller. [http://en.wikipedia.org/wiki/PID_controller Wikipedia's article on the PID Controller] | ||
==== PID controller tuning guidelines ==== | |||
The following table is a guide of the effect of each parameter in a PID. The columns mean the following: | |||
* fast rise - Is the rate at which the output rises | |||
* overshoot - if the output overshoots (and then adjusts) the target | |||
* settling - this is how the output settles towards the target | |||
* steady error - continuous error from output to a target that doesn't change | |||
{| class="wikitable" | |||
! !! fast rise!! overshoot!! settling!!steady error | |||
|- | |||
| KP | |||
| Decrease | |||
| Increase | |||
| No effect | |||
| Decrease | |||
|- | |||
| KI | |||
| Decrease | |||
| Increase | |||
| Increase | |||
| Eliminate | |||
|- | |||
| KD | |||
| No effect | |||
| Decrease | |||
| Decrease | |||
| No effect | |||
|} | |||
=== Getting graphs of controller action (Linux) === | === Getting graphs of controller action (Linux) === |
edits