1
|
Di Pietro A, Bersani A, Curreli C, Di Puccio F. AST: An OpenSim-based tool for the automatic scaling of generic musculoskeletal models. Comput Biol Med 2024; 175:108524. [PMID: 38688126 DOI: 10.1016/j.compbiomed.2024.108524] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 01/08/2024] [Revised: 04/22/2024] [Accepted: 04/24/2024] [Indexed: 05/02/2024]
Abstract
BACKGROUND AND OBJECTIVES The paper introduces a tool called Automatic Scaling Tool (AST) designed for improving and expediting musculoskeletal (MSK) simulations based on generic models in OpenSim. Scaling is a crucial initial step in MSK analyses, involving the correction of virtual marker locations on a model to align with actual experimental markers. METHODS The AST automates this process by iteratively adjusting virtual markers using scaling and inverse kinematics on a static trial. It evaluates the root mean square error (RMSE) and maximum marker error, implementing corrective actions until achieving the desired accuracy level. The tool determines whether to scale a segment with a marker-based or constant scaling factor based on checks on RMSE and segment scaling factors. RESULTS Testing on three generic MSK models demonstrated that the AST significantly outperformed manual scaling by an expert operator. The RMSE for static trials was one order of magnitude lower, and for gait tasks, it was five times lower (8.5 ± 0.76 mm vs. 44.5 ± 7.5 mm). The AST consistently achieved the desired level of accuracy in less than 100 iterations, providing reliable scaled MSK models within a relatively brief timeframe, ranging from minutes to hours depending on model complexity. CONCLUSIONS The paper concludes that AST can greatly benefit the biomechanical community by quickly and accurately scaling generic models, a critical first step in MSK analyses. Further validation through additional experimental datasets and generic models is proposed for future tests.
Collapse
Affiliation(s)
- Andrea Di Pietro
- Department of Civil and Industrial Engineering, University of Pisa, Italy.
| | - Alex Bersani
- Department of Industrial Engineering, Alma Mater Studiorum - University of Bologna, Italy; Medical Technology Lab, IRCCS Istituto Ortopedico Rizzoli, Bologna, Italy
| | - Cristina Curreli
- Medical Technology Lab, IRCCS Istituto Ortopedico Rizzoli, Bologna, Italy
| | - Francesca Di Puccio
- Department of Civil and Industrial Engineering, University of Pisa, Italy; Center for Rehabilitative Medicine "Sport and Anatomy", University of Pisa, Italy
| |
Collapse
|
2
|
Werling K, Bianco NA, Raitor M, Stingel J, Hicks JL, Collins SH, Delp SL, Liu CK. AddBiomechanics: Automating model scaling, inverse kinematics, and inverse dynamics from human motion data through sequential optimization. PLoS One 2023; 18:e0295152. [PMID: 38033114 PMCID: PMC10688959 DOI: 10.1371/journal.pone.0295152] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/19/2023] [Accepted: 11/14/2023] [Indexed: 12/02/2023] Open
Abstract
Creating large-scale public datasets of human motion biomechanics could unlock data-driven breakthroughs in our understanding of human motion, neuromuscular diseases, and assistive devices. However, the manual effort currently required to process motion capture data and quantify the kinematics and dynamics of movement is costly and limits the collection and sharing of large-scale biomechanical datasets. We present a method, called AddBiomechanics, to automate and standardize the quantification of human movement dynamics from motion capture data. We use linear methods followed by a non-convex bilevel optimization to scale the body segments of a musculoskeletal model, register the locations of optical markers placed on an experimental subject to the markers on a musculoskeletal model, and compute body segment kinematics given trajectories of experimental markers during a motion. We then apply a linear method followed by another non-convex optimization to find body segment masses and fine tune kinematics to minimize residual forces given corresponding trajectories of ground reaction forces. The optimization approach requires approximately 3-5 minutes to determine a subject's skeleton dimensions and motion kinematics, and less than 30 minutes of computation to also determine dynamically consistent skeleton inertia properties and fine-tuned kinematics and kinetics, compared with about one day of manual work for a human expert. We used AddBiomechanics to automatically reconstruct joint angle and torque trajectories from previously published multi-activity datasets, achieving close correspondence to expert-calculated values, marker root-mean-square errors less than 2 cm, and residual force magnitudes smaller than 2% of peak external force. Finally, we confirmed that AddBiomechanics accurately reproduced joint kinematics and kinetics from synthetic walking data with low marker error and residual loads. We have published the algorithm as an open source cloud service at AddBiomechanics.org, which is available at no cost and asks that users agree to share processed and de-identified data with the community. As of this writing, hundreds of researchers have used the prototype tool to process and share about ten thousand motion files from about one thousand experimental subjects. Reducing the barriers to processing and sharing high-quality human motion biomechanics data will enable more people to use state-of-the-art biomechanical analysis, do so at lower cost, and share larger and more accurate datasets.
Collapse
Affiliation(s)
- Keenon Werling
- Department of Computer Science, Stanford University, Stanford, California, United States of America
| | - Nicholas A. Bianco
- Department of Mechanical Engineering, Stanford University, Stanford, California, United States of America
| | - Michael Raitor
- Department of Mechanical Engineering, Stanford University, Stanford, California, United States of America
| | - Jon Stingel
- Department of Mechanical Engineering, Stanford University, Stanford, California, United States of America
| | - Jennifer L. Hicks
- Department of Bioengineering, Stanford University, Stanford, California, United States of America
| | - Steven H. Collins
- Department of Mechanical Engineering, Stanford University, Stanford, California, United States of America
| | - Scott L. Delp
- Department of Mechanical Engineering, Stanford University, Stanford, California, United States of America
- Department of Bioengineering, Stanford University, Stanford, California, United States of America
| | - C. Karen Liu
- Department of Computer Science, Stanford University, Stanford, California, United States of America
| |
Collapse
|
3
|
Werling K, Bianco NA, Raitor M, Stingel J, Hicks JL, Collins SH, Delp SL, Liu CK. AddBiomechanics: Automating model scaling, inverse kinematics, and inverse dynamics from human motion data through sequential optimization. BIORXIV : THE PREPRINT SERVER FOR BIOLOGY 2023:2023.06.15.545116. [PMID: 37398034 PMCID: PMC10312696 DOI: 10.1101/2023.06.15.545116] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 07/04/2023]
Abstract
Creating large-scale public datasets of human motion biomechanics could unlock data-driven breakthroughs in our understanding of human motion, neuromuscular diseases, and assistive devices. However, the manual effort currently required to process motion capture data and quantify the kinematics and dynamics of movement is costly and limits the collection and sharing of large-scale biomechanical datasets. We present a method, called AddBiomechanics, to automate and standardize the quantification of human movement dynamics from motion capture data. We use linear methods followed by a non-convex bilevel optimization to scale the body segments of a musculoskeletal model, register the locations of optical markers placed on an experimental subject to the markers on a musculoskeletal model, and compute body segment kinematics given trajectories of experimental markers during a motion. We then apply a linear method followed by another non-convex optimization to find body segment masses and fine tune kinematics to minimize residual forces given corresponding trajectories of ground reaction forces. The optimization approach requires approximately 3-5 minutes to determine a subjecťs skeleton dimensions and motion kinematics, and less than 30 minutes of computation to also determine dynamically consistent skeleton inertia properties and fine-tuned kinematics and kinetics, compared with about one day of manual work for a human expert. We used AddBiomechanics to automatically reconstruct joint angle and torque trajectories from previously published multi-activity datasets, achieving close correspondence to expert-calculated values, marker root-mean-square errors less than 2 c m , and residual force magnitudes smaller than 2 % of peak external force. Finally, we confirmed that AddBiomechanics accurately reproduced joint kinematics and kinetics from synthetic walking data with low marker error and residual loads. We have published the algorithm as an open source cloud service at AddBiomechanics.org, which is available at no cost and asks that users agree to share processed and de-identified data with the community. As of this writing, hundreds of researchers have used the prototype tool to process and share about ten thousand motion files from about one thousand experimental subjects. Reducing the barriers to processing and sharing high-quality human motion biomechanics data will enable more people to use state-of-the-art biomechanical analysis, do so at lower cost, and share larger and more accurate datasets.
Collapse
Affiliation(s)
- Keenon Werling
- Department of Computer Science, Stanford University, Stanford, California
| | - Nicholas A. Bianco
- Department of Mechanical Engineering, Stanford University, Stanford, California
| | - Michael Raitor
- Department of Mechanical Engineering, Stanford University, Stanford, California
| | - Jon Stingel
- Department of Mechanical Engineering, Stanford University, Stanford, California
| | - Jennifer L. Hicks
- Department of Bioengineering, Stanford University, Stanford, California
| | - Steven H. Collins
- Department of Mechanical Engineering, Stanford University, Stanford, California
| | - Scott L. Delp
- Department of Mechanical Engineering, Stanford University, Stanford, California
- Department of Bioengineering, Stanford University, Stanford, California
| | - C. Karen Liu
- Department of Computer Science, Stanford University, Stanford, California
| |
Collapse
|
4
|
Shamsoddini A, Hollisaz MT. Biomechanics of running: A special reference to the comparisons of wearing boots and running shoes. PLoS One 2022; 17:e0270496. [PMID: 35749460 PMCID: PMC9231798 DOI: 10.1371/journal.pone.0270496] [Citation(s) in RCA: 4] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/14/2022] [Accepted: 06/10/2022] [Indexed: 12/01/2022] Open
Abstract
Boots are often used in sports, occupations, and rehabilitation. However, there are few studies on the biomechanical alterations after wearing boots. The current study aimed to compare the effects of running shoes and boots on running biomechanics. Kinematics and ground reaction forces were recorded from 17 healthy males during running at 3.3 m/s with shoe and boot conditions. Temporal distance gait variables, ground reaction force components as well as lower limb joints angle, moment, and power were compared using Paired t-test and Statistical Parametric Mapping package for time-series analysis. Running with boots was associated with greater stride, step, flight, and swing times, greater flight length, and smaller cadence (p<0.05). The only effect of boots on lower limb joints kinematics during running was a reduction in ankle range of motion (p<0.05). Significantly greater hip flexor, abductor, and internal rotator moments, greater knee extensor and abductor moments, and ankle plantar flexor moments were observed at push-off phase of running as well as greater ankle dorsiflexor moment at early-stance in boot condition (p<0.05). Also, knee joint positive power was greater with a significant temporal shift in boot condition, suggesting a compensatory mechanism in response to limited ankle range of motion and the inability of the ankle joint to generate the required power. Our findings showed that running with boots is physically more demanding and is associated with a greater net contribution of muscles spanning hip and knee joints in order to generate more power and compensate for the ankle joint limitations, consequently, may increase the risk of both musculoskeletal injuries and degenerative joint diseases.
Collapse
Affiliation(s)
- Alireza Shamsoddini
- Exercise Physiology Research Center, LifeStyle Institute, Baqiyatallah University of Medical Sciences, Tehran, Iran
- * E-mail:
| | - Mohammad Taghi Hollisaz
- Department of physical Medicine and Rehabilitation, Baqiyatallah University of Medical Sciences, Tehran, Iran
| |
Collapse
|
5
|
Uchida TK, Seth A. Conclusion or Illusion: Quantifying Uncertainty in Inverse Analyses From Marker-Based Motion Capture due to Errors in Marker Registration and Model Scaling. Front Bioeng Biotechnol 2022; 10:874725. [PMID: 35694232 PMCID: PMC9174465 DOI: 10.3389/fbioe.2022.874725] [Citation(s) in RCA: 7] [Impact Index Per Article: 3.5] [Reference Citation Analysis] [Abstract] [Grants] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/12/2022] [Accepted: 04/28/2022] [Indexed: 11/13/2022] Open
Abstract
Estimating kinematics from optical motion capture with skin-mounted markers, referred to as an inverse kinematic (IK) calculation, is the most common experimental technique in human motion analysis. Kinematics are often used to diagnose movement disorders and plan treatment strategies. In many such applications, small differences in joint angles can be clinically significant. Kinematics are also used to estimate joint powers, muscle forces, and other quantities of interest that cannot typically be measured directly. Thus, the accuracy and reproducibility of IK calculations are critical. In this work, we isolate and quantify the uncertainty in joint angles, moments, and powers due to two sources of error during IK analyses: errors in the placement of markers on the model (marker registration) and errors in the dimensions of the model’s body segments (model scaling). We demonstrate that IK solutions are best presented as a distribution of equally probable trajectories when these sources of modeling uncertainty are considered. Notably, a substantial amount of uncertainty exists in the computed kinematics and kinetics even if low marker tracking errors are achieved. For example, considering only 2 cm of marker registration uncertainty, peak ankle plantarflexion angle varied by 15.9°, peak ankle plantarflexion moment varied by 26.6 N⋅m, and peak ankle power at push off varied by 75.9 W during healthy gait. This uncertainty can directly impact the classification of patient movements and the evaluation of training or device effectiveness, such as calculations of push-off power. We provide scripts in OpenSim so that others can reproduce our results and quantify the effect of modeling uncertainty in their own studies.
Collapse
Affiliation(s)
- Thomas K. Uchida
- Department of Mechanical Engineering, University of Ottawa, Ottawa, ON, Canada
- *Correspondence: Thomas K. Uchida,
| | - Ajay Seth
- Department of BioMechanical Engineering, Delft University of Technology, Delft, Netherlands
| |
Collapse
|
6
|
Bakke D, Besier T. Shape-model scaled gait models can neglect segment markers without consequential change to inverse kinematics results. J Biomech 2022; 137:111086. [DOI: 10.1016/j.jbiomech.2022.111086] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/02/2021] [Revised: 04/04/2022] [Accepted: 04/05/2022] [Indexed: 11/25/2022]
|
7
|
Arroyave-Tobon S, Drapin J, Kaniewski A, Linares JM, Moretto P. Kinematic Modeling at the Ant Scale: Propagation of Model Parameter Uncertainties. Front Bioeng Biotechnol 2022; 10:767914. [PMID: 35299633 PMCID: PMC8921731 DOI: 10.3389/fbioe.2022.767914] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 08/31/2021] [Accepted: 01/20/2022] [Indexed: 11/20/2022] Open
Abstract
Quadrupeds and hexapods are known by their ability to adapt their locomotive patterns to their functions in the environment. Computational modeling of animal movement can help to better understand the emergence of locomotive patterns and their body dynamics. Although considerable progress has been made in this subject in recent years, the strengths and limitations of kinematic simulations at the scale of small moving animals are not well understood. In response to this, this work evaluated the effects of modeling uncertainties on kinematic simulations at small scale. In order to do so, a multibody model of a Messor barbarus ant was developed. The model was built from 3D scans coming from X-ray micro-computed tomography. Joint geometrical parameters were estimated from the articular surfaces of the exoskeleton. Kinematic data of a free walking ant was acquired using high-speed synchronized video cameras. Spatial coordinates of 49 virtual markers were used to run inverse kinematics simulations using the OpenSim software. The sensitivity of the model’s predictions to joint geometrical parameters and marker position uncertainties was evaluated by means of two Monte Carlo simulations. The developed model was four times more sensitive to perturbations on marker position than those of the joint geometrical parameters. These results are of interest for locomotion studies of small quadrupeds, octopods, and other multi-legged animals.
Collapse
Affiliation(s)
- Santiago Arroyave-Tobon
- Institut Des Sciences Du Mouvement, Faculté Des Sciences Du Sport, Aix-Marseille Université, CNRS, Marseille, France
- *Correspondence: Santiago Arroyave-Tobon,
| | - Jordan Drapin
- Centre de Recherches sur la Cognition Animale (CRCA), Centre de Biologie Intégrative (CBI), Université de Toulouse, CNRS, UPS, Toulouse, France
| | - Anton Kaniewski
- Institut Des Sciences Du Mouvement, Faculté Des Sciences Du Sport, Aix-Marseille Université, CNRS, Marseille, France
| | - Jean-Marc Linares
- Institut Des Sciences Du Mouvement, Faculté Des Sciences Du Sport, Aix-Marseille Université, CNRS, Marseille, France
| | - Pierre Moretto
- Centre de Recherches sur la Cognition Animale (CRCA), Centre de Biologie Intégrative (CBI), Université de Toulouse, CNRS, UPS, Toulouse, France
| |
Collapse
|
8
|
Dunne JJ, Uchida TK, Besier TF, Delp SL, Seth A. Correction: A marker registration method to improve joint angles computed by constrained inverse kinematics. PLoS One 2021; 16:e0254509. [PMID: 34234381 PMCID: PMC8263300 DOI: 10.1371/journal.pone.0254509] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Download PDF] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/18/2022] Open
|