PID – control can be implemented to meet various design specifications for the system. These can include the rise and settling time as well as the overshoot and accuracy of the system step response.P Proportional control
I Integral control
D Derivative control.
Proportional Control
Proportional control is a pure gain adjustment acting on the error signal to provide the driving input to the process. The P term in the PID – controller is used to adjust the speed of the system.
Integral Control
Integral control is implemented through the introduction of an integrator. Integral control is used to provide the required accuracy for the control system.
Derivative Control
Derivative action is normally introduced to increase the damping in the system. The derivative term also amplifies the existing noise which can cause problems including instability.
If we now look at the general transfer function of a PID-controller, the three terms can be recognised as follows:(1.1)
P I D
If we now rearrange that a little we come up with a more conventional transfer function form:
Where:(1.2)
Kp is the proportional gain
Ti is the integral time constant
Td is the derivative time constant
Such a controller has three different adjustments (Kp, Ti, Td) which interact with each other. For this reason, it can be very difficult and time consuming to tune these three values in order to get the best performance according to the design specifications of the system.
The next example illustrates the effect of implementing P, PI, PID control to a system in turn. We will consider how the controller constants are selected later.
Consider the following configuration:This gives the following closed loop transfer functions:The design specifications are:The transfer functions are as follows:
- Zero steady state error
- Settling time within 5 seconds
- Rise time within 2 seconds
- Only some overshoot permitted
The process:The table below shows the calculated parameters of the different controllers:![]()
The feedback path:
PID PI P - Control Kp=2 Kp=2.7 Kp=3 Ti=0.9 Ti=1.5 Td=0.6
PID Control![]()
PI Control
![]()
P Control
The above transfer functions give the step responses below
![]()
Proportional control -
By only employing proportional control, a steady state error occurs.Proportional and integral control -
The response becomes more oscillatory and needs longer to settle, the error disappears.Proportional, integral and derivative control -
Now the design specifications are reached.
PID control:
- Three different parameters (KP, Ti, Td)
- Difficult to adjust according to the specifications
- P term is used to adjust the speed.
- I term provides zero error.
- D term introduces damping.
| Control |
|
|
|
| P only |
|
||
| PI |
|
|
|
| PID tight control |
|
|
|
| PID some overshoot |
|
|
|
| PID no overshoot |
|
|
|
These values are not the optimal values and additional fine tuning may be required to obtain the best performance from the system. The selection of the type of PID-control to be applied depends on the application of the system. i.e. a control system for a pressure vessel strongly requires PID-control with no overshoot.Table 1
Example
Use the Zeigler Nichols closed loop method to tune a PID-controller for a cruise control system applied in a road vehicle. Fluctuations in the speed are not permitted and cruise speed should be accurateWhat type of control is appropriate?
Assume the transfer function of the road vehicle is:
Form the Closed Loop Transfer Function.Now form the closed loop transfer function with proportional gain K and increase the gain up to the point of instability. From this, the response KC and TC are obtained which enables the calculation of the PID parameters (Table1 above). Apply these to the closed loop transfer function.![]()
Finally obtain the response and compare it with the design specification.Working
If you have access to MATLAB, click here for help on using MATLAB to determine the solution.

This gives the
step response below.

This is not
sustained oscillation so increase the gain until the point of instability is
reached.
For help on how to use MATLAB to determine the solution click
here.
To see the solution click
here.
This gives the
step response below.

This is obviously the point of sustained oscillation.
ThereforeKC = 10Obtain PID parameters from Table 1 (above).
TC = 1 ( time of one period )KP = 3.3
Ti = 0.5
Td = 0.33
Now form the closed loop transfer function with the PID controller and the process.Controller transfer function:
![]()
Process transfer function:
![]()
Now replace the variables, close the feedback loop and obtain the closed loop transfer function.
And get the step response.To see how the evaluation was performed using MATLAB, click here.As mentioned before, this approach is not the final solution. Additional fine tuning can be done in order to get a better performance from the system. However this can be used as an initial tuning and it more or less fulfils the design specifications.
You have now completed the PID-Tutorial.Return to top of page