Note Mat. 37 (2017) suppl. 1, 93–102. doi:10.1285/i15900932v37suppl1p93
Local controllability of trident snake robot based on sub-Riemannian extremals
Jaroslav Hrdina
iInstitute of Mathematics, Brno University of Technology hrdina@fme.vutbr.cz
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 com- pute 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 distri- bution play the similar role as classical periodic imputs in control theory with respect of our mechanism.Keywords:
local controllability, nonholonomic mechanics, planar mechanisms, sub–Rieman- nian geometry, differential geometry.MSC 2010 classification:
primary 53A17, secondary 70H05, 70Q051 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 G is a 6 × 3 matrix spanned by vector fields g
1, g
2, g
3, where
g
1= cos θ∂
x− sin θ∂
y+ sin Φ
1∂
Φ1+ sin(Φ
2+
2π3)∂
Φ2+ sin(Φ
3+
4π3)∂
Φ3, g
2= sin θ∂
x+ cos θ∂
y− cos Φ
1∂
Φ1− cos(Φ
2+
2π3)∂
Φ2− cos(Φ
3+
4π3)∂
Φ3, g
3= ∂
θ− (1 + cos Φ
1)∂
Φ1− (1 + cos Φ
2)∂
Φ2− (1 + cos Φ
3)∂
Φ3iThis 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
φ
1φ
2φ
3θ
x y
S[x, y]
Figure 1. 1–link trident snake robot model
and u : R → R
3is the control of our system. It is easy to check that in regu- lar points these vector fields define a (bracket generating) distribution H with growth vector (3, 6). It means that in each regular point the vectors g
1, g
2, g
3together with their Lie brackets span the whole tangent space. Consequently, the system is controllable by Chow–Rashevsky theorem.
The sub-Riemannian structure on manifold M is a generalization of Rie- mannian manifold. Given a distribution H ⊂ T M equipped with metrics based on control u we can define so called Carnot-Carath´ eodory metric on M and 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 filtra- tion. 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 g
i, i = 1, 2, 3 as a series
g
i= g
(−1)i+ g
(0)i+ g
i(1)+ · · · ,
where g
i(s)is a homogeneous vector field of order s. Then the following proposi- tion holds, [7]. Set X
i= g
i(−1), i = 1, 2, 3. The family of vector fields (X
1, X
2, X
3) is a first order approximation of (g
1, g
2, g
3) 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:
X
1= ∂
x+
− y 2
∂
a+
− y 2 − d
∂
b+
− x 2
∂
c, X
2= ∂
y+
x 2
∂
a− x 2
∂
b+
y 2 − d
∂
c, X
3= ∂
d.
with respect to a new coordinates (x, y, d, a, b, c). In particular, the family of vector fields (X
1, X
2, X
3) is the nilpotent approximation of (g
1, g
2, g
3) at 0 as- sociated with the coordinates (x, y, d, a, b, c). The remaining three vector fields are generated by Lie brackets of (X
1, X
2, X
3). Note that due to linearity of the three latter coordinates of (X
1, X
2, X
3), the coordinates of (X
4, X
5, X
6) must be constant. We get
X
4= ∂
a, X
5= ∂
b, X
6= ∂
c.
Note that the vector fields (X
1, X
2, X
3, X
4, X
5, X
6) in (x, y, θ, Φ
1, Φ
2, Φ
3) coordinates are of the form
X
1= ∂
x+ θ∂
Φ1−
−
√ 3 2
+
θ2∂
Φ2−
−
√ 3 2
+
2θ∂
Φ3, X
2= ∂
y− ∂
Φ1+
−
12+
√3θ 2
∂
Φ2−
−
12+
√3θ 2
∂
Φ3, X
3= ∂
θ− 2∂
Φ1− 2∂
Φ2− 2∂
Φ3X
4= ∂
Φ1+ ∂
Φ2+ ∂
Φ3, X
5= −
√ 3 2
∂
Φ2+
√ 3 2
∂
Φ3, X
6= −∂
θ+
12∂
Φ2+
12∂
Φ3.
To show how nilpotent approximation affects on integral curves of the distri- butions and the resulting control we computed the Lie brackets of relevant vector fields. In Fig. 2, there is a comparison of the Lie bracket g
5motions realized in (x, y, θ, Φ
1, Φ
2, Φ
3) coordinates (dotted line) and in nilpotent approximation.
Fig. 3 show the comparison of g
6motions. The following figures show the trajec-
tories of the root center point, vertices and wheels when a particular Lie bracket
motion is realized.
-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. g
5motion
-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. g
6motion
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 → M denotes 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 M are in a one–
to–one correspondence with functions in C
∞(T
∗M ) that are linear on fibers via the map Y 7→ a
Y, where a
Y(λ) := hλ, Y (q)i and q = π(λ), i.e.
V ec(M ) ∼ = C
lin∞(T
∗M ) = {a
Y|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 D is a vector subbundle of T M locally generated by family of vector fields {f
1, . . . , f
m} (in our case gen- erated by X
1, X
2and X
3) and h·, ·i
qis a family of scalar products on D
q. Then the sub-Riemannian Hamiltonian is the function on T
∗M defined as follows [1]
h : T
∗M → R h(λ) = max
u∈Uq
hλ, f
u(q)i − 1 2 |u|
2, q = π(λ), where f
u= P
i
u
if
i. For every generating family {f
1, . . . , f
m} of the sub- Riemannian structure, the sub-Riemannian Hamiltonian H can be rewritten [1] as follows
h(λ) = 1 2
X
i
hλ, f
i(q)i
2, λ ∈ T
q∗M, q = π(λ).
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
{a
X, a
Y} := 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
∂p
i∂b
∂x
i− ∂a
∂x
i∂b
∂p
iand 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
∂p
i∂
∂x
i− ∂a
∂x
i∂
∂p
i.
Let γ : [0, T ] → M be an admissible curve with respect to controlling dis- tribution which is lenght-minimizer, parametrized by constant speed. Let ¯ u be the corresponding minimal control. Then there exists a Lipschitz curve λ(t) ∈ T
γ(t)∗M such that
˙λ =
m
X
i=1
¯
u
i(t)~h
i(λ(t)) = ~h(t)(λ(t)) = {h, λ},
where ~h = P
mi=1
u ¯
i(t)~h
i. On the controlling vector fields X
1, X
2and X
3and the general 1–form λ ∈ T
∗M
λ = λ
xdx + λ
ydy + λ
ddd + λ
ada + λ
bdb + λ
cdc we define functions h
i= hλ, X
ii
h
1(λ) := λ
x− y
2 λ
a− y 2 + d
λ
b− x 2 λ
c, h
2(λ) := λ
y+ x
2 λ
a− x
2 λ
b+ y 2 − d
λ
c,
h
3(λ) := λ
d.
In our case the sub-Riemannian Hamiltonian with respect to corresponding minimal control is then of the form
h(λ) = u
1h
1(λ) + u
2h
2(λ) + u
3h
3(λ)
= u
1λ
x− y
2 λ
a− y 2 + d
λ
b− x 2 λ
c+ u
2λ
y+ x 2 λ
a− x
2 λ
b+ y 2 − d
λ
c+ u
3λ
d.
In canonical coordinates (p, x), the Hamiltonian vector filed associated with h is expressed as follows
~h = {h, ·} =
n
X
i=1
∂h
∂p
i∂
∂x
i− ∂h
∂x
i∂
∂p
iand the Hamiltonian system ˙λ = ~h(λ) is rewritten as
˙ x
i= ∂h
∂p
i, ˙ p
i= − ∂h
∂x
ii.e. in our case
˙ x = ∂h
∂λ
x= ∂(u
1h
1+ u
2h
2+ u
3h
3)
∂λ
x= u
1˙ y = ∂h
∂λ
y= ∂(u
1h
1+ u
2h
2+ u
3h
3)
∂λ
y= u
2d = ˙ ∂h
∂λ
d= ∂(u
1h
1+ u
2h
2+ u
3h
3)
∂λ
d= u
3˙λ
x= − ∂h
∂x = − ∂(u
1h
1+ u
2h
2+ u
3h
3)
∂x = 1
2 (−λ
cu
1+ (λ
a− λ
b)u
2)
˙λ
y= − ∂h
∂y = − ∂(u
1h
1+ u
2h
2+ u
3h
3)
∂y = 1
2 (λ
a− λ
b)u
1+ (λ
c)u
2)
˙λ
d= − ∂h
∂d = − ∂(u
1h
1+ u
2h
2+ u
3h
3)
∂d = 1
2 (−λ
bu
1− (λ
c)u
2)
˙λ
a= 0 ˙a = − y
2 u
1+ x 2 u
2˙λ
b= 0 ˙b = −( y
2 + d)u
1− x 2 u
2˙λ
c= 0 ˙c = − x
2 u
1− ( y
2 − d)u
2A 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 ] → M is a length minimizer on sub-Riemannian manifold, associated with a control u(·), then due the Pontryagin maximum principle there exists λ
0∈ T
γ(0)∗M such that defining
λ(t) = (P
0,t−1)
∗λ
0, λ(t) ∈ T
γ(t)∗M, where P
0,tis the flow of the nonautonomous vector field
X
u(t)=
m
X
i=1