Dynamic Simulation Constraint Equations Objective The objective of
Dynamic Simulation: Constraint Equations Objective The objective of this module is to develop the equations for ground, revolute, prismatic, and motion constraints for a planar mechanism. § These equations will be developed for a piston-crank assembly in a Boxer style engine. § These constraint equations will be used in the next Module (Module 4) to show position, velocity, and accelerations are computed. § Although the equations developed for this module are for a planar (2 D) mechanism, the methods can be generalized to 3 D mechanisms. § © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Boxer Style Engine Module 3 – Constraint Equations Page 2 § Boxer style engines have a horizontally opposed piston configuration. § This has several advantages § § Lower center of gravity Lower vertical height Lighter weight Less vibration § Boxer style engines are used by Porsche and Subaru. § Because of their low vertical profile they are often called pancake engines. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Cross Section View Module 3 – Constraint Equations Page 3 This module will use the piston-crank portion of this engine to demonstrate how kinematic and motion constraints are developed. Counterweight Cylinder Liner Bottom Bearing Cap Piston Connecting Pin Piston Rod Bearing Piston Pin © 2011 Autodesk Rod Bolt Crank Shaft Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Crank Bearing www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Planar System Module 3 – Constraint Equations Page 4 The boxer engine rotating assembly contains four piston assemblies. § Constraint equations will be written for one piston assembly to demonstrate the process. § This single assembly can be represented as a planar mechanism. § A Dynamic Simulation of the complete system will be presented in another module. § © 2011 Autodesk Cylinder 1 Cylinder 2 Cylinder 3 Cylinder 4 The planar equations will be developed for Cylinder 3. Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Global Coordinate System Module 3 – Constraint Equations Page 5 The constraint equations will be referenced to the stationary coordinate system shown in the figure. § This reference coordinate system is called the global coordinate system. § Capital letters are used to indicate that a coordinate or vector refers to this coordinate system. § Lower case letters will be used to indicate a coordinate or vector is referred to a body fixed coordinate system associated with a part. Z § © 2011 Autodesk X Cylinder 3 Y X Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Part ID’s Module 3 – Constraint Equations Page 6 The process of developing the constraint equations is facilitated by identifying each component by a letter. The five components shown with letters make up the basic system for which the constraint equations will be written. A Cylinder Liner Crank Bearing (Not Visible) B Piston © 2011 Autodesk E C Connecting Rod Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. D Crank Shaft www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Mobility Module 3 – Constraint Equations Page 7 § Gruebler’s equation can be used to establish the mobility of the planar mechanism. A Cylinder Liner E Bodies (B) = 5 § Grounded bodies (G) = 2 § Revolute joints (R) = 3 § Prismatic joints (P) = 1 § Crank Bearing (Not Visible) Mobility B Piston A mobility of one will require one motion constraint. © 2011 Autodesk C Connecting Rod Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. D Crank Shaft www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation List of DOF’s Module 3 – Constraint Equations Page 8 The DOF’s are associated with a set of generalized coordinates. § Each body has 3 DOF and 3 generalized coordinates. § The generalized coordinates for the planar mechanism are listed on the right. § Fifteen constraint equations must be developed that will enable each of the fifteen generalized coordinates to be determined. § © 2011 Autodesk List of Generalized Coordinates Format X-coordinate of the cg of Body A Body Capital letter Center of indicates that variable is associated Gravity with the global coordinate system. Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Ground Joints § The cylinder liners are pressed into the engine block and do not move. § The pistons move relative to the cylinder liners and the combination make a prismatic joint. Module 3 – Constraint Equations Page 9 Cylinder 1 Cylinder 2 Cylinder 3 § The cylinder liners must be mathematically grounded or fixed in space. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Cylinder 4 www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Cylinder Liner Ground Equations Module 3 – Constraint Equations Page 10 The location of the center of gravity and the orientation of the principal axes of inertia are shown in the figures. y x The ground constraint equations that fix the position of the c. g. and orientation of the principal axes can be written as y z © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Crank Bearing Ground Joint Module 3 – Constraint Equations Page 11 The crank bearing is fixed in the engine block and does not move. § The crank shaft rotation relative to the crank bearing can be represented by a revolute joint. § All of the parts in the planar system must lie in the global X-Y plane. § Therefore, a “virtual” crank bearing will be placed at the origin of the global coordinate system so that the planar equations can be developed. Virtual Crank Bearing Located at the Origin § © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Y Z X Crank Bearing Constraint Equations www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Summary of Ground Joint Equations Module 3 – Constraint Equations Page 12 Cylinder Liner Virtual Crank Bearing § Each of these equations fix one DOF for the respective part in space. § None of the equations are a function of time. § None of the equations involve more than one part. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 2 D Coordinate Transformation Matrix Module 3 – Constraint Equations Page 13 In subsequent slides it will be necessary to transform the components of a vector from a body fixed coordinate system to the global coordinate system. § This transformation is accomplished with the transformation matrix [T(q)]. § From the figure, § © 2011 Autodesk Y x y Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. X Matrix Form www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Revolute Joint Module 3 – Constraint Equations Page 14 § There are three revolute joints in the piston-crank assembly Between the piston and connecting rod § Between the connecting rod and crankshaft § Between the crankshaft and crank bearing § The constraint equations for a revolute joint will be developed using the two bodies shown in the figure. § Body A and B have the same translational motion at the joint but can have relative rotation. § © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. y. B Body B Y Body A q. B y. A x. B x. A Joint q. A X Two bodies connected at a common point that allows relative rotational motion. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Revolute Joint Module 3 – Constraint Equations Page 15 § The position of Joint 1 on Body A relative to the global coordinate system is given by the equation Y Joint 1 y. A Body A 1 x. A q. A § The components of are written with respect to the global coordinate system base vectors and the components of are written with respect to the body fixed coordinate system. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. X www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Revolute Joint Module 3 – Constraint Equations Page 16 § § The components of the body fixed position vector must be transformed to the global coordinate system before the components of the two vectors can be added. Position Vector Equation Component Form This is accomplished using the transformation matrix introduced earlier. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Revolute Joint Module 3 – Constraint Equations Page 17 § The coordinates of Joint 1 on Body A are § Similarly, the coordinates of Joint 1 on Body B are § In a Revolute Joint the coordinates of the joint must be same for each body. § Thus, or General Form of the Constraint Equations for a Planar Revolute Joint © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Revolute Joint Module 3 – Constraint Equations Page 18 § The general form of the constraint equations for a planar revolute joint is Joint 1 2 nd Revolute Joint § The specific equations for the three revolute joints in the piston-crank mechanism will now be developed Joint 2 Joint 3 © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 1 st Revolute Joint Module 3 – Constraint Equations Page 19 Piston Body B The location of the joint relative to the c. g. is needed to define the parameters & § For the piston, § 28 mm y x C. G. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Joint 1 www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 1 st Revolute Joint Module 3 – Constraint Equations Page 20 The location of the joint relative to the c. g. is needed to define the parameters & § From the picture, § Connecting Rod Body C 102. 6 y x Joint 1 © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 1 st Revolute Joint Module 3 – Constraint Equations Page 21 Using the geometry from the piston and connecting rod, the revolute joint constraint equation becomes Joint 1 1 st Revolute Joint Constraint Equations © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 2 nd Revolute Joint Module 3 – Constraint Equations Page 22 General Form of Constraint Equation Body C y Joint 2 x The location of the joint relative to the c. g. is needed to define the parameters & § From the picture, § © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. 41. 3 mm www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 2 nd Revolute Joint Module 3 – Constraint Equations Page 23 General Form of Constraint Equation y The location of the joint relative to the c. g. is needed to define the parameters & § From the picture, x § © 2011 Autodesk Joint 2 Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. 43 mm www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 2 nd Revolute Joint Module 3 – Constraint Equations Page 24 Using the geometry from the connecting rod and crank shaft, the revolute joint constraint equation becomes Joint 2 2 nd Revolute Joint Constraint Equations © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation 3 rd Revolute Joint Module 3 – Constraint Equations Page 25 General Form of Constraint Equation The c. g. ’s of both the crank and crank shaft lie at the origin of the global coordinate system. § Therefore, the body fixed coordinates of the joint relative to the c. g. are zero. § © 2011 Autodesk Joint 3 3 rd Revolute Joint Constraint Equations Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Summary of Revolute Joint Equations Module 3 – Constraint Equations Page 26 Body C Body B Body C 2 nd Revolute Joint 2 Joint 1 Body D Joint 3 Body D © 2011 Autodesk Body E Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Module 3 – Constraint Equations Page 27 In the planar system the cylindrical joint between the cylinder liner and the piston acts like a prismatic joint. § A prismatic joint allows two bodies to translate relative to each other along a common axis. § The two bodies cannot rotate independent of each other. § The equations for a planar prismatic joint are based on the geometry shown in the figure. y. A § © 2011 Autodesk Y Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Common Axis Body B Body A y. A x. A q. B x. A q. A X Two bodies A & B that translate relative to one another along a common axis. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Constraint Equations Module 3 – Constraint Equations Page 28 § § § The points P and Q in Body A lie on the common axis and are connected by the vector PQ. The points R and S in Body B lie on the common axis and are connected by the vector RS. The vector PR also lies on the common axis and connects the points P and R. The three vectors must be parallel. Alternatively, vectors PR and RS must be perpendicular to. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. y. A Y Common Axis Body B R Body A y. A P Q x. A S q. B x. A q. A X Two bodies A & B that translate relative to one another along a common axis. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Constraint Equations Module 3 – Constraint Equations Page 29 § The vector PQ with components written with respect to the body fixed coordinate system of Body A are y. A Y Body B Body A y. A § The components of the vector PQ with respect to the global coordinate system are R P Q x. A S q. B x. A q. A X Two bodies A & B that translate relative to one another along a common axis. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Constraint Equations Module 3 – Constraint Equations Page 30 § The vector RS with components written with respect to the body fixed coordinate system of Body B are y. A Y Body B Body A y. A § The components of the vector RS with respect to the global coordinate system are R P Q x. A S q. B x. A q. A X Two bodies A & B that translate relative to one another along a common axis. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Constraint Equations Module 3 – Constraint Equations Page 31 The third vector is directed from point P to point R. § Point P has the coordinates § y. A Y Body B R Body A y. A § Point R has the coordinates P Q x. A S q. B x. A q. A § The vector has components X Two bodies A & B that translate relative to one another along a common axis. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Constraint Equations Module 3 – Constraint Equations Page 32 § The vector perpendicular to PQ has components y. A Y Body B R Body A y. A § The dot product of two vectors that are perpendicular to each other is zero. P Q x. A S q. B x. A q. A X First Constraint Eq. Second Constraint Eq. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Two bodies A & B that translate relative to one another along a common axis. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Constraint Equations Module 3 – Constraint Equations Page 33 § Substituting the vector components from the previous slides into the first constraint equation yields § Substituting the vector components from the previous slides into the second constraint equation yields © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Summary of Prismatic Constraint Equations Module 3 – Constraint Equations Page 34 The two constraint equations for a planar prismatic joint are 1 st Constraint Equation 2 nd Constraint Equation The vector components at the beginning and end of each equation are based on the body fixed coordinate systems and are constant. The only variables are the generalized coordinates of Body A and B. These equations are easily evaluated in a computer program. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Module 3 – Constraint Equations Page 35 § § § The prismatic joint formed by the cylinder liner and the piston lies along the global Xaxis. Point P is chosen to lie at the c. g. of the cylinder liner. Point Q is chosen to lie 1 mm to the right on the x-axis. Point R is chosen to lie at the c. g. of the piston. Point S is chosen to lie 1 mm to the right on the x-axis. © 2011 Autodesk y y x x P Q Vector components of PQ Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. R S Vector components of RS Point Coordinates www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Prismatic Joint Module 3 – Constraint Equations Page 36 Substitution of the vector components and point coordinates into the two prismatic joint equations yields 1 st Constraint Equation which reduces to 2 nd Constraint Equation © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Motion Constraint Module 3 – Constraint Equations Page 37 One motion constraint is required to make the mechanism stable. § The rotation of the crankshaft (Body D) will be given an angular speed of 3, 000 rpm. § A 3, 000 rpm engine speed is equal to 314 rad/sec. § Although all fifteen generalized coordinates are a function of time, this is the only constraint equation that explicitly contains time as a variable. § © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. Motion Constraint www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Summary of Constraint Equations Module 3 – Constraint Equations Page 38 There are five planar bodies each having three DOF giving a total of fifteen DOF. Fifteen unknowns requires fifteen equations. Ground Constraint 1 Ground Constraint 2 Revolute Joint 1 Revolute Joint 2 Revolute Joint 3 Motion Constraint Prismatic Joint © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Summary of Constraint Equations Module 3 – Constraint Equations Page 39 Only one of the constraint equations is time dependent (Motion Constraint). § Most of the constraint equations are non-linear. § All of the constraints are algebraic equations and none are differential equations. § Geometric quantities (dimensions and distances) contained in the constraint equations can be found from information in a 3 D CAD model. § © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
Section 4 – Dynamic Simulation Module Summary Module 3 – Constraint Equations Page 40 § § § § The constraint equations for ground, revolute, and prismatic joints have been developed for a planar mechanism. The constraint equation for a rotational motion constraint has been developed for a planar mechanism. These equations were used to determine the fifteen equations necessary for a piston-crank assembly taken from a Boxer engine model. In some cases the constraint equations are very simple and in other cases they are complex. Only the motion constraint is an explicit function of time. All of the constraint equations are algebraic. These equations will be applied in the next module: Module 4. © 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the original, and must attribute source content to Autodesk. www. autodesk. com/edcommunity Education Community
- Slides: 40