Presentation on theme: "Multibody Systems Made Simple and Efficient"— Presentation transcript:
1Multibody Systems Made Simple and Efficient IDETC/CIE 2011MSNDC 23-1Washington, USA, Aug, 2011Multibody Systems Made Simple and EfficientJ. García de JalónUniversidad Politécnica de MadridDept. de Mat. Aplicada and INSIAJosé Gutiérrez Abascal 228006 Madrid, Spain
2Outline of this presentation History of natural coordinatesAcknowledgementsEarly developments and applications of natural coordinatesBack to the basicsMultibody simulation plus realistic 3-D graphicsGlobal formulations: Improving the efficiencyBiomechanicsFlexible multibody systemsImproving the efficiency throughout topological formulationsRigid multibody systemsLive demosConclusive remarks
3Aknowledgements Former PhD students Current PhD Students Colleagues Rafael AvilésJosé Antonio TárragoJorge UndaAlejandro García-AlonsoAlejo AvelloJosé Manuel JiménezAlejandro GutiérrezJesús CardenalJavier CuadradoGorka ÁlvarezAntonio AvelloNicolás SerranoJosé Ignacio RodríguezJesús VidalCurrent PhD StudentsF. Javier FunesAndrés F. HidalgoAlfonso CallejoMª Dolores GutiérrezColleaguesJoaquín Casellas ()Francisco Tejerizo ()José María BasteroJoaquín Aguinaga ()Miguel Ángel SernaJuan Tomás CeligüetaCarlos Vera ()Francisco Aparicio
4Part I: History of natural coordinates IDETC/CIE 2011MSNDC 23-1Washington, USA, Aug, 2011Part I: History of natural coordinatesJ. García de JalónUniversidad Politécnica de MadridDept. de Mat. Aplicada and INSIAJosé Gutiérrez Abascal 228006 Madrid, Spain
51.1 How the idea aroseF. Beaufait, Basic Concepts of Structural Analysis, Prentice Hall, 1977G. Strang and G. Fix, An Analysis of the Finite Element Method, Wellesley-Cambridge Press (1973)G. Strang, Linear Algebra and Its Applications, Academic Press, First Edition (1976)
6The beginning of natural coordinates 1/2 Lecturer on Structural Analysis and Numerical MethodsDoctoral Thesis on “Finite Element Thermal Stresses in Railways Wheels”Strong pressure to complete in four weeks an original research work on mechanismsAn idea urgently needed: A mechanism as an unstable structure!The stiffness matrix has the same null space as the Jacobian matrix of the constant distance constraint equationsStatically indeterminateStatically determinateUnstable
7The beginning of natural coordinates 2/2 Mathematical evolutionFrom minimum elastic potential to minimum constraint violation, and then to nonlinear constraint equations: constant distances, angles, areas,…Extension to three-dimensional systems (1981)Straightforward when only points are consideredEach rigid body has at least three non-aligned pointsRevolute joints introduced by sharing two pointsCylindrical joints introduced with four points alignedHigh number of points neededUnit vectors introduced (1984)Points and unit vectors contribute to define 3-D orientationA single unit vector may define the direction of several parallel axesRevolute joints introduced by sharing a point and a unit vectorCylindrical joints introduced with two points aligned with a shared unit vectorImportant size reductions achieved
8Example 1: Constraint equations of robot ERA 21 coordinates and 15 constraints:r2, r3, r4, r5, u1, u2 y u32
9Example 2: Robot ERA with mixed coordinates Natural coordinates allow an easy addition of relative coordinatesAngles and distances in Revolute and Prismatic joints, respectively, allow a direct introduction of actuator forces.In the ERA robot, angles have been defined in the following way:Angle y1 goes from u2 to u5 and it is measured on u1.Angle y2 goes from u1 to (r2–r1) and it is measured on u2.Angle y3 goes from (r1–r2) to (r3–r2) and it is measured on u2.Angle y4 goes from (r2–r3) to (r4–r3) and it is measured on u2.Angle y5 goes from (r3–r4) to (r5–r4) and it is measured on u3.Angle y6 goes from u3 to u4 and it is measured on (r5–r4).Each angle is defined with the dot product of vectors or with the largest component of the cross product of vectors, according to its value.u43125Y6
10Part II: Early developments and applications of natural coordinates IDETC/CIE 2011MSNDC 23-1Washington, USA, Aug, 2011Part II: Early developments and applications of natural coordinatesJ. García de JalónUniversidad Politécnica de MadridDept. de Mat. Aplicada and INSIAJosé Gutiérrez Abascal 228006 Madrid, Spain
112.1 Back to the basics: singular mass matrices and redundant constraints J. García de Jalón and E. Bayo, Kinematic and Dynamic Simulation of Multi-Body Systems: The Real-Time Challenge, Springer-Verlag, New-York (1993).Udwadia, F. E. and Phohomsiri, P., Explicit Equations of Motion for Constrained Mechanical Systems with Singular Mass Matrices and Applications to Multi-body Dynamics, Proceedings of the Royal Society of London, Series A, 462, pp , (2006).J. García de Jalón, Multibody dynamics with redundant constraints and singular mass matrix: Theory and practice, paper in preparation, (2011).
12Aspects of formulations with natural coordinates Singular mass matrices arise very oftenA constant mass matrix (with no velocity dependent inertia forces) can be defined with two points and two non coplanar unit vectors.If there are more points and vectors their inertia coefficients are null and the mass matrix singular.Dependent constraint equations are also frequentfor implementation convenience for instance:in over-constrained systemsThese difficulties need always to be dealt with to find an adequate solution, but, When does this solution exists? Is it unique?
13Dynamic equations with Lagrange multipliers 1/3 Motion differential equationsPutting together the dynamic equations and all the kinematic constraints:that is a system of 3N+M differential-algebraic equations of index 3.It is also possible to set only the dynamic and the acceleration equations:Assume matrix M is positive definite and matrix has full rankThen,These conditions on M and are too restrictive and shall be relaxed
14Dynamic equations with Lagrange multipliers 2/3 Motion differential equations: the rank r of made visibleIndex-1 ordinary differential equations may be transformed:Matrix M may be singular or semi-definiteMatrix may have redundant constraints:By taking into account that matrix is invertible,The existence and uniqueness of solutions are studied next.
15Dynamic equations with Lagrange multipliers 3/3 Dynamic equations: existence and uniqueness of solutionsAs has seen, these equations are compatible if is compatible,Values for compatibility. Values are arbitrary.Moreover, if matrix has full rank n, these equations are determined in the acceleration vector and undetermined in the transformed Lagrange Multipliers In this case, the following matrix is invertibleeven if matrix M is not invertible.The QR factorization and the SVD can be applied in a similar way
16Three forms to set and solve the dynamic equations 1/4 Three equivalent formulationsIndex 1 Lagrange equationsNull space methodMaggi’s methodThe conditions for the existence of a solution are:
17Three forms to set and solve the dynamic equations 2/4 The existence of solutionsBy applying the Rouché-Capelli theorem, in order to be able to express any external force vector as a linear combination of inertia and constraint forces,This condition can be transformed into an equivalent one,which has a more clear physical significance:“Any physically possible velocity is associated with a non-zero (positive) kinetic energy “
18Three forms to set and solve the dynamic equations 3/4 The existence of solutions (cont.)For the null space equations, taking into account thatBut matrix M is positive-semidefinite, soAssume vector x belongs to the null spaces of andand the previous condition is obtained.
19Three forms to set and solve the dynamic equations 4/4 The existence of solutions(cont.)For the Maggi’s equationsThe accelerations and are determined if matrix is positive-definite.This condition can be written as,Any vector cannot belong to Thus,The positive-definiteness of has a physical meaning: “Any physically possible velocity is associated with a positive kinetic energy “
20The uniqueness of solutions Assume the conditions for the existence are fulfilled,The uniqueness of the acceleration is better studied with the null space formulationAs the columns are independent, the solution is unique, even if there are redundant constraintsAlso is unique if matrix is definite-positiveIn the Lagrange equations of the first kind and are unique, but the multipliers are not if there are redundant constraintsThe resultant constraint forces are unique, but the particular are not
21Redundant constraints and constraint forces Assume the MBS is over-constrained and constraint forces are to be determinedRemember is determined but is not. ThenThe individual constraint forces arethat are not determined.General and minimum norm solution ofThe general solution is where is the minimum norm solution and is a vector inThe important point is that is a set of self-equilibrating constraint forces (see examples)This minimum norm solution can be computed from the system of equations:
22Example 1: 2-D double quad 3456Over-constrained systemBar 5-6 can be removed without changing the kinematics of the motionThe system cannot be assembled if unless bars are stretchedThe minimum norm solution makes the self-equilibrating forces nullSet of self-equilibrating constraint forcesConstraint forces for the three constant distances
23Example 2: 8-link spatial parallelogram Frączek & Wojtyra, ECCOMAS Warsaw (2009)Platform and bars modeled with natural coordinates6 rigid body dofs, 6 constant distance conditions and 1 final constrained dofThe figure shows the set of self-equilibrating constraint forcesThe force systems in red and in blue must self-equilibrate separatelyThe forces in blue can not self-equilibrate, and so they are null (proved algebraically by Frączek & Wojtyra)KM56432ACE1G
24Example 3: 3-D four bar system 3-D four-bar with 3 self-equilibrating sets of constraint forces
252.2 Multibody simulation with realistic 3-D graphics J. García de Jalón, A. García–Alonso and N. Serrano, "Interactive Simulation of Complex Mechanical Systems", Eurographics'93, Barcelona, 1993.G. Álvarez, A. García-Alonso, P. Urban, N. Serrano and J. García de Jalón, "Biomechanics: Dynamics & Playback", video presented in SIGGRAPH’93, Annual Conference Series, ISBN , Anaheim CA, USA, 1993.
26Animated CG essential to understand MBS Computer plots used from 1979Tektronix 4114 y 4115 for monochrome vector animations since 1982Workstation HP 320SRX with realistic graphics since 1987Motorola processor plus 3-D graphics acceleratorSome examples presented in the VII IFTóMM World Congress on the Theory of Machines and Mechanisms, Seville, September, 17-22, 1987Silicon Graphics 4D/240GTX since 1989Four MIPS 3000 processorsSince 1987 computer graphics produced an interest boom on interactive or even real-time multibody systems
27Some MBS animations from the late 80s Some of the first examplesKinematics of steering and suspension systemsComplete model of a truckKinematic deployment of an antennaSpace dynamic maneuver
282.3 Global formulations: Improving the efficiency R. von Schwerin, “Multibody System Simulation: Numerical Methods, Algorithms and Software”, Springer, 338 pages, 1999.J. Cuadrado and D. Dopico, “Penalty, semi-recursive and Hybrid Methods for MBS Real-Time Dynamics in the Context of Structural Integrators”, MULTIBODY DYNAMICS 2003, Jorge A.C. Ambrósio (Ed.), IDMEC/IST, Lisbon, Portugal, July
29von Schwerin’s Formulation 1/3 Main characteristicsNatural coordinates are used for the system of linear equationsTwo methods are considered to solve this system: RSM and NSMThe problem is assumed non-stiff and the index 1 DAE system is integrated with a special ABM integrator based on the solution of the inverse dynamics that does not need the derivative of the state vector.Instead of using a predictor-corrector formula, von Schwerin enforces the discretized dynamic equations by a modified Newton-Raphson iteration, with an approximate tangent matrix that can be kept for many time steps. At the end, it is possible to obtain a O(n) method based on the descriptor form.The index 1 DAE system is stabilized for positions and velocities by using two mass-orthogonal projection with the aforesaid tangent matrixThe efficiency can be further improved by considering the system topology through a distinction between the closure of the loop constraints and all the remaining constraints.This method seems to have been discontinued in the bibliography
30The Range Space method (RSM) An LDLT factorization is assumed and then computedFactorization step (M and assumed full rank matrices)Substitution stepThis method takes into account the matrix symmetry and doesn’t need complicated pivoting strategies
31The Null Space method (NSM) A transformation based on a null space basis R of is appliedThe constraint equations for velocities and accelerations allow a transformation based on the null space basis R,The accelerations can be computed from the equations
32The RSM and NSM complexities compared von Schwerin presented a theoretical study of the complexity of solving the descriptor system of equations using the three methods, depending on the relationship between the number of constraints m and the number of dependent coordinates n.His findings are very significant and interesting:For m/n > 0.63 the NSM is more efficient than the RSM. It is also more efficient for m/n > 0.69 when matrix M is constant and the RSM takes advantage of this circumstance.When the ratio m/n is close to 1 (strongly constrained systems with very few degrees of freedom), the NSM requires 7 times less arithmetic operations than the Gauss method, and 3.5 times less operations than the RSM (2.5 if matrix M is constant).In the worst circumstances (m/n small and matrix M constant), the NSM never requires more than 15% of additional operations with respect to the RSM.These results justify the superiority of the methods based on independent coordinates, which are equivalent to the RSM.
33Augmented Lagrangian (Cuadrado and Dopico) 1/4 Description of the multibody formalismBased on natural coordinates (dependent) plus angles and distances.Index-3 augmented Lagrangian equations with generalized- method.Newmark equations to approximate velocities and accelerations.Nonlinear system of equations:
34Augmented Lagrangian (Cuadrado and Dopico) 2/4 Description of the multibody formalism (cont.)Solution of the nonlinear system by the Newton-Raphson methodwhere
35Augmented Lagrangian (Cuadrado and Dopico) 3/4 Description of the multibody formalism (cont.)Projections of velocities and accelerations onto their constraint manifolds.where
36Augmented Lagrangian (Cuadrado and Dopico) 4/4 Implementation detailsSparse matrix techniques:CS: Coordinate format (MA27, MA57)CCS: Compressed column format (Cholmod, KLU)Constant mass matrices and gravity forces in rigid-body caseAnalytical evaluation of Jacobians of forces easy to obtain (spring-damper, contact, tire, brake, etc.)Usually symmetric positive-definite tangent matricesIntegration step-sizes attainable: stable with very large step sizes, problems with very small step sizes (bad condition number)Able to modify the system in real-time: adding (removing) bodies (constraints)Conclusions on the efficiency obtainedReal time for systems with sizes of more than 1000 coordinatesAssembly of four–bar linkages with “n” loops, CCS, h=1e-3, AMD Athlon 64.Excavator simulator (152 coordinates): about 5 times faster than RTCS, h=5e-3, ASUS U6V laptop computer Intel Core 2 Duo.
372.4 BiomechanicsABAT’92 project: Análisis Biomecánico de Alta Tecnología ( )G. Álvarez, A. García-Alonso, P. Urban, N. Serrano and J. García de Jalón, "Biomechanics: Dynamics & Playback", video presented at SIGGRAPH’93, Anaheim CA, USA, 1993.G. Alvarez, A. Gutiérrez, N. Serrano, P. Urban and J. García de Jalón, "Computer Data Acquisition, Analysis and Visualization of Elite Athletes Motion", VIth International Symposium on Computer Simulation in Biomechanics, Paris, France, 1993.
38Natural coordinates and biomechanics Step 1: Motion capture: points modelUsing several synchronized camerasManual or automatic digitalization3D coordinates determination with optional filteringStep 2: Data conditioning: consistent MBS modelDefinition of rigid bodies and jointsConsistent MBS model: natural coordinatesEvaluation of relative angles and filteringStep 3: MBS simulationKinematic simulationDirect dynamic simulationInverse dynamic simulation
392nd step: MBS model of the human body 1/3 The HUMAN BODY modelFigure shows a typical multi-rigid-body model of the human body, including 37 degrees of freedom.The hip body (consisting of center, right and left points, and three unit vectors) is taken as the base body, in order to show easily the rigid body motions.Natural coordinatesThis model has 30 points (27 movable) and 23 unit vectors (20 movable).The relative coordinates are the angles between the different bodies.So, this human body model has 37 degrees of freedom and 141 dependent coordinates.
402nd step: MBS model of the human body 2/3 Example: definition of a leg:Points 9, 25 and vectors 15, 16 are a rigid body:Points 25, 26 and vectors 16, 17 are a rigid body:Points 26, 27 and vectors 17, 18 are a rigid body:Sometimes foot twist is restricted:92526u5u1610527u17u15u18
412nd step: MBS model of the human body 3/3 Relative coordinates used to control the 6 degrees of freedom:goes from to measured ongoes from to measured ongoes from to measured ongoes from to measured ongoes from to measured onAngle definition constraints:Angle from to measured onAngle from to measured on92526u5u1610527u17u15u18
423rd step: Kinematic and dynamic simulation Kinematic simulationAfter conditioning, the consistent model with the recorded motion is visualized with realistic graphics from several fixed or moving camerasIf necessary, new frames are obtained by interpolationInverse and direct dynamic simulationThe inertia properties of the athlete’s members are obtained from anthropometric data tablesKnowing the motion as a function of time, the external reaction and internal motor-constraint forces can be computed and visualized
43Barcelona’ 1992 Olympic Games 1/4 ABAT’92 Project: Análisis Biomecánico de Alta Tecnología ( )Developed with CAR (High Performance Sport Training Center)Research project aimed at the multibody analysis of athletes, using the latest technologies in data capturing, analysis of motion and computer graphicsTwo sports were studied: athletics and gymnasticsWorking procedureThe trials were recorded in the afternoonThe images were manually digitized during the nightThe digitized data was conditioned, produced and recorded in the morningThe resulting images were broadcast at midday news services (too late…)Some broadcast images will be shown nextGymnastics, high jump and long jump
45Barcelona’ 1992 Olympic Games 3/4 High jump: Javier Sotomayor
46Barcelona’ 1992 Olympic Games 4/4 Long jump: Lewis vs. Powell
47Biomechanics and natural coordinates today 1/3 STT Ingeniería y SistemasAutomatic data capturingGait analysisBull fighterGolfManual data capturingGymnastic 1Gymnastic 2
48Biomechanics and natural coordinates today 2/3 Kinematic Motion Reconstruction (KMR) at CEITOptimization processThe quadratic error between the experimental and theoretical position of the markers, subjected to the kinematic constraint equations, is minimizedIn the next video we will see:Red spheres ( ) in the center of joints,Blue spheres ( ) in the model points associated to markersGreen spheres ( ) to represent marker’s position experimentally measuredThe error between blue and green spheres is minimized subjected to the constant distance condition between blue and red spheresOver-determined and under-determined problemsThere is over-determined information when more points or more cameras than necessary are used for a bodyOn the other hand, there is for instance an under-determined problem when a body has fewer than necessary points or they are hidden for some cameras
49Biomechanics and natural coordinates today 3/3 A CEIT’s REALMAN example: A driver enters and exits a vehicle
502.5 Flexible multibody systems J. García de Jalón and E. Bayo, Kinematic and Dynamic Simulation of Multi-Body Systems: The Real-Time Challenge, Springer-Verlag, New-York (1993).J. Cuadrado, J. Cardenal and J. García de Jalón, Flexible Mechanisms Through Natural Coordinates and Component Synthesis: An Approach Fully Compatible with the Rigid Case, International Journal for Numerical Methods in Engineering, Vol. 39, pp , (1996).
51Moving frame approach with natural coordinates The classical moving frame approach separates the large rigid body motion and the small elastic deformations respect the moving frameThe elastic deformations are expressed as a linear combination of a reduced set of static and dynamic modesNatural coordinates provide a simple way to define boundary conditions for the static modesThe elastic static modes can be considered as the relaxation of one or more rigid body constraint equationsIt is not necessary to consider all the possible static nodes. Those considered as irrelevant may be kept as constraint equationsIt is not necessary to consider the amplitude of the static modes so defined: they can be computed from the natural coordinates
52Static modes coming from a point displacement There are three static modes related to the displacement of pointThe static modal amplitudes can be defined as
53Static modes coming from a point rotation There are three static modes related to the infinitesimal rotations of vectors andThe modal amplitudes are obtained from
54A possible selection of static modes A revolute joint on the right hand side allows a free rotation respect to the joint axisOnly two rotational and one translational static modes are considered
55Part III: Improving the efficiency throughout topological formulations IDETC/CIE 2011MSNDC 23-1Washington, USA, Aug, 2011Part III: Improving the efficiency throughout topological formulationsJ. García de JalónUniversidad Politécnica de MadridDept. de Mat. Aplicada and INSIAJosé Gutiérrez Abascal 228006 Madrid, Spain
563.1 Semi-recursive formulation based on a double velocity transformation J.I. Rodríguez (2000), PhD Dissertation (in Spanish).J. I. Rodríguez et al., Recursive and Residual Algorithms for the Efficient Numerical Integration of Multi-Body Systems, Multibody System Dynamics, 11, pp , (2004).J. Cuadrado et al., A combined Penalty and Recursive Real-Time Formulation for Multibody Dynamics, ASME Journal of Mechanical Design, pp (2004).
57Open-chain topology: path matrix Path matrix TRows correspond to rigid bodies.Columns correspond to joints.Tij = 1 if body i is upwards of joint j. Otherwise Tij = 0.Column i of T:Defines the bodies that are upwards of joint i.Row j of T:Defines the joints that are downwards of body j.Numbering of joints and bodiesEach rigid body has the same number as its input joint.Bodies and joints are numbered from the leaves to the root.Matrix T is upper triangular.12345
58Geometry and positionThe bodies’ geometry is defined through natural coordinates.The position of each body is defined by the Cartesian coordinates of a point and the rotation matrix.All the joints are defined as a combination of revolute (R) and prismatic (P) joints.rigii–1ii–1iRP
59Cartesian velocities and accelerations According to the point of the solid chosen as reference:Center of gravity Point at the origin of global axisSimple relationships between them:Recursive Cartesian velocities and accelerations (open-loop systems):Matrix and vectors and depend on the joint type between elements i and i−1. For instance, with Z velocities:
601st velocity transformation (open-chain) Transformation from Cartesian to relative coordinatesCartesian velocities Z are dependent and can be obtained from the relative independent velocities:Column i of matrix R contains the Cartesian velocities produced by a unit input velocity in joint i and null velocities in the rest of the joints.All the bodies upwards of joint i have the same Cartesian velocity bi (the same vector that appeared in ).For the whole open-chain system:12345
61Open-chain motion differential equations 1/2 Newton-Euler equations for each solidCartesian velocities and accelerations Y and Z can be used:By applying the Virtual Power Principle to the complete system:Introducing now the 1st velocity transformation:in the virtual power equation, the following ODE system is obtained:where t are the forces/torques applied in the joints.These equations are further developed in the next slide.
62Open-chain motion differential equations 2/2 Motion differential equations with relative coordinates:The motion equations are:By substituting matrices Rd and T from the previous example:Notice that the LU factorization will not destroy the zeroes-pattern.For external and velocity dependent inertia forces:In both cases the accumulation of inertias and forces becomes very explicit. The path matrix T plays a fundamental role.
63Closed-chain differential equations 1/2 Closed-chain equations are obtained in two steps:First, the loops are opened by removing some joints or special bodies (rods).Second, the constraints are introduced by an appropriate method: Lagrange multipliers, penalties, augmented Lagrangian or a 2nd velocity transformationThe constraint equations are formulated in the simplest way through natural coordinates:123412345
64Closed-chain differential equations 2/2 Closure of the loop constraint equationsThe Jacobian matrix in relative coordinates can be computed as:By using the coordinate partitioning method:Introducing in the motion equations:The parenthesis of this expression can be written as:
65Closed-chain equations with penalties 1/2 The closed-chain constraints are applied for the open-chain relative coordinates as in Cuadrado and DopicoBy using the penalty method for positions the following system of differential equations is obtainedThese equations are integrated by the HHT implicit methodThe Newmark’s expressions are assumed for velocities and accelerationsBy substituting in the HHT equations, the following nonlinear system of equations is obtained
70Computation times (explicit RK4 integrator) [s] Algorithm StepCoachSemi-trailer truckTime step: 1x10-3 sTime step: 2.5x10-5 sC++BLASSPARSE0.2760.27926.41026.36126.4360.1200.2150.40818.07132.92628.7630.3550.1830.08929.73328.2280.1220.1330.20013.36014.6477.6710.1930.1920.18213.86113.84914.1260.1510.1430.10012.9729.9259.3710.0870.0860.6378.6388.5439.0800.6490.60673.52173.7150.0730.0740.08313.69613.76513.927Elapsed time [s]2.0261.9122.461223.27
71Computation times (Implicit method) [s] Algorithm StepIveco vanSemi-trailer truckTime step: 5x10-3 sSerialTBB0.0010.1530.1940.1930.2360.3330.1151.7480.2434.4371.5819.1992.8020.0280.0330.0810.0960.1790.1640.6740.706Convergence evaluation0.002Velocities projections0.0190.0200.0720.073Accelerations projections0.0130.0140.0300.031Elapsed time [s]5.1622.12211.9994.191
72Computation times 15 s simulation time Intel Core 2 Duo 1.8 GHz, GeForce 8Slalom manoeuvre (15 s)Without graphicsMATLAB graphics3D graphicsCoach16.31144019.17FSAE racing car31.12141943.86
733.2 Semi-recursive formulation for flexible bodies: method of the 24 constant matrices F.J. Funes and J. García de Jalón, Simulation of Flexible Multibody Systems Based on Recursive Topological Methods and Modal Synthesis, ECCOMAS Multibody Dynamics 2009, Warsaw, Poland.F.J. Funes and J. García de Jalón, Efficient Simulation of Complex Flexible Multibody Systems Based on Recursive Methods and Implicit Integrators, ECCOMAS Multibody Dynamics 2011, Brussels, Belgium.
74Objectives Motivation and objectives Outline To present a work in progress to analyze large size, real-life flexible multibody systemsThis formulation uses two efficient methods for implicit integration of the dynamic equations of systems with flexible bodies (not described here)OutlineSemi-recursive formulation for flexible bodies: a reviewKinematics and dynamics of the flexible bodyMethod of the “24 constant matrices” (ECCOMAS 2009, Warsaw)Dynamic equations of the multibody systemDefinition of the reduced model of a flexible bodyRecursive computation of the dynamic equations
75Kinematics of a flexible body 1/2 Combines large rigid body motions with small deformationsBased on the classical Moving Frame ApproachDeformed position of a pointRelative position and velocity between two contiguous bodies
76Kinematics of a flexible body 2/2 Transformation between Cartesian/FEM and Cartesian/modal coordinatesCartesian linear and angular velocity of a FEM nodeFor the n nodes of a flexible body:
77Dynamics of a flexible body By using the Principle of Virtual Power and a non-consistent interpolation for velocities, the dynamic equations can be obtainedMotion equations of a flexible body in Cartesian coordinatesThe mass matrix can be expressed in partitioned form:The inertia matrix coming from FEM has been computed in the global reference frame and in the initial position:(constant matrices/vectors are typed in blue color)The evaluation of terms and can be very expensive.
78Efficient computation of the term 1/3 Computation of matrixBy taking into account thatconstant
79Efficient computation of the term 2/3 The global position of a node, expressed in the moving frame isSubstituting this equation in the expression of
80Efficient computation of the term 3/3 The matrix to compute isIt depends on 10 precomputed, constant matricesSub-matrix MRBSub-matrix MRBSub-matrix M
81Efficient computation of the term 1/3 Velocity dependent inertia forcesThe term can be computed as follows:withFor each node there are two kind of terms: and
82Efficient computation of the term 2/3 Computation of the centrifugal term at each node:For each one of the three adding termswith:
83Efficient computation of the term 3/3 Computation of the Coriolis acceleration termFinally, the velocity dependent inertia forces are:There 12 constant matrices that can be pre-computed
841st velocity transformation 1/4 First, the closed loops are open. The Cartesian velocities are expressed in terms of the relative velocities and the static and dynamic modal amplitudes (computations carried out recursively):The transformation matrix R can be partitioned in the form:q456q5q64q3q132q21
851st velocity transformation 2/4 The transformation matrix R relate Cartesian and relative coordinates for velocities and accelerations:By assembling the dynamic equations of each body and setting them in terms of the relative and modal coordinates, the final expression for the open-chain dynamic equations is:All the terms in this equation can be evaluated efficiently, using a recursive algorithm.
861st velocity transformation 3/4 By substituting matrix R partitioned in the expression :The first term of this expression is the mass accumulation in the relative coordinates and in the amplitudes of the boundary nodes.A single recursive calculation can evaluate all expressions.The second and third terms have analogous meanings.
871st velocity transformation 4/4 The projection of the forces can be evaluated similarly:The evaluation is similar to that corresponding to the mass matrix:All the terms are evaluated recursively following the open-chain tree structure.The forces applied to the relative coordinates and modal amplitudes are added.The remaining expressions also can be evaluated recursively.
882nd velocity transformation Closed-chain systems:First the closed-loops are open by removing some jointsA subset of independent relative coordinates is chosenThe constraint equations are enforced by a 2nd velocity transformation:Substituting in the open-chain differential equations:
894. Live demos and concluding remarks Numerical examples
90Mbs3d: Implementation details Program mbs3dComputer program that implements the semi-recursive formulation previously describedWritten in MATLABAvailable atmbs3d/MEXThe core functions for computations and graphics written in C++ and called from MATLABSpeed up of two orders of magnitude: real-time attainable!Use of BLAS and sparse matrix librariesSome advantages of the MATLAB/C++ combinationMATLAB is faster for the first implementation and testingAfterwards, C++ functions may be implemented faster
91Concluding remarksNatural coordinates provide a very simple way to define multibody systems.Some of their characteristics (constant mass matrices and not velocity dependent inertia forces, quadratic constraint equations and linear Jacobians, …) allow fast global formulations.For faster simulations topological methods with relative coordinates are preferable. Even in this case, natural coordinates may help in the definition of the system geometry and in the closure of the loop constraint equations, keeping the formulation simpler.Natural coordinates and MATLAB may be useful for education in multibody systems under severe time limitations.Algorithm implementation and testing are very easy with MATLAB, but the numerical performance is very poor. The combined implementation MATLAB/C++ is fast, reliable and efficient.Keeping things as simple as possible always has an added value.
92(Slides available in mec21.etsii.upm.es/mbs in a few days) Numerical examplesThank you very much!(Slides available in mec21.etsii.upm.es/mbs in a few days)