Why does the output of my System Identification Toolbox model IDMODEL not match the output of the IDDATA object when I transfer these models into Simulink?

1 次查看(过去 30 天)
I am creating a IDDATA object "z" and I am estimating an IDMODEL "m" using the System Identfication Toolbox. When I use the COMPARE function as follows,
compare(z,m)
I get a good fit. However, when I export these models into Simulink and try to see the results on a Scope, I find that the output of the model does not match the output of the IDDATA object. I am not sure why Simulink is giving the wrong result.

采纳的回答

MathWorks Support Team
This change has been incorporated into the documentation in Release 2011a (R2011a). For previous releases, read below for any additional information:
When transferring the estimated model to Simulink, it is not reasonable to expect that the model output would match the experimental data output, unless the correct initial states are specified. See the attached article for a description of this requirement and how to fulfill it. Basically, an estimate of the initial states must be obtained and inserted into the model block. This estimate may be obtained by using the function PE on the simulation data object.
See the attached model and MATLAB file for an example.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Represent Data 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by