Documente Academic
Documente Profesional
Documente Cultură
ME G511
COORDINATE FRAMES AND TRANSFORMATIONS
Consider a 2-DOF Planar Manipulator shown
above.
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
The joint link parameters for both the
links are
𝒂𝟏 = 𝟎, 𝜶𝟏 = 𝟗𝟎𝟎 , 𝒅𝟏 = 𝟎 and 𝜽𝟏 = 𝜽𝟏
𝒂𝟐 = 𝟎, 𝜶𝟏 = 𝟎𝟎 , 𝒅𝟐 = 𝒅𝟐 and 𝜽𝟏 = 𝟎 .
Displacement Variable
Link i 𝒂𝒊 𝜶𝒊 𝒅𝒊 𝜽𝒊
𝒒𝒊
1 0 𝟗𝟎𝟎 0 𝜽𝟏 𝜽𝟏
2 0 0 𝒅𝟐 0 𝒅𝟐
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
As another example consider a 3-DOF
RPP Manipulator shown below.
Link Displacement
𝒂𝒊 𝜶𝒊 𝒅𝒊 𝜽𝒊
i Variable 𝒒𝒊
1 0 90 0 𝜽𝟏 𝜽𝟏
2 𝑳𝟐 0 0 𝜽𝟐 𝜽𝟐
3 𝑳𝟑 0 0 𝜽𝟑 𝜽𝟑
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
COORDINATE FRAMES, MAPPING AND TRANSFORMATIONS
A Robot consists of several rigid links,
connected together by joints.
A frame is labelled as
𝒙, 𝒚, 𝒛 or by a number
𝟏.
𝑶𝑷 = 𝒑𝒙 ෝ ෝ + 𝒑𝒛 𝒛ො
𝒙 + 𝒑𝒚 𝒚
Where 𝒑𝒙 , 𝒑𝒚 & 𝒑𝒛 are the
components of the vector
𝑶𝑷 along the three
coordinate axes or the
projections of the vector 𝑶𝑷
along these axes 𝑿, 𝒀, 𝒁
respectively.
Where
𝟐 𝟐 𝟐
𝑳 = 𝑶𝑷 = 𝑷 = 𝟏𝒑𝒙 + 𝟏𝒑𝒚 + 𝟏𝒑𝒛
𝑻
Transpose of the matrix 𝑷 is 𝑷
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
MAPPING
𝒖 𝑽
𝑼
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
In this arrangement, second
frame is rotated w.r.t. the first
frame and then moved away from
it.
A point 𝑷 in space can be
described by the two frames
𝟏 & {𝟐} and can be expressed as
vectors 𝟏𝑷 and 𝟐𝑷 given by
𝟏𝑷 = 𝟏𝑷𝒙 ෝ ෝ + 𝟏𝑷𝒛 𝒛ො …. (1)
𝒙 + 𝟏𝑷𝒚 𝒚
𝟐𝑷 = 𝟐𝑷𝒖 𝒖
ෝ + 𝟐𝑷𝒗 𝒗 ෝ ….(2)
ෝ + 𝟐𝑷𝒘 𝒘
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
Where 𝑷𝒖 , 𝑷𝒗 & 𝑷𝒘
are projections of
point 𝑷 on the
frame {𝟐} or
𝒖, 𝒗, 𝒘
Because the point is
same, its two
descriptions given
by 𝟏 & 𝟐 are
related.
𝟏𝑷𝒙 = ෝ
𝒙. 𝟐𝑷 = ෝ ෝ+ෝ
𝒙. 𝟐𝑷𝒖 𝒖 ෝ+ෝ
𝒙. 𝟐𝑷𝒗 𝒗 ෝ
𝒙. 𝟐𝑷𝒘 𝒘
𝟐𝑷𝒖
𝟏𝑷𝒙 = ෝ ෝ
𝒙. 𝒖 ෝ ෝ ෝ
𝒙. 𝒗 ෝ 𝟐𝑷𝒗
𝒙. 𝒘
𝟐𝑷𝒘
𝟏𝑷𝒚 = 𝒚
ෝ . 𝟐𝑷 = 𝒚
ෝ. 𝟐𝑷𝒖 𝒖
ෝ+𝒚
ෝ. 𝟐𝑷𝒗 𝒗
ෝ+𝒚
ෝ. 𝟐𝑷𝒘 𝒘
ෝ
𝟐𝑷𝒖
𝟏𝑷𝒚 ෝ. 𝒖
= 𝒚 ෝ 𝒚
ෝ. 𝒗
ෝ 𝒚 ෝ 𝟐𝑷𝒗
ෝ. 𝒘
𝟐𝑷𝒘
𝟏𝑷𝒛 = 𝒛ො . 𝟐𝑷 = 𝒛ො . 𝟐𝑷𝒖 𝒖
ෝ + 𝒛ො . 𝟐𝑷𝒗 𝒗
ෝ + 𝒛ො . 𝟐𝑷𝒘 𝒘
ෝ
𝟐𝑷𝒖
𝟏𝑷𝒛 = 𝒛ො . 𝒖
ෝ 𝒛ො . 𝒗 ෝ 𝟐𝑷𝒗
ෝ 𝒛ො . 𝒘
𝟐𝑷𝒘
In matrix form it may be written as
𝟏𝑷𝒙 ෝ
𝒙. 𝒖 ෝ ෝ
𝒙. 𝒗 ෝ ෝ
𝒙. 𝒘 ෝ 𝟐𝑷𝒖
𝟏𝑷𝒚 = 𝒚 ෝ. 𝒖 ෝ 𝒚
ෝ. 𝒗 ෝ 𝒚
ෝ. 𝒘 ෝ 𝟐𝑷𝒗
𝟏𝑷𝒛 ෝ 𝒛ො . 𝒗
𝒛ො . 𝒖 ෝ 𝟐𝑷𝒘
ෝ 𝒛ො . 𝒘
In short 𝟏𝑷 = 𝟏𝑹𝟐 𝟐𝑷
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
𝟏𝑷 𝒙 ෝ
𝒙. 𝒖 ෝ ෝ
𝒙. 𝒗 ෝ 𝒙
ෝ. 𝒘 ෝ 𝟐𝑷 𝒖
𝟏𝑷 𝒚 = 𝒚
ෝ. 𝒖 ෝ ෝ. 𝒗
𝒚 ෝ 𝒚
ෝ. 𝒘 ෝ . 𝟐𝑷 𝒗
𝟏𝑷 𝒛 ෝ
𝒛ො . 𝒖 ෝ 𝒛ො . 𝒘
𝒛ො . 𝒗 ෝ 𝟐𝑷 𝒘
𝟏𝑷 = 𝟏𝑹𝟐 𝟐𝑷
ෝ
𝒙. 𝒖 ෝ ෝ
𝒙. 𝒗 ෝ ෝ
𝒙. 𝒘 ෝ
Where 𝟏𝑹𝟐 = 𝒚
ෝ. 𝒖 ෝ 𝒚
ෝ. 𝒗 ෝ 𝒚
ෝ. 𝒘 ෝ
ෝ 𝒛ො . 𝒗
𝒛ො . 𝒖 ෝ 𝒛ො . 𝒘
ෝ
Because frames {𝟏} and {𝟐} have the same
origin, they can only be rotated with respect to
each other.
𝟐𝑷𝒖 = 𝒖
ෝ . 𝟏𝑷 = 𝒖
ෝ . 𝟏𝑷𝒙 ෝ ෝ . 𝟏𝑷𝒚 𝒚
𝒙+𝒖 ෝ+𝒖
ෝ . 𝟏𝑷𝒛 𝒛ො
𝟏𝑷𝒙 𝟏𝑷𝒙
𝟐𝑷𝒖 ෝ. ෝ
= 𝒖 ෝ. 𝒚
𝒙 𝒖 ෝ . 𝒛ො 𝟏𝑷𝒚 = 𝒙
ෝ 𝒖 ෝ. 𝒖
ෝ 𝒚
ෝ. 𝒖 ෝ 𝟏𝑷𝒚
ෝ 𝒛ො . 𝒖
𝟏𝑷𝒛 𝟏𝑷𝒛
𝟐𝑷𝒗 = 𝒗
ෝ . 𝟏𝑷 = 𝒗
ෝ. 𝟏𝑷𝒙 ෝ ෝ. 𝟏𝑷𝒚 𝒚
𝒙+𝒗 ෝ+𝒗
ෝ. 𝟏𝑷𝒛 𝒛ො
𝟏𝑷𝒙 𝟏𝑷𝒙
𝟐𝑷𝒗 ෝ. 𝒙
= 𝒗 ෝ 𝒗
ෝ. 𝒚 ෝ. 𝒛ො 𝟏𝑷𝒚 = 𝒙
ෝ 𝒗 ෝ. 𝒗
ෝ 𝒚
ෝ. 𝒗 ෝ 𝟏𝑷𝒚
ෝ 𝒛ො . 𝒗
𝟏𝑷𝒛 𝟏𝑷𝒛
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
𝟏𝑷𝒙 𝟏𝑷𝒙
ෝ. ෝ
𝟐𝑷𝒖 = 𝒖 ෝ. 𝒚
𝒙 𝒖 ෝ ෝ . 𝒛ො 𝟏𝑷𝒚 = ෝ
𝒖 ෝ 𝒚
𝒙. 𝒖 ෝ. 𝒖 ෝ 𝟏𝑷𝒚
ෝ 𝒛ො . 𝒖
𝟏𝑷𝒛 𝟏𝑷𝒛
𝟏𝑷𝒙 𝟏𝑷𝒙
ෝ. ෝ
𝟐𝑷𝒗 = 𝒗 𝒙 ෝ. 𝒚
𝒗 ෝ . 𝒛ො 𝟏𝑷𝒚 = 𝒙
ෝ 𝒗 ෝ. 𝒗
ෝ ෝ. 𝒗
𝒚 ෝ ෝ 𝟏𝑷𝒚
𝒛ො . 𝒗
𝟏𝑷𝒛 𝟏𝑷𝒛
𝟐𝑷𝒘 = 𝒘. ෝ 𝟏𝑷𝒙 ෝ
ෝ 𝟏𝑷 = 𝒘. ෝ + 𝒘.
ෝ 𝟏𝑷𝒚 𝒚
𝒙 + 𝒘. ෝ 𝟏𝑷𝒛 𝒛ො
𝟏𝑷𝒙 𝟏𝑷𝒙
𝟐𝑷𝒗 = 𝒘.
ෝ 𝒙ෝ ෝ 𝒚
𝒘. ෝ ෝ 𝒛ො 𝟏𝑷𝒚 = 𝒙
𝒘. ෝ. 𝒘
ෝ ෝ. 𝒘
𝒚 ෝ ෝ 𝟏𝑷𝒚
𝒛ො . 𝒘
𝟏𝑷𝒛 𝟏𝑷𝒛
In matrix form it may be written as
𝟐𝑷𝒖 ෝ. 𝒙
𝒖 ෝ 𝒖
ෝ. 𝒚
ෝ ෝ . 𝒛ො
𝒖 𝟏𝑷𝒙 ෝ. 𝒖
𝒙 ෝ 𝒚
ෝ. 𝒖
ෝ ෝ
𝒛ො . 𝒖 𝟏𝑷𝒙
𝟐𝑷𝒗 = 𝒗
ෝ. 𝒙
ෝ 𝒗
ෝ. 𝒚
ෝ ෝ. 𝒛ො
𝒗 𝟏𝑷𝒚 = 𝒙
ෝ. 𝒗
ෝ 𝒚
ෝ. 𝒗
ෝ ෝ
𝒛ො . 𝒗 𝟏𝑷𝒚
𝟐𝑷𝒘 ෝ 𝒙
𝒘. ෝ 𝒘.
ෝ 𝒚ෝ ෝ 𝒛ො
𝒘. 𝟏𝑷𝒛 ෝ. 𝒘
𝒙 ෝ. 𝒘
ෝ 𝒚 ෝ 𝒛ො . 𝒘ෝ 𝟏𝑷𝒛
In short 𝟐𝑷 = 𝟐𝑹𝟏 𝟏𝑷
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
That is 𝟐𝑷 = 𝟐𝑹𝟏 𝟏𝑷
ෝ. 𝒖
𝒙 ෝ ෝ. 𝒖
𝒚 ෝ 𝒛ො . 𝒖
ෝ
𝑻
𝟐 𝑹𝟏 ෝ. 𝒗
= 𝒙 ෝ ෝ. 𝒗
𝒚 ෝ 𝒛ො . 𝒗
ෝ = 𝟏 𝑹𝟐
ෝ. 𝒘
𝒙 ෝ ෝ. 𝒘
𝒚 ෝ 𝒛ො . 𝒘
ෝ
𝑻
Hence we can write 𝟐𝑷 = 𝟐𝑹𝟏 𝟏𝑷 = 𝟏𝑹𝟐 𝟏𝑷
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus
𝑻 𝑻
𝟐 𝑷 = 𝟐 𝑹 𝟏 𝟏 𝑷 = 𝟏 𝑹𝟐 𝟏 𝑷 𝟐 𝑹𝟏 = 𝟏 𝑹𝟐
−𝟏 𝑻
𝟏𝑹𝟐 = 𝟏𝑹𝟐
−𝟏 𝑻
𝑹 𝑹 = 𝑹 𝑹 = 𝑰
THANK YOU
Lecture 6 ME G511 Mechanisms and Robotics BITS Pilani, Hyderabad Campus