This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Energy-conserving intermittent-contact motion in complex models

Sergey Pankov sergey.pankov@gmail.com Harik Shazeer Labs, Palo Alto, CA 94301
Abstract

Some mechanical systems, that are modeled to have inelastic collisions, nonetheless possess energy-conserving intermittent-contact solutions, known as collisionless solutions. Such a solution, representing a persistent hopping or walking across a level ground, may be important for understanding animal locomotion or for designing efficient walking machines. So far, collisionless motion has been analytically studied in simple two degrees of freedom (DOF) systems, or in a system that decouples into 2-DOF subsystems in the harmonic approximation. In this paper we extend the consideration to a NN-DOF system, recovering the known solutions as a special N=2N=2 case of the general formulation. We show that in the harmonic approximation the collisionless solution is determined by the spectrum of the system. We formulate a solution existence condition, which requires the presence of at least one oscillating normal mode in the most constrained phase of the motion. An application of the developed general framework is illustrated by finding a collisionless solution for a rocking motion of a biped with an armed standing torso.

keywords:
Collisionless walking, efficient locomotion, inelastic collisions, cost of transport, conservative system

1 Introduction

The possibility of a persistent motion, such as hopping or walking on a level ground, in a mechanical system with inelastic collisions may appear paradoxical, at first glance. However, no laws of mechanics are violated if all the intermittent contacts along the trajectory occur at a vanishing (at the point of contact) velocity. For a solution with purely repulsive ground reaction force, as in conventional walking or hopping, acceleration must also vanish at the contact [1]. We call such motion collisionless [2].

Although collisionless solutions have been considered in one- [3] two- [2, 4] and three- [5] dimensional models, analytical consideration was effectively limited to 2-DOF complexity. For example, the three-dimensional bipedal walker in [5], while nominally being a 5-DOF model, consisted only of two articulated parts, conveniently decoupling into 2-DOF subsystems in the harmonic approximation (plus a 1-DOF subsystem with a forcing term). In the analysis of those simple models it was noted that although a complete description of a harmonic system includes both normal frequencies and normal vectors, the core equations of the collisionless motion problem could be formulated exclusively in terms of the normal frequencies [3, 5]. Whether this peculiarity is a general property, not limited to low complexity models, remained unknown.

Not every model admits a collisionless solution for any set of model parameters. However, a counting argument suggests that the dimensionality of constraints (needed to meet collisionless solution requirements) on the model parameter values is small and is independent of the model complexity [5].

On the one hand, this may indicate the relevance of collisionless models for understanding animal locomotion [6], as well as for designing efficient walking machines [7]. Indeed, the mechanical cost of transport (COT) – the standard measure of locomotion efficiency equal to energy expended per weight per distance traveled – is remarkably low for humans, dogs and other animals at walking speeds (0.08 for humans and 0.04 for dogs, according to [8]). In contrast, the majority of man-made bipeds and quadrupeds today (with some notable special purpose built exceptions [9, 10]) typically demonstrate an order of magnitude higher COT.

On the other hand, looking numerically for a suitable collisionless solution, in even a low-DOF non-linear model, is not a simple task [4]. And the task may be much harder for higher-DOF models. Therefore, it is desirable to extend the analytical treatment to higher complexity models, potentially gaining useful insights along the way.

In this work, we extend the analytical analysis to NN-DOF linear (i.e. in harmonic approximation) models. We show that the formulation in terms of the normal frequencies is a general property of collisionless motion, not limited to low complexity models. Starting with N=2N=2 example, we conjecture a general collisionless solution existence condition. Compelling evidence in support of its correctness is then provided by analyzing a general NN solution in the critical region, where the collisionless solution ceases to exist. We illustrate how the search for the roots of collisionless equations can be aided by two-dimensional plots. The practical value of the harmonic approximation solution is that it can be straightforwardly evolved numerically toward a collisionless solution of a non-linear model [5].

The paper is organized as follows. In Section 2 we more rigorously outline the concept of collisionless motion, problem specifications and related notations. The main equations are derived in Section 3 for general NN. Known solutions for N=2N=2 are reproduced in Section 4. In Section 5 the critical region solution is analyzed. The developed approach is applied to solve a new N=3N=3 model in Section 6. We conclude with an outlook for further research in Section 7.

2 Problem terminology and notations

We consider a motion of a mechanical system interacting with the ground via purely inelastic collisions and non-slipping contacts. We assume no internal collisions in the system, collisions may only occur between its parts and the ground. When a collision happens at a finite velocity, a finite amount of mechanical energy dissipates at the collision. In the rest of the paper the term collision will only be used in this context. If, on the other hand, velocity continuously vanishes at the moment of contact, so no energy gets lost, we call it an impact. Unlike a collision, an impact is time-reversible. We refer to the motion containing impacts and no collisions as collisionless.

A collisionless motion can be viewed as a temporal sequence of phases, each phase characterized by a distinct configuration of contacts and separated from the adjacent phases by impacts. Contacts constrain the system, reducing its number of DOF. The impact dimensionality is defined as the number of DOF that get constrained at the impact. In this paper we limit the consideration to a periodic collisionless motion with two phases separated by a one-dimensional impact. The phase with lower DOF is called constrained, while the other is called unconstrained. We will use a prime to distinguish quantities in the constrained phase, (e.g. xx in the unconstrained phase becomes xx^{\prime} in the constrained phase). We will use pp superscript to represent a quantity in either of two phases, (i.e. xpx^{p} can be xx or xx^{\prime}). If a statement is obviously applicable to both phases, we may optionally omit pp.

Following the literature [3, 2, 5], we restrict the collisionless solution to a particular class of periodic trajectories characterized by two symmetry points PpP^{p} associated with the constrained and unconstrained phases. At PpP^{p}, the trajectory must be continuous and invariant under a simultaneous time reversal TT and a spatial transformation SpS^{p} which preserves the Euclidean metric and leaves the ground invariant. By the invariance of the Lagrangian to SpS^{p} and the time-reversibility of collisionless motion, the invariance to TSpTS^{p} extends from PpP^{p} to the whole trajectory. The imposed symmetries simplify the consideration, as the number of independent variables is reduced and one only needs to consider the trajectory between PP and PP^{\prime}, which can then be unfolded into the full solution according to the symmetries.

Let xx be an NN-dimensional coordinate vector of the unconstrained phase. Let xNx_{N} be the component of xx that gets constrained at the impact, so xNx_{N} is constant in the constrained phase. To realize a collisionless motion, in addition to x˙N0\dot{x}_{N}\to 0 at the impact, it is also required that x¨N0\ddot{x}_{N}\to 0, otherwise the contact cannot persist [1]. Let timppt_{imp}^{p} be the time of the impact (laying between the adjacent PP and PP^{\prime}) measured from the symmetry point PpP^{p}, and τp|timpp|\tau^{p}\equiv|t_{imp}^{p}|. In summary, the following conditions must be satisfied at the impact:

x(τ)=x(τ),x˙(τ)=x˙(τ),x¨N(τ)=0.\begin{split}&x(\tau)=x^{\prime}(-\tau^{\prime}),\\ &\dot{x}(\tau)=\dot{x}^{\prime}(-\tau^{\prime}),\\ &\ddot{x}_{N}(\tau)=0.\end{split} (1)

In the rest of the section, we briefly review some matrix-related notations and conventions employed in the paper. See A for more details.

We use columnar format for vectors. In a matrix AA and vector aa: AiA_{i} is the iith matrix row, aia_{i} is the iith vector element, AiA^{i} is the iith matrix column and Aij=AijA_{i}^{j}=A_{ij} is the matrix element at the intersection of AiA_{i} and AjA^{j}. We use square brackets to denote a matrix, commas to separate columns and semicolons to separate rows. For example, for a n×mn\times m matrix AA, A=[A1,A2,,Am]=[A1;A2;;An]A=[A^{1},A^{2},...,A^{m}]=[A_{1};A_{2};...;A_{n}] and Ai=[A1i;A2i;;Ani]A^{i}=[A_{1i};A_{2i};...;A_{ni}]. A matrix superscript should not be confused with a power notation, which is only used for scalar quantities, i.e. Aijk=(Aij)kA_{ij}^{k}=(A_{ij})^{k}. We use A(i)A_{(i)} and A(j)A^{(j)} to denote matrices obtained from AA by removal of AiA_{i} and AjA^{j} respectively. Also, A(ij)A(i)(j)A_{(ij)}\equiv A_{(i)}^{(j)}. For a vector or matrix a=[a1;a2;;aN]a=[a_{1};a_{2};...;a_{N}], we define a¯=a(N)\bar{a}=a_{(N)}. We reserve II for N×NN\times N identity matrix and 𝟙\mathbbm{1} for NN-dimensional vector of ones.

For matrices aa and bb we denote the operations of elementwise multiplication as aba\cdot b (also known as Hadamard product) and elementwise division as a/ba/b. The operations are defined to support broadcasting and have a higher operator precedence than ordinary matrix multiplication, e.g. abc=a(bc)ab\cdot c=a(b\cdot c). We introduce these notations to reveal a peculiar and somewhat simple structure of the derived equations, that may be not obvious otherwise.

3 Collisionless motion for linear dynamics with one-dimensional impacts

Consider a system of NN linear oscillators x=[x1;x2;;xN]x=[x_{1};x_{2};...;x_{N}] with the kinetic energy TT and potential energy VV given by

T=12x˙𝖳mx˙,V=12x𝖳kx,T=\frac{1}{2}\dot{x}^{\mathsf{T}}m\dot{x},\quad V=\frac{1}{2}x^{\mathsf{T}}kx, (2)

where mm is positive definite and kk is non-singular. The corresponding Lagrangian in the presence of an external force FF is

L=12(x˙𝖳mx˙x𝖳kx)+x𝖳F.L=\frac{1}{2}\left(\dot{x}^{\mathsf{T}}m\dot{x}-x^{\mathsf{T}}kx\right)+x^{\mathsf{T}}F. (3)

The system is invariant under a simultaneous static shift in xx+x0x\to x+x^{0} and FF+F0F\to F+F^{0} with F0=kx0F^{0}=kx^{0}. One can switch to the basis of normal coordinates QQ via a coordinate transformation x=XQx=XQ to find

L=12c(Q˙𝖳Q˙Q𝖳λQ)+Q𝖳f,L=\frac{1}{2c}\left(\dot{Q}^{\mathsf{T}}\dot{Q}-Q^{\mathsf{T}}\lambda\cdot Q\right)+Q^{\mathsf{T}}f, (4)

where the columns of XX are the eigenvectors of m1km^{-1}k with the corresponding eigenvalues forming the spectrum vector λ\lambda, the force f=X𝖳Ff=X^{\mathsf{T}}F, and the constant cc is selected such that XNN=1X_{N}^{N}=1. We assume that all λi\lambda_{i} are different (i.e. the spectrum is non-degenerate) and arranged in ascending order, for convenience. Each λi\lambda_{i} corresponds to a normal mode oscillating with a frequency ωi=λi\omega_{i}=\sqrt{\lambda_{i}}. When λi<0\lambda_{i}<0, the motion is unbounded, diverging with time as exp(±νit)\exp(\pm\nu_{i}t), where νi|ωi|\nu_{i}\equiv|\omega_{i}|.

As can be easily verified from the equations of motion following from the Lagrangian in Eq.(4), given a force F(t)=Fυ(t)=Fυ(0)eiυtF(t)=F^{\upsilon}(t)=F^{\upsilon}(0)e^{i\upsilon t} oscillating with a frequency υ\upsilon, the forced oscillations QυQ^{\upsilon} are

Qυ=cfυλ𝟙υ2,Q^{\upsilon}=\frac{cf^{\upsilon}}{\lambda-\mathbbm{1}\upsilon^{2}}, (5)

where fυ=X𝖳Fυf^{\upsilon}=X^{\mathsf{T}}F^{\upsilon}. In the original coordinates, xυ=XQυx^{\upsilon}=XQ^{\upsilon}. Consider now a force applied only to xNx_{N}, oscillating with a normal mode frequency ωi\omega^{\prime}_{i} of the constrained system, (that is FiN(t)=0F_{i\neq N}(t)=0, FN(t)=FNωieiωitF_{N}(t)=F^{\omega^{\prime}_{i}}_{N}e^{i\omega^{\prime}_{i}t} and ωi2=λi\omega^{\prime 2}_{i}=\lambda^{\prime}_{i}). Then xNωi=0x^{\omega^{\prime}_{i}}_{N}=0, while x¯ωi\bar{x}^{\omega^{\prime}_{i}} is the normal mode of the constrained system corresponding to λi\lambda^{\prime}_{i}. Note that from Cauchy’s interlace theorem [11] it follows:

λ1<λ1<λ2<<λN1<λN.\lambda_{1}<\lambda^{\prime}_{1}<\lambda_{2}<...<\lambda^{\prime}_{N-1}<\lambda_{N}. (6)

Let x~ω=xω/cFNω\tilde{x}^{\omega^{\prime}}=x^{\omega^{\prime}}/cF_{N}^{\omega^{\prime}} and X=[x~ω1,x~ω2,,x~ωN1]=XXN(1/(λ𝟙¯𝖳𝟙λ𝖳))X^{\prime}=[\tilde{x}^{\omega^{\prime}_{1}},\tilde{x}^{\omega^{\prime}_{2}},...,\tilde{x}^{\omega^{\prime}_{N-1}}]=X\cdot X_{N}(1/(\lambda\bar{\mathbbm{1}}^{\mathsf{T}}-\mathbbm{1}\lambda^{\prime\mathsf{T}})). Then the transformation between the normal coordinates of the constrained system111XX^{\prime} does not follow the same normalization convention as XX, so the Lagrangian of the constrained system does not have the form of Eq.(4), when written in QQ^{\prime}. and the original coordinates is x=XQx=X^{\prime}Q^{\prime}, while XN=0X^{\prime}_{N}=0. If in the above analysis the constraining force also has a static component FN0F_{N}^{0} (that is FN(t)FN(t)+FN0F_{N}(t)\to F_{N}(t)+F^{0}_{N}), then the transformation becomes x=XQ+x0x=X^{\prime}Q^{\prime}+x^{0}, where x0=(k1)NFN0x^{0}=(k^{-1})^{N}F^{0}_{N}. We can write the expression for XX^{\prime} and the relation XN=0X^{\prime}_{N}=0 in terms of a matrix MM

Mij=1λiλj,M_{ij}=\frac{1}{\lambda_{i}-\lambda^{\prime}_{j}}, (7)

as

X=XXNM,X^{\prime}=X\cdot X_{N}M, (8)

and

XNXNM=0.X_{N}\cdot X_{N}M=0. (9)

Let η𝖳=XNXN\eta^{\mathsf{T}}=X_{N}\cdot X_{N}. Since ηN=XNN2=1\eta_{N}=X_{NN}^{2}=1, η\eta can be determined from Eq.(9):

η¯𝖳=MNM¯1=(λλN𝟙¯)𝖳M¯1.\bar{\eta}^{\mathsf{T}}=-M_{N}\bar{M}^{-1}=\left(\lambda^{\prime}-\lambda_{N}\bar{\mathbbm{1}}\right)^{\mathsf{T}}\bar{M}^{-1}. (10)

Note that MM is a so-called Cauchy matrix, and M¯\bar{M} is a square Cauchy matrix, for which determinant and inverse are given by explicit formulas [12], that are evaluated in 𝒪(N2)\mathcal{O}(N^{2}) operations.

Normal modes are orthogonal in the sense that their evolution (with time) is governed by the dynamics of a one-dimensional harmonic oscillator. That is, the time dependence of a normal coordinate QiQ_{i} can be parameterized by two constants qiq_{i} and sis_{i} as Qi(t)=qig(t,ωi,si)Q_{i}(t)=q_{i}g(t,\omega_{i},s_{i}), where

g(t,ω,s)=scosωt+isλ121s2sinωt,g(t,\omega,s)=s\cos{\omega t}+i^{\frac{s_{\lambda}-1}{2}}\sqrt{1-s^{2}}\sin{\omega t}, (11)

s21s^{2}\leq 1 and sλ=sign(ω2)s_{\lambda}=\textrm{sign}(\omega^{2}). A complete solution of the unconstrained and constrained systems, x(t)=XQ(t)x(t)=XQ(t) and x(t)=XQ(t)+x0x^{\prime}(t)=X^{\prime}Q^{\prime}(t)+x^{0} respectively, are then readily available, given qpq^{p} and sps^{p} constants. In the context of our search for a collisionless solution, we will see that sps^{p} are fixed from the outset by the symmetry of the solution, while qpq^{p} are determined from equations on xpx^{p} and their time derivatives at the impact. Interestingly, the equations for the impact times, as well as qpq^{p}, can be expressed through the spectra λp\lambda^{p} alone, without the use of XpX^{p}. This may look surprising because, for a given qpq^{p}, the configuration xp(t)x^{p}(t) generally depends on XpX^{p}. In our case, however, this dependence is confined to x¯p(t)\bar{x}^{p}(t), as follows from Eq.(10). In other words, XpX^{p} only influences the part of the configuration that is irrelevant to the impact.

We will use a shortened notation gi=g(t,ωi,si)g_{i}=g(t,\omega_{i},s_{i}), so Q=qgQ=q\cdot g. Note also g¨=λg\ddot{g}=-\lambda\cdot g. We can now write the impact conditions from Eq(1) in a matrix form Ab=0Ab=0, where

A=[Xg𝖳Xg𝖳(k1)NXg˙𝖳Xg˙𝖳0XNg¨𝖳00],A=\begin{bmatrix}X\cdot g^{\mathsf{T}}&-X^{\prime}\cdot g^{\prime\mathsf{T}}&-(k^{-1})^{N}\\ X\cdot\dot{g}^{\mathsf{T}}&-X^{\prime}\cdot\dot{g}^{\prime\mathsf{T}}&0\\ X_{N}\cdot\ddot{g}^{\mathsf{T}}&0&0\end{bmatrix}, (12)

g=g(τ)g=g(\tau), g=g(τ)g^{\prime}=g^{\prime}(-\tau^{\prime}) and b=[q;q;FN0]b=[q;q^{\prime};F^{0}_{N}]. AA is a (2N+1)×2N(2N+1)\times 2N matrix. For a nontrivial solution bb to exist, AA’s rank must be at most 2N12N-1. To evaluate AA’s rank, it is convenient to bring it to a block upper triangular form by applying rank-preserving transformations. Using m1kX=λ𝖳Xm^{-1}kX=\lambda^{\mathsf{T}}\cdot X, cX𝖳mX=IcX^{\mathsf{T}}mX=I, η𝖳=XNXN\eta^{\mathsf{T}}=X_{N}\cdot X_{N}, g¨=λg\ddot{g}=-\lambda\cdot g and Eq(8), after straightforward manipulations, one finds (see B for details):

AA~=[I[M1λ]0B],B=[[U1λ]η𝖳𝟙𝟙𝖳],A\to\tilde{A}=\begin{bmatrix}I&\begin{bmatrix}M&\frac{1}{\lambda}\end{bmatrix}\\ 0&B\end{bmatrix},\quad B=\begin{bmatrix}\begin{bmatrix}U&\frac{1}{\lambda}\end{bmatrix}\\ \eta^{\mathsf{T}}\mathbbm{1}\mathbbm{1}^{\mathsf{T}}\end{bmatrix}, (13)

where

U=MGM,G=gg˙(g˙g)𝖳U=M-G\cdot M,\quad G=\frac{g}{\dot{g}}\cdot\left(\frac{\dot{g}^{\prime}}{g^{\prime}}\right)^{\mathsf{T}} (14)

The condition rank(A)<2N\textrm{rank}(A)<2N is equivalent to rank(B)<N\textrm{rank}(B)<N, which under the assumption of non-singular U¯\bar{U} can be written as detB(N)=detB(N+1)=0\det{B_{(N)}}=\det{B_{(N+1)}}=0 in the form:

[λNUNη𝖳𝟙𝟙¯𝖳]U¯11λ¯=[1η𝖳𝟙].\begin{bmatrix}\lambda_{N}U_{N}\\ \eta^{\mathsf{T}}\mathbbm{1}\bar{\mathbbm{1}}^{\mathsf{T}}\end{bmatrix}\bar{U}^{-1}\frac{1}{\bar{\lambda}}=\begin{bmatrix}1\\ \eta^{\mathsf{T}}\mathbbm{1}\end{bmatrix}. (15)

We will call the above equations, written in this or an equivalent form, the impact equations. We would like to stress that the impact equations only involve τp\tau^{p} and λp\lambda^{p}, thus validating our claim that the collisionless solution is determined by the spectra λp\lambda^{p} alone.

As was explained in Section 2, the collisionless solution is invariant to TSpTS^{p} associated with the symmetry point PpP^{p}, where SpS^{p} is a Euclidean metric preserving transformation, i.e. a reflection or rotation. For a non-degenerate spectrum each normal mode must respect TSTS symmetry, leaving only two possibilities at PP: a) qiq_{i} is unchanged by SS and gi(t)g_{i}(t) is symmetric (|si|=1|s_{i}|=1), b) qiq_{i} is flipped by SS and gi(t)g_{i}(t) is antisymmetric (si=0s_{i}=0). Without loss of generality, we will consider non-negative sis_{i}. In that case, gi(t)/g˙i(t)=σitanσi(ωit)/ωig_{i}(t)/\dot{g}_{i}(t)=\sigma_{i}\tan^{\sigma_{i}}(\omega_{i}t)/\omega_{i}, where σi=12si\sigma_{i}=1-2s_{i}. Therefore,

Gij=σitanσi(ωiτ)ωjσjtanσj(ωjτ)ωi.G_{ij}=-\frac{\sigma_{i}\tan^{\sigma_{i}}(\omega_{i}\tau)\omega^{\prime}_{j}}{\sigma^{\prime}_{j}\tan^{\sigma^{\prime}_{j}}(\omega^{\prime}_{j}\tau^{\prime})\omega_{i}}. (16)

4 N=2N=2 models

Eq.(15) is easily solvable for N=2N=2. For GG one finds:

G=λλ.G=\frac{\lambda^{\prime}}{\lambda}. (17)

Using Eq.(16), we can write the impact equations as

σitanσi(ωiτ)ωiσ1tanσ1(ω1τ)ω1=1,i=1,2.\frac{\sigma_{i}\tan^{\sigma_{i}}(\omega_{i}\tau)\omega_{i}}{\sigma^{\prime}_{1}\tan^{\sigma^{\prime}_{1}}(\omega^{\prime}_{1}\tau^{\prime})\omega^{\prime}_{1}}=-1,\quad i=1,2. (18)

Since the symmetry points are separated by an impact, we are interested in the solution with tt<0tt^{\prime}<0, (correspondingly, ττ>0\tau\tau^{\prime}>0). Note also, for ω2<0\omega^{2}<0

σtanσ(ωt)ω=tanhσ(νt)ν.\sigma\tan^{\sigma}(\omega t)\omega=-\tanh^{\sigma}(\nu t)\nu. (19)

We found that the impact equations have a non-trivial solution (i.e. a solution with finite impact times) only for

λ1>0,\lambda^{\prime}_{1}>0, (20)

see C for details.

It is convenient to express the impact equations using dimensionless notations oip=|ωip|τpo_{i}^{p}=|\omega_{i}^{p}|\tau^{p}, which were called impact phases in [5]. For example, for λi>0\lambda_{i}>0, Eq.(18) reads in terms of the impact phases

σitanσi(oi)oiσ1tanσ1(o1)o1=μ,\frac{\sigma_{i}\tan^{\sigma_{i}}(o_{i})o_{i}}{\sigma^{\prime}_{1}\tan^{\sigma^{\prime}_{1}}(o^{\prime}_{1})o^{\prime}_{1}}=-\mu, (21)

where μ=τ/τ\mu=\tau/\tau^{\prime}. If ω2<0\omega^{2}<0, then σtanσ(o)o\sigma\tan^{\sigma}(o)o should be replaced with tanhσ(o)o-\tanh^{\sigma}(o)o, according to Eq.(19) .

Several collisionless models with N=2N=2 have been considered in the literature. We show below how their corresponding impact equations are captured by Eq.(18). Their solutions can be conveniently expressed in terms of the positive roots of the equation

tany=atanhby,\tan{y}=a\tanh{by}, (22)

defined such that yn(a,b)[(n1)π,nπ)y_{n}(a,b)\in[(n-1)\pi,n\pi). We also define βn(ρ)=yn(ρ,ρ)\beta_{n}(\rho)=y_{n}(-\rho,\rho), γn(ρ)=yn(1/ρ,ρ)\gamma_{n}(\rho)=y_{n}(1/\rho,\rho) and αn=γn(0+)\alpha_{n}=\gamma_{n}(0^{+}). We will list the solutions in terms of the impact phases o2o_{2} and o1o^{\prime}_{1}, representing the impact times τ=o2/ω2\tau=o_{2}/\omega_{2} and τ=o1/ω1\tau^{\prime}=o^{\prime}_{1}/\omega^{\prime}_{1}.

Refer to caption
Figure 1: Schematic depiction of the models considered in Section 4, with the squares and circles representing masses. a) Hopping and b) juggling. c) Extended rimless wheel. Only three spikes are displayed, with the rest shown as dots. d) Coronal bipedal rocking. In c) and d) the white squares are rigidly affixed together, forming a single part. Each model is shown in both PpP^{p} configurations, with PP configuration shown on the right in a-b) and on the left in c-d).

4.1 Hopping and juggling

Collisionless hopping and juggling models were studied in [3]. The hopping model consisted of two masses connected by a spring, with one of the masses undergoing impacts with the ground, see Fig.(1.a). In the juggling model, one of the masses was connected by a spring to the ground, with the second free-falling mass undergoing impacts with the first, see Fig.(1.b). For both models λ1=0\lambda_{1}=0, σ=[1;1]\sigma=[-1;-1] and σ=[1]\sigma^{\prime}=[-1]. It follows that despite the differences in their models, the two systems have identical impact equations and identical impact times, when expressed in terms of the frequencies. For the impact equations we have:

o2coto2=1,μo1coto1=1.\begin{split}&o_{2}\cot{o_{2}}=1,\\ &\mu o^{\prime}_{1}\cot{o^{\prime}_{1}}=-1.\end{split} (23)

The first equation (cf. Eq.(12) in [3]) has infinitely many roots for o2>0o_{2}>0, which we defined above as αn\alpha_{n}. For n+n\to+\infty, αn(n1/2)π1/nπ+𝒪(n2)\alpha_{n}\to(n-1/2)\pi-1/n\pi+\mathcal{O}(n^{-2}). For a given nn, the second equation has a single physically realizable solution. Solving for the impact phases, we find:

o2=αn,o1=πarctan(αnω1ω2).\begin{split}&o_{2}=\alpha_{n},\\ &o^{\prime}_{1}=\pi-\arctan{\left(\alpha_{n}\frac{\omega^{\prime}_{1}}{\omega_{2}}\right)}.\end{split} (24)

For n+n\to+\infty, we have o1π/2+(ω2/ω1)/((n1/2)π1/nπ)(ω2/ω1)3/3(nπ)3+𝒪(n4)o^{\prime}_{1}\to\pi/2+(\omega_{2}/\omega^{\prime}_{1})/((n-1/2)\pi-1/n\pi)-(\omega_{2}/\omega^{\prime}_{1})^{3}/3(n\pi)^{3}+\mathcal{O}(n^{-4}).

4.2 Extended rimless wheel

The extended rimless wheel [2] is a modification of the classical rimless wheel [13] by the addition of an oscillatory DOF, in such a way that preserves the discrete rotational symmetry of the original model. In [2] the additional DOF was from a reaction wheel coupled to the rimless wheel by a torsional spring. It can also be implemented by attaching a pendulum to the wheel’s center, see Fig.(1.c). We consider the model in the harmonic approximation, when the number of wheel spikes goes to infinity.

In this model λ1<0<λ1\lambda_{1}<0<\lambda^{\prime}_{1}. The solution considered in [2], corresponding to a persistent rolling motion, has the following symmetry σ=[1;1]\sigma=[1;1] and σ=[1]\sigma^{\prime}=[1]. The impact equations are:

o2tano2=o1tanho1,μo1tano1=o1tanho1.\begin{split}&o_{2}\tan{o_{2}}=-o_{1}\tanh{o_{1}},\\ &\mu o^{\prime}_{1}\tan{o^{\prime}_{1}}=o_{1}\tanh{o_{1}}.\end{split} (25)

The solution is:

o2=βn(ν1ω2),o1=arctan(ω2ω1tan(βn(ν1ω2))).\begin{split}&o_{2}=\beta_{n}\left(\frac{\nu_{1}}{\omega_{2}}\right),\\ &o^{\prime}_{1}=-\arctan{\left(\frac{\omega_{2}}{\omega^{\prime}_{1}}\tan{\left(\beta_{n}\left(\frac{\nu_{1}}{\omega_{2}}\right)\right)}\right)}.\end{split} (26)

For n+n\to+\infty, βn(ρ)nπarctanρ+𝒪(e2πnρ)\beta_{n}(\rho)\to n\pi-\arctan{\rho}+\mathcal{O}(e^{-2\pi n\rho}) and o1arctan(ν1/ω1)+𝒪(e2πnν1/ω2)o^{\prime}_{1}\to\arctan{(\nu_{1}/\omega^{\prime}_{1})}+\mathcal{O}(e^{-2\pi n\nu_{1}/\omega_{2}}).

4.3 Coronal rocking of a bipedal walker

A rocking motion in the coronal plane (see Fig.(1.d)) of a three-dimensional (kneeless) bipedal walker was used in [5] to realize a collisionless gait with finite foot-ground clearance. This is similar to the extended rimless wheel model, λ1<0<λ1\lambda_{1}<0<\lambda^{\prime}_{1}, but with a different motion symmetry: σ=[1;1]\sigma=[-1;-1] and σ=[1]\sigma^{\prime}=[1]. The impact equations are:

o2coto2=o1cotho1,μo1tano1=o1cotho1.\begin{split}&o_{2}\cot{o_{2}}=o_{1}\coth{o_{1}},\\ &\mu o^{\prime}_{1}\tan{o^{\prime}_{1}}=o_{1}\coth{o_{1}}.\end{split} (27)

(Cf. the first line in Eq(55) in [5], where μ\mu was restricted to 11.) The solution is:

o2=γn(ν1ω2),o1=arctan(ω2ω1cot(γn(ν1ω2))).\begin{split}&o_{2}=\gamma_{n}\left(\frac{\nu_{1}}{\omega_{2}}\right),\\ &o^{\prime}_{1}=\arctan{\left(\frac{\omega_{2}}{\omega^{\prime}_{1}}\cot{\left(\gamma_{n}\left(\frac{\nu_{1}}{\omega_{2}}\right)\right)}\right)}.\end{split} (28)

For n+n\to+\infty, γn(ρ)(n1)π+arctan(1/ρ)+𝒪(e2πnρ)\gamma_{n}(\rho)\to(n-1)\pi+\arctan{(1/\rho)}+\mathcal{O}(e^{-2\pi n\rho}) and o1arctan(ν1/ω1)+𝒪(e2πnν1/ω2)o^{\prime}_{1}\to\arctan{(\nu_{1}/\omega^{\prime}_{1})}+\mathcal{O}(e^{-2\pi n\nu_{1}/\omega_{2}}).

In the last two examples (the models of Sections 4.2 and 4.3) we see that τ+\tau^{\prime}\to+\infty for λN10\lambda^{\prime}_{N-1}\to 0. We show in the next section that this is a general result for N2N\geq 2, indicating that the solution existence condition of Eq.(20) is a special case of a more general condition:

λN1>0.\lambda^{\prime}_{N-1}>0. (29)

5 Critical region solution for N>2N>2

For N=2N=2 we obtained analytical solutions (expressed via univariate functions βn\beta_{n} and γn\gamma_{n}) of the impact equations for various symmetry point configurations σp\sigma^{p}, and proved the solution existence condition Eq.(29). While for N>2N>2 a closed-form solution might not be available, we can still analyze the impact equations and provide compelling arguments that the same solution existence condition remains valid for all NN. In addition, in this section, we present a number of analytical results obtained for vanishing λN1\lambda^{\prime}_{N-1}.

We define

wi=σitanσi(ωiτ)ωi,w_{i}=\sigma_{i}\tan^{\sigma_{i}}(\omega_{i}\tau)\omega_{i}, (30)

and hence

Gij=(wi/λi)/(wj/λj).G_{ij}=-(w_{i}/\lambda_{i})/(w^{\prime}_{j}/\lambda^{\prime}_{j}). (31)

One can observe that: a) for λN1=0\lambda^{\prime}_{N-1}=0 and GN1=0G^{N-1}=0, we have rank(B)<N\textrm{rank}(B)<N, b) all quantities entering BB, apart from ww^{\prime}, are analytic in λ\lambda^{\prime}, while ww^{\prime} is analytic in ω\omega^{\prime}. It then follows that wN1w^{\prime}_{N-1} is non-singular along the solution of the impact equations for λN10\lambda^{\prime}_{N-1}\to 0, i.e.

wN1c0,w^{\prime}_{N-1}\to c_{0}, (32)

where c0c_{0} is some constant. With this insight, it is straightforward to derive equations on τp\tau^{p} for λN10+\lambda^{\prime}_{N-1}\to 0^{+} by differentiating detB(N)\det{B_{(N)}} and detB(N+1)\det{B_{(N+1)}}, as we explain below.

First, let us show that if λN1=0\lambda^{\prime}_{N-1}=0 and GN1=0G^{N-1}=0, then rank(B)<N\textrm{rank}(B)<N. Let τp(λN1)\tau^{p}(\lambda^{\prime}_{N-1}) represent the dependence of the impact equations’ solution on λN1\lambda^{\prime}_{N-1}, with the rest of the spectra being fixed. For a quantity AA depending on τp\tau^{p} and λN1\lambda^{\prime}_{N-1}, let A(λN1)A(\lambda^{\prime}_{N-1}) be a shorthand notation for A(τ(λN1),τ(λN1),λN1)A\left(\tau(\lambda^{\prime}_{N-1}),\tau^{\prime}(\lambda^{\prime}_{N-1}),\lambda^{\prime}_{N-1}\right). We define λN1=0\lambda^{\prime}_{N-1}=0 limit as:

0A=limλN10+A(λN1),{\,}^{0}\!A=\lim_{\lambda^{\prime}_{N-1}\to 0^{+}}A\left(\lambda^{\prime}_{N-1}\right), (33)

which we denote with a left superscript 0. If we assume 0GN1=0{\,}^{0}G^{N-1}=0 then 0UN1=0MN1=1/λ{\,}^{0}U^{N-1}={\,}^{0}\!M^{N-1}=1/\lambda. Therefore, 0BN1=0BN{\,}^{0}\!B^{N-1}={\,}^{0}\!B^{N}, and hence rank(0B)<N\textrm{rank}({\,}^{0}\!B)<N. From Eqs.(30,32) it follows (for c0>0c_{0}>0, which remains to be shown) that τ+\tau^{\prime}\to+\infty for λN10+\lambda^{\prime}_{N-1}\to 0^{+}, and hence 0G{\,}^{0}G and 0U{\,}^{0}U are independent of τ\tau^{\prime}. We also define a differential operator

d0A=limλN10+A(λN1)λN1.d_{0}A=\lim_{\lambda^{\prime}_{N-1}\to 0^{+}}\frac{\partial A\left(\lambda^{\prime}_{N-1}\right)}{\partial\lambda^{\prime}_{N-1}}. (34)

Expanding detB(N)=detB(N+1)=0\det{B_{(N)}}=\det{B_{(N+1)}}=0 around λN1=0\lambda_{N-1}^{\prime}=0, one concludes that the necessary condition for rank(B)<N\textrm{rank}(B)<N becomes, to first order,

d0detB(N)=d0detB(N+1)=0d_{0}\det{B_{(N)}}=d_{0}\det{B_{(N+1)}}=0 (35)

Let a matrix B~\tilde{B} have the following properties: a) B~\tilde{B} is N×NN\times N matrix, b) 0B~N1=0B~N{\,}^{0}\!\tilde{B}^{N-1}={\,}^{0}\!\tilde{B}^{N}, c) B~¯=[U¯,1/λ¯]\bar{\tilde{B}}=[\bar{U},1/\bar{\lambda}]. In the rest of the chapter, to simplify notations, we will be omitting the left superscript wherever the limit of Eq.(33) is clearly implied. One can prove (see D for details) the following formula:

d0detB~=B~Nadj(U¯)𝟙¯+w¯c0λ¯λ¯det(U¯)(d0B~N,N1d0B~N,N).d_{0}\det{\tilde{B}}=-\tilde{B}_{N}\operatorname{adj}\left(\bar{U}\right)\frac{\bar{\mathbbm{1}}+\frac{\bar{w}}{c_{0}}}{\bar{\lambda}\cdot\bar{\lambda}}-\det\left(\bar{U}\right)\left(d_{0}\tilde{B}_{N,N-1}-d_{0}\tilde{B}_{N,N}\right). (36)

From Eq.(36) we find for B~=B(N)\tilde{B}=B_{(N)}

d0detB(N)=η𝖳𝟙𝟙¯𝖳adj(U¯)𝟙¯+w¯c0λ¯λ¯d_{0}\det{B_{(N)}}=-\eta^{\mathsf{T}}\mathbbm{1}\bar{\mathbbm{1}}^{\mathsf{T}}\operatorname{adj}\left(\bar{U}\right)\frac{\bar{\mathbbm{1}}+\frac{\bar{w}}{c_{0}}}{\bar{\lambda}\cdot\bar{\lambda}} (37)

and for B~=B(N+1)\tilde{B}=B_{(N+1)}

d0detB(N+1)=UNadj(U¯)𝟙¯+w¯c0λ¯λ¯det(U¯)1+wNc0λN2.d_{0}\det{B_{(N+1)}}=-U_{N}\operatorname{adj}\left(\bar{U}\right)\frac{\bar{\mathbbm{1}}+\frac{\bar{w}}{c_{0}}}{\bar{\lambda}\cdot\bar{\lambda}}-\det\left(\bar{U}\right)\frac{1+\frac{w_{N}}{c_{0}}}{\lambda_{N}^{2}}. (38)

We define

K=[UNη𝖳𝟙𝟙¯𝖳]adjU¯(λ¯λ¯)𝖳[𝟙¯w¯],K~=[10]detU¯λN2[1wN].\begin{split}&K=\begin{bmatrix}U_{N}\\ \eta^{\mathsf{T}}\mathbbm{1}\bar{\mathbbm{1}}^{\mathsf{T}}\end{bmatrix}\frac{\operatorname{adj}{\bar{U}}}{\left(\bar{\lambda}\cdot\bar{\lambda}\right)^{\mathsf{T}}}\begin{bmatrix}\bar{\mathbbm{1}}&\bar{w}\end{bmatrix},\\ &\tilde{K}=\begin{bmatrix}1\\ 0\end{bmatrix}\frac{\det{\bar{U}}}{\lambda_{N}^{2}}\begin{bmatrix}1&w_{N}\end{bmatrix}.\end{split} (39)

Note that KK and K~\tilde{K} do not depend on τ\tau^{\prime}, (since 0U{\,}^{0}U only depends on τ\tau) . From Eqs.(37,38,39) we see that the conditions in Eq.(35) can be written as (K+K~)[1;1/c0]=0(K+\tilde{K})[1;1/c_{0}]=0, from where we have the following (essentially decoupled) equations on τ\tau and τ\tau^{\prime}:

det(K+K~)=0,c0=K22K21.\begin{split}&\det\left(K+\tilde{K}\right)=0,\\ &c_{0}=-\frac{K_{22}}{K_{21}}.\end{split} (40)

For N=2N=2 these equations further simplify to

w1=w2,c0=w1,\begin{split}&w_{1}=w_{2},\\ &c_{0}=-w_{1},\end{split} (41)

which is in agreement with the results of Section 4.

For a general NN, it is also straightforward to solve for τ\tau in the asymptotic case of large τ\tau, when the number of oscillations in the unconstrained phase is large. See D for details.

We have shown that for λN10\lambda^{\prime}_{N-1}\to 0, Eq.(32) holds for any N2N\geq 2. If c0>0c_{0}>0, it follows that oN1o^{\prime}_{N-1} is constant in the limit λN10+\lambda^{\prime}_{N-1}\to 0^{+} (see Eq.(63) for an explicit formula) and hence τ1/ωN1\tau^{\prime}\propto 1/\omega^{\prime}_{N-1}, while no τ>0\tau^{\prime}>0 solution exists for λN10\lambda^{\prime}_{N-1}\to 0^{-}. For N=2N=2, c0=w1=tanhσ1(o1)ν1>0c_{0}=-w_{1}=\tanh^{\sigma_{1}}(o_{1})\nu_{1}>0. For N>2N>2 we empirically verify the condition c0>0c_{0}>0 by randomly sampling the spectral values. While not a rigorous proof, it strongly suggests the correctness of the general collisionless solution existence condition Eq.(29).

Refer to caption
Figure 2: The zero contour of ϕ(oN,oN1)\phi(o_{N},o^{\prime}_{N-1}) from Eq.(43), N=4N=4. The spectrum is random and near critical with |λi|=𝒪(1)|\lambda_{i}|=\mathcal{O}(1) and λN1=0.01\lambda^{\prime}_{N-1}=0.01. The curves that run (predominantly) top-to-bottom and left-to-right represent the solutions of detB(N)=0\det{B_{(N)}}=0 and detB(N+1)=0\det{B_{(N+1)}}=0 respectively. Their intersections are the solutions of the impact equations. The cross symbols depict the large-τ\tau solution derived in D, see Eq.(63).

We found it helpful to visualize the solution of the impact equations using a contour-plot in (oN,oN1)(o_{N},o^{\prime}_{N-1}) coordinates (equivalent to (τ,τ)(\tau,\tau^{\prime}) coordinates, up to a rescaling). We could plot a function that turns zero whenever either of the impact equations is satisfied, such as detB(N)detB(N+1)\det{B_{(N)}}\det{B_{(N+1)}}. However, this function is discontinuous (where g˙i=0\dot{g}_{i}=0 or gi=0g^{\prime}_{i}=0). Instead, we will use

Bˇ=B[g˙;1][g;1]𝖳=[(g˙g𝖳gg˙𝖳)Mg˙λη𝖳𝟙𝟙¯𝖳g𝖳η𝖳𝟙],\check{B}=B\cdot[\dot{g};1]\cdot[g^{\prime};1]^{\mathsf{T}}=\begin{bmatrix}\left(\dot{g}\cdot g^{\prime\mathsf{T}}-g\cdot\dot{g}^{\prime\mathsf{T}}\right)\cdot M&\frac{\dot{g}}{\lambda}\\ \eta^{\mathsf{T}}\mathbbm{1}\bar{\mathbbm{1}}^{\mathsf{T}}\cdot g^{\prime\mathsf{T}}&\eta^{\mathsf{T}}\mathbbm{1}\end{bmatrix}, (42)

which is continuous, and for which rank(Bˇ)=rank(B)\textrm{rank}(\check{B})=\textrm{rank}(B) (away from the discontinuities of BB). In Fig.(2) we plot the zero contour of

ϕ(oN,oN1)=detBˇ(N)detBˇ(N+1).\phi(o_{N},o^{\prime}_{N-1})=\det{\check{B}_{(N)}}\det{\check{B}_{(N+1)}}. (43)

Different curved lines correspond to the solutions of detB(N)=0\det{B_{(N)}}=0 and detB(N+1)=0\det{B_{(N+1)}}=0, while their intersections represent the solutions of the impact equations. Whether such a solution is physically realizable needs to be further verified by ensuring that no unwanted ground penetration happens in the unconstrained phase and no ground contact loss happens in the constrained phase. In the figure we consider a near critical configuration of a randomly sampled (and shifted) spectrum, so that 0<λN1λN1,λN0<\lambda^{\prime}_{N-1}\ll-\lambda_{N-1},\lambda_{N} for N=4N=4. In that regime the picture is qualitatively similar for different values of NN, as also follows from our analysis of the critical region (in this section and D). We also depicted the analytical asymptotic large-τ\tau solution presented in D, see Eq.(63). The asymptotic solution forms a square grid with the step size π\pi. We only depict the bottom row of the grid, relying on the intuition from N=2N=2 case, for which one can verify that only the bottom row is physically realizable.

6 Collisionless rocking motion of a biped with an armed standing torso

So far, we have developed a general approach for efficiently finding collisionless solutions in complex models. We have reduced the problem to a nonlinear equation in just two variables (regardless of the model complexity) – the impact times. We also proposed a solution existence condition and showed how N=2N=2 collisionless solutions, considered in the literature, easily follow from our formulation. In this section we illustrate our approach by considering a rocking motion of a planar 3-DOF biped (i.e. N=3N=3), which to our knowledge has not been previously studied.

Refer to caption
Figure 3: N=3N=3 biped with a standing armed torso. The legs are rigidly affixed together at an angle 2θ2\theta. Angles x=[x1;x2;x3]x=[x_{1};x_{2};x_{3}] are measured relative to the static equilibrium configuration, shown on the right.

The model consists of three parts (see Fig.(3)): 1) a pair of legs, rigidly affixed together at an angle 2θ2\theta, 2) a standing torso, attached to the legs at the hip, and 3) a hanging arm, attached at the top of the torso. For simplicity, all the links have the same length ll. Again, we consider a harmonic approximation, which becomes exact in the limit θ0\theta\to 0.

It has been suggested in the literature to use torsion springs to prop up a standing torso in the context of collisionless walking models [14, 4, 5]. In ref [5] it was also hypothesized that such springs are not strictly necessary for keeping the torso pointed up, as long as the torso is endowed with a hanging arm. An explicit collisionless solution, that we obtain below, can be viewed as a definitive proof of that hypothesis. In fact, this result holds for a torso containing any number of links stacked up on top of each other. This directly follows from our solution existence condition (without the need of an explicit solution), by noticing that a single hanging link implies λN1>0\lambda^{\prime}_{N-1}>0.

The angle conventions and masses of the model are shown Fig.(3). For the masses we use unitalicized mi\mathrm{m}_{i} to distinguish them from the mass matrix mm. The total mass of the model is m=mf+m1+m2+m3\mathrm{m}=\mathrm{m}_{f}+\mathrm{m}_{1}+\mathrm{m}_{2}+\mathrm{m}_{3}, where mf=2m0\mathrm{m}_{f}=2\mathrm{m}_{0} is the mass of the “feet”. The coordinates x=[x1;x2;x3]x=[x_{1};x_{2};x_{3}] are the angles of the arm, torso and the stance leg, measured relative to the static equilibrium configuration xeqx^{eq}, which (when measured relative to the vertical axis) is xeq=[π;0;ξ]x^{eq}=[\pi;0;\xi], where ξ=θmf/(mmf)\xi=\theta\mathrm{m}_{f}/(\mathrm{m}-\mathrm{m}_{f}). Note that FN0=θmglF_{N}^{0}=\theta\mathrm{m}gl and x0=[0;0;xN0]x^{0}=[0;0;x_{N}^{0}], where xN0=θ+ξ=θm/(mmf)-x_{N}^{0}=\theta+\xi=\theta\mathrm{m}/(\mathrm{m}-\mathrm{m}_{f}).

Similar to N=2N=2 rocking motion, considered in Section 4.3, the symmetries are: σ=[1;1;1]\sigma=[-1;-1;-1] and σ=[1;1]\sigma^{\prime}=[1;1].

The mass mm and spring constant kk matrices are:

m=l2[m1m1m1m1m1+m2m1+m2m1m1+m2m1+m2+m3]m=l^{2}\begin{bmatrix}\mathrm{m}_{1}&-\mathrm{m}_{1}&-\mathrm{m}_{1}\\ -\mathrm{m}_{1}&\mathrm{m}_{1}+\mathrm{m}_{2}&\mathrm{m}_{1}+\mathrm{m}_{2}\\ -\mathrm{m}_{1}&\mathrm{m}_{1}+\mathrm{m}_{2}&\mathrm{m}_{1}+\mathrm{m}_{2}+\mathrm{m}_{3}\end{bmatrix} (44)

and

k=gl[m1000m1m2000m1m2m3].k=gl\begin{bmatrix}\mathrm{m}_{1}&0&0\\ 0&-\mathrm{m}_{1}-\mathrm{m}_{2}&0\\ 0&0&-\mathrm{m}_{1}-\mathrm{m}_{2}-\mathrm{m}_{3}\end{bmatrix}. (45)

In the constrained phase m=m(NN)m^{\prime}=m_{(NN)} and k=k(NN)k^{\prime}=k_{(NN)}.

Let us summarize the formal steps of finding a collisionless solution. First, solve for the eigensystem of (mp)1kp(m^{p})^{-1}k^{p} to find λp\lambda^{p} and XX (see the definition of XX near Eq.(4)). Construct MM (see Eq.(7)) and find XX^{\prime} (see Eq.(8)). Construct Bˇ\check{B} (see Eq.(42) for Bˇ\check{B} and Eqs.(10,11) for η\eta and gpg^{p} to that end). Plot the zero contour of ϕ(oN,oN1)\phi(o_{N},o^{\prime}_{N-1}) (see Eq.(43)). Use the (approximate) locations of curve intersections in the plot as an initial guess of the solution of detBˇ(N)=detBˇ(N+1)=0\det{\check{B}_{(N)}}=\det{\check{B}_{(N+1)}}=0 to solve that system numerically to find τp\tau^{p}. Given the knowledge of τp\tau^{p}, gpg^{p} and XpX^{p}, construct AA (see Eq.(12)). (Optionally, as a correctness check, verify that rank(A)<2N\textrm{rank}(A)<2N). Finally, use the top left corner (2N1)×(2N1)(2N-1)\times(2N-1) submatrix of AA to find qpq^{p} as222qpq^{p} can be expressed in terms of A~\tilde{A} and x0x^{0} without resorting to XpX^{p}. Although interesting theoretically, this is irrelevant numerically.

[qq]=[Xg𝖳Xg𝖳X¯g˙𝖳X¯g˙𝖳]1[x00].\begin{bmatrix}q\\ q^{\prime}\end{bmatrix}=\begin{bmatrix}X\cdot g^{\mathsf{T}}&-X^{\prime}\cdot g^{\prime\mathsf{T}}\\ \bar{X}\cdot\dot{g}^{\mathsf{T}}&-\bar{X^{\prime}}\cdot\dot{g}^{\prime\mathsf{T}}\end{bmatrix}^{-1}\begin{bmatrix}x^{0}\\ 0\end{bmatrix}. (46)

The collisionless trajectory is then given by x=Xqgx=Xq\cdot g in the unconstrained phase and x=Xqg+x0x=X^{\prime}q^{\prime}\cdot g^{\prime}+x^{0} in the constrained phase.

The described procedure is computationally trivial, taking a few seconds of running an Octave script [15], with almost all of the time spent on the contour plot, needed for a reasonably good initial guess of the impact equation solution.

Refer to caption
Figure 4: The zero contour of ϕ(oN,oN1)\phi(o_{N},o^{\prime}_{N-1}) for N=3N=3 rocking motion. Physically realizable collisionless solutions are represented by the bottom row of curve intersections. We focus on the solution marked by a red circle.

The rest of the results in this section are presented for g=l=mi|i=0,,3=1g=l=\mathrm{m}_{i}|_{i=0,...,3}=1. Then ξ=2θ/3\xi=2\theta/3, FN0=5θF_{N}^{0}=5\theta and xN0=5θ/3x_{N}^{0}=-5\theta/3. The zero-contour plot of ϕ(oN,oN1)\phi(o_{N},o^{\prime}_{N-1}) is shown in Fig.(4). Its qualitative similarity to Fig.(2) is not surprising, as in both cases each phase has exactly one positive eigenvalue λNp\lambda^{p}_{N}, due to a hanging arm in this model. Again, the impact equation solutions appear to form a square grid asymptotically for large τp\tau^{p}. In the grid, columns and rows correspond to different number of oscillations in the unconstrained and constrained phases, respectively. Again, only the bottom row is physically realizable, as the impact equation solutions in the higher rows have stretches of time (in the constrained phase) with an attractive ground reaction force. We investigate a solution with the smallest number of oscillations, corresponding to the left-most intersection in the bottom row, marked with a circle in Fig.(4).

Refer to caption
Figure 5: Complete collisionless solution, in terms of x(t)x(t) (solid), x˙(t)\dot{x}(t) (dashed) and x¨(t)\ddot{x}(t) (dotted) plotted in the units of θ\theta, for the rocking motion of N=3N=3 armed biped, shown from PP (at t=0t=0) to PP^{\prime} (at t=τ+τt=\tau+\tau^{\prime}) separated by the impact (vertical gray line at t=τt=\tau). Different colors are used for different components: red for x1x_{1}, green for x2x_{2} and blue for x3x_{3}.
Refer to caption
Figure 6: Visualization of the numerical solution from Section 6. The angles of the configurations are drawn to scale for θ=0.1\theta=0.1. Left to right, the configurations are: symmetry point PP, impact, symmetry point PP^{\prime}.

Solving for the impact times, as described above, we find timp=τ=3.0795t_{imp}=\tau=3.0795 and timp=τ=0.77785t^{\prime}_{imp}=-\tau^{\prime}=-0.77785. See E for numerical values of other quantities. The complete solution xp(t)x^{p}(t) in the units of θ\theta is shown in Fig.(5), (also showing x˙p(t)\dot{x}^{p}(t) and x¨p(t)\ddot{x}^{p}(t)). We see that, as was described in Section 2, xx, x˙\dot{x} and x¨\ddot{x} are all continuous at the impact, with x˙N\dot{x}_{N} and x¨N\ddot{x}_{N} vanishing, and x¨\ddot{x} displaying a cusp. In Fig.(6), the collisionless solution at PP, impact, and PP^{\prime} is depicted to scale for θ=0.1\theta=0.1.

7 Discussion

In this work we have extended analytical analysis of collisionless motion to NN-DOF models with one-dimensional impacts. The analysis revealed that the possibility of expressing the impact equations in terms of the impact phases is a general property, not limited to small NN. The relative simplicity of this formulation enabled the investigation of the solution in the critical region, demarcated by the proposed solution existence condition.

With this development, a host of new models (e.g. multi-DOF extensions of N=2N=2 models discussed in Section 4) can be further investigated. However, to be able to apply this formalism to general two-dimensional (e.g. the model of [4]) and three-dimensional bipedal walkers, it must be further extended to cover two- and three-dimensional impacts, respectively. Our preliminary consideration suggests that in addition to relying on the constrained and unconstrained spectra, it will also involve partially-constrained spectra – one per each dimension of the impact.

We would like to point out how infinite friction could be used to facilitate solving for collisionless motion with higher-dimensional impacts. As was explained in [5], a collisionless solution for (n+1)(n+1)-dimensional impact requires adjustment of nn model parameters. For example, for a one-dimensional impact n=0n=0 (as in this paper), so a collisionless solution can be found for arbitrary model parameters, as long as the solution existence condition is met. Assume now that n>0n>0 and the acceleration vanishing (at the point of contact, e.g. foot-ground contact) is only enforced for the component orthogonal to the ground. In that case, the foot will slip right after touching the ground, and the amount of slippage will be inversely proportional to the friction coefficient μf\mu_{f}. Clearly, the slippage is eliminated for μf\mu_{f}\to\infty. Consequently, in the presence of infinite friction, there is a collisionless solution for arbitrary model parameters even for n>0n>0. In that case, collisionless solutions are easily found using the contour-plot method described in Section 5. A suitable solution (e.g. with minimal number of torso oscillations) can then be continuously evolved numerically [5] back to finite μf\mu_{f}, with the desired topological properties of the solution preserved.

We believe that the symmetries imposed in this work are not essential for collisionless motion; they were used because of the simplifications they bring. Finding a collisionless solution without reliance on the above symmetries would be a step toward considering more faithful anthropomorphic and animal models.

While more research remains to be done, we believe that the design of complex models with desired anthropomorphic (as well as non-anthropomorphic) form factors, capable of perfectly energy-conserving mechanical motion (i.e. with zero COT), is within a reach. This paper is a contribution in that direction.

8 Acknowledgment

We thank Georges Harik for many useful discussions.

Appendix A Matrix-related notations

For a matrix AA, the matrix transposition is Aij𝖳=AjiA_{ij}^{\mathsf{T}}=A_{ji}. Note that Ai𝖳=(Ai)𝖳(A𝖳)iA_{i}^{\mathsf{T}}=(A_{i})^{\mathsf{T}}\neq(A^{\mathsf{T}})_{i}, in general.

In Section 2, we have defined the operations of elementwise multiplication aba\cdot b and division a/ba/b to support broadcasting: the corresponding dimensions of aa and bb must either be equal, or the smaller dimension be 11, (the matrix element is then replicated along that dimension before the elementwise operation is applied). For example, for vectors aa and bb of dimension n>1n>1, both aba\cdot b and a𝖳ba^{\mathsf{T}}\cdot b are defined, where (ab)i=aibi(a\cdot b)_{i}=a_{i}b_{i} and a𝖳b=ba𝖳a^{\mathsf{T}}\cdot b=ba^{\mathsf{T}}. Note that the elementwise multiplication is commutative.

When deriving the equations involving pointwise operations, we found useful the following relations (for matrices AA and BB, and a vector cc):

ABc=Ac𝖳BABc𝖳=(AB)c𝖳\begin{split}&AB\cdot c=A\cdot c^{\mathsf{T}}B\\ &AB\cdot c^{\mathsf{T}}=(AB)\cdot c^{\mathsf{T}}\end{split} (47)

Other relations can be obtained from these by a transposition and relabeling of variables (e.g. AA to a vector a𝖳a^{\mathsf{T}}).

Appendix B Reduction of AA to block upper triangular form

Let us show how AA (see Eq.(12)) can be reduced to a block upper triangular form A~=SLASR\tilde{A}=S_{L}AS_{R} given in Eq.(13) by means of rank-preserving transformations SL,RS_{L,R}, so that A~\tilde{A} depends only on λp\lambda^{p} and τp\tau^{p}, but not on XpX^{p}. First of all, note that

X1[Xg𝖳,Xg𝖳,(k1)N]=[Ig,XN𝖳Mg𝖳,cXN𝖳/λ].X^{-1}\left[X\cdot g^{\mathsf{T}},-X^{\prime}\cdot g^{\prime\mathsf{T}},-(k^{-1})^{N}\right]=\left[I\cdot g,-X_{N}^{\mathsf{T}}\cdot M\cdot g^{\prime\mathsf{T}},-cX_{N}^{\mathsf{T}}/\lambda\right]. (48)

We have used Eq.(8) to compute the second entry (in the row), and the relation X1k1=cX𝖳/λX^{-1}k^{-1}=cX^{\mathsf{T}}/\lambda (which follows from m1kX=λ𝖳Xm^{-1}kX=\lambda^{\mathsf{T}}\cdot X and cX𝖳mX=IcX^{\mathsf{T}}mX=I) to compute the third entry. We already see that the right hand side (rhs) above has no dependence on XX apart from XNX_{N}, which is related to MM through Eq.(10).

With the above observation, using rowwise and columnwise multiplications, and the Gauss eliminations, it is straightforward to bring the matrix AA to the form of A~\tilde{A}, finding along the way the expressions for SL,RS_{L,R}:

SL=[I00II0(ηλ)𝖳01]Diag(X1XN𝖳,gX1g˙XN𝖳,1),SR=Diag(XNIg,I(NN)g,1c),\begin{split}&S_{L}=\begin{bmatrix}I&0&0\\ I&I&0\\ (\eta\cdot\lambda)^{\mathsf{T}}&0&1\end{bmatrix}\textrm{Diag}\left(\frac{X^{-1}}{X_{N}^{\mathsf{T}}},-\frac{g\cdot X^{-1}}{\dot{g}\cdot X_{N}^{\mathsf{T}}},1\right),\\ &S_{R}=\textrm{Diag}\left(\frac{X_{N}\cdot I}{g},-\frac{I_{(NN)}}{g^{\prime}},-\frac{1}{c}\right),\end{split} (49)

where Diag()\textrm{Diag}() is a block diagonal matrix, with the blocks listed as the arguments in parenthesis. In the derivation of BB in Eq.(13) we have also used

(ηλ)𝖳M=η𝖳𝟙𝟙¯𝖳,(\eta\cdot\lambda)^{\mathsf{T}}M=\eta^{\mathsf{T}}\mathbbm{1}\bar{\mathbbm{1}}^{\mathsf{T}}, (50)

which is easy to verify using Eq.(9).

Appendix C N=2N=2 solution existence

Below we analyze the existence of the solution of Eqs.(18). To prove that there is no solution for λ1<0\lambda^{\prime}_{1}<0 we note that the equation

tanhσ1(ν1τ)ν1=tanhσ1(ν1τ)ν1,\tanh^{\sigma_{1}}(\nu_{1}\tau)\nu_{1}=-\tanh^{\sigma^{\prime}_{1}}(\nu^{\prime}_{1}\tau^{\prime})\nu^{\prime}_{1}, (51)

which follows from Eq.(19) and Eq.(18), has no non-trivial solution (with ττ>0\tau\tau^{\prime}>0). Consider now the equation

σ1tanσ1(ω1τ)ω1=σ2tanσ2(ω2τ)ω2\sigma_{1}\tan^{\sigma_{1}}(\omega_{1}\tau)\omega_{1}=\sigma_{2}\tan^{\sigma_{2}}(\omega_{2}\tau)\omega_{2} (52)

for λ2>0\lambda_{2}>0. It is easy to verify that it has a solution for any λ1\lambda_{1}. Indeed, for λ1<0\lambda_{1}<0 we can write it as

σ1tanh(ν1τ)ν1σ1=σ2tanσ1σ2(ω2τ)ω2σ1.\sigma_{1}\tanh(\nu_{1}\tau)\nu_{1}^{\sigma_{1}}=-\sigma_{2}\tan^{\sigma_{1}\sigma_{2}}(\omega_{2}\tau)\omega_{2}^{\sigma_{1}}. (53)

The solution exists because the left hand side (lhs) is bounded and the rhs is not (bounded in either direction). Likewise, if λ1>0\lambda_{1}>0, there exist intervals (because λ1<λ2\lambda_{1}<\lambda_{2}) on which the lhs of Eq.(52) is bounded, while the rhs is not.

Appendix D Critical region analysis

The derivations in this section rely on the properties of B~\tilde{B} listed in Section 5. Let us first derive Eq.(36). Using that adj(B~)ij|i<N1=d0B~iN|i<N=0\operatorname{adj}(\tilde{B})_{ij}|_{i<N-1}=d_{0}\tilde{B}_{iN}|_{i<N}=0, we can write:

d0detB~=Tr(adj(B~)d0B~)=i<Nadj(B~)N1,id0B~i,N1+k=0,1adj(B~)Nk,Nd0B~N,Nk.d_{0}\det{\tilde{B}}=\operatorname{Tr}\left(\operatorname{adj}\left(\tilde{B}\right)d_{0}\tilde{B}\right)\\ =\sum_{i<N}\operatorname{adj}\left(\tilde{B}\right)_{N-1,i}d_{0}\tilde{B}_{i,N-1}+\sum_{k=0,1}\operatorname{adj}\left(\tilde{B}\right)_{N-k,N}d_{0}\tilde{B}_{N,N-k}. (54)

For the first term in the rhs of Eq.(54) we find

i<Nadj(B~)N1,id0B~i,N1=i<N(1)N1+idet(B~(iN))d0B~i,N1=i,j<N(1)i+j1B~Njdet(U¯(ij))d0B~i,N1=i,j<NB~Njadj(U¯)jid0B~i,N1=B~Nadj(U¯)d0B~¯N1.\sum_{i<N}\operatorname{adj}\left(\tilde{B}\right)_{N-1,i}d_{0}\tilde{B}_{i,N-1}=\sum_{i<N}(-1)^{N-1+i}\det\left(\tilde{B}_{(iN)}\right)d_{0}\tilde{B}_{i,N-1}\\ =\sum_{i,j<N}(-1)^{i+j-1}\tilde{B}_{Nj}\det\left(\bar{U}_{(ij)}\right)d_{0}\tilde{B}_{i,N-1}=-\sum_{i,j<N}\tilde{B}_{Nj}\operatorname{adj}\left(\bar{U}\right)_{ji}d_{0}\tilde{B}_{i,N-1}\\ =-\tilde{B}_{N}\operatorname{adj}\left(\bar{U}\right)d_{0}\bar{\tilde{B}}^{N-1}. (55)

For the second term in the rhs of Eq.(54) we find

k=0,1adj(B~)Nk,Nd0B~N,Nk=det(U¯)(d0B~N,Nd0B~N,N1).\sum_{k=0,1}\operatorname{adj}\left(\tilde{B}\right)_{N-k,N}d_{0}\tilde{B}_{N,N-k}=\det\left(\bar{U}\right)\left(d_{0}\tilde{B}_{N,N}-d_{0}\tilde{B}_{N,N-1}\right). (56)

Note that for B~=B(N+1)\tilde{B}=B_{(N+1)}

d0B~N1=d0UN1=d0MN1d0GN1MN1=𝟙+wc0λλ.d_{0}\tilde{B}^{N-1}=d_{0}U^{N-1}=d_{0}M^{N-1}-d_{0}G^{N-1}\cdot M^{N-1}=\frac{\mathbbm{1}+\frac{w}{c_{0}}}{\lambda\cdot\lambda}. (57)

Combining Eqs.(54-57), we arrive at Eq.(36). For B~=B(N)\tilde{B}=B_{(N)} we have

d0B~N,Nd0B~N,N1=0d_{0}\tilde{B}_{N,N}-d_{0}\tilde{B}_{N,N-1}=0 (58)

Then Eq.(37) and Eq.(38) readily follow from Eqs.(36,57,58).

The critical impact equations for τ+\tau\to+\infty can be solved explicitly, because in that case the time dependence enters solely via wNw_{N}, which in turn only enters in GNG_{N}. Specifically, for τp+\tau^{p}\to+\infty, for any λip<0\lambda^{p}_{i}<0, wipνipw^{p}_{i}\to-\nu^{p}_{i}. Then (see Eq.(31)) we can write Gij=νj/νi=λj/λiG_{ij}=-\nu^{\prime}_{j}/\nu_{i}=-\sqrt{\lambda^{\prime}_{j}/\lambda_{i}} and hence

U¯ij=1+λjλiλiλj.\bar{U}_{ij}=\frac{1+\sqrt{\frac{\lambda^{\prime}_{j}}{\lambda_{i}}}}{\lambda_{i}-\lambda^{\prime}_{j}}. (59)

Note that GN=wNν𝖳/λNG_{N}=w_{N}\nu^{\prime\mathsf{T}}/\lambda_{N} and UN=MN+wNMNν𝖳/λNU_{N}=M_{N}+w_{N}M_{N}\cdot\nu^{\prime\mathsf{T}}/\lambda_{N}. Similarly to Eq.(39) we define

R=[MNν𝖳λNMNη𝖳𝟙𝟙¯𝖳]adjU¯(λ¯λ¯)𝖳[𝟙¯ν¯],r=detU¯λN2.R=\begin{bmatrix}M_{N}\cdot\frac{\nu^{\prime\mathsf{T}}}{\lambda_{N}}\\ M_{N}\\ \eta^{\mathsf{T}}\mathbbm{1}\bar{\mathbbm{1}}^{\mathsf{T}}\end{bmatrix}\frac{\operatorname{adj}{\bar{U}}}{\left(\bar{\lambda}\cdot\bar{\lambda}\right)^{\mathsf{T}}}\begin{bmatrix}\bar{\mathbbm{1}}&-\bar{\nu}\end{bmatrix},\quad r=\frac{\det{\bar{U}}}{\lambda_{N}^{2}}. (60)

Let ee be a 2×22\times 2 identity matrix. Then the solution of (the first equation in) Eq.(40) can be written using the definitions of Eq.(60) as

wN=det(R(1)+re1𝖳e1)det(R(2)+re1𝖳e2),w_{N}=-\frac{\det\left(R_{(1)}+re_{1}^{\mathsf{T}}{e_{1}}\right)}{\det\left(R_{(2)}+re_{1}^{\mathsf{T}}{e_{2}}\right)}, (61)

while the second line in Eq.(40) becomes

c0=R32R31.c_{0}=-\frac{R_{32}}{R_{31}}. (62)

The expressions for oNo_{N} and oN1o^{\prime}_{N-1} (and thus for τ\tau and τ\tau^{\prime}) then follow from Eqs.(30,61,62):

oN=(n1σN4)π+arctanwNωN,oN1=3σN14πωN1c0,\begin{split}&o_{N}=\left(n-\frac{1-\sigma_{N}}{4}\right)\pi+\arctan{\frac{w_{N}}{\omega_{N}}},\\ &o^{\prime}_{N-1}=\frac{3-\sigma^{\prime}_{N-1}}{4}\pi-\frac{\omega^{\prime}_{N-1}}{c_{0}},\end{split} (63)

where n1n\geq 1.

Appendix E Details of numerical solution for N=3N=3 collisionless rocking motion

We list below the numerical values of quantities that are obtained in the process of computation of a collisionless solution for the problem (and model parameters) in Section 6, but which were omitted in the section for brevity.

The unconstrained and constrained spectra are

λ=[5.850280.673191.52348],λ=[1.41421.4142],\lambda=\begin{bmatrix}-5.85028\\ -0.67319\\ 1.52348\end{bmatrix},\quad\lambda^{\prime}=\begin{bmatrix}-1.4142\\ 1.4142\end{bmatrix}, (64)

from where MM directly follows

M=[0.225420.137661.349490.479060.340409.15225].M=\begin{bmatrix}-0.22542&-0.13766\\ 1.34949&-0.47906\\ 0.34040&9.15225\end{bmatrix}. (65)

The normal modes are (appropriately normalized, so that c=0.019816c=0.019816 in Eq.(4)):

X=[2.36982.28049.49279.30173.04802.26176.52682.61991].X=\begin{bmatrix}-2.3698&2.2804&9.4927\\ -9.3017&3.0480&2.2617\\ 6.5268&2.6199&1\end{bmatrix}. (66)

Correspondingly, for the constrained phase:

X=[14.78086.14625.23225.23200].X^{\prime}=\begin{bmatrix}14.780&86.146\\ 25.232&25.232\\ 0&0\end{bmatrix}. (67)

Finally, the normal mode weights (in the units of θ\theta) are:

q=[0.0000312650.0344231.1687],q=[0.00874620.1357027].q=\begin{bmatrix}-0.000031265\\ -0.034423\\ 1.1687\end{bmatrix},\quad q^{\prime}=\begin{bmatrix}-0.0087462\\ 0.1357027\end{bmatrix}. (68)

References

  • [1] C. Reddy, R. Pratap, A passive hopper with lossless collisions, in: IUTAM Symposium on Nonlinearity and Stochastic Structural Dynamics, Springer, 2001, pp. 209–220.
  • [2] M. W. Gomes, Collisionless rigid body locomotion models and physically based homotopy methods for finding periodic motions in high degree of freedom models, Cornell University, 2005.
  • [3] A. Chatterjee, R. Pratap, C. Reddy, A. Ruina, Persistent passive hopping and juggling is possible even with plastic collisions, The International Journal of Robotics Research 21 (7) (2002) 621–634.
  • [4] M. Gomes, A. Ruina, Walking model with no energy cost, Physical Review E 83 (3) (2011) 032901.
  • [5] S. Pankov, Three-dimensional bipedal model with zero-energy-cost walking, Physical Review E 103 (4) (2021) 043003.
  • [6] R. Alexander, Optimization and gaits in the locomotion of vertebrates, Physiological reviews 69 (4) (1989) 1199–1227.
  • [7] N. Kashiri, A. Abate, S. J. Abram, A. Albu-Schaffer, P. J. Clary, M. Daley, S. Faraji, R. Furnemont, M. Garabini, H. Geyer, et al., An overview on principles for energy efficient robot locomotion, Frontiers in Robotics and AI 5 (2018) 129.
  • [8] D. V. Lee, T. N. Comanescu, M. T. Butcher, J. E. Bertram, A comparative collision-based analysis of human gait, Proceedings of the Royal Society B: Biological Sciences 280 (1771) (2013) 20131779.
  • [9] P. A. Bhounsule, J. Cortell, A. Grewal, B. Hendriksen, J. D. Karssen, C. Paul, A. Ruina, Low-bandwidth reflex-based control for lower power walking: 65 km on a single battery charge, The International Journal of Robotics Research 33 (10) (2014) 1305–1321.
  • [10] Q. Li, G. Liu, J. Tang, J. Zhang, A simple 2d straight-leg passive dynamic walking model without foot-scuffing problem, in: 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), IEEE, 2016, pp. 5155–5161.
  • [11] S. Fisk, A very short proof of cauchy’s interlace theorem for eigenvalues of hermitian matrices, American Mathematical Monthly 112 (2) (2005) 118–118.
  • [12] S. Schechter, On the inversion of certain matrices, Mathematical Tables and Other Aids to Computation 13 (66) (1959) 73–77.
  • [13] T. McGeer, et al., Passive dynamic walking, I. J. Robotic Res. 9 (2) (1990) 62–82.
  • [14] A. Chatterjee, M. Garcia, Small slope implies low speed for mcgeer’s passive walking machines, Dynamics and Stability of Systems 15 (2) (2000) 139–157.
  • [15] J. W. Eaton, D. Bateman, S. Hauberg, R. Wehbring, GNU Octave version 4.2.1 manual: a high-level interactive language for numerical computations (2017).
    URL https://www.gnu.org/software/octave/doc/v4.2.1/