Abstract
Transfer matrix method for multibody System (MSTMM) is a new multibody dynamics method developed in recent 20 years. It has been widely used in both science research and engineering for its special features as follows: without global dynamics equations of the system, high programming, low order of system matrix, and high computational speed. Based on MSTMM and its above features, a theorem to deduce automatically the overall transfer equations of multibody systems by handwriting or by computer is proposed in this paper. The theorem is effective for multibody systems with various topological structures, including chain systems, closed-loop systems, tree systems, general systems composed of one tree subsystem, and some closed-loop subsystems. This theorem makes it possible to program large scale software of multibody system dynamics with muchhigher programming, and much higher computational speed because of the above features of MSTMM. Formulations of the proposed method as well as two examples are given to verify this method.
1. Introduction
Lots of methods dealing with multibody system dynamics (MSD) have been studied by many authors since 1960s [1–18]. They are widely used in many engineering fields such as aeronautics, astronautics, spacecraft, vehicle, robot, precision machinery, and biomechanics. It is well known that almost all the previous ordinary methods for MSD have the same characteristics as follows: it is necessary and very complicated to develop the global dynamics equations of the system; the order of system matrix depends on the number of degrees of freedom of the system and hence it is rather high for complex multibody system.
To avoid establishing the global dynamics equations of the system, simplify the study procedure and especially keep high computational efficiency independent of the number of degree of freedom of system in studying MSD, new analytical method for MSD, namely, transfer matrix method for multibody system (MSTMM), is presented by Rui and his co-workers [19–21] and constantly developed in recent 20 years [22–25]. Nowadays, MSTMM is widely applied in science research and engineering [26–29] for the features of this method as follows: study MSD without global dynamics equations of the system, keep low order of the system matrix so very high computational speed, and avoid the difficulties in computation caused by high-order matrices and high programming. It has been proved by lots of theories and experiments that MSTMM is effective for linear time-invariant multibody systems [22], nonlinear time-variant multibody systems, multi-rigid-body systems [19, 21], multi-rigid-flexible-body systems [22–24], and controlled multibody systems [19, 29].
Generally speaking, various multibody systems may be considered as one of the following four cases in topology [24]: (1) chain system, (2) closed-loop system, (3) tree system, (4) general systems composed of one tree subsystem, and some closed-loop subsystems. A chain system can be considered as a special example of a tree system at the case with only two boundary ends. By “cutting” at one connection point of a system, a closed-loop system can be considered as a chain system, and a general system composed of one tree subsystem and some closed-loop subsystems can be dealt with a tree system [24]. Based on MSTMM and its above features, a theorem to deduce automatically the overall transfer equations of various multibody systems mentioned above by handwriting and by computer is proposed in this paper.
2. General Theorems and Steps of MSTMM
2.1. Basic Idea of MSTMM
The basic idea of MSTMM [19] is to break up a multibody system into the elements containing bodies (including rigid bodies, flexible bodies, lumped masses, etc.) and hinges (including joints, ball-and-sockets, pins, springs, rotary springs, dampers and rotary dampers, etc.) whose dynamics properties can be readily expressed in matrix forms. These matrices of elements are considered as building blocks that provide the dynamics properties of the entire system when assembling them together according to the topology of the system. Particularly, the positions of bodies and hinges are considered equivalent in transfer equations and transfer matrices, which is totally different from ordinary methods for MSD [1–18] and results in the very low order of system matrix and very high computational speed in MSTMM.
2.2. State Vector, Transfer Equation, and Transfer Matrix of Element
The same coordinate systems and sign conventions as are described in [19, 21, 30] will be used. The state vector of the connection point between any rigid body and hinge moving in space is defined as
or
where
The state vector of connection point between flexible body and hinge moving in space is defined as
where
For body and hinge elements moving in a plane, a similar definition of the state vector can be introduced, which is a special example of spatial motion.
The transfer equations of the jth element can be obtained easily by rewriting its dynamics equations as follows [19, 21, 30]
where
It should be pointed out that there are general linear relations among accelerations, angular accelerations, forces, and torques of any mechanics system in an inertial coordinate system oxyz, according to Newton motion law and Euler theorem of moment of momentum. It is to say that there are strict linear relations between the state vectors of output end and input end of any element and among all state vectors of a multibody system. Thus, the transfer equation (5) is a general equation and effective for any mechanics element in the inertial coordinate system.
2.3. Overall Transfer Equation and Overall Transfer Matrix of the System
The overall transfer equations of a chain system can be deduced automatically as [19, 24]
where the overall transfer matrix of the system is
From equations (6) and (7), the features of the overall transfer equation for a chain system can be clearly seen; overall transfer matrix of a chain system can be deduced automatically by successive premultiplication of transfer matrices of every element of the system along the transfer path from the one end to another end.
2.4. Solutions of the System Motion
Applying the boundary conditions of the system,
3. Topology Figure of a Multibody System and Sign Conventions
3.1. Topology Figure of a Multibody System
A dynamics model of any complex multibody system can be constructed with dynamics elements including bodies and hinges. In order to describe the transfer relationship among the state vectors of elements and the transfer directions in a system, the topology Figure of the model will be very useful for deduction of overall transfer equation in MSTMM. And the topology figure of the dynamics model of a system, for example, a tree multibody system, as shown in Figure 1, can be got very easily and directly from its dynamics model if using the following sign conventions.

Topology figure of a dynamics model of tree multibody system.
3.2. The Sign Conventions
Besides the sign conventions introduced in [19, 21], the sign conventions as follows are used in the paper.
A circle ○ denotes a body element and the number inside this circle is the sequence number of the body element.
An arrow → denotes a hinge element and the transfer direction of state vectors; the number beside the arrow is the sequence number of the hinge element.
Each body element is dealt with single output end and single input end if the body has two connection ends with other elements; otherwise, it is dealt with single output end and multiple input ends if the body has more two connection ends.
For a nonboundary end, the first and second subscripts, i and j (i,j≠0), in a state vector
In a multibody system, only one boundary end is considered as the root; the state vector of root is noted as
The subscript i in transfer matrix
4. Automatic Deduction of Overall Transfer Equations of System
4.1. Automatic Deduction of the Overall Transfer Equation of a Chain System
The topology Figure of any chain system is shown in Figure 2.

Topology figure of a chain system.
It is clear that we can rewrite the overall transfer equation (6) of the chain system as
From equations (6) or (7), it can be seen clearly that the overall transfer matrix of any chain system
The highest order of the overall transfer matrix is 13 for spatial chain multi-rigid-body system or (13 + n) for chain multi-rigid-flexible-body system, where n is the highest order of the modal considered.
4.2. Automatic Deduction of the Overall Transfer Equations of a Closed-Loop System
For any closed-loop system, whose topology Figure is shown in Figure 3, after “cutting” at the junction of any two adjacent elements such as body 1 and hinge n as shown in Figure 4, consider the couple of “cutting point” as the “boundary ends” with the same state vectors noted as

Topology figure of a closed-loop system.

Topology figure of a closed-loop system after “cutting” the hinge n.
Thus, the transfer equation of the closed-loop system can be deduced automatically as is achieved for the chain system
according to the proposed sign conventions, where
Attention should be paid that the state vectors of a couple of “cutting points” are the same, namely
Then, the transfer equation (9) of the closed-loop system can be deduced automatically by handwriting and by computer
4.3. Automatic Deduction of the Overall Transfer Equations of a Tree System
For each body element with more than two ends, as is mentioned in the convention, only one of the ends is considered as output end and all the other ends are input ends. Moreover, its transfer equations should cover the geometrical relationship between its first input end and output end and describe the mechanical principle for the forces and moments acting on the element. Thus, it can be verified later that the transfer equations of a rigid body j with L input ends can be written in the following form
where the subscript j is the sequence number of the body; O and I1,I2,I3⋯I
L
denote the output end and input ends respectively, and the first input end I1 is considered as the dominant input end;
However, in equation(13), the number of unknown variables is more than that of algebraic equations. Therefore, geometrical equations of the body, which describes the geometrical relationship between the first input end and kth (k = 2, 3, 4,…, L) input end of the body, should be introduced for body elements with single output end and multiple input ends. It is verified later that the geometrical equation can be written in the form of
where
A spatial motion rigid body with more than two ends is shown in Figure 5; the concrete form of the transfer equations and geometrical equations of body element will be exhibited.

A spatial motion rigid body with more than two ends.
The state vectors of inboard ends and outboard ends of the rigid body, as defined in Section 2.2, are
As shown in Figure 5, I k (k = 1, 2,…, L), O, and C denote the inboard ends, outboard end, and mass center of the rigid body, respectively; the coordinate system with subscript 2 denotes the body-fixed coordinate system whose initial point o2 is on the first inboard end I1 of the rigid body. According to the properties of a rigid body, the geometrical relationship between the first inboard end and the outboard end of the rigid body can be obtained as
where
Similarly, the geometrical equations between the first inboard end I1 and the other inboard ends I k (k = 1, 2,…, L) can be obtained easily
Using Newton's laws of motion and considering the sign conventions, the dynamics equations of the rigid body can be obtained in the global inertial reference frame as [30]
where m and
By equations (16), (18), and rewriting them in the form of equation (13), transfer matrices can be obtained as
where
By geometrical equations (17) and rewriting them in the form of equation (14), the concrete form of matrices
It can be clearly seen from equation (19) that the matrix is exactly the same with the transfer matrix of rigid body with single input end and single output end, which in fact can be regarded as a special case of rigid body with more than two ends (multiple input ends and single output end).
Based on the transfer equations and geometrical equations of elements, it is then easy to get the overall transfer equation of the system automatically.
According to the topology Figure of the system shown in Figure 1, the relations among the state vectors and transfer equations of elements can been described more intuitively and directly using topology described by state vectors and transfer equations as shown in Figure 6.

System topology described by state vectors and transfer equations.
Then the main transfer equations of the system in Figure 6 can be easily deduced, that is,
where
Further, the geometrical equation of the body element 9 is
Applying system topology described by state vectors and transfer equations in Figure 6, the state vectors
Substituting equation (26) into equation (25), one obtains
which can be written as
where
Similarly, the geometrical equations corresponding to body elements 10 and 4 can be deduced as
where
The overall transfer equation of the system can be obtained by combining the main transfer equation (23) and all the geometrical equations (28) and (30) of the system:
where
According to the sign conventions and equations (32) and (33), it can be seen clearly that the overall transfer equation of the tree system, such as Figure 1, can be deduced automatically by handwriting and by computer. For more details, see Section 5 please.
As a short conclusion, in the overall transfer equation,
It can be seen clearly that overall transfer equation (8) of a chain system is a special example of overall transfer equations (32) and (33) at the case of the tree system with only two boundary ends.
4.4. Automatic Deduction of the Overall Transfer Equations of a General System
As is shown in Figure 7, a general multibody system can be considered as a system which consists of one tree subsystem and some closed-loop subsystems. After “cutting” at the junction of any two adjacent elements body 16 and hinge 19 in a closed-loop subsystem, a couple of “new boundaries” noted as

Topology figure of a nontree system.

Topology figure of a nontree system becoming a tree system after “cutting” the hinge 19.
It should be pointed out that either
where
n is equal to 3 for planar motion or 6 for spatial motion.
Considering the method proposed in Section 4.3 for a tree system, and regarding equation (34) concerned with the relationship between
where
Considering that
where
5. Automatic Deduction Theorem of Overall Transfer Equation
The following features of the overall transfer equation of a multibody system can be clearly concluded from equations (23), (24), (28), and (30). These features make up the theorem to deduce automatically the overall transfer equation as the following for tree system (1, 2), for chain system (1, 3), for closed-loop system (1, 3, 4), and for general system (1, 2, 5).
The state vectors involved in an overall transfer equation are the column matrix comprising the state vectors of all boundary ends of the system.
For a tree system, in the first line of the overall transfer matrix, the coefficient matrix of the state vector of root is a minus unit matrix, while each coefficient matrix of the state vector of a tip is the successive premultiplication of the transfer matrices of all elements in the transfer path from this tip to the root; besides the first line in the overall transfer matrix, all coefficient matrices of state vectors in the first column are zero matrices. Except the first line, in each row, each nonzero partitioned matrix corresponds to the coefficient matrix of the tip state vector, from which there is a transfer path to the input end of the element with multiple input ends. Each nonzero coefficient matrix of the state vector of a tip is the successive premultiplication of all transfer matrices of elements in the transfer path from this tip to the kth input end I
k
of jth body element, which has more than two ends, then premultiplied by -
For a chain system, its overall transfer matrix is deduced automatically by successive premultiplication of the transfer matrices of all elements in the transfer path from the tip to the root of system. In fact, any chain system can be considered as a special example of the tree system in the case with only two boundary ends.
For a closed-loop system, its overall transfer equation is deduced automatically as the chain system, after treating the original system as the chain system by “cutting” a junction of any two adjacent elements and letting the couple of “cutting points” as the tip and root with the same state vectors of the chain system.
For a general system composed of one tree subsystem and some closed-loop subsystems, its overall transfer equation is deduced automatically as the tree system, after treating the original system as the tree system by “cutting” the junctions of any two adjacent elements in every closed-loop subsystem and letting every couple of “cutting points” as new “boundary ends” with the same state vectors of the tree system.
The theorem above is effective for various multi-rigid-body systems, chain multi-rigid-flexible-body systems, and any closed-loop multi-rigid-flexible-body systems and is effective for various tree multi-rigid-flexible-body systems and general multi-rigid-flexible-body systems if the bodies with more than two ends are rigid bodies. For more general systems including the flexible bodies with more than two ends, the theorem to deduce automatically overall transfer equation is undergoing study and will be discussed in another paper.
6. Numerical Examples
By comparison with Newton-Euler method, the numerical examples here are carried out to validate the proposed method.
Example 1. A tree multi-rigid-flexible-body system moving in plane, as shown in Figure 9, consists of two fixed hinges, 2 and 4, two elastic hinges, 6 and 7, three rigid bodies, 1, 5, and 8, and one uniform beam element, 3, with three boundary ends. The simulation parameters are given as follows: m1 = m5 = m8 = 7.8 kg, JC,1 = JC,5 = JC,8 = 0.013 kg·m2, l3 = 3 m, EA3 = 1000 N,

Tree multi-rigid-flexible-body system.
According to the theorem to deduce automatically the overall transfer equation, the topology Figure of the system can be got as in Figure 10, and the overall transfer equation of above system is deduced automatically by handwriting and by computer as follows
where the overall transfer matrix is
State vectors of all boundary ends are
According to the proposed sign conventions, we know that
where

Topology figure of the system.
There are boundary conditions of the system
The system experiences a step upward force at the mass center of body element 1 at time instant zero, while the initial displacement and velocity of the whole system are zero. The computational results of the system dynamics obtained by the proposal method and by Newton-Euler method are shown in Figure 11. It can be seen from Figure 11 that the computational results obtained by the above two methods have good agreements.

Computational results of the angle of the right end of the beam.
Example 2. A multi-rigid-body system containing a close loop moving in plane is shown in Figure 12. The planar rigid bodies (numbered 1, 3, 5, 7, 9, 11, and 13) are connected by pin hinges (numbered 2, 4, 6, 8, 10, 12, and 14), and rigid body 1 is connected with the ground by a smooth pin. Each rigid body has the identical dynamics parameter as m = 1 kg and J C = (1/6) kg·m2.

A general system moving in plane.
By “cutting” at the junction of body 9 and hinge 14 and following the proposed theorem, topology Figure of the system can be drawn in Figure 13. And the overall transfer equation of the system can be derived automatically as
where the overall transfer matrix takes the form:
State vectors of all boundary ends are
According to the proposed sign conventions, one can acquire

Topology figure of the system.
There are boundary conditions of the system:
The initial angle of rigid body 1 is (π/6) rad and the relative angles of pin hinges (numbered 2, 4, 6, 8, 10, 12, and 14) are all zero. The system moves from the rest under the effect of gravity. The computational results of the system dynamics are obtained by the proposal method and by Newton-Euler method. The time history of rigid body 1's angle is exhibited in Figure 14, which shows that the computational results obtained by the above two methods have good agreements.

Computational results of the angle of rigid body 1.
7. Conclusions
Based on MSTMM and the features of the overall transfer equations of multibody systems with various topological structures, including chain systems, closed-loop systems, tree systems, general systems composed of one tree subsystem, and some closed-loop subsystems, the theorem to deduce automatically the overall transfer equation by handwriting and by computer is presented. Formulations of the proposed theorem as well as two numerical examples are given to verify the theorem. This makes it possible to program large-scale software for MSD with much higher computational speed and much higher programming.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Footnotes
Acknowledgments
The research was supported by Research Fund for the Doctoral Program of Higher Education of China (no. 20113219110025). The authors owe special thanks to Professor Dieter Bestle for his important discussion with them during his five months visit in Nanjing University of Science and Technology.
