Hi
I want to simulate pneumatic actuator in opensim. In my experiment the pneumatic actuator is attached from waist to knee and it helps in knee extension supporting upper limb muscle in during gait cycle. How can I simulate the behavior of pneumatic muscle in opensim.
My goal is to use opensim to study effects of actuator on muscle activation and force generation. I used pathspring with model and data provided in working with static optimization tutorial, but with the pathspring acts like actuated all the time. I want to control the actuation by e.g. when the knee flexion is completed or toe off position.
I looked at customized actuator example but did not get any clue.
Thanks
Chetan
simulate controlled actuator
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: simulate controlled actuator
Hi,
You will have to implement the force characteristics on your own, by extending the appropriate class.
https://simtk.org/api_docs/opensim/api_ ... ml#details
Best
You will have to implement the force characteristics on your own, by extending the appropriate class.
https://simtk.org/api_docs/opensim/api_ ... ml#details
You will need a controller, that will detect these events and provide the appropriate input to your custom muscle.I want to control the actuation by e.g. when the knee flexion is completed or toe off position.
Best
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: simulate controlled actuator
Dimitar is correct. However, it may be simpler to use your custom Controller with the pre-existing PathActuator instead of your own custom actuator.
- Chetan Thakur
- Posts: 17
- Joined: Mon Oct 12, 2015 1:35 am
Re: simulate controlled actuator
Thanks for the comment and suggestion.
At first I am thinking to use ClutchedPathspring with custom controller to decide when to enable the clutch flag. In my case I need to activate the spring when toe off(initial swing). But I have a one question here, how to run static optimization with custom controller or actuator ? I could not find any examples or hint in the documentation.
Thanks in advance
Chetan
At first I am thinking to use ClutchedPathspring with custom controller to decide when to enable the clutch flag. In my case I need to activate the spring when toe off(initial swing). But I have a one question here, how to run static optimization with custom controller or actuator ? I could not find any examples or hint in the documentation.
Thanks in advance
Chetan
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: simulate controlled actuator
You need to initialize the AnalysisTool and add StaticOptimization.But I have a one question here, how to run static optimization with custom controller or actuator ? I could not find any examples or hint in the documentation.
- Chetan Thakur
- Posts: 17
- Joined: Mon Oct 12, 2015 1:35 am
Re: simulate controlled actuator
Thanks I was able add controller to the model and then run static optimization. I could see better results after using clutchedpathspring over pathspring.
Thanks for all the help. I will now try custom actuator.
-Chetan
Thanks for all the help. I will now try custom actuator.
-Chetan
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: simulate controlled actuator
How to add controller to cluthchedPathSpring ? Can any one guide me to example script?
Thanks & Regards,
Karthick.
Thanks & Regards,
Karthick.