Local controllability of trident snake robot based on sub-Riemannian extremals
Abstract
To solve trident snake robot local controllability by differential geometry tools, we construct a privileged system of coordinates with respect to the distribution given by Pffaf system based on local nonholonomic conditions and, furthermore, we construct a nilpotent approximation of the transformed distribution with respect to the given filtration. We compute normal extremals of sub-Riemanian structure, where the Hamiltonian point of view was used. We demonstrated that the extremals of sub-Riemannian structure based on this distribution play the similar role as classical periodic imputs in control theory with respect of our mechanism.
Full text
Note di Matematica ISSN 1123-2536, e-ISSN 1590-0932 Note Mat. 37 (2017) suppl. 1, 93–102. doi:10.1285/i15900932v37suppl1p93 Local controllability of trident snake robot based on sub-Riemannian extremals Jaroslav Hrdinai Institute of Mathematics, Brno University of Technology [email protected] Received: 29-07-2016; accepted: 04-11-2016. Abstract. To solve trident snake robot local controllability by differential geometry tools, we construct a privileged system of coordinates with respect to the distribution given by Pffaf system based on local nonholonomic conditions and, furthermore, we construct a nilpotent approximation of the transformed distribution with respect to the given filtration. We compute normal extremals of sub-Riemanian structure, where the Hamiltonian point of view was used. We demonstrated that the extremals of sub-Riemannian structure based on this distribution play the similar role as classical periodic imputs in control theory with respect of our mechanism. Keywords: local controllability, nonholonomic mechanics, planar mechanisms, sub–Riemannian geometry, differential geometry. MSC 2010 classification: primary 53A17, secondary 70H05, 70Q05 1 Introduction Originally, the general trident snake robot has been introduced in [5]. It is a planar robot with a body in the shape of a triangle and with three legs consisting of `links. Then, its simplest non–trivial version (see figure 1), corresponding to `= 1, has been mainly discussed, see e.g. [6],[4]. Local controllability of such robot is given by the appropriate Pfaff system of ODEs. The solution with respect to ˙q= ( ˙x, ˙y, ˙ θ, ˙ Φ1,˙ Φ2,˙ Φ3) gives a control system ˙q=Gu. In the case length one links the control matrix Gis a 6 ×3 matrix spanned by vector fields g1, g2, g3, where g1= cos θ∂x−sin θ∂y+ sin Φ1∂Φ1+ sin(Φ2+2π 3)∂Φ2+ sin(Φ3+4π 3)∂Φ3, g2= sin θ∂x+ cos θ∂y−cos Φ1∂Φ1−cos(Φ2+2π 3)∂Φ2−cos(Φ3+4π 3)∂Φ3, g3=∂θ−(1 + cos Φ1)∂Φ1−(1 + cos Φ2)∂Φ2−(1 + cos Φ3)∂Φ3 iThis work was supported by a grant of the Czech Science Foundation (GAˇ CR) no. 17– 21360S. http://siba-ese.unisalento.it/ c 2017 Universit`a del Salento
94 J. Hrdina φ1 φ2 φ3 θ x y S[x, y] Figure 1. 1–link trident snake robot model and u:R→R3is the control of our system. It is easy to check that in regular points these vector fields define a (bracket generating) distribution Hwith growth vector (3,6).It means that in each regular point the vectors g1, g2, g3 together with their Lie brackets span the whole tangent space. Consequently, the system is controllable by Chow–Rashevsky theorem. The sub-Riemannian structure on manifold Mis a generalization of Riemannian manifold. Given a distribution H⊂TM equipped with metrics based on control uwe can define so called Carnot-Carath´eodory metric on Mand sub-Remannian Hamiltonian. 2 Nilpotent aproximation In order to simplify the trident snake robot control we construct a nilpotent approximation of the transformed distribution with respect to the given filtration. Note that all constructions are local in the neighborhood of 0. Following [3], we group together the monomial vector fields of the same weighted degree and thus we express gi, i = 1,2,3 as a series gi=g(−1) i+g(0) i+g(1) i+··· ,
Extremals of trident snake robot 95 where g(s) iis a homogeneous vector field of order s. Then the following proposition holds, [7]. Set Xi=g(−1) i, i = 1,2,3.The family of vector fields (X1, X2, X3) is a first order approximation of (g1, g2, g3) at 0 and generates a nilpotent Lie algebra of step r= 2, i.e. all brackets of length greater than 2 are zero. In our case [3], we obtain the following vector fields: X1=∂x+−y 2∂a+−y 2−d∂b+−x 2∂c, X2=∂y+x 2∂a−x 2∂b+y 2−d∂c, X3=∂d. with respect to a new coordinates (x, y, d, a, b, c). In particular, the family of vector fields (X1, X2, X3) is the nilpotent approximation of (g1, g2, g3) at 0 associated with the coordinates (x, y, d, a, b, c).The remaining three vector fields are generated by Lie brackets of (X1, X2, X3). Note that due to linearity of the three latter coordinates of (X1, X2, X3), the coordinates of (X4, X5, X6) must be constant. We get X4=∂a, X5=∂b, X6=∂c. Note that the vector fields (X1, X2, X3, X4, X5, X6) in (x, y, θ, Φ1,Φ2,Φ3) coordinates are of the form X1=∂x+θ∂Φ1−−√3 2+θ 2∂Φ2−−√3 2+θ 2∂Φ3, X2=∂y−∂Φ1+−1 2+√3θ 2∂Φ2−−1 2+√3θ 2∂Φ3, X3=∂θ−2∂Φ1−2∂Φ2−2∂Φ3 X4=∂Φ1+∂Φ2+∂Φ3, X5=−√3 2∂Φ2+√3 2∂Φ3, X6=−∂θ+1 2∂Φ2+1 2∂Φ3. To show how nilpotent approximation affects on integral curves of the distributions and the resulting control we computed the Lie brackets of relevant vector fields. In Fig. 2, there is a comparison of the Lie bracket g5motions realized in (x, y, θ, Φ1,Φ2,Φ3) coordinates (dotted line) and in nilpotent approximation. Fig. 3 show the comparison of g6motions. The following figures show the trajectories of the root center point, vertices and wheels when a particular Lie bracket motion is realized.
96 J. Hrdina -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5 -1.5 -1 -0.5 0 0.5 1 1.5 Figure 2. g5motion -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5 -1.5 -1 -0.5 0 0.5 1 1.5 2 Figure 3. g6motion 3 sub-Riemannian Hamiltonian Note that the functions in C∞(M) are in one–to–one correspondence with functions in C∞(T∗M) that are constant on fibers: C∞(M)∼ =C∞ const(T∗M) = {π∗α|α∈C∞(M)} ⊂ C∞(T∗M), where π:T∗M→Mdenotes the canonical projection. In what follows, with no abuse of notation, we often identify the function π∗α∈C∞(T∗M) with the function α∈C∞(M). In a similar way, smooth vector fields on Mare in a one– to–one correspondence with functions in C∞(T∗M) that are linear on fibers via the map Y7→ aY, where aY(λ) := hλ, Y (q)iand q=π(λ), i.e. V ec(M)∼ =C∞ lin(T∗M) = {aY|Y∈V ec(M)} ⊂ C∞(T∗M). Our mechanism can be understood as a model of sub-Riemannian structure of constant rank, i.e. the triple (M, D, h·,·i), where Dis a vector subbundle of TM locally generated by family of vector fields {f1, . . . , fm}(in our case generated by X1, X2and X3) and h·,·iqis a family of scalar products on Dq. Then the sub-Riemannian Hamiltonian is the function on T∗Mdefined as follows [1] h:T∗M→R h(λ) = max u∈Uqhλ, fu(q)i− 1 2|u|2, q =π(λ), where fu=Piuifi. For every generating family {f1, . . . , fm}of the sub- Riemannian structure, the sub-Riemannian Hamiltonian Hcan be rewritten [1] as follows h(λ) = 1 2X ihλ, fi(q)i2, λ ∈T∗ qM, q =π(λ).
Extremals of trident snake robot 97 To simplify our equations below we can define the Poisson bracket as an binary operation {,}on functions in C∞(T∗M). In fact, we can define {aX, aY}:= a[X,Y ](1) and there exists a unique bilinear and skew–symmetric map {·,·} :C∞(T∗M)×C∞(T∗M)→C∞(T∗M) that extends Poisson bracket (1) on C∞(T∗M), and that is a derivative (i.e. satisfies the Lipschitz rule) in each argument. Let (x, p) denote coordinates on T∗M, the formula for Poisson bracket of two functions a, b ∈C∞(T∗M) reads {a, b}= n X i=1 ∂a ∂pi ∂b ∂xi−∂a ∂xi ∂b ∂pi and the Hamiltonian vector field associated with the smooth function a∈ C∞(T∗M) is defines as the linear operation ~a :C∞(T∗M)→C∞(T∗M), ~a(v) = {a, b}. We can easily write the coordinate expression of ~a for an arbitrary function a∈C∞(T∗M) as ~a ={a, ·} = n X i=1 ∂a ∂pi ∂ ∂xi−∂a ∂xi ∂ ∂pi . Let γ: [0, T]→Mbe an admissible curve with respect to controlling distribution which is lenght-minimizer, parametrized by constant speed. Let ¯u be the corresponding minimal control. Then there exists a Lipschitz curve λ(t)∈T∗ γ(t)Msuch that ˙ λ= m X i=1 ¯ui(t)~ hi(λ(t)) = ~ h(t)(λ(t)) = {h, λ}, where ~ h=Pm i=1 ¯ui(t)~ hi. On the controlling vector fields X1, X2and X3and the general 1–form λ∈T∗M λ=λxdx+λydy+λddd+λada+λbdb+λcdc we define functions hi=hλ, Xii h1(λ) := λx−y 2λa−y 2+dλb−x 2λc, h2(λ) := λy+x 2λa−x 2λb+y 2−dλc, h3(λ) := λd.
98 J. Hrdina In our case the sub-Riemannian Hamiltonian with respect to corresponding minimal control is then of the form h(λ) = u1h1(λ) + u2h2(λ) + u3h3(λ) =u1λx−y 2λa−y 2+dλb−x 2λc +u2λy+x 2λa−x 2λb+y 2−dλc+u3λd. In canonical coordinates (p, x), the Hamiltonian vector filed associated with his expressed as follows ~ h={h, ·} = n X i=1 ∂h ∂pi ∂ ∂xi−∂h ∂xi ∂ ∂pi and the Hamiltonian system ˙ λ=~ h(λ) is rewritten as ˙xi=∂h ∂pi ,˙pi=−∂h ∂xi i.e. in our case ˙x=∂h ∂λx =∂(u1h1+u2h2+u3h3) ∂λx =u1 ˙y=∂h ∂λy =∂(u1h1+u2h2+u3h3) ∂λy =u2 ˙ d=∂h ∂λd =∂(u1h1+u2h2+u3h3) ∂λd =u3 ˙ λx=−∂h ∂x =−∂(u1h1+u2h2+u3h3) ∂x =1 2(−λcu1+ (λa−λb)u2) ˙ λy=−∂h ∂y =−∂(u1h1+u2h2+u3h3) ∂y =1 2(λa−λb)u1+ (λc)u2) ˙ λd=−∂h ∂d =−∂(u1h1+u2h2+u3h3) ∂d =1 2(−λbu1−(λc)u2) ˙ λa= 0 ˙a=−y 2u1+x 2u2 ˙ λb= 0 ˙ b=−(y 2+d)u1−x 2u2 ˙ λc= 0 ˙c=−x 2u1−(y 2−d)u2
Extremals of trident snake robot 99 A function a∈C∞(T∗M) is a constant of the motion of the Hamiltonian system associated with h∈C∞(T∗M) if and only if {h, a}= 0. If γ: [0, T]→Mis a length minimizer on sub-Riemannian manifold, associated with a control u(·), then due the Pontryagin maximum principle there exists λ0∈T∗ γ(0)Msuch that defining λ(t) = (P−1 0,t )∗λ0, λ(t)∈T∗ γ(t)M, where P0,t is the flow of the nonautonomous vector field Xu(t)= m X i=1 ui(t)Xi(γ(t)) and one of the following condition is satisfied (N)ui(t) = hλ(t), Xi(γ(t))i,∀i= 1, . . . , m, (A) 0 = hλ(t), Xi(γ(t))i,∀i= 1, . . . , m. If λ(t) satisfies (N) then it is called normal extremal (and γ(t) a normal extremal trajectory). If λ(t) satisfies (A) then it is called abnormal extremal (and γ(t) a abnormal extremal trajectory). 4 Normal extremals Following [1], every normal extremal is a solution of the Hamiltonian system ˙ λ=~ h(λ(t)), i.e. in our case of the system ˙ λ=~ h(λ(t)) = 1 2(h2 1(λ) + h2 2(λ) + h2 3(λ)), hi(λ) = hλ, Xi(q)i, and let us introduce h4(λ) := hλ, X4(q)i, h5(λ) := hλ, X5(q)i, h6(λ) := hλ, X6(q)i. Since X1, . . . , X6are linearly independent then {h1, . . . , h6}defines a system coordinates on T∗Mand thus we can consider λto be parametrized by hi
100 J. Hrdina consequently, we are looking for a solution of the system ˙ hi={h, hi}, i.e. ˙ h1={h, h1(t)}={h2 1+h2 2+h2 3, h1}={h2, h1}h2+{h3, h1}h3=−h4h2−h5h3 ˙ h2={h, h2(t)}={h2 1+h2 2+h2 3, h2}={h1, h2}h1+{h3, h2}h3=h4h1−h6h3 ˙ h3={h, h3(t)}={h2 1+h2 2+h2 3, h3}={h1, h3}h1+{h2, h3}h2=h5h1+h6h2 ˙ h4=~ h(h4(t)) = {h, h4(t)}={h2 1+h2 2+h2 3, h4}= 0 ˙ h5=~ h(h5(t)) = {h, h5(t)}={h2 1+h2 2+h2 3, h5}= 0 ˙ h6=~ h(h6(t)) = {h, h4(t)}={h2 1+h2 2+h2 3, h6}= 0 To analyze the system of ordinary differential equations above we have the following assignments: ˙ h4= 0 ;h4is a constant function ;h4=k1, ˙ h5= 0 ;h5is a constant function ;h5=k2, ˙ h6= 0 ;h6is a constant function ;h6=k3 and the system of linear ordinary differential equations, which can be written in the matrix form as ˙ h1 ˙ h2 ˙ h3 = 0−k1k2 k10−k3 −k2k30 h1 h2 h3 . The main tool to analyze the systems of linear ODEs, is eigenvalues and eigenvectors computations. In our case, the straightforward computation −λ−k1k2 k1−λ−k3 −k2k3−λ=−λ3−λ(k2 1+k2 2+k2 3) = −λ(λ2+ (k2 1+k2 2+k2 3)) = 0 leads to one real and two complex conjugated eigenvalues: λ1= 0, λ±i=±iqk2 1+k2 2+k2 3, where the eigenvectors are v0:= k3 k2 k1 , vi:= k2 1+k2 2 −ipk2 1+k2 2+k2 3k1+k2k3 ipk2 1+k2 2+k2 3k2−k1k3 , v−i:= k2 1+k2 2 ipk2 1+k2 2+k2 3k1−k2k3 −ipk2 1+k2 2+k2 3k2−k1k3 ,
Extremals of trident snake robot 101 respectively. From the theory of linear systems of ODEs in matrix form, the solution can be described as a linear combination of real and imaginary part of u=voexp(0t) + viexp(it) + v−iexp(−it). The straightforward computation leads to u1 u2 u3 = vx 0 vy 0 vd 0 + vx iexp(it) vy iexp(it) vd iexp(it) + vx −iexp(−it) vy −iexp(−it) vd −iexp(−it) = k3 k2 k1 + (k2 1+k2 2)(cos(t) + isin(t)) (−ikk1+k2k3)(cos(t) + isin(t)) (ikk2−k1k3)(cos(t) + isin(t)) + (k2 1+k2 2)(cos(t)−isin(t)) (ikk1−k2k3)(cos(t)−isin(t)) (−ikk2−k1k3)(cos(t)−isin(t)) = k3 k2 k1 + 2(k2 1+k2 2) cos(t) 2kk1sin(t) −2k1k3cos(t)−2kk2sin(t) +i 0 2k2k3sin(t) 0 , where k=pk2 1+k2 2+k2 3. 5 Local controllability To perform the Lie bracket motions we apply a periodic input, i.e. for the vector fields X4= [X1, X2], X5= [X1, X3], X6= [X2, X3],respectively, the input v1(t)=(−Aω sin ωt, Aω cos ωt, 0), v2(t) = (0,−Aω sin ωt, Aω cos ωt), v3(t)=(−Aω sin ωt, 0, Aω cos ωt) is applied, because, according to [6], the Lie bracket of a pair of vector fields corresponds to the direction of a displacement in the state space as a result of a periodic input with sufficiently small amplitude A, i.e. the bracket motions are generated by periodic combination of the vector controlling fields. The theoretic approach above leads to four new control sequences with respect to the parameters k1,k2and k3. These control sequences are the following: e1(t) = (2k2 1cos(t),2kk1sin(t),−2k1k3cos(t)), e2(t) = ((k2 1+k2 2) cos(t),2k1k3sin(t),−2kk2sin(t)), e3A(t) = (2k2 2cos(t),0,−2kk2sin(t)), e3B(t) = (0,2k1k3sin(t),0).