Process Chapter 3
Process Chapter 3
Process Chapter 3
3. Feedback controllers
3.1 Basic control modes
The heart of a feedback control system is the controller itself.
In the case of feedback control system ,the controlled variable (output variable)
Measured.
The measured output variable compared with the desired value and their difference used as the input of
a controller.
The controller output feed in to the final control element or process to get the desired output
2. PID controller
Cont…
Commonly used as
2. in noncritical industrial applications such as some level control loops and heating systems.
On-off controllers are less widely used than PID controllers, because they are not as versatile or
as effective.
For ideal on-off control, the controller output has only two possible values:
𝑃𝑚𝑎𝑥 𝑖𝑓 𝑒 > 0
P(t) =
𝑃𝑚𝑖𝑛 𝑖𝑓 𝑒 < 0
Cont…
For on/off control, the final control element is either completely open/on/maximum or
closed/off/minimum .
To protect the final control element from wear, a dead band or upper and a lower set point is
used. The measured variable remains between these limits, no changes in control action are
made.
3.3 Proportional, Integral and Derivative controller and Features of PID control
A controller is basically reads the error between desired set point and the
measured output and then computes the corrective action for the
manipulated input that would steer process towards the desired set point.
There are three basic types of feedback control modes which are widely used in
the industry.
Proportional (P) controller
𝑃(𝑡)
𝐾𝑐 =
𝑒(𝑇)
Cont…
Kc sets the activity of the controller to changes in error, e(t)
if Kc is small, the controller is sluggish
if Kc is large, the controller is aggressive
Examples
Assume the process is a first order dynamic system and controlling with proportional (P)
controller .
𝑌(𝑠) 1
=
𝑋(𝑠) 𝑠+1
Cont…
Cont…
Cont..
Disadvantage of p-only control is that a steady-state error (or offset) occurs after a set-
point change or a sustained disturbance.
offset will occur for p-only control regardless of the value of Kc.
With the addition of the integral control mode facilitates offset elimination.
=> only one tuning parameter so it’s easy to find “best” tuning .
Cont…
For integral control action, the controller output depends on the integral of the
error signal over time.
1 𝑡
𝑝 𝑡 =𝑝+ 𝑒 𝑡 𝑑𝑡
0
In the past, integral control action has been referred to as reset or floating
control.
The integral controller is not often used by itself, because little control action
takes place until the error signal has persisted for some time.
The response of this closed loop integral feed back control becomes oscillatory
response as shown below
Cont…
Cont…
proportional-integral (PI) controller
1 𝑡
𝑝 𝑡 = 𝑝 + 𝐾𝑐 𝑒(𝑡) + 𝑒(𝑡) 𝑑𝑡
0
The corresponding transfer function for the PI controller
𝑃(𝑡) 1
= 1+
𝐸(𝑠) 𝑠
The response of the PI controller to a unit step change in e(t) is shown below.
At time zero, the controller output changes instantaneously due to the proportional action.
When t = the integral term has contributed the same amount to the controller output as the
proportional term. Thus, the integral action has repeated the proportional action once.
Cont…
When a sustained error occurs, the integral term becomes quite large and the
controller output eventually saturates.
Further build up of the integral term while the controller is saturated is referred to as
reset windup or integral windup.
Cont…
The large overshoot in fig below occurs because the integral term continues to
increase until the error signal changes sign at t = t1.
cont…
error.
In this situation, a physical limitation (control valve fully open or completely
shut) prevents the controller from reducing the error signal to zero.
Disadvantages of PI controller
Integral action tends to increase the oscillatory or rolling behaviour of the PV.
There are two tuning parameters (𝐾𝑐 and ) and they interact with each other.
This interaction can make it challenging to arrive at “best” tuning values.
Reset Windup
Derivative Control
The function of derivative control action is to anticipate the future
behavior of the error signal by considering its rate of change.
𝑑𝑒(𝑡)
𝑝 𝑡 = 𝑝 + 𝐷
𝑑𝑡
Where 𝐷 , the derivative time.
Derivative control action also tends to improve the dynamic response of the
controlled variable by the settling time.
If the process measurement is noisy, then the derivative of the measured variable
will change wildly, and derivative action will amplify the noise unless the
measurement is filtered.
𝑃(𝑠) 𝐷 𝑠
= 𝐾𝑐 1 +
𝐸(𝑠) 𝐷 𝑠 + 1
The denominator term serves as a derivative filter that reduces the sensitivity of
the control calculations to noisy measurements.
1 𝑡 𝑑𝑒(𝑡)
𝑝 𝑡 = 𝑝 + 𝐾𝑐 𝑒 𝑡 + 𝑒 𝑡 𝑑𝑡 + 𝐷
0 𝑑𝑡
𝑃(𝑠) 1
The corresponding transfer function is, = 𝐾𝑐 1 + + 𝐷 𝑠
𝐸(𝑠) 𝑠
Cont…
Series Form of PID Control
The series form of PID control without a derivative filter is shown in fig below,
The controller parameters for the expanded form are three "gains," 𝐾𝑐 , 𝐾𝐼
and 𝐾𝐷 , rather than the standard parameters, Kc, 𝑖 , and 𝐷 ·
This sudden "spike" is undesirable and can be avoided by basing the derivative action on
the measurement, Ym, rather than on the error signal, e.
1 𝑡 𝑑 𝑦𝑚(𝑡)
𝑝 𝑡 = 𝑝 + 𝐾𝑐 𝑒 𝑡 + 𝑒 𝑡 𝑑𝑡 + 𝐷
0 𝑑𝑡
Cont…
For proportional control, when Kc > 0, the controller output p(t) increases as its input signal
Ym(t) decreases.
𝑝 𝑡 = 𝐾𝑐 𝑌𝑠𝑝 𝑡 − 𝑌𝑚 (𝑡)
When Kc < 0, the controller is said to be direct acting, because p increases as Ym increases.
If feedback control is not used, the process slowly reaches a new steady state.
Proportional control speeds up the process response and reduces the offset.
Cont…
The addition of integral control action eliminates offset but tends to make the
response more oscillatory.
Adding derivative action reduces both the degree of oscillation and the response
time.
The use of P, PI, and PID controllers does not always result in oscillatory process
responses.
The nature of the response depends on the choice of the controller settings
(𝐾𝑐, 𝐼 , 𝑎𝑛𝑑 𝐷 ) and the process dynamics.
However, the responses in the above figure are representative of what occurs in
practice.
Cont…
Increasing the controller gain tends to make the process response less sluggish.
Increasing the integral time, 𝐼 , usually makes PI and PID control more sluggish.
But for very large values of 𝑰 , the controlled variable will return to the set point
very slowly after a disturbance or set-point change occurs.
Cont…
It is more difficult to generalize about the effect of the derivative time 𝑫 .