Simulink integral error in plant modeling

1 次查看(过去 30 天)
Hello,
To measure distance traveled by an object we can use integrate block on velocity and get it or we can use area under the velocity to get the displacement both will give same result if we use small time step.This works good for almost all cases, but in some cases the integral values are higher than the other and it is not logical. If the value i want to integrate is feed from work-space file it give same result as other one. I don't know why integrator block giving two results for same value.
  5 个评论
srinivas SWAMINATHAN
Variable step solver with 0.01s step size. I have also shared the the data file.
srinivas SWAMINATHAN
If i use this data file from workspace file i will get different result. This data was output of another block model if it fed directly it gives one result and if it is fed from workspace it gives another result.Ihe result from workspace and simple line under the area gives same result. but another one gives higher value.

请先登录,再进行评论。

回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by