logo

SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL.

6 Pages1037 Words55 Views
   

Added on  2022-11-14

SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL.

   Added on 2022-11-14

ShareRelated Documents
Running head: SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL
SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL
Name of the Student
Name of the University
Author Note
SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL._1
SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL
Introduction:
In this assignment the two methods of fitting pulse transfer function model namely the
Young’s Information Criterion (YIC) and the least square method is discussed along with the
their corresponding equations and assumptions. Furthermore, the two methods are employed
to fit the pulse transfer function model to a sample exponential rig data sample at every 0.1
second given in the ica_2019.mat file with the help of MATLAB. In general structure of the
pulse transfer function model is presented below. The YIC method contains linear regression
or least square fit model as given in the yic.m matlab code.
1) The least square and the YIC method can be used to generate the parameters of pulse
transfer function model. The least square model is also known as the regression model to
generate the pulse transfer function model of a time series data with suitable parameters. The
least square input-output relationship is given by,
yt =b 0+b 1x 1 t + b 2x 2 t+ ...+bkxkt+ut
Here, y_t = output variable of tth observation.
xkt = the kth input variable at the tth observation.
b = regression coefficients
ut = the residual at tth observation.
k = the number of input variables
n = number of observations
The pulse transfer function relates the z transform of the output in different instants of the
sampled input signal (chai et al. 2017).
The pulse transfer function of a SISO system is given by,
yt= ( A ( B )
C ( B ) )xtb +ut
Here, A(B) = A0 – A1*B -....- AB*B
A0,... AB are model parameters.
YIC is a new data based modelling system of pulse transfer function model which is defined
as
YIC = log ¿ + log ( 1
)*
i=1
πii
pi
Here, πii is the ith and ith element of the covariance matrix Pp correlated with p.
The lower the value of YIC lower the accuracy of the fitted model (Youngs et al. 2019).
2.
In this section the pulse transfer function model is selected based on the YIC score of three
models. Also, the fitted model with actual time series data is superimposed in graph to
visualize the accuracy of fits. Before running the matlab function the 1000 pairs of measured
input output data is loaded in matlab.
SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL._2
SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL
Now, three models are chosen for comparison by both least square and YIC method and the
fitted model along with data for the three models are produced. The best model is selected
from the fitness accuracy evident from the graph and the YIC scores and best fit values (Xia
et al. 2016). The chosen models are [na,nb,nk]=[4,4,3], [na,nb,nk]=[3,3,2],
[na,nb,nk]=[5,5,5]. Lower numerators and denominator numbers are not accepted due to less
YIC scores and less explanation to actual fitted models. This is performed by the modelfit
MATLAB code, the outputs and plots of which is given below.
Output:
best_score = 62.3805 57.0177 53.5869
best_fit = 99.9473 99.1364 98.2620
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
input signal data
-0.2
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
output signal data
Fitted model with [na,nb,nk]=[3,3,2]
actual model
Figure 1
theta = 1.2684 0.3258 -0.5957 -0.0011 0.0063 0.0073 -0.0043 -0.0041
best_score = 73.3909 67.3264 62.8536
best_fit = 99.9999 99.9999 99.9999
SYSTEM IDENTIFICATION AND MODEL PREDICTIVE CONTROL._3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Fatigue Curve Fitting for Steel Material Specimens
|12
|1821
|235

Designing an Observer for Li-ion Battery using MATLAB
|11
|713
|247

Linear Regression - Understanding the Algorithm and its Applications
|4
|697
|414

Data Analysis and Optimization for Study Material | Desklib
|17
|2254
|453

Recursive Least Square Algorithm for System Identification
|9
|1689
|480

Improving Measurement and Quality of Products: A Case Study
|13
|2816
|77