Professional Documents
Culture Documents
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 how position, velocity, and
accelerations are computed.
Although the equations developed for this module are
for a planar (2D) mechanism, the methods
can be
www.autodesk.com/edcommunity
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.
Education Community
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
Cylinder
Liner
2011 Autodesk
Piston
Connecti
Pin Piston
Beari
Piston ng Rod
ng
Pin
Rod Bolt
Bottom
Bearing
Cap
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
Planar System
2011 Autodesk
Cylinder 1
Cylinder 2
Cylinder 3
Cylinder 4
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
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
Part IDs
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.
2011 Autodesk
A
Cylinder
Liner
E
Crank Bearing
(Not Visible)
B
Piston
C
Connectin
g 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
Mobility
Bodies (B) = 5
Grounded bodies (G) = 2
Revolute joints (R) = 3
Prismatic joints (P) = 1
Crank Bearing
(Not Visible)
Mobility
DOF 3( B) 2( R ) 2( P) 3(G )
3(5) 2(3) 2(1) 3(2) 1
A mobility of one will
require one motion
constraint.
2011 Autodesk
B
Piston
C
Connectin
g 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
List of DOFs
X cgA
2011 Autodesk
YcgA
A
X cgB
Format
X-coordinate of
the cg of Body
A
Body
A
cg
Capital letter
indicates that
variable is
associated 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.
YcgB
B
X cgC
YcgC
C
X cgD
YcgD
Center of
Gravity
D
X cgE
YcgE
www.autodesk.com/edcommunity
Education Community
Ground Joints
2011 Autodesk
Cylinder 1
Cylinder 2
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.
Cylinder 4
www.autodesk.com/edcommunity
Education Community
y
x
y
z
X cg156.8 mm 0
Y cgA 0
cgA 0
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
Virtual Crank
Bearing Located
at the Origin
Y
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.
Z
X
Crank Bearing
Constraint Equations
X cgE 0
YcgE 0
cgE 0
www.autodesk.com/edcommunity
Education Community
X cgA156.8 mm 0
X cgE 0
Y cgA 0
YcgE 0
cgA 0
cgE 0
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
2D Coordinate Transformation
Matrix
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()].
From the figure,
y cos
X x cos y sin
Y x sin y cos
2011 Autodesk
y sin
x
x sin
x cos
Matrix Form
X
cos
Y
sin
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.
cos
T
sin
sin x
y cos y
sin
y cos
www.autodesk.com/edcommunity
Education Community
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.
yB
Body B
Body A
yA
xB
xA
Joint
X
Two bodies connected at a
common point that allows
relative rotational motion.
www.autodesk.com/edcommunity
Education Community
Revolute Joint
Joint 1
yA
Body A
A
r1
xA
A
Rcg
The components of
are written with respect
to the global coordinate
A
r
system base vectors
1
and the components of
are written with
respect to the body
fixed coordinate
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.
A
Rcg
I
cg
RA
A
r1 x1Ai y1A j
A
Rcg X cgA I YcgA J
www.autodesk.com/edcommunity
Education Community
Revolute Joint
A A A
R1 Rcg r1
Component Form
X cgA cos A
A A
A
Y
Y
sin
1 cg
X 1A
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.
sin A
A
cos
x1A
A
1
www.autodesk.com/edcommunity
Education Community
Revolute Joint
cg
1
X 1A
sin A x1A
cos A y1A
Similarly, the
coordinates of Joint 1 on
Body BB are
X cg cos
B
B
Y
Y
sin
cg
X
B
1
B
1
2011 Autodesk
sin
cos B
y
B
1
B
1
X 1B
B
Y
1
Y1
or
X cgA cos A
A
Ycg sin A
sin A x1A
cos A y1A
Education Community
Revolute Joint
sin B x1B 0
B
B
cos y1 0
2011 Autodesk
Joint 1
sin A x1A
cos A y1A
Joint 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
Piston Body B
28 mm
x 28mm
B
1
y 0
B
1
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
x1 102.6mm
102.6
y1C 0
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
x1C 102.6mm
y1B 0
y1C 0
X cgB cos B
B
Ycg sin B
X cgC cos C
C
Ycg sin C
2011 Autodesk
sin x1B
cos B y1B
B
sin C x1C 0
C
C
cos y1 0
Joint 1
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
General Form of
Constraint Equation
X cgC cos C
C
Ycg sin C
X cgD cos D
D
Ycg sin D
sin C x2C
C
C
cos y2
sin D x2D 0
D
D
cos y2 0
Body C
y
Joint 2
x
41.3 mm
y 0
C
2
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
General Form of
Constraint Equation
X cgC cos C
C
Ycg sin C
sin C x2C
C
C
cos y2
X cgD cos D
D
Ycg sin D
sin D x2D 0
D
D
cos y2 0
y
x
Joint 2
43 mm
y 0
D
2
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
X cgC cos C
C
Ycg sin C
X cgD cos D
D
Ycg sin D
2011 Autodesk
y2D 0
sin C x2C
C
C
cos y2
sin D x2D 0
D
D
cos y2 0
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.
www.autodesk.com/edcommunity
Education Community
General Form of
Constraint Equation
X cgD cos D
D
Ycg sin D
X cgE cos E
E
Ycg sin E
sin D x2D
D
D
cos y2
sin E x2E 0
E
E
cos y2 0
2011 Autodesk
Joint 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.
X cgD X cgE 0
D E
Ycg Ycg 0
www.autodesk.com/edcommunity
Education Community
Body C
Body C
2nd Revolute Joint
Joint 2
Joint 1
Body D
Joint 3
Body D
2011 Autodesk
Body E
X cgD X cgE 0
D E
Ycg Ycg 0
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
Prismatic Joint
yA
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.
Common
Axis
Body B
Body A
yA
x
xA
X
Two bodies A & B that
translate relative to one
another along a common
axis.
www.autodesk.com/edcommunity
Education Community
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.
yA
Y
Common
Axis
Body B
R
Body A
yA
PQ
xA
X
Two bodies A & B that
translate relative to one
another along a common
axis.
www.autodesk.com/edcommunity
Education Community
yA
Y
Body B
R
Body A
yA
PQ
xA
are
A
PQ
A
PQ
2011 Autodesk
A
sin
A
PQ
A
PQ
cos A 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
Two bodies A & B that
translate relative to one
another along a common
axis.
www.autodesk.com/edcommunity
Education Community
yA
Y
Body B
R
Body A
yA
PQ
xA
B
RS
B
RS
2011 Autodesk
B
sin
B
RS
B
RS
cos B 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
Two bodies A & B that
translate relative to one
another along a common
axis.
www.autodesk.com/edcommunity
Education Community
sin x
y
Y
Y
sin
cos
coordinates
A
P
A
P
A
CG
A
CG
A
p
A
p
yA
Y
Body B
R
Body A
yA
PQ
xA
B
X RB X CG
cos B
B B
B
YR YCG sin
sin B xRB
cos B y RB
B
B
YPR YCG sin
sin B xRB
cos B y RB
X vector
cos
has
sin
The
Y
sin
cos
components
2011 Autodesk
A
CG
A
CG
xPA
y PA
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
Two bodies A & B that
translate relative to one
another along a common
axis.
www.autodesk.com/edcommunity
Education Community
A
Y
PQ
cos A
A
sin
sin A
cos A
A
0 1 xPQ
1 0 yA
PQ
yA
Y
A
PQ PR X PQ
2011 Autodesk
X PR
0
First
YPR
A
X PQ
A
X PQ
Body A
yA
PQ
Body B
xA
Constraint Eq.
Second
Constraint
Eq.
Y
another along a common
axis.
B
RS
B
RS
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
Page 33
A
PQ
A
PQ
0 1 cos
1 0
A
sin
X PR
0
YPR
A
X PQ
A T
B
cos B
sin X CG
B
A
cos YCG sin B
A
cos A
sin B xRB X CG
A
B
B
cos y R YCG sin A
sin A xPA
0
A
A
cos y P
2011 Autodesk
A
PQ
A
PQ
0 1 cos A
1 0
A
sin
A
X PQ
sin A
cos A
B
X RS
B 0
YRS
cos B
sin B
sin B xRS
B
cos B y RS
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
A
PQ
A
PQ
B
cos B
sin A X CG
B
A
cos YCG sin B
0 1 cos A
1 0
A
sin
A
cos A
sin B xRB X CG
A
B
B
cos y R YCG sin A
sin A xPA
0
A
A
cos y P
A
PQ
A
PQ
0 1 cos A
1 0
A
sin
sin A
cos A
cos B
sin B
sin B xRS
B
cos B y RS
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
Prismatic Joint
2011 Autodesk
x
P Q
Vector
compone
nts of PQ
R S
Vector
compone
nts of RS
A
xPQ
1
B
xRS
1
A
y PQ
0
B
y RS
0
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.
Point Coordinates
B
xPA 0 xR 0
B
y PA 0 y R 0
www.autodesk.com/edcommunity
Education Community
Prismatic Joint
0 1 cos A
1 0
A
1 0 sin
sin A
cos A
B
X CG
cos B
B
YCG sin B
sin B
cos B
A
cos A
0 X CG
A
A
0 YCG sin
sin A
cos A
0
0
0
which reduces to
T
0 1 cos A
1 0
A
1
0
sin
sin A
cos A
B
A
X CG
X CG
B A
YCG YCG
0 1 cos
1 0
A
1
0
sin
2011 Autodesk
A T
sin cos B
cos A sin B
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.
sin B
cos B
1
0
www.autodesk.com/edcommunity
Education Community
Motion Constraint
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
D 314 t 0
www.autodesk.com/edcommunity
Education Community
Summary of Constraint
Equations
There are five planar bodies each having three DOF giving a
total of fifteen DOF. Fifteen unknowns requires fifteen
equations.
Revolute Joint 3
Revolute Joint 1
Ground Constraint 1
1) X 156.8 0
2)Y 0
A
cg
A
cg
C
cg
C
cg
D
cg
D
cg
12)YcgD YcgE 0
3) cgA 0
Ground Constraint 2
Revolute Joint 2
4) X cgE 0
5)YcgE 0
6) cgE 0
Prismatic Joint
T
0 1 cos A
13) 1 0
A
1
0
sin
0 1 cos A
14) 1 0
A
1
0
sin
2011 Autodesk
Motion Constraint
15) D 314 t 0
sin A
cos A
sin A
cos A
B
A
X CG
X CG
B A
YCG YCG
cos B
sin B
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.
sin B
cos B
1
0
0
www.autodesk.com/edcommunity
Education Community
Summary of 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
Module Summary
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.
Education Community