Responce From Estimated SysID Modell in Simulink isn't the same as shown in matlab compare() function

2 ビュー (過去 30 日間)
I have recorded requested motor torque data and current position data.
Split them. From the first half of the data created iddata object EstimationData. From the second half ValidationData. Then run:
processModel=procest(EstimationData,'P3DZU');
then run:
compare(ValidationData,processModel);
shows following response with very good fit of 99,54 %.
Then following Sinulink structure is build:
Scope shows following picture:
So my question is, why doesn't the signals match ob Scope how they match in the figure after calling compare function()?

回答 (1 件)

Nikhilesh
Nikhilesh 2023 年 3 月 31 日
Hi Iaroslav,
The possible reason might be the simulation parameters, also try adjusting initial conditions of simulink model to match that of validation data.
  1 件のコメント
Iaroslav Gryshchuk
Iaroslav Gryshchuk 2023 年 3 月 31 日
編集済み: Iaroslav Gryshchuk 2023 年 3 月 31 日
Hi, how do I adjust intitial conditions of simulink model to match that of validation data?
This is my validation data:
Which simulation parameter can help me? Here is th same scope output with simulation stopped at 50 seconds:
Here are my Configuration Parameters:

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeRepresent Data についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by