PI controller
![]() | This article needs attention from an expert on the subject. Please add a reason or a talk parameter to this template to explain the issue with the article.(February 2009) |

In control engineering, a PI Controller (proportional-integral controller) is a feedback controller which drives the plant to be controlled with a weighted sum of the error (difference between the output and desired set-point) and the integral of that value. It is a special case of the common PID controller in which the derivative (D) of the error is not used.
PI Controller Model
The controller output is given by
where is the error or deviation of actual measured value (PV) from the set-point (SP) = SP - PV.
A PI controller can be modelled easily in software such as Simulink using a "flow chart" box involving Laplace operators:
where
- = proportional gain
- = integral gain
Finding a value for G
Setting a value for is often a trade off between decreasing overshoot and increasing settling time.
Finding a value for
Finding a proper value for is an iterative process.
1) Set a value for from the optimal range.
2) View the Nichols Plot for the open-loop response of the system. Observe where the response curve crosses the 0dB line. This frequency is known as the cross-over frequency ().
3) The value of can be calculated as:
4) Decreasing decreases the phase margin, however it eliminates the steady-state errors faster.
Advantages of a Proportional Plus Integral Controller
The integral term in a PI controller causes the steady-state error to be zero for a step input.
Disadvantages of a Proportional Plus Integral Controller
The problem with using a PI controller is that it introduces a phase-lag. This means that the phase margin (a measure of stability) decreases. So careful design considerations with respect to the gain must be considered.