Queralt Piferrer Grau
All projects
Biomechanics of Human Movement

Biomechanics · 2025

Biomechanics of Human MovementMusculoskeletal Modeling

Built a gait-analysis pipeline in OpenSim and CEINMS on lab-recorded walking data, from scaled models and static optimization to an EMG-driven ankle model.

  • OpenSim
  • CEINMS
  • MATLAB
  • EMG
Institution
University of Twente
Year
2025
Category
Biomechanics

Overview

Muscle forces can't be measured directly, so over three assignments we built a musculoskeletal pipeline on gait data we recorded ourselves in the lab: one subject walking slow and fast, with and without deliberate co-contraction. We scaled the OpenSim Gait2392 model to the subject, ran inverse kinematics and inverse dynamics, and split the joint torques into muscle activations with static optimization. In CEINMS we then let measured EMG from six lower-leg muscles drive an ankle model and compared its torque with inverse dynamics.

Challenges

  1. 01Scaling a generic model to one subject and keeping marker error low
  2. 02Comparing gait cycles of different lengths (normalised to 0–100% of the cycle)
  3. 03Cleaning EMG: filtering, rectifying and normalising to maximum voluntary contraction
  4. 04Estimating muscle forces that can't be measured directly

Outcomes

  1. 01Complete pipeline from marker, force and EMG data to muscle-level estimates
  2. 02Static-optimization muscle activations compared with measured EMG envelopes
  3. 03Calibrating the EMG-informed model raised R² from below 0.3 to about 0.8
  4. 04Consistent results across all four walking conditions

Technologies & skills

  • OpenSim
  • CEINMS
  • MATLAB
  • Inverse kinematics & dynamics
  • Static optimization
  • EMG processing

Gallery

Biomechanics of Human Movement, image 2Biomechanics of Human Movement, image 3Biomechanics of Human Movement, image 4