Borrar filtros
Borrar filtros

How does integral block in Simulink exactly work?

2 visualizaciones (últimos 30 días)
Pranjal Biswas
Pranjal Biswas el 20 de En. de 2017
Comentada: Nikunj Kothari el 14 de Feb. de 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 comentario
Nikunj Kothari
Nikunj Kothari el 14 de Feb. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by