Multiple wrapping surfaces on one MTU in double pendulum

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jack Withers
Posts: 2
Joined: Tue Aug 23, 2022 11:04 am

Multiple wrapping surfaces on one MTU in double pendulum

Post by Jack Withers » Mon Oct 17, 2022 12:09 pm

Hello, I'm having trouble with the behavior of wrapping surfaces and hope someone can help me understand why.

The model I wish to create is a pendulum with multiple arms, a cylindrical wrapping surface at each of the pendulum's joints, and one single MTU that originates from the top most arm of the pendulum and inserts into the last arm. I am trying to add each of the joint wrapping surfaces to the MTU so that when the pendulum bends away from MTU, it wraps around the entirety of the pendulum smoothly.

However, it appears that when the MTU attempts to wrap around multiple wrapping surfaces at once, its wrapping behavior becomes erratic.

I've constructed a simplified version of the model to illustrate. Here is what the model looks like when the coordinate is at -8 degrees:
Screen Shot 2022-10-17 at 3.07.41 PM.png
Screen Shot 2022-10-17 at 3.07.41 PM.png (73.76 KiB) Viewed 288 times
And when the coordinate is bent slightly more to -9 degrees:
Screen Shot 2022-10-17 at 3.07.58 PM.png
Screen Shot 2022-10-17 at 3.07.58 PM.png (70.13 KiB) Viewed 288 times
The expected behavior is the MTU continues to smoothly wrap around the wrapping surfaces as the pendulum bends. Instead there is strange and complex wrapping behavior once the MTU starts to contact multiple wrapping surfaces at once. We've confirmed this is not a visualization issue by looking at the muscle tendon length plot and the moment arm plots in OpenSim.

As a final note, it seems that changing the wrapping surface quadrant from "+x" to "all" fixes the erratic wrapping behavior, but functionally the wrapping surfaces still don't behave how we want in this case. We'd like to get it working properly with the +x quadrants.

I've attached the model for reference. I would greatly appreciate any insight regarding this issue.
Attachments
double_pendulum_multiple_wrapping_surfaces.zip
(9.48 KiB) Downloaded 8 times

Tags:

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

Re: Multiple wrapping surfaces on one MTU in double pendulum

Post by Thomas Uchida » Mon Oct 17, 2022 1:55 pm

The example model is very helpful. It seems that the issue may be occurring when the muscle is only barely touching one of the wrap surfaces. For example, if you move wrap3 and wrap4 away from link2 (e.g., setting wrap3 translation to [0.1, 0.25, 0] and wrap4 translation to [0.1, 0, 0]), then the muscle never grazes past wrap3 and it wraps as expected. If this is just for a toy example, perhaps a solution like this would suffice (changing the locations and/or radii of the cylinders); otherwise, some other modifications may need to be investigated to capture the desired functionality while avoiding numerical issues in the algorithm.

User avatar
Jack Withers
Posts: 2
Joined: Tue Aug 23, 2022 11:04 am

Re: Multiple wrapping surfaces on one MTU in double pendulum

Post by Jack Withers » Tue Oct 18, 2022 9:30 am

Thanks Thomas. The model I posted was a very simplified version of what we are hoping to do, in that the previous model I attached only had one wrapping surface at a joint. Here's a model that is a bit more like what we ultimately want to achieve, with all wrapping surfaces at joints.
Screen Shot 2022-10-18 at 12.25.30 PM.png
Screen Shot 2022-10-18 at 12.25.30 PM.png (78.44 KiB) Viewed 134 times
Screen Shot 2022-10-18 at 12.27.14 PM.png
Screen Shot 2022-10-18 at 12.27.14 PM.png (90.46 KiB) Viewed 134 times
I'm not sure if this will give you any more insight, just thought I'd post it in case. We're trying to model a mammal tail based on anatomical data so there isn't much wiggle room with how we can change the wrapping surfaces. If the issue doesn't seem like a simple fix I think we're going to try a via point approach.
Attachments
simplified_tk_incorrect_wrapping.osim
(70.09 KiB) Downloaded 3 times

POST REPLY