Responce From Estimated SysID Modell in Simulink isn't the same as shown in matlab compare() function
조회 수: 1 (최근 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 %.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1333900/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1333900/image.png)
Then following Sinulink structure is build:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1333905/image.png)
Scope shows following picture:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1333910/image.png)
So my question is, why doesn't the signals match ob Scope how they match in the figure after calling compare function()?
댓글 수: 0
답변 (1개)
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Model Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!