Abstract
It is known that three-parameter representations of spatial rotation suffer from kinematic singularities. Euler parameters (unit quaternions) are a four-parameter solution for this issue. However, a normality constraint needs to be enforced while implementing this set of four parameters, otherwise the mass matrix in the equations of motion will be singular. This paper discusses an approach to enforce this normality constraint using a redefinition of the state space in terms of quasi-velocities, along with the standard elimination of dependent variables at the velocity and acceleration level. The approach is implemented on a 3D double pendulum example.
Similar content being viewed by others
Availability of data
All data generated from the simulations are included within this article.
References
Andrle, M.S., Crassidis, J.L.: Geometric integration of quaternions. J. Guidance Control Dyn. 36(6), 1762–1767 (2013). https://doi.org/10.2514/1.58558
Betsch, P.: On the use of Euler parameters in multibody dynamics. PAMM 6(1), 85–86 (2006). https://doi.org/10.1002/pamm.200610023
Betsch, P., Siebert, R.: Rigid body dynamics in terms of quaternions: Hamiltonian formulation and conserving numerical integration. Int. J. Numer. Methods Eng. 79(4), 444–473 (2009). https://doi.org/10.1002/nme.2586
Bowling, A.: Vector Mechanics: A Systematic Approach. Aqualan Press, LLC, New York (2018)
Chou, J.C.K.: Quaternion kinematic and dynamic differential equations. IEEE Trans. Robot. Autom. 8(1), 53–64 (1992). https://doi.org/10.1109/70.127239
Crouch, P.E., Grossman, R.: Numerical integration of ordinary differential equations on manifolds. J. Nonlinear Sci. 3(1), 1–33 (1993). https://doi.org/10.1007/BF02429858
Diebel, J.: Representing attitude: Euler angles, unit quaternions, and rotation vectors. https://www.astro.rug.nl/software/kapteyn-beta/_downloads/attitude.pdf (2006). Accessed 10 Jan 2022
Haghshenas-Jaryani, M., Bowling, A.: A new switching strategy for addressing Euler parameters in dynamic modeling and simulation of rigid multibody systems. Multibody Syst. Dyn. 30(2), 185–197 (2013)
Hurtado, J.E., Sinclair, A.J.: Lagrangian mechanics of overparameterized systems. Nonlinear Dyn. 66(1), 201–212 (2011). https://doi.org/10.1007/s11071-010-9921-1
Kane, T.R., Levinson, D.A.: Dynamics: Theory and Applications. McGraw Hill, New York (1985)
Möller, M., Glocker, C.: Rigid body dynamics with a scalable body, quaternions and perfect constraints. Multibody Syst. Dyn. 27(4), 437–454 (2012)
Munthe-Kaas, H.: Runge–Kutta methods on Lie groups. BIT Numer. Math. 38(1), 92–111 (1998). https://doi.org/10.1007/BF02510919
Nikravesh, P.E., Wehage, R.A., Kwon, O.K.: Euler parameters in computational kinematics and dynamics. Part 1. J. Mech. Transm. Autom. Des. 107(3), 358–365 (1985)
Nikravesh, P.E., Wehage, R.A., Kwon, O.K.: Euler parameters in computational kinematics and dynamics. Part 2. J. Mech. Transm. Autom. Des. 107(3), 366–369 (1985)
O’Reilly, O.M., Varadi, P.C.: Hoberman’s sphere, Euler parameters and Lagrange equations. J. Elast. 56(2), 171–180 (1999). https://doi.org/10.1023/A:1007624027030
Senan, N.A.F., O’Reilly, O.M.: On the use of quaternions and Euler–Rodrigues symmetric parameters with moments and moment potentials. Int. J. Eng. Sci. 47(4), 595–609 (2009). https://doi.org/10.1016/j.ijengsci.2008.12.008
Shabana, A.A.: Euler parameters kinetic singularity. Proc. Inst. Mech. Eng. Part K J. Multi-body Dyn. 228(3), 307–313 (2014)
Sherif, K., Nachbagauer, K., Steiner, W.: On the rotational equations of motion in rigid body dynamics when using Euler parameters. Nonlinear Dyn. 81(1), 343–352 (2015). https://doi.org/10.1007/s11071-015-1995-3
Shivarama, R., Fahrenthold, E.P.: Hamilton’s equations with Euler parameters for rigid body dynamics modeling. J. Dyn. Syst. Meas. Control 126(1), 124–130 (2004). https://doi.org/10.1115/1.1649977
Sveier, A., Sjøberg, A.M., Egeland, O.: Applied Runge–Kutta–Munthe–Kaas integration for the quaternion kinematics. J. Guidance Control Dyn. 42(12), 2747–2754 (2019). https://doi.org/10.2514/1.G004578
Udwadia, F.E., Schutte, A.D.: An alternative derivation of the quaternion equations of motion for rigid-body rotational dynamics. J. Appl. Mech. (2010). https://doi.org/10.1115/1.4000917
Udwadia, F.E., Schutte, A.D.: A unified approach to rigid body rotational dynamics and control. Proc. R. Soc. A Math. Phys. Eng. Sci. 468(2138), 395–414 (2012). https://doi.org/10.1098/rspa.2011.0233
Vadali, S.: On the Euler parameter constraint. Aerospace Sciences Meetings. American Institute of Aeronautics and Astronautics (1988). https://doi.org/10.2514/6.1988-670
Wehage, R.A., Haug, E.J.: Generalized coordinate partitioning for dimension reduction in analysis of constrained dynamic systems. J. Mech. Des. 104(1), 247–255 (1982)
Yu, W., Pan, Z.: Dynamical equations of multibody systems on Lie groups. Adv. Mech. Eng. 7(3), 1687814015575959 (2015). https://doi.org/10.1177/1687814015575959
Zorić, N.D., Lazarević, M.P., Simonović, A.M.: Multi-body kinematics and dynamics in terms of quaternions: Langrange formulation in covariant form: Rodriguez approach. FME Trans. 38(1), 19–28 (2010)
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1: Double-pendulum equations of motion
The equations of motion for the double pendulum example are computed using Kane’s method. Because the final EOMs are too large, this section does not derive complete EOMs. Rather, it provides important equations in a format discussed in [4], which when evaluated result in the EOMs for the double pendulum.
Rigid Bodies: There are two rigid bodies, the two cylindrical rods of double pendulum.
Inertial Reference Frame and Point: The inertial reference point is N, and N \(= \left( {\widehat{\mathbf {N}}_{1}},{\widehat{\mathbf {N}}_{2}},{\widehat{\mathbf {N}}_{3}} \right) \) is the inertial reference frame shown in Fig. 2.
Other Points and Frames: Points A and B are body-attached points, and they are also the center of gravity of bodies A and B, respectively. Point C represents the spherical joint between two rods. A \(= \left( {\widehat{\mathbf {A}}_{1}},{\widehat{\mathbf {A}}_{2}},{\widehat{\mathbf {A}}_{3}} \right) \) and B \(= \left( {\widehat{\mathbf {B}}_{1}},{\widehat{\mathbf {B}}_{2}},{\widehat{\mathbf {B}}_{3}} \right) \) are body-attached frames shown in Fig. 2 (Tables 2, 3 and 4).
Location Descriptions: The location descriptions provide a formal way of specifying the position of every point that comprises the rigid bodies in the system.
Coordinates: Eight coordinates appear in the location descriptions, where \(e_{A_{0-3}}\) and \(e_{B_{0-3}}\) are Euler parameters representing body A’s and body B’s orientation, respectively. The vector of generalized coordinates, \(\mathbf{q}\), is defined as:
Constraints: The normalization constraints associated with both the Euler parameter sets are given as
Degrees of Freedom (DOFs):
8 coordinates - 2 constraints = 6 DOFs
Velocity: The angular velocity of body A and body B is
The translational velocity of the mass centers A and B and point C is given as
The quasi-velocities required to compute partial derivatives in Kane’s equations of motion are \(\mathbf {u}_A\) and \(\mathbf {u}_B\) which are already defined in Sect. 3.
Acceleration: The angular acceleration of body A and body B is
The translational acceleration of mass centers A and B and point C is given as
Mass Properties: Mass of body A and body B is assumed to be \(m_A\) and \(m_B\), respectively, while the spherical joint is assumed to be massless. The inertia matrix of body A and body B can be given as
Forces and Moments: No external moments are acting on the bodies. Only the gravitational force acts on both the bodies. Note that both resultant force and moment vectors given below are expressed in inertial frame. Moments were taken about the mass center of each body.
Equations of Motion: The equations of motion can be computed using the Kane’s equations given below. All the necessary terms are already defined in this appendix.
where \(i= \{ 1,2,3,5,6,7 \}\) and,
Appendix 2: Online constraint embedding method
The virtual work done by the system can be calculated from (43) as follows:
The equation above can also be expressed as
Here, the \(F_i\) and \(F_i^*\) are generated for both the dependent and independent generalized coordinates. Note that any holonomic constraint can be expressed in a form that is linear in the virtual displacements. Let’s say that we are solving for a system that has five generalized coordinates and two constraints. Thus, the relationship between dependent and independent virtual displacements can be given as
where the subscripts ‘\(D\)’ and ‘\(I\)’ denote a dependent or independent virtual displacement, respectively. Substituting the equation above in Eq. (45) yields
Because the virtual displacements in the equation above are independent, the only way for the virtual work to be equal to zero for any values they may take is when their coefficients are zero for all time. Thus, it can be shown that
where \(p\) and \(q\) are the number of independent and dependent generalized coordinates, respectively. And, \(i = \{1,2,3,...,p\}\).
Rights and permissions
About this article
Cite this article
Joshi, V., Guy, A. & Bowling, A. Elimination approach toward normalization constraint for Euler parameters. Nonlinear Dyn 108, 1479–1493 (2022). https://doi.org/10.1007/s11071-022-07236-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11071-022-07236-6