![Page 1: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/1.jpg)
Page 1Dr. WONG, Lik-Kin
PID Controllers
Control Engineeringby Dr. L. K. Wong
![Page 2: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/2.jpg)
Page 2Dr. WONG, Lik-Kin
Output Feedback Control Systems
• Feed back only the output signal – Easy access
– Obtainable in practice
Controller PlantReference
Output+−
![Page 3: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/3.jpg)
Page 3Dr. WONG, Lik-Kin
PID Controllers
• Proportional controllers– pure gain or attenuation
• Integral controllers– integrate error
• Derivative controllers– differentiate error
![Page 4: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/4.jpg)
Page 4Dr. WONG, Lik-Kin
Proportional Controller
eKu p=
• Controller input is error (reference − output)• Controller output is control signal
• P controller involves only a proportional gain (or attenuation)
![Page 5: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/5.jpg)
Page 5Dr. WONG, Lik-Kin
Integral Controller
• Integral of error with a constant gain• Increase system type by 1
– Infinity steady-state gain
– Eliminate steady-state error for a unit step input
dteKu i ∫=
![Page 6: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/6.jpg)
Page 6Dr. WONG, Lik-Kin
Integral Controller
)(1)(
)(
)()()(
)(1
)(
)()(
sGsR
sE
sGsEsY
sG
sG
sR
sY
p
p
p
p
+=
=
+=
01
1)(1
1lim
)(1)(
lim)(lim)(lim000
=∞+
=+
=+
===→→→∞→ sGsG
ssRssEtee
ps
psstss
![Page 7: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/7.jpg)
Page 7Dr. WONG, Lik-Kin
Derivative Control
• Differentiation of error with a constant gain• Reduce overshoot and oscillation
• Do not affect steady-state response• Sensitive to noise
dt
deKu d=
![Page 8: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/8.jpg)
Page 8Dr. WONG, Lik-Kin
Controller Structure
• Single controller– P controller, I controller, D controller
• Combination of controllers– PI controller, PD controller
– PID controller
![Page 9: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/9.jpg)
Page 9Dr. WONG, Lik-Kin
PID Controller
• PI controller
• PD controller
• PID controller
dteKeKu ip ∫+=
dt
deKeKu dp +=
dt
deKdteKeKu dip ++= ∫
![Page 10: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/10.jpg)
Page 10Dr. WONG, Lik-Kin
PID Controller
• PI controller
• PD controller
• PID controller
)()()( sEs
KKsU i
p +=
)()()( sEsKKsU dp +=
)()()( sEsKs
KKsU d
ip ++=
![Page 11: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/11.jpg)
Page 11Dr. WONG, Lik-Kin
Controller Performance
• P controller• PI controller
• PD controller• PID controller
![Page 12: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/12.jpg)
Page 12Dr. WONG, Lik-Kin
Block Diagram
PIDController
PlantReference
Output+−
![Page 13: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/13.jpg)
Page 13Dr. WONG, Lik-Kin
P Controller
11
)( 2 ++=
sssGp
)()( sEKsU p=
12 ++=
ss
KOLTF p
p
p
Kss
KCLTF
+++=
12
![Page 14: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/14.jpg)
Page 14Dr. WONG, Lik-Kin
P Controller
• Increase in gain – upgrade both steady-state and transient
responses
– reduce steady-state error
– reduce stability
![Page 15: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/15.jpg)
Page 15Dr. WONG, Lik-Kin
Time (sec.)
Am
plit
ude
S t ep Response
0 2 4 6 8 10 120
0.5
1
1.5From: U(1)
To:
Y(1
)
P Controller
Kp = 10
Kp = 1
Kp = 5
Kp = 2
![Page 16: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/16.jpg)
Page 16Dr. WONG, Lik-Kin
P Controller
Time (sec.)
Am
plit
ude
S t ep Response
0 2 4 6 8 10 120
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2From: U(1)
To:
Y(1
) Kp = 1000
![Page 17: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/17.jpg)
Page 17Dr. WONG, Lik-Kin
Proportional Controller
Frequency (rad/sec)
Pha
se (
deg)
; M
agni
tude
(dB
)
Bode Diagrams
-150
-100
-50
0
50From: U(1)
10 -1 100 101 102 103-200
-150
-100
-50
0
To:
Y(1
)
)100)(1(1
)(2 ++=
sssL
)100)(1(1000
)(3 ++=
sssL
![Page 18: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/18.jpg)
Page 18Dr. WONG, Lik-Kin
PI Controller
)()(
)()()()(
)()()(
sGs
KsK
sGs
KK
sE
sY
s
KK
sE
sU
pip
pi
p
ip
+=
+=
+=
ip
ip
KsKss
KsKCLTF
+++++
=)1(23
![Page 19: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/19.jpg)
Page 19Dr. WONG, Lik-Kin
Time (sec.)
Am
plit
ude
S t ep Response
0 5 10 15 20 25 30 35 400
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6From: U(1)
To:
Y(1
)
PI Controller
Ki = 0
Ki = 1
Ki = 0.5
Ki = 2
Kp = 2
![Page 20: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/20.jpg)
Page 20Dr. WONG, Lik-Kin
PD Controller
)()()( sEsKKsU dp +=
12 +++
=ss
KsKOLTF pd
)1()1(2pd
pd
KsKs
KsKCLTF
+++++
=
![Page 21: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/21.jpg)
Page 21Dr. WONG, Lik-Kin
PD Controller
Time (sec.)
Am
plit
ude
S t ep Response
0 5 10 150
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1From: U(1)
To:
Y(1
)
Kd = 0
Kd = 1
Kd = 10
Kd = 2
Kp = 2
![Page 22: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/22.jpg)
Page 22Dr. WONG, Lik-Kin
PID Controller
)(
)()()(
2
sEs
KsKsK
sEsKs
KKsU
ipd
di
p
++=
++=
sss
KsKsKOLTF ipd
++++
=23
2
ipd
ipd
KsKsKs
KsKsKCLTF
+++++++
=)1()1( 23
2
![Page 23: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/23.jpg)
Page 23Dr. WONG, Lik-Kin
Time (sec.)
Am
plit
ude
S t ep Response
0 2 4 6 8 10 12 140
0.2
0.4
0.6
0.8
1
1.2
1.4From: U(1)
To:
Y(1
)
PID Controller
Kp = 2, Ki = 1, Kd = 2,
Kp = 2, Ki = 2, Kd = 2,
Kp = 5, Ki = 5, Kd = 5Kp = 5, Ki = 5, Kd = 2
![Page 24: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/24.jpg)
Page 24Dr. WONG, Lik-Kin
Design of PID Controllers
• Based on the knowledge of P, I and D– trial and error
– manual tuning
– simulation
![Page 25: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/25.jpg)
Page 25Dr. WONG, Lik-Kin
Design of PID Controllers
• Ziegler-Nichols method– based on a open-loop process
– based on a critical gain
![Page 26: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/26.jpg)
Page 26Dr. WONG, Lik-Kin
Ziegler-Nichols Method 1
Time delay L = τd
Slope R = K/τ
τ
K1
)(+
=−
s
KesG
sd
τ
τ
![Page 27: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/27.jpg)
Page 27Dr. WONG, Lik-Kin
Ziegler-Nichols Method 1
• P controller– Kp = 1/RL
• PI controller– Kp = 0.9/RL, Ki = 0.27/RL2
• PID controller– Kp = 1.2/RL, Ki = 0.6/RL2, Kd = 0.6/R
![Page 28: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/28.jpg)
Page 28Dr. WONG, Lik-Kin
Ziegler-Nichols Method 2
• Increase a pure gain Ku of a closed-loop system until the system is marginally stable
• Measure the period of oscillation Pu (unit is second)
![Page 29: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/29.jpg)
Page 29Dr. WONG, Lik-Kin
Ziegler-Nichols Method 2
• P controller– Kp = 0.5Ku
• PI controller– Kp = 0.45Ku, Ki = 0.54Ku/Pu
• PID controller– Kp = 0.6Ku, Ki = 1.2Ku/Pu, Kd = 0.075KuPu
![Page 30: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/30.jpg)
Page 30Dr. WONG, Lik-Kin
Digital P and D Controller
)()( zEKzU p=
Tkeke
ku
dt
tdetu
)1()()(
)()(
−−≈
=
![Page 31: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/31.jpg)
Page 31Dr. WONG, Lik-Kin
Digital I Controller
[ ]
[ ]
)(11
2)(
)()(2
)()(
)()1(2
)(
)()()1(
)()()(
)1(
00
zEz
zTzU
zEzzET
zUzzU
kekeT
ku
dekuku
detutu
Tk
kT
t
t
−+
=
++=
+++=
+=+
+=
∫
∫+
ττ
ττ
![Page 32: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/32.jpg)
Page 32Dr. WONG, Lik-Kin
Digital PID Controller
pK
11
2 −+
z
zTKi
Tz
zKd
)1( −
+ U(z)E(z)
![Page 33: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/33.jpg)
Page 33Dr. WONG, Lik-Kin
Conclusion
• Properties of P, I, D, PI, PD, and PID controllers
• Design of PID controllers• Digital PID controllers
![Page 34: PID - 123seminarsonly.com of PID Controllers • Ziegler-Nichols method – based on a open-loop process – based on a critical gain Dr. WONG, Lik-Kin Page 26 Ziegler-Nichols Method](https://reader031.vdocument.in/reader031/viewer/2022020120/5b0d012c7f8b9a2c3b8c7f6d/html5/thumbnails/34.jpg)
Page 34Dr. WONG, Lik-Kin
Reference
• M. Gopal, Digital Control Engineering. John Wiley & Sons.
• B. C. Kuo, Automatic Control System. Englewood Cliffs, N.J.: Prentice Hall, 1995.
• G. F. Franklin, J. D. Powell, and A. Emami-Naeini, Feedback Control of Dynamic Systems. Singapore: Addison-Wesley, 1988.