Beruflich Dokumente
Kultur Dokumente
SYSTEMS
Ali Karimpour
Associate Professor
Ferdowsi University of Mashhad
Lecture 16
Lecture 16
2
Dr. Ali Karimpour May 2013
Lecture 16
K
3 Forward compensation with series compensation. (Two degree of freedom)
( جبران سازی پیش رو با جبران سازی سری )دو درجه آزادی3
r(t) + e(t) u(t) c(t)
Gc 2 ( s) Gc1 ( s ) G p (s )
-
3
Dr. Ali Karimpour May 2013
Lecture 16
Gc 2 ( s ) Controlled
process
r(t) + e(t) + u(t) c(t)
Gc1 ( s ) G p (s )
- +
Controller
4
Dr. Ali Karimpour May 2013
Lecture 16
Lead-lag Compensators
کنترلر پیش فاز پس فاز
a s 1 sz
G ( s) k or G ( s) k
s 1 s p
7
Dr. Ali Karimpour May 2013
Lecture 16
Vo ( s ) Z f ( s)
G( s)
Vi ( s ) Z i ( s)
8
Dr. Ali Karimpour May 2013
Lecture 16
Vo ( s ) Z f ( s)
G (s)
Vi ( s ) Z i (s)
Vout ( s) Rf
G(s) K p
Vin ( s ) Rin
Vout ( s ) R
G (s) RCs K D s
Vin ( s ) 1 / Cs
Vout ( s ) 1 / Cs
G ( s) 1 / RCs K i / s
Vin ( s ) R
9
Dr. Ali Karimpour May 2013
Lecture 16
Vo ( s ) Z f (s)
G (s)
Vi ( s ) Z i (s)
1
R2
Vo ( s ) C2 s
G ( s)
Vi ( s ) 1
1
C1s
R1
R2C2 R1C1 1
G ( s ) ( ) R2C1s
R1C2 R1C2 s
10
Dr. Ali Karimpour May 2013
Lecture 16
Effects of the PD control on the time response.
بر پاسخ زمانیPD تاثیر کنترلر
Step Response
R (s)+ E (s) C (s )
c(t ) 2
+ n 2
KP
- s( s 2n )
plitude
+ 1
Am
KDs
0
0 5 10 15 20 25 30
PD controller Time (sec)
e(t ) Step Response
1
plitude
0
Am
the oscillation. -1
0 5 10 15 20 25 30
Time (sec)
e(t ) 0.5 Impulse Response
-0.5
Am
-1
0 5 10 15 20 25 30
Time (sec) 11
Dr. Ali Karimpour May 2013
Lecture 16
Loop transfer function without controller Loop transfer function with controller
n
2
n
2
KPs KI
G (s) Gc ( s)G ( s)
s ( s 2n ) s s ( s 2n )
Ziegler-Nichols Design
طراحی زیگلر نیکولز
This procedure is only valid for open loop stable plants.
Open-Loop Tuning
Closed-Loop Tuning
According to Ziegler and Nichols, the open-loop transfer
function of a system can be approximated with time delay
and single-order system, i.e.
15
Dr. Ali Karimpour May 2013
Lecture 16
Kp Ki Kd
T1
P KTD
0.9T1 0.27T1
PI KTD KTD
2
16
Dr. Ali Karimpour May 2013
Lecture 16
Numerical Example
مثال عددی
Consider step response of an open-loop system as:
40e sTD
So : K 40 C ,
TD 5 sec, T1 20 sec G (s)
1 20s
17
Dr. Ali Karimpour May 2013
Lecture 16
Numerical Example
مثال عددی
40e sTD
So : K 40 C ,
TD 5 sec, T1 20 sec G (s)
1 20s
Kp Ki Kd
T1
P KTD
0.1 K P ( s ) 0.1
0.9T1 0.27T1 0.0054
PI KTD
0.09
KTD
2
0.0054 K PI ( s) 0.09
s
1.2T1 0.6T1 0.6T1 0.012
PID KTD
0.12
KTD
2
0.012
K
0.3 K PID ( s ) 0.12
s
0.3s
18
Dr. Ali Karimpour May 2013
Lecture 16
Ziegler-Nichols Oscillation
نوسانی)حلقه نیکولز بروشMethod(Closed-loop)
طراحی زیگلر
(بسته
This procedure is only valid for open loop stable plants
and it is carried out through the following steps
Set the true plant under proportional control, with a very
small gain.
Increase the gain until the loop starts oscillating. Note
that linear oscillation is required and that it should be
detected at the controller output.
Record the controller critical gain Kc and the oscillation period of the
controller output, T.
Adjust the controller parameters according to Table
19
Dr. Ali Karimpour May 2013
Lecture 16
Ziegler-Nichols Oscillation
نوسانی)حلقه نیکولز بروشMethod(Closed-loop)
طراحی زیگلر
(بسته
Kp Ki Kd
P 0. 5 K c
Kc
PI 0.45 K c 0.54
T
Kc
PID 0.6 K c 1. 2
T
0.075 K cT
20
Dr. Ali Karimpour May 2013
Lecture 16
Numerical Example
مثال عددی
Consider a plant with a model given by
21
Dr. Ali Karimpour May 2013
Lecture 16
Solution حل
22
Dr. Ali Karimpour May 2013
Lecture 16
Amplitude
2.65
C PID ( s ) 4.8 2.17 s
s 0.5
2.65 2.17 s
C PID ( s) 4.8 0
0.01 2.17 s 1
0 5 10 15
s Time (sec)
23
Dr. Ali Karimpour May 2013
Lecture 16
k 0 45 k 0
45
-25 0
12.5 2 12.5 2
40k ? k 7.8125 k
1
24
Dr. Ali Karimpour May 2013
Lecture 16
k 62.5
25
Dr. Ali Karimpour May 2013
Lecture 16
40 40k P
kv lim s (k P k D s ) 100 k P 62.5
s 0 s ( s 25) 25
40 s
1 kD 2 0
s 25s 2500 27
Dr. Ali Karimpour May 2013
Lecture 16
48.4
kD 0
k D 1.1426
kD 0
28
Dr. Ali Karimpour May 2013
Lecture 16
40 s
1 kD 0 s 2 (25 40k D ) s 2500 0
s 25s 2500
2
45.7
2n 25 40k D 70.7 kD 1.1425
40 29
Dr. Ali Karimpour May 2013
Lecture 16
Clearly kv 100
Step Response
1.4
C ( s ) 40(1.1425s 62.5)
0.8
2
Amplitude
0.6
R ( s ) s 70.7 s 2500
0.4
0.2
30
0 Dr. Ali Karimpour May 2013
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16
Lecture 16
(s kI / kP ) 40 k
1 kP 0
s s( s 25)
Let k I / k P 12.5
kI / kP 2 k 0 45 k 0
No important change in root loci
-25 45 0
( s 2) 40
Root loci with PI controller 1 kP 0
s s ( s 25)
k
k 0 45 k 0
-11.5
-25 -10.9 -4.6 45 0
k
33
Dr. Ali Karimpour May 2013
Lecture 16
Clearly kv
Step Response
1.2
C ( s) 338( s 2)
0.8
3
Amplitude
0.6
R ( s ) s 25s 2 338s 676
0.4
0.2
Poles are : 2.37 , 11 .3 12.5 j
0
34
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
Dr. Ali Karimpour May 2013
Time (sec)
Lecture 16
Compare PI and PD PI
controllers
مقایسه کنترلرهای
PD و
R(s)+ E (s ) 40 C (s) R (s)+ E (s ) C (s )
k 40
kP kD s kP I
- s( s 25) - s s ( s 25)
k P 62.5 k D 1.1425 k P 8.45 k I 16.9
Step Response
1.4
With PI controller
1.2
With PD controller
0.8
Amplitude
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
35
Time (sec)
Dr. Ali Karimpour May 2013
Lecture 16
Exercises
تمرینها
36
Dr. Ali Karimpour May 2013
Lecture 16
Exercises
تمرینها
37
Dr. Ali Karimpour May 2013
Lecture 16
Exercises
تمرینها
38
Dr. Ali Karimpour May 2013
Lecture 16
Exercises
تمرینها