Inverse Dynamics reference frame

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Aseel Ghazwan
Posts: 22
Joined: Thu Sep 17, 2015 2:54 am

Inverse Dynamics reference frame

Post by Aseel Ghazwan » Wed Nov 02, 2016 9:25 am

Hi All,
I'm wondering about the reference point used in OpenSim inverse dynamics calculation? is it in the local body frame or global frame?
According to the definition of the GRF, as shown in the attached screenshot, the force is expressed in "ground". Does this mean that the moments calculated from inverse dynamics are expressed in global frame?

GRF3.png
GRF3.png (28.2 KiB) Viewed 558 times
Thanks in advance,
Aseel

User avatar
Michael Mauersberger
Posts: 7
Joined: Mon Jul 18, 2016 7:05 am

Re: Inverse Dynamics reference frame

Post by Michael Mauersberger » Thu Nov 03, 2016 6:38 am

I think this form you showed is only applicable for the external forces you added.
But when you calculating with the "Inverse Dynamics" tool there are all the joints considered you have in your model. When you look at the "Coordinates" window in OpenSim you see all your coordinates. Thus the results from Inverse Dynamics are expressed in those. Then every force and moment is expressed each in its parent frame.

Greetings
Michael

User avatar
Aseel Ghazwan
Posts: 22
Joined: Thu Sep 17, 2015 2:54 am

Re: Inverse Dynamics reference frame

Post by Aseel Ghazwan » Thu Nov 03, 2016 6:46 am

Thanks Michael for your reply.
What I understand is: the knee adduction/abduction moment, for example, is expressed in femur reference frame, is that right?

Kind regards,
Aseel

User avatar
Michael Mauersberger
Posts: 7
Joined: Mon Jul 18, 2016 7:05 am

Re: Inverse Dynamics reference frame

Post by Michael Mauersberger » Fri Nov 04, 2016 2:43 am

Yes, I think that's right. When you look in the file that is created through Inverse Dynamics analysis there is (for example) a "knee_angle_l_moment" according to the "knee_angle_l" coordinate. This Coordinate is (in my example) defined by the "femur_l" reference frame to account for the angle of the "tibia_l".

Here is an excerpt of the "gait2392.xml" model:

Code: Select all

<Body name="tibia_l">
	...
	<!--Joint that connects this body with the parent body.-->
	<Joint>
		<CustomJoint name="knee_l">
			<!--Name of the parent body to which this joint connects its owner body.-->
			<parent_body> femur_l </parent_body>
			<location_in_parent>0 0 0</location_in_parent>
			<orientation_in_parent>0 0 0</orientation_in_parent>
			<location>0 0 0</location>
			<orientation>0 0 0</orientation>
			<!--Set holding the generalized coordinates (q's) that parmeterize this joint.-->
			<CoordinateSet>
				<objects>
					<Coordinate name="knee_angle_l">
						...
					</Coordinate>
				</objects>
				<groups />
			</CoordinateSet>
			...
		</CustomJoint>
		...
	</Joint>
</Body>
Here the coordinate is defined that has been described. In the same reference the forces/moments of Inverse Dynamics are calculated.
But yes, you are right. :D

Best regards
Michael

POST REPLY