This work explores the collision process at foot contact in models of legged robots. In particular, we highlight that for legged systems the widely used assumption of no sliding of the contact points can yield inconsistent outcomes. For certain contact configurations and system parameters, neither the assumption of lift-off of the trailing foot nor the assumption that it stays fixed on the ground yield valid solutions. The foot will slide, even if an infinite coefficient of friction is assumed. In a related effect, we present configurations in which the solution of the collision process is ambiguous. These behaviors are examined for the models of a minimalistic biped, a passive dynamic walker, and the five-link bipedal robot RAMone. The paper provides background for these non-intuitive behaviors and investigates the influence of system parameters onto the collision behavior of a passive dynamic walker. By studying bipedal models that range from minimalistic to physically accurate, this paper establishes a bridge between the theoretical study of unilateral contact in multibody dynamic simulations and the application of these simulation methods in the modeling of ground contact in actual legged systems.
The feet of legged systems have to alternate between aerial phases in which they are moving freely through the air and contact phases in which they are exerting forces against the ground. The focus of this paper is the dynamics of the touchdown process between these two phases. During touchdown, a collision rapidly brings the velocity of the contacting foot to a stop. This collision is the result of a complex visco-elastic interaction between the feet and the ground.
Since it is infeasible to model this interaction in all its physical detail, rigid body dynamic simulations approximate contact either through a simplified spring-damper model or by assuming that the contact is completely rigid (Bicchi and Kumar, 2000). Both approaches are only an approximation of the true underlying continuum mechanics process and provide a simplified means to calculate contact forces and contact accelerations. In spring-damper models, contact forces arise automatically as soon as a foot starts to penetrate into the ground and vanish again once the foot lifts off. This removes the need to keep track of the contact state, but the large stiffness values and the high damping coefficients that are required in such a spring-damper model can be difficult to tune and yield numerically stiff differential equations (Marhefka and Orin, 1999). For simplicity and performance, simulations of legged robots thus often employ completely rigid contact models. These rigid contact models rely on a set of unilateral contact constraints through which vertical foot positions are limited to positive values. If a foot is in contact, the associated contact forces are computed analytically such that the foot does not penetrate into the ground. In this case, the legged system is described as a non-smooth dynamical system, in which a set of unilateral constraints is imposed on the state of the system (Brogliato, 1999). The advantage of such a formulation is that no stiffness parameters must be tuned. This property is particularly useful for template models of locomotion, in which model simplicity and a small number of model parameters are imperative (Garcia et al., 1998). One way to deal with the non-smooth dynamics is to implement a hybrid dynamic simulation framework (Johnson et al., 2016; Goebel et al., 2009; Remy et al., 2011) that explicitly determines lift-off and touchdown events. Furthermore, when a touchdown is detected, the simulation must be interrupted and a set of impulsive forces is computed such that the contacting foot is instantaneously brought to a halt.
In this work, we investigate this process specifically for models of legged robotic systems. Within this context, our primary contribution is to survey the topic of contact ambiguity and to introduce the associated effects to the legged robotics community. In particular, we show how rigid unilateral constraints can lead to a number of non-intuitive behaviors in these systems. Our work highlights the fact that the widely used assumption of no sliding of the contact point can yield mathematically inconsistent solutions when combined with a rigid contact model. We show that, even if an infinite coefficient of friction is assumed, sliding must be included as a potential collision outcome. Furthermore, we identify a range of contact configurations for legged systems in which the rigid body dynamic model produces ambiguous results. Multiple valid solutions of the collision process exist and it is impossible to determine uniquely which state the model will enter after the collision. By investigating these effects, the paper highlights the need for a careful simulation of the collision processes which must go beyond the simple assumption of no sliding. The paper builds on a tutorial for a summer school held at ETH Zurich (Hutter, 2011) in which the basic phenomenon of sliding with infinite friction was reported for a minimalistic model.
The effects described in this paper are not uncommon in rigid body systems that are subject to unilateral constraints. The most famous example is the Painlevé paradox, which has been studied extensively since 1895 (Génot and Brogliato, 1999; Painlevé, 1895). Painlevé’s problem describes a simple rod that is in sliding contact with a moving surface. If the angle between rod and surface is large enough, one is unable to find a set_ of contact forces that prevent the rod from accelerating into the surface. Painlevé’s paradox can only be overcome if impulsive forces and discontinuous velocities are explicitly allowed in this otherwise continuous dynamic system (Stewart, 1997). The behavior is caused by non-zero off-diagonal terms in the contact space mass matrix (see Ruina, 2014, for a great explanation). Such off-diagonal terms can be present anytime when forces are not directly applied to the center of gravity of a body or of a system of bodies. As a consequence of these off-diagonal terms, contact point accelerations and related forces are not generally collinear. This means, that a contact force that is directed away from the contact surface can actually make the contact point move towards the surface and vice-versa. Examples of related phenomena showed the possibility of sliding with infinite friction (as for example in the manipulation of rigid objects Lynch and Mason, 1995) or ambiguous accelerations in multi-contact situations Lötstedt, 1981; Wang et al., 1992. To simulate systems in which these and other phenomena can arise, great care must be taken (Brogliato, 1999, Chapter 5.7) and a number of specialized algorithms have been developed to cope with these phenomena (Anitescu and Potra, 1997; Glocker, 1995; Stewart, 2000; Stewart and Trinkle, 1996).
After introducing the model and basic collision process (Section 2), the paper explores the collision outcomes of a minimalistic bipedal model (Section 3). We provide explanations for the non-intuitive behaviors (Section 4) and show the same effects in the models of a passive dynamic walker (Section 5) and of the bipedal robot RAMone (Section 6).
2. Collision modeling
This paper investigates the collision process in three different bipedal systems (Figure 1). The first is a minimalistic model, in which the mass of each leg is concentrated at a single point located halfway between the hip and the contact point. This model serves to illustrate the dynamics of the collision process in their most basic form. The second system is a passive dynamic walker (PDW) in which the legs have extended mass and a variable center of gravity (COG) location. It is used to highlight the influence of system parameters onto the outcome of the collision process. Finally, we investigate a planar model of the robot RAMone (Smit et al., 2017), a typical planar five-link biped, to show that similar effects arise in actual legged robots.
This paper studies the collision dynamics of three bipedal systems: a minimalistic model, in which the mass of each leg is concentrated in a single point (a) a passive dynamic walker (b) and a model of the bipedal robot RAMone (c). The dynamics of these models are examined as the leading foot (‘le ’) is about to strike the ground in a contact collision. Note that all three bipeds are modeled as moving towards the left in order to yield a positive angular velocity of the trailing leg.
Using a floating base description, the configuration of each of these models is given by a vector of generalized coordinates . The positions of the contact points of the trailing and leading feet are and , respectively. These positions are a function of () and their velocities are given by
with the contact Jacobian . The touchdown collision happens in an infinitesimally short amount of time. To compute its outcome, the equations of motion are integrated over this instant (Glocker, 2001)
The superscripts ‘−’ and ‘+’ denote values right before (pre-impact) and right after (post-impact) the instant of the collision. In the limit of an infinitesimally short collision, the integral of the centrifugal, Coriolis, and gravitational forces disappears. Themass matrix , then relates changes in velocities to contact impulses . These impulses are mapped from the contact space into the generalized coordinates with the transpose of the contact Jacobian . By multiplying this equation with , the impact is projected into the contact space
or simpler
with the contact space mass matrix
For simplicity, we partition this equation into terms for the trailing foot tr, leading foot le, and coupling terms cp
Analytic expressions for the contact space mass matrix and the pre-impact contact point velocities are derived for the minimalistic model and the PDW in Appendix B.1. At the instance of the collision (), the leg angles for these two models are equal and opposite: . We thus simplify our notation to and , using as a shorthand for the leg angle at impact. This angle is the main parameter that is studied in this paper and it will be varied between 0 and as we evaluate collision outcomes.
3. Collision outcomes
To compute the outcome of the collision, we need to determine the impulses and the post-impact velocities in equation (6). To do so, additional assumptions must be made about the nature of the contact. While there are theoretical limitations to the values that these two quantities can take (see, e.g. Chatterjee and Ruina, 1998), we ultimately have to rely on empirical models that provide a reasonable approximation of the underlying complex continuum mechanics processes and that can be used to relate impulses and post-impact velocities in a physically meaningful way.
Intuitively, these two assumptions suggest that the colliding feet come to a complete stop (or remain at rest) after a perfectly inelastic collision. No sliding is considered. To keep things simple, we will look initially only at cases in which the leading foot comes to a complete stop after the collision. That is, . We will revisit this assumption and discuss its validity at the end of this section. This reduces the collision computation to finding the values of , and in equation (6). Under the assumption of no sliding, two collision scenarios are possible (Figure 2).
Case 1. As the leading foot hits the ground in the collision, the trailing foot comes off the ground. This outcome is expected to happen when the feet are closer together and the momentum of the walker is pointed forward rather than downward. In this case, impulses at the trailing foot are zero and equation (6) simplifies to .
Case 2. After the collision, the trailing foot will remain in place and the system will come to a complete stop. As in this case , we compute the trailing foot impulse as . This outcome is expected to happen when the feet are further apart and the momentum of the walker is pointed downward rather than forward.
Under the assumption of no sliding, two collision scenarios are possible. The trailing foot could either leave the ground (case 1) or remain on the ground (case 2). In the first case, no impulse is applied at the trailing foot, yet there is a non-zero post impact velocity . In the second case, impulses are applied on each foot.
For these two cases, numerical values of the complete impulse vector and the post-impact foot velocities are shown as a function of (which ranges from 0 to ) in Figure 3. For the numerical evaluation, we used the minimalistic model (Figure 1(a)) and set . That is, we assume that the angle between the two legs is constant prior to touchdown. The results are normalized with respect to leg mass m, leg length l, and the pre-impact angular velocity of the trailing leg . Consequently, linear velocities are expressed in units of and impulses in units of . To yield a positive value for (and thus positive values for the units of velocities and impulses ), the model is walking towards the negative x -direction.
Outcome of the collision computation as a function of the impact angle under the assumption of no sliding. Shown are post impact contact point velocities (, ) and impulses for two scenarios: collision at the front foot while the back foot leaves the ground (case 1, solid lines) and collision of both feet (case 2, dashed lines). The results are normalized with respect to the leg mass m, the leg length l, and the pre-impact angular velocity . Case 1 can only explain the collision in the regions marked A and E. In between, the post-impact normal velocity of the trailing foot () becomes negative. Case 2 can only explain the collision in regions C, D, and E. For smaller angles, the normal impulse becomes negative. In region B, neither case yields a consistent solution. In region E, the outcome is ambiguous, as both cases produce valid solutions.
For case 1 (solid lines), the results provide a consistent solution for pre-impact angles close to 0 and close to (regions marked as A and E). In these regions, the vertical post impact velocity of the trailing foot is positive and the trailing foot will indeed leave the ground. In between, the vertical post impact velocity of the trailing foot is negative. This contradicts the assumption that the foot leaves the ground after the collision. Case 1, lift-off at the trailing foot, is thus not a valid solution in regions B, C, and D.
Case 2 (dashed lines), on the other hand, provides consistent solutions with positive normal impulses for impact angles (regions C, D, and E). For smaller angles (regions A and B), however, the normal impulse at the trailing foot is negative. This contradicts the assumption that the trailing foot will remain in contact, since the unilateral ground contact can only produce positive normal forces.
Since case 1 only explains regions A and E, and case 2 only regions C, D, and E, the region marked B is left unexplained by either case. If we assume that the trailing foot leaves the ground, we obtain a normal velocity that would move the foot into the ground. If we assume that the trailing foot stays on the ground, we obtain a negative normal impulse that cannot be produced by a unilateral contact. Under the assumption of no slip, neither coming to a rest nor leaving the ground yields a valid solution.
3.2. Sliding with finite friction
A way to understand the apparent paradox of the previous section, is to realize that even with positive normal ground reaction forces , the trailing foot would start to slide if the magnitude of the tangential component were larger than (where is the coefficient of friction). With , for example, sliding would occur as soon as the absolute value of the tangential force is larger than the normal force. For the chosen parameter values, this will happen in region C. In other words, under the assumption of finite friction with , case 2 will cease to be a valid solution in this range.
We can consider sliding as a third case of the collision process, for example by assuming a Coulomb impact at the trailing foot with a coefficient of friction (Figure 4):
Case 3. The trailing foot slides after the collision. Only the normal component of the trailing foot velocity will remain zero: . The horizontal trailing foot velocity is unconstrained. For a Coulomb impact in which the trailing foot slides in the negative direction (i.e. in the direction of travel), the tangential trailing foot impulse is given as . For sliding in the positive x -direction, it is .
When the impulse at the trailing foot moves to the edge of the friction cone, its tangential component is bounded to be . The foot is brought to a rest in the vertical direction, but sliding occurs in the horizontal direction.
Note that other formulations exist for the consideration of friction. Routh’s method, for example, applies the friction limit on a differential impulse () that is accumulated over the collision process (Wang and Mason, 1992). This method is applied, for example, in the work by Posa et al. (2016). For case 3, the resulting impulses and post impact velocities are shown in Figure 5. For (dotted lines), the Coulomb impulse accurately describes the collision outcome in regions B and C. In this range, the normal impulse is positive, and the post-impact velocity of the trailing foot and the tangential impulse have different signs. In regions A and E, the normal impulse at the trailing foot is negative which violates the assumption that the foot undergoes a collision. In region D, the tangential component of the post-impact velocity and the tangential impulse have the same sign (both are positive), which violates the assumption of a Coulomb friction process.
Outcome of the collision computation as a function of the impact angle , if the trailing foot slides after the collision (case 3). Shown are post impact foot velocities , ) and impulses for (dotted lines) and (long dashes). The results are normalized with respect to the leg mass m, the leg length l, and the pre-impact angular velocity . The bounded tangential impact () can correctly explain the collision outcome for leg angles in the region marked B for , and in the regions marked B and C for .
Similarly, backwards sliding (with ) provides a consistent solution for very large leg angles (not shown). In other words, as soon as sliding is allowed as a potential outcome, we can find valid solutions for all values of . In particular, sliding can explain the collision outcome for intermediate leg angles (region B) which had no solution under the simple assumption of no sliding.
3.3. Sliding with infinite friction
Even in the limit of , the tangential impulse remains bounded and sliding will occur (see Appendix B.1 equations (18) to (23) for an analytical derivation). This limit of case 3 is shown in Figure 5 (long dashes). It produces a consistent solution for region B, which we were not able to explain by the simple assumption of no slip. In regions A, C, and D the tangential impulse and the tangential component of the post-impact velocity have the same sign, which violates the assumption of a Coulomb friction impact. In region E, the assumption of sliding with infinite friction again yields consistent results and the trailing foot will slide in the positive x -direction.
Together, cases 1 to 3 can describe the complete touch-down behavior of the minimalistic model. As the impact leg angle increases, the system undergoes three structurally different outcomes: lift-off of the back foot, sliding of the back foot (even if we assume infinite friction), and coming to a complete stop. Sliding will always happen in region B, and depending on the magnitude of , this region will expand towards larger leg angles .
In addition, we saw that for large impact leg angles (region E), three outcomes are equally valid solutions. Coming to a stop, lifting off, and sliding all yield valid solutions if we assume that the coefficient of friction is infinitely large. This seems paradoxical at first, but must be understood as a limiting case of an extreme sensitivity that the dynamics exhibit with respect to initial conditions and parameters and that result from the approximation of the bodies being rigid. This is a common phenomenon in systems with unilateral contact. According to Stewart (2000), predicting for any system ‘… which of the possible solutions actually occurs requires knowledge of the microscopic details of the contact, which is not available at this level of modeling’. To summarize the collision outcomes, Figure 6 combines all three cases, highlighting a continuity of impulse values and post-impact velocities as the impact angle varies from 0 to . It also shows the three possible solutions in regions E.
Combination of the results presented in Figures 3 and 5 for the case of . Post impact foot velocities , ) and impulses are continuous as the impact angle varies. The system undergoes a lift-off of the trailing foot (in region A), sliding with infinite friction (region B), and a complete stop (regions C and D). For impact angles , all three of these outcomes are valid solutions (region E).
3.4. Complete linear complementary problem formulation
In order to simplify the analysis to a two-dimensional contact space, we have so far assumed that the leading foot always comes to a complete stop. That is, . Throughout the analysis, we have not seen any indication that would contradict this assumption. For all values of , the normal impulse at the leading foot was positive. If the coefficient of friction is sufficiently large, the leading foot can be brought to a stop.
For smaller coefficients of friction, however, we must account for the possibility of sliding of the leading foot. Including this possibility leads to a total of 16 different outcomes. Linear complementary problem (LCP) formulations, as presented for example by Pfeiffer and Glocker (2000) or Stewart (2000), provide a means of handling such a large number of cases in a systematic framework. Adapting the approach by Pfeiffer and Glocker (2000, Chapter 8.8), for a coefficient of restitution (that is, only for the compression phase), we implemented an LCP formulation of the minimalistic model. The details of this implementation are presented in Appendix B.2.
In order to obtain all possible solutions, we solved the LCP by permutating through all possible cases (Murty and Yu, 1988), rather than relying on a more efficient solver that terminates after a solution has been found (such as Lemke’s algorithm). The solutions for are shown in Figure 7. As the pre-impact angle varies from 0 to , six structurally different outcomes arise: the trailing foot lifts off as the leading foot comes to a rest (region I); the trailing foot slides forward as the leading foot comes to a rest (region II); both feet remain at rest after the collision (region III); the trailing foot slides backwards as the leading foot comes to a rest (region IV); the trailing foot slides backward and the leading foot forward (region V); the trailing foot lifts off, and the leading foot slides forward (region VI). Multiple solutions do not arise at any of these configurations. This changes for larger coefficients of friction. For (Figure 8), there exists a region (labeled IV), in which sliding, lift-off, and coming to a rest are equally possible solutions for the behavior of the trailing foot. For very large , the numerical results converge towards the combined results for shown in Figure 6.
The result of the LCP formulation for shows how the minimalistic walker undergoes a large number of different contact scenarios when sliding is explicitly enabled. As the pre-impact angle varies, the following structurally different outcomes are possible (numerals refer to the shaded areas in the figure). I: the trailing foot lifts off as the leading foot comes to a rest. II: the trailing foot slides forward as the leading foot comes to a rest. III: both feet remain at rest after the collision. IV: the trailing foot slides backwards as the leading foot comes to a rest. V: the trailing foot slides backward and the leading foot forward. VI: the trailing foot lifts off, and the leading foot slides forward.
Post impact foot velocities and impulses for obtained via a LCP formulation. The areas marked I–III and VI correspond to identical contact scenarios as those in Figure 7. Due to the larger coefficient of friction, however, multiple solutions are possible for pre-impact angles in the region marked as IV. These solutions are highlighted with different line styles. In region V, the trailing foot lifts off as the leading foot comes to a rest.
4. The reason for these behaviors
In order to facilitate a parametric analysis of the PDW model, we derived an explanation of these phenomena based on the relative angle of impulse vectors. It adds to the number of explanations that deal with related phenomena and that are primarily discussed in the context of Painlevé’s paradox (e.g. Brogliato, 1999, chapter 5.6) (Génot and Brogliato, 1999). In particular, we consider a simplified collision example in which a single body at rest is subject to an external impulse (Figure 9). The body sits on a surface that only allows motion in the positive y -direction and the impulse is applied right at the point where the body makes contact with the surface. is the velocity of the contact point after the impulse has been applied and is the integral of the contact forces that arises from the unilateral constraint. The example in the figure shows a body with mass m=1 and inertia and a COG that is located at (-1, 1) relative to the contact point. For this example, the contact space mass matrix is
The integrated EOMs are:
Example of a single rigid body in contact. The body is at rest when an external impulse is applied at the contact point. Due to the off-diagonal terms in the contact space mass matrix , the total impulse and the direction of are not collinear. As a result, the collision outcomes can be ambiguous and sliding with infinite friction is possible. In the figure, denotes the angle of inertial impulses as a reaction to pure sliding () and the angle of the external impulse . For , the contact point can either lift-off (shown in (a)), stay in contact (shown in (b)), or slide (shown in (c)). For , sliding can occur with infinite friction (shown in (d)).
In order for the contact point to slide along the contact surface after the impulse was applied (i.e. ), the sum of the impulses must be of the form
In other words, they must be directed along a line oriented at an angle of .1 For the contact point to slide in the negative x -direction, the sum of and must thus not only be directed towards the left, but also away from the contact surface. Similarly, to make the contact point slide in the positive x -direction, must be directed towards the right and into the contact surface. If the angle of the external impulse lies between the surface and the line with slope , the following effects arise.
Even if the impulseis pointing downwards, the body does not necessarily stay in contact. Since, in our example, is negative, this happens for . If the coefficient of friction is sufficiently large (i.e. if is inside the friction cone), three solutions are equally possible:
The contact point can lift off (Figure 9(a)). If there is no contact impulse , the contact point simply moves away from the surface with .
The contact point remains at rest (Figure 9(b)). In this case, the contact impulse completely balances and .
The contact point starts to slide (Figure 9(c)). The change in horizontal velocity causes an reactive impulse that reduces the normal component of . Interestingly, in this case larger accelerations happen with larger coefficients of friction. The highest acceleration (or more precisely: highest change in velocity) occurs when friction is infinite and is purely tangential.
Note that solutions (b) and (c) cease to exist if is outside the friction cone. In this case, lift-off would be the only valid solution and the outcome is deterministic.
Even if the impulseis pointing upwards, the body does not automatically lift off (Figure 9(d)). In our example, this happens when . In this case, the impulse by itself would create an acceleration into the contact surface. To balance all impulses, there needs to be a non-zero contact impulse . Depending on the coefficient of friction, this impulse can reach from purely normal () to purely tangential (). But even for , would be non-zero and the contact point slides.
For the remaining ranges of the angle , more intuitive outcomes happen. For the contact point will always lift off, and for , the contact point will always stay in contact. The latter case can lead to either sliding or remaining at rest, depending on the coefficient of friction .
For a bipedal system (and under the assumption that the leading foot comes to a complete stop), equation (6) can be interpreted as being analogous to equation (7). The external impulse is given by and can be interpreted as a manifestation of the leading foot collision at the trailing foot. With regard to the remaining terms, the contact space mass matrix is given by , and the post-impact velocity by the trailing foot velocity .
5. Model of a passive dynamic walker
Based on these insights, we extend our investigation to the parametric analysis of the model of a PDW. PDWs are simple mechanical mechanisms that can walk down a shallow ramp, relying solely on gravity and their mechanical dynamics. Inspired by simple mechanical toys (Wilson, 1938), McGeer (1990a) was the first to build a functional prototype and to describe the concept mathematically. More complex versions have knees (McGeer, 1990b) or can move stably in three dimensions (Collins et al., 2001). PDWs are one of the most widely used models of legged locomotion since passive mechanical dynamics play an important role in human locomotion (Kuo, 2007; Mochon and McMahon, 1980). They have been used to explain, for example, the relationship of speed and stride frequency (Kuo, 2001), the investigation of stability and energetics for lateral motion (Bauby and Kuo, 2000; Donelan et al., 2001), and the effectiveness of active push-off to reduce collision costs (Kuo et al., 2005). In physical implementations, bipedal robots that are based on PDWs have shown unsurpassed levels of energetic economy (Bhounsule et al., 2014; Collins et al., 2005; Dertien, 2006; Wisse et al., 2007).
The model of the PDW used in this study (Figure 1(b)), differs from the conceptual model discussed in Section 3 in that the legs have rotational inertia j and that the COG can be placed arbitrarily.2 The COG position is given by the distance along the line connecting the hip to the contact point and the distance perpendicular to this line. In this section, we investigate how these parameters influence the behavior of the system during collisions. As shown in Section 4, the type of the collision outcome depends only on the relative values of the angles and . Analytical expressions for these angles are derived in Appendix B.3. For any PDW, will always be negative and will gradually vary from to 0 as ranges from 0 to . Because is negative, multiple solutions will occur for and sliding with infinite friction will occur for .
When we simplify the collision process to cases in which (which is not generally true, but often a close approximation in actual PDWs), the vector of the impulse rotates from pointing vertically upwards towards pointing horizontally towards the right as ranges from 0 to . Depending on the system parameters, this rotation happens in a clockwise direction (for ) or in a counter-clockwise direction (for ). If the impulse vector rotates in a counter-clockwise rotation, there has to be a pre-impact angle range in which . Sliding with infinite friction will occur in this range. In a clockwise rotation, for all , and the conditions for sliding with infinite friction () are never fulfilled. With regards to multiple solutions, these can happen any time . Such a region exists in the neighborhood of for nearly all parameter choices. It vanishes only in the case of . For , an additional second region of multiple solutions exists at smaller pre-impact angles . The relative size of and thus determines the occurrence of sliding with infinite friction and the occurrence of multiple solutions in models of PDWs.
Figure 10 shows the angles and as a function of for = l, = 0 l, , and for three different values of the leg inertia j. These parameters reflect the COG position that is depicted in the PDW in Figure 1(b). The first inertia value (shown in Figure 10(a)) is j = ml2 ( = 0.5 l). It approximates the inertia of the shown walker if its legs were made of homogeneous material of constant thickness. To visualize the effects discussed in this paper, the walker in Figure 1(b) is shown with an impact angle of . For this impact angle, one can see in Figure 10(a) that . That is, in the situation depicted in Figure 1(b), the trailing foot will slide, even for . The second inertia value j = ml2 (= l) reflects the limiting case l (Figure 10(b)) and the third value j = ml2 (= l) shows how the structure of the solution changes if the leg inertia is increased beyond this critical value (Figure 10(c)).
Shown are the angles and (with ) as a function of for the model of a PDW. The relative values of and determine the outcome of the collision process. For , the trailing foot will remain in contact (region marked as C and D). For , multiple solutions are equally valid (region E). For , the trailing foot will leave the ground (region A). For , the trailing foot will slide, even for (region B). Depending on the system parameters, not all of these outcomes happen. The three plots show results for different values of the leg inertia j: j = ml2 (shown in (a)) approximates the inertia of the walker shown in Figure 1(b) if its legs were made of homogeneous material of constant thickness. j = ml2 (shown in (b)) reflects the case in which the regions of sliding with infinite friction and multiple solutions vanish. j = ml2 (shown in (c)) shows how the structure of the solution changes if the leg inertia is increased beyond this critical value. One can clearly see the change in the direction of rotation of the angle. The remaining parameters are: = l, = 0 l, and .
6. Model of a bipedal robot
The same effects occur in more complex models of legged locomotion. For example, we applied the presented approach to a model of the bipedal robot RAMone (Figure 1(c)). RAMone is a typical planar five-link robot with non-articulated circular feet. Similar legged robots are described, for example, in the work by Chevallereau et al. (2005); Saglam and Byl (2013) and Westervelt et al. (2003). All states, dimensions, and mass properties of this robot are given in Table 1 and are illustrated in Figure 11.
Dimensions and mass properties of the model of RAMone.
Param.
Value
Unit
Description
7.903
kg
Mass of main body
0.789
kg
Mass of upper leg segment
0.510
kg
Mass of lower leg segment
0.0800
kg m2
Inertia of main body
0.00221
kg m2
Inertia of upper leg segment
0.00652
kg m2
Inertia of lower leg segment
0.138
m
Distance of hip to main body COG
0.019
m
Distance of hip to upper leg COG
0.165
m
Distance of knee to lower leg COG
0.200
m
Length of upper leg segment
0.239
m
Length of lower leg segment
0.028
m
Foot radius
Shown are the states (red) and model parameters (blue) of a model of the robot RAMone. The walker is pivoting about the trailing foot with all joint velocities being zero (). In the shown configuration, the back leg will slide even in the presence of infinite friction.
Similar to the previous models, we considered a scenario in which the robot is pivoting about the trailing foot (which is at rest and located at ) with an angular velocity of , while the hip and knee joints remain motionless (). At the instance of the collision, both knees have an angle of and the main body is vertical (). This large knee bend is typical for a running gait of RAMone and having the knees point against the direction of motion increases the efficiency of locomotion (Smit-Anseeuw et al., 2017). Analogous to our prior analysis, we investigated the collision behavior of this system as a function of the inner leg angle . In this case, is defined with respect to a line connecting the hip joint to the foot (Figure 11). From these values, the hip angles , the position of the main body (x, y), and the velocities of the main body can all be computed given a particular choice of . We numerically computed the mass matrix , the contact Jacobian , and the contact space mass matrix as a function of .3 We then solved for the post impact velocities and the contact impulses for the three cases that were discussed in this paper, assuming an infinite coefficient of friction .
As a consequence of the additional joints the impulse transfer from leading to trailing contact point is highly attenuated. Only very small ( Ns) impulses arise at the trailing contact point. Nonetheless, sliding with infinite friction and multiple valid solutions appear. In particular, there exists two bands of angles (0.47 rad 0.54 rad and 1.02 rad 1.06 rad) in which the trailing foot will slide despite infinite friction, and one band (1.34 rad 1.40 rad) in which sliding, coming to a stop, and lift-off are equally valid solutions. Table 2 gives the three collision outcomes for the example of an inner leg angle of = 0.5 rad, for which sliding with infinite friction occurs.. This is the configuration depicted in Figure 11. The table highlights the negative vertical post-impact velocity if we assume that the trailing leg lifts off and the negative normal contact impulse if we assume that the trailing leg comes to a complete stop. Sliding with infinite friction, however, is a valid solution as the post impact horizontal velocity and the horizontal contact impulse have opposite signs.
Post impact velocities (in units of ) and contact impulses (in units of Ns) of the trailing leg of a model of RAMone are shown for the three collision cases with an inner leg angle = 0.5 rad. In this configuration = = and =. Sliding with infinite friction is the only viable outcome. This configuration is depicted in Figure 11.
case 1
0.826
–0.032
0
0
case 2
0
0
–0.116
–0.043
case 3 ()
0.582
0
–0.033
0
7. Discussion and conclusion
In this paper, we investigated the details of the collision process of models of bipedal systems. In particular, we show that the well-established and widely used assumption of no sliding of the contact points can yield inconsistent results. For some contact configurations and system parameters, neither the assumption of lift-off of the trailing foot nor the assumption that it stays fixed on the ground yield valid solutions. If we assume that the trailing foot lifts off, we obtain post-impact velocities that would move the foot into the ground. If we assume that the trailing foot remains fixed, we obtain negative normal contact forces. To overcome these inconsistencies, sliding of the contact point is introduced as a third collision outcome. We showed that such sliding can occur even under the assumption of an infinite coefficient of friction. This is due to the fact that in the limit of , the normal contact impulse goes to zero while the Coulomb friction process yields a finite tangential impulse. This impulse is not necessarily large enough to bring the tangential velocity to a complete halt.
In a related effect, we discovered situations in which the solution of the collision process is ambiguous. If the coefficient of friction is large enough, all three cases (i.e. the trailing foot remaining at rest, lifting off, and sliding) result in mathematically valid solutions. For a rigid-body-model of a biped that undergoes an impulsive collision process, the state after the collision cannot always be determined uniquely.
These non-intuitive behaviors in models of bipedal systems were presented for a minimalistic biped, a passive dynamic walker, and a model of the five-link biped RAMone. Via the simplified scenario of a single body in unilateral contact that is subject to an external impulse, the effect was further examined. We showed that the occurrence of the above-mentioned behaviors depends on the relative direction of the external impulse and the reaction force to a purely tangential acceleration. Based on these insights, and under the assumption that the trailing and leading leg rotate with the same angular velocity prior to impact, we derived ranges of system parameters in which sliding with infinite friction and multiple valid solutions are possible for the passive dynamic walker.
The ambiguous outcomes with more than one valid solution were only observed in contact configurations with very large leg angles (when the robot is close to doing the splits) or for very large leg inertia j (in which the mass is concentrated at or below the foot). From a practical perspective, these results play probably only a minor role in the study of legged locomotion. The occurrence of sliding, even when infinite friction is assumed, has more direct implications. For boththe RAMone model and the PDW, sliding of the trailing leg was shown to happen in a range of leg angles and inertia values j that are very reasonable for walking systems. In fact, the PDW and RAMone configurations shown in Figures 1(b) and 11, depict situations in which sliding with infinite friction would occur. Similarly, the minimalistic model entered a sliding state (with infinite friction) for . For comparison, the leg angle during human walking is about (Grieve, 1968); that is, the presented effect happens for leg configurations that are well in the range of regular walking.
Due to the large number of parameters and states, we refrained from conducting a similarly detailed parametric and state dependent analysis for the model of RAMone as we have done it for the PDW. Instead, we limited our analysis to merely showing that the effect does arise in a very basic configuration of this realistic model. When playing with the configurations of the robot model, it did however become apparent that the outcomes were quite sensitive to changes in states and velocities. For example, pitching the main body forward and backward by rad shifted the band of angles in which sliding with infinite friction happened by about rad. This variability highlights that the observed effects are not necessarily limited to a set of particular pre-impact configurations (such as, for example, configurations close to kinematic singularities). Instead, they can arise over a range of different configurations, creating a certain unpredictability in more complex models. So while the effects were limited to a very small range of pre-impact configurations in the model of RAMone, it might be difficult to exclude and ignore them completely. In particular, it seems that one cannot simply evade them by simply staying away from particular regions of the configuration space.
In the passive models, sliding and coming to a complete stop both represent situations that interrupt locomotion. PDWs can, by definition, only walk when the trailing foot leaves the ground passively after the collision. This requirement limits their operation to leg angles in the region marked A in Figures 3, 5, and 6 and as region I in Figures 7 and 8. For passive systems, it is thus sufficient to check the vertical post-impact velocity of the trailing foot to detect a gait failure. In contrast, actuated walkers can rely on an active push-off and thus might deliberately enter a phase of double-support after touch-down of the leading foot. For active systems, the different collision outcomes must not only be detected but also properly processed. In this context, one needs to be aware that sliding can never be fully excluded as an outcome, even in idealized models with infinite stiction. In forward dynamic simulations, the most concise way of handling the possible outcomes is through an LCP formulation, as it is commonly used in time-stepping algorithms (Anitescu and Potra, 1997; Glocker, 1995; Stewart, 2000; Stewart and Trinkle, 1996). When solving these LCPs with efficient algorithms, care should be taken to ensure that all solutions of the LCP can be found and that the occurrence of ambiguous solutions can be detected.
For more complex articulated models, the inconsistencies can be fairly small. For the model of RAMone, for example, the post-impact velocity or contact impulse were only in the order of for the range of in which sliding with infinite friction happened (Table 2). This is because the contact impulses get attenuated in the articulation of the leg. If the effect is limited to such small values, one could also chose to deliberately ignore the effect and, for example, circumvent the case of sliding with infinite friction by allowing a negative impulse whenever a negative was found.
By studying bipedal models that range from minimalistic to physically accurate, this work establishes a bridge between the theoretical study of unilateral contact in multibody dynamic simulations and the application of these simulation methods in the modeling of ground contact in actual legged systems. We highlight, examine, and explain the details of the collision process and investigate in particular the non-intuitive behaviors of sliding with infinite friction and the simultaneous occurrence of multiple valid solutions. By showing these effects on the multi-body model of an actual five-link walker, we emphasize their relevance to the field of legged robotics.
Footnotes
A. Appendix
B. Appendix
Acknowledgements
The author wants to gratefully acknowledge Marco Hutter, Art Kuo, Andy Ruina, and Yevgeniy Yesilevskiy for the inspiring discussions that helped in the creation of this paper.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Science Foundation (grant number 1453346).
Notes
References
1.
AnitescuMPotraFA (1997) Formulating dynamic multi-rigid-body contact problems with friction as solvable linear complementarity problems. Nonlinear Dynamics14(3): 231–247.
2.
BaubyCEKuoAD (2000) Active control of lateral balance in human walking. Journal of biomechanics33(11): 1433–1440.
3.
BhounsulePACortellJGrewalAet al. (2014) Low-bandwidth reflex-based control for lower power walking: 65 km on a single battery charge. The International Journal of Robotics Research33(10): 1305–1321.
4.
BicchiAKumarV (2000) Robotic grasping and contact: A review. In: Proceedings 2000 ICRA. Millennium conference. IEEE international conference on robotics and automation. Symposia proceedings (Cat. No.00CH37065), San Francisco, CA, 2000, vol. 1, pp. 348–353. Citeseer. Available at: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=844081&isnumber=18235
ChatterjeeARuinaA (1998) A new algebraic rigid-body collision law based on impulse space considerations. Transactions-American Society Of Mechanical Engineers Journal Of Applied Mechanics65: 939–951.
7.
ChevallereauCWesterveltEGrizzleJ (2005) Asymptotically stable running for a five-link, four-actuator, planar bipedal robot. The International Journal of Robotics Research24(6): 431–464.
8.
CollinsSRuinaATedrakeRet al. (2005) Efficient bipedal robots based on passive-dynamic walkers. Science307(5712): 1082–1085.
9.
CollinsSHWisseMRuinaA (2001) A three-dimensional passive-dynamic walking robot with two legs and knees. The International Journal of Robotics Research20(7): 607–615.
DonelanJMKramRKuoAD (2001) Mechanical and metabolic determinants of the preferred step width in human walking. Proceedings of the Royal Society of London B: Biological Sciences268(1480): 1985–1992.
12.
GarciaMChatterjeeARuinaA (2000) Efficiency, speed, and scaling of two-dimensional passive-dynamic walking. Dynamics and Stability of Systems15(2): 75–99.
13.
GarciaMChatterjeeARuinaAet al. (1998) The simplest walking model: Stability, complexity, and scaling. Journal of Biomechanical Engineering120(2): 281–288.
14.
GarciaMS (1999) Stability, scaling, and chaos in passive-dynamic gait models. PhD Thesis, Cornell University, USA.
15.
GénotFBrogliatoB (1999) New results on painlevé paradoxes. European Journal of Mechanics-A/Solids, 18(4): 653–677.
16.
GlockerC (1995) Dynamik von Starrkörpersystemen mit Reibung und Stöen. Düsseldorf: VDI-Verlag.
17.
GlockerC (2001) On frictionless impact models in rigid-body systems. Philosophical Transactions of the Royal Society of London Series A359: 2385–2404.
18.
GoebelRSanfeliceRGTeelA (2009) Hybrid dynamical systems. Control Systems, IEEE29(2): 28–93.
19.
GrieveD (1968) Gait patterns and the speed of walking. Biomedical Engineering3(3): 119–122.
20.
HutterM (2011) Modeling of a passive dynamic walker. Summer School: Dynamic Walking and Running with Robots.
21.
JohnsonAMBurdenSAKoditschekDE (2016) A hybrid systems model for simple manipulation and self-manipulation systems. The International Journal of Robotics Research35(11): 1354–1392.
22.
KuoAD (1999) Stabilization of lateral motion in passive dynamic walking. The International journal of robotics research18(9): 917–930.
23.
KuoAD (2001) A simple model of bipedal walking predicts the preferred speed–step length relationship. Journal of biomechanical engineering123(3): 264–269.
KuoADDonelanJMRuinaA (2005) Energetic consequences of walking like an inverted pendulum: Step-to-step transitions. Exercise and sport sciences reviews33(2): 88–97.
26.
LötstedtP (1981) Coulomb friction in two-dimensional rigid body systems. ZAMM-Journal of Applied Mathematics and Mechanics/Zeitschrift für Angewandte Mathematik und Mechanik61(12): 605–615.
27.
LynchKMMasonMT (1995) Pulling by pushing, slip with infinite friction, and perfectly rough surfaces. The International Journal of Robotics Research14(2): 174–183.
28.
MarhefkaDWOrinDE (1999) A compliant contact model with nonlinear damping for simulation of robotic systems. Systems, Man and Cybernetics, Part A: Systems and Humans, IEEE Transactions on29(6): 566–572.
29.
McGeerT (1990a) Passive dynamic walking. The International Journal of Robotics Research9(2): 62–82.
30.
McGeerT (1990b) Passive walking with knees. In: Robotics and automation, 1990. Proceedings of the IEEE international conference on robotics and automation, Cincinnati, OH, 1990, pp.1640–1645.
31.
MochonSMcMahonTA (1980) Ballistic walking: An improved model. Mathematical Biosciences52(3): 241–260.
32.
MurtyKGYuFT (1988) Linear complementarity, linear and nonlinear programming. Berlin: Heldermann, Citeseer.
33.
PainlevéP (1895) Sur les lois du frottement de glissement. Comptes Rendus Academie Science Paris121: 112–115.
34.
PfeifferFGlockerC (2000) Multibody dynamics with unilateral contacts, vol.421. Wien: Springer Science & Business Media.
35.
PosaMTobenkinMTedrakeR (2016) Stability analysis and control of rigid-body systems with impacts and friction. IEEE Transactions on Automatic Control61(6): 1423–1437.
36.
RemyCDBuffintonKSiegwartR (2011) A matlab framework for efficient gait creation. In: 2011 IEEE/RSJ international conference on intelligent robots and systems, San Francisco, CA, 2011, pp.190–196.
37.
RemyCDBuffintonKWSiegwartR (2009) Stability analysis of passive dynamic walking of quadrupeds. The International Journal of Robotics Research. 29(9): 1173–1185.
38.
RuinaA (2014) Sliding with infinite friction. Video contribution to: Computational Contact Mechanics: Advances and Frontiers in Modeling Contact. Banff, Canada.
39.
SaglamCOBylK (2013) Stability and gait transition of the five-link biped on stochastically rough terrain using a discrete set of sliding mode controllers. In: Robotics and automation (ICRA), 2013 IEEE international conference on. Karlsruhe, Germany: IEEE, pp.5675–5682.
40.
SmitNGleasonRZaytsevPet al. (2017) Ramone: A planar biped for studying the energetics of gait. In: Intelligent robots and systems (IROS), 2017 IEEE/RSJ international conference on robotics and automation, Vancouver, Canada, 2017. IEEE.
41.
Smit-AnseeuwNGleasonRVasudevanRet al. (2017) The significance of robotic gait selection – a case study on the robot ramone. IEEE Robotics and Automation Letters2(2): 1124–1131.
42.
StewartDE (1997) Existence of solutions to rigid body dynamics and the painleve paradoxes. Comptes Rendus de l’Académie des Sciences-Series I-Mathematics325(6): 689–693.
43.
StewartDE (2000) Rigid-body dynamics with friction and impact. SIAM review42(1): 3–39.
44.
StewartDETrinkleJC (1996) An implicit time-stepping scheme for rigid body dynamics with inelastic collisions and coulomb friction. International Journal for Numerical Methods in Engineering39(15): 2673–2691.
45.
WangYMasonMT (1992) Two-dimensional rigid-body collisions with friction. Journal of Applied Mechanics59(3): 635–642.
46.
WangYTKumarVAbelJ (1992) Dynamics of rigid bodies undergoing multiple frictional contacts. In: Robotics and automation, Nice, 1992. Proceedings, 1992 IEEE international conference on. IEEE, pp.2764–2769.
47.
WesterveltERGrizzleJWKoditschekDE (2003) Hybrid zero dynamics of planar biped walkers. Automatic Control, IEEE Transactions on48(1): 42–56.
48.
WilsonJ (1938) Walking toy. Report for the United States Patent Office, Report no. 2,140,275. Alexandria, VA: United States patent office.