Abstract
Euler’s equation relates the change in angular momentum of a rigid body to the applied torque. This paper uses Lagrangian dynamics to derive Euler’s equation in terms of generalized coordinates. This is done by parameterizing the angular velocity vector in terms of 3-2-1 and 3-1-3 Euler angles as well as Euler parameters, that is, quaternions. This paper fills a gap in the literature by using generalized coordinates to parameterize the angular velocity vector and thereby transform the dynamics obtained from Lagrangian dynamics into Euler’s equation for rigid-body rotation.
MSC:
70A05; 70H03
1. Introduction
The rotational dynamics of a rigid body are modeled by Euler’s equation [1] (p. 59), which relates the rate of change of the body angular momentum to the net torque. Let denote the angular velocity of the body relative to an inertial frame, let denote the inertia matrix of the body relative to its center of mass, and let denote the net torque applied to the body. All of these quantities are expressed in the body frame. Applying Newton–Euler dynamics yields Euler’s equation
An alternative approach to obtaining the dynamics of a mechanical system is to apply Hamilton’s principle in the form of Lagrangian dynamics given by
where T is the kinetic energy of the system, q is the vector of generalized coordinates, and Q is the vector of generalized forces arising from all external and dissipative forces and torques, including those arising from potential energy. Here, denotes the total time derivative, and and denote the partial derivatives with respect to and respectively.
For a mechanical system consisting of multiple rigid bodies, (2) obviates the need to determine conservative contact forces, which, in the absence of dissipative contact forces, circumvents the need for free-body analysis [2]. For the case of a single rigid body, however, (2) offers no advantage relative to a Newtonian-based derivation of Euler’s equation. A Lagrangian-based derivation of Euler’s equation is given in [3] (p. 281) using Lagrangian dynamics on Lie groups. As an alternative derivation of (1), the present note uses generalized coordinates within the context of classical Lagrangian dynamics. Related work includes [4,5], both of which use generalized coordinates to model the dynamics of linkages. The present paper extends [4,5] by deriving Euler’s equation using both Euler angles and quaternions to parameterize the angular velocity vector. In particular, the present paper fills a gap in the literature by using generalized coordinates to parameterize the angular velocity vector and thereby transform the dynamics obtained from Lagrangian dynamics into Euler’s equation for rigid-body rotation. Among all possible sequences consisting of three Euler-angle rotations, there are six that have three distinct axes and six that have the same first and last axes, for a total of twelve distinct sequences [6] (p. 764). Relabeling axes allows us to consider two representative sequences, namely, 3-2-1 (azimuth-elevation-bank) and 3-1-3 (precession-nutation-spin). These choices are commonly used for aircraft and spacecraft, respectively. As a further example, Euler parameters (quaternions) are also considered.
Notation: denotes the identity matrix, and denotes the transpose of For denotes the cross product of x and and denotes the cross-product matrix
where so that .
2. Preliminary Results
For a single rigid body, let denote generalized coordinates, and assume that the angular velocity can be parameterized as
where .
Assuming that the net force is zero and thus the center of mass of the body has zero inertial acceleration, it follows that
and thus,
Furthermore, it follows from [2] (8.10.6) that
Now, combining (7)–(9) with (2) yields
If is non-singular, then
which can be viewed as Euler’s equation expressed in terms of arbitrary generalized coordinates.
Next, noting that
Equation (11) can be written as
Comparing (13) with Euler’s Equation (1) written in terms of the angular velocity implies
Our objective is to verify this identity for rotations parameterized by Euler angles and Euler parameters (quaternions).
For the following result, the columns of are denoted by and so that
We note that (a) is given by Equation (A24) of [7].
Proposition 1.
Define S by (4). Then, the following properties are equivalent:
- (a)
- For all q and ,
- (b)
- For all q and ,
- (c)
- For all q,
Now, assume that is non-singular. Then, (a)–(c) are equivalent to
The following lemmas are needed.
Lemma 1.
Let and Then,
Proof.
of Fact 4.12.1 in [8] (p. 385). □
Lemma 2.
Let Then,
Now, let Then,
Proof.
of Fact 4.12.1 in [8] (p. 385). In the case where A is non-singular, the second statement follows from (22) and (23). In the case where A is singular, the conclusion follows by continuity since both sides of (24) are continuous functions of the columns of A and the set of non-singular matrices is dense in . □
Proof of Proposition 1.
Note that
Furthermore, it follows from (24) that:
Therefore, (25) and (26) imply that (a) and (b) are equivalent.
To prove that (b) and (c) are equivalent, note that (b) is equivalent to for all , where L and R are the linear operators defined for all by
Since R and L are linear, it follows that for all if and only if:
where , , and because is a basis of .
3. Verification of (18)–(20) for 3-2-1 Euler Angles
Letting denote 3-2-1 (azimuth-elevation-bank) Euler angles, it follows that
where
Note that and thus is singular if and only if gimbal lock occurs. Hence,
5. Verification of (21) for Euler Parameters
To avoid gimbal lock, an alternative approach is to use Euler parameters (quaternions). In this case,
where is the eigenangle and is the unit eigenaxis. Since it follows that and thus the generalized coordinates are With this notation, assuming that and thus it follows that (4) holds with
6. Conclusions
For a single unconstrained rigid body, this paper filled a gap in the literature by using generalized coordinates to parameterize the angular velocity vector and thereby transform the dynamics obtained from Lagrangian dynamics into Euler’s equation for rigid-body rotation. The derivation, which relies on matrix techniques and cross-product identities, strengthens the connection between Lagrangian and Newton–Euler dynamics.
Author Contributions
Conceptualization, D.S.B. and A.G.; Formal analysis, O.K.; Writing—original draft, D.S.B.; Writing—review and editing, A.G. and O.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Not applicable.
Acknowledgments
The authors are grateful to the reviewers for numerous helpful suggestions.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Hughes, P.C. Spacecraft Attitude Dynamics; Wiley: Hoboken, NJ, USA, 1986. [Google Scholar]
- Baruh, H. Analytical Dynamics; McGraw-Hill: New York, NY, USA, 1999. [Google Scholar]
- Lee, T.; Leok, M.; McClamroch, N.H. Global Formulations of Lagrangian and Hamiltonian Dynamics on Manifolds; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar]
- Hollerbach, J.M. A Recursive Lagrangian Formulation of Maniputator Dynamics and a Comparative Study of Dynamics Formulation Complexity. IEEE Trans. Sys. Man Cyber. 1980, 10, 730–736. [Google Scholar] [CrossRef]
- Silver, W.M. On the Equivalence of Lagrangian and Newton-Euler Dynamics for Manipulators. Int. J. Robot. Res. 1982, 1, 60–70. [Google Scholar] [CrossRef]
- Wertz, J.R. Spacecraft Attitude Determination and Control; Reidel: Dordrecht, The Netherlands, 1980. [Google Scholar]
- Meirovitch, L.; Stemple, T. Hybrid Equations of Motion for Flexible Multibody Systems Using Quasicoordinates. J. Guid. Control Dyn. 1995, 18, 678–688. [Google Scholar] [CrossRef]
- Bernstein, D.S. Scalar, Vector, and Matrix Mathematics: Theory, Facts, and Formulas; Princeton University Press: Princeton, NJ, USA, 2018. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).