1. Introduction
Musculoskeletal modeling and simulation are powerful tools for studying the biomechanics of human movement. Simulations can complement the knowledge gained from experiments by providing estimates of variables that are difficult or impossible to measure directly. For example, experimental studies have directly measured the whole-body metabolic energy expended during steady-state walking over a range of speeds [
1], but simulations are required to examine how metabolic energy consumption is distributed between the phases of gait [
2] and throughout the body [
3]. Simulations also enable one to study the effect of changes in parameters that cannot easily be isolated or adjusted experimentally, such as the effect of tendon compliance on metabolic energy expenditure during running [
4]. Finally, simulations can reveal fundamental principles that govern movement, such as the neural control strategies involved in reaching [
5], maintaining balance [
6], and locomotion [
7].
Many studies gain deeper insight into measurements of human movement by generating inverse kinematic and inverse dynamic simulations from experimental data [
8]. For example, Arnold et al. [
9] generated simulations from experimental data to estimate the lengths and velocities of muscle fibers during walking, thereby revealing how the force-generation capacity of our muscles varies over the gait cycle. An emerging application of musculoskeletal models and the simulation of movement is in the design optimization of wearable assistive devices such as exoskeletons and soft exosuits, which apply forces to the body to make movement safer or more economical. For example, inverse dynamic simulations were used to understand how assistive devices can be designed to reduce the metabolic energy consumed during running [
10] and during walking while carrying a heavy load [
3]. These simulations suggested that assistive devices should not merely aim to mimic net biological joint moments during unassisted movement: such a design strategy would generally fail to minimize metabolic energy expenditure as it would ignore, among other things, the necessary activity of muscles that span both assisted and unassisted joints. The simulation results of Uchida et al. [
10] were experimentally validated by Lee et al. [
11], who used the simulations to tune the actuation profile for their soft exosuit, one of the first assistive devices to reduce the metabolic energy consumed during running. Despite the utility of inverse dynamic simulations, they are fundamentally limited because they track experimental data and, therefore, they assume that the joint kinematics and ground reaction forces do not change when an assistive device is worn. Some studies have suggested that assistive devices may not change joint kinematics substantially [
12,
13] or that kinematics may change initially but will ultimately return to normal following an adaptation period [
14]. However, many studies have reported large, persisting differences in kinematics between assisted and unassisted gait [
15,
16,
17].
The limitations of inverse dynamic analyses can be addressed using simulations that predict human movement without tracking experimental data [
18,
19]. These “predictive simulations” use numerical optimization to determine the actuation signals (e.g., net joint torques or the excitations of individual muscles) that must be applied to a model of the musculoskeletal system in order to achieve the best possible performance at a defined task. The quantities that must be determined are called design variables and may include parameters of the musculoskeletal model, parameters of an assistive device, gains of neuromuscular or device controllers, actuation signals, applied forces, initial conditions, or other quantities. The desired task is encoded into a cost function (or objective function), a mathematical function of the design variables that describes the nature of the solution being sought. An optimizer determines a set of values for the design variables that minimizes the cost function, while also satisfying one or more constraint equations. The constraint equations describe any equalities or inequalities that must be satisfied for the solution to be considered valid, such as obeying Newton’s laws of motion and respecting bounds on the design variables. If the cost function has been judiciously designed, the desired movement (e.g., a human-like walking gait at a desired speed) will emerge as the solution to the optimization problem.
Predictive simulations enable one to study scenarios that would be time-consuming or otherwise onerous to explore using experiments. For example, hypothetical designs for prostheses can be evaluated and optimized without constructing physical prototypes, recruiting study participants, or conducting data collection sessions in the lab [
20,
21]. Predictive simulations do not track experimental data and, therefore, they do not assume that the joint kinematics and ground reaction forces remain unchanged during device-assisted gait; however, the solution that is found depends on the cost function that is specified. Defining the cost function may be straightforward in some applications—for example, in an optimal control problem where a robot must jump as high as possible. Unfortunately, the cost functions governing human movement are not known precisely. It is known that humans tend to prefer walking in metabolically economical ways [
22]; hence, metabolic energy expenditure (specifically, the cost of transport or the energy consumed per distance traveled) often appears as a term in the cost function for predictive simulations of gait [
2,
18,
19,
20,
23,
24,
25,
26,
27,
28,
29,
30]. Other commonly used terms include the minimization of muscle effort or work [
24,
26,
28,
30,
31,
32,
33,
34,
35,
36,
37], fatigue [
35,
36,
38], ligament strain [
29,
30], joint torque [
28,
39], joint load [
25], head motion [
19,
29,
30], asymmetry [
34,
35], and the derivative of ground reaction force [
30,
33]—each of which can be justified biologically. Many combinations and relative weightings of these cost function terms have been used in the literature to generate predictive simulations of gait with realistic joint kinematics and other features. However, when predictive simulations are used to optimize the design of assistive devices, it is unknown whether the resulting designs are sensitive to the selected cost function.
In this study, we explore the robustness of assistive devices that have been designed using predictive simulations. The simulations are generated in OpenSim Moco using a planar, bilaterally symmetric musculoskeletal model with 18 muscles. OpenSim Moco provides users with an interface for posing optimal control problems and employs the direct collocation method to improve the computational efficiency of solving them. OpenSim Moco has been used to generate predictive simulations of a variety of human movements, including healthy and atypical walking [
40], squat-to-stand [
40], cycling [
41], single-leg landing [
42], running [
43], and reaching [
44]. We first generate predictive simulations of walking using six plausible cost functions, each of which produces a realistic gait pattern. We then augment the musculoskeletal model with motors that generate hip flexion, knee flexion, or ankle plantarflexion torques, where the torques generated by the assistive devices are optimized along with the muscle forces and motion of the model. We demonstrate that, although many cost functions produce similar joint kinematics during gait, they may result in dramatically different conclusions about the design of an assistive device. This study highlights the importance of evaluating the sensitivity of predictive simulations to the cost function that is specified.
3. Results
The joint kinematics, ground reaction forces, and muscle activations for the tracking simulations are shown in
Figure 2 and
Figure 3. As shown in
Figure 2 and
Figure 3, the tracking simulations capture many salient characteristics of healthy gait. Some differences can be observed between the tracking simulation results and the measured data; however, some differences are expected since the model differs from the physical system in many respects. Most importantly, we note that the joint kinematics, ground reaction forces, and muscle activations are very similar across all tracking simulations, despite having been generated using different cost functions. The value of each cost function at the obtained solution is provided in
Table 3. The solution obtained using cost function
was selected for use as the initial guess for all predictive simulations.
The joint kinematics and ground reaction forces for the predictive simulations of unassisted gait are shown in
Figure 4. The most substantial difference between the predictive simulation results and the data measured from a population of healthy adults is that the knee flexion angle remains relatively constant during mid- to late stance, which contributes to producing a relatively flat vertical ground reaction force profile during stance. The knee is also slightly flexed at heel strike. Similar knee kinematics and ground reaction forces have been reported in other recent predictive simulations of gait [
29,
30,
35]. With the exception of the results using cost function
, we note very similar results among all predictive simulations despite having been generated using different cost functions. In a computational study seeking to predict the relative effectiveness of various assistive devices, any one of these solutions could conceivably be selected as the “baseline” simulation against which each hypothetical assistance condition would be compared. The value of each cost function at the obtained solution and the corresponding cost of transport are provided in
Table 4. The cost of transport varies from 3.39 J/kg/m (using cost function
) to 5.08 J/kg/m (using
).
The joint kinematics and ground reaction forces for the predictive simulations of device-assisted gait are shown in
Figure 5 for hip flexion assistance, in
Figure 6 for knee flexion assistance, and in
Figure 7 for ankle plantarflexion assistance. Changes in joint kinematics were predicted when the devices were present, with the magnitude of the changes depending on both the assistance strategy and the cost function. With hip flexion assistance, all simulations predicted a relatively constant knee joint angle throughout stance and a shorter stance phase than typical unassisted gait. Knee flexion assistance had the effect of increasing the knee flexion angle during stance, decreasing the ankle dorsiflexion angle during midstance, and reducing the stance phase duration. Ankle plantarflexion assistance generally increased the ankle dorsiflexion angle throughout the gait cycle.
Although the joint kinematics were relatively insensitive to the cost function, the torques generated by the assistive devices varied substantially among cost functions, as shown in
Figure 8. For example, with the exception of cost function
, all predictive simulations with hip flexion assistance had very similar joint trajectories (left column in
Figure 5); however, the predicted device torques were dramatically different (
Figure 8, top). The differences among the solutions predicted by different cost functions are further examined in
Table 5. The predicted reduction in the cost of transport varied from 0.18 to 0.85 J/kg/m in absolute value, or from 5.4% to 17.4% of the cost of transport for the corresponding unassisted simulation. Peak assistive torques varied from 41.3 to 79.0
and peak positive power varied from 143.1 to 299.6 W, which could lead to substantially different design requirements if predictive simulations are used to estimate specifications for physical components.
Similar results were observed with knee flexion assistance and ankle plantarflexion assistance, as shown in
Table 6 and
Table 7, respectively. With knee flexion assistance, the predicted reduction in the cost of transport varied from 0.13 to 0.75 J/kg/m in absolute value, or from 3.8% to 15.3% of the cost of transport for the corresponding unassisted simulation; peak assistive torques varied from 48.0 to 94.2
and peak positive power varied from 74.7 to 355.6 W. With ankle plantarflexion assistance, the predicted reduction in the cost of transport varied from 0.14 to 0.69 J/kg/m in absolute value, or from 3.4% to 14.2% of the cost of transport for the corresponding unassisted simulation; peak assistive torques varied from 42.6 to 79.8
and peak positive power varied from 67.5 to 124.2 W. Despite these differences, we note that all cost functions except
predicted the largest savings in the cost of transport with hip flexion assistance and the smallest savings with ankle plantarflexion assistance. These trends agree with the results of Dembia et al. [
3] and reinforce the recommendation to explore devices that assist hip flexion if one is seeking to reduce the cost of transport.
4. Conclusions
In this paper, we explored the potential of using predictive simulations to design assistive devices. Simulation-guided design offers many benefits, such as reducing the need to build physical prototypes and conduct time-consuming experiments, and allows device designers to focus their resources on comparing and optimizing only the most promising designs. Although predictive simulations are not expected to capture all phenomena that would be observed experimentally, one must consider the reliability of predictive simulations when applied to assistive device design—particularly if simulations are being used to predict absolute quantities (e.g., the cost of transport or peak motor torque) and not merely to compare the relative performance of different assistance strategies. We generated predictive simulations of walking in OpenSim Moco using a planar, bilaterally symmetric musculoskeletal model with 18 muscles. The musculoskeletal model was assumed to walk with a bilaterally symmetric gait to improve computational efficiency, as this permitted the simulation of only half of a gait cycle. Predictive simulations of unassisted walking were generated using six plausible cost functions, each of which produced a realistic gait pattern that could reasonably be used as the “baseline” simulation against which various assistance scenarios would be compared. The musculoskeletal model was then augmented with motors that generated hip flexion, knee flexion, or ankle plantarflexion torques, and the torques generated by the assistive devices were optimized along with the muscle forces and the motion of the model.
Although the cost functions that we explored produced predictive simulations with similar joint kinematics, the predicted savings in the cost of transport and the predicted torques and powers of the assistive devices were dramatically different. Depending on the cost function that was used, one could estimate metabolic savings of 5.4–17.4% with hip flexion assistance, 3.8–15.3% with knee flexion assistance, and 3.4–14.2% with ankle plantarflexion assistance. Broad ranges were also observed in peak assistive device torques: 41.3–79.0 for the hip flexion actuators, 48.0–94.2 for the knee flexion actuators, and 42.6–79.8 for the ankle plantarflexion actuators. These differences could lead to substantially different design requirements when selecting actuators, batteries, and supporting hardware.
Two important limitations should be noted regarding the generalizability of our results. First, we used a simplified musculoskeletal model with 18 muscles and studied its motion in only the sagittal plane. This modeling strategy was chosen to ensure that the computational effort required to generate the predictive simulations remained relatively low; however, non-sagittal-plane motions and the muscle activity responsible for generating these motions were ignored. A more detailed model would be required to study phenomena such as motion in the frontal plane and selective weakness of muscles that were not included in this model. Second, the model was bilaterally symmetric, assistive devices were added to both legs, and bilateral symmetry was enforced in the model’s kinematics. The assumption of symmetry permitted the simulation of only half of a gait cycle, again to reduce computational effort, but this assumption limits the generalizability of the results. A modeling and simulation strategy that permits asymmetry would be required to study assistive technologies for individuals with hemiplegia and other conditions that result in substantial asymmetry.
This study highlights the importance of evaluating the sensitivity of predictive simulations to the cost function and weights that are selected. The absolute values of quantities of interest were observed to be sensitive to the selected cost function; however, comparisons between conditions when using a fixed cost function were relatively robust. All cost functions except for predicted the largest reductions in the cost of transport with hip flexion assistance and the smallest reductions with ankle plantarflexion assistance. To generalize these results, the analysis should be repeated to study walking under different conditions (e.g., at different speeds, on slopes, and during load carriage), running at a range of speeds, and using different musculoskeletal models. Different terms in the cost function could be explored as well, including penalties for large time derivatives of ground reaction forces, penalties for large passive joint torques generated by ligaments, and penalties for features of gait that would cause instability, as these factors may contribute to shaping the gait patterns observed in nature. Experimental validation over a large population moving in a large range of scenarios would build confidence in the predictive capability of a given cost function when used with a given musculoskeletal model.