Displacements and velocity from acceleration integration (accelerometer data)
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi, i have a matrix with acceleration values. I would like to find velocity and displacements with integration. I wrote a code with Newmark method but i'm not sure about results. The accelerometers registered data from 0 to 600 sec, i have 200 m displacements in the end! I have DT=0.005 from each istant of time.
i think because it is a cumulative integration.
Is there another method/code to find displacements and velocity? Thank you very much
댓글 수: 0
답변 (2개)
Benjamin Thompson
2022년 10월 10일
Integration naturally has some error when integrating a sampled signal because the integration algorithm has to make assumptions about the values of the signal between sample points. You can reduce errors by reducing step size, using a higher order method like Runge Kutta 4, or having a variable step size when the dynamics are changing more rapidly.
댓글 수: 5
Benjamin Thompson
2022년 10월 10일
Simulink supports a wide variety of integration algorithms. Go to Model Settings, Solver, and see the types available. The one for Runge Kutta 4 is called ode4.
Benjamin Thompson
2022년 10월 10일
The Simulink Onramp training course is a good place to start:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!