Escolar Documentos
Profissional Documentos
Cultura Documentos
3
When Should Predictive Control be
Used?
1. Processes are difficult to control with
standard PID algorithm long time
Chapter 20
5
Model Predictive Control: Basic Concepts
9
Model Predictive Control Originated in 1980s
10
Dynamic Models for
Model Predictive Control
Could be either:
1. Physical or empirical (but usually empirical)
Chapter 20
11
General Characteristics
Targets (set points) selected by real-time
optimization software based on current
Chapter 20
12
Can include equality and inequality
constraints on controlled and manipulated
variables
Solves a quadratic programming problem at
Chapter 20
13
Discrete Step Response Models
u Process y
14
Discrete-Time Models
Finite impulse response (convolution) model is given
by
N
y k = hk -i uk -i
Chapter 20
i=1
Denote the sampled values as y1, y2, y3, etc. and u1,
u2, u3, etc. The incremental change in u will be
denoted as
Duk = uk uk-1
15
Chapter 20
16
In Fig. 7.14,
Si
hi
Chapter 20
Note: hi = Si Si-1
y1 = y0 + S1Du0
y2 = y0 + S2Du0 (Du0 = 1 for unit step
. . change at t = 0)
. .
. .
yn = y0 + SnDu0
17
Alternatively, suppose that a step
change of Du1 occurred at t = Dt. Then,
y2 = y0 + S1Du1
y3 = y0 + S2Du1
Chapter 20
. .
. .
. .
yN = y0 + SN-1Du1
y1 = y0 + S1Du0
y2 = y0 + S2Du0 + S1Du1
y3 = y0 + S3Du0 + S2Du1
. .
. .
. .
yN = y0 + SNDu0 + SN-1Du1
19
Prediction for SISO Models:
Example: Step response model
N 1
y(k +1 ) y0 Si Du( k i 1 ) S N u( k N 1 ) (20-1)
i 1
Chapter 20
20
Prediction for SISO Models:
Example: Step response model
N 1
y(k +1 ) y0 Si Du( k i 1 ) S N u( k N 1 ) (20-1)
Chapter 20
i 1
21
Prediction for SISO Models:
(continued)
Similarly, the j-th step ahead prediction is Eq. 20-10:
j N 1
y (k j ) Si Du(k j i) Si Du(k j i) S N u (k j N )
Chapter 20
i 1 i j 1
Effects of current and Effects of past
future control actions control actions
Define vectors:
Y (k + 1 ) = SU (k) Y o (k + 1 ) (20-19)
S1 0 0
S2 S1 0
0
S SM S M -1 S1 (20-20)
S M +1 SM S2
SP S P-1 S P-M +1
24
Bias Correction (Unmeasured Disturbance)
25
EXAMPLE 20.4
The benefits of using corrected predictions will be illustrated by a simpl
example, the first-order plus-time-delay model of Example 20.1:
Y(s) 5e-2s
= (20-26)
U(s) 15s 1
Assume that the disturbance transfer function is identical to
Chapter 20
Y(s) 4e-2 s
= (20-27)
U(s) 20s 1
26
Chapter 20
30
Chapter 20
32
MPC Control Calculations
o (k + 1 )
E Yr (k + 1 ) Y o (k + 1 ) (20-51)
Note that all of the above vectors are of dimension, mP.
The objective of the control calculations is to calculate the
control policy for the next M time intervals:
DU (k) = ( S T Q S R ) -1 S T Q E o (k +1 ) (20-55)
Chapter 20
where:
U (k) col [u(k),u(k +1 ), ,u(k + M - 1 )] (20-18)
r mP
Note that the controller gain matrix, Kc, is an rM x mP matrix.
.
36
Selection of Design Parameters
Model predictive control techniques include a number of
design parameters:
N: model horizon
Chapter 20
t: sampling period
P: prediction horizon (number of predictions)
M: control horizon (number of control moves)
Q: weighting matrix for predicted errors (Q > 0)
R: weighting matrix for control moves (R > 0)
37
Selection of Design Parameters (continued)
1. N and t
These parameters should be selected so that N t > open-
loop settling time. Typical values of N:
30 < N < 120
Chapter 20
2. Prediction Horizon, P
Increasing P results in less aggressive control action
Set P = N + M
3. Control Horizon, M
Increasing M makes the controller more aggressive and
increases computational effort, typically:
5 < M < 20
4. Weighting matrices Q and R
Diagonal matrices with largest elements corresponding to most
important variables
38
Example 20.5: set-point responses
e-s
G(s) =
(10 s +1)(5s +1)
Chapter 20
39
Example 20.5: disturbance responses
Chapter 20
40