Documente Academic
Documente Profesional
Documente Cultură
Centre for Systems and Control University of Glasgow Email: P.Gawthrop@eng.gla.ac.uk WWW: Peter: www.mech.gla.ac.uk/peterg CSC: www.mech.gla.ac.uk/Control
From Smiths predictor to model-based predictive control ' Outline Classical predictive control A simple system with time delay Smiths predictor oms predictor Astr Time delay emulation Model-based predictive control Intermittent control References [n] in notes & Delay Equations
From Smiths predictor to model-based predictive control ' A System with Delay SISO, LTI. (1) (2) Delayed input State-space (1) Transfer-function (2) T Delay value esT Time delay
(s) esT B A(s) system
X (t ) = AX (t ) + BU (t T ) Y (t ) = CX (t ) + D(t ) y(s) = e
sT
d u B(s) A(s) + + y
e
& Delay Equations
sT
sT
com-
(3)
(4)
From Smiths predictor to model-based predictive control ' Smiths Predictor [2, 3]
d w + sT B(s) (1 e ) A(s) u K(s) B(s) A(s) + + y
sT
T Delay value K (s) Controller d disturbance u control signal w Setpoint y system output (5) y prediction p (6) prediction error %
yp
sT B(s) u y p = y + (1 e ) A(s)
= 1 esT d
From Smiths predictor to model-based predictive control ' Smiths Predictor: equivalent diagram
d w + yp + + e +sT u K(s) B(s) A(s) + + y
sT
+ Delay removed from denominator - Initial conditions A(s) ignored - So no good if system unstable
From Smiths predictor to model-based predictive control ' oms Predictor[4] Astr
d w + E(z)B(z) C(z) + u K(z)
k
B(z) A(z)
F(z) C(z)
yp
(10)
Impulse response
z kE(z)
Time
10
15
20
25
30
(11) (12)
From Smiths predictor to model-based predictive control ' Emulator-based control[10, 11]
v w u K(s) C(s) A(s)
sT
B(s) A(s)
Continuous-time
F(s) C(s)
G(s) C(s)
yp
sT e E(s)
Impulse response
Time
(15) (16)
From Smiths predictor to model-based predictive control ' Continuous-time Finite Impulse Responses
F(s) A(s) FIR
0.3
sT e E(s)
Impulse response
Time
(17) (18)
From Smiths predictor to model-based predictive control ' Emulator: equivalent diagram
d w + yp + + e +sT u K(s) B(s) A(s) + + y
sT
+ Delay removed from denominator + Initial conditions C(s), not A(s) + So OK even if system unstable
A(s) d C(s)
12
Emulator-based Predictor removes delay esT from denominator accounts for initial conditions sensitivity analysis? [3] Extensions: can emulate est Prediction P(s) Improper transfer function
1 B (s)
Self-tuning Control [10, 11, 17] & Delay Equations Cannot predict further ahead than T 13 and their Applications %
From Smiths predictor to model-based predictive control ' Model-based Predictive Control Background Long history [16, 18, 19, 20] Related to Generalised Predictive Control[21, 22, 23] Related to Open-loop feedback optimal control[24, 25] Mostly discrete time[18] Continuous time possible [26, 27, 28] Predicts ahead further than the time delay Trajectory based Current research on Intermittent Predictive Control Overcomes delay due to optimisation & Delay Equations Physiological interpretation 14 and their Applications
From Smiths predictor to model-based predictive control ' Parameterising the control signal[29]
1.2 1 0.8 Basis functions 0.6 0.4 0.2 0 0.2 0.4 0.6 0 2 4 Time 6 8 10
u (t , ) Control signal U () Basis funs U (t ) Parameters be optimised t Actual time (20) Time-to-go to
15
y(t)
y* (t, )
* Moving horizon
t
d dt x(t ) = Ax(t ) + Bu(t ) y(t ) = Cx(t ) = x0
21 Fixed axes 22 Moving axes x0 = x(t ) (21) u(t ) = u (t , 0) Optimise in moving axes in
d d x (t , ) = Ax (t , ) + Bu (t , ) = Cx (t , ) y (t , ) = x0 x (t , 0) 16
x(0)
Optimisation 23 Output cost Z 1 2 J (U (t )) = y (t , ) w (t , ) d (23) 24 Input cost 2 1 Z 1 2 25 Terminal cost (24) + u (t , ) d 2 1 26 Input constraint (25) 27 Output constraint + (x (t , 2 ) xw ())
P
(t , uk ) u (t , uk ) u (t , yk ) y (t , yk ) y
(26) QP to (27) U (t )
determine
17
From Smiths predictor to model-based predictive control ' Intermittency[30, 31, 32, 33] In predictive control Continuous-time predictive control algorithms have the apparently fatal drawback that optimisation must be completed within an innitesimal time. However, this problem can be overcome using intermittent control [30] In physiological control A nite interval of time is required by the CNS [central nervous system] to preplan the desired perceptual consequences of a movement ... This behaviour introduces intermittency into the planning of movements. [31] & Delay Equations Neither continuous-time nor discrete-time 18 and their Applications
ti
ol i
ti+1
ith measurement End ith i+1th measurement End i+1th Start optimisation optimisation Start optimisation optimisation
i1 (i1 )
i < i i i
u (i ) i
(28) %
19
From Smiths predictor to model-based predictive control ' A Physical System Lego Mindstorms Cart-Pendulum System legOS posix-compliant real-time kernel compute u(t ) Laptop Optimisation compute U (t ) estimate state X (t ) estimate parameters IR connection to laptop send U (t ). & Delay Equations
20
w: Unit step y: System output Angle and position u: System input ol (= 1.0): Openloop interval estimate state X (t ) estimate parameters computational delay
1.0 2.0 3.0 4.0 5.0 6.0 Time (s) 7.0 8.0 9.0 10.0
21
From Smiths predictor to model-based predictive control ' Summary Model-based predictive control Continuous-time setup Basis function approach Moving axes optimisation Intermittent control Framework for MPC Combines best of continuous-time & discrete-time Physiological control systems Engineering applications ... & Delay Equations
22
References
[1] G. F. Franklin, J. D. Powell, and A. Emami-Naeini. Feedback Control of Dynamic Systems (3rd edition). Addison-Wesley, 1994. [2] O. J. M. Smith. A controller to overcome dead-time. ISA Transactions, 6 (2):2833, 1959. [3] J. E. Marshall. Control of Time-delay Systems. Peter Peregrinus, 1979. om. Introduction to Stochastic Control Theory. Academic Press, [4] K. J. Astr New York, 1970. om and B. Wittenmark. On self-tuning regulators. Automatica, [5] K. J. Astr 9:185199, 1973. om, U. Borihson, L. Ljung, and B. Wittenmark. Theory and [6] K. J. Astr application of self-tuning regulators. Automatica, 1977. [7] D. W. Clarke and P. J. Gawthrop. Self-tuning controller. IEE Proceedings Part D: Control Theory and Applications, 122(9):929934, 1975. Delay Equations 22-1 and their Applications
Delay Equations
22-3
Delay Equations
22-5
Delay Equations
22-6