» Articles » PMID: 26835184

Generating Optimal Control Simulations of Musculoskeletal Movement Using OpenSim and MATLAB

Overview
Journal PeerJ
Date 2016 Feb 3
PMID 26835184
Citations 18
Authors
Affiliations
Soon will be listed here.
Abstract

Computer modeling, simulation and optimization are powerful tools that have seen increased use in biomechanics research. Dynamic optimizations can be categorized as either data-tracking or predictive problems. The data-tracking approach has been used extensively to address human movement problems of clinical relevance. The predictive approach also holds great promise, but has seen limited use in clinical applications. Enhanced software tools would facilitate the application of predictive musculoskeletal simulations to clinically-relevant research. The open-source software OpenSim provides tools for generating tracking simulations but not predictive simulations. However, OpenSim includes an extensive application programming interface that permits extending its capabilities with scripting languages such as MATLAB. In the work presented here, we combine the computational tools provided by MATLAB with the musculoskeletal modeling capabilities of OpenSim to create a framework for generating predictive simulations of musculoskeletal movement based on direct collocation optimal control techniques. In many cases, the direct collocation approach can be used to solve optimal control problems considerably faster than traditional shooting methods. Cyclical and discrete movement problems were solved using a simple 1 degree of freedom musculoskeletal model and a model of the human lower limb, respectively. The problems could be solved in reasonable amounts of time (several seconds to 1-2 hours) using the open-source IPOPT solver. The problems could also be solved using the fmincon solver that is included with MATLAB, but the computation times were excessively long for all but the smallest of problems. The performance advantage for IPOPT was derived primarily by exploiting sparsity in the constraints Jacobian. The framework presented here provides a powerful and flexible approach for generating optimal control simulations of musculoskeletal movement using OpenSim and MATLAB. This should allow researchers to more readily use predictive simulation as a tool to address clinical conditions that limit human mobility.

Citing Articles

Optimal control simulations tracking wearable sensor signals provide comparable running gait kinematics to marker-based motion capture.

McConnochie G, Fox A, Bellenger C, Thewlis D PeerJ. 2025; 13:e19035.

PMID: 40061227 PMC: 11890300. DOI: 10.7717/peerj.19035.


Musculoskeletal models determine the effect of a soft active exosuit on muscle activations and forces during lifting and lowering tasks.

Yan C, Banks J, Allaire B, Quirk D, Chung J, Walsh C J Biomech. 2024; 176:112322.

PMID: 39305855 PMC: 11560613. DOI: 10.1016/j.jbiomech.2024.112322.


The effect of a soft active back support exosuit on trunk motion and thoracolumbar spine loading during squat and stoop lifts.

Banks J, Quirk D, Chung J, Cherin J, Walsh C, Anderson D Ergonomics. 2024; 68(2):223-236.

PMID: 38389220 PMC: 11339243. DOI: 10.1080/00140139.2024.2320355.


Human force control may trade-off force error with central tendency and recency biases.

Ryu H, Srinivasan M bioRxiv. 2023; .

PMID: 37786691 PMC: 10541649. DOI: 10.1101/2023.09.19.558388.


Exploring the effects of skeletal architecture and muscle properties on bipedal standing in the common chimpanzee () from the perspective of biomechanics.

Xv X, Chen W, Xiong C, Huang B, Cheng L, Sun B Front Bioeng Biotechnol. 2023; 11:1140262.

PMID: 37214291 PMC: 10196953. DOI: 10.3389/fbioe.2023.1140262.


References
1.
Seth A, Sherman M, Reinbolt J, Delp S . OpenSim: a musculoskeletal modeling and simulation framework for investigations and exchange. Procedia IUTAM. 2015; 2:212-232. PMC: 4397580. DOI: 10.1016/j.piutam.2011.04.021. View

2.
Mansouri M, Clark A, Seth A, Reinbolt J . Rectus femoris transfer surgery affects balance recovery in children with cerebral palsy: A computer simulation study. Gait Posture. 2015; 43:24-30. DOI: 10.1016/j.gaitpost.2015.08.016. View

3.
Ackermann M, van den Bogert A . Optimality principles for model-based prediction of human gait. J Biomech. 2010; 43(6):1055-60. PMC: 2849893. DOI: 10.1016/j.jbiomech.2009.12.012. View

4.
Kaplan M, Heegaard J . Predictive algorithms for neuromuscular control of human locomotion. J Biomech. 2001; 34(8):1077-83. DOI: 10.1016/s0021-9290(01)00057-4. View

5.
Mansouri M, Reinbolt J . A platform for dynamic simulation and control of movement based on OpenSim and MATLAB. J Biomech. 2012; 45(8):1517-21. PMC: 3593123. DOI: 10.1016/j.jbiomech.2012.03.016. View