Stability constraint

OpenSim Moco is a software toolkit to solve optimal control problems with musculoskeletal models defined in OpenSim using the direct collocation method.
User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Stability constraint

Post by Simon Jeng » Fri Mar 26, 2021 1:04 am

Hi,

In order to keep the stability of the model, I want to limit the CoP in the foot support region. Is there any way to realize it in Moco?

Simon

User avatar
Ton van den Bogert
Posts: 166
Joined: Thu Apr 27, 2006 11:37 am

Re: Stability constraint

Post by Ton van den Bogert » Fri Mar 26, 2021 6:26 am

In models of postural control, this is usually done by placing upper and lower bounds on the ankle moment. That is equivalent to bounding the CoP.

Ton van den Bogert

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: Stability constraint

Post by Simon Jeng » Fri Mar 26, 2021 7:38 pm

bogert wrote:
Fri Mar 26, 2021 6:26 am
In models of postural control, this is usually done by placing upper and lower bounds on the ankle moment. That is equivalent to bounding the CoP.

Ton van den Bogert
Hi Ton van den Bogert,

Thanks for your reply. I think ankle moment in a planar model could be expressed as the formula in the attached figure. Fay, Fax, Ma are reaction forces and moment at the ankle. Fcx and Fcy are GRF at CoP. In this expression, Fcy and Fcx are unknown. How could I bound CoP location by bounding ankle moment?

Best wishes,
Simon
Attachments
ankle_moment.png
ankle_moment.png (35.83 KiB) Viewed 1512 times
Last edited by Simon Jeng on Thu Dec 02, 2021 9:03 pm, edited 1 time in total.

User avatar
Ton van den Bogert
Posts: 166
Joined: Thu Apr 27, 2006 11:37 am

Re: Stability constraint

Post by Ton van den Bogert » Mon Mar 29, 2021 6:51 am

Yes, the diagram and equation are exactly right.

During standing, you can assume that y*Fx can be neglected and Fy is equal to body weight. Then you can convert the bounds on x (which depend on foot size) to bounds on Ma.

Ton

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: Stability constraint

Post by Simon Jeng » Tue Mar 30, 2021 9:44 pm

Thanks Ton,

So now in Moco, we can only bound CoP during standing or some static postures. It is not possible for dynamic movement, right?

User avatar
Ton van den Bogert
Posts: 166
Joined: Thu Apr 27, 2006 11:37 am

Re: Stability constraint

Post by Ton van den Bogert » Wed Mar 31, 2021 5:53 am

I am not familiar enough with Moco to answer that question.

My answer was just to inform you about the approximation that is usually made in postural control models. In such models, the foot is "glued" to the ground. To prevent situations where the heel or toe would leave the ground, a bound on the ankle moment is used.

It may be possible to have a more accurate constraint in Moco.

Ton

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: Stability constraint

Post by Simon Jeng » Wed Mar 31, 2021 8:58 pm

That's enough for my research. Thanks again :D

Simon

User avatar
Nicholas Bianco
Posts: 1041
Joined: Thu Oct 04, 2012 8:09 pm

Re: Stability constraint

Post by Nicholas Bianco » Wed Mar 31, 2021 9:31 pm

Hi Simon,

You can bound ankle moments if you're using a model with torque actuators, but there's not currently a quick way to bound moments (or the CoP) in general yet.

Best,
-Nick

User avatar
Ross Miller
Posts: 375
Joined: Tue Sep 22, 2009 2:02 pm

Re: Stability constraint

Post by Ross Miller » Fri Apr 02, 2021 4:36 am

Hi Simon,

I may be misunderstanding your question, but if you want the CoP to only be on the foot, this can be achieved by only defining contact elements on the foot.

Ross

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: Stability constraint

Post by Simon Jeng » Fri Apr 02, 2021 10:00 pm

nbianco wrote:
Wed Mar 31, 2021 9:31 pm
Hi Simon,

You can bound ankle moments if you're using a model with torque actuators, but there's not currently a quick way to bound moments (or the CoP) in general yet.

Best,
-Nick
Hi Nick,

Thanks, I have done this. I think it's a good alternative for some movements that the foot is fixed on the ground (e.g. squatting, sit-to-stand) now.

Simon
Last edited by Simon Jeng on Fri Apr 02, 2021 11:15 pm, edited 1 time in total.

POST REPLY