Beruflich Dokumente
Kultur Dokumente
Analysis and Design of Linear Control System Part2Spring, 2012 Instructor: Prof. Masayuki Fujita (S5-305)
Lecture Time and Place: Tuesday, 10:4512:15, S224 Schedule: 10th, 24th, 31st, July TA: Tatsuya Ibuki, Yasuaki Wasa (S5-302)
10 PID Control
Keyword : PID Control, Ziegler Nichols Tuning
d
C ( s)
1
PID Control
F (s)
u
y
P( s)
F =1
Controller
ki s k
p
Controller
P( s)
kd s
Process
Fig. 11.1
P( s) : Process
de de 1 t u = k p e + k i e ( ) d + k d e + e ( ) d + Td = kp 0 0 dt Ti dt (10.1) k p : proportional gain k i : integral gain Ti : integral time k d : derivative gain Td : derivative time
t
e=ry
C ( s) = k p +
ki + kd s s
(10.4)
PID Control
ki s k
p
Controller
P( s)
kd s
1
Past Present Future
Fig. 1.17
Based on a survey of over eleven thousand controllers in the refining, chemicals and pulp and paper industries, 97% of regulatory controllers utilize PID feedback. [L. Desborough and R. Miller, 2002]
Fig. 10.2
L = kc P( s) u = k p e + T i
t 0
e ( ) d + T d
de dt
(10.1)
(10.1)
T
Fig. 10.7 (a) Tab. 10.1 (a) Fig. 10.7 (b) Tab. 10.1 (b)
: time delay
a / : steepest slope
a / = K / T
a = K / T
Step1 Integral and derivative gains are set to zero Step2 Increase proportional gain kc until the system starts to oscillate Step3 From fig. 10.7(b) c is the frequency which L = kc P( s ) intersects the critical point Tc = 2 / c Relay Feedback
[Ex. 10.4] Atomic force microscope in tapping mode 1 e sTn P( s) = sTn ( s + 1) Tn = 2n ( = 0.002 , n = 20)
Ziegler Nichols Tuning
Fig. 3.14 (a)
kc = 21.7 Tc = 0.48
PI Controller
1 u = kp e + T i
t 0
e ( ) d + T d
de dt
(10.1)
- Nathaniel B. Nichols (1914-1997) Born in Michigan B.S degree from Central Michigan University in1936 M.S degree from the University of Michigan in1937 An Honorary Doctor of Science degree from Central Michigan University in1964 An Honorary Doctor of Science degree from Case Western Reserve University in1968 Professional Automatic control, automatic radar tracking Fire control computers, power-driven servomechanisms Industrial process controllers ,spacecraft attitude controls Well known for Ziegler Ziegler and Nichols PID tuning Nichols chart (created to facilitate the calculation of Closed-loop frequency response in Aerospace Corporation)
Windup
The control variable reaches the actuator limits Output is saturated The integral term and the controller output become very large (windup)
Fig. 1.17
Implementation Filtering the Derivative Ideal derivative High gain for high-frequency sig. High-frequency measurement noise will generate large variations
[dB]
Anti-Windup
kd s
k d s /(1 + sT f )
20 log k d / T f 20 log k d
kd s
+ 20dB/dec
k d s /(1 + sT f )
1 T f [ rad / s]
es : error signal
es = 0
No saturation When the actuator saturates, the signal es is fed back to the integrator in such a way that es goes toward zero
Fig. 10.11
(10.13)
[dB]
20dB/dec
| C(j) |
t dr dy u = k p (r y ) + k i (r ( ) y ( ) )d + k d 0 dt dt
: reference weight
: setpoint weight
1T I
20dB/dec 1 T D T f [ rad / s]
Computer Implementation
dy 1 u = k p ( r y ) + k i (r ( ) y ( ) )d + k d 0 dt (1 + sT f )
t
Performance
y
k p ( r y ) P(t k ) = k p (r (t k ) y (tk ) )
C ( s)
1
u
y
P(s)
L ( j )
1.7 p gc 0.6 z
1.2
k i (r ( ) y ( ) )d
t 0
Controller
h (sat (v) v ) Tt Tt = h / kt : anti windup term
Fig. 10.11
Process
Fig. 11.1
I (t k +1 ) = I (t k ) + ki he(t k ) +
PID Controller
r
ki / s
Robust Stability
h : sampling time
1 dy kd dt (1 + sT f ) Tf k D(t k ) = D (t k 1 ) d ( y (t k ) y (t k 1 ) ) Tf + h Tf + h
kp
P(s)
kd s
Controller
1
Fig.10.1 (a)
pole: b , zero: a s+a corner freq.: a , b (11.12) C (s) = k (break point) s+b b < a : Lag compensator b = 0 PI controller 40 Lag
pole: b , zero: a s+a corner freq.: a , b (11.12) C (s) = k (break point) s+b a < b : Lead compensator If s of a denominator equals to
20 10
10 20
: PD controller PD controller
20 0
PI
20
Lead compensator
Lead
PD
90 60 30 0
Lead and Lag Compensator s + a1 s + a 2 C (s) = k s+b a1 < b1 1 s + b2 a 2 > b2 Lead compensator + Lag compensator PID Conditional Stability Lag
Integral Windup Derivative Factor, etc. Derivative has a high gain for high freq. signals Filtering
(s + a )n (s + b )n
a<b
Lead
Frequency response ( C ( s ) )
kd s
Tf =
kd / k , N 2 20 N
kd s 1 + sT f
n=3
Frequency response ( C ( s ) )
k 1 e.g. C ( s ) = k p + i + k d s 2 2 s T f / 2s + T f s + 1
1.2
gc = 4
-60
PI controller k p s + ki C pi ( s) = k p = 3.5 s improve phase margin (by k p ) m = 45 bound on the crossover frequency
102
10 1
100
101
10 2
[Ex. 11.5] Atomic force microscope in tapping mode PI controller System dynamics k p s + ki s C pi ( s) = a 1 e P( s) = s s ( s + a ) ki = 8.3 k p = 3.5
sensitivity
(M s < 2 )
1.6
(M T
T
1.3
< 1.25)
[Ex. 11.5] Atomic force microscope in tapping mode PI controller Integral controller k p s + ki ki C pi ( s) = Ci ( s ) = s s k = 8.3 k = 3.5
i p
load sensitivity
PS
Fig. 11.10 (b) Gang of Four
0.3 P
CS 6
P 1
Step response