Sie sind auf Seite 1von 41

4/6/09 Edited by D. H.

Chen 1
Aspen DMC Plus
Dynamic Modeling
4/6/09 Edited by D. H. Chen 2
Open-Loop Testing
Finite Step Response (FSR) Model

t
MV
i=0 i=1 i=k
...
CV
4/6/09 Edited by D. H. Chen 3
Step Response Model
The simplest identification is to make a step
change of MV and observe the change in CV in
open loop
From MV and CV data a model vector a
is obtained


4/6/09 Edited by D. H. Chen 4
Prediction
Lets assume several MV moves are carried out
at t = 0, t = t, t = 2 t , where t = sampling time
The matrix A is derived from the vector a by
adding columns starting at later times preceded
by 0s and by adding the final steady state values
to all preceding columns
By assuming linear behavior (proportional &
additive, i.e., super-imposing), then CV =
A*MV
4/6/09 Edited by D. H. Chen 5
Model Predictive Control - Prediction
CV^1
CV^2
CV^3
.
.
.
CV^i
=
a1 0 0
a2 a1 0
a3 a2 a1
.
.
.
.
.
.
.
.
.
ai ai-1 ai-2
MV^1
MV^2
MV^3
4/6/09 Edited by D. H. Chen 6
Given an open-loop DMC model coefficient vector a = (0.5, 2.0, 3.5, 4.5, 5.0) between an MV

and a
CV

and the following known MV moves MV = (3, 2, 1, 1), determine A
T
, CV
3
and CV
5
4/6/09 Edited by D. H. Chen 7
4/6/09 Edited by D. H. Chen 8
Open-Loop Model Identification (1)
In real world tests, many MV moves and CV
changes are recorded.
MV is a matrix with the first column recording
all the MV moves, the 2nd column starting with 0,
then the same MV moves, the 3rd column
starting with 0, 0, then the same MV moves, etc.
a is a model vector to be determined.
4/6/09 Edited by D. H. Chen 9
Open-Loop Model Identification (2)

MV* a = CV
For known CV and MV, a can be solved

4/6/09 Edited by D. H. Chen 10
Open-Loop Model Identification (3)
There are more equations in MV* a = CV
than unknowns (elements in a ). This is called
an over-determined system.
An over-determined system is typically
encountered in regression.
The system is reformulated as The Normal Equation:
MV
T
*MV* a = MV
T
*CV
4/6/09 Edited by D. H. Chen 11
Open-Loop Model Identification (4)
In the previous slide, There are 7 equations in
MV* a = CV and 4 unknowns (elements in a).
There are 7 MV moves (I
1
-I
0
= MV
1
, I
2
-I
1
=
MV
2
, etc.), 7 CV changes (CV
1
,, CV
7
) and
4 elements in a (a
1
, a
2
,

a
3
, a
4
).
MV is a 7X4 matrix, a is a 4X1 vector, and
CV is a 7X1 vector.
4/6/09 Edited by D. H. Chen 12
Open-Loop Model Identification (5)
So the problem is reformulated as MV
T
*MV* a =
MV
T
*CV
MV
T
is the transpose of MV. Transpose is the mirror
image of the original matrix w.r.t. its main diagonal. An
element originally in the i,j position (ith row, jth column)
will be placed in the j,i position (Jth row, ith column). So
MV
T
is a 4x7 matrix.
The reformulated system MV
T
*MV is 4x4 and
MV
T
*CV is 4x1. We have an exactly-determined
system that can be solved by Gaussian Elimination. This
equation is called the normal equation derived from the
least-squares principle.
4/6/09 Edited by D. H. Chen 13
4/6/09 Edited by D. H. Chen 14
4/6/09 Edited by D. H. Chen 15
4/6/09 Edited by D. H. Chen 16
FIR Model Identification (1)
In Finite Impulse Response model, the difference of
successive CV responses is taken. Therefore, the
identification equations become CV = CV^ =
MV* a = MV* b
We solve MV
T
*MV* b = MV
T
*CV^
Then a
1
= b
1
,

a
2
= b
1
+ b
2
,

a
3
= b
1
+ b
2
+ b
3
, etc.
4/6/09 Edited by D. H. Chen 17
FIR Model Identification (2)
There are 7 equations in MV* b = CV^ and 4
unknowns (elements in b ).
There are 4 MV moves (I
1
-I
0
= MV
1
, I
2
-I
1
=
MV
2
, etc.), 7 successive CV changes (CV^
1
,, CV^
7
) and 4 elements in b (b
1
, b
2
,

b
3
, b
4
).
MV is a 7X4 matrix, b is a 4X1 vector, and
CV^ is a 7X1 vector.
4/6/09 Edited by D. H. Chen 18
4/6/09 Edited by D. H. Chen 19
4/6/09 Edited by D. H. Chen 20
4/6/09 Edited by D. H. Chen 21
Simultaneous Identification Structure
The simultaneous identification in the previous
slide has this partitioned structure
CV^
1
= [MV
1
MV
2
] * b
1

b
2

Two MVs are moved at the same time for one
CV response. We determine both model
coefficients at the same time.
4/6/09 Edited by D. H. Chen 22
4/6/09 Edited by D. H. Chen 23
DMC Identification, Prediction, and
Control Law
MV
T
*MV* b = MV
T
*CV^ Identification
CV = A* MV Prediction
A
T
*A* MV = A
T
*(CV
Target
- CV
Open
) Control
CV
Open
is the anticipated CV change from MV
already implemented up to the present time.
4/6/09 Edited by D. H. Chen 24
4/6/09 Edited by D. H. Chen 25
4/6/09 Edited by D. H. Chen 26
Smoothing
The identified coefficients may not be a
smooth curvebecause they are just
numbers from regressions!
Smooth factor tries to make a smoothed
curve
4/6/09 Edited by D. H. Chen 27
4/6/09 Edited by D. H. Chen 28
4/6/09 Edited by D. H. Chen 29
4/6/09 Edited by D. H. Chen 30
4/6/09 Edited by D. H. Chen 31
4/6/09 Edited by D. H. Chen 32
4/6/09 Edited by D. H. Chen 33
4/6/09 Edited by D. H. Chen 34
4/6/09 Edited by D. H. Chen 35
DMC Model File Structure
4/6/09 Edited by D. H. Chen 36
4/6/09 Edited by D. H. Chen 37
Example
4/6/09 Edited by D. H. Chen 38
4/6/09 Edited by D. H. Chen 39
4/6/09 Edited by D. H. Chen 40
4/6/09 Edited by D. H. Chen 41

Das könnte Ihnen auch gefallen