Simulink integral error in plant modeling

1 visualizzazione (ultimi 30 giorni)
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 Commenti
srinivas SWAMINATHAN
srinivas SWAMINATHAN il 16 Nov 2017
Variable step solver with 0.01s step size. I have also shared the the data file.
srinivas SWAMINATHAN
srinivas SWAMINATHAN il 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by