System Identification Assignment
System Identification Assignment
System Identification Assignment
T.Arriessa Sukhairi
(108013235855)
Problem: A cantilever beam is given but without knowledge of its properties (i.e. dimensions,
mass, flexural rigidity (EI), etc.). One is interested to do frequency analysis for this cantilever
beam using MATLAB\ System Identification Toolbox. In order to do so, a number of steps have
to be performed.
Plant: Single-sided clamped aluminum beam with 4 piezoelectric patches and a laser
vibrometer (MISO system).
Step 2 - Model Identification: Indentify a linear state-space model for the plant using
the subspace state-space system identification method N4SID in MATLAB\ System
Identification Toolbox (using GUI or command lines). Perform this step with various
model orders, e.g. 8, 10, 12, 14, etc. Describe the identification process.
By using the system identification tool in MATLAB we process our data from
Data_samplingfreq_1000_hz.mat.
Then we input our data in left side of the toolbox by choosing time domain data
and then insert the value U from the Data_samplingfreq_1000_hz.mat file
as input variable and Y from the Data_samplingfreq_1000_hz.mat file as
output variable. Set the sampling interval as 0.001 s
Then we will get the data as shown in the figure 4. Select the range in which we
are going to do the analysis. Here I choose the range between 3 7.
Figure 5. Range 3 7
Step 3 - Model Verification: Compare the simulated output using the models obtained from
task 2 with the measured output (use the command compare if you do system identification by
command lines). Comment on the percentage of fit when model order is increased and choose
simplest model that fits the measured data best.
For this task, we need to compare the percentage result that we get by increasing or
decreasing the model order, to find and choose the simplest model that fits the measured
data best.
We can change the value in Specify value to get the state space models (mathematical
model) that we are going to compare with the model from the experiment.
5
18 (SS3)
20 (SS4)
19 (SS5)
22 (SS6)
91.07 %
92.51 %
91.35 %
94.16 %
90.26 %
Table 1. The percentage from comparing the simulated output using the models obtained from task 2
with the measured output
The best percentage that I get is when I specify the value as 19.
From the table 1 can be seen that the percentage value will increase until it reach the
peak (in this case is 19) then it will decrease.
Step 4 - Frequency analysis: From the best model selected in step 3, plot the frequency
response of the plant and record the first 4 resonant frequencies of the beam.
From the plot of the frequency response we get the beam resonant frequencies
1
84.7881 rad/s
455.8061 rad/s
1242.594 rad/s
2465,7624 rad/s
Step 5 Use the identified model: From the identified state-space model of the beam, assign
those system properties to the given Simulink model state_space_model_beam.mdl and plot
the model time response when the input for all 4 channels excitation is of the form
u(t) = 10*sin(2f1t)
where f1 is the first resonant frequency.
After we get the best fit model for our system, then send the data into workspace. By using the
data that we have, then we store the value a, b, c, and k that we have from the data to create
variable A, B, C, and K in which will be used in Simulink. Then change the value f1 from the
formula with the value of 1 in this case 84.7881 rad/s in source block parameter (see figure
12). Then do the simulation and we can see the velocity as been shown in figure 13.