7.1.2 Adjusting PID Gains
The P gain of a PID controller will set the overall system response. When first tuning a controller, the I and D gains should be set to zero. The P gain can then be increased until the system responds well to set point changes without excessive overshoot or oscillations. Using lower values of P gain will loosely control the system, while higher values will give tighter control. At this point, the system will probably not converge to the set point.
After a reasonable P gain is selected, the I gain can be slowly increased to force the system error to zero. Only a small amount of I gain is required in most systems. Note that the effect of the I gain, if large enough, can overcome the action of the P gain, slow the overall control response and cause the system to oscillate around the set point. If this occurs, reducing the I gain and increasing the P gain will usually solve the problem.
