Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
Part I: Computing Joint Moments with OpenSim
1. Scaling a model
- By looking at the mass of the subject and generic model, as well as the scale factors, is the subject generally larger or smaller than the generic model? Support your answer by providing the mass and a few scale factors.
- What is the time range of data that was used to adjust the model’s markers? Compared to a typical movement to capture, such as one full stride of walking, is this range short or long? Why might the time range be short or long for a static trial?
- Over what time range is marker data provided?
- Over what time range is GRF data provided (i.e., what is the earliest time and latest time that contain non-zero forces)?
- This walking trial was collected overground (i.e., not on a treadmill) with force plates located in the middle of the motion laboratory.
- How many foot strikes have GRF data?
- Over what time range do you have complete GRF data (i.e., all external loads are accounted for)?
3. Inverse Kinematics
- List a few markers with higher weights. Why do these markers have higher weights when studying a motion like walking and for a model like this one? It may be helpful to refer to the IK documentation, and specifically How Inverse Kinematics Works.
- List a few markers with lower weights. Why do these markers have lower weights when studying a motion like walking and for a model like this one?
- At what times is the overall error, as measured by RMSE, highest? What are some possible reasons why this could happen?
- Which marker(s) have particularly high errors? Why might these marker(s) be prone to higher errors?
4. Inverse Dynamics
- Plot the applied forces (i.e., pelvis_tx_force, pelvis_ty_force, and pelvis_tz_force) and torques (i.e., pelvis_tilt_moment, pelvis_list_moment, pelvis_rotation_moment) that act on the pelvis as functions of time. The data are in the ID/inverse_dynamics.sto file. These applied forces and torques are the residuals.
- To better understand on which degrees of freedom and along which directions each of these forces and torques act, use the coordinate sliders to investigate how each pelvis degree of freedom (pelvis_tx, pelvis_ty, pelvis_tz, pelvit_tilt, pelvis_list, and pelvis_moment) moves the model. It may be helpful to reset the pose by clicking Poses -> Default when investigating each degree of freedom. In particular, note the following:
- For each translational degree of freedom, which direction does the model move (e.g., forward/back, up/down, left/right). These directions indicate the coordinate frame of the pelvis (e.g., pelvis_tx motion will indicate the x-axis direction of the pelvis coordinate frame).
- For each rotational degree of freedom, about which axis of the pelvis frame does that degree of freedom move the model?
- When are these residuals the highest?
- Of the three forces, which residual force is the highest? Why might this be?
- Plot the experimentally measured vertical ground reaction forces (ground_force_r_vy [right leg] and ground_force_l_vy [left leg]) from the grf_walk.mot file and the pelvis_ty_force from the ID results as functions of time.
- How do the vertical ground reaction forces compare to the pelvis_ty_force residual?
- Looking at this plot, why are residuals highest at the times specified by question 1a?
- During what times is it valid to analyze the inverse dynamics data? How do these times compare to those from the questions in the section “Visualizing input motion data”?
5. Residual Reduction Algorithm
- Open the Messages pane and locate the recommended overall mass adjustment from the last run of RRA (e.g., "pelvis: orig mass = xxxxx, new mass = yyyyy"). Note that the units are in kilograms (kg). What is the recommended mass adjustment?
- Investigate how the kinematics were adjusted by RRA. The positional errors between the RRA adjusted kinematics and the input IK kinematics can be found in your RRA results folder in the file ending in “pErr.sto”. Plot all of the errors for all coordinates (note: a quick way to do this is to use the plotter and choose “select all shown” and then deselect “time”).
- What are the two coordinates with the largest maximum changes?
- What is the maximum value for each of these coordinates? Rotational coordinates have units of radians, and translational coordinates have units of meters.
- Why or why not are the magnitude of these changes reasonable?
- Compare the residuals from the ID results with those from the RRA results. The RRA results can be found in your RRA results folder in the file ending in “Actuation_force.sto” under the quantities for FX, FY, FZ, MX, MY, MZ. For each of the 6 residual measures, quantify how well RRA reduced residuals.
Part II: Computing Joint Moments with AddBiomechanics
- Assess the IK results by looking at the marker errors.
- In the IK folder, open the file that ends in “summary.txt”. What was the average marker RMSE and the average marker max error?
- Open the file containing the marker errors between the IK solution and the experimental data (in the IK folder, find the file that ends in “marker_errors.pdf”). Markers that are on both limbs are plotted together. For both legs, which Marker has the highest RMSE?
- Look at the Marker with the highest error by visualizing the results in the OpenSim GUI. Load the model (final.osim) and the IK results (in the IK folder, find the .mot file). Find the Marker of interest on the model. How did the tool move the Marker?
- Overlay the experimental data with the IK solution. To do this, under the model, expand the “Motions” section, right-click “Coordinates” and click Associate Motion Data…. Go to the MarkerData subfolder and choose the .trc file. Does the Marker with the highest error track closely to the experimental data (blue marker)?
- Assess the new IK results. Were results improved by the change by “fixing” the Marker? Support your answer with quantitative data from any plots and other output, and with visualizing the model and results.
- Plot the coordinates that are located closest to the updated Marker for both the results in the previous section and this section. How did the IK results change for this coordinate? Coordinates can be plotted in a couple ways: 1) in the GUI, or 2) in the file ending in “ik.pdf” provided in the IK results folder.
- Overlay the experimental data on the new IK motion as done in the previous section.
- Does the Marker with the highest error track closely to the experimental data (blue marker)?
- Recall that the Scale and IK steps were completed at the same time when using AddBiomechanics.
- How can this explain any issues with the placement of this Marker?
- What is a downside to performing these steps at the same time?
- Why might it have been necessary to set this Marker as “fixed” for AddBiomechanics when it was not “fixed” when using the OpenSim Scale Tool (i.e., scaling a model during a static trial)?
- Looking at all of the marker errors, suggest other Markers that you may consider “fixing” in future iterations.
6. Assessing Inverse Dynamics Results
- Assess the quality of the Inverse Dynamics results. In the ID results folder, open the file ending in “summary.txt”.
- What are the average residual force and torque?
- How do these values compare to the residuals after RRA?
- Look at all 6 residual values over the trial by opening the file ending in “id.pdf” provided in the ID results folder. How do these values compare with the residuals after RRA?
- Investigate some of the changes that were made by the tool to reduce residuals. Similar to RRA, the inertial parameters of bodies and kinematics can be changed to reduce residuals.
- In the top folder of the downloaded results, open README.txt. How does the total mass of the model compare to the mass of the subject that was used as an input to the tool?
- Which bodies had some of the largest changes, both as percentage changes and absolute changes. Are these changes changes reasonable? Why or why not?
- Assess the quality of your ID results by comparing your ID results from those obtained in the original paper (Rajagopal et al., 2016). Plot your results for the three sagittal plane coordinates (hip_flexion, knee_angle, and ankle_angle) through either: 1) plotting in the GUI, or 2) opening the file ending in “id.pdf” provided in the ID results folder.
- How well do your results match with the original work? Some aspects to consider include the timing of peaks, the relative magnitude of the different joint moments, and the absolute magnitude of the different joint moments.
- Are these differences surprising given that the processing steps were performed differently?