Capitulo 9 Control
Capitulo 9 Control
M. Soroush
Drexel University, Philadelphia, Pennsylvania
P. Daoutidis
University of Minnesota, Minneapolis, Minnesota
9.1. Introduction
Controller
w ? u
> r
Directionality
Compensator
9.2.1. Directionality
The phenomenon of directionality usually occurs in multiple-input
multiple-output (MIMO) plants. In single-input single-output (SISO) plants
9.2.2. Windup
x = f(x)+g(x)u
y = h(x)
where x = [xi xn}T e X C 3? nxl , u = [HI um]T U C 5? mxl
and y = [yi ym]T 3 mxl are the vectors of state variables, plant
inputs (manipulated inputs), and controlled outputs respectively. Here
U = {u\uie <ue< Uhn =!,-,m}, where u\n u^n t = 1, ,m, are
scalar constant quantities, and X is an open connected set. A controller
output w is said to be feasible, if and only if w e U. It is assumed that:
gi(x), , gm(x), h(x) and f ( x ) are smooth vector functions, where gj(x]
represents the j th column of the matrix g(x); the plant is minimum phase
(has asymptotically stable zero dynamics); each controlled output yi has
a finite relative order (degree) r, which is the smallest integer for which
ri l ri l
locally \Lg
[ lL jf ~ hi(x}--LqrnL
r nf ~ hi(x]\
/ j
^ 0; the characteristic (decou-
pling) matrix of plant is locally nonsingular. The characteristic matrix is
an m x m matrix whose r/ th entry is Lg}Lr,'~1hi(x}] it will be denoted by
C(x). Here Lf and Lg/ are Lie derivative (in the directions of the vectors
/ and gj respectively) operators.
9.3.2. Directionality
Definition 9.1. A plant in the form of (9.1) does not exhibit direc-
tionality, if and only if for every plant input it; G 5RTO x 1 the response of the
plant to sat (it;) is closest (in the output space) to the response of the same
plant to it;.
For a plant in the form of (9.1), let y|(r) and yt(r}, r > t, represent
the predicted values of a controlled output yi when the plant is subjected
(9.2)
t+Th.
A
\pt.
and gi, , g m , are adjustable positive scalar parameters whose values are
set according to the relative importance of the controlled outputs: the
higher the value of a qg, the smaller the mismatch between the constrained
and unconstrained plant responses in ye (the lesser the effect of the con-
straints on the ye response).
Theorem 9.1. [18,21] For a plant of the form of (9.1), at each time
instant t given an unconstrained controller output w, the optimal feasible
plant input, denoted by w + , that minimizes the performance index in (9.2)
subject to the constraints of (9.3), is the solution to the m-dimensional
quadratic program:
mm \QC(x}u - QC(x)w (9.4)
u
subject to
m (9.5)
where Q is a constant m x m diagonal matrix given by
Controller
w Optimal
Directionality
Compensator
u
>
r
i(
X
The quadratic program of (9.4) and (9.5) is trivially solvable. For ex-
ample, one can use the computationally efficient, simple method described
in [21].
Theorem 9.1 indicates that at each time instant, the optimal feasible
plant input, u+, is calculated on the basis of C(x) and a given unconstrained
controller output w. Let J-[C(x),w] denote the solution to the quadratic
program of (9.4) and (9.5). Then, u+ ^"[C(x),^] represents the optimal
directionality compensator. Thus, the characteristic matrix plays a key role
in the optimal directionality compensation: to calculate an optimal feasi-
ble plant input in a nonlinear plant, given a controller output, one needs to
know the characteristic matrix and measurements of the state variables of
the plant (see also Figure 2). It is the nature of the characteristic matrix,
not that of steady state gain matrix, that determines when it is optimal to
use the clipping approach for directionality compensation. It is noteworthy
that the characteristic matrix and the steady state gain matrix characterize
two different aspects of plant behavior; the former characterizes the sensi-
tivity of plant to input changes over a very short horizon and the latter over
an infinite horizon. Structural properties such as singular values and the
condition number of the steady state gain matrix and relative gain array
also characterize the plant response over an infinite horizon. Using steady
state structural properties as a basis for selecting either of the approaches
may lead to a very poor closed-loop performance, unless one uses a steady
state controller.
Remark 9.1. For the class of plants with diagonal characteristic ma-
trix, the optimal directionality compensator is identical to m limiters (clip-
pers), i.e.
Thus, for this class of plants the feasible plant input that is closest (in
the plant input space) to the unconstrained controller output iy, yields
an optimal plant response (i.e. one that is closest to the response of the
Optimal
Controller
w
Directionality u
Compensator
>
_T
Figure 3: Optimal directionality compensation in linear systems.
same plant to the unconstrained controller output w). In other words, this
class of plants do not exhibit the directionality, and thus in the presence
of input constraints their closed-loop performance is not degraded by the
directionality.
Remark 9.2. In the case that the weights qi, , qm are chosen such
that
qt\\(T-ty
that is, when the controlled outputs are of equal importance irrespective
of the values of their relative orders (ri, , r m ), the quadratic program of
(9.4) and (9.5) takes the simple form:
x = Ax + Bu
(9.7)
y =Cx
where A, B and C are nxn, n x m and mxn matrices respectively, the
characteristic matrix
C =
matrix will be diagonal, if and only if the diagonal element of every row of
the transfer function matrix has the absolutely lowest relative order in that
row, where relative order of a rational function is the difference between
the orders of the numerator and denominator polynomials of the function.
I 40 -300
P(8) = (9.8)
100s + 1 -1 40
[ 0.4 -3.0
-0.01 0.4
iu-
7-
4- (^-r----~'-~*""""~ '"-^
1- .-'' ..---"'
-2-
5_ 1 1 1 1
5_
-
CM 1- f.^-
>
-1-
-3-
5_ 1 1 1 1
1 0i
1.1- 1
1 "-l.^
'
0.9- \ /^
0.8-
0 7_
vyi i i i
1 R^
0.5-
1-
U-
v' __
O c_
(D
i
60
i
120
i
180
i
240 3C
I
dt y*
dS2 (9.9)
dt YX / S 2
dX
= fjL(S1,S2)X-X(D1+D2]
S2
n _
Sf1 Si Si
S2 5/2 52
Figure 5 depicts the startup profiles of the controlled outputs and plant
inputs of the bioreactor under the same nonlinear controller but three dif-
ferent directionality compensators. In the presence of the input constraints,
clipping (dashed line) cannot operate the plant at the steady state (leads a
very poor closed-loop response), and direction preservation (dotted-dashed
line) results in a relatively better performance compared to that of clipping.
However, the closed-loop performance under the optimal directionality com-
pensator is of higher quality; it is the closest response to that represented
by the solid line (obtained in the absence of the plant input bounds).
4
<?- 3-
g> 2-
4-
CN
co 2
0-
0.8-
^ 0.6-
0
Tima h
Figure 5: Profiles of the controlled outputs and plant inputs of the biore-
actor example of (9.9): solid = no bounds on the inputs; dotted = clipping,
dotted-dashed = direction preservation, and dashed = optimal directional-
ity compensation, when 0 < Di,D2 < 0.4 h'1.
u~rrr 11ysp CQ 10")
i^y.iuj
det< I -\
Let the solution for u of (9.11) be denoted by the following state feedback
law:
(9.12)
where
A 1-1
ysp - h(x]
(9.13)
(9.14)
det{I 5
^ 7m j =0
j 1
Theorem 9.2. Consider a plant with a model of the form of (9.1) and
the dynamic controller:
,U), 77(0) =
w= (9.15)
A
where e ysp y. Then,
(a) the controller has integral action, i.e. in the presence of constant
disturbances and model errors, induces an offset-free closed-loop re-
sponse [24,25].
(b) when the constraints are not active, and (3u = 7^, ^ = 1, , TJ, i =
1, ,ra, and its states are initialized consistently, the controller in-
duces the linear input-output closed-loop response of (9.10) [24,25].
(d) when the constraints are active, the origin of the closed-loop system is
locally asymptotically stable, provided that the state feedback law of
(9.12) is also locally asymptotically stabilizing and the poles of (9.14)
are placed sufficiently far left in the complex plane [10].
CA = f i ( C A , T ) + T-CAi
l (9-16)
r=/ a ( c A ,r) + Q
where CA and CAi are respectively the outlet and inlet concentrations of
the reactant, T is the outlet stream temperature, and Q is the rate of heat
input to the reactor. The controlled outputs and manipulated inputs are:
y\ = CA, y-2 T, HI = CA,-, and u^ = Q with the bounds 5 < u\ <
15 kmol.m~3 and 10 < 112 < 10 k,J.s~l.
Here r\ = r% 1 and C = diag{l/r, l/(pcV)}. Application of the
control law of Theorem 9.2, 7^ = 7^ = /^ = /3|i = 100 and 7^ = 7^ =
j3^ = fyi 0, to this chemical reactor leads to the following mixed error-
and state- feedback controller:
pcF
100
Figure 6 depicts the startup profiles of the controlled outputs and manipu-
lated inputs under the nonlinear controller of (9.17). In the absence of the
input constraints, the closed-loop plant output responses (solid line) are
exactly two completely decoupled, first-order responses.
co
3.0n
2
6 -H
1.0-
O
0.(
10-
8-
I 6-
4-
40-
30-
3 20-
$ 10
OH
0 200 400 600 800 1000
Time, s
Figure 6: Profiles of the controlled outputs and plant inputs of the reactor
example of 9.16: solid = no bounds on the inputs; dashed = when 5 < u\ <
15 kmol.m"3 and -10 < u2 < 10 kJ.s~1.
Acknowledgement
The authors gratefully acknowledge financial support from the National
Science Foundation through the grants CTS-9703278 and CTS-9624725.
References