필터 지우기
필터 지우기

How does integral block in Simulink exactly work?

조회 수: 2 (최근 30일)
Pranjal Biswas
Pranjal Biswas 2017년 1월 20일
댓글: Nikunj Kothari 2017년 2월 14일
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
Nikunj Kothari
Nikunj Kothari 2017년 2월 14일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by