CSC - 3K CH 3 Notes and Imp Qns
CSC - 3K CH 3 Notes and Imp Qns
Manju K 1
Control system and Components (313329) AO3K CH3
2. Classification of controllers
1. Discontinuous controller- example is ON-OFF controller
2. Continuous controller –Proportional, Integral and Derivative controller
3. Composite controller- PI,PD and PID
3. On- Off Controller
It has only two fixed positions such as on (1) and off (0). The output signal P
remains either 0% or 100% depending upon whether the error is negative or
positive. So the equation of On-Off controller is:
P = 100% (on) for positive error
P = 0% (off) for negative error .
Consider a practical example of temperature control system with Set Point “x”.
When the temperature is more than “x” the on - off controller will be off and when
it is less than “x” ,on - off controller will be on.
Manju K 2
Control system and Components (313329) AO3K CH3
NZ = 2ΔEp
Applications: temperature control systems for houses (heating and cooling), freezers and
other home appliances are using on-off control
4. Proportional controller
The controller output is directly proportional to the error. The error is the difference
between the setpoint and the process variable.
𝑃𝑜𝑢𝑡 − 𝑃𝑜 ∝ 𝐸𝑃
𝑃𝑜𝑢𝑡 − 𝑃𝑜 = 𝐾𝑃 𝐸𝑃
𝑷𝒐𝒖𝒕 = 𝑲𝑷 𝑬𝑷 + 𝑷𝒐
𝐸𝑃 = Error percentage
𝑃𝑜 = Controller output when error is zero
Here, one to one correspondence exists between the controller output and error.
Manju K 3
Control system and Components (313329) AO3K CH3
Transfer function:
OR
100
𝑃𝐵 =
𝑲𝑷
Manju K 4
Control system and Components (313329) AO3K CH3
Offset:
It is a permanent residual error or steady state error in proportional controller which is
inherent in nature; it is due to the one to one correspondence existing between the controller
output and error. It occurs because the controller cannot adapt to changing external
conditions or loads i.e. here, the zero-error output is a fixed value. When a load change
requires a new controller output, proportional controller cannot provide that and instead it
gives a fixed error from the set point. This fixed error is the offset.Since it is the steady state
error, it has to be reduced to improve the performance of the controller.
Manual resetting
By increasing 𝑲𝑷 (But this will decrease PB which in turn makes the system
behave like ON-OFF controller)
Automatic resetting by using Integral controller
Manju K 5
Control system and Components (313329) AO3K CH3
Advantages of P controller:
Linear response
Disadvantages of P controller:
Offset
𝑑𝑃𝑜𝑢𝑡
∝ 𝐸𝑝
𝑑𝑡
𝑑𝑃𝑜𝑢𝑡
= 𝐾𝐼 𝐸𝑝
𝑑𝑡
Taking integral,
𝑡
𝑃𝑜𝑢𝑡 = 𝐾𝐼 ∫0 𝐸𝑝 𝑑𝑡 + 𝑃0 (𝑃0 is the controller output when time t=0)
Transfer function:
𝑑𝑃𝑜𝑢𝑡
Taking Laplace transform of equation = 𝐾𝐼 𝐸𝑝 ,
𝑑𝑡
𝑃𝑜𝑢𝑡 (𝑠) 𝐾𝐼
𝑆𝑃𝑜𝑢𝑡 (𝑠) = 𝐾𝐼 𝐸𝑝 (𝑠) Therefore, 𝑇𝐹 = =
𝐸𝑝 (𝑠) 𝑆
Therefore, it adds pole at origin.
Integral control is the control mode where the controller output is proportional to
the integral of the error with respect to time, i.e. controller output ∝ integral of error with
time.
Integral determines the area of the function being integrated. Therefore it gives the size and
magnitude of the error which is the function being integrated.
When the error occurs, the controller begins to increase or decrease its output at a rate that
depends upon the size of the error and the gain based on the equation
𝑑𝑃𝑜𝑢𝑡
= 𝐾𝐼 𝐸𝑝 . If the error is zero, the controller output is not changed. If the error is
𝑑𝑡
positive, controller output begins to ramp up at a rate determined by the gain.
Automatic reset or integral action corrects for any offset between set point and process
variable automatically. Therefore it is also called Reset controller.
Integral action is provided by summing the error over time (which is the cumulative
addition or integral action), multiplying that by a gain and adding the result to the present
controller output. If the error becomes positive or negative, the integral action will begin
to accumulate and makes changes to the controller output.
This controller action is slow and has less stability due to oscillations induced by the
integral overshoot in the response. It looks into the past history of errors due to the integral
actions.
Manju K 6
Control system and Components (313329) AO3K CH3
Offset occurs because the proportional controller cannot adapt to changing external
conditions or loads i.e. here, the zero-error output is a fixed value. Integral eliminates this
problem by allowing the controller to adapt to changing external conditions by changing
the zero-error output. Integral provides a reset of the zero error output after a load change.
Thus Integral redefines the output requirements at the set point until the process variable
and set point are equal.
OR
When a load change requires a new controller output, proportional controller cannot
provide that and instead it gives a fixed error from the set point. This fixed error is the
offset. Integral provides the required new output thereby allowing the error to be zero after
a load change. It provides reset of the zero-error output after the load change. Thus
integral controller eliminates offset.
Integral action response:
Two systems with gain 𝐾2 & 𝐾1 ( 𝑤ℎ𝑒𝑟𝑒 𝐾2 < 𝐾1 ) are considered here. The rate of
change of controller output is proportional to the error which is shown below:
Manju K 7
Control system and Components (313329) AO3K CH3
Advantages:
1. Eliminates offset
Disadvantages:
1. Slow response 2. Less stability
Here, the controller output is directly proportional to the rate of change of error signal.
Therefore it is also called rate controller.
The equation for D controller is:
𝑑𝐸𝑝
𝑃𝑜𝑢𝑡 = 𝐾𝐷
𝑑𝑡
𝐾𝐷 is the derivative gain constant which is the time constant.
It shows that the controller output will be zero if i) error 𝐸𝑝 is zero ii) if error is constant.
Therefore D controller is not used alone.
Transfer function:
𝑑𝐸𝑝
Taking Laplace transform of equation 𝑃𝑜𝑢𝑡 = 𝐾𝐷 𝑑𝑡
,
𝑃𝑜𝑢𝑡 (𝑠)
𝑃𝑜𝑢𝑡 (𝑠) = 𝐾𝐷 𝑆 𝐸𝑝 (𝑠) Therefore, 𝑇𝐹 = = 𝐾𝐷 𝑆
𝐸𝑝 (𝑠)
Therefore, it adds zero at origin of S plane.
Anticipatory controller:
It is also called anticipatory controller because:-
If a variable changes suddenly, its rate of change is fast. Since the change in output from
derivative controller depends on rate of change of error signal, it gives a large amount of
correction to a rapidly changing error signal while the error is still small. Thus it behaves
as if anticipating the process error before it becomes too large and takes corrective action
in advance. This tends to increase the stability of the system.
Advantages:
1. Fast
2. Better stability
3. No offset
4. Useful for slow systems or systems with large inertia or capacitance
Disadvantages:
1. Cannot eliminate offset
2. No output for zero or constant error
3. Cannot be used alone
4. Amplifies noise
Response:
When the error changes rapidly, with positive slope, the controller output changes
suddenly and if the rate of change of error is constant, controller output remains at a
constant value. If the error is zero, the controller output is also zero. It is shown below.
Manju K 8
Control system and Components (313329) AO3K CH3
In the second example of error, it is assumed that the controller output for no error is 50%. When
the error changes rapidly, with positive slope, the controller gives a larger output. When the
error changes rapidly, with negative slope (error is decreasing), the controller gives a smaller
output. When the error is not changing, controller output is 50%. It is shown below.
7. PI controller:
𝑡
𝑃𝑜𝑢𝑡 = 𝐾𝑃 𝐸𝑃 + 𝐾𝑃 𝐾𝐼 ∫ 𝐸𝑝 𝑑𝑡 + 𝑃0
0
Where 𝑃0 is the controller output when time t=0
Integral controller is rarely used alone because of its slow response to disturbances. When it is
combined with proportional controller, its slow response can be eliminated. Here, one to one
correspondence of the proportional controller is available and integral controller eliminates offset.
PI mode ensures that when a deviation takes place, proportional mode reacts immediately to change
the controller output since there is not a time integral of deviation. Offset error occurs with a load
change but mode provides a new controller output which in turn changes the error to be zero after a
load change.
Characteristics:
Manju K 9
Control system and Components (313329) AO3K CH3
If the error is not zero, the proportional controller gives correction and integral begins to
change the accumulated value of the error which is initially 𝑃0
Advantages of PI controller:
Eliminates offset, can be used for systems with large load changes
Manju K 10
Control system and Components (313329) AO3K CH3
8. PD Controller
It cannot eliminate offset. But it can handle fast process load changes because of derivative
action. It improves the speed and stability of the control system response. But it is not
suitable for systems with noise problems because derivative action amplifies noise error
signals.
Response:
The derivative action moves the controller output in relation to the rate of change of error.
Manju K 11
Control system and Components (313329) AO3K CH3
When an error (the change in measured variable from the set point) is introduced to a PID
controller, the controller’s response is a combination of the proportional, integral, and derivative
actions.
As the error increases, the proportional action of the PID controller produces an output that is
proportional to the error signal.
The integral action of the controller produces an output whose rate of change is determined by the
magnitude of the error. As the error continues to increase at a steady rate, the integral output
continues to increase its rate of change.
The derivative action of the controller produces an output whose magnitude is determined by the
rate of change of error.
When combined, these actions produce an output. The output responds immediately to the error
with a signal that is proportional to the magnitude of the error.
The proportional action of the controller stabilizes the process. The integral action combined with
the proportional action causes the measured variable to return to the set point (reduces the offset).
The derivative action combined with the proportional action reduces the initial overshoot and
cyclic period.
Advantages:
1. Offset is reduced.
2. Fast response
3. Produces output depending upon magnitude, duration, and rate of change of error.
4. The PID algorithm is suitable for the large system
5. When there are rapid and large changes in process variables, PID controller is used.
Manju K 12
Control system and Components (313329) AO3K CH3
Disadvantages:
1. Complex
2. Tuning of parameters ( KP, KI, KD) is difficult.
13
Manju K 13
Control system and Components (313329) AO3K CH3
Look for controllers with the appropriate control modes (P, PI, PD and PID) and the
ability to switch between them if necessary. This flexibility allows fine-tuning the
controller to match the specific dynamics of the process.
Other criterion is remote monitoring, which enables to oversee and adjust the controller
from a distance.
Another criterion is the user interface and ease of configuration.
Important questions:
Manju K 14