Displacements and velocity from acceleration integration (accelerometer data)

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

回答 (2 件)

Benjamin Thompson
Benjamin Thompson 2022 年 10 月 10 日

0 投票

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 件のコメント

loiacono.giuseppe97
loiacono.giuseppe97 2022 年 10 月 10 日
編集済み: loiacono.giuseppe97 2022 年 10 月 10 日
Thank you for the reply! I can't reduce step size, because i have sampling frequency 200. So, step size = 1/f = 0.005 sec. Runge Kutta 4 working also ? I don't believe i could have variable step size
Benjamin Thompson
Benjamin Thompson 2022 年 10 月 10 日
It sounds like you are able to research numerical integration methods on the Internet, so try some different ones and choose one that gives you the best results.
loiacono.giuseppe97
loiacono.giuseppe97 2022 年 10 月 10 日
thank you very much, i'll try to use Runge Kutta 4. Do you know other method or is there a code about Runge Kutta ? Thanks
Benjamin Thompson
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.
loiacono.giuseppe97
loiacono.giuseppe97 2022 年 10 月 10 日
I don't know how to use simulink. I have only matrix accelerations.. i have not the model

サインインしてコメントする。

質問済み:

2022 年 10 月 10 日

回答済み:

2022 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by