Related Experiment Video
Updated: Jan 5, 2026

The Modular Design and Production of an Intelligent Robot Based on a Closed-Loop Control Strategy
Published on: October 14, 2017
Algorithmic differentiation improves the computational efficiency of OpenSim-based trajectory optimization of human
Antoine Falisse1, Gil Serrancolí2, Christopher L Dembia3
1Department of Movement Sciences, KU Leuven, Leuven, Belgium.
Algorithmic differentiation (AD) significantly speeds up human movement trajectory optimization in OpenSim compared to finite differences (FD). Researchers demonstrated AD’s computational benefits, enhancing biomechanical model analysis.
Area of Science:
- Biomechanics
- Computational Science
- Human Movement Analysis
Background:
- Finite differences (FD) are commonly used for derivative calculations in trajectory optimization.
- Algorithmic differentiation (AD) offers a more accurate and potentially faster alternative.
- OpenSim is a widely used software for musculoskeletal modeling and biomechanical analysis.
Purpose of the Study:
- To demonstrate the computational advantages of using AD over FD in OpenSim-based human movement trajectory optimization.
- To evaluate the impact of different AD tools, linear solvers, and derivative orders on computational efficiency.
- To facilitate the use of detailed musculoskeletal models in biomechanical applications.
Main Methods:
- Implemented AD in OpenSim using a custom source code transformation tool and the ADOL-C library.
- Developed an interface between OpenSim and CasADi for trajectory optimization.
- Conducted simulations of perturbed balance, 2D walking, and 3D walking using direct collocation and implicit differential equations.
Main Results:
- AD via the custom tool was 1.8–17.8 times faster than FD and 3.6–12.3 times faster than ADOL-C.
- Linear solver efficiency varied by problem; no single solver was consistently superior.
- Second-order derivatives were more efficient for balance but less for walking simulations.
- Simulations produced physiologically realistic walking gaits.
Conclusions:
- AD drastically reduces computational time for trajectory optimization problems compared to FD.
- Combining AD with direct collocation and implicit differential equations lessens the computational burden for human movement analysis.
- This approach will enable wider application of detailed musculoskeletal models in biomechanics.
More Related Videos
10:02FIM Imaging and FIMtrack: Two New Tools Allowing High-throughput and Cost Effective Locomotion Analysis
Published on: December 24, 2014
09:46MPI CyberMotion Simulator: Implementation of a Novel Motion Simulator to Investigate Multisensory Path Integration in Three Dimensions
Published on: May 10, 2012
Related Concept Videos
Kinematic Equations: Problem Solving
One-Degree-of-Freedom System
A one-degree-of-freedom system is defined by an independent variable that determines its state and behavior. One example of a one-degree-of-freedom system is a simple harmonic oscillator, such as a...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Kinematic Equations - II
Suppose a car merges into freeway traffic on a 200 m long ramp. If its initial velocity is 10 m/s and it accelerates at 2 m/s2, then the...
Kinematic Equations - III
Using the kinematic equations,...
Three-Dimensional Force System:Problem Solving
To solve a three-dimensional force system, first resolve each force into its respective scalar components. Do this using...