Professional Documents
Culture Documents
Empirical Modelling
•If the step change in input is too small, the measured output may not change enough to develop a reliable
model. This is particularly true if the measured output is “noisy.” Clearly, the magnitude of step input must be
enough so that the output “signal-to-noise” ratio is high enough to obtain a good model.
•If the step change in the input is too large, the output variable may change too much and produce product that
is “off-specification.” This is not desirable because of the severe economic penalty (i.e., the plant loses too much
money while the step test is being performed). Also, if the step input change is too large, nonlinear effects may
dominate. That is, the operating condition may become significantly different than the desired condition.
The time delay is observed to be 1 minute, and the time constant is the time it takes (after the time delay) for the
output to change by 0.632(-2) = -1.3°C. That is, the time when y = 23.7°C. In this case,
Introduction to Autoregressive Models
Discrete autoregressive models assume that an output at the current time step is a function of the outputs
and inputs at previous time steps. The general form is
PARAMETER ESTIMATION
Often when discrete linear models are developed, they are based on experimental system responses rather
than on converting a continuous model to a discrete model. The estimation of parameters for discrete dynamic
models is no different from linear regression (least squares) analysis.
The measured inputs and outputs are the independent variables, and the dependent variables are the outputs.
For simplicity, consider the following model where two previous values of the input and output are used to
predict the next value. This model has four parameters.
For the system of N data points, we can write the
following.
Example 4.4: Process Identification
Although the response to a step input has often been used for process identification, here we apply a
pseudo-random binary sequence of inputs (the input changes randomly between two values) to estimate
parameters in a discrete time model. The input and output responses are shown in Figure 4-8; the open
circles represent the measured outputs obtained with a sample time of 0.25 minutes. The variables are in
deviation form K U Y
-1 1.0 0
0 1.0 -0.1
1 1.0 0.0137
2 -1.0 0.1564
3 1.0 0.4618
4 -1.0 0.1771
5 -1.0 0.3446
6 1.0 0.2171
7 -1.0 -0.1558
8 1.0 0.0485
9 1.0 -0.1879
10 1.0 -0.1123
11 1.0 0.0463
12 -1.0 0.2003
13 -1.0 0.5007
14 1.0 0.3846
15 -1.0 -0.0172
16 1.0 0.1513
17 -1.0 -0.1162
18 -1.0 0.1134
19 1.0 0.0502
Figure 4-8. Output response to a pseudo-random binary input sequence.
Open circles represent output data obtained with a sample time of 0.25 minutes.
The MATLAB and SIMULINK .m and .mdl files used to generate this example
are shown in the Appendix.
It should be noted that the discrete transfer function can be converted to a
continuous transfer function using d2c to find
4.6. DISCRETE STEP AND IMPULSE RESPONSE MODELS
The common model predictive control techniques based on step or impulse responses.
coefficient.
Figure 4-11 illustrates how impulse response coefficients can be obtained from step responses. The
impulse response coefficients are simply the changes in the step response coefficient at each time step.
Similarly, step response coefficients can be found from impulse responses; a step response coefficient is
the sum of the impulse response coefficients to that point.
.