Mathematical tools for referencing a frame and transforming
DiegoCruz159974
39 views
60 slides
Aug 06, 2024
Slide 1 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
About This Presentation
Robotics presentation number 3
Size: 4.59 MB
Language: en
Added: Aug 06, 2024
Slides: 60 pages
Slide Content
Robotics
MATHEMATICAL TOOLS AND REFERENCE FRAME
TRANSFORMATIONS
So far…
Descriptionofa position: Vector
Descriptionofanorientation: Attached
coordinateframeand a rotationmatrix
DescriptionofPose: HomogeneousTransformation
Matrix (MTH)
schedule
Forward kinematics
•
How does the tool point
movegiven the dimensions
of the robotand the joint
angles?
https://saurabhpalan.files.wordpress.com/2010/02/i
arm.jpg
•
Howdoesthemobilerobot
movegivenitsgeometryand
thespeedofitswheels?
https://www.robotsinsearch.com/products/tetra-ds-iv-mobile-robot-
platform
Description of position
A descriptionisusedtospecifyattributesofvarious
objectswithwhicha manipulationsystemdeals.
●
Theseobjectsare parts, tools, and themanipulatoritself.
Descriptionofa position: Once a coordinatesystemis
established, wecan locate anypointin theuniverse
witha 3 x 1 position vector.
Descriptionoforientation
Wewillfinditnecessarynotonlytorepresenta point
in spacebutalsotodescribe theorientationofa body
in space
In ordertodescribe theorientationofa body, wewill
attacha coordinatesystemtothebodyand thengive
a descriptionofthiscoordinatesystemrelative tothe
referencesystem
Descriptionofposition and orientation
Firststep: Attacha frame(coordinatesystem) totheobject
Add coordinate systems
Adda coordinatesystemtoeachimportant
physicalpartofyourrobot
A memory pill: Vector projection
https://en.wikipedia.org/wiki/Vector_projectio
n
Description of orientation
One way to describe the body attached coordinate system,
{B}, is to write the unit vectors of its three principal axes in
terms of the coordinate system {A}: A rotation matrix!
Further inspection shows that the rows of the matrix are the
unit vectors of {A} expressed in {B}. Hence, the description
of frame {A} relative to {B}, is given by
The inverse of a rotation matrix is equal to its transpose!
Rotation matrix
Used to represent the orientation of a body
Properties:
So far…
Descriptionofa position: Vector
Descriptionofanorientation: Attached
coordinateframeand a rotationmatrix
Whereastheposition ofa pointisrepresented
witha vector, theorientationofa bodyis
representedwitha matrix.
Description of a frame
A frame:
●
A coordinatesystem
describedbya
position vectorand a
rotationmatrix
Arrow between frames: {C} is
known relative {A} and not
viceversa
Mappings: Changing descriptions from
frame to frame
We will be concerned with expressing the same quantity
in terms of various reference coordinate systems.
Given P
B
, compute P
A
: Rotation and translation
Transformation matrices
•
Thechangein position and orientationbetween:
•
Joints,
•
mobilerobot locations,
•
Sensors,
•
robot and otherobjects,
•
isdescribedusingtransformationmatrices
•
Anyframecan serve as a referencesystem: transforming
fromoneframetoanother
Mappings: Changing descriptions from
frame to frame
Mappingas anoperatorin matrixform:
HomogeneousTransformationMatrix (HTM):●
A "1" isaddedas thelastelementofthe4 x 1 vectors
●
row"[0 0 0 1]" isaddedas thelastrowofthe4 x 4
matrix.
Homogeneous transform -
Example
Operators: translations, rotationsand
transformations
Translations
Rotations
What about rotations about other axes?
Transformationoperators
ThetransformthatrotatesbyR and translatesbyQ
isthesameas thetransformthatdescribesa frame
rotatedbyR and translatedbyQ relative tothe
referenceframe.
Example2.4 –Page 33 (Craig)
Interpretations of a homogeneous
transform (T)
Transformationarithmetic
Compoundtransformations
C
P
A
P ?
Transformation arithmetic
Invertinga transfrom: Calculatetheinverse?
A computationallysimplermethod(OWb):
Example2.5, page 36
Transformequations
?
Transform equations
?
Example2.6 (Craig)
Homework
Read
and solveexercis
esin
Chapter2 of
Craig’sbook
Themanipulationofthepiececarriedoutbytherobot impliesthespatialmovementofitsend
In orderfortherobot tobe abletomanipulatea piece, itisnecessarytoknowitsLOCATION,
thatis, itspositionand orientationwithrespecttotherobot base.
Introduction
Needingofa matematicalstooltospecifythepositionand orientationofendeffectorwith
respecttotherobot base
Thereferencecoordinatesystemlocatedfromrobot base named{S} and itsassociatedaxesXYZ
configuringOXYZ system
Thecoordinatesystemlocatedontherobot'swristisnamed{S'} and itsassociatedUVW axesby
configuringtheO'UVW system
Thematrix??????
??
?
mathematicallyrelates thesystemS totheS'
Position representation
Somerobots onlyneedtoposition theirendeffector
Position representation
a point can be positioned in the plane or in space
Position in a PLANE
Positioning by 2 DoFthrough 2 independent
components.
Coordinate vectors: OX and OY in the OXY
coordinate reference system.
Position in theSPACE
Positioning by 3 DoFthrough 3 independent
components.
Coordinate vectors: OX , OY and OZ in the
OXYZ coordinate reference system.
There are several coordinates system to position a point,
they are:Cartesian, cylindrical, polar and spherical
Position representation
Positioning by Cartesian coordinates
•Position vector p(x,y)
•(x,y):Cartesiancoordinates,where
(x,y)arethep vector projection in the
axes OX and OY respectively
•Position vector p(x,y,z)
•(x,y,z): Cartesiancoordinates,where
(x,y,z) arethep vector projection in the
axes OX, OY and OZ respectively
Position representation
Positioning by Polarand Cylindrical coordinates
•Position vector p(r,Ɵ)
•(r,Ɵ): Polar coordinates, where r is
the distance from origin to “a” point and
Ɵ is the p angle from OX axe.
•Position vector p(r,Ɵ,z)
•(r,Ɵ,z): Cylindrical coordinates,
where r is the distance from origin to
“a” point,Ɵis the p angle from OXY
axe and z is the p projection from OY
axe.
Polar coordinates
Cylindrical coordinates
Position representation
Positioning by SPHERICAL coordinates
•Position vector p(r,Ɵ,ϕ)
•(r,Ɵ,ϕ ): Spherical coordinates,
where r is the distance from origin
to “a” point or extremof p vector, Ɵ
is the p angle from OXY axe and ϕ
is the p angle from OZ axe.
Orientationrepresentation
3D Rotationmatrices (OX)
Orientationrepresentation
3D Rotationmatrices (OY)
Orientationrepresentation
3D Rotationmatrices (OZ)
Orientationrepresentation
Signsoftwists
Orientationrepresentation
Signsoftwists
Orientationrepresentation
Compositionofrotationmatrices
Torepresenta finite sequenceofrotationswithrespecttotheprincipal
axis oftheOXYZ coordinatesystem, thebasicrotationmatrices are
multiplied.
but,it must be taken into accountthat:
•Matrix multiplication is not commutative.
•And therefore, the order in which the rotations are carried out is
important.
Basic rotations with respect to the principal axes can also be chained
together of the coordinate systems obtained after a rotation
Orientationrepresentation
Compositionofrotationmatrices
Rule for orderly composition of rotations:
Initially both coordinate systems are assumed to coincide. initial rotation matrix
=I initial rotation matrix =I.
If the moving system rotates with respect to one of the principal axes of the
fixed system fixed system, premultiplythe previous rotation matrix by the
corresponding elementary rotation matrix.
If the moving system rotates about one of its own principal axes, postmultiply
the previous rotation matrix by the corresponding elementary rotation matrix.
Orientationrepresentation
Compositionofrotationmatrices
EXERCISE 1
Obtaintherotationmatrixofa stationarysystem{A} thatrotates3 times untiltobecomethesystem{B}
RotationofanƟ angle abouttheOZ axis red system1
Rotationofanϕangle abouttheOY axis greensystem2
Rotationofanαangle abouttheOX axis blue system3
Orientationrepresentation
Compositionofrotationmatrices
EXERCISE 1
Obtaintherotationmatrixofa stationarysystem{A} thatrotates3 times untiltobecomethesystem{B}
RotationofanƟ angle abouttheOZ axis red system1
Rotationofanϕangle abouttheOY axis greensystem2
Rotationofanαangle abouttheOX axis blue system3
Orientationrepresentation
Compositionofrotationmatrices
EXERCISE 1
Obtaintherotationmatrixofa stationarysystem{A} thatrotates3 times untiltobecomethesystem{B}
RotationofanƟ angle abouttheOZ axis red system1
Rotationofanϕangle abouttheOY axis greensystem2
Rotationofanαangle abouttheOX axis blue system3
Orientationand position representation
Homogeneouscoordinates
References
1.https://awseducate.instructure.com/courses/737/pages
/motivation?module_item_id=12841
2.Introduction to Autonomous Mobile Robots (Intelligent
Robotics and Autonomous Agents series). Roland
Siegwart, Illah Reza Nourbakhsh, Davide Scaramuzza.