Abstract
The implicit methods on Lie group are developed for multibody system dynamics. To avoid the violation of the displacement, velocity and acceleration constraints of the nonlinear differential-algebraic equations, the constraint-stabilized equations on Lie group are formulated. The implicit method for the Euler–Lagrange equations and the symplectic Euler method for the constrained Hamilton equations are presented. These methods can keep the stability of the displacement, velocity and acceleration constraints at the same time during the longer simulation. A three-dimensional single pendulum and a three-dimensional double pendulum are used to verify the accuracy of the constraint-stabilized Euler methods on Lie group and the orthogonality preservation of the rotation matrix.
Keywords
Introduction
Differential-algebraic equations (DAEs), which have strong nonlinearity that need special numerical integrations,1–3 are the common form in Lagrangian and Hamiltonian dynamics of multibody system. The traditional methods for DAEs are developed by ordinary differential equations (ODEs).4,5 Researches focus on the stability of the constraints which have influence on the stability of the numerical methods of DAEs.
The structure preserving integration methods6,7 developed in recent years improve the numerical stability through keeping as many invariants of continuous systems, such as symplectic algorithms, 8 energy methods,9–11 energy preserving variational integrations based on the discrete variational principles of mechanics,12–14 and Lie group methods. 15 Among them, Lie group methods keep the special orthogonal group characteristics of body motion, while other approaches focus on the parametric expression of the body motion, 16 such as the classical Euler angles and Bryant angles. The corresponding algorithm cannot keep the inherent characteristics of Lie groups.
The singularity caused by the parametric expression can be effectively avoided by using the special orthogonal groups17–20 directly. Because of the non-vector characteristics in group space, the traditional numerical integrations cannot be used directly. The algorithm designed by Lie algebra vector is proposed earlier in Simo and Vu-Quoc 21 and Lewis and Simo 22 to maintain the orthogonality of the attitude matrix with the aim of numerical stability. The basic researches are the CG (Crouch–Grossman) method 23 and MK (Munthe-Kaas) method 24 for the matrix differential equations. The CG method is based on the canonical coordinates of the second kind (CCSK) which is discrete Lie algebra vector and is applied in the generalized-α method for index 3 DAEs.25–27 The MK method is based on the canonical coordinates of the first kind (CCFK) which is discrete pseudo-rotation angle increment and is applied in the Runge–Kutta method for index 1 DAEs.28,29 The basic approaches in solving the matrix differential equations are similar to the developed methods of multibody dynamics in Park and Chung 30 and Ding et al. 31 The aforementioned methods do not involve the constraint stabilization.
The stability of the constraints means that the constraints are always satisfied during the simulation of multibody systems. Furthermore, the velocity constraints and the acceleration constraints are also satisfied. Numerical methods for DAEs with indices 1, 2, and 3 can only keep one of the stabilities of the displacement, velocity, and acceleration constraints. One of the widely used method is Baumgarte’s constraint stabilization method,32,33 which introduces the displacement and velocity constraints into the acceleration constraint equations by using the feedback control theory to get stabilized dynamic equations through constraint modification. This method only improves the constraint violation partly. Gear et al. 34 presented an approach of reducing the index 3 DAEs to index 2 to keep the constraint stabilization by adding variables. This method essentially used the projection method, which is another efficient method to avoid the constraints violation. 35 In Gear’s method, the acceleration constraint violation still exists. To make the displacement, velocity, and acceleration constraints satisfied exactly at the same time, the new constraint-stabilized method is presented in this article.
For the new constraint-stabilized equations on Lie group of Lagrangian and Hamilton dynamics, the implicit Euler method, which is a special case of the implicit multi-step methods and implicit Runge–Kutta methods, is used to solve the Euler–Lagrange equations. The symplectic Euler method is used to solve the constrained Hamilton equations. The Euler methods on Lie group are significant for relevant higher order algorithm design and large-scale system simulations. For the discrete mapping between Lie group and Lie algebra, the CCSK coordinates are used for implicit first-order CG Euler (CGE) methods of DAEs.
This article is organized as follows. In section “Constraint-stabilized motion equations on Lie group,” the expressions on Lie group for DAEs of Lagrangian and Hamiltonian dynamics are described, and the constraint-stabilized equations are formulated for index 2 and index 1 cases. In section “Implicit Euler methods of Lagrangian and Hamiltonian DAEs,” the implicit Euler methods on Lie group for DAEs are presented. Section “Numerical examples” gives some numerical examples to test and compare the algorithms in section “Implicit Euler methods of Lagrangian and Hamiltonian DAEs.” Conclusions are given finally.
Constraint-stabilized motion equationson Lie group
For a typical multibody system with
The motion equations of multibody systems in Lagrangian dynamics are written as
where
According to the classic index theory, equation (1) is DAEs of index 3, which is named DAE3L_L in this article. The first L means Lagrangian dynamics, and the second L means Lie group. Equation (1) considers only the displacement constraints. Therefore, it will cause the velocity and acceleration constraint violation. Similarly, the following index 2 which is named DAE2L_L here considers only the velocity constraints, and it will cause the displacement and acceleration constraint violation
In Gear et al.,
34
the stabilized index 2 is derived by adding variables
Equation (5) considers only the displacement and velocity constraints, which means only the displacement and velocity constraints are satisfied, while the acceleration constraints violation still exist. In order to satisfy the constraints at the displacement, velocity, and acceleration level, the following stabilized index 1 is formulated by combining the displacement constraints in equation (1), the velocity constraints in equation (2), and the acceleration constraints in equation (3). It is named DAE1L_LS
where
Introducing the canonical coordinates, the constraint-stabilized motion equations of multibody systems on Lie group in Hamilton dynamics are written as
where the generalized momenta
Equation (7) is called DAE1H_LS, in which H means Hamilton dynamics, L means Lie group, and S means stabilization. The DAE3H_L, DAE2H_L, and DAE2H_LS are named similarly as DAE3L_L, DAE2L_L, and DAE2L_LS.
Implicit Euler methods of Lagrangian and Hamiltonian DAEs
The implicit Euler formulations of the generalized coordinate
For the DAEs on Lie group,
Therefore, the first-order discretization of the generalized coordinate is
Substituting equations (11) and (9) into equation (1) at
which is named DAE3L_LE, and E means the implicit Euler method.
Equation (12) is solved by the following Newton–Raphson iterative scheme
where
and
DAE2L_LE formulations are obtained from DAE2L_L by using the implicit Euler formulations (11) and (9). Similarly, the DAE2L_LSE, which is the implicit Euler method of DAEs (5) with index 2 on Lie group, is
The DAE1L_LSE, which is the implicit Euler method of DAEs (6) with index 1 on Lie group, is
In Hamiltonian dynamics, the DAE1H_LSE, which is the symplectic Euler method of the constrained Hamilton equations on Lie group, is
The DAE3H_LE, DAE2H_LE, and DAE2H_LSE are similar to the DAE3L_LE, DAE2L_LE, and DAE2L_LSE.
Numerical examples
Figure 1 is a three-dimensional (3D) single pendulum, in which the generalized coordinate and the corresponding velocity are

A 3D single pendulum.
Figures 2–4 show the results obtained by using the DAE3L_LE method with time step

The trajectory of the end of the 3D single pendulum by DAE3L_LE.

The energies of the single pendulum by DAE3L_LE.

The constraints of the single pendulum by DAE3L_LE.
Figures 5–7 show the displacement, velocity, and acceleration constraints of the 3D single pendulum obtained by different Lie group Euler methods DAE2L_LE, DAE2L_LSE, and DAE1L_LSE. It is illustrated that the stabilized index 2 method DAE2L_LSE can keep the stability of displacement and velocity constraints, and the stabilized index 1 method DAE1L_LSE can keep the stability of displacement, velocity, and acceleration constraints at the same time, which achieve the real constraint stabilization.

The constraints of the single pendulum by DAE2L_LE.

The constraints of the single pendulum by DAE2L_LSE.

The constraints of the single pendulum by DAE1L_LSE.
Figures 8–10 indicate the results of the rotation matrix

The rotation matrix of the single pendulum by DAE1_IELS (

The orthogonality error of the rotation matrix of the single pendulum by DAE1_IELS (

The orthogonality error of the rotation matrix of the single pendulum by DAE1_IELS (

A 3D double pendulum.
Table 1 shows the errors of the total energy and constraints of the 3D single pendulum obtained by different Lie group Euler methods DAE3L_LE, DAE2L_LE, DAE2L_LSE, DAE1L_LSE, DAE3H_LE, DAE2H_LE, DAE2H_LSE, and DAE1H_LSE.
The errors of the total energy and constraints of the single pendulum by different Lie group Euler methods (
Figure 11 illustrates a 3D double pendulum, in which the inertia matrix of the system is
The initial values are
Figures 12–14 show the results obtained by using the DAE1L_LES method with time step

The trajectory of the two mass centers of the 3D double pendulum by DAE1_IELS.

The energies of the double pendulum by DAE1_IELS.

The constraints of the double pendulum by DAE1_IELS.
Figures 15 and 16 show the time history of the nine elements and the orthogonality errors of the rotation matrix

The rotation matrix of the double pendulum by DAE1_IELS.

The orthogonality error of the rotation matrix of the double pendulum by DAE1_IELS.
Table 2 illustrates the errors of the total energy and constraints of the 3D double pendulum obtained by different Lie group Euler methods. It is shown that the maximum errors of constraints by the constraint-stabilized method DAE1L_LSE and DAE1H_LSE are all kept in a very small range. The relative errors of the total energy
The errors of the total energy and constraints of the double pendulum by different Lie group Euler methods (
Conclusion
Constraint-stabilized equations on Lie group of Lagrangian and Hamiltonian dynamics are formulated in this article. The implicit Euler method DAE1L_LSE is presented to solve the Euler–Lagrange equations. The symplectic Euler method DAE1H_LSE is presented to solve the constrained Hamiltonian equations. The methods presented here can keep the stability of the displacement, velocity, and acceleration constraints at the same time during the longer time simulation. Numerical examples verified the accuracy of the constraint-stabilized methods and the orthogonality preservation of the rotation matrix. Based on these methods, higher order algorithms can be easily designed to improve the accuracy and efficiency, so that they can be used in the large-scale system simulations.
Footnotes
Handling Editor: James Baldwin
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The authors gratefully acknowledge the support of National Natural Science Foundation of China (NNSFC) through Grant Nos 11772166, 11472143, and 11472144 and the support of the Young Core Instructor and Domestic Visitor Foundation from the Education Commission of Shandong Province, China (2014).
