overview
intro
data
model
optimization
simulation
hybrid_1
hybrid_2
conclusions

Hybrid Model and Analysis, part 1
These two sections describe a more formal definition of the horizontal-plane locomotion model as a hybrid, or discrete-continuous, system. Of particular interest is the assumption that mode switches are induced by a timer, or clock-driven input, and its implication for self-stabilizing behavior. We begin by hypothesizing the basic stabilizing mechanism from simulation results and then define the hybrid automata based on this mechanism. Linear approximations to this automata show that it can reject disturbances in a global sense. However, since this is generally not true for actual locomoting systems, we define a more realistic "safe" region and numerically find a set of disturbances that will result in trajectories into the "unsafe" region.

Stabilizing Mechanism
Figure 25
Static Force-field for lo_hipK solution

Figure 26
Static Force-field for hi_hipK solution

As seen in the previous section, simulations of the model produce self-stabilizing cyclic motion. By "self-stabilizing" I mean that the direction and speed of locomotion converge to finite values, despite disturbances in the system (see Figures 13 and 14).

In this document, I hypothesize that this behavior is the result of placing the state of the system away from a stable equilibrium at the start of the mode. The system then moves towards this equilibrium until it is time to switch into the next mode. The repeated "moving" of this equilibrium point results in motion of the system in a cyclic orbit. The stability of this equilibrium point results in the rejection of deviations from this nominal orbit.

In this model there are two modes, one for each tripod of legs (please see the "Model" section for a description of the dynamics of the model; see the "Simulations" section for simulation movies). Figures 25 and 26 show the static force vector field for one of the modes.

The "force-fields" were computed by fixing the footholds and then computing the resultant force exerted by the springs. This is the "static" force-field, since the effects of the viscous dampers are neglected. The resulting moments are represented by the circles, where the moment is proportional to the radius of the circle and the sign is represented by its color.

As seen in the figures, there appears to be a static equilibrium point slightly above the front of the body for both sets of optimized parameters (please see "Optimization" section for a description of these two solutions). Note that the equilibrium point lies on different sides of the tripod in each model.

The static force-fields points towards the equililbrium point almost uniformly, thereby motivating the above hypothesis.

Force field Comparison
Figure 27
Forces along kinematic data trajectory

Figure 28
Forces along simulated trajectory (lo_hipK)

Figure 29
Forces along simulated trajectory (hi_hipK)

Of course, it is difficult to compare the two force-fields of the models with the actual force-field of the animal, especially since we're only dealing with kinematic data.

Figures 27 shows the forces and moments along the trajectory of the kinematic data, estimated from the accelerations. Figures 28 and 29 show the forces along the trajectory for the two simulations. As shown, the pattern of forces in the animal more closely resembles the pattern in the hi_hipK simulations.

Model Definition
Figure 30
Movie of simulated trajectory (lo_hipK)

Figure 31
Movie of simulated trajectory (hi_hipK)

Motivated by the appearance of this equilibrium point, a convenient reference frame on which to define the model is this point. Since the leg footholds, and thus the equilibrium point, are determined with respect to the body regardless of orientation, this choice of frame conveniently allows us to always reset the position state of the body in the same place.

The hybrid model is defined as follows:

  • Two states, one for each tripod of legs: {q1, q2}
  • State of the system are the position and velocities with respect to the equilibrium point: {x, x_dot, y, y_dot, theta, theta_dot}
  • The dynamics of each mode is given by the non-linear model of the rigid body under the forces applied by the hip and leg springs and dampers.
  • There is a timer (which is not modeled as a separate state for simplicity) which induces a mode change as every half stride, delta_t
  • In the mode reset relations, the position states are zeroed and set to a predetermined position, X_tilda, with respect to the equilibrium position (since the equilibrium point is defined with respect to the body position at the mode switch). The velocities are continuous, except for a velocity disturbance X_hat that is introduced at the mode switch:

  • The first equation gives the initial state of the second mode as a function of the end state of the first mode, x1(dt1). The matrix I_bar, shown here as a 4x4 as an example, zeroes the position entries of the state vector. The reset relation from the second mode back to the first mode is identical, except for the indices.