Simulink integral error in plant modeling

1 vue (au cours des 30 derniers jours)
srinivas SWAMINATHAN
srinivas SWAMINATHAN le 16 Nov 2017
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 commentaires
srinivas SWAMINATHAN
srinivas SWAMINATHAN le 16 Nov 2017
Variable step solver with 0.01s step size. I have also shared the the data file.
srinivas SWAMINATHAN
srinivas SWAMINATHAN le 16 Nov 2017
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by