38 | | * Proportion (P): Power is increased/decreased in proportion to how far the last measurement was from its goal (i.e. the instantaneous error): if far from goal, add a lot of power, if close to goal, add a little power). Adjusting P determines how responsive the system is. |
39 | | * Integral (I): Power is increased/decreased in proportion to the average size and duration of the error: this accelerates movement towards the goal, increasing responsiveness, but increasing the tendency to overshoot goals (instability). |
40 | | * Derivative (D): Power is increased/decreased in proportion to the rate at which the motor is approaching its goal (i.e. if the motor is not closing in fast enough, increase power, if it is closing in fast, decrease power); D increases stability by slowing the motor as it approaches its goal; this lets you increase P and I (responsiveness) without making the system unstable. |
| 38 | * Proportion (P): Power is increased/decreased in proportion to how far the last measurement was from its goal (i.e. the instantaneous error): if far from goal, add a lot of power, if close to goal, add a little power). Adjusting P determines how responsive the system is. Adding P increases responsiveness, but too much P will cause oscillation at steady state. |
| 39 | * Integral (I): Power is increased/decreased in proportion to the average size and duration of the error: this can help reduce the steady state error to zero but will increasing the tendency to overshoot goals (instability). |
| 40 | * Derivative (D): Power is increased/decreased in proportion to the rate at which the motor is approaching its goal (i.e. if the motor is not closing in fast enough, increase power, if it is closing in fast, decrease power); D increases stability by slowing the motor as it approaches its goal; this will help reduce overshoot. |