Model takes off during RRA

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Daniel Kohle
Posts: 14
Joined: Wed Sep 17, 2008 4:44 am

RE: Model takes off during RRA

Post by Daniel Kohle » Sun Mar 22, 2009 5:17 am

Hello all,
I tried RRA with 200k and 500k integration steps. I also increased output precision and decreased the optimizer derivative and convergence criterion value. This didn't solve my problem.
Daniel

User avatar
Daniel Kohle
Posts: 14
Joined: Wed Sep 17, 2008 4:44 am

RE: Model takes off during RRA

Post by Daniel Kohle » Mon Mar 23, 2009 8:32 am

The solution:
I finally managed to run RRA without the problems I described. The solution is to switch the kv and kp parameters higher. In my "standard" file it was 100 and 20. Now, with 1600 and 80, it works fine. I will see, whether I can complete CMC with these setting, too.

Daniel

User avatar
Giordano Valente
Posts: 13
Joined: Mon Dec 22, 2008 1:40 am

RE: Model takes off during RRA

Post by Giordano Valente » Fri Mar 27, 2009 8:52 am

Hi,
I had similar issues on RRA/CMC computing and I partially fixed the problem increasing the amount of residuals actuators in both RRA and CMC. The results show the RRA output kinematics not modified, but the CMC one doesn't track the recorded kinematics. My objective is to obtain muscles forces results without changing my original kinematics. Any suggestions?
Thanks.
Giordano.

User avatar
Joseph Alston
Posts: 26
Joined: Tue May 13, 2008 9:51 am

RE: Model takes off during RRA

Post by Joseph Alston » Thu Apr 02, 2009 2:38 pm

Is it ever a problem for the optimal forces to be too large for RRA?

User avatar
daniel jaramillo
Posts: 34
Joined: Wed Jan 28, 2009 3:42 pm

RE: Model takes off during RRA

Post by daniel jaramillo » Wed Jul 01, 2009 9:19 am

Hi Dan,

Were you able to do the static optimization also?

Thanks

User avatar
Anders Sandholm
Posts: 30
Joined: Thu Feb 22, 2007 1:53 pm

RE: Model takes off during RRA

Post by Anders Sandholm » Wed Jul 15, 2009 6:07 am

Hi

Have you solved this?
I have found the exact program in some test crouch motion captures.

Does anyone know where this can come from? I also increased the kp and kv

cheers

User avatar
J.J. Mordang
Posts: 26
Joined: Mon Mar 22, 2010 7:04 am

RE: Model takes off during RRA

Post by J.J. Mordang » Thu Jun 17, 2010 1:22 am

Hi,


Currently I'm busy with a model of the right leg. I've added 3 more joints to the foot to see what happens during normal gait. I wanted to do a RRA simulation and I read the rraCmcPage and the suggestions in an other thread but the simulation still won't work properly. When the RRA simulation is finished the result is that the model is transformed along the x,y and Z axis as one rigid body and no joint angles have been modified. Even after different kv, kp or force settings.
The Inverse Kinematics and the inverse dynamics look just fine.
Can anyone suggest what I'm doing wrong?

Thank you very much for your time and help!


Kind regards,

User avatar
Ayman Habib
Posts: 2235
Joined: Fri Apr 01, 2005 12:24 pm

RE: Model takes off during RRA

Post by Ayman Habib » Thu Jun 17, 2010 10:43 am

Hi J. J.,

Since it sounds you're modeling only one leg, can you point out what kind of experimental data you're using and what part of the gait cycle you're simulating? Stock file from the distribution (e.g. gait2354, 2392) have forces, residual-actuators for both legs. Also why run RRA, does InverseDynamics solution suggest some discrepancy between grf and the model-dynamics that you're trying to fix?

Maybe you can step back and reconsider the methodology to use to answer your research question.

Good Luck,
-Ayman

User avatar
J.J. Mordang
Posts: 26
Joined: Mon Mar 22, 2010 7:04 am

RE: Model takes off during RRA

Post by J.J. Mordang » Fri Jun 18, 2010 3:16 am

Hi Ayman,


The main objective of my research project is to extract EMG data from the muscles in the lower limb and compare them with real data acquired in the lab. The main interests are in the foot bones and the tibialis posterior and anterior. However, there is only one force plate in our gait lab and all camera's are focused on that such that only the forces during normal walking can be measured in the right leg and foot (no treadmill option).
To make a model that satisfies the number of segments I wanted the foot to have I edited the Lower Limb Model 2009 provided by Arnold et al. I added 4 more joints to foot between the parts of interest of the footbones.
I read the document "generateing a Muscle-Actuated Simulation in OpenSim" by Anderson et al where they use the gait2354model to explain how it works. I also read the user guide very thoroughly especially the chapters about scaling, IK, RRA,CMC and FD. The .xml files needed for the RRA (setup/tasks etcetera) are based on the the gaitmodel by looking at the configuration (joints etcetara) of these xml files and modify them to my own model. The IK and ID look just fine, but I thought, because I use the document as a recipe, that RRA was needed. Because for the CMC the RRA_kinematics.sto is needed. Also when I skip the RRA and use the kinematics from the ID the CMC stops after 7%. I'm still looking if I can make the RRA better by playing with the setup but so far I have not succeeded.

To make a long story short. The only thing I wanted to do is to compare the EMG data calculated by OpenSim with real EMG data by using a segmented foot.

Thank you very much for your help Ayman, hopefully it's possible for me to fulfil my research.


Kind regards,

Jan-Jurre

User avatar
J.J. Mordang
Posts: 26
Joined: Mon Mar 22, 2010 7:04 am

RE: Model takes off during RRA

Post by J.J. Mordang » Tue Jun 22, 2010 8:25 am

Hi Ayman,


I managed to do the RRA simulation by locking the pelvis and converting my lab data into treadmill data. However, when I want to compute muscle control I encounter a lot of problems.

1. When I check the "append to muscle's force data" instead of replace, the program just stops after printing : Setting cmc controller to not use verbose printing.

2. When I check the replace box, most times the CMC stops at a certain percentage (both slow and fast target). And if it finishes the model joints angles are all tangled up. I got one simulation nearly right (very high optimal force at the foot joints) but no muscle excitations could be seen after simulation.

3. I added 4 segments to the foot as that is what I'm interested in so I prefer not to lock them.

Are there any tips you can give me about configuring the .xml files needed for the CMC?

Thank you very much for your time and help.


Kind regards,

Jan-Jurre

POST REPLY