wrong results of BodyKinematics analysis

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Michał Wołek
Posts: 32
Joined: Tue Mar 12, 2019 3:59 am

wrong results of BodyKinematics analysis

Post by Michał Wołek » Tue Oct 08, 2019 4:55 am

What may be the reason for the fact that BodyKinematics in AnalyzeTool calculates correct positions and velocities of CoMs and body orientations, but when it comes to accelerations, it does something strange and well... calculates it compeletely wrong. Pics attached
Attachments
dd.png
dd.png (18.62 KiB) Viewed 402 times
d.png
d.png (15.04 KiB) Viewed 402 times

Tags:

User avatar
Thomas Uchida
Posts: 1800
Joined: Wed May 16, 2012 11:40 am

Re: wrong results of BodyKinematics analysis

Post by Thomas Uchida » Tue Oct 08, 2019 6:52 am

when it comes to accelerations, it does something strange and well... calculates it compeletely wrong
It is unlikely that this type of calculation would be incorrect. My guess is that your position-level data are noisy. Differentiation degrades signal-to-noise ratio. Have you tried low-pass filtering before differentiating?

User avatar
Michał Wołek
Posts: 32
Joined: Tue Mar 12, 2019 3:59 am

Re: wrong results of BodyKinematics analysis

Post by Michał Wołek » Tue Oct 08, 2019 7:00 am

yes, the data is filtered, tried wwith different filtering frequencies, and changing angles to radians, none of which work. But noise isn't the problem here. Notice that despite velocity growing and falling down, the accelerations are constantly on the negative, and their value is huuge. Shape of the acceleration plot seems to be valid, but it looks like it got overscaled and translated by some huge amount to the negative.

User avatar
Thomas Uchida
Posts: 1800
Joined: Wed May 16, 2012 11:40 am

Re: wrong results of BodyKinematics analysis

Post by Thomas Uchida » Tue Oct 08, 2019 12:44 pm

How were these results generated? Did you run the BodyKinematics Analysis with another OpenSim Tool?

User avatar
Michał Wołek
Posts: 32
Joined: Tue Mar 12, 2019 3:59 am

Re: wrong results of BodyKinematics analysis

Post by Michał Wołek » Wed Oct 09, 2019 1:20 am

I have used Analyze tool.

Anyway, I have found the solution to the problem, as other users have been also struggling with this and I found some old posts. BodyKinematics uses F=ma to get accelerations, instead of double-derivating positions. And since I'm trying to extract ground reaction forces from gait data alone, I don't any forces yet, that's why it gives wrong solutions.

POST REPLY