Open-access On Euler-Lagrange’s Equations: A New Approach

ABSTRACT

A new formalism is proposed to study the dynamics of mechanical systems composed of N connected rigid bodies, by introducing the concept of 6N-dimensional composed vectors. The approach is based on previous works by the authors where a complete formalism was developed by means of differential geometry, linear algebra, and dynamical systems usual concepts. This new formalism is a method for the description of mechanical systems as a whole and not as each separate part. Euler-Lagrange’s Equations are easily obtained by means of this formalism.

Keywords:
composed vectors; connected rigid bodies; dynamics

RESUMO

Um novo formalismo é proposto para estudar a dinâmica de sistemas mecânicos compostos por N corpos rígidos conectados, introduzindo o conceito de vetores compostos 6N-dimensionais. A abordagem é baseada em trabalhos anteriores dos autores, nos quais um formalismo completo foi desenvolvido por meio dos conceitos usuais de geometria diferencial, álgebra linear e sistemas dinâmicos. Esse novo formalismo é um método para a descrição de sistemas mecânicos como um todo e não como cada parte separada. As equações de Euler-Lagrange são facilmente obtidas por meio desse formalismo.

Palavras-chave:
vetores compostos; corpos rígidos conectados; dinâmica

1 INTRODUCTION

Works by Cortizo and Giacaglia 2, Kottke 8, and Giacaglia and Kottke 5 have described in details the formalism, which is the theoretical background of this work, by the introduction of virtual linear velocities and angular velocities and force-torque composed vectors representing kinematical and dynamical quantities of all links involved.

In the present work we show a compact and straightforward method to obtain Euler-Lagrange’s Equations for such a mechanical system by simply writing down the Newton-Euler dynamical equations condensed into composed vectors and then multiplying such equations by a properly chosen composed kinematical vector.

The links are considered to be connected by rotational joints and acted on by arbitrary forces and torques, including torques resulting from frictional forces arising in the joints. The final differential equations are transformed by simple scalar products and it is shown that the resulting differential equations are completely equivalent to the differential equations obtained from the Lagrangian of the system. The method is applicable to connected rigid multi body systems in the presence of holonomic and nonholonomic constraints, a possibility available by the methodology used in the present work 6. Figure 1 shows an example of a simple system composed by two connected joints, and torque and forces applied.

Figure 1:
System with two constrained plane links.

Figure 2: gives the geometry of this system, showing the position and orientation of each torque and forces applied.

Figure 2:
Links geometry and applied forces and torques.

The first of Figure 2 is the link OA and the second is the link AB. We have set the lengths to be 2L 2 and 2L 1, for simplicity of the geometry and mechanics involved.

Classical work by Roberson 11, Wittenburg 15, and Shabana 14 on multi-bodies systems use classical approaches to this matter, treating each body as a separate entity of these systems. Schiehlen 12 presents a substantial collection of the most efficient algorithms for calculating rigid-body dynamics, but as we understand no composed vectors, suggested here, are used. This is also observed in revised work of this author Schiehlen 13.

A more elaborate algorithm is given by Featherstone 3 where the author informs that rigid body dynamics algorithms presented are the subject of computational rigid-body dynamics through the medium of spatial 6D vector notation.

In the present article we actually use an algorithm with 6N-dimensional vectors, where N is the number of connected bodies involved.

2 DYNAMICS OF THE SYSTEM

We consider a mechanical system constituted by N rigid links connected by rotational joints. The position and orientation of each link is represented by the coordinates of its centre of mass and by a set of three Euler angles each. The number of degrees of freedom of the system, using a set of generalised coordinates, for instance the Denawitt-Hartenberg parameters 7, is represented by n < Ngeneralised coordinatesq=(q1, q2,..., qn), associated to q˙=(q˙1,..., q˙n)generalised velocities and q¨=(q¨1,..., q¨n)generalised accelerations associated to configuration q. The linear velocities of the centre mass of each link and their angular velocities, represented by vectors

υ → i ( q , q ˙ ) = ∑ α = 1 n q α υ → α i q ω → i ( q , q ˙ ) = ∑ α = 1 n q α ω → α i q (2.1)

Vectors ν→αi and ω→αi defined in Eq. (2.1) are the linear and angular velocities of link i(i=1,..., n) in the state where all generalised velocities are zero except the one (α) which is unitary. The absolute value of vector ν→αi is the distance 𝓁i between point C i and a reference joint J i . Vectors ω→αi are dimensionless. The linear and angular accelerations are given by

d υ → i d t q , q ˙ , q ¨ = d d t ∑ α = 1 n q ˙ α υ → α i q = ∑ α = 1 n q ¨ α υ → α i q + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ ∂ υ → β i ∂ q γ q (2.2)

d ω → i d t q , q ˙ , q ¨ = d d t ∑ α = 1 n q ˙ α ω → α i q = ∑ α = 1 n q ¨ α ω → α i q + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ ∂ ω → β i ∂ q γ q (2.3)

The distributions of actions on each link is the pair F→i, N→i and corresponds to all actions (forces and torques) acting on link i, using as pole their centres of mass Ci(i=1,..., n). Euler equations for any particular link i are given by

N → i q , q ˙ , q ¨ = I i d ω → i d t + ω → i × I i ω → i = = I i ∑ α = 1 n q ¨ α ω → α i q + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ ∂ ω → β i ∂ q γ q + + ∑ β = 1 n q ˙ β ω → β i q × I i ∑ γ = 1 n q ˙ γ ω → γ i q = ∑ α = 1 n q ¨ α I i ω → α i q + + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ ∂ I i ω → β i ∂ q γ q + ω → β i q × I i ω → γ i q (2.4)

Newton’s Equation for the force acting on the centre of mass C i of link i is given by

F → i q , q ˙ , q ¨ = m i d υ → i d t + m i ∑ α = 1 n q ¨ α υ → α i q + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ ∂ υ → β i ∂ q γ q = ∑ α = 1 n q ¨ α m i υ → α i q + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ m i ∂ υ → β i ∂ q γ q (2.5)

The results of the above evaluations corresponding to the 3n set (q, q˙, q¨) is represented by F→i(q, q˙, q¨) and N→i(q, q˙, q¨) for i=1,..., n.

The composed vector represented by v→w→ is given by the

ν → ω → = ν → 1 , ω → 1 , ν → 2 , ω → 2 , . . . , ν → n , ω → n (2.6)

and from the above expressions for the linear and angular velocities it is found that

ν → ω → = ∑ α = 1 n q ˙ α ν → ω → α (2.7)

where

ν → ω → α = ν → α 1 , ω → α 1 , ν → α 2 , ω → α 2 , . . . , ν → α n , ω → α n (2.8)

with components defined as above. The 6n-dimensional vector v→w→ is the vector of virtual velocities associated to the state (q, q˙) of the system.

The pair force-torque is represented by F→i, N→i,(q, q˙, q¨) where the components vectors are given by F→i(q, q˙, q¨) and N→i(q, q˙, q¨) with (i=1,..., n) and corresponding to the 3n-dimensional set (q, q˙, q¨).

Newton-Euler equations give the resulting forces F→i(q, q˙, q¨) and torques N→i(q, q˙, q¨) acting on link i(i=1,...,N) corresponding to the 3n-dimensional set (q, q˙, q¨).

These 2n three dimensional vectors can be composed in only one 6n-dimensional vector F→N→(q, q˙, q¨), given by

F → N → ( q , q ˙ , q ¨ ) = F → 1 ( q , q ˙ , q ¨ ) , N → 1 ( q , q ˙ , q ¨ ) , . . . , F → n ( q , q ˙ , q ¨ ) , N → n ( q , q ˙ , q ¨ ) (2.9)

The dynamical equations for the mechanical system considered are obtained as follows. The expressions derived above (Eqs. (2.4) and Eqs. (2.5) ) for F→i(q, q˙, q¨) and N→i(q, q˙, q¨) can be condensed in a unique composed 6n-dimensional vector

F → N → ( q , q ˙ , q ¨ ) = ∑ α = 1 n q ¨ α P → L → α q + ∑ β = 1 n ∑ γ = 1 n q ˙ β q ˙ γ X → Y → β γ q (2.10)

Where

P → L → α = P → α 1 , L → α 1 , P → α 2 , L → α 2 , . . . , P → α n , L → α n (2.11)

and

X → Y → β γ = X → β γ 1 , Y → β γ 1 , X → β γ 2 , Y → β γ 2 , . . . , X → β γ n , Y → β γ n α , β , γ = 1 , . . . , n (2.12)

are given by

P → α i q = m i υ → α i q L → α i q = I i ω → α i q (2.13)

Vectors P→αi and L→αi above defined represent the linear and angular momenta of link i in the state of the system where only the α velocity is different from zero and unitary, all other being zero.

We also have that

X → β γ i q = m i ∂ υ → β i ∂ q γ q Y → β γ i q = I i ∂ ω → β i ∂ q γ q + ω → β i q × I i ω → γ i q (2.14)

for i=1,...,n.

It should be noted that the scalar product of two composed vectors must satisfy the physical meaning of such product. As an example, consider the power associated to the composed vector

F → N → q , q ˙ , q ¨ = F → 1 q , q ˙ , q ¨ , N → 1 q , q ˙ , q ¨ , . . . , F → n q , q ˙ , q ¨ , N → n q , q ˙ , q ¨ (2.15)

The scalar product of this force-torque action by the linear-angular velocity composed vector v→ω→=(v→1,ω→1,v→2,ω→2,...,v→n,ω→n) is given by

F → N → q , q ˙ , q ¨ ∘ υ ω → q , q ˙ = ∑ i = 1 n F → i ∘ ν → i + N → i ∘ ω → i (2.16)

The differential equations of motion of the composed system derived by simple vector algebra give an equivalent result as that given by the explicit form of Euler-Lagrange’s Equations 4), (10. In fact, consider the composed vectors, for α=1,2,...,n,

ν → ω → α = ν → α 1 , ω → α 1 , . . . , ν → α n , ω → α n (2.17)

where vectors v→αi, w→αi have been defined by Eq. (2.1),

υ → i q , q ˙ = ∑ α = 1 n q ˙ α υ → α i q ω → i q , q ˙ = ∑ α = 1 n q ˙ α ω → α i q (2.18)

Consider Eq. (2.11) and the scalar product

P → L → α q ∘ ν → ω → γ q = ∑ i = 1 n P → α i ∘ ν → γ i + L → α i ∘ ω → γ i = = ∑ i = 1 n m i ν → α i ∘ ν → γ i + I i ω → α i ∘ ω → γ i = a γ α q (2.19)

The coefficients a γα (q) are the coefficients of the quadratic terms q˙γq˙α in the total kinetic energy of the system, that is

T = 1 2 ∑ α ∑ β a α β q ˙ α q ˙ β (2.20)

The first part of Eq. (2.19) on the right hand side is the linear kinetic energy (except for a factor q˙αq˙γ2 of link i because the velocity of the centre of mass C i of this link associated to the generalised coordinate (angle) q α is precisely ν→αi except for a factor q˙α. The second part is the rotational kinetic energy of this same link except for the same factor q˙αq˙γ2.

The same scalar product is now applied to the second term on the right-hand side of Eq. (2.11), giving

X → Y → α β ∘ ν → ω → γ q = ∑ i = 1 n m i ∂ ν → α i ∂ q β ∘ ν → γ i + ∑ i = 1 n ∂ I i ω → α i ∂ q β + ω → α i × I i ω → β i ∘ ω → β i = α β α γ q (2.21)

The coefficients aβαγ(q) correspond to the Christoffel Brackets γβα resulting from the quadratic part of Euler-Lagrange’s Equations when the constraints are time independent and considering unitary linear and angular velocities. Taking into account the definition of the coefficients a γα (q) given by Eq. (2.21) and comparing Eq. (2.22) with the classical definition 1), (4

i β α = ∂ a i α ∂ q β + ∂ a i β ∂ q α - ∂ a α β ∂ q i (2.22)

it is seen that there is an exact correspondence between the two definitions.

The same scalar product applied to the force-torque composed vector given by Eq. (2.16), gives

F → N → q , q ˙ , q ¨ ∘ ν → ω → γ q = ∑ i = 1 n F → i ∘ ν → γ i + ∑ i = 1 n N → i ∘ ω → γ i = Q γ (2.23)

Quantities Q γ are the generalised forces and give a direct physical interpretation of these quantities. From Eq. (2.23) the dimension of the generalised forces associated to an angular generalised coordinate q α shows that it corresponds to the torque of the applied force with respect to joint J i .

With the above definitions, the equations of motion for the generalised coordinates assume the known form

∑ α a γ α q ¨ α + ∑ α ∑ β γ β α q ˙ α q ˙ β = Q γ (2.24)

From Eq. (2.24) we obtain the explicit form of Euler-Lagrange’s Equations for a system with time independent constraints given by

q ¨ s + ∑ α ∑ β s β α q ˙ α q ˙ β = Q s (2.25)

where we have used the usual Christoffel Parentheses 9) and the generalised forces Q s corresponding to the action on the generalised coordinate q s .

The above development shows how the use of composed vectors leads to Euler-Lagrange’s Equations of motion of a system composed of connected rigid bodies. The computation of all quantities involved in Eq. (2.19) is straightforward from the computation of forces and torques acting on the system.

3 APPLICATION: TWO-LINK ARTICULATED ARM

A simple example will be used in order to follow the mathematical formalism without complicating the physical system. We consider the simple two-link system shown in Figure 1 and representing two articulated links on a fixed base.

The rotational joint J 1 is articulated to a fixed support. The rotational joint J 2 is connecting links OA and AB whose lengths are L 1 and 2L 2. The system moves on a fixed vertical plane. The generalised coordinates are the angles θ1=q1 e θ2=q2, that links OA and AB make with a fixed horizontal line, so that its time derivatives are the absolute angular velocities of each link. This is done instead of defining the angle θ=θ2−θ1 between links OB and AO, as it is done in usual robots’ kinematics. For the purpose of this example there is no point in adopting this notation. The positions of points C 1 and C 2 are given by

C 1 − O = L 1 ( c 1 e → 1 + s 1 e → 2 ) (3.1)

C 2 − O = 2 L 1 ( c 1 e → 1 + s 1 j ^ ) + L 2 ( c 2 e → 1 + s 2 j ^ ) (3.2)

where e→1,e→2 is an inertial base and c1=cosq1, s1=sinq1, c2=cosq2 and s2=sinq2.

The linear velocities of these points are

v → 1 = q ˙ 1 v → 11 + q ˙ 2 v → 21 v → 11 = L 1 ( - s 1 e → 1 + c 1 e → 2 ) v → 21 = 0 → v → 2 = q ˙ 1 v → 21 + q ˙ 2 v → 22 v → 12 = 2 L 1 ( - s 1 e → 1 + c 1 e → 2 ) v → 22 = L 2 ( - s 2 e → 1 + c 2 e → 2 ) (3.3)

The angular velocities of each link are

ω → 1 = q ˙ 1 ω → 11 ω → 2 = q ˙ 2 ω → 22 (3.4)

where

ω → 11 = ω → 22 = e → 3 (3.5)

since angles have been chosen to be with respect to an inertial line.

The accelerations of these points are also easily found

d v → 1 d t = q ¨ 1 v ¯ 11 + q ˙ 1 q ˙ 1 a → 11 a → 11 = - L 1 c 1 e → 1 + s 1 e → 2 d v → 2 d t = q ¨ 1 v ¯ 12 + q ¨ 2 v → 22 + q ˙ 1 q ˙ 1 a → 12 + q ˙ 2 q ˙ 2 a → 22 a → 12 = - 2 L 1 c 1 e → 1 + s 1 e → 2 a → 22 = - L 2 c 2 e → 1 + s 2 e → 2 ω → ˙ 1 = q ¨ 1 e → 3 ω → ˙ 2 = q ¨ 2 e → 3 (3.6)

For the example of Figure 1 it is found that

F → 1 q , q ˙ , q ¨ = - m 1 g e ^ 2 F → 2 q , q ˙ , q ¨ = - m 2 g e ^ 2 N → 1 q , q ˙ , q ¨ = N 1 e → 3 N → 2 q , q ˙ , q ¨ = N 2 e → 3 (3.7)

In the equation

F N → q , q ˙ , q ¨ = ∑ α = 1 2 q ¨ α P L → α ( q ) + ∑ β = 1 2 ∑ γ = 1 2 q ˙ β q ˙ γ X Y → β γ ( q ) (3.8)

we find that

P L → 1 = m 1 v ¯ 11 q 1 , I 1 e → 3 , m 2 v ¯ 12 q 1 , 0 → P L → 2 = m 2 v ¯ 21 q 1 , 0 → , m 2 v ¯ 22 q 1 , I 2 e → 3 X Y → 11 ( q ) = m 1 a → 11 q 1 , 0 → , m 2 a → 12 q 1 , 0 → X Y → 22 ( q ) = 0 → , 0 → , m 2 a → 22 q 2 , 0 → (3.9)

and all other composed vectors being zero.

The differential equation of motion is

F N → F → 1 , N → 1 , F → 2 , N → 2 = q ¨ 1 P L → 1 + q ¨ 2 P L → 2 + q ˙ 1 q ˙ 1 X Y → 11 + q ˙ 2 q ˙ 2 X Y → 22 (3.10)

with the above definitions for the coefficients of this equation.

We now consider the composed vectors

v ω → 1 = v ¯ 11 q 1 , e → 3 , v ¯ 12 q 1 , 0 → v ω → 2 = v ¯ 21 q 1 , 0 → , v ¯ 22 q 1 , e → 3 (3.11)

It is easily found that

F N → ∘ v ω → 1 = - m 1 + 2 m 2 g l 1 c 1 + N 1 = Q 1 F N → ∘ v ω → 2 = - m 2 g l 2 c 2 + N 2 = Q 2 (3.12)

It is also easily found that

P L → 1 ∘ v ω → 1 = m 1 + 4 m 2 l 1 2 + I 1 = a 11 ( q ) P L → 1 ∘ v ω → 2 = 2 l 1 l 2 m 2 c 12 c 12 = cos q 1 - q 2 = a 21 P L → 2 ∘ v ω → 1 = 2 m 2 l 1 l 2 c 12 = a 12 P L → 2 ∘ v ω → 2 = m 2 l 2 2 + I 2 = a 22 (3.13)

From the definition of the Christoffel Brackets, in this particular example it is found that the only non-zero bracket is

a 22 1 = 2 m 2 l 1 l 2 s 12 s 12 = sin q 1 - q 2 (3.14)

The differential equations are given by

m 1 + 4 m 2 l 1 2 + I 1 q ¨ 1 + 2 m 2 l 1 l 2 c 1 2 q ¨ 2 + 2 m 2 l 1 l 2 s 12 q ˙ 2 q ˙ 2 = m 1 + 2 m 2 g l 1 c 1 + N 1 (3.15)

2 l 1 l 2 m 2 c 12 q ¨ 1 + m 2 l 2 2 + I 2 q ¨ 2 = - m 2 g l 2 c 2 + N 2 (3.16)

Collecting constant coefficients

A 1 q ¨ 1 + B 1 cos q 1 - q 2 q ¨ 2 + C 1 sin q 1 - q 2 q ˙ 2 q ˙ 2 = D 1 cos q 1 N 1 (3.17)

A 2 cos q 1 - q 2 q ¨ 1 + B 2 q ¨ 2 = C 2 + D 2 cos q 2 + N 2 (3.18)

In order to have explicit equations for q¨1 and for q¨2 it is a simple matter of solving the above system for these two quantities. In this simple example, expressing q¨1 in terms of all other terms in Eq. (3.18) and substituting into Eq. (3.17) we obtain a differential equation containing only the first and second derivatives of q 2 and the first derivative of q 1 with coefficients functions of both variables q 1 and q 2. Obviously, this is the well-known problem of a double pendulum with the additional complication of the presence of torques applied to the two arms of the pendulum.

4 CONCLUSION

It has been shown that the use of composed linear-angular velocities and force-torque vectors, a new method of representing kinematical and dynamical quantities, is a very efficient and compact form to derive the dynamical equations of multi-body, as compared with classical approaches.

ACKNOWLEDGEMENTS

Dr. Giorgio Eugenio Oscare Giacaglia thanks his ”Productivity Scholarship in Technological Development and Innovative Extension”, supported by the Brazilian National Council for Scientific and Technological Development (CNPq), grant number 314689/2018-4.

Dr. Wendell de Queiro’z Lamas thanks his ”Productivity Scholarship in Research”, supported by the Brazilian National Council for Scientific and Technological Development (CNPq), grant number 300992/2018-1.

REFERENCES

  • 1 R. Abraham & J.E. Marsden. “Foundations of Mechanics”. American Mathematical Society (AMS), Providence, RI (2008).
  • 2 S.F. Cortizo & G.E.O. Giacaglia. Dynamics of Multibody: A Geometric Approach (1993).
  • 3 R. Featherstone. “Rigid Body Dynamics Algorithms”. Springer US, Boston, MA (2008).
  • 4 G.E.O. Giacaglia. “Mecânica Analítica”. Almeida Neves, Rio de Janeiro, RJ (1977).
  • 5 G.E.O. Giacaglia & H.C. Kottke. “The Newton-Euler Multibody Equations Revisited”. Associação Brasileira de Engenharia e Cieˆncias Mecânicas (ABCM), Rio de Janeiro, RJ (2007).
  • 6 G.E.O. Giacaglia & W.Q. Lamas. Notes on Newton-Euler formulation of robotic manipulators. Proc. Inst. Mech Eng Pt K-J Multi-Body Dyn., 226 (2012), 61-71.
  • 7 A. Goldenberg, B. Benhabib & R. Fenton. A complete generalized solution to the inverse kinematics of robots. IEEE J. Robot. Autom., 1 (1985), 14-20.
  • 8 H.C. Kottke. Uma Visão Global de Newton-Euler Aplicada à Robótica (2006).
  • 9 P. Libermann & C.M. Marle. “Symplectic Geometry and Analytical Mechanics”. Springer Netherlands, Dordrecht (2012).
  • 10 J.E. Marsden & J. Scheurle. The reduced Euler-Lagrange equations. Fields Inst. Comm., 1 (1993), 139-164.
  • 11 R.E. Roberson & R. Schawertassek. “Dynamics of Multibody Systems”. Springer-Verlag, Berlin (1988).
  • 12 W. Schiehlen. “Multibody Systems Handbook”. Springer-Verlag , Berlin (1990).
  • 13 W. Schiehlen & P. Eberhard. “Technische Dynamik”. Springer-Verlag , Wiesbaden (2017).
  • 14 A.A. Shabana. “Dynamics of Multibody Systems”. Cambridge University Press, Cambridge (2013).
  • 15 J. Wittenburg. “Dynamics of Systems of Rigid Bodies”. Vieweg+Teubner Verlag, Wiesbaden (1977).

*

Corresponding author: G. E. O. Giacaglia - E-mail: giacaglia@gmail.com

Publication Dates

  • Publication in this collection
    03 Aug 2020
  • Date of issue
    May-Aug 2020

History

  • Received
    20 Oct 2019
  • Accepted
    26 Apr 2020
location_on
Sociedade Brasileira de Matemática Aplicada e Computacional Rua Maestro João Seppe, nº. 900, 16º. andar - Sala 163 , 13561-120 São Carlos - SP, Tel. / Fax: (55 16) 3412-9752 - São Carlos - SP - Brazil
E-mail: sbmac@sbmac.org.br
rss_feed Acompanhe os números deste periódico no seu leitor de RSS
Ir para o topo