Full text

1. Introduction

Mechanism is one of the main categories for optimization design and behavior analysis of engineering systems, which is embodied in complex mechanical systems such as robot, automobile, spacecraft and robot arm. A multibody system is a system of objects connected by motion pairs.The establishment of dynamic model can select different coordinates, such as relative coordinates, absolute coordinates, lie group coordinates and natural coordinates, among which the natural coordinates are also called complete cartesian coordinates. In the 1980s, the natural coordinate method was proposed and developed by Garcia de Jalon[1]. It consists of several basis points and cartesian components of the unit basis vector. It is characterized by flexible selection of coordinates, moderate number of coordinates, linear constraint on Jacobi matrix, and free of costolian inertial force and centrifugal force.

The direction vector method belongs to the natural coordinate method, which was proposed and developed by Von Schwerin, Kraus and Uhlar[2-4]. In addition, the direction vector method has good compatibility with absolute coordinates and which is easy to program. The ordinary differential or differential algebraic equations (DAEs) are established according to the principle of dynamics through selecting coordinates, setting system variables, and analyzing the multi-body system. The conventional solution to DAEs is to turn them into ordinary differential equations. The index theory given by Gear, Petzold, and Brennan[5-6] is most often used to analyze the similarity between the two equations.These traditional methods control numerical damping for stability, but reduce the format precision.

In terms of accuracy and stability, the research on block format is worth popularizing. This paper deals with block formats including L-stable block format and Multi-step block format. The L-stable block format is based on the Taylor expansion structure of the exact solution at a certain time. Ehle[7] proposed L-stable based on A-stable and Padé approximation on the basis of ordinary differential solution. The Multi-step block format is a new class of general linear methods with Runge-Kutta stability, constructed based on the general linear method proposed by Butcher[8] and using more past information. Chollom[9] proposed a method to detect the performance of the whole block format and determined the convergence, stability and order of the constructed format. Olabode[10] used the point collocation method to solve the initial value problems of special ordinary differential equations using the block linear Multi-step method in the predictive corrector model. Mehrkanoon[11] proposed a four-point implicit Multi-step block format for solving the first order ordinary differential equation with variable step size and gave a simple form of Adams, which was realized by the gauss-seidel method. Based on the first order ordinary differential solution, Mehrkanoon[12] directly solved the third order ordinary differential equation with variable step size, and studied the local truncation error of the method.

Based on the collocation method of approximate solutions of power series and the continuous linear Multi-step block method of interpolation method, Awoyemi[13] improves the existing block format to adapt to the general N order ordinary differential

equations. Abdul Majid[14] used one-step method to solve second-order ordinary differential equations without reducing the equation to first-order equations. Olabode[15] studied self starting block format method, do not need to develop a single predictor.

Mohamed[16] combined the third-order multi-step block method with the newton-cotes method to solve the second type of linear and nonlinear integro-differential equations. At present, the L-stable block format and the Multi-step block format are more based on ordinary differential equations, and the research on DAEs is less. The DAEs of multi body system dynamics are described by direction vector method. Construct L stable block format and Multi step block format for numerical calculation. The maximum energy error, displacement constraint, velocity constraint and acceleration constraint are analyzed and compared.

Based on the zero point of Chebyshev polynomial, the unequal distance node block format is constructed, and the simulation experiment is carried out through the slider-crank mechanism.

2. DAEs of Multibody system dynamics by the

direction vector method Fig.1 Schematic diagram of any two multibody systems and hinges Assuming that system is made up of in objects and jn hinges connection of the multibody system. In Fig.1, Establish coordinate )( 3 )( 2 )( 1 iii i eeeC at the center of mass iC of object )2,1( niBi  . The origin of iC relative position vector iC is )0( 3 )0( 2 )0( 1 eeOe .The kinetic energy of the )2,1( niBi  is )()()( T)( )(T)()( T)( 1Π2 1 i i ii jj j i j i i ii p i pVi mdVT qMqee rErrr         (1) Where    )()()( j i jj ii p x err  is speed of any point P on iB , TT)(T)()( ],[ iii erq  , T)( 3 )( 2 )( 1 )( ],,[ iiii rrrr , TT)( T)( T)( )( ],,[ iiii eeee  , TT)( 3 T)( 2 T)( 1 ],,[ i j i j i j i j eeee  , and )Π,Π,Π,( )( 3 )( 2 )( 1 EEEEM iii ii mdiag ,  Vi dVm  , dVxV j i j  2)(Π  . The potential energy of )2,1( niBi  is )( )(i iV qV .

The constraint is divided into two parts: the constraint of direction vector property and the constraint of hinge between objects. The constraint of direction vector property is                             )( )( )( )( )( )( )( )( )( )( )( )( )( )1(2 1 )1(2 1 )1(2 1 iTi iTi iTi iTi iTi iTi i ee ee ee ee ee ee  (2) As shown in Figure 1,the constraint of hinge between objects is a. ji aa , is any vector,when they're vertical to each other , 0),( T  jiji aaaa ; b. ijd is the relative position vector between two points , when they're vertical to each other , 0),( T  ijiiji dada ; c. ji PP , is the hinge points of ji BB , ,when coincide, 0),( )()(  i p j pji PP rr ; d. When the distance between iP and jP remains the same , 0),( 2T  CPP ijijji dd ; e. jjjjiiii hgfphgfp , coordinates on the points ji PP , ,When ji hh , are parallel vectors, 0),( ),( ),(       ji ji ji hg hf hh   ; f. when iji dh , are parallel vectors, 0),( ),( ),( i i i       ji ji ji dg df dh   ; Similar ball hinge, universal hinge, rotating hinge, barrel hinge and sliding hinge can be expressed by the

above six inter-hinge constraints. The principle of Lagrange-d’Alembert:         l l i n l T n i T ii ll iiii i i n i T dtdt dt 1 0 1 0 )(T)(T )(T)()()(T)( 1 0 0)( ))(2 1( qFqλ λqVqMq     (3) Using a matrix describe:     T T dt dt T TT 0)( ))()(2 1( qFq qλqVqMq    (4) Where TT)(T)2(T)1( ],,,[ inqqqq  , ),,,( 21 indiag MMMM  ,    in i i )( )()( qVqV , TT)(T)2(T)1( ])(,,)(,)([)( inqFqFqFqF  , λ is Lagrange multiplier, )(q is constraint function.

The DAEs of index-3 in multibody systems dynamics are       0)( )(T q q VqFλqM   q (5) For the constraint equation  ,the first derivative and the second derivative are respectively obtained for the time t ,and the DAEs form of the index-2 and the index-1 can be obtained by the combination of (5).       0)()( )( qqq q VqFλqM tq T q     (6)       0)()(2])([)( )(T qqqqqqqq qqFλqM ttqtqqq q V     (7) Taking the multibody system dynamics DAEs of index-1 equations (7) as an example after the order reduction the following first-order differential equations can be obtained.           0)()(2])([)( )(T qzqzzqzq q VqFλzM qz ttqtqqq q      (8)

3. Construction of the DAEs L-Stable Format and

Multi-body Format L-stable block format and multi-step block format have similar block format construction ideas: Based on the exact solution of Taylor exhibition type to struct the formula of block format . A single-step interval  1, ii tt , slecting 121  iri tccct  , where r is the number of node. Let ],,,[ TT 2 T 1 ri yyyY  as the input vector .From the Taylor expansion of ky in it to      ,   PGdB (9) ],[      D HCUA (10) Where (9) ( 10 ) are the construction matrices of L-stable block format and multi-step block format respectively, and ],,,[ 2 μhhhG ,r , ])1(,,3,2,1[ rr hhhP   , T 21 ),,,( rhhh h , T r21 ),,,(  μ ; ])!12(,,!2,[ )12(2   r rcccC  , ])!22(,,!1,0[ )22(   r rccH  , ])!12( )1(,,!2 )1(,1[ )12(2    r rcccD  ,   T 21 ,,, rcccc  , solving equation (9), B and d can be determined in the L-stable block format, and solving equation (10), A and U can be determined in the multi-step block format so that the output value of each moment in the time step can be obtained.

A time step ii tth  1 , ),,2,1( rkck  can be an equidistant node or a nonequidistant node, selecting 121  iri tccct  . iY is the initial value, make 11   iiii hh YBydyeY  (11) imimi h YIUYIAY )()( 11    (12) where (11) and (12) are the solution formulas of L-stable block format and multi-step block format respectively, T 1]1,1,1[ r e , mI is mm Unit matrix,  is Kronecker . ]),,[](,,,[ TT 211 kkkkri λqqyyyyY   obtained by iterative solution of (5) (6) (7), ]),,[(],,,[ TTTTT 2 T 11 kkkkri λqqyyyyY   O btained by (11)or(12).

When 3r , T)1,3 2,3 1(c , T)1,45 8,45 1(μ , in the (11) formula,                    1B ,                  1d ; in the (12) formula,              133962-5029 5861508-5302 6912654-4381 1A ,              353432137- 350432134- 353432137- 1U .

According to the tectonic process, select the zero of the Chebyshev polynomial, so T)1,4 2 2 1,4 2 2 1( c , T)4 2 2 1,32 2510,32 2510( μ ,                       B ,                       d ; Select different nodes, substitute the B and d obtained by the construction method into equation (11), A and U into equation (12), determine L-stable block format and multi-step block format, and obtain the initial value of the next time period.

4. Numerical example

Crank-slider mechanism is shown in Figure 1;the length of the link is 1L , 2L ,where m0.51 L , m12 L , and the quality is 1m , 2m , 3m ,where kgm 011  , kgm 202  , kgm 203  . For the convenience of calculation, the conjoined basis coordinates along the principal axis of inertia are established at the center of mass of each object.

Fig.2 Slider-crank mechanism For any bar, Generalized coordinates is TT)(T)()( ],[ iii erq  , T)( 2 )( 1 )( ],[ iii rrr , TT)( T)( )( ],[ iii eee , 03 2 r , Generalized mass matrix is )( )( Π Π            E E E M i i i i m (13) Where im is the weight of the bar i , 2a 2a 1 )( 12)(Π i il l i Lmdxdxx     , 2 2 2a 2a )( 2 a12)(Π il l i mdxdxx     .

The system potential energy is gmrgmr 2 )2( 21 )1( 2)( qV (14) The constraint condition of the direction vector is                    )( T)( )( T)( )( T)( )( )1(2 1 )1(2 1 ii ii ii i ee ee ee  (15) The constraint condition at turning hinge 321 ,, OOO is            )3()2( 2)2( )1( 1)1()2( 2)2( )1( 1)1( rer erer er L LL L (16) Assumed initial value T 0 ) 01.51 0 0 1 0 1 1 0 0 1 0 0.25( ,,,,,,,,,,,,,q ,

T 1210 )0,,0(  q .When the simulation time is 10s, the )( 3 )( 2 )( 1 ,, iii rrr simulation curve is obtained Figure 3. Fig.1 Slider-crank mechanism each vector component simulation curve (1)When the simulation time is 10s, the L-stable block format and the Multi-step block format are used to solve the index 3 DAEs constructed by equidistant nodes. According to table 1-2, when h is smaller and running time is longer, the maximum energy error is smaller and smaller. The displacement constraint, velocity constraint and acceleration constraint remain stable. Therefore, when the simulation time is fixed, shortening the h can achieve better simulation effect. (2)Runge-kutta method is only effective for solving index 1 DAEs. So it is particularly important to introduce L-stable block format and Multi-step block format. It can be seen from table 3-4 that the Multi-step block format has no index limit on solving the DAEs. And it maintains a relatively stable state for maximum energy error, displacement constraint, Speed-level constraint and acceleration constraint. (3)The Runge-kutta method is not effective in maintaining the total energy for a long time. Table 5-10 can be seen that L-stable block format and Multi-step block format can realize long-term simulation for index 1, 2 and 3 equations. The maximum energy error is stable with time and keeping good constraint conditions. (4)For the solution of index 1 DAEs, Table 11 can be seen that L-stable block format and Multi-step block format overcome the disadvantages of Runge-kutta method in energy retention and long time simulation.

Table 1. Compared with different phase of L-stable block format’s results (index 3 DAEs simulation time 10s) step runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt h=0.01 48.7188 0.0090 4.4409e-16 3.6692e-05 0.0514 h=0.005 88.2656 0.0022 4.4409e-16 4.5512e-06 0.0127 h=0.001 451.2188 8.9780e-05 4.4409e-16 3.6181e-08 5.0653e-04 Table 2. Compared with different phase of Multi-step block format’s results (index 3 DAEs simulation time 10s) step runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt h=0.01 49.4063 0.0028 4.4409e-16 4.5350e-06 0.0046 h=0.005 92.0625 7.1181e-04 4.4409e-16 2.8288e-07 5.7563e-04 h=0.001 485.0313 2.8473e-05 4.4409e-16 5.4344e-10 7.2746e-06

Table 2. Compared the results of L- stable block format of index 1, 2 and 3 (simulation time 10s phase 0.01) runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt index-1 54.0156 0.0039 1.5946e-05 1.7594e-06 1.0658e-14 index-2 51.2500 0.0019 9.0328e-09 1.3323e-15 9.7471e-04 index-3 45.9063 0.0019 4.4409e-16 4.8381e-05 0.0248 Table 4. Compared the results of Multi-step block format of index 1, 2 and 3 (simulation time 10s phase 0.01) runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt index-1 54.8125 0.0208 1.4921e-04 1.6919e-05 1.2517e-14 index-2 51.5156 0.0028 1.3492e-07 1.3323e-15 0.0022 index-3 49.4063 0.0028 4.4409e-16 4.5350e-06 0.0046 Table 5. Compared of results of L-stable block format in different simulation time (index 3 DAEs phase 0.01) Simulation time runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt 10 45.9063 0.0019 4.4409e-16 4.8381e-05 0.0248 50 229.3594 0.0163 4.4409e-16 4.8454e-05 0.0249 100 449.7813 0.0346 4.4409e-16 4.8474e-05 0.0249 Table 6. Compared of results of Multi-step block format in different simulation time (index 3 DAEs phase 0.01) Simulation time runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt 10 49.4063 0.0028 4.4409e-16 4.5350e-06 0.0046 50 242.1406 0.0028 4.4409e-16 4.5351e-06 0.0046 100 482.8281 0.0028 4.4409e-16 4.5351e-06 0.0046 Table 7. Compared of results of L-stable block format in different simulation time (index 2 DAEs phase 0.01) Simulation time runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt 10 51.2500 0.0019 9.0328e-09 1.3323e-15 9.7471e-04 50 248.7344 0.0019 3.0310e-08 1.7764e-15 9.7471e-04 100 496.8125 0.0019 5.7296e-08 1.7764e-15 9.7472e-04

Table 8 Compared of results of Multi-step block format in different simulation time (index 2 DAEs phase 0.01) Simulation time runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt 10 52.2344 0.0028 1.3492e-07 1.3323e-15 0.0022 50 260.0938 0.0028 1.4718e-07 1.7764e-15 0.0022 100 505.5781 0.0028 2.7373e-07 1.7764e-15 0.0022 Table 9. Compared of results of L-stable block format in different simulation time (index 1 DAEs phase 0.01) Simulation time runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt 10 54.0156 0.0039 1.5946e-05 1.7594e-06 1.0658e-14 50 253.5156 0.0118 7.9768e-05 1.7594e-06 1.4502e-14 100 499.8906 0.0216 1.5937e-04 1.7594e-06 1.5488e-14 Table 10. Compared of results of Multi-step block format in different simulation time (index 1 DAEs phase 0.01) Simulation time runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt 10 54.5000 0.0208 1.4921e-04 1.6919e-05 1.2517e-14 50 267.1719 0.0942 7.4552e-04 1.6919e-05 1.4211e-14 100 505.1719 0.1858 0.0015 1.6919e-05 1.5342e-14 Table 11 Compared runge-kutta method with Multi-step block format and L-stable block format( simulation time 100s phase 0.01) runtime |H|max Constraint function Speed-level constraint t Acceleration-level constrains tt L-stable 499.8906 0.0216 1.5937e-04 1.7594e-06 1.5488e-14 Multi-step block 505.1719 0.1858 0.0015 1.6919e-05 1.5342e-14 Runge-Kutta 13.2656 3.1639 0.0251 5.2151e-04 1.0836e-13

5. Conclusion

Compared with other coordinates modeling

methods, the direction vector method has the

advantages of flexible selection,simple form easy to understand, more stylized and easy to program. Through the comprehensive comparison of numerical experiments, it can be obtained that the L-stable block

format constructed by equidistant nodes and the multi-step block format can maintain good results in terms of maximum energy error, displacement constraint, velocity constraint and acceleration constraint of corresponding indexes. And the results obtained are better than the results of runge-kutta method. In addition, the L-stable block format is better for solving the DAEs of index 3 constructed by the zero point of Chebyshev polynomial. In the case of fixed phase, L-stable block format and Multi-step block format are more suitable for long time simulation. Runge-kutta method, a classical algorithm for calculating DAEs, is used to solve the problem. In the case of shorter time simulation and larger phase, the accuracy will be reduced. And the total energy will increase with time. Therefore, in the case of long time simulation, L-stable block format or Multi-step block format can be selected to simulate the DAEs described by the direction vector method.

Acknowledgments

The financial support was provided by the National Natural Science Foundation of China(NNSFC) through grant Nos 11772166,11472143.

Figures

Article figure
Article figure
Article figure