2007 06 IFToMM Dynamics
2007 06 IFToMM Dynamics
I. Introduction The theory of the constrained dynamics is very well developed in the mechanics and widely applied in multibody system motion simulation [1 5]. The constraints imposed on the systems have different nature and type. Most often in the theory of the mechanisms kinematic and force constraints are regarded. Joints connecting rigid bodies impose kinematic constraints, while if one regards the elastic nature of the contact between the bodies the same joints could be regarded as force constraints. Closed chains in the mechanical scheme impose kinematic constraints that additionally diminish the system degree of freedom (dof). Furthermore, the notation common constraints is used for systems that have common restrictions imposed on the motion of the links. Such systems are: the plane mechanisms (restrictions for motion in the plane); spherical mechanisms (the joint axes are crossing in a common point); the mechanism of Bennett [6], etc. The dynamics of constraint system is presented by Differential Algebraic Equations (DAE). Surveys of the existing techniques for solving DAE may be found in [4, 7]. The classical method to deal with DAE is to express the constraint condition at acceleration level. This leads to replacement of the original system by a system of Ordinary Differential Equations ODE. Maintaining the acceleration constraints one does not satisfy the position and velocity constraints. Baumgartes stabilization [8] term is introduced to ensure exponential convergence of the constraint error to zero. The problem with this method
*E-mail: [email protected] E-mail: [email protected]
II. Topology and kinematics of over-constrained mechanisms Over-constrained mechanisms are systems which dof are less than degrees of mobility. For example, if one analyze a plain mechanism considering the regulations for the spatial mechanism you will obtain less dof (even negative), while it is quite applicable. So plane mechanisms could be also considered over-constrained, although in practice no one is thinking so. Spherical mechanisms are also over-constrained and it could be easily observed if the precision of the links and orientation of joint axes are not fulfilled within the prescribed tolerances. In Fig. 1 some of most famous overconstrained mechanisms are shown.
Fig. 3. Singular configurations for some basic groups of the Assurs classification
1 3 d
2 r
On the other hand, many closed chain mechanisms are movable, while the topology analysis shows zero or negative dof. This is because of the kinematic parameters for which the constraints equations are dependent. In Fig. 2 the simplest examples of such plane mechanisms are shown.
significantly slows down the effectiveness of the computations. But only for few cases such geometrical considerations could be regarded. For complex plane and even for simple space mechanisms, simple regulations cannot be discovered. For the case of singular configurations it is well know that the matrix of the derivatives of the constraint equation system (Jacobean matrix) is singular. This analysis is an onerous task, causes additional branches of the algorithms and cannot be implemented effectively in the vicinity of singularities. For numerical simulation of flexible system discretization of the continuum should be implemented and mass and stiffness properties of the flexible bodies are to be reduced to a finite number of points called nodes. The node of a flexible element is a free object that, in the three dimensional space, has six degrees of freedom [20]. The node motion is restricted by elastic forces acting between the neighbor nodes. In Figure 4, a flexible element with many nodes is shown, where for the node with index i the coordinates (using translations and Euler angles) of the node coordinate system relative to the
Ze Ye flexible element Z i +1
Xe
& i +1
& i +1 & i +1
4 1 6
Zi q i
Fig. 2. Plane mechanisms with dependent constraints
X i +1
& i +1
In some mechanisms the proportion between the shape and size of the links is the reason for the increase of mechanism dof in specific positions, called singular configurations. Examples of mechanisms with closed chains in singular configuration for some basic groups from the classification of Assur are presented in Fig. 3. The different nature and behavior of the overconstrained mechanism is the reason for the development of specific approaches for the kinematic and dynamic analysis and simulation for almost every single case. Even for a single mechanism it could happen that different approaches are to be applied during its motion. That
qi 4 Yi X i Z0 node i q i 5 qi 3 Y0 X0 base q i 2 q
& i +1
Yi +1 & i +1
5
node i+1
absolute reference frame are pointed out, while for the second node (i+1) the linear and angular velocities of the node are shown. The coordinates of node i are stored in a 61 matrix q i = q i notations
q i 2 L q i 6 , where the 1 qi m , m = 1,2,...,6 are the elements of the
matrix. \ (backslash) denotes matrix transpose. The small finite translations and rotations of node i are compiled in a similar matrix i with elements
i m , m = 1,2,...,6 . The kinematic characteristics of motions of the nodes are mutually independent. The nodes of flexible elements have six degrees of freedom either with respect to the element coordinate system ( X eYe Z e )
(5)
q R
and
or to the absolute ( X 0Y0 Z 0 ) one and their motions could be presented by virtual spatial joint with six dof as described in details in [20]. But it should be made clear difference between the coordinates q i and the small possible motions i . The definition of the nodes as coordinate systems allows the flexible particles of the multibody systems, similarly to the systems of rigid bodies, to be decomposed to systems of moving coordinate systems connected by joints. All (of number a) coordinates of the system are placed in matrix
a
dimension, i.e.: i A , i , j A , i , j ,k A are i1, ij and ijk matrixvector, plane and cubic matrices that, if once defined, could be missed. The coordinates Q are subject to constraints that define the function of Q with respect to generalized (of number g) coordinates g q . The system is subject to d constraints (d = a g), i.e.:
d
constraints represent the connectivity of the links in closed chains. The equation constraints of closed chains contain dependent coordinates and, most often, they are the reason for the singularity of the Jacobean matrix. Equation constraints of open branches could be directly transformed with respect to the independent coordinates. This approach is widely applied in constraint dynamics [1 4] and consists in virtual disconnections of joints that pertain to the closed chain. The entire constraint equations system is then compiled inserting additional kinematic constraints that present the connectivity. The principle proposed in the paper consists in transformation of a closed chain into open branch cutting not the joints but the flexible links. Using the finite element approach allows the kinematic constraints to be substituted by force constraints, i.e. by elastic forces in the nodes. Illustration of this approach applied for the mechanisms of Fig. 3 is presented in Fig. 5. 3 3
f1
= = (Q )= d 0
1 (1) 2 0
f1
4 5 f2
2 3 1 0 2 5
where
Fig. 5. Transformation of a closed chain into open branches substituting flexile links by elastic forces
(2) (3)
where
d ,a Q = Q
and
2Q
first and second order partial derivatives (the left subscripts denote the differentiating variables). Notation presents matrix multiplication of three dimensional
1\3
(space) matrix. Eq. 1 defines two sets of dependent d Q and independent g q coordinates, i.e., Q = Q\
Such transformation of a three contour six-link mechanism in Fig. 5 results in an open chain with four branches and eight links. The elastic forces f1 and f 2 in Fig. 5 depend on the shape, size and stiffness of the links cut. The first step is the transformation of the closed chain into open branches representing the connectivity between the coordinate systems of the rigid bodies and the coordinate systems of the nodes of the flexible elements. For example, for the four-bar mechanism in Fig. 3 and its transformation (Fig. 5) the connectivity of the coordinate systems is shown in Fig. 6. The coordinate systems with 1 flexible link 2 0
Y1 Y0
q\ .
1 2 0
X 2' f1 Y3
f1
2 3
X 2"
3
Y2'
(4) 0
X0
1 X1
2 3 X3
Y2"
indices 2 and 2 correspond to the nodes of the flexible beam link 2. The kinematic analysis of these two branches is a trivial task for every computer code generation program. For the next stage, the dynamic analysis, the main initial preparations will consist in mass distribution of the flexible elements to the node coordinate system (estimation of the mass matrix), as well as, the elastic forces (the stiffness matrix).
where
3,3 diag (mi , mi , mi ) 0 M Ci = 3,3 0 i J i \i
(10)
and mi , J i are the body mass and inertia tensor, respectively. The underlined notations point out reference to body fixed coordinate system. In [20] dense (no zero elements) 66 mass matrices are regarded. These matrices are computed in cases of mass reduction, as it is for the finite element discretization, for which the node translations and rotations are dependent. For such matrices the generalized Newton Euler equations [20] are:
&& FC i = M C i Ci +
\i .
The
coordinate
i vi
3,3
transformation matrix,
i (q ) = 3,3i 0
0 i
(6)
v C vC 0 i MC i i MC i 3 i i 0 i
(11)
where 3,3 i is the matrix transformation of the coordinate system i. Similarly to i and Eqs. 4, 5, the quasi & && velocities and accelerations , are expressed with
i i
The mass matrix of a flexible element i with n nodes is 6.n6.n symmetric positive defined dense matrix M i . The mass matrices are computed assuming the equivalence of the kinetic energy of the deformable particles to the energy of the masses reduced to the nodes. If small relative deflections within the elements are assumed, these matrices are considered constant. The mass reduction is implemented on the basis of polynomial approximation of the beam deflections [21]. The kinetic energy of such an element is:
EKi =
1 &\ 1& & & i i M i \i i = \i M i i 2 2
v & & & i (q, q ) = Ci = R i (q ) q i & v && & && && & & i (q, q, q ) = Ci = R i (q ) q + q R i (q ) q q & 1\3 i
(7) (8)
(12)
where R i and
q R i
derivatives of i with respect to q [20]. For rigid body i the velocities that define its motion are
& stored in 61 matrix C i = v\C
\i
of the velocity of
where i = diag (i , i ,..., i ) is 6.n6.n coordinate system transformation matrix for flexible element i; M i is 6.n6.n element mass matrix relative to inertial reference frame. The inertia forces (6.n1 matrix Fi ) in the nodes of flexible element i with n nodes are defined as follows:
&& & & & Fi = M i i + M i i M i i i
its centre of gravity Ci and the body angular velocity. For a flexible element with n nodes the 6.n1 matrix of the velocities is
(13)
& i , j = v\i , j \i , j , j = 1,2 ,..., n are 61 matrices of the node velocities. The Newton Euler equations define the inertia forces and moments loading the body. For rigid body i the 61 matrix of the inertia forces and moments in the centre of gravity and relative to the inertial frame are:
where
3,3
0 M Ci
3 0 i
(9)
, j 3,3 0 i & & & & & where, = diag 1 , 2 ,L , n ; j = i, i i, i, i, v i , j , j i is generalized skew-symmetric matrix of the linear and angular velocities of node j from element i; \ v & & & & & i = \i ,1 \i ,2 L \i ,n ; i , j = i , j i , j . 3 0 The nodes of flexible elements achieve large displacements with respect to the inertial reference frame,
while the deflections relative to the element coordinate system are small. In order the finite element stiffness matrices to be correctly applied the elastic forces loading the nodes are to be computed using only the small relative deflections of the nodes relative to the element. The small deflections of element i with n nodes are compiled, similarly to the velocities in Sec. 4.1, in a 6.n1 matrix i = \i ,1 \i ,2 L \i ,n . The element stiffness properties are presented by 6.n6.n sized stiffness K i . For the finite elements the matrix K i is transformed to the absolute reference frame to compile the stiffness matrix K i . The elastic forces Si = S\i ,1 S\i ,2 L S\i ,n with respect to the absolute reference frame are computed using the relation Si = K i i . In a similar way the elastic forces relative to the moving element coordinate system are calculated taking into account the regulations for selection the reference coordinate systems of the flexible elements [22]. For example, the elastic forces in the beam element coordinate system are calculated by the well known stiffness matrix using the relation [20]:
\ Si == K i i = K i 1,6 0 \i ,2 L \i ,n
IV. Example
An example of application of the approach proposed to motion simulation of the six-link mechanism in Fig. 5 in case of singular configuration with no initial velocity is presented. The mechanism is of three chains and is decomposed of four branches. The kinematic scheme and elastic forces in the nodes of flexible element, link 3, ( f x 3' , f y m3' , m3" , f x 3" , f y ) are presented in Fig. 7.
3' 3"
(14)
The process of computation of the node elastic forces goes trough the following steps: - transformation of the coordinate systems of the nodes relative to the element coordinate systems; - computation of the small relative node deflections; - computation of the elastic forces in the nodes; - transformation of the elastic forces to the absolute frame. The final form of the dynamic equations with l rigid bodies, m flexible elements and n external forces is derived summing up the reduced inertia forces (Eqs. 11, 13) for all rigid and flexible objects, as well as, for all reduced external forces including the elastic forces (with common notation G M i , i = 1, 2, , n), i. e.:
& & [R\C MC i R C q& + R\C FC i (q,i )] +
l i =1
i i i
Singular configuration for this mechanism is when the directrixes of the link 2, 3 (nodes 3-3) and 5 (nodes 55) are crossing in a common point. For this case the Jacobean matrix, as well as, the mass-matrix of the dynamic equations are singular. Using the approach proposed no kinematic constraints that describe the connectivity of nodes 3 3 (of link 3) and 5 5 (of link 5) are applied. These constraints are the reason for the singularity and it is avoided substituting them by external elastic forces. On every step the relative position of the coordinate systems of links 3 3 and 5 5 is estimated and the small relative node deflections are computed. The elastic forces are calculated (Eq. 14) and used as external forces in the dynamic equations. m3' Y3' f x 3' fy Y3 X 3' 3' flexible X flexible X 3 5" f x 5" link 5 fy link 3 3" Y3" f x 5' f x 3" 3 Y5" m5" m3" fy 5" X 5' m X 3" 4 5' Y5' Y0 Y4 fy 5' Y2 X 2 2 X q1 4 5 X 5 X0 X1 1 Y5 Y1
Initial position t = 0 Final position t 8
The kinematic parameters, the mass and stiffness properties of mechanism links are as follows (all measures are in SI UNITS): ternary link size 111, mass m4 = 3, inertia moment J 4 = 0.3; link 1 - length l1 = 1, m1 = 1, J1 = 0.1; link 2 l2 = 2, m2 = 2, J 2 = 0.2; flexible links l3 = l5 = 2, mass density = 3000, modulus of elasticity
E = 0.7 1011 , cross section area A = 4 10 4 , second
i =1
R\M i
GMi = 0
g
(15)
Eg. 15 is g1 linear system of ordinary differential equations for the generalized accelerations.
moment of area I z = 2 10 7 . The initial configuration of the mechanism is defined by the coordinates qi ,i = 1,3,5 as it is shown in Fig. 7, i.e.: q1 = ; q3 = 2 ; q5 = 5 6 . The prescribed motion is realized as a reonomic constraint t & for q1 , i.e.: q1 = .cos for 0 t 4 ; q1 = const for 4 t > 4.
The time histories of the mechanism motion, links 1, 3 and 5, are presented in Fig. 8. The time histories of the elastic longitudinal forces in links 3 and 5 are shown in Fig. 9 and 10. The longitudinal elastic forces that arise as a result of the compulsive motion of the crank 1 do not cause significant influence of the transfer functions q3 and q5 . The integration process starts from the initial singular configuration and stops when the mechanism reaches another singular configuration at t8. It could be seen that longitudinal elastic forces are exaggerated in the initial stage for going out from the singular configuration. These forces become higher at the end of motion since additional inertia forces appear and become extremely high at the interruption of the integration process. The example demonstrates the applicability of the numerical algorithm. Future investigations will include damping and friction forces. Numerical integration methods for suppression of the high order vibrations will be applied and investigated.
Acknowledgement
The financial support of National Fund Scientific Investigations, Bulgarian Ministry of Education and Science, MI 1507/2005 is acknowledged.
References
[1] Schiehlen W., (ed.). Advanced Multibody System Dynamics. Solid Mechanics and its Application. Kluwer Academic Publishers, Dordrecht, 1993. [2] Haug E. J., Computer-aided Kinematics and Dynamics of Mechanical Systems. Allyn and Bacon, Boston, 1989. [3] Shabana A. A., Dynamics of Multibody Systems. John Wiley & Sons, New York, 1989. [4] Garca de Jaln, J. and Bayo E, Kinematic and Dynamic Simulation of Multibody Systems. The Real-Time Challenge. Springer-Verlag, New York, 1993. [5] Angeles J. and Kecskemethy A., Kinematics and Dynamics of Multibody Systems. Springer-Verlag, Berlin, 1995. [6] Bennet G. T., A new mechanism, Engineering, London, 76: 777 778, 1903. [7] Gear C. W., The simultaneous numerical solution of differentialalgebraic equations. IEEE Trans. Circuit Theory, CT-18:8995, 1971. [8] Baumgarte J., Stabilization of Constraints and Integrals of Motion. Computer Methods in Applied Mechanics and Engineering, (1):116, 1972. [9] Kurdila A. J. and Narcovich F. J., Sufficient conditions for penalty formulation method in analytical dynamics. Computational Mechanics, 12:81 96, 1993 [10] Bayo E. and Ledesma R., Augmented Lagrangian and massorthogonal projection methods for constrained multibody dynamics. Nonlinear Dynamics, 9:113130, 1996. [11] Blajer W., Schiehlen W., and Schirm W.. A projective criterion to the coordinate partitioning method for multibody dynamics. Applied Mechanics, 64:8698, 1994. [12] Blajer W., A geometric unification of constrained system dynamics. Multibody System Dynamcis, 1:321, 1997. [13] Wehage R. A. and Haug E. J., Generalized coordinate partitioning of dimension reduction in analysis of constrained dynamic systems. ASME Journal of Mechanical Design, 104:247255, 1982. [14] Bayo E. and Garcia de Jalon J.. A modified Lagrangian formulation for the dynamic analysis of constrained mechanical systems. Computer methods in applied mechanics and engineering, 71:183 195, 1988. [15] J. Cuadrado J., Cardenal, and Bayo E., Modeling and solution methods for efficient real-time simulation of multibody dynamics. Multibody System Dynamics, 1:259280, 1997. [16] Arabian A. and Wu F., An improved formulation for constrained mechanical systems. Multibody System Dynamics, 2: 49-69, 1998. [17] Eich-Soellner E. and Fuhrer C., Numerical Methods in Multibody Dynamics, B.G. Teubner, Stuttgart, 1998. [18] Aghili F. and Piedboeuf J.-C., Simulation of motion of constrained multibody systems based on projection operator, Multibody System Dynamics, Kluwer Academic Publishers, 2002. [19] Zahariev E. and McPhee J., Stabilization of multiple constraints using optimization and a pseudo-inverse matrix, Mathematical and Computer Modeling of Dynamical Systems, Swets & Zeitlinger Publishers, Netherlands, 9(4):423 441, 2003. [20] Zahariev E., Generalized finite element approach to dynamics modeling of rigid and flexible systems, Mechanics Based Design of Structures and Machines, 34(1): 81-110, 2006. [21] Zienkevich O. C., T he Finite Elment Method. McGraw-Hill, 1997. [22] Zahariev E., Relative finite element coordinates in multibody ystem simulation, Multibody System Dynamics, Kluwer Academic Publishers, 7:51 77, 2002.
V. Conclusions
An approach to simulation of rigid and flexible multibody system is proposed for which the kinematic constraints are substituted by elastic forces in the flexible links. The method provides general solution for every kind of closed chains including over-constrained mechanisms and singular configurations.
4 3 2 1 0 -1 -2 0 2 4 6 8
q5 q3 q1