• Non ci sono risultati.

Local controllability of trident snake robot based on sub-Riemannian extremals

N/A
N/A
Protected

Academic year: 2021

Condividi "Local controllability of trident snake robot based on sub-Riemannian extremals"

Copied!
10
0
0

Testo completo

(1)

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

i

Institute 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, 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 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

+

3

)∂

Φ2

+ sin(Φ

3

+

3

)∂

Φ3

, g

2

= sin θ∂

x

+ cos θ∂

y

− cos Φ

1

Φ1

− cos(Φ

2

+

3

)∂

Φ2

− cos(Φ

3

+

3

)∂

Φ3

, g

3

= ∂

θ

− (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

(2)

φ

1

φ

2

φ

3

θ

x y

S[x, y]

Figure 1. 1–link trident snake robot model

and u : R → R

3

is 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

3

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 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)

+ · · · ,

(3)

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∂

Φ3

X

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

5

motions realized in (x, y, θ, Φ

1

, Φ

2

, Φ

3

) coordinates (dotted line) and in nilpotent approximation.

Fig. 3 show the comparison of g

6

motions. The following figures show the trajec-

tories of the root center point, vertices and wheels when a particular Lie bracket

motion is realized.

(4)

-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

5

motion

-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

6

motion

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

2

and X

3

) and h·, ·i

q

is 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

i

f

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 = π(λ).

(5)

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

i

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

∂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

m

i=1

u ¯

i

(t)~h

i

. On the controlling vector fields X

1

, X

2

and X

3

and the general 1–form λ ∈ T

M

λ = λ

x

dx + λ

y

dy + λ

d

dd + λ

a

da + λ

b

db + λ

c

dc we define functions h

i

= hλ, X

i

i

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

.

(6)

In our case the sub-Riemannian Hamiltonian with respect to corresponding minimal control is then of the form

h(λ) = u

1

h

1

(λ) + u

2

h

2

(λ) + u

3

h

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

i

and the Hamiltonian system ˙λ = ~h(λ) is rewritten as

˙ x

i

= ∂h

∂p

i

, ˙ p

i

= − ∂h

∂x

i

i.e. in our case

˙ x = ∂h

∂λ

x

= ∂(u

1

h

1

+ u

2

h

2

+ u

3

h

3

)

∂λ

x

= u

1

˙ y = ∂h

∂λ

y

= ∂(u

1

h

1

+ u

2

h

2

+ u

3

h

3

)

∂λ

y

= u

2

d = ˙ ∂h

∂λ

d

= ∂(u

1

h

1

+ u

2

h

2

+ u

3

h

3

)

∂λ

d

= u

3

˙λ

x

= − ∂h

∂x = − ∂(u

1

h

1

+ u

2

h

2

+ u

3

h

3

)

∂x = 1

2 (−λ

c

u

1

+ (λ

a

− λ

b

)u

2

)

˙λ

y

= − ∂h

∂y = − ∂(u

1

h

1

+ u

2

h

2

+ u

3

h

3

)

∂y = 1

2 (λ

a

− λ

b

)u

1

+ (λ

c

)u

2

)

˙λ

d

= − ∂h

∂d = − ∂(u

1

h

1

+ u

2

h

2

+ u

3

h

3

)

∂d = 1

2 (−λ

b

u

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

2

(7)

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 ] → 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,t

is the flow of the nonautonomous vector field

X

u(t)

=

m

X

i=1

u

i

(t)X

i

(γ(t))

and one of the following condition is satisfied

(N ) u

i

(t) = hλ(t), X

i

(γ(t))i, ∀i = 1, . . . , m, (A) 0 = hλ(t), X

i

(γ(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 (h

21

(λ) + h

22

(λ) + h

23

(λ)), h

i

(λ) = hλ, X

i

(q)i, and let us introduce

h

4

(λ) := hλ, X

4

(q)i, h

5

(λ) := hλ, X

5

(q)i, h

6

(λ) := hλ, X

6

(q)i.

Since X

1

, . . . , X

6

are linearly independent then {h

1

, . . . , h

6

} defines a system

coordinates on T

M and thus we can consider λ to be parametrized by h

i

(8)

consequently, we are looking for a solution of the system ˙h

i

= {h, h

i

}, i.e.

˙h

1

= {h, h

1

(t)} = {h

21

+ h

22

+ h

23

, h

1

} = {h

2

, h

1

}h

2

+ {h

3

, h

1

}h

3

= −h

4

h

2

− h

5

h

3

˙h

2

= {h, h

2

(t)} = {h

21

+ h

22

+ h

23

, h

2

} = {h

1

, h

2

}h

1

+ {h

3

, h

2

}h

3

= h

4

h

1

− h

6

h

3

˙h

3

= {h, h

3

(t)} = {h

21

+ h

22

+ h

23

, h

3

} = {h

1

, h

3

}h

1

+ {h

2

, h

3

}h

2

= h

5

h

1

+ h

6

h

2

˙h

4

= ~h(h

4

(t)) = {h, h

4

(t)} = {h

21

+ h

22

+ h

23

, h

4

} = 0

˙h

5

= ~h(h

5

(t)) = {h, h

5

(t)} = {h

21

+ h

22

+ h

23

, h

5

} = 0

˙h

6

= ~h(h

6

(t)) = {h, h

4

(t)} = {h

21

+ h

22

+ h

23

, h

6

} = 0

To analyze the system of ordinary differential equations above we have the following assignments:

˙h

4

= 0 ; h

4

is a constant function ; h

4

= k

1

,

˙h

5

= 0 ; h

5

is a constant function ; h

5

= k

2

,

˙h

6

= 0 ; h

6

is a constant function ; h

6

= k

3

and the system of linear ordinary differential equations, which can be written in the matrix form as

˙h

1

˙h

2

˙h

3

 =

0 −k

1

k

2

k

1

0 −k

3

−k

2

k

3

0

 h

1

h

2

h

3

 .

The main tool to analyze the systems of linear ODEs, is eigenvalues and eigen- vectors computations. In our case, the straightforward computation

−λ −k

1

k

2

k

1

−λ −k

3

−k

2

k

3

−λ

= −λ

3

− λ(k

12

+ k

22

+ k

23

) = −λ(λ

2

+ (k

21

+ k

22

+ k

23

)) = 0 leads to one real and two complex conjugated eigenvalues:

λ

1

= 0, λ

±i

= ±i q

k

21

+ k

22

+ k

23

, where the eigenvectors are

v

0

:=

 k

3

k

2

k

1

 , v

i

:=

k

21

+ k

22

−ipk

21

+ k

22

+ k

23

k

1

+ k

2

k

3

ipk

12

+ k

22

+ k

23

k

2

− k

1

k

3

 ,

v

−i

:=

k

21

+ k

22

ipk

12

+ k

22

+ k

23

k

1

− k

2

k

3

−ipk

21

+ k

22

+ k

32

k

2

− k

1

k

3

 ,

(9)

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 = v

o

exp(0t) + v

i

exp(it) + v

−i

exp(−it). The straightforward computation leads to

 u

1

u

2

u

3

 =

 v

0x

v

y0

v

d0

 +

v

ix

exp(it) v

yi

exp(it) v

di

exp(it)

 +

v

x−i

exp(−it) v

y−i

exp(−it) v

d−i

exp(−it)

=

 k

3

k

2

k

1

 +

(k

21

+ k

22

)(cos(t) + i sin(t)) (−ikk

1

+ k

2

k

3

)(cos(t) + i sin(t))

(ikk

2

− k

1

k

3

)(cos(t) + i sin(t))

+

(k

21

+ k

22

)(cos(t) − i sin(t)) (ikk

1

− k

2

k

3

)(cos(t) − i sin(t)) (−ikk

2

− k

1

k

3

)(cos(t) − i sin(t))

=

 k

3

k

2

k

1

 +

2(k

12

+ k

22

) cos(t) 2kk

1

sin(t)

−2k

1

k

3

cos(t) − 2kk

2

sin(t)

 + i

 0 2k

2

k

3

sin(t)

0

 , where k = pk

21

+ k

22

+ k

23

.

5 Local controllability

To perform the Lie bracket motions we apply a periodic input, i.e. for the vector fields X

4

= [X

1

, X

2

], X

5

= [X

1

, X

3

], X

6

= [X

2

, X

3

], respectively, the input

v

1

(t) = (−Aω sin ωt, Aω cos ωt, 0), v

2

(t) = (0, −Aω sin ωt, Aω cos ωt), v

3

(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 the- oretic approach above leads to four new control sequences with respect to the parameters k

1

, k

2

and k

3

. These control sequences are the following:

e

1

(t) = (2k

12

cos(t), 2kk

1

sin(t), −2k

1

k

3

cos(t)), e

2

(t) = ((k

12

+ k

22

) cos(t), 2k

1

k

3

sin(t), −2kk

2

sin(t)), e

3A

(t) = (2k

22

cos(t), 0, −2kk

2

sin(t)),

e

3B

(t) = (0, 2k

1

k

3

sin(t), 0).

(10)

It is easy to see that by appropriate choice of coordinates k

1

, k

2

and k

3

we can get classical periodic inputs as a normal extremal of the underlying sub–

Riemannian structure. For example, the choice k

1

7→ − √

Aω, k

2

= k

3

= 0 and t 7→ ωt leads to identification e

1

(t) ∼ = −v

1

(t).

References

[1] A. Agrachev, D. Barilari, U. Boscain, Introduction to Riemannian and sub- Riemannian geometry, Preprint SISSA, 2016

[2] A A Ardentov, Yu L Sachkov, Extremal trajectories in a nilpotent sub- Riemannian problem on the Engel group, Russian Academy of Sciences Sbornik Mathematics 202(11):1593,2012.

[3] Hrdina, J, N´ avrat, A, Vaˇ s´ık, P: Nilpotent approximation of a trident snake robot controlling distribution, arXiv:1607.08500 [math.DG], 2016.

[4] Hrdina, J., N´ avrat, A., Vaˇ s´ık, P., Matouˇ sek, R.: CGA-based robotic snake control, Adv.Appl. Clifford Algebr. (in print), 1–12 online (2016).

[5] Ishikawa, M.: Trident snake robot: locomotion analysis and control. NOL- COS, IFAC Symposium on Nonlinear Control Systems 6, 1169–1174 (2004).

[6] Ishikawa, M., Minami, Y., Sugie, T.: Development and control experiment of the trident snake robot. IEEE/ASME Trans. Mechatronics 15(1), 9–15 (2010).

[7] Jean, F.: Control of Nonholonomic Systems: From Sub–Riemannian Geom- etry to Motion Planning, SpringerBriefs in Mathematics, Springer, 2014.

[8] Murray,R. M., Zexiang,L., Sastry, S. S.: A Mathematical Introduction to Robotic Manipulation, CRC Press, 1994.

[9] Selig, J.M.: Geometric Fundamentals of Robotics, Springer, Monographs in

Computer Science, 2004.

Riferimenti

Documenti correlati

Weight loss percentage upon adhesion test as a function of the coating layer thickness (left); Images of the samples before and after the adhesion tests (right).. A linear

The primary outcome of this study was stroke recurrence in pregnancy or the postpartum period defined as 6 weeks after delivery.. Results: Forty-eight pregnancies with a history

La seconda struttura invece, cioè quella contenente i laboratori di restauro delle opere ed il magazzino dove sono riposte, esercita un’ulteriore sezione con l’ambiente superiore:

Dopo aver creato e mandato in esecuzione (come visto in precedenza) un nodo che pubblica su un topic, è possibile monitorare lo stato di quel topic attraverso il comando rostopic:.

ROS mette a disposizione un vasto numero di pacchetti software già disponibili in versioni stand alone.. Utilizzare le versioni disponibili per ROS

Per comunicare con Stage e ricevere informazioni sullo stato del robot e del mondo è necessario utilizzare i topic. Per accedere alla

The use of a coarse grid reduces the number of unknowns of the global optimization (that otherwise would be 16940) and helps the misfit function to be more sensitive to the

To classify the model error, we establish so–called nilpotent approximation of the controlling distribution in which, according to [6], the periodic input models the Lie bracket