CHE 509: Process Dynamics: Empirical Modeling of Dynamical Systems
CHE 509: Process Dynamics: Empirical Modeling of Dynamical Systems
CHE 509: Process Dynamics: Empirical Modeling of Dynamical Systems
MODULE 6:
Empirical Modeling of Dynamical Systems
u (t) y (t)
?
Black box
Step response
Impulse response
Empirical
Models Neural networks
Non-Linear Fuzzy models
Non-linear autoregressive
Hammerstein
Wiener
identification and the validation data. The identification data will be used
for process identification while the validation data will be used for validation.
The following are the common tools usually employed for process
identification:
Graphical tool
Linear regression
Non-linear regression
[6.1]
= [6.2]
y1 = [6.3]
y2 = [6.4]
y3 = [6.5]
:
:
yn = [6.6]
= + [6.7]
Y=Xβ+ϵ [6.8]
Obafemi Awolowo University 16
Chemical Engineering
Linear Regression
Using the method of least squares of error, we can determine the model
parameters.
[6.9]
i = ith data
j = jth function
S = (Y – Xβ)T(Y – Xβ) [6.10]
To find the value of which minimizes S, differentiating the function wrt
and setting it zero gives
[6.11]
[6.12]
[5.13]
[5.14]
N.B:
The tricks in solving Linear regression problem is in populating matrices X
and Y
Linear regression = if the empirical model is linear with respect to the
model parameters
parameters
respect to n.
[6.16]
In this method the process to be identified is forced by a unit step input. The
process response (i.e., the output) to this input is recorded. An appropriate
model is then fitted to the step response data.
The candidate models to chose from are:
(a) First Order Plus Time Delay
If the candidate model considered for the process is FOPTD, given below:
[6.17]
[6.18]
u (t)
[6.19]
[6.20a]
y = mx + c [6.20b]
[6.20a]
c=
y=mx + c [6.20b]
m=
Fig. 6.3b: Plot of vs t
[6.21]
The transient response of the model to step input function of size M is given be:
[6.22]
Parameters: , , ,
[6.23]
The transient response of the model to step input function of size M
is given be:
[6.24]
Parameters: , , , ,
Fig. 6.3c: Temperature response of a stirred-tank for a step change in feed flow rate.
Because
6.2.
[6.25a]
It is to be noted here that the data given are in terms of actual process
steady-state values. Thus, from Table 6.2, we obtain the output y(s) and
Observe from Table 6.2 that the magnitude of the step change in reflux
6.3 below:
[6.26]
we obtain ,
Assignment
(a) Use graphical method to estimate the parameter
(b) Use nonlinear regression to estimate the parameters
[6.27]
(b) Fit a second order transfer function model to this data
using nonlinear regression
(c) Compare the models obtained in (a) and (b) with the
original data.
[6.28]
Y=X [6.29]
[6.30]
[6.31a]
g(s) = [6.32]
[6.33]
[6.34]
[6.35]
f = (ymeas_1-y1)^2+(ymeas_2-y2)^2+(ymeas_3-y3)^2+(ymeas_4-
y4)^2+ (ymeas_5-y5)^2+(ymeas_6-y6)^2+(ymeas_7-y7)^2+(ymeas_8-
y8)^2+ (ymeas_9-y9)^2+(ymeas_10-y10)^2; % Cost function
[x,fval] =patternsearch(@fun_509,[3,1,1])
[6.36]
6.37
where
, , ,
Comparison of Results
2.9 5.4
4.0 7.5
4.9 9.1
5.8 10.8
6.5 12.3
7.7 14.3
8.4 15.8
9.0 16.8
Solution
Recall, Y = X [6.8]
[6.38]
[6.38]
y 1 u
Using , we
have ,
Y=X [6.8]
[6.39]