Open access peer-reviewed chapter

Geometric Control of Robotic Systems

Written By

Anis Bousclet

Reviewed: 15 March 2023 Published: 13 November 2023

DOI: 10.5772/intechopen.110895

From the Edited Volume

Multi-Robot Systems - New Advances

Edited by Serdar Küçük

Chapter metrics overview

37 Chapter Downloads

View Full Metrics

Abstract

In this chapter, we’ll present geometrical methods to control robotic systems, we’ll start by presenting the classical approach and its benefits, as well as its limits, and we will explain how the geometric approach allow us to get rid of these limits.

Keywords

  • robotic systems
  • Riemannian geometry
  • geometric control
  • optimal control
  • regulation under constraints

1. Introduction

Robotic systems are powerful tools that allow us to gain time, money and enery, they had revolutionized several fields as industry, medicine, agriculture and many other fields.

The main difficulty caused by robotic systems is the nonlinearity of the dynamics. The classical approach modelise the configuration space by an Euclidean space, and applies the principle of least action to derive the equation of motion, and applies Lyapunov and Lasalle’s techniques to control the robot [1, 2].

However, this elegent approach do not fit well with regulation under constraints problem or optimal regulation, the goal here is to illustrate these limits, and to show how the geometric method allow us to get ride of these limits.

Advertisement

2. The classical approach and its limits

The configuration space of the robot is Rn where n is the number of degrees of liberty (DOF) of the robot, the principle of least action gives the dynamics

Gqq+12Gq+Sqqq+gq=τ.E1

This allow us to ensure locally the regulation to a configuration qRn with the control

τqq=gqKpqqKvqE2

which is a PD controller.

The classical approach with all its benefits [1, 2], do not fit well with the problem of regulation under constraints or optimal regulation.

For the optimal control problem, the general formula which gives the angular velocity in function of the configuration of a Rigid body that minimizes the cost [3]

JΩ=0trIRdTR+12Ω2dtE3

for the kinematic R=RΩ and ensure regulation RRd

ΩR=RdTRRTRd1+trRdTRE4

which has not the form of a proportional controller, so this prevents to get an optimal PD regulator for robotic systems.

For the regulation under constaints problem (tool of the robot must stay in a security surface S), the set of admissibles configurations is N=x1S where x is the function which gives the position of the tool in function of the configuration. The set N has no reason to be a linear subspace of R since x is a nonlinear function, the set N will be a curved space in Rn and we arrive to a formalism naturally adapted to the resolution of the problem of regulation under constraints.

Sensitivity with respect to initial conditions remains one of the main problems in conceptions of efficients observers.

For example, for a rigid body which dynamics are1,2

R=RΩE5
ω-=I1Iω×ω2I1SkewR×E6

where I=2,2,8 and R0=exp0.82,0.21,0.73×ω0=0.80.5,0.6, the Luenberger observer [4] is

R̂'=R̂Ω̂2jI1SkewRTR̂×E7
ω̂'=I1Iω̂×ω̂2I1SkewR×2I1SkewRTR̂×E8

where R̂0=exp0.80.5,0.6× and ω̂0=0,0,0, the simulations shows that the Luennberger observer is not efficient when real and observed configuration and velocity are lightly different (Figure 1).

Figure 1.

Insufficiency of Luenberger observer.

Advertisement

3. The geometric formalism

The idea of the geometric formalism is to pass the complexity of the equation to the configuration space, thus in the geometric formalism, the configuration space is not an Euclidean space, but a curved space that we call manifold.

Manifolds [5] are objects that looks like Euclidean space locally, we can always reduce the local study of manifolds to computations in Rn, it is exactly what we do when we parametrize the configuration of a rigid body with Euler angles.

The configuration space of a rigid body [6] which has a fixed point is the space of Euclidean rotations SO3, when all its points moves freely the configuration space becomes SO3×R3, the possible translations of a point cover R3.

A robot is an assembly of s rigid bodies, which are related from there extremeties by articulations, those links are called holonomic constraints.

The configuration space of the robot is M a submanifold of dimension n of SO3×R3s, the holonomic constraints are related to the local coordinates by the following result.

Proposition 1Let M be a subset ofSO3×R3s, there is equivalence between

  • Holonomic constraints: for eachqM, there existsVqa neighborhood ofqinSO3×R3sand a submersion3f:VqR6srsuch thatMVq=f10.

  • Local coordinates: for eachqinM, there exists a neighborhoodVqofqand an immersion4θ:0UVqMis a homeomorphism.5

Mis said to be a manifold of dimensionn, the numbernis the degree of freedom of the robot, and the numberris the number of constraints, we have the well known formulan=6sr.

Once we know that we are dealing with curved objects, it may seems more complicated to do computations. Thanks to the tangent space TqM, which is the set of virtual velocities γ̇0 of curves γt that pass throught γ0=qM and stay in γtM, this space is linear and of dimension n (Figure 2).

Figure 2.

Tangent space.

When we do parametrization with holonomic constraints, the tangent space is TqM=Kerdfq, if we parametrize our manifold with local coordinates, then TqM=Rangedθ0, the basis adapted to the coordinates is i=ei where ei is the canonical basis of Rn.

The tangent linear map between two manifolds ϕ:MN is the linear map

Tqϕ:TqMTϕqNE9

defined by

Tqϕv=ϕγ0E10

where γ0=q, γtM and γ0=v (Figure 3).

Figure 3.

Linear tangent map.

A vector field is the data of a tangent vector in TqM for each qM which a smooth way, the set of vector fields is ΓTM.

To each vector field corresponds a motion of diffeomorphisms6 by solving the following ODE (Figure 4)

Figure 4.

Vector field and its flow.

tϕtXq=XϕtXqE11
ϕ0Xq=q.E12

When we have two vector fields X,Y, a natural question is to ask when we have

ϕtXϕsY=ϕsYϕtXE13

the obstruction of the commutation between the flows is measured by the Lie bracket XY which is defined by

XY=ddtt=0TϕtXYϕtX.E14

The Lie derivative is related to the derivation of functions by

XY.f=X.Y.fY.X.fE15

where X.f=TfX.

Now that we have introduced all necessary tools, we will talk about Riemannian geometry. The idea behind Riemannian geometry is to consider a scalar product that is dependent of the position, this will simplify the formalism, provided that we know how to manipulate the covariant differential calculus, which we will present right now.

The kinetic energy of a ball that is constrained to stay in a surface S is independant of the position. In the general case, when we compute the kinetic energy of a rigid body or two link robot, this energy will depend of the configuration, this gives a Riemannian metric that is inherited from the inertia of the robot.

The innovative viewpoint of Arnold [6] is to see the motion of a rigid body fixed on one point as a curve in SO3, the kinetic energy depends only on the left angular velocity7 and thus we say that the Riemannian metric is left invariant (Figure 5).

Figure 5.

The rigid body.

Return to our ball in a surface, in the absence of forces and potential, the principle of least action postulates that the real trajectory is a critical point of the kinetic energy, this means that the acceleration of the ball must be orthogonal to the surface, such trajectories are called geodesic, remark that if the ball was not constrained in S, this condition would give that the acceleration is 0, and thus the motion is a straightline, let us do the calculation

the kinetic energy for a ball with mass m is

Eγ=0112mγ̇t2dtE16

since γtS, the authorized perturbations are γstS such that γ0t=γt, γs0=γ0 and γs1=γ1.

The postulate is that

ddss=0Eγs=0E17

this gives

01mV̇t.γ̇tdt=0E18

where Vt=ss=0γstTγtS after integrating by parts we get

01Vt.γtdt=0E19

since VtTγtS, we get that

γtTγtS.E20

The most important step in these calculations is the following one

ddtXt.Yt=dXdt.Yt+Xt.dYdtE21

where X,Y are tangent vector field to γtS, that is Xt,YtTγtS. In this case the kinetic energy which is the Euclidean scalar product does not depend on the position, for our applications, the kinetic energy depends on the position so we need to construct a “good derivative” that allow us to derive scalar products by computing the product of derivative only without computing the derivative of the metric.

The parallel transport [7] of a vector vTqM along a curve γtM is defined by the following way: the point at the origin of the vector follows the curve and the vector evolves continuously by preserving its length and the angle with γ̇t.

This process defines a mapping Pγ1γ0:Tγ0MTγ1M which is a linear isometry (preserving angle and length) (Figure 6).

Figure 6.

Parallel transport.

The convariant derivative of two vector fields is

XYq=ddtt=0PqϕtXqYϕtXqE22

this covariant derivative satisfies

g=0E23

which means that

X.gYZ=gXYZ+gYXZ,E24

we say that this connexion kills the metric, in addition of that, this connexion is without torsion, that is we can close locally the parallelogram by doing parallel transport along geodesics by two different paths, the mathematical formula is

TXY=XYYXXY=0E25

for the computations in coordinates, we defines

ij=ΓijkkE26

the previous identities are8

Γijk=Γjik,T=0E27
Γijk=12gkmgmj,i+gmi,jgij,m,g=0E28

we construct a covariant derivative DDt:ΓγΓγ along curves γtM that satisfies

  • DX+YDt=DXDt+DYDt

  • DfXDt=fX+fDXDt for scalar function f

  • γtVγt=DVγtDt for XΓTM.

In coordinates we get by setting Xt=Xitiγt

DXDt=ddtXi+ΓkliddtqkXliγt.E29

This covariant derivative satisfies

ddtgVW=gDVDtW+gVDWDt.E30

Now we suppose that our robot must evolves from q1 to q2 in M by minimizing the kinetic energy, we consider the real trajectory qt and its admissible variations qst, by deriving we obtain

ddss=0Eqs=1201gqst(q̇stq̇st)dt=01gqst(DDss=0q̇st,q̇t)dtE31

using the Schwarz lemma

DDst=DDtsE32

we get

01gqtDDtVtq̇tdt=0E33

which gives by integration by parts that

DDtq̇=0E34

which is the geodesic equation which are curves that are parallel along themselves.

Now we will talk about curvature, curvature is the opposite of flatness, in an Euclidean space, when we look at the parallel transport along closed curves, the obtained linear map is always identity, in a sphere, the set of obtained linear mappings cover all SO2, because of the curvature of the sphere.

So the curvature is the change of a vector by parallel transport along the parallelogram obtained by geodesics and parallel transport, the mathematical formula is

RXYZ=XYZYXZXYZE35

the curvature is a tensor, that is we can compute Ruvw for u,v,wTqM without needing any extention.

The sectional curvature is

Kuv=gRuvvuu2v2guv,E36

and it is the Gaussian curvature of the geodesic surface generated by uv.

Curvature is also a factor in the sensitivity with respect to initial conditions, the geodesic deviation is related to the sign of curvature by the following formula

D2JDt2+RJq̇q̇=0E37

where J is a virtual motion that represents a local variation of geodesic (Figure 7).

Figure 7.

Geodesic variation.

When curvature is 0, the sensitivity is linear, which allow the Luenberger observer to be performant, when the curvature is negative, the geodesic instabillity is exponential [7], which explains that the Luenberger observer diverges (Figure 8).

Figure 8.

Negative curvature and sensitivity of the geodesic flow.

The exponential map corresponds to a tangent vector the range by the geodesic after a unitary time, we denote it expq:VqTqMM, the exponential is a local diffeomorphism, so around a configuration, each configuration can be joined by a unique geodesic, the parallel transport along this geodesic is denoted by P (Figure 9).

Figure 9.

Exponential map.

when the exponential map is defined on TqM, we say the Mg is complete, it is the fact when M is compact.

The geodesic distance is a natural distance induced by the Riemannian metric

dgq1q2=infcurves inMjoiningq1toq2.01gqt(q̇t,q̇tdt.E38

Thanks to Cauchy-Schwarz inequality, we can show that

12dgq1q22=12infcurves inMjoiningq1toq2.01gqt(q̇t,q̇tdt.E39

The gradient of a function f is the unique vector field f that satisfies

dfX=gfXE40

The gradient of the function Uq.=12dg2q. is

Up=expp1q.E41

The configuration space of the robot is a n dimensional compact manifold equipped with a Riemannian metric g that is the kinetic energy. In the presence of potential, the claculus of variations must applies to the Lagrangian Lqv=12gvvWq and this gives the equation

Dq̇Dt=WqE42

in robotics, we have a control law that allow us to enslave the robot, so the equation becomes [8, 9]

Dq̇Dt=Wq+uE43

We recover a Newton-like equation, the left term quantifies an obstruction of parallelism, and the right hand term an exterior force, as well as the Newton fundamental law “The trajectory of an object remains parallel along itself as long as there are no forces applying to it” (Figure 10).

Figure 10.

Inverse of the exponential.

The kinetic energy theorem gives the variation of the mechanical energy in function of the applied forces, this will be useful to compute feedback law to ensure regulation (Figure 11)

Figure 11.

Two link manipulator and its configuration space.

ddt12q̇tqt2+Wqt=gqtq̇tut.E44

In some applications, especially those concerning the motion of a rigid body, the configuration space is a Lie group G, which is a group furnished with a manifold structure such that multiplication and inverse are smooth, the consideration of a Riemannian metric that is left invariant allow us simplificate the geodesic equation [9], the curvature tensor and the parallel transport, and thus simplificate the practical implementation of the optimal regulator [10, 11] and the Riemannian observer [12].

Advertisement

4. Regulation under constraints

In this section, we will propose a method to ensure regulation under constraints, before going further, lets see the case of regulation without constraints.

Let fix some reference configuration qM, and consider W=0, by taking

ut=expqt1qkq̇tE45

we get

ddt12q̇tqt2+12dg2qtq=kq̇tqt2E46

which ensure regulation qtq by Lasalle’s invariance principle, this result is very classical, but what we will prove in Section 6, is that this Riemannian PD-regulator is optimal for a natural cost.

Now we are interested by the regulation of the tool of a robot [13], the tool is the terminal organ of the robot, the control of the tool of a robot is frequent tackled problem in industry (Figure 12).

Figure 12.

Regulation of the tool.

The position of the tool is modelised by a function x:MR3, we call the workspace Ws=xM the range of x, that is the set of all possible positions that can be tooken by the tool.

A singular configuration is a configuration where the tool can not moves locally in all directions, that is a configuration qM where Tqx is not onto.

We have the following result that relates absence of singularities to the possibility of regulation of the tool [10].

Proposition 2 Suppose that the tool function is without singularities, take xdWs and

u=VkvE47

whereVq=12xqxd2, this controle stabilize the tool toxdwhith 0 velocity.

Proof E: quilibrium configurations of this dynamics are critical points of V, which are qM such that

TqVv=xqxd.dxqv=0E48

since q is not singular, we must have qx1xd.

Since the function 12vq2+Vq satisfies Lasalle’s invariance principle hypethesis ans

ddtVqt+12q̇tqt2=kq̇tqt20E49

The large subset invariant subset M×0 is Ω=x1xd×0. W

Now we turn to the regulation under constraints [13], if one wants to ensure regulation of the robot that leaves the tool in a safety area S=Φ10 where Φ:R3R is a submersion on xM (Figure 13).

Figure 13.

Regulation under constraints.

We reduce the problem xqtS to qtN where N=x1S is a hypersurface of M, the same calculus of variations done in the previous section allow us to see that

Dq̇Dt+Uq=CTqNE50

C can be seen as a contact force which force the configuration to stay in N (Figure 14)

Figure 14.

Contact force.

Thanks to an inverse calculation [10] one can show that the expression of the unique orthogonal component that allow the tool to remain in s is given by

uqv=<DvΨq,v>Ψq2Ψq,E51

where Ψ=xΦ.

In some papers, the problem of tracking is tackled, and the most useful result is this one [14].

Proposition 3For the dynamicDqDt=u, let a smooth trajectory reference on M, the regulatoru=uFF+uPDdecreases the function

tR12dg2qreftqt+12vtP(qtqreft)vreft2E52

where

uFFqv=ddtPqqreftvreft+DvPqqrefvref,E53
uPD=expq1qreftk.vPqqrefvref.E54
Advertisement

5. The Riemannian observer

Another application of this formalism is the conception of observers of velocity. We want to get an estimation tv̂t of the velocity with the only data of the configuration qt.

We have explained in the second section that negative curvature is closely related to the sensitivity to the initial conditions of the geodesic flow. So for free systems, if we do not take into account the curvature, the observer will diverge if the observed initial velocity is far from the initial real velocity, even if the two configurations are very close.

The idea [15] is to copy the dynamic of the system and add a correction that cancel the curvature term that appears naturally in the derivation of the linearized equation around the real trajectory (Jacobi equation when absence of external forces). The observer of the dynamic

DqDt=Sq,

is

dq̂dt=v̂+k1expq̂1qt,Dv̂Dt=Pq̂qtSqt+Rv̂expq̂1qtv̂+k2expq̂1qt.

We can compute the form of this observer in the case of a Lie group furnished with a left invariant metric [12], this will give for a rigid body dynamic9

R̂̇=R̂.Ω̂2jζ,E55
ω̂̇=I1.I.ω̂×ω̂Iω̂×ζ+×ω̂+ζ×ω̂2ζ2.R̂T.R.I1skewR×+Rω̂ζω̂,E56

with ζ=I1.logRT.R̂×.

With the same conditions as the Luenberger observer of the first section, we get for the Riemannian observer the following simulations (Figure 15).

Figure 15.

Convergence of the Riemannian observer.

Advertisement

6. Optimal regulation and tracking

In this section we are concerned by the optimal control of robots, we consider the dynamics

Dq̇Dt=uE57

and we consider the cost

Ju=012vu2g+12dgqutq2+ug2]eγtdtE58

where quvu is the unique solution to the dynamics (after fixing an initial position and velocity).

The HJB theory gives that the feedback control [10]

uPD=kexpqt1qkq̇tE59

where k,k solves an appropriate Riccati equation, is the unique that solves the previous problem.

For the tracking problem, we have the following result [10].

Proposition 4Let a smooth reference trajectoryqref:0TM, the tracking regulator that minimizes the cost

Ju=0T12dg2qreftqut+12vutP(qutqreft)vreft2+12uuFF(tqv)2dt,E60

is a PD + Feed forward regulator u=uFF+uPD where

uFFtqv=ddtPqqreftvreft+DvPqqreftvref)t,E61
uPDtqv=k1texpq1qreftk2tvPqqrefvreft,E62

aveck1k2solves an appropriate Riccati equation.

For the applications to a rigid body motion [11, 16]

R=RΩ,E63
ω-=I1.Iω×ω+τ.E64

We have the following PD that ensures optimal regulation to Rd

τPD=kPlogRdT.R×kDω.E65

For the optimal tracking problem, the PD + FF regulator is

τPD=kPlogRrefTR×kD.ωRTRref.ωref,E66
τFF=12ω×RTRref.ωrefI1.I.RTRrefωref×ω+I.ω×RTRrefωrefE67
Advertisement

7. Conclusion

Classical robots allow us to ensure local regulation of the configuration and optimal control of kinematics of rigid body. However, some observations shows that it do not fit well with regulation under constraints and optimal regulation of the dynamics. We cannot explain the origin of the sensitivity with respect to initial conditions, which is present in most robotic systems and prevent us to design performant observers.

We have introduced the geometric formalism with a comprehensive way, and we explained the origin of the sensitivity with respect to initial conditions by the notion of curvature, that we avoid by the Riemannian observer.

We have exposed how to ensure regulation under constraints under a hypothesis of absence of singularities, and we showed how to ensure optimal regulation and tracking by algorithmic methods.

However, this method requires fastidious computations and sometimes difficult, approximations are quiete often used, and by doing that we see that we recover regulators that are proposed by the Euclidean approach.

We can see the classical robotics as an approximation of the geometric robotics, a bit like newtonian mechanics is the approximation of general relativity.

Geometric robotics is a field active in research, and most of recent results are presented in this chapter. Open problems remains in soft robotics, where we control a quasilinear hyperbolic PDE written in the Lie algebra of the group of Euclidean isometries, for this purpose one can see the work of [17] and the reference within.

References

  1. 1. Khalil W, Dombre E. Modélisation, identification et commande des robots. Paris: Hermes Science Publication; 1999
  2. 2. Slotine J-J. Applied Nonlinear Control. Pearson; 1990
  3. 3. Aguiar AP, Sacoon A, Hauser J. Exploration of kinematic optimal controlon the Lie Group SO(3). In: 8th IFAC Symposium on Nonlinear Control Systems. Vol. 43. Issue 14. 2010. p. 1302-1307
  4. 4. Luenberger DG. Observing the state of a linear system. IEEE Transaction on Military Electronics. Vol. 8. New York. 1964. pp. 74-80
  5. 5. Lee J. Introduction to Smooth Manifolds. Graduate Texts in Mathematics. 2012
  6. 6. Arnold V. Mathematical Methods of Classical Mechanics. Graduate Texts in Mathematics. Vol. 60. New York: Springer; 1978
  7. 7. Lee J. Riemannian Geometry: An Introduction to Curvature. New York: Springer-Verlag; 1997
  8. 8. Altafini C. Geometric control methods for nonlinear systems and robotic applications [Ph.D thesis]. Sweden: Royal Institute of Technology, University of Stockholm; 2001
  9. 9. Lewis AD, Bullo F. Geometric Control of Mechanical Systems. Texts in Applied Mathematics. 2005
  10. 10. Bousclet A. Régulateurs Optimaux en Robotique. Mémoires de fin d’études de l’École Nationale Polytechnique; 2021
  11. 11. Guo J, Liu C, Tang S. Intrinsic optimal control for mechanical systems on lie groups. Advances in Mathematical Physics. 2017:1-8
  12. 12. Jordan M, Berg D, Maithripala HS. An Intrisic Observer for a Class of Simple Mechanical Systems on a Lie Group. Vol. 2. New Orleans USA: Proceedings of the American Control Conference; 2004. pp. 1546-1551
  13. 13. Sekimoto M, Tahara K, Arimoto S, Yoshida M. A Riemannian geomtry approach for control of robotic systems under constraints. SICE Journal of Control, Measurement, and System Integration. 2021:107-116
  14. 14. Murray RM, Bullo F. Tracking for fully actuated mechanical systems: A geometric framework. Automatica. 1999;35(1):17-34
  15. 15. Aghannan N, Rouchon P. An intrinsic observer for a class of Lagrangian systems. IEEE Transactions on Automation and Control. 2003;48(6):936-945
  16. 16. Tayebi A, Berkane S. Some optimisation aspects on the lie group SO(3). IFAC-PapersOnLine. 2015;48(3):1117-1121
  17. 17. Bousclet A. Geometric Formulation of Dynamics of Snake Robot. Master thesis of Paris Saclay University; 2022

Notes

  • Ω× is the unique vector ω such that ω×x=Ω.x, and j is its inverse.
  • SkewR=R−RT2.
  • A submersion is a smooth function for which the differential is everywhere onto.
  • An immersion is a smooth function for which the differential is everywhere one to one.
  • Invertible continuous map with continuous inverse.
  • Diffeomorphism is an invertible smooth mapping with smooth inverse
  • Ω=R−1Ṙ.
  • The component of the metric in local coordinates are gijq=gq∂i∣q∂j∣q.
  • logR=ϕRsinϕRskewR, with ϕR=arccostrR−12.

Written By

Anis Bousclet

Reviewed: 15 March 2023 Published: 13 November 2023