214 5 Discrete-Time Process Models
5.7 Examples of Discrete-Time Process Models
This section explains a general procedure how discrete-time process models
can be obtained on some concrete examples.
5.7.1 Discrete-Time Tank Model
Consider a tank filled with a liquid shown in Fig. 2.1 on page 16. Linearised
state-space model of the tank is given as
dx
dt
= ax + bu (5.147)
y = x (5.148)
where
x = h − h
s
u = q
0
− q
s
0
a = −
k
11
2F
√
h
s
,b=
1
F
t is time, h – liquid level in the tank, q
0
– inlet volumetric flow rate, F –
cross-sectional area of the tank, h
s
– steady-state level, q
s
0
– steady-state flow
rate, and k
11
is a constant.
Let us find a model of the tank that makes it possible to find transient
response of the tank in times t
k
for the input variable given as
u(k)=u(t
k
); t
k
<t≤ t
k+1
; k =0, 1, 2,... (5.149)
The solution can be found as follows. Comparing equations (5.147) and (5.148)
with the general state-space model gives
A = a, B = b, C =1, D = 0 (5.150)
The discrete-time state matrix Φ(t)forA = a is
Φ(t)=L
−1
(s −a)
−1
= L
−1
1
s −a
=e
at
(5.151)
Hence,
Φ(T
s
)=e
aT
s
(5.152)
From (5.89) follows
Γ =
T
s
0
e
aτ
dτ
b =
b
a
e
aT
s
− 1
(5.153)
Finally, equation (5.90) gives
x(k +1)=e
aT
s
x(k)+
b
a
(e
aT
s
− 1)u(k) (5.154)
The process output y = x can be found from this equation in sampling times
for u(k).