Homogeneous Transformations

Similar documents
1 HOMOGENEOUS TRANSFORMATIONS

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 2: Rigid Motions and Homogeneous Transformations

Minimal representations of orientation

Ridig Body Motion Homogeneous Transformations

Rigid Body Motion. Greg Hager Simon Leonard

Differential Kinematics

CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer

Cartesian Coordinates, Points, and Transformations

Quiz No. 1: Tuesday Jan. 31. Assignment No. 2, due Thursday Feb 2: Problems 8.4, 8.13, 3.10, 3.28 Conceptual questions: 8.1, 3.6, 3.12, 3.

CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer

GEOMETRY AND VECTORS

Lecture 2: Vector-Vector Operations

Dynamics 12e. Copyright 2010 Pearson Education South Asia Pte Ltd. Chapter 20 3D Kinematics of a Rigid Body

Robotics & Automation. Lecture 06. Serial Kinematic Chain, Forward Kinematics. John T. Wen. September 11, 2008

Robotics & Automation. Lecture 17. Manipulability Ellipsoid, Singularities of Serial Arm. John T. Wen. October 14, 2008

Omm Al-Qura University Dr. Abdulsalam Ai LECTURE OUTLINE CHAPTER 3. Vectors in Physics

Matrix Theory and Differential Equations Homework 6 Solutions, 10/5/6

Chapter 2 Math Fundamentals

Transformations. Lars Vidar Magnusson. August 24,

Designing Information Devices and Systems I Discussion 2A

Robotics - Homogeneous coordinates and transformations. Simone Ceriani

Trig Identities, Solving Trig Equations Answer Section

THE DIFFERENTIAL GEOMETRY OF PARAMETRIC PRIMITIVES

Vector/Matrix operations. *Remember: All parts of HW 1 are due on 1/31 or 2/1

11.1 Three-Dimensional Coordinate System

Notes: Vectors and Scalars

Kinematic Analysis of the 6R Manipulator of General Geometry

Exercise 1b: Differential Kinematics of the ABB IRB 120

Position and orientation of rigid bodies

Vectors in Three Dimensions and Transformations

POLI270 - Linear Algebra

Robotics I Kinematics, Dynamics and Control of Robotic Manipulators. Velocity Kinematics

GG612 Lecture 3. Outline

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

Vectors. In kinematics, the simplest concept is position, so let s begin with a position vector shown below:

CS 378: Computer Game Technology

Motion in Three Dimensions

Chapter 3 Kinematics in Two Dimensions; Vectors

The Jacobian. Jesse van den Kieboom

Properties of Transformations

Computer Graphics: 2D Transformations. Course Website:

Introduction to Matrix Algebra

COMP 175 COMPUTER GRAPHICS. Lecture 04: Transform 1. COMP 175: Computer Graphics February 9, Erik Anderson 04 Transform 1

Position and orientation of rigid bodies

2D Geometric Transformations. (Chapter 5 in FVD)

Math 416, Spring 2010 More on Algebraic and Geometric Properties January 21, 2010 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES

8 Velocity Kinematics

Lesson Rigid Body Dynamics

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

Fundamental principles

Math 51, Homework-2. Section numbers are from the course textbook.

Vectors Summary. can slide along the line of action. not restricted, defined by magnitude & direction but can be anywhere.

Mathematics for 3D Graphics

Chapter 3. Vectors and Two-Dimensional Motion

Kinematics of a UR5. Rasmus Skovgaard Andersen Aalborg University

3D Coordinate Transformations. Tuesday September 8 th 2015

Vectors for Physics. AP Physics C

Basic Math Matrices & Transformations

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

Computational Stiffness Method

Mathematical Foundations: Intro

Vectors and Matrices

Chapter 3. Vectors and. Two-Dimensional Motion Vector vs. Scalar Review

Robotics & Automation. Lecture 03. Representation of SO(3) John T. Wen. September 3, 2008

Transformations. Chapter D Transformations Translation

1 Kalman Filter Introduction

Chapter 2 Homogeneous Transformation Matrix

2.1 Scalars and Vectors

GG303 Lecture 6 8/27/09 1 SCALARS, VECTORS, AND TENSORS

Geometric Transformations and Wallpaper Groups

Static Equilibrium. University of Arizona J. H. Burge

Chapter 3: 2D Kinematics Tuesday January 20th

Vectors in Physics. Topics to review:

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Bastian Steder

Lecture 8: Coordinate Frames. CITS3003 Graphics & Animation

Course Overview. Statics (Freshman Fall) Dynamics: x(t)= f(f(t)) displacement as a function of time and applied force

MODEL ANSWERS TO THE THIRD HOMEWORK

Rotational motion of a rigid body spinning around a rotational axis ˆn;

3x + 2y 2z w = 3 x + y + z + 2w = 5 3y 3z 3w = 0. 2x + y z = 0 x + 2y + 4z = 3 2y + 6z = 4. 5x + 6y + 2z = 28 4x + 4y + z = 20 2x + 3y + z = 13

Basic Math Matrices & Transformations (revised)

The Cross Product The cross product of v = (v 1,v 2,v 3 ) and w = (w 1,w 2,w 3 ) is

Inverse differential kinematics Statics and force transformations

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Cyrill Stachniss, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Section 13.4 The Cross Product

Chapter 5 Trigonometric Functions of Angles

Multiple Choice Questions

v = v 1 2 +v 2 2. Two successive applications of this idea give the length of the vector v R 3 :

Zero Energy Modes in One Dimension: An Introduction to Hourglass Modes

7 : APPENDIX. Vectors and Matrices

Notes on multivariable calculus

Three-Dimensional Biomechanical Analysis of Human Movement

RELATIVE MOTION ANALYSIS (Section 12.10)

Math 51, Homework-2 Solutions

Rigid Geometric Transformations

Chapter 2: Statics of Particles

Chapter 3: Theory Review: Solutions Math 308 F Spring 2015

Review of Coordinate Systems

PHYS 705: Classical Mechanics. Rigid Body Motion Introduction + Math Review

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

Transcription:

Purpose: Homogeneous Transformations The purpose of this chapter is to introduce you to the Homogeneous Transformation. This simple 4 x 4 transformation is used in the geometry engines of CAD systems and in the kinematics model in robot controllers. It is very useful for examining rigid-body position and orientation (pose) of a sequence of robotic links and joint frames.

In particular, you will. Examine the structure of the HT (homogeneous transform). 2. See how orientation and position are represented within one matrix. 3. Apply the HT to pose (position and orient) a frame (xyz set of axes) relative to another reference frame. 4. Examine the HT for simple rotations about an axis. 5. See the effect of multiplying a series of HT s. 6. Interpret the order of a product of HT s relative to base and body-fixed frames. 7. See how the HT is used in robotics.

Script Notation: Pre super and sub-scripts are often used to denote frames of reference B T C = transformation of frame C relative to frame B C p = vector located in frame C Tsai uses a pre and post script notation B T C = transformation of frame C relative to frame B C p = vector located in frame C Note that we may not use the scripting approach, but instead graphically interpret the frame representations.

Homogeneous Transformation a x b x c x p x H = a y a z b y b z c y c z p y p z d d 2 d 3 H can represent translation, rotation, stretching or shrinking (scaling), and perspective transformations

Interpreting the HT as a frame a b c p R a x b x c x p x H = a y a z b y b z c y c z p y p z a, b, and c form an orientation sub-matrix denoted by R (3 x 3), while p (3 x ) is the frame s origin offset.

What do the terms represent? a is a vector ( set of direction cosines a x, a y, and a z ) that orients the frame s x axis relative to the base X, Y, and Z axes, respectively. Similar interpretations are made for the frame s y and z axes through the direction cosine sets represented by vectors b and c. p is a vector of 3 components representing the frame s origin relative to the reference axes. a = p Base frame a x a y a z Frame

Interpreting the HT used to locate a vector in the base frame Given a fixed vector u, its transformation v is represented by z H v u v = H u Note that this form doesn t work for free vectors! x y Frame Interpretation

Transforming vectors The position vector u having components u x, u y, u z must be expanded to a 4 x vector by adding a. u = u x u y u z Note: To transform an orientation vector, only use the orientation sub-matrix R, and drop the from the vector so that you are multiplying a (3 x 3) matrix times a (3 x ) vector.

Interpreting the HT v = R p u x u y = R u + p u T z The adds in the frame origin, while the R resolves the vector u into the base frame

Special cases: Pure rotation H = a x b x c x a y b y c y a z b z c z

Special cases: p x Pure translation H = p y p z

Rotational forms Pure rotation about x R(x, θ) = cosθ sinθ -sinθ cosθ θ θ x

Rotational forms cosθ sinθ Pure rotation about y R(y, θ) = -sinθ cosθ cosθ -sinθ Pure rotation about z R(z, θ) = sinθ cosθ

Example - Rotate u by 9 o about +Z and 9 o about +Y, where XYZ are the fixed base reference axes. What are the final coordinates of the vector u after these two rotations in the base XYZ axes? If the rotation order changed, will the final coordinates be the same? Let u T = [ ]. Soln: Thus, v = R (Z,9 ) u "rotate u to v" w = R (Y,9 ) v "rotate v to w" w = R (Y,9 ) R (Z,9 ) u

R(Y,9 ) = - - R(Z,9 ) =

w = = Graphical interpretation Z, z', y" Y, x', x" X,z" 9 9 y' (,,) (,,)

w = = Change order? Not commutative!

Order of p and R: first R, then p w = H(p) H(R) u = I p T w = R p T u = H (R, p) u R T u R p

Order of p and R: first p, then R w = H(R) H(p) u = R T I p T u = R Rp T u R Note the difference in the final matrix form. Can you explain the difference? p

Understanding HT multiplication order If we postmultiply a transformation (A B) representing a frame (relative to base axes) by a second transformation (relative to the frame of the first transformation), we make the transformation with respect to the frame axes of the first transformation. Premultiplying the frame transformation by the second transformation (B A) causes the transformation to be made with respect to the base reference frame.

Example -Given frame C = and transformation H = 2 - - locate frame X = H C and frame Y = C H. Note the differences.

Results : HC X = HC = H - C 2 - = 2 Z y' z 2 y C X z" y" z' x" x' Y X x

Results : CH Y = C 2 - - Z H = - 3 - z x y C 2 Y X z Y y x

Inverse Transformations Given u and the rotational transformation R, the coordinates of u after being rotated by R are defined by v = Ru. The inverse question is given v, what u when rotated by R will give v? Answer: u = R - v = R T v

Inverse Transformations Similarly for any displacement matrix H (R, p), we can pose a similar question to get u = H - v. What is the inverse of a displacement transformation? Without proof: a x a y a z -p T a H - = b x b y b z -p T b c x c y c z -p T c = R T -R T p T

Operational rules for square matrices of full rank : (A B C ) T = C T B T A T (A B C ) - = C - B - A -

HT summary Homogeneous transformation consists of three components: rotational, orthogonal 3x3 sub-matrix which is comprised of columns of direction cosines used to orient the axes of one frame relative to another. column vector in 4th column represents the origin of second frame relative to first frame, resolved in the first frame. 's in 4 th row except for in 4,4 position.

HT summary The homogeneous transformation effectively merges a frame orientation matrix and frame translation vector into one matrix. The order of the operation should be viewed as rotation first, then translation.

HT summary The homogeneous transformation can be viewed as a position/orientation relationship of one frame relative to another frame called the reference frame.

HT summary A B can be interpreted as frame A described relative to the first or base frame while frame B is described relative to frame A (usual way). We can also interpret B in the base frame transformed by A in the base frame. Both interpretations give same result.