Professional Documents
Culture Documents
X; u(t) = U
d(t) = D(t)
U;
Continuous Time
dx
= Ax + Bu + Hd
dt
y(t) = Cx(t)
(1)
(2)
Discrete Time
x(k + 1) =
x(k) + u(k)
y(k) = Cx(k)
Discretization methods
Exact method
= exp(AT ) =L
=
=
= (
(sI
A)
1
t=T
exp( t)
ZT
I)A B
Euler method
= I+T A
and
= TB
U2
X+
3
1 2
X
2
(3)
(4)
dx
=
dt
3=2
1=2
1
y(t) =
1
1=2
x+
3=2
1
x(t)
1
2 1
1 2
(b) Derive time domain dierential equations relating y(t) with u(t) using G(s):
(c) Compute A =
and
(t) = eAt =
exp( t)
(d) Compute
(t) = eAt =L
(e) Compute
(f) Express eA
(sI
A)
I)A 1 B:
(i) Derive time domain dierence equations relating y(k) with u(k) using either G(z)
or G(q):
2
X2
where represents the coe cient of friction and g represents the gravitational constant.
The pendulum has two equilibrium (steady state) points namely (0,0) and ( ; 0).
Linearize the above modeling equations at the two steady states and develop state
space models of the form
dx
= Ax
(5)
dt
Examine eigen values of A matrix in each model and comment upon the asymptotic behavior of the solutions of the linearized models. (Use = 0:2; m = 0:1 kg
and l = 1m):
x(k)
corresponding to both the steady state models using sampling interval of T = 0.01
sec using the exact approach. Examine eigen values of
matrix in each model
and comment upon the asymptotic behavior of the solutions of the discretized
linear models
5. Consider a jacketed stirred-tank heater system shown in Figure 1. A hot uid is
circulated through the jacket (assumed to be perfectly mixed) and heat ow between
the jacket and vessel increases the energy content of the vessel uid. Energy balances
on the vessel and jacket uids result in the following equations:
dT
dt
dTj
dt
F
UA
(Ti T ) +
(Tj T )
V
V cp
Fj
UA
=
(Tjin Tj )
(Tj T )
Vj
Vj j cpj
=
Here, the outputs are the vessel and jacket uid temperatures, which are also the states;
the inputs are the jacket ow rate, feed ow rate, feed temperature, and jacket inlet
temperature. The nominal (steady state) values of the input, state variables and the
F Fj
and d =
Ti Tjin
(a) Develop a continuous time linear perturbation model of form (1-2) in the neighborhood of the operating point using the Taylor series approximation.
(b) Using sampling interval T = 0.1 min, develop discrete time linear perturbation
model of form (3-4) starting from continuous time linear perturbation model developed in part (b) using
1. Exact discretization
2. Euler discretization
and compare the resulting discrete models
(c) Repeat part (c) using sampling interval T = 2 min.
6. Euler equations for relating rigid spacecraft are given by
d! 1
= (J2
dt
d! 2
J2
= (J3
dt
d! 3
J3
= (J1
dt
J1
J3 )! 2 ! 3 + u1
J1 )! 3 ! 1 + u2
J2 )! 1 ! 2 + u3
where ! 1 to ! 3 are the components of the angular velocity vector ! along the principal
axes, u1 to u3 are torque inputs applied about the principle axis and J1 to J3 are the
principal moments of inertia.
(a) Linearize the system in the neighborhood of the origin (i.e. ! 1 = ! 2 = ! 3 = 0)
and develop model of form (1-2) in the neighborhood of the origin. Also compute
= exp(AT ) for arbitrary T. What are the eigen values of A and matrices?
103:79X21 + 229:62X31
226:31X41 + 83:72X51
two available reactors (400 and 2000 liters) have been placed in series (the smaller
reactor is placed before the larger one). Let us assume constant volume and constant
density. Let CW 1
concentration in reactor (1 mol/liter), CW 2
concentration in
reactor (2 mol/liter), F volumetric ow rate, liter/hr, V1 liquid volume in reactor
(1 liter), V2 liquid volume in reactor (2 liters) and
second-order rate constant,
(1.5 liter/(mol hr))
(a) The model equations with CW 1 and CW 2 as the state variables are as follows
F
dCW 1
=
(CW in CW 1 )
dt
V1
dCW 2
F
=
(CW 1 CW 2 )
dt
V2
2
CW
1
2
CW
2
(b) Show that the steady state concentrations are 1/3 mol/liter (Reactor 1) and 0.0901
mol/liter (Reactor 2), so the specication is met.
(c) Linearize at steady state the above modeling equations and develop a state space
model of the form
dx
= Ax + Bu
dt
y = Cx + Du
T
where x = CW 1 C W 1 CW 2 C W 2
and u = F F CW in C W in
:Assume
that concentration is measured in both the reactors. Show that the A and B matrices are
A=
1:25
0:05
0
0:32015
B=
0:001667 0:25
0:0001216 0
1 0
0 1
D=
0 0
0 0
0: Compute the solution x(t) of the system at any arbitrary time t as follows
x(t) = exp(At)x(0) +
Zt
0
exp(A )Bu( ) d
Zt
u(t) =
and d(t) = 0 for all t: Assuming that system reaches a steady state, xs x(t ! 1);
show that the steady state gain matrix can be computed as Ku = CA 1 B:Show that
matrix Ku can be also computed by applying the nal value theorem to the transfer
function matrix G(s) = C[sI A] 1 B. Similarly, compute gain matrix, Kd ; with
respect to disturbances.
11. Consider the discrete time system given by equations (3-4) together with an initial
condition x(0): The system is subjected to an input sequence fu(0); u(1); u(2); ::::g :
Using equations (3-4) recursively, show that the solution of the system at any time
x(k) =
x(0) +
k 1
X
u(j)
j=0
y(k) = C
x(0) +
k 1
X
u(j)
j=0
Thus, evolution of the state and outputs of the system is inuenced by the initial
condition and by the input that is injected into the system. Note that matrices H(j) =
C j consist of impulse response coe cients of the discrete time system. If all the
eigen values of are strictly inside the unit circle
(a) Comment upon behavior of matrices k and H(k) as k ! 1 .
(b) Is it justied to approximate y(k) as k ! 1
N
X
y(k)
H(i) u(k
i)
i=1
0 for k < 0
us for k 0
Assuming that system reaches a steady state, xs x(k ! 1); show that the steady
state gain matrix can be computed as Ku = C[I
] 1 :Show that matrix Ku can
be also computed by applying the nal value theorem to the transfer function matrix
G(z) = C[zI A] 1 B.
8