Effacer les filtres
Effacer les filtres

How does integral block in Simulink exactly work?

2 vues (au cours des 30 derniers jours)
Pranjal Biswas
Pranjal Biswas le 20 Jan 2017
Commenté : Nikunj Kothari le 14 Fév 2017
I recorded velocity data in x,y,z axis for a helicopter as a .mat file. In simulation while using the velocity data with an integral block in Simulink to get the respective positions, the results are not correlating with the real flight. The integral is in a way integrating the whole thing over time, rather than giving me the instantaneous position. Is there a way out, how can we get exact position from velocity data set sampled at about 40 Hz.
  1 commentaire
Nikunj Kothari
Nikunj Kothari le 14 Fév 2017
Using the
trapz
function to integrate the velocity data will be helpful instead of using the integral block in Simulink to solve the problem. The following documentation link will be useful:
Simulink integration blocks works by integrating the Simulink signals based on the solver time steps, and hence it would probably not be integrating the data at every 0.025 seconds as you would expect from Simulink. The default sample time for Simulink is 0.2 seconds, so the integration results will not match with the actual position.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by