scieee AI-readable full text Open interactive document viewer

Prediction of human motion using musculoskeletal models driven by muscle torque generators: A sensitivity analysis on the effects of the MTG parameters on musculoskeletal simulations of human motion

Vilanova Badosa, Eduard

Abstract

Aquest treball de final de màster ha estat realitzat en la Universitat Politècnica de Catalunya, a la facultat de l’Escola Tècnica Superior d’Enginyeria Industrial de Barcelona (ETSEIB). Concretament amb el grup de recerca del laboratori d’Enginyeria Biomecànica (BIOMEC) que forma part del Centre de Recerca d’Enginyeria Biomèdica (CREB). El Grup de Recerca del Laboratori d'Enginyeria Biomècnica (BIOMEC) ha estat treballant en el desenvolupament d'un codi centrat en models impulsats torque-driven. El principal propòsit d'aquest codi és possibilitar la precisa predicción escenaris de control òptim en el context de la marxa, utilitzant models de diversa complexitat. A mesura que ens endinsem en aquesta tesi, es fa evident que s'ha concebut un model més exhaustiu que millora significativament la fidelitat de les simulacions de moviment. Aquesta millora s'aconsegueix mitjançant la incorporació de muscle torque generators (MTG). La utilització d'aquests models impulsats per MTGs serveix per a dues finalitats: avançar en la nostra comprensió del moviment humà i optimitzar les seves aplicacions pràctiques. Aquests models ho aconsegueixen millorant substancialment el realisme i la precisió de les simulacions biomecàniques, ja que reproduïxen amb precisió la dinàmica dels músculs que operen al voltant de les articulacions específiques. En aquesta tesi de màster, es realitza un anàlisi de sensibilitat sobre els efectes dels paràmetres de MTG en les solucions del marc de predicció de control òptim desenvolupat al Laboratori BIOMEC. Per tant, aquesta tesi té com a objectiu establir algunes directrius que aclareixi quins paràmetres de MTG haurien de ser personalitzats per a les simulacions de models musculoesquelètics. A més, realitzen diferents captures d’un cicle de marxa saludable i un moviment de flexió de genolls anomenat “squat” per implementar aquest anàlisi de sensibilitat en aquests dos moviments (caminar i “squat”) basats en el model impulsat per MTG per comprendre si la sensibilitat de la solució de control òptim als paràmetres de MTG depèn de l'activitat. Al llarg d'aquests memòria, es detallen tots els processos involucrats en l'anàlisi de sensibilitat, així com es descriu la metodologia utilitzada dins el model esquelètic emprat. Per a cada moviment, s'han realitzat diverses simulacions augmentant i disminuint el valor dels paràmetres de MTG implicats en cada problema de seguiment de moviment. Aquests resultats s'han avaluat enfront de dades nominals per a concloure quins paràmetres de MTG poden influir substancialment en la solució del problema de moviment. El paràmetre de MTG més influent s'ha obtingut que és el torque isomètric màxim que actúa a cada articulació en ambdós moviments, mentre que, en el seguiment dels diferents angles de les articulacions, l'anàlisi de sensibilitat ha mostrat alguna diferència entre els dos moviments. En l'anàlisi del problema de seguiment de la marxa, la subestimació dels valors de la velocitat angular màxima i del coeficient d'amortiment durant la calibració del model pot influir substancialment en la solució.Pel que fa a l’altre moviment, el paràmetre de MTG més influent en el seguiment dels angles en les articulacions ha estat el coeficient d'amortiment. Mitjançant la identificació dels paràmetres de MTG més influents, aquesta tesi pot proporcionar algunes directrius per personalitzar els paràmetres de MTG en les simulacions de models musculoesquelètics per obtenir simulacions dinàmiques més precises basades en models impulsats per MTG. La contribució d'aquest anàlisi de sensibilitat permet comprendre la influència dels paràmetres de MTG en les simulacions i adquirir coneixements sobre les capacitats musculars d'un individu que poden utilitzar-se en el futur en rehabilitació i aplicacions esportives

Full text

Treball de Fi de Màster Màster Universitari en Neuroenginyeria i Rehabilitació Prediction of human motion using musculoskeletal models driven by muscle torque generators: A sensitivity analysis on the effects of the MTG parameters on musculoskeletal simulations of human motion REPORT Autor: Eduard Vilanova Badosa (Author) Directora: Dra.Míriam Febrer Nafría (Supervisor) Co-director: Filippo Maceratesi (Co-supervisor) Convocatòria: September 2023 Escola Tècnica Superior d’Enginyeria Industrial de Barcelona Page. 2A sensitivity analysis on the effects of the MTG parameters on MSK simulations A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 3 Resum Aquest treball de final de màster ha estat realitzat en la Universitat Politècnica de Catalunya, a la facultat de l’Escola Tècnica Superior d’Enginyeria Industrial de Barcelona (ETSEIB). Concretament amb el grup de recerca del laboratori d’Enginyeria Biomecànica (BIOMEC) que forma part del Centre de Recerca d’Enginyeria Biomèdica (CREB). El Grup de Recerca del Laboratori d'Enginyeria Biomècnica (BIOMEC) ha estat treballant en el desenvolupament d'un codi centrat en models impulsats torque-driven. El principal propòsit d'aquest codi és possibilitar la precisa predicción escenaris de control òptim en el context de la marxa, utilitzant models de diversa complexitat. A mesura que ens endinsem en aquesta tesi, es fa evident que s'ha concebut un model més exhaustiu que millora significativament la fidelitat de les simulacions de moviment. Aquesta millora s'aconsegueix mitjançant la incorporació de muscle torque generators (MTG). La utilització d'aquests models impulsats per MTGs serveix per a dues finalitats: avançar en la nostra comprensió del moviment humà i optimitzar les seves aplicacions pràctiques. Aquests models ho aconsegueixen millorant substancialment el realisme i la precisió de les simulacions biomecàniques, ja que reproduïxen amb precisió la dinàmica dels músculs que operen al voltant de les articulacions específiques. En aquesta tesi de màster, es realitza un anàlisi de sensibilitat sobre els efectes dels paràmetres de MTG en les solucions del marc de predicció de control òptim desenvolupat al Laboratori BIOMEC. Per tant, aquesta tesi té com a objectiu establir algunes directrius que aclareixi quins paràmetres de MTG haurien de ser personalitzats per a les simulacions de models musculoesquelètics. A més, realitzen diferents captures d’un cicle de marxa saludable i un moviment de flexió de genolls anomenat “squat” per implementar aquest anàlisi de sensibilitat en aquests dos moviments (caminar i “squat”) basats en el model impulsat per MTG per comprendre si la sensibilitat de la solució de control òptim als paràmetres de MTG depèn de l'activitat. Al llarg d'aquests memòria, es detallen tots els processos involucrats en l'anàlisi de sensibilitat, així com es descriu la metodologia utilitzada dins el model esquelètic emprat. Per a cada moviment, s'han realitzat diverses simulacions augmentant i disminuint el valor dels paràmetres de MTG implicats en cada problema de seguiment de moviment. Aquests resultats s'han avaluat enfront de dades nominals per a concloure quins paràmetres de MTG poden influir substancialment en la solució del problema de moviment. El paràmetre de MTG més influent s'ha obtingut que és el torque isomètric màxim que actúa a cada articulació en ambdós moviments, mentre que, en el seguiment dels diferents angles de les articulacions, l'anàlisi de sensibilitat Page. 4A sensitivity analysis on the effects of the MTG parameters on MSK simulations ha mostrat alguna diferència entre els dos moviments. En l'anàlisi del problema de seguiment de la marxa, la subestimació dels valors de la velocitat angular màxima i del coeficient d'amortiment durant la calibració del model pot influir substancialment en la solució.Pel que fa a l’altre moviment, el paràmetre de MTG més influent en el seguiment dels angles en les articulacions ha estat el coeficient d'amortiment. Mitjançant la identificació dels paràmetres de MTG més influents, aquesta tesi pot proporcionar algunes directrius per personalitzar els paràmetres de MTG en les simulacions de models musculoesquelètics per obtenir simulacions dinàmiques més precises basades en models impulsats per MTG. La contribució d'aquest anàlisi de sensibilitat permet comprendre la influència dels paràmetres de MTG en les simulacions i adquirir coneixements sobre les capacitats musculars d'un individu que poden utilitzar-se en el futur en rehabilitació i aplicacions esportives. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 5 Resumen Este trabajo final de máster fue realizado en la Universidad Politécnica de Catalunya (UPC), en la facultad de Ingeniería Técnica Superior de Barcelona (ETSEIB). Concretamente, con el grupo de investigación del laboratorio de Ingeniería Biomecànica (BIOMEC) que forma parte del Centro de Recerca de Ingeniería Biomédica (CREB) junto con otros grupos de investigación. El Grupo de Investigación del Laboratorio de Ingeniería Biomécanica(BIOMEC) ha estado trabajando diligentemente en el desarrollo de un código centrado en torque-driven models. El propósito principal de este código es permitir la predicción precisa de escenarios de control óptimo en el contexto de la marcha, utilizando modelos de variada complejidad. A medida que nos adentramos en esta tesis, se hace evidente que se ha ideado un modelo más intrincado que mejora significativamente la fidelidad de las simulaciones de movimiento. Esta mejora se logra mediante la incorporación de muscle torque generators (MTGs). La utilización de estos MTG-driven models cumple con el doble propósito de avanzar en nuestra comprensión del movimiento humano y optimizar sus aplicaciones prácticas. Estos modelos logran esto al mejorar sustancialmente el realismo y precisión de las simulaciones biomecánicas, ya que replican con precisión la dinámica de los músculos que operan alrededor de articulaciones específicas. En esta tesis, se realiza un análisis de sensibilidad sobre los efectos de los parámetros de MTG en las soluciones del marco de predicción de control óptimo desarrollado en el Laboratorio BIOMEC. Por lo tanto, esta tesis tiene como objetivo establecer algunas pautas que aclaren qué parámetros de MTG deben personalizarse para las simulaciones de modelos musculoesqueléticos. Además, se captura un ciclo de marcha saludable y un movimiento de sentadilla saludable para implementar este análisis de sensibilidad en estos dos movimientos (caminar y sentadilla) basados en el modelo impulsado por MTG para comprender si la sensibilidad de la solución de control óptimo a los parámetros de MTG depende de la actividad. A lo largo de este informe de tesis, se detallan todos los procesos involucrados en el análisis de sensibilidad, así como se describe la metodología utilizada en el modelo esquelético empleado. Para cada movimiento, se realizaron varias simulaciones aumentando y disminuyendo el valor de los parámetros de MTG involucrados en cada problema específico de movimiento. Estos resultados se evaluaron frente a datos nominales para concluir en qué parámetros de MTG pueden influir sustancialmente en la solución del problema de movimiento. El parámetro de MTG más influyente se obtuvo que era el torque isométrico máximo actuante en cada articulación para ambos movimientos, mientras que en el seguimiento de las Page. 6A sensitivity analysis on the effects of the MTG parameters on MSK simulations diferentes articulaciones, el análisis de sensibilidad mostró algunas diferencias entre los dos movimientos. En el análisis de la marcha, concluye que subestimar los valores de la velocidad angular máxima y el coeficiente de amortiguación durante la calibración del modelo puede influir sustancialmente en la solución del control óptimo. Sin embargo, para el movimiento de sentadilla, el parámetro de MTG más influyente con respecto a los ángulos de las articulaciones fue el coeficiente de amortiguación. Mediante la identificación de los parámetros de MTG más influyentes en cada solución, esta tesis puede proporcionar pautas para personalizar los parámetros de MTG en simulaciones de modelos musculoesqueléticos con el fin de obtener simulaciones dinámicas más precisas basadas en modelos impulsados por MTG. La contribución de este análisis de sensibilidad permite comprender la influencia de los parámetros de MTG en las simulaciones de modelos impulsados por MTG y adquirir conocimientos sobre las capacidades musculares de un individuo que pueden utilizarse en el futuro en rehabilitación y aplicaciones deportivas. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 7 Abstract This Final Master Project was done in the Polytechnic University of Catalunya, in the Industrial Superior Technical Engineering School of Barcelona(ETSEIB). To be specific, it was done inside the Researching Group of Biomedical Engineering (CREB), being part of the Biomechanical Engineering (BIOMEC) Lab research group. The Biomechanical Engineering Lab Research Group (BIOMEC) has been diligently working on developing a code centered around torque-driven models. This code's primary purpose is to enable the precise prediction of optimal control scenarios in the context of walking, utilizing models of varying complexity. As we delve into this thesis, it becomes evident that a more intricate model has been devised, which significantly improves the fidelity of motion simulations. This enhancement is achieved through the incorporation of muscle torque generators(MTGs) into the existing framework. The utilization of these muscle torque generators-driven models serves the dual purpose of advancing our comprehension of human movement and optimizing their practical applications. These models achieve this by substantially enhancing the realism and precision of biomechanical simulations, as they accurately replicate the dynamics of muscles operating around specific joints. In this master thesis, a sensitivity analysis on the effects of the MTG parameters on the solutions of the optimal control prediction framework developed at BIOMEC Lab is performed. This thesis, therefore, aims to establish some guidelines that clarify which MTG parameters should be personalized for simulations of musculoskeletal models. Moreover, a healthy gait cycle and a healthy squat movement is captured in order to implement this sensitivity analysis into these two motions (walking and squat) based on the MTG-driven model to understand whether the sensitivity of the optimal control solution to the MTG parameters depends on the activity. Along this thesis report, all the processes involved in the sensitivity analysis are detailed as well as the methodology used within the skeletal model used is described. For each motion, several simulations have been performed increasing and decreasing the MTG parameters value involved in each motion tracking problem. These results were evaluated against nominal data to conclude in which MTG parameters can substantially influence the solution of the tracking problem. The most influential MTG parameter was obtained to be the maximum isometric torque acting in each joint for both motions, whereas tracking the different joint coordinates, the sensitivity analysis presented some difference between the two motions. For the gait tracking problem analysis, underestimating the values of the maximum angular velocity and damping coefficient parameters during model calibration can substantially influence the Page. 8A sensitivity analysis on the effects of the MTG parameters on MSK simulations solution of the tracking problem. While, for the squat motion, the most influential MTG parameter regarding the joint coordinates tracking was the damping coefficient. By the identification of the most influential MTG parameters, this thesis can provide some guidelines to personalize MTG parameters for simulations of musculoskeletal models in order to have better accurate dynamic simulations based on MTG-driven models. The contribution of this sensitivity analysis allows to understand MTG parameters influence in MTG-driven models simulations and gain knowledge in an individual's muscle torque capabilities to be used, in the future, in rehabilitations and sports applications. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 9 Contents Resum.......................................................................................................................... 3 Resumen...................................................................................................................... 5 Abstract........................................................................................................................7 Contents.......................................................................................................................9 Abbreviations............................................................................................................ 11 Symbols..................................................................................................................... 12 List of Figures............................................................................................................13 List of tables.............................................................................................................. 15 1. Preface................................................................................................................... 16 2. Introduction........................................................................................................... 17 2.1 Motivation ………………………………………………………………………….. 18 2.2 Objectives ……………………………………………………………………..…… 29 3. Theoretical Background....................................................................................... 20 3.1. Biomechanics of human motion..................................................................... 20 3.1.1. Human Walking Gait Cycle …………………………………………...…… 20 3.1.2. Human Squat Motion ………………………………………………………. 21 3.2. Musculoskeletal models................................................................................. 22 3.2.1 Skeletal Modeling …………………………………………………………… 22 3.2.2. Muscle Modeling …………………………………….……………………… 24 3.2.3. Foot-Ground Contact Model ………………………………………………. 25 3.3. Dynamic Analysis ………………………………………………………………... 26 3.3.1. Inverse Dynamic Analysis (IDA) ………………………………………….. 26 3.3.2. Forward Dynamic Analysis (FDA) ………………………………………… 26 3.4. Human Motion ……………………………………………..…………………….. 27 4. Methodology and equipment............................................................................... 29 4.1. Muscle Torque Generator ………………………………………………………. 29 4.2. 2D HAT Model …………………………………………………………………… 31 4.2.1. MTGs Modeling in Tracking Problem ……………………………...……… 31 4.3. Experimental Data Collection …………………………………………………... 34 4.3.1. Laboratory Equipment ………………………………………...……………. 34 4.3.2. Experimental Capture of Human Motions ………………………………… 36 4.3.3. Motion Capture & Data Processing ……………………………………….. 37 5. Results & Discussion............................................................................................40 5.1. Human Motion Nominal Solutions …………………………………………….. 40 5.1.1. 2D HAT Gait Tracking Problem ……………………………………………. 40 5.1.2. 2D HAT Squat Tracking Problem ………………………………………….. 42 5.2. Human Motions Captured Sensitivity Analysis …………….………………… 42 5.2.1 2D HAT Gait Tracking Sensitivity Analysis ……………...………………… 42 5.2.2. 2D HAT Squat Tracking Sensitivity Analysis …………………………...… 46 5.2.3. Guidelines for MTG Parameters Calibration ……………………………... 50 Page. 16 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 1. Preface During my bachelor degree in Biomedical Engineering I was really interested in biomechanics. Once I finished, I decided to specialize in this field and I started a master in Neuroengineering and Rehabilitation. During this master, I have learnt how the nervous system and how it is connected to the musculoskeletal system. Furthermore, during the biomechanical’s lessons in the master, I have learnt its function in a more complete and depth way. This master gave us the opportunity to put in practice, by capturing some motion in the laboratory, all the theoretical background established to analyze a complete human dynamic motion. Additionally, with a group of students, we analyze the gait cycle of a patient focused with a hyperlax knee and the other operated with arthroscopy for patellar dislocation. This work was focused on the study and comparison of the biomechanical conditions in both cases by studying the behavior of both joints during the gait cycle. This work aroused more my interest in working and analyzing biomechanics and after finishing my master’s internship in a technological company, I decided to look for offers in the Biomedical Engineering Research Center to help and analyze some human dynamic motions. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 17 2. Introduction Over the past four decades, biomechanics has made notable strides as a subfield within the movement studies of the body to determine possible disorders through the manipulation of the muscles, their movement and response, and thus determine the affected area, the origin of the problem among other issues[1]. These studies have been established through the use of computational models representing the human musculoskeletal system which are led to musculoskeletal models. It is known that the human musculoskeletal system consists of approximately 200 bones and 300 muscles, which make it a complex system, meaning that creating models of such an intricate system is a challenging task that involves finding a balance between simplicity and accuracy. In one respect, the models need to be intricate enough to provide accurate estimates of the phenomena being studied. In the other respect, they should also be straightforward enough to manage the problem effectively and make the results and analysis uncomplicated [2]. Using detailed musculoskeletal models in computer simulations of human motion can offer discernment into how individual muscles and joints bear loads. However, these muscle models add to the complexity of the problem and require parameters that are challenging to determine[3]. This raises the question of which methods can be used to maintain accuracy in a given musculoskeletal model while keeping the computational demands in check. To address this issue while maintaining a reasonable level of biological accuracy, muscle torque generators (MTGs) are used which are defined as an alternative method to muscle-force models that simplifies the computational muscle-force models by representing the dynamics of the muscle surrounding a single joint. MTGs can be influenced by various factors, including joint angles, angular velocity and neural input from the central nervous system. Additionally, training and adaptation can lead to changes in the efficiency and strength of torque generation within muscles. In recent years, scientific papers[4,5]have shown that MTGs can be used as an alternative of detailed musculoskeletal models in computer simulations of human movement, and have been used by researchers to generate accurate dynamic simulations of human movement[4]. Reaching to the point that muscle torque generators are essential in fields like sports science, physical therapy and biomechanics. Researchers use this knowledge to optimize training programs, enhance athletic performance, rehabilitate injuries and develop a deeper understanding of human patterns. Page. 18 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 2.1. Motivation During the last 6 years, the Biomedical Engineering Research Center (BIOMEC) from the mechanical engineering department in the Polytechnic University of Catalunya, held in Barcelona, has developed a code based on torque-driven models to perform optimal control predictions of walking using models of different complexity. As we have seen, there is a more detailed model which generates a more accurate motion simulation by adding muscle torque generators in the framework developed. The MTGs-driven model implemented for advancing our understanding of human movement and optimizing applications enhance the realism and accuracy of biomechanical simulations by simulating the dynamics of the muscles crossing a given joint, simplifying the complex geometry implicated when modeling is performed. The importance of performing an accurate representation of an individual's muscular characteristics is essential when employing musculoskeletal models in gait simulations. The use of MTG-driven models can provide insights into individual personalized muscle torque models that allow simulations to closely mimic an individual's unique physiological characteristics. This enhances the realism and accuracy of simulations, making them more representative of real-world scenarios. Researchers can better understand how an individual's muscles contribute to movement, leading to more precise biomechanical analyses. In rehabilitation and physical therapy, personalization is critical for tailoring exercise programs to an individual's specific needs. In healthcare, personalization is becoming increasingly important for patient-centric care such as the design of orthopedic implants, assistive devices, and surgical procedures by ensuring that interventions are tailored to each patient's specific anatomy and muscle capabilities. Also, can help therapists design exercises that target specific muscle weaknesses or imbalances, leading to more effective rehabilitation outcomes. Moreover, personalized models are essential for designing prosthetic limbs and exoskeletons that integrate seamlessly with an individual's body. So, by understanding an individual's muscle torque capabilities, engineers can develop devices that provide natural and efficient movement. In terms of sport application, personalized muscle torque models can be used to optimize training regimens for individual athletes, helping them improve performance while minimizing the risk of injury in which coaches and sports scientists can design training programs that align with an athlete's unique biomechanical profile. Therefore,it is fundamental to determine which parameters of the musculoskeletal models have a more pronounced impact on the simulation outcomes, aiming to gain a better understanding of their significance. This is why, in this thesis, a sensitivity analysis is performed to investigate how the MTG parameters influence the results of human simulations in order to have better accurate dynamic simulations based on MTG-driven models. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 19 2.2. Objectives The main goal of this project is to perform a sensitivity analysis to study the effects of the MTG parameters on the solutions of the optimal control prediction framework developed at BIOMEC Lab. This analysis is carried out for two motions (walking and squat) to understand whether the sensitivity of the optimal control solution to the MTG parameters depends on the activity. This thesis therefore aims to establish some guidelines that clarify which MTG parameters should be personalized for simulations of musculoskeletal models. The specific goals of this work are: ● To get familiarized with the optimal control predictive framework and the MTG-driven model previously developed in the BIOMEC Lab. ● To perform a sensitivity analysis to evaluate how the MTG parameters affect the tracking problem of two different human motions ● To provide guideline by clarifying which MTG parameters should be personalized in future models Page. 20 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 3. Theoretical Background 3.1. Biomechanics of human motion The study of how the mechanics and physics of the body's structure and function influence human movement is known as the biomechanics of human motion. This field examines how muscles, bones, joints, and other physiological factors interact to generate and control various types of movements, ranging from simple actions like walking to complex activities such as sports performance. Biomechanics analyzes the forces, torques, and mechanics involved in movement, often using mathematical models, simulations, and technological tools to gain insights into the mechanics of human motion. 3.1.1. Human Walking Gait Cycle The major human movement which is based on all the framework developed in the BIOMEC lab is human walking. So, in this thesis, human walking is the main movement analyzed. Human walking is a cyclical sequence of bodily motions that advances an individual's position. Assuming that all walking cycles are about the same, studying the walking process can be simplified by investigating one walking cycle, what is known as gait cycle [5]. The gait cycle is divided into two basic phases [6]: stance and swing, which alternate for each lower limb. ●Stance phase: Consists of the entire time that a foot is on the ground. ●Swing phase: Consists of the entire time that the same foot is in the air, no contact with the ground. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 21 Figure 3.1 . Gait cycle phases [7] Therefore, during the gait cycle there are different phases during the two stages, stance and swing phases. The gait cycle starts with a double support, where the two feets are in contact with the ground, then moves to one single support where one foot is in contact with the ground and the stance phase ends with another double support, giving place the transfer of the body weight from one foot to the other. However, the swing phase consists of a single support, only one foot is in contact with the ground. As it can be seen in Figure 3.1,the stance phase represents the major part of the gait cycle leading to a 60% of its total, whereas the swing phase represents the 40% of the total gait cycle. 3.1.2. Human Squat Motion Apart from the human walking motion explained in the previous section 3.1.1, in this thesis, another human motion is studied. The second movement that is analyzed in this work is the squat motion The squat motion is a strength exercise in which the subject lowers their hips from a standing position and then stands back up. During the descent, the hip and knee joints flex while the ankle joint presents a dorsiflexion. The muscles surrounding the joint lengthen as they contract eccentrically, reaching their strongest contraction when the subject is at the lowest point of the movement. Conversely, the hip and knee joints extend by the concentric contraction of the muscles, and the ankle joint plantarflexes during the standing up, returning to the initial position as it can be seen on the following figure ( Figure 3.2). Page. 22 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Figure 3.2 . Example of a Squat movement performance. 3.2. Musculoskeletal models Musculoskeletal models are digital depictions of the human musculoskeletal system designed to replicate and foresee the actions of muscles, bones, joints, and associated structures during diverse movements and activities. These models amalgamate insights from anatomy, biomechanics, and physiology to establish a simulated framework. These computational representative models serve as a valuable tool for researchers, healthcare professionals, and engineers to gain insights into and scrutinize human motion, evaluate the potential for injuries, formulate interventions, and enhance performance. 3.2.1. Skeletal modelling The skeleton is commonly depicted as an open kinematic chain, consisting of rigid components linked by joints. Each rigid part corresponds to a bone or a group of bones along with the enveloping tissues. When several bones don't exhibit relative motion or aren't relevant to the study's focus (e.g., the motion of fingers during walking), they may be depicted using a single rigid component. These attributes that define each rigid segment primarily encompass inertial and geometric attributes. Inertial parameters characteristics such as mass, center of mass position, and moment of inertia relative to the center of mass in a local coordinate system for each segment or body. Although they can encompass additional data for visualization or for calculating muscle pathways. Collectively, these attributes are often referred to as body segment parameters (BSP). A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 23 Figure 3.3. Biomechanical model of human body walking [3]. In Figure 3.3, we can see a two dimensional biomechanical model with 14 rigid bodies linked with its revolute joints defining a 16 degree of freedom (DOF) model. However, depending on the study and its objective, models can also be three dimensional representing the entire body or a more detailed part of the body. However, in some cases, when a group of bones doesn't take much relevance in a body movement, they can be simplified as a single body. The head-arms-torso (HAT) model is one of the most used models in human walking. This model is the simplification of the head, arms and trunk of the body. These parts rarely have a relative movement between them in human walking and by making this simplification, they are modeled as a single body in order to avoid complex formulations. But, using other movements, such as throwing a ball or in sports such as basketball, there will be different groups of bones to be simplified and the upper body, in this case, will take more relevance in the body movement. Figure 3.4. Example of the HAT model[8]. Page. 24 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 3.2.2. Muscle modeling Muscles are regulated through neural signals that initiate muscle activations. The processes of muscle activation and muscle-tendon contraction dynamics are elucidated using differential equations, in which several muscles can be involved in a movement. Muscle models focus on the mechanical properties of muscles, such as their force generation and contraction dynamics. Biomechanical models often use mathematical equations to represent muscle behavior, taking into account factors like muscle length, activation level, and force output. Various muscle models exist, but the most common model employed in modeling by muscle mechanics is the Hill-type models [9]. Within these models, muscles and tendons are depicted as linear actuators, displaying both active and passive characteristics. The active behavior stems from muscle fibers, while the passive response is associated with tendons and the connective tissue enwrapping muscle fibers. Figure 3.5. Hill-type model representation [10] In Figure 3.5, we can see a representation of the Hill-type model. This model is described as a contraction of the muscle-tendon dynamics by a duo of muscle torque generators. This model consists of four elements: the contractile component (CE), with its force( ) which represents the active muscle, the parallel elastic element 𝐹𝐶𝐸 (PE) with its force ( ), and the tendon with its length( ) and force ( ). The elastic 𝐹𝑃𝐸 𝑙𝑇𝐹𝑇 element represents the passive elastic properties of the muscle fibers[11]. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 25 3.2.3. Foot-Ground Contact Model The foot contact model is determined by the interaction of the body in contact with the ground. This interaction between a foot and the ground in biomechanical simulations can be modeled using two main approaches: kinematic constraints or contact models. 1. Kinematic Constraints: Involves defining ideal kinematic constraints that dictate the interaction between the foot and the ground. These constraints can change during the different phases of the gait cycle and the foot can be modeled in various ways under this approach, for example: ● A rigid body with two contact points. ●A single point representation ● A curved plantar surface that rolls on the ground without slipping. ● Collision is usually assumed to be perfectly inelastic without any sliding. 2. Contact Models: This method establishes a physical relationship between the contact forces developed between the foot and the ground and also, the relative foot-ground displacements and velocities. Different variations of this approach have been used in literature [12], including: ● Three spring-damper units per foot. ● Series of spring-damper units distributed under the sole of each foot. ● Grid of elastic contact elements. ● Use of two or more spheres with a compliant Hunt-Crossley model[13]. ● Nonlinear volumetric contact models. Many published studies acknowledge the limitations of their foot-ground contact models and express the need for improvement in future research. These models are often considered simplistic and lack accuracy[14]. Additionally, most of these studies use planar foot-ground contact models and rarely validate their results using real data captures [15]. The development of a suitable foot-ground contact model for human motion simulation remains an active and important research topic. The choice of a contact model has a direct impact on various simulation results, including ankle motion and torque, ground.reaction forces, and estimates of muscle forces. Therefore, finding accurate and robust foot-ground contact models is crucial for advancing the field of human motion analysis [16]. Page. 32 A sensitivity analysis on the effects of the MTG parameters on MSK simulations flexor and extensor muscle torque acting at that determined joint and joint damping: (Eq. 5) τ𝑖=τ𝑖𝑀𝐹+τ𝑖𝑀𝐸−β𝑞𝑖 where the parameter represents the joint damping coefficient which is β based on the passive damping introduced by the musculature and the tissue around the joint The damping coefficients is expressed as: (Eq. 6) β=η τ𝑜𝑀𝐹+τ𝑜𝑀𝐸 𝑞𝑀𝐴𝑋 𝑀𝐹 +𝑞𝑀𝐴𝑋 𝑀𝐸 where the parameter is a normalized joint damping factor whose range of η scaling factor goes to 0.2 to 0.4 depending on which kind of joint is involved. In this case, lower body joints are being evaluated so the parameter will be around the minimum and the maximum correspond for upper body joints. The torque developed by a single MTG is given by: τ𝑀 (Eq. 7) τ𝑀 =τ0𝑀(α𝑓𝐴(𝑞) 𝑓𝑉(𝑞) +𝑓𝑃𝐸(𝑞) (1−β 𝑞 𝑞𝑀𝐴𝑋)) Therebefore, the damping coefficient is proportional to the strength of the musculature and inversely proportional to its maximum angular velocity. experimental data and are required to solve the problem. Note that a 𝑞𝑒𝑥𝑝 τ𝑒𝑥𝑝 new path constraint is added in the 2D HAT model. This constraint 𝑓𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙 indicates that the residual forces and torque that act in the pelvis relative to the ground have to be zero in order to make the system dynamically consistent. Finally, states and controls are bounded in both formulations within minimum and maximum values, which contemplate a certain tolerance, from the experimentally obtained data. Regarding the MTG formulation it is remarkable that a new control is considered which corresponds to the derivative of muscle α activation and it has been taken into account as a control in order to provide (α) a smoother evolution of muscle activations. The tracking problem formulation depends on the studied model as well. The Muscle torque Generator model presents the following formulation of the tracking problem analyzed: A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 33 Table 4.2. Tracking Problem Statements. To give a depth exploration and see the relevance in the behavior of each parameter involved in the MTGs model, a variation of the 10% and 20% of each parameter ± ± is performed, modifying each time only one parameter to see its independent relevance. The following method has been performed: ● Identification of the maximum MTG parameters value in the nominal solution τ𝑒𝑥𝑝𝑀𝐴𝑋 𝑀, 𝑞𝑒𝑥𝑝 𝑀𝐴𝑋 , β𝑒𝑥𝑝𝑀𝐴𝑋 , η𝑒𝑥𝑝𝑀𝐴𝑋 ● Variation of the 10% and 20% of each parameter values is performed, ± ± (Eq.8) τ𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀10% =τ𝑖𝑗𝑀𝐴𝑋±10% 𝑀 τ𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀20% =τ𝑖𝑗𝑀𝐴𝑋∓20% 𝑀 (Eq.9) ω𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀10% =𝑞𝑖𝑗𝑀𝐴𝑋±10% ω𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀20% =𝑞𝑖𝑗𝑀𝐴𝑋∓20% (Eq.10) β𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀10% =β𝑖𝑗𝑀𝐴𝑋±10% β𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀20% =β𝑖𝑗𝑀𝐴𝑋∓20% Variables States 𝑞,𝑞, α State Bounds −π2≤𝑞≤π2 −100≤ 𝑞≤100 Controls α, τ Control Bounds −10≤τ𝑟𝑒𝑠𝑒𝑟𝑣𝑒≤10 −100≤ 𝑞≤100 Path Constraints 0.02 −0.02<τ−τ𝑀𝐹+τ𝑀𝐸+ τ𝑟𝑒𝑠𝑒𝑟𝑣𝑒> 𝑓𝑝𝑒𝑙𝑣𝑖𝑠=0 Cost Function 𝐽=0.1𝑖=1 𝑛 ∑(𝑞𝑖−𝑞𝑒𝑥𝑝𝑖)2+0.01𝑖=1 𝑛 ∑(τ𝑖−τ𝑒𝑥𝑝𝑖)2+0.001𝑖=1 𝑛 ∑(𝑞𝑖−𝑞𝑒𝑥𝑝𝑖)2+0.01𝑖=1 𝑛 ∑(𝑎𝑖−𝑎𝑒𝑥𝑝𝑖)2 Page. 34 A sensitivity analysis on the effects of the MTG parameters on MSK simulations (Eq.11) η𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀10% =η𝑖𝑗𝑀𝐴𝑋±10% τ𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑀20% =η𝑖𝑗𝑀𝐴𝑋∓20% In order to quantify the sensitivity MTGs parameters are performed, the following equations are considered:. ● Percentage Changes of the absolute maximum value analyzed when using MTGs parameters ( (Eq.12 ) 1𝐾𝑗=1 𝐾 ∑𝑥𝑖𝑗𝑀𝐴𝑋∓20%− 𝑥𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑥𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 )𝑥100=𝑥𝑖𝑗𝑀𝐴𝑋∓20%(%) (Eq. 13) 1𝐾𝑗=1 𝐾 ∑(𝑥𝑖𝑗𝑀𝐴𝑋∓100%− 𝑥𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 𝑥𝑖𝑗𝑀𝐴𝑋𝑒𝑥𝑝 )𝑥100=𝑥𝑖𝑗𝑀𝐴𝑋∓10%(%) where is the total number of frames of the human motion; is the 𝐾 𝑥𝑖𝑗 𝑖 component of the optimal control problem at the frame; and 𝑥ϵ 𝑞, τ, 𝑞, { } 𝑗 is the component reference vector obtained from the experimental 𝑥𝑒𝑥𝑝𝑥𝑗 𝑖 capture at the frame. 𝑥𝑒𝑥𝑝ϵ 𝑞𝑒𝑥𝑝, τ𝑒𝑥𝑝 , 𝑞𝑒𝑥𝑝 { } 𝑗 4.3. Experimental Data Collection Experimental Data has been collected, in the University Polytechnic of Catalonia(UPC), at the Biomechanics Laboratory located inside the Industrial Engineering School (ETSEIB), on the 4th floor where the Department of Mechanical Engineering is placed. In this data collection, one healthy young subject has participated by taking some capture of two different motions that will be explained laterly. 4.3.1. Laboratory equipment The UPC Biomechanics Lab consists of a motion capture equipment from 𝑂𝑝𝑡𝑖𝑇𝑟𝑎𝑘𝑇𝑀 NaturalPoint Inc, designed to capture the position of points in a 3D space. The system has 16 cameras (V100:R2 model), which incorporate infrared light (IR) LED’s. The cameras can obtain the position of points by emitting the infrared light, which is reflected in markers fixed to the body being captured. The markers are little spheres A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 35 covered with a very reflective fabric, a total of 50 markers (Table X) were used for the motion capture. The reflected light is discretely taken by the optical system of the cameras in a sampling rate of 100 Hz. It should be notified that each camera is only capable of measuring the position of each marker in the perpendicular plane to its optical axis and that is the reason why they must be calibrated, before the motion capture, in order to show the major motion range in its points of the camera recorded by the motion capture equipment. Combining the information of the 16 cameras, the system is able to determine the position of all the markers in the 3D space and its trajectories can be seen in the computer with a software called Motive . Figure 4.1. Reflective marker model (a) and camera model (b) used for the motion capture In addition, Ground reaction forces and moments have been measured at the same sampling frequency by two force plates (AccuGait, AMTI, Watertown, MA, USA) located in the floor at the center of the biomechanical lab. Each one of these plates measures the contact force (three forces and three moments) applied to the body in contact referred to in the center of the plate. Figure 4.2. Force Plate used for motion capture Page. 36 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 4.3.2. Experimental Capture of Human Motions Two different captures were performed, Human walking and squat movement. In both cases, the same marker protocol has been used as certain guidelines are followed with the help of Phd Students from the BIOMEC Laboratory. In Figure X, there is a representation of the marker protocol distributed around the healthy subject and in table X, all the 50 markers listed. Figure 4.3. Marker distribution on the subject Body Marker HAT Neck R. Shoulder/L. Shoulder Sternum Diaphragm D7 ( Dorsal vertebra) R. Elbow / L. Elbow R. Deltoides / L.Deltoides R. Wrist Lateral / L. Wirst Lateral R. Wirst Medial / L. Wirst Medial Pelvis R. Pelvis Back (Sacral) / L. Pelvis Back (Sacral) R. Asis / L. Asis A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 37 Table 4.3 . List of Markers used in the motion capture. 4.3.3. Motion Capture & Data Processing Once all the markers were displayed in its location established, the subject was ready to perform the different motions in order to obtain the data using the optical system and the force plates mentioned in section 4.3.1. Two different motions were captures: ● Human Motion: Gait (Walking) ● Human Motion : Squat In these two different motion captures, the procedure followed was the same, especially the first step. The first step is followed by a static capture in both human movements, in which the subject needs to maintain itself standing up on the force plates without moving in order to scale the model for data processing in Opensim. The second step represents the performance of the human motion itself. For human walking, a natural gait is recorded by walking through the force plates. Whereas, for Femur R. Thight Superior / L. Thight Superior R. Thight Lateral / L. Thight Lateral R. Thight Inferior / L. Thight Inferior R. Knee Lateral / L. Knee Lateral R. Knee Medial / L. Knee Medial Tibia R. Shank. Superior / L. Shank Superior R. Shank Lateral / L. Shank Lateral R. Shank Inferior / L. Shank Inferior R. Ankle Lateral / L. Ankle Lateral R. Ankle Medial / L. Ankle Medial Foot + calcaneus R: MidFoot Superior / L. MidFoot Superior R: Midfoot Lateral / L. Midfoot Lateral R. Mtp. Lateral / L. Mtp. Lateral R. Mtp. Medial / L. Mtp. Medial R. Heel / L. Heel R. Toes / L. Toes Page. 38 A sensitivity analysis on the effects of the MTG parameters on MSK simulations the squat movement, the subject needs to maintain the two feet in contact with the two force plates while performing the movement. The data recorded needs to be treated in order to obtain experimental results to be analyzed. The data treated consist of the following steps: Preprocessing Data: Once the data is obtained in the Motive program, several preprocessing tasks must be done, before the data is being analyzed because some modifications need to be done for compatible use such as adjusting some parameters from the Motive program to Opensim and making sure that all the markers are well located and registered. Filtering Data: The data is filtered by a cut-off frequency of 8 Hz in order to remove the electrical noise. Scale Model: A generic Skeletal model is selected while the dimensions and inertias are transformed in order to adapt this model to the specific subject registered in the motion capture. Inverse Kinematics: Obtains the value of the generalized coordinates through the time from the captured position of the markers established. Inverse Dynamics: Obtains the joint torques from a specific human motion, described by its coordinates using a cut-off frequency of 6 Hz. In order to define the force plates, for each plate needs to be determined the foot contact in which is applied to, differentiating from right and left, regarding external forces. This process is required to obtain the experimental coordinates used in GPOPS-II, which works on a MATLAB environment, where all the analisis explained for human motion based on a MTGs model is done. Figure 4.4. Diagram of the differents data treatment and methods performed in this Thesis A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 39 To summarize all the methods applied, the following diagram shows a brief explanation to follow for the sensitivity analysis performed. Table 4.4. Diagram of the differents methods applied for the sensitivity analysis Human Motions analyzed Walking & Squat Joint torques analyzed Hip, Knee, Ankle Joint coordinates analyzed Hip Flexion, Knee angle, Ankle angle MTG parameters analyzed τ𝑀,𝑞 , β, η Methods ➢Identification of the Max nominal MTG parameter values ➢Max nominal MTG parameter values Variation of 10%, 20% ± ± ➢Identification of the Max parameter value variations for 10% and 20% ± ± ➢% Change of maximum value : 10%, 20% ± ± ➢Tracking plots for each parameter variation in each motion to compare with its nominal value in each joint torque and joint coordinate Page. 40 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 5. Results & Discussion After getting familiarized with the BIOMEC lab code for MTG-driven simulations (developed by a former student [28]), new motion capture data was gathered, in order to evaluate how the MTG parameters affect the tracking problem of two different human motions. Therefore, this section illustrates how the ankle, hip and knee angles and torques are influenced by the MTG parameters. 5.1. Human Motion Nominal Solutions In this section, the two motions obtained are represented by showing the different left torques and left coordinates of the experimental data focus on the Hip, Knee and Ankle. These nominals data is used as guidelines for a posteriori analysis of the MTG parameters involved in the two motion tracking problems. 5.1.1. 2D HAT Gait Tracking Problem By analyzing the pair of MTGs involved in the 2D HAT tracking problem, the following Figure ( Figure 5.1) shows the flexor and extensor torques of the left hip, left knee, left ankle joints during the gait cycle captured in the lab. Figure 5.1. Pair of muscle torque generator at each joint based on 2DHAT Gait Tracking Problem As it can be observed on Figure 5.1, the pair of muscle torque generators implemented in the tracking problem seems to be symmetric, except in the knee where the major activity performed is taken from the torque extensor and in the ankle joint, where in the final stance phase, the torque flexor takes more relevance. The black dashed line is the total tracking problem using the pair of MTGs, where it can notice that the sum of the flexor torque(red line) and extensor torque(yellow line) makes the total torque. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 41 In the following figure, Figure 5.2, we can observe the different tracking trajectories of the joint coordinates studied during the gait tracking problem. We can observe that the hip joint presents a 20º of extension and a 20º of flexion in maximum ROM values during the gait cycle. The Knee angle goes to the 0º to approximately 60º of flexion, being the joint with major range of motion(ROM) whereas, the ankle angle, presents a 5º of dorsiflexion in the initial stance phase(single support) and finishes the stance phase reaching around 15º of plantarflexion motion when exchange of weights from one foot to the other occurs. Figure 5.2. Tracking of joint coordinates in the 2D HAT gait tracking problem based on nominal values 5.1.2. 2D HAT Squat Tracking Problem After plotting the nominal data for the 2D Squat tracking problem for left joints torques and coordinates, it can be observed that in Figure 5.3, the flexor and extensor muscle torque generation is represented through the movement. The hip joint is the joint with more range of movement, followed by the lumbar because the squat is a very specific motion where the left hip along with the left knee, but in less relevance, take the most part of the motion. Notice that for the Hip torque and Knee torque, during approximately the 60% of the movement, presents the maximum torque acting in each joint where the subject lowers their hips and flexes the Knees. Whereas in the ankle joint, the major torque appears where the subject stands back up to return to the initial standing position. Figure 5.3. Pair of muscle torque generator at each joint in 2D HAT Squat tracking problem Page. 48 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Table 5.3 . % Changes in the MTG parameters value in each join torque based on the τ𝑀𝐴𝑋 𝑀 2D HAT Tracking problem Furthermore, in table 5.4, we can see the total % change in the maximum joint angles when varying each MTG parameter value. The ankle angle has insignificant changes, meaning that the MTGs parameters do not significantly influence the resulting tracking problem in this joint coordinate. However, in the Hip flexion coordinate and the Knee angle coordinate, we can see some % change being the highest value, a 12% change in the maximum damping coefficient parameter obtained for a decrease of 20% from the experimental parameter value. Whereas, the Knee joint coordinate presents the same highest % change in the same variation, achieving a 8% variation from the experimental parameter value. So, the most relevant MTG parameter for the joint coordinate is the maximum damping coefficient where the percentage of change in this MTG parameter is the highest, where the other MTG parameters highest value in percentage of change is 6.29%. In the following figure, Figure 5.8, the % change in the maximum angular velocity is illustrated by their trajectories during the squat motion. In addition, in Table 5.4, the total % change in the maximum MTG parameters value analyzed are shown. As we mentioned, these results are obtained by calculating the percentage in change of the absolute maximum value obtained from the variation MTG parameter value from the nominal one, divided into the maximum nominal MTG parameter value studied for each joint. MTG Parameter: τ𝑀𝐴𝑋 𝑀 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 37.97 42.62 7.35 19.81 8.22 29.77 -10% 8.11 7.61 7.52 11.32 7.86 13.26 10% 21.98 37.39 13,49 23.82 9.74 8.17 20% 26.14 35.47 14.99 28.34 1.34 27.26 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 49 Figure 5.10. Tracking of each joint coordinate for the maximum angular velocity value variations vs its nominal parameter value based on the 2D HAT Squat Tracking Problem Table 5.4. % Changes in the MTG parameter values in the each joint coordinate for 2D HAT Squat tracking problem After analyzing a different motion from gait, Squat motion using 2D HAT Squat tracking problem, it can be observed that the maximum torque is the most relevant parameter in joint torques. Moreover, tracking the different joint coordinates, it has been observed that the most affected joint coordinate is the Hip Flexion, followed by Knee angle, especially when decreasing the maximum damping coefficient. Therefore, underestimating the values of this parameter during model calibration can substantially influence the solution of the tracking problem. Whereas, the sensitivity Joints Hip Flexion (%) Knee Angle (%) Ankle Angle (%) MTG Parameters τ𝑀𝐴𝑋 𝑀 ω𝑀𝐴𝑋 β𝑀𝐴𝑋 η𝑀𝐴𝑋 τ𝑀𝐴𝑋 𝑀 ω𝑀𝐴𝑋 β𝑀𝐴𝑋 η𝑀𝐴𝑋 τ𝑀𝐴𝑋 𝑀 ω𝑀𝐴𝑋 β𝑀𝐴𝑋 η𝑀𝐴𝑋 % Change -20% 2.78 3.24 12.11 0 3.10 6.29 8.60 0 8.6·10−4 1.1·10−4 1.5·10−4 0 -10% 2.19 0.18 3.50 0 2.92 3.09 5.02 0 1.05·10−4 1.3·10−4 1.7·10−4 0 10% 1.35 2.17 2.06 0 0.83 6.63 5.31 0 4.9·10−4 1.4·10−4 1.4·10−4 0 20% 2.11 2.95 1.67 0 3.27 4.01 4.10 0 8.5·10−4 1.5·10−4 6.35·10−4 0 Page. 50 A sensitivity analysis on the effects of the MTG parameters on MSK simulations analysis has shown that for the Ankle Angle, any MTG parameters did not influence at all the joint coordinate tracking trajectory in any variation, any %change in the MTG parameters value has been obtained. Following the same behavior, the parameter η presented no percent in change in any joint coordinate studied. 5.2.3. Guidelines for MTG Parameters Calibration One of the specific goals of this thesis is to provide some guidelines by clarifying which parameters affect the different tracking problems performed and which parameters should be personalized for future models. After evaluating the different MTG parameters of two different tracking problems by the performance of a sensitivity analysis, it can be concluded that the most relevant MTG parameter is the maximum isometric torque acting in each joint which presented the highest % change in parameters value in both tracking problems, gait and squat. Referring to the joint coordinates, there have been differences between the MTG parameters behavior for each 2D Tracking problem. Tracking the different joint coordinates for gait motion, it has been observed that the most affected joint coordinate is the ankle angle, especially when decreasing the maximum isometric torque, maximum angular velocity and damping coefficient of the MTGs below their nominal values. Whereas tracking the 2D HAT Squat tracking problem in each coordinate, it has been observed that the most affected joint coordinate is the Hip Flexion, followed by Knee angle, especially when decreasing the maximum damping coefficient. To conclude, for gait tracking problems, the maximum isometric torque should be personalized, followed by the maximum angular velocity and the damping coefficient but in less relevance focused on the Ankle Joint and Knee Joint. Whereas, for the squat tracking problem, it is suggested to personalize the maximum isometric torque as well, followed by the damping coefficient, specially on the Hip joint and Knee joint, to achieve more accuracy focused on the joint coordinates tracking. Finally, the parameter is not fundamental to personalize because we have seen that this MTG η parameter does not have any effect on the different tracking problems analyzed. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 51 6. Planning In this section, a Gantt diagram (Figure 6) is illustrated, representing the thesis work done divided into the different tasks performed. The whole project consists of 28 weeks, with a summer break of 5 weeks included where most of the report writing was done. It must be noticed that an extension for the thesis submission was asked because the official period for the spring semester goes from February to June and the thesis started in march. Figure 6 . Gantt diagram of the master thesis. Page. 52 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 7. Economic Assessment In this section, the estimated budget is presented in a detailed table and grouped by the different aspects used during the development of this work. An estimation has been made for materials used, programs licenses used, salaries and electrical consumption and any costs incurred throughout the execution of this project. Depreciation is calculated from the total price of the electronic device, its useful time and the total time it has been used. The useful life of the lab equipment used in the different motion captures is considered to be 8 years. Lab equipment is considered to be used 4 hours per day, 5 days per week and 48 weeks per year, which makes a total of 7680 hours of useful life. Personal laptop is considered to be useful for 4 years, which corresponds to a total of 35040 hours. In this project, the laptop has been the main material for the thesis development, so it has been used for nearly the whole project duration, leading to a total of 710 hours during the thesis. The different computation softwares used, MATLAB and GPOPS-II licenses, expire after one year. Therefore, their useful life is about 8760 hours per year. Considering that these softwares were used most of the thesis duration, specially from April to August, it is then estimated that both MATLAB and GPOPS-II have been used for a total of 450 hours. Regarding the student’s hours of dedication, it should be noticed that the hours of meeting, calculations and reflections are included, of which the amount of time dedicated is the total of the project duration, 780 hours. For the student salary, it has been taken into account the recommendation of the University School (ETSEIB), which says that for an engineering student, the estimated salary is 8€/h. Moreover, 50 hours of support and supervision have been done by the two supervisors with an expected higher salary in comparison from the student . Finally, the cost of electrical energy consumed has been estimated. Since the lab equipment was only used for four hours and no power equipment was employed, therefore, the consumption during the capture session has been neglected. In addition to the student’s hours of dedication, it has been supposed that there has been illumination from a light open during all the project development and the laptop has been consuming the entire 710 hours. The electrical light power and laptops have been estimated to be 35W for each one. The price of electricity has been assumed constant, with a value of 0.29 €/kWh. But, during July, there has been the air conditioner open at least 4 hours per day, so we have to include its consumption to the electrical energy consumed. The air conditioner consumption is estimated to be 180 W with the same price value. A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 53 As it can be seen in the following table (Table 7) the total estimated cost of the project is 8409.40€. Fixed Cost [€ ] Expected useful life [years] Variable cost [€/h] Time dedicated to the project [h] Cost estimated to the project [€] Lab Capture equipment 34000 8 4.43 4 17.71 Matlab license 500 1 0.057 450 25.65 GROPS-II license 100 1 0.011 450 4.95 Laptop 450 4 0.012 710 9.12 Supervisors - - 50 38 2100 Student - - 8 780 6240 Electrical Energy - - 0.015 780 11.97 Total Cost 8409.40 € Table 7. Calculation of the Total estimated project cost. Page. 54 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 8. Environmental Assessment The environmental impact in the realization of this project is relatively low . The thesis has been done in the office and at home with a computer along with the different programs used such as Opensim and Matlab. Since this project has been carried out in the BIOMEC lab by electronic devices, the electricity consumption can be considered, but this consumption can be considered very low. During the summer, specially July, the air conditioning was turned on during most of the daily work day, at least 4 hours per day. This consumption is probably the most environmental impact considered in this thesis. Aware of the climate change period that we are living in, this consumption must be reduced in order to reduce the global warming effect by emitting greenhouse gasses that cause the earth to warm. Referring to the motion capture, the 50 markers used were attached to the subject body with a stick tape using approximately, a total of 90 cm of it. Regarding the electric and electronic devices deterioration, it must be noted that once their life is finished an individual evaluation needs to be done and each one must be treated individually according to the Regulation 2017/699[32], which creates a standardized approach to be followed for determining the weight of electrical and electronic equipment (EEE) and calculating the amount of waste generated from electrical and electronic equipment (WEE). A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 55 9. Social & Gender Equality Assessment This final master thesis has been carried out in an extraordinary working environment, composed of men and women from different nationalities within the CREB research group. The research group where I was doing this project is based on respect and formed by an interdisciplinary team of researchers, where students' internships and stages of researchers are common in order to share knowledge from any researcher regardless of gender. As I mentioned, the current BIOMEC lab research team is fairly balanced in terms of gender and privileges according to the University (UPC) validation V.1.0 18/06/2020. In this thesis, the data captured was obtained by the performance of a healthy subject because the work is focused on the analysis of the MTG parameters which can facilitate the acquisition of results or personalized performance through simulation. In this way, one of the objectives was to provide guidelines by clarifying which MTG parameters should be personalized in future models for human movements simulations applied to any subject, specifically for clinical and rehabilitation application. Thereby, MTG-driven models are being used for analyzing and simulating motions from patients wearing orthoses or from athletes in order to personalize and optimize the design of them as a result of preserving resources and time, leading to an improvement of their quality of life. Page. 56 A sensitivity analysis on the effects of the MTG parameters on MSK simulations 10. Conclusions In this master final project, the MTG parameter sensitivity analysis involved in the MTGs-driven model for human motion simulation has been performed. This analysis reported significant differences in using different parameter values, specially those involved in the muscle torque generetor acting in each pair of joints which has been identified as relevant for simulating tracking problems. To address these important issues, the MTG-driven model was applied to approach additional walking data collected from a subject gait cycle and additional human motion data, squat performance. For those motions, it was found that the highest difference in percentage changes of MTG parameters value was the maximum isometric torque acting in each joint. The most significant results in gait tracking analysis were found for the Knee angle and the ankle angle, which are the main joints with more range of motion during the gait cycle, being fundamental for the stance and swing phase. When analyzing the various joint coordinates, it becomes evident that the most influential one is the ankle angle. In all parameters except one, variations are apparent when comparing them to the experimental MTG parameter value. Consequently, it can be surmised that when dealing with lower values of this parameter, the gait tracking problem may exhibit significant deviations from both the experimental and nominal outcomes, specially the angular velocity and damping coefficient. Regarding the squat tracking problem, it was obtained that the most significant joints torques and joints coordinates which present higher % in change of the MTG parameter mentioned, were the Hip Flexion and the Knee angle. This fact is due to the change of motion and the wide range of motion present during the squat movement which is based on the flexion and extension of these two joints. Regarding the joint coordinates, the most relevant MTG parameter was the damping coefficient for this motion. So, in both cases the maximum isometric torque is the MTG parameter to be taken into account to personalize the MTG-drive model applied for a specific subject or human body model, followed by the damping coefficient and the angular velocity, depending on the motion. Throughout the work, a number of difficulties have been presented. From all of them, it can be remarked on the learning of MTGs model and its application, its program environment and the different MTGs parameters involved which have been solved with some background literature, meetings, questions and hours of understanding its code. The analysis in this project can be helpful for future studies where optimal control techniques using muscle torque generators models are applied. By adjusting the crucial parameters studied, more accuracy for personalized subject-specific human body models in prediction will be performed for developing rehabilitation strategies A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 57 for specific patients needed and other applications such as sports, predictive gait optimizations or specific movement improvement. Page. 64 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Figure A.3. Tracking of each joint torque for the parameter value variations vs its η𝑀𝐴𝑋 nominal value parameter based on the 2D HAT Gait Tracking problem. Figure A.4. Tracking of each joint coordinate for parameter value variations vs its η𝑀𝐴𝑋 nominal parameter value based on the 2D HAT Gait Tracking problem Table A.1 . % Changes in the damping coefficient value in each joint torque for 2D HAT Tracking problem. MTG Parameter: β𝑀𝐴𝑋 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 2.99 4.66 1.03 1.42 0.09 0.34 -10% 0.31 0.09 0.18 1.27 0.02 0.26 10% 0.16 0.11 1.04 0.96 1.14 33.11 20% 1.38 1.89 1.08 0.12 1.27 32.41 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 65 Table A.2. % Changes in the maximum angular velocity value in each join torque based on the 2D Gait Tracking problem Table A.3 . % Changes in the parameter value in each join torque based on the 2D HAT η𝑀𝐴𝑋Gait Tracking problem MTG Parameter: ω𝑀𝐴𝑋 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 1.70 1.29 0.18 0.99 0.0013 0.21 -10% 7.83 8.31 1.09 1.13 1.07 33.13 10% 2.064 0.38 0.78 0.17 0.09 0.98 20% 0.13 0.21 0.35 0.67 0.01 0.16 MTG Parameter: η𝑀𝐴𝑋 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 0 0 0 0 0 0 -10% 0 0 0 0 0 0 10% 0 0 0 0 0 0 20% 0 0 0 0 0 0 Page. 66 A sensitivity analysis on the effects of the MTG parameters on MSK simulations B. 2D HAT Squat Tracking Sensitivity Analysis Figure B.1. Tracking of each joint torque for damping coefficient value variation vs its nominal parameter value based on the 2D HAT Squat Tracking problem Figure B.2. Tracking of each joint torque for the maximum angular velocity value variation vs its nominal parameter value based on the 2D HAT Squat Tracking problem A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 67 Figure B.3. Tracking of each joint torque for the parameter value variation vs its nominal η𝑀𝐴𝑋 parameter value based on the 2D HAT Squat Tracking problem Figure B.4. Tracking of each joint coordinates for the maximum isometric torque value variations vs its nominal parameter value based on the 2D HAT Squat Tracking problem Page. 68 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Figure B.5. Tracking of each joint coordinates for the maximum angular velocity value variations vs nominal parameter value based on the 2D HAT Squat Tracking problem Figure B.6. Tracking of each joint coordinate for the parameter value variations vs η𝑀𝐴𝑋 nominal parameter value for 2D HAT Tracking problem Table B.1. % Changes in the damping coefficient value in each join torque based on the 2D HAT Squat Tracking problem MTG Parameter: β𝑀𝐴𝑋 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 8.73 21.35 0.34 4.22 13.73 3.33 -10% 1.77 1.63 1.45 4.42 4.05 1.89 10% 1.49 1.40 0.43 1.65 13.29 0.46 20% 0.09 1.54 0.15 0.65 15.77 6.71 A sensitivity analysis on the effects of the MTG parameters on MSK simulations Page. 69 Table B.2 % Changes in the maximum angular velocity value in each join torque based on the 2D HAT Squat Tracking problem Table B.3. % Changes in the parameter value in each join torque based on the 2D HAT η𝑀𝐴𝑋Squat Tracking problem MTG Parameter: ω𝑀𝐴𝑋 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 15.37 18.92 0.41 1.49 23.18 5.55 -10% 4.64 4.17 0.72 0.46 12.77 1.16 10% 1.98 2.80 0.51 1.41 13.59 6.97 20% 1.87 4.68 0.66 1.82 2.79 0.23 MTG Parameter: η𝑀𝐴𝑋 Joints Hip flexion (%) Knee Angle (%) Ankle angle (%) % Change Parameter extensor flexor extensor flexor extensor flexor -20% 0 0 0 0 0 0 -10% 0 0 0 0 0 0 10% 0 0 0 0 0 0 20% 0 0 0 0 0 0