This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Estimate Frequency Response Models with Noise Using System Identification Toolbox

Open the Simulink® model, and specify which portion of the model to linearize:

io(1) = linio('magball/Desired Height',1);
io(2) = linio('magball/Magnetic Ball Plant',1,'output');

Compute the steady-state operating point, and linearize the model:

op = findop('magball',operspec('magball'),...
sys = linearize('magball',io,op);

Create a chirp signal, and use it to estimate the frequency response:

in = frest.Chirp('FreqRange',[1 1000],...
[~,simout] = frestimate('magball',io,op,in);

Use System Identification Toolbox™ software to estimate a fifth-order, state-space model. Compare the results of analytical linearization and the state-space model:

input = generateTimeseries(in);
output = simout{1}.Data;
data = iddata(output,input.Data(:),in.Ts);
sys_id = n4sid(detrend(data),5,'cov','none');
legend('Linear model obtained using LINEARIZE',...
       'State-space model using System Identification Toolbox',...

Was this topic helpful?