Professional Documents
Culture Documents
Controllers - by Kenil Jagani
Controllers - by Kenil Jagani
CONTROLLERS
31 October 2022 16:46
BOOKS :
-------------------------------------------------------------------------------------------------------------
INTRODUCTION
---------
Why we are studying Controller ?
- To control the system.
○ Measuring Device : Measures the condition or manipulated variable of the process and gives the signal
to the controller.
- Ex : Thermoset, Speedo meter, thermometer, etc...
○ Final control element : which control the manipulated variable according to the signal of controller.
- Ex : Valves.
- Close Loop Syatem : In this system the measured value of controlled variable feed back to the
controller.
- This system is more accurate.
- This system is costlier than the Open Loop System.
- Ex : Missile Tracking, Radar, water level indicator.
○ Open Loop System : in which output variable is not going to compare with set point.
TYPES OF CONTROLLERS
---------
PROPORTIONAL CONTROLLER
(P - Controller)
---------
- Output of the controller is directly proportional to the input of the controller(Error).
𝐏 ′ (t) ∝ 𝛆(t)
𝐏 ′ (t) = 𝐤 𝐜 𝛆(t)
p(t) - p(S) = 𝐤 𝐜 𝛆(t)
CASE 4 :
P′ (S) 1
-
ε(S)
= kc provide Unit step ε(S) = S
(where M = 1)
kc
∴ P (S) =
′
S
- Now take invers of Laplace
∴ P′ (t) = kc
p(t) = 𝐤 𝐜 + p(S)
- Boundary conditions :
(1) at t < 0, p(t) = p(S)
(2) at, t ≥ 0, p(t) = kc + p(S)
Summary : ---------
P′ (S)
(1) ε(S)
= kc | p(t) - p(S) = kc ε(t)
(5) special case(On-Off controller) when kc → ∞, slope → ∞, Range of the error = Band Width = 0
PROPORTIONAL INTEGRAL
CONTROLLER (PI - Controller)
---------
𝐭
- Integral action : 𝐏 ′ (t) ∝ ∫𝟎 𝛆(𝐭)𝐝𝐭
𝐤𝐜 𝐭
- I - Controller : 𝐏 ′ (t) = ∫ 𝛆(𝐭)𝐝𝐭
𝛕𝐈 𝟎
τI = integral time / Reset time
𝐤𝐜 𝐭
𝐏 ′ (t) = 𝐤 𝐜 𝛆(𝐭) + ∫ 𝛆(𝐭)𝐝𝐭
𝛕𝐈 𝟎
- Take a Laplace;
kc (S)
P′ (S) = kc ε(S) +
I S
1
∴ P′ (S) = kc ε(S) 1 +
IS
𝐏 ′ (𝐒) 𝟏
G(S) = 𝛆(𝐒)
= 𝐤𝐜 𝟏 + 𝛕𝐈 𝐒
- This is the Transfer Function for PI - Controller.
Graphical Representation : ---------
P′ (S) 1 1
- = kc 1 + provide Unit step ε(S) = (where M = 1)
ε(S) τI S S
1 1
∴ P′ (S) = kc 1 + τI S S
kc
∴ P′ (t) = kc + τI
.t
𝐤𝐜
p(t) = 𝐤 𝐜 + 𝛕𝐈
. t + p(S)
kc
- Graph for P′ (t) = kc + τI
. t → Y = C + MX
kc
○ Graph for p(t) = kc + . t + p(S) → Y = C + MX
τI
Reset Time(𝛕𝐈 ) : It is a time required by the responce to which responce of the P-Controller repeted.
kc
- p(t) = kc + . t + p(S) at t = τI -------> p(t) = p(S) + 2kc
τI
kc
- p(t) = kc + τI
. t + p(S) at t = 2τI -------> p(t) = p(S) + 3kc
𝐝
- Derivative action : 𝐏 ′ (t) ∝ 𝛆(𝐭)
𝐝𝐭
𝐝𝛆(𝐭)
- D - Controller : 𝐏 ′ (t) = 𝐤 𝐜 𝛕𝐃
𝐝𝐭
𝐤𝐜 𝐭 𝐝𝛆(𝐭)
𝐏 ′ (t) = 𝐤 𝐜 𝛆(𝐭) + ∫ 𝛆(𝐭)𝐝𝐭
𝛕𝐈 𝟎
+ 𝐤 𝐜 𝛕𝐃 𝐝𝐭
- Take a Laplace;
𝐏 ′ (𝐒) 𝟏
G(S) = = 𝐤𝐜 𝟏 + + 𝛕𝐃 . 𝐒
𝛆(𝐒) 𝛕𝐈 𝐒
1 1
∴ P′ (S) = kc 1 + + τD . S
τI S S
1 1
∴ P′ (S) = kc + + τD
S τ I S2
1
∴ P′ (t) = kc 1 + τI
.t + τD δ(t)
𝐤𝐜
𝐏 ′ (t) = [𝐤 𝐜 + 𝐤 𝐜 𝛕𝐃 𝛅(𝐭)] + .t
𝛕𝐈
- A PID controller is an instrument used in industrial control applications to regulate temperature, flow,
pressure, speed and other process variables.
Summary : ---------
P′ (S)
(1) P-Controller : ε(S)
= kc | It makes system fast.
P′ (S) 1
(2) PI-Controller : ε(S)
= kc 1 + τI S
| It eliminate the offset
P′ (S) 1
(3) PID-Controller : ε(S)
= kc 1 + τI S
+ τD . S | It captures the oscillation.
P′ (S) 1
= kc 1 + + τD . S from the concept of Block Diagram Reduction.
ε(S) τI S
Y(S) = X(S)G(S)
- Ex :
Point 3 :
- For point 1 : Y(S) = α(S)B(S) & α(S) = A(S)X(S)
Y(S) = A(S)X(S)B(S)
- Ex :
Yout Gc Gf Gp
- ANS : =
Ysp 1+ Gc Gf Gp GM
-------------------------------------------------------------------------------------------------------------
Y(S)
QUE : Calculate the value of transfer function X(S) for the given control system.
---------
Solution :
[(XM + Y)N - X]O = Y
∴(XMN + YN - X)O = Y
∴XMNO + YNO - XO = Y
∴X(MNO - O) = Y (1 - NO)
Y O(MN − 1)
∴X= (1 − NO)
QUE : The block diagram of a closed-loop control system is shown in the figure below, Y is the controlled
variable. D is disturbance, Ysp is the set point, G1 , G2 and G3 are transfer functions and Kc is the
proportional Controller
Y(S)
The closed loop transfer function D(S) is given by [GATE : 2006 IIT Kharagpur]
G3 G 1
(A)
1+(G1 G3 +G2 )Kc
G1
(B) 1+(G
1 3 +G2 )Kc
G
G3
(C) 1+(G
1 2 )G3 Kc
+G
G3
(D)
1+(G1 G3 +G2 )Kc
Solution :
QUE CONTINUE : Let G1 (S) = 1 and G2 (S) = G3 (S) = 1/(S+1). A step change of magnitude M is made in
the set point.
The steady state offset of the closed-loop responce y is [GATE : 2006 IIT Kharagpur]
M M M(Kc −1)
(A) (B) (C) (D) Zero
1+2Kc 1+Kc 1+2Kc
Solution :
----------------------------------------------------------------------------------------------------------
Go To Top (---------)
𝐲𝐬𝐩 .𝐆𝐜 𝐆𝐩 𝐆𝐟 𝐆𝐝
∴𝐲= + . 𝐝(S)
̅
𝟏+ 𝐆𝐌 𝐆𝐜 𝐆𝐩 𝐆𝐟 𝟏+ 𝐆𝐌 𝐆𝐜 𝐆𝐩 𝐆𝐟
𝐲 𝐆𝐜 𝐆𝐩 𝐆𝐟
∴ 𝐲 = 𝟏+ 𝐆
𝐬𝐩 𝐌 𝐆𝐜 𝐆𝐩 𝐆𝐟
REGULATORY PROBLEM
---------
- Change in load 𝐝(S)
̅ ≠ 0.
- But change in set point will be zero 𝐲𝐬𝐩 = 0
- How to calculate in GATE - Exam :
𝐲 𝐆𝐝
∴ =
𝐝(𝐒)
̅ 𝟏+ 𝐆𝐌 𝐆𝐜 𝐆𝐩 𝐆𝐟
NOTE :
(1) Denominator will not change
𝐆
(2) T.F of Closed loop = 𝟏+𝐟𝐨𝐫𝐰𝐚𝐫𝐝
𝐆𝐨𝐩𝐞𝐧
-------------------------------------------------------------------------------------------------------------
QUE : The block diagram for a process with feedback control for output deviation variable h is show in the
figure below. All transfer functions are given with pre-factor of s in minutes. A unit step change is made in
the set-point at t = 0. the time required for h to reach 50% of its ultimate value, in minutes (up to two
decimal places is) . [GATE 2015 : IIT Kanpur]
Solution :
- Here unit step change is made in the set-point, that means this is Servo Problem.
0.2 1
h 0.5S × 1.5S+1 × 0.5S
hsp
= 0.2 1
1+1×0.5S × 1.5S+1 × 0.5S
h 0.2
∴ =
hsp 1.5S +1.2
0.2
h
∴ h = 1.51.2
sp S +1
1.2
0.2
1
∴h= 1.5
1.2
×
S +1 S
1.2
1 1 Kp M
∴ h = 1.25 S +1 × 6S compare with Y(S) = (τ ×
p S + 1) S
t
∴ h(t) = 0.167 1 − e 1.25
t = 0.867 min
--------------------------------------------------------------------------------------------------------------
CONCEPT OF OFFSET
---------
- Offset called steady state error.
Offset = New Set Point − Ultimate Value of Responce
Graphical Analysis :
---------------------------------------------------------------------------------------------------------------
QUE : Consider the following closed loop system with Gp and Gc as the transfer function of the process
and the controller, respectively.
For a unit step change in the set point (ysp ), the change in the value of the responce (y) at steady state is
__________ (round off to 1 decimal place). [2020 IIT Delhi]
Solution :
1 10
y 0.2 1+0.5S× (S+1)(2S+1)
-
ysp
= 1 10
1+ 0.2 1+0.5S× (S+1)(2S+1)
1 10
y 0.2 1+ ×
0.5S (S+1)(2S+1)
∴1= 1 10
S
1+ 0.2 1+0.5S× (S+1)(2S+1)
1 10
0.2 1+ × 1
0.5S (S+1)(2S+1)
∴y = lims→∞ s × 1 10 × S
1+ 0.2 1+0.5S× (S+1)(2S+1)
2
∴y =
2
∴Y(S) = 1
----------------------------------------------------------------------------------------------------------------
Kp
- Here Gc = Kc | Gp = | Gf = Gm = 1
τp S+1
Yout GGG
- Ysp
= 1+ GcGfGpG
c f p M
Kp
Kc × τ S+1 × 1
Y p
∴ = Kp
Ysp 1+ Kc ×1 × τ S+1 × 1
p
Y Kp Kc
∴Y =τ
sp p S+1+ Kc Kp
Kp Kc
Y 1+ Kc Kp
∴ Ysp
= τp
1+ Kc Kp
S+ 1
Kp ′
- Now compare with and assume Kp = 1
τp ′ S+1
τp ′ = Time constant after tacking controller.
Kp ′ = process gain after tacking controller.
K Kc K
- Kp ′ = p assume [Kp = 1] = 1+ cK
1+ K c Kp c
τp τp
- τp = ′
assume [Kp = 1] = 1+ K
1+ K c Kp c
τ
○ Note 2 : τp ′ = p
1+ K c
At any value of 𝐊 𝐜 ----> 𝛕𝐩 ′ < 𝛕𝐩
Kp ′ M
∴Y = ′ S+1 ×
τp S
Kp ′ M
- For Ultimate value of responce : limS→∞ Y = limS→0 S. Y = S × τ ′ S+1 × S
p
Y(∞) = MKp ′
MK
∴Y(∞) = 1+ Kc
c
MKc
- Offset = M - y(t → ∞) = M -
1+ Kc
𝐌
Offset = 𝟏+ 𝐊
𝐜
---------------------------------------------------------------------------------------------------------------
QUE : Consider the following block diagram for a closed - loop feedback system
A proportional controller is being used with Kc = -4. if a step change in disturbance of magnitude 2 effects
the system, then the value of the offset is ___________ [GATE 2014 : IIT Kharagpur]
Solution : Regulatory problem
2
- D(S) = S
2 2
C(S) Gd −S −S
- D(S)
= 1+ Gc Gf Gp GM
= 2 = 8
1+(−4)×0.5×− S×2 1+ S
2
− 2
∴C(S) = S
8 ×
1+ S S
2
−S 2
- Ultimate value : limS→∞ C(S) = limS→0 S. C(S) = S × 8 ×S
1+ S
∴C(S) = - 0.5
Kc Kp
- Here Gc = | Gp = | Gf = Gm = 1
τI S τp S+1
Yout Gc Gf Gp
- =
Ysp 1+ Gc Gf Gp GM
Kc Kp
× τ S+1 × 1
Y τI S p
∴ = Kc Kp
Ysp 1+ ×1 × τ S+1 × 1
τI S p
Y Kp Kc
∴Y =
sp τI τp S2 + τI S+ Kc Kp
Y 1
∴ = τI τp 2 τ
Ysp
Kc
S + KI S +1
c
Y(s) Kp ′
- Now compare with X(s) = ′ 2 s2 +
τp 2ζτp ′ s+1
○ Note 1 : Integral controller increase the order of system and system will become sluggish(slow).
𝛕𝐈 𝛕𝐩
○ Note 2 : 𝛕𝐩 ′ =
𝐊𝐜
τI
○ Note 3 : 2ζτp ′ =
Kc
τI
ζ= τI τp
2Kc Kc
𝟏 𝛕𝐈
𝛇= 𝐨𝐬𝐜𝐢𝐥𝐥𝐚𝐭𝐢𝐨𝐧 𝐩𝐫𝐨𝐝𝐮𝐜𝐞𝐝
𝟐 𝐊 𝐜 .𝛕𝐩
- Oscillation may or may not be in the system its totally depends on the value of ζ .
- The value of ζ increasing and decreasing is depends on the value of Kc .
Kp Kc M
∴Y = ×
τI τp S2 + τI S+ Kc Kp S
Kp Kc M
- For Ultimate value of responce : limS→∞ Y = limS→0 S. Y = S × 2 × S
τI τp S + τI S+ Kc Kp
∴Y(∞) = M
- Offset = M - y(t → ∞) = M - M
∴Offset = 0 Integral controller eliminates the offset .
Graphical Representation : ---------
Case 1 : We can say from Note 2; 𝐊 𝐜 ↑ , 𝛇 ↓ , 𝛕 ↓ keeping τI and τp is constant.
𝛕𝐈 𝛕𝐩
Case 2 : 𝛕𝐩 ′ =
𝐊𝐜
Summary : ---------
(1) order↑
(2) offset eliminates
(3) Oscillation produce
(4) If ζ < 1 then Kc ↑ , ζ ↓ and oscillation ↑.
(5) Responce sluggish
(6) Kc ↑ , ζ ↓ , τ ↓ keeping τI and τp is constant.
Yout Gc Gf Gp
- =
Ysp 1+ Gc Gf Gp GM
Kp
Kc τD S × τ S+1 × 1
Y p
∴ = Kp
Ysp 1+ Kc τD S ×1 × τ S+1 × 1
p
Y Kc τD S
∴Y =τ S+1+ Kc τD S
sp p
Y 𝐊 𝐜 𝛕𝐃 𝐒
∴ 𝐘 = (𝛕
𝐬𝐩 𝐩 + 𝐊 𝐜 𝛕𝐃 )+𝟏
○ Note 2 : τp ′ = τp + Kc τD
Kc τ D S M
∴Y = ×
(τp + Kc τD )+1 S
Kc τD S M
- For Ultimate value of responce : limS→∞ Y = limS→0 S. Y = S × (τp + Kc τD )+1
× S
∴Y(∞) = 0
- Offset = M - y(t → ∞) = M - 0
∴Offset = M overall offset will not reduce.
○ Note 4 :
Advantage :
- It will capture the oscillation of the system.
- Noise controlled by D-controller.
P vs PI vs PID Controller Graph : ---------
------------------------------------------------------------------------------------------------------------
Go To Top (---------)