Wednesday March 1st Dr. Moran

Slides:



Advertisements
Similar presentations
Computer Graphics: 3D Transformations
Advertisements

Today Composing transformations 3D Transformations
By: Chris Dalton.  3-dimensional movement can be described by the use of 6 Degrees of Freedom ◦ 3 translational Degrees of Freedom ◦ 3 rotational Degrees.
1Computer Graphics Homogeneous Coordinates & Transformations Lecture 11/12 John Shearer Culture Lab – space 2
Announcements. Structure-from-Motion Determining the 3-D structure of the world, and/or the motion of a camera using a sequence of images taken by a moving.
Angular Kinematics D. Gordon E. Robertson, PhD, FCSB
Computer Graphics Lecture 4 Geometry & Transformations.
Links and Joints.
Joint Coordinate System
Kinematic Modelling in Robotics
Background: Coordinate System Transformations. i j Derivation of the 2D Rotation Matrix (basis vectors) θ.
Chris Hall Aerospace and Ocean Engineering
The ISB model for the Upper Extremity DirkJan Veeger Carolien van Andel Jaap Harlaar ESMAC Seminar “Movement Analysis of the Upper Extremity”
Joint Angles Calculation
Geometry (Many slides adapted from Octavia Camps and Amitabh Varshney)
3D Kinematics Eric Whitman 1/24/2010. Rigid Body State: 2D p.
The Concepts of Orientation/Rotation ‘Transformations’ ME Lecture Series 2 Fall 2011, Dr. R. Lindeke 1.
ME Robotics Dynamics of Robot Manipulators Purpose: This chapter introduces the dynamics of mechanisms. A robot can be treated as a set of linked.
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
Ch. 2: Rigid Body Motions and Homogeneous Transforms
3D orientation.
Ch. 3: Forward and Inverse Kinematics
ME Robotics DIFFERENTIAL KINEMATICS Purpose: The purpose of this chapter is to introduce you to robot motion. Differential forms of the homogeneous.
Slide Set 3 – Review of Matrix Methods Applicable to Robot Control
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Rotations and Translations. Representing a Point 3D A tri-dimensional point A is a reference coordinate system here.
Lecture 2 Advanced Biomechanics Dr. Moran Spring 2006.
Transformations CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Screw Rotation and Other Rotational Forms
The linear algebra of Canadarm
An Introduction to Robot Kinematics
More details and examples on robot arms and kinematics
ME/ECE Professor N. J. Ferrier Forward Kinematics Professor Nicola Ferrier ME Room 2246,
1 Kinematics ( 運動學 ) Primer Jyun-Ming Chen Fall 2009.
Mathematical Fundamentals
Rotations and Translations
Transformations Aaron Bloomfield CS 445: Introduction to Graphics
3D Kinematics Consists of two parts 3D rotation 3D translation  The same as 2D 3D rotation is more complicated than 2D rotation (restricted to z- axis)
CS 480/680 Computer Graphics Representation Dr. Frederick C Harris, Jr. Fall 2012.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
MEGN 536 – Computational Biomechanics Euler Angles
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Segmental Angles Joint Angles: Euler Joint Angles: Helical Exporting Data from GaitProject to Visual3d Tonight’s Lecture.
Computer Graphics Bing-Yu Chen National Taiwan University.
Chapter 2 Robot Kinematics: Position Analysis
Rotations and Translations
Rotations and Translations 1. Mathematical terms The inner product of 2 vectors a,b is defined as: The cross product of 2 vectors is defined as: A unit.
CS 325 Introduction to Computer Graphics 02 / 17 / 2010 Instructor: Michael Eckmann.
Kinematics of Robot Manipulator
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
Spatial Modeling – some fundamentals for Robot Kinematics ME 3230.
Robot Kinematics: Position Analysis 2.1 INTRODUCTION  Forward Kinematics: to determine where the robot ’ s hand is? (If all joint variables are known)
What is Kinematics. Kinematics studies the motion of bodies.
FROM PARTICLE TO RIGID BODY.
Affine Geometry.
Computer Graphics Matrices
Basic Concepts in Biomechanics Lecture 1 AC1101 Dr. J. Kim Ross.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
KINEMATICS ANALYSIS OF ROBOTS (Part 5). This lecture continues the discussion on the analysis of the forward and inverse kinematics of robots. After this.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
Computer Graphics I, Fall 2010 Transformations.
Forward Kinematics Where is my hand ?. Examples Denavit-Hartenberg Specialized description of articulated figures (joints) Each joint has only one degree.
EE 495 Modern Navigation Systems Navigation Mathematics Rotation Matrices – Part II Wednesday, Jan 14 EE 495 Modern Navigation Systems Slide 1 of 21.
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
Fundamentals of Computer Animation Orientation and Rotation.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
Spatcial Description & Transformation
Angular Kinematics D. Gordon E. Robertson, PhD, FCSB
Mobile Robot Kinematics
CHAPTER 2 FORWARD KINEMATIC 1.
Presentation transcript:

Wednesday March 1st Dr. Moran Lecture 6 Wednesday March 1st Dr. Moran

Lecture Outline Review Sheet for Midterm Recap of 3D Kinematics Where we left off Matrix Method Joint Angle Computation Euler Angles vs Cardan Angles Joint Coordinate System Finite Helical Angles

4x4 Matrix Applications Anatomical Calibration: location of anatomical axes of rotation can be determined to global marker locations through accurate calibration Reflective Marker Wand (dimensions known) Joint Rotation: Rotation of the knee, for example, can be described by the knee joint center plus the motion of the shank relative to motion of the thigh. Virtual Points: It may be impossible to place markers at all the key locations (e.g. the hip joint center), therefore a calibration procedure facilitates hidden landmark identification.

Rotation Matrix Recall this is the 3x3 inner matrix (lower right elements) of the 4x4 Tmatrix To generate the 3x1 vectors comprising the rotation matrix the unit vector of the local CS axes in the global CS are used. Dividing each vector by its length (to get the unit vector) gives the cosine of the angle that the vector makes with each axes of the global CS Thus these are known as DIRECTION ANGLES and the DIRECTION COSINES

Rotation Matrix (Continued) cosXx cosXy cosXz [R] = cosYx cosYy cosYz cosZx cosZy cosZz What do the elements mean? Ex: cosXy means the cosine of the angle formed by the X-axis of global CS and the y-axis of local-CS Why are direction cosines useful? If the rotation matrix is known for a local CS, then it is possible to determine the angles between the local and global axes

Pure Rotation A Simple Example (rotation about the Z-axis) Y X Y (Px,Py) You have point P’s coordinate in the local CS, how can you get it coordinates in the global CS? alpha 90-alpha First the DIRECTION COSINES: Local x WRT Global X: cos (alpha) Local x WRT Global Y: cos (90 -alpha) Local y WRT Global X: cos (90 + alpha) Local y WRT Global Y: cos (alpha) Black = global Red = local Pglobal = cos (alpha) cos (90+alpha) Px = [R] [Plocal] cos (90-alpha) cos (alpha) Py

Pure Rotation (continued) Ex: What would be the global coordinates of P if the local coordinates are [3,1] and the local CS is rotated about the z-axis 25 degrees? Pglobal = cos (25) cos (90+25) 3 cos (90-25) cos (25) 1 = 2.30 2.17 Pglobal = .9063 -.4226 3 .4226 .9063 1

Translation & Rotation To convert a point’s coordinate from one CS to another, a similar principle is applied except that the 4x4 transformation matrix is multiplied by the 4x1 point. A “1” is element 1 for the above the x,y,z point coordinates The 4x4 transformation matrix is known as a HOMOGENEOUS TRANSFORM

Manipulation of Transformation Matrices The general goal of transformation algorithms is to convert the motion of global 3D coordinates to meaningful relative rotations of two bodies. Some tools are needed to ease the manipulation of the transformation matrices: Position Matrix: a transformation from local (body 1 or 2) to global coordinates [ TG1 ], [ TG2 ], Local Transformation Matrix: a transformation in local coordinates from one body to another [ T12 ] Displacement Matrix: a transformation in global coordinates from one body to another [ D12 ]

Common Problems Transformation Matrices 1.) Given global coordinates of two bodies, find relative position in local reference frame Given: [ TG1 ], [ TG2 ] Wanted: [ T12 ] Solution: [ T12 ] = [ TG1 ]-1 [ TG2 ] TG2 TG1 BODY 1 T12 BODY 2 GLOBAL

Common Problems Transformation Matrices 2.) Given global coordinates of one body and its relative position to another body, find global coordinates of second body Given: [ TG1 ], [T12] Wanted: [ TG2] Solution: [ TG2] = [ TG1 ] [T12]-1 3.) Given global coordinates of two bodies, find displacement matrix between bodies (assume it is the SAME body but at 2 different points in time) Given: [ TG1 ], [TG2] Wanted: [ D12]

Common Problems Transformation Matrices 3.) con’t Body 1 – time 2 Body 1 – time 1 Consider point P ( ): [PG1] = [TG1] PB1 [PG2] = [TG2] PB1 [TG1]-1 [PG1] = [TG2]-1 [PG2] [TG2] [TG1]-1 [PG1] = [PG2] [D12] = [TG2] [TG1]-1 GLOBAL NOTE: this is different than [T12] which relates LOCAL points b/c this relates GLOBAL points

Joint Angles Methods Used Within Biomechanics Euler/Cardan Angles Joint Coordinate System Helical Axes Each method has specific advantages and disadvantages and the best method to use for a project depends on numerous factors

Euler’s Angles Leonhard Euler (1707-1783) 3D finite rotations are non-commutative They must be performed in specific ORDER Ex: book on desk The order of rotations is precisely described in biomechanics depending on the application 12 possible sequences of rotations First rotation defined relative to a GLOBAL axis Third rotation defined about an axis in rotating body (LOCAL) Second rotation defined about a floating axis in the second body Ex: (Xglobal, Ylocal, Xlocal) When the terminal rotation is the same it is known as an EULER ROTATIONS (6) When the terminal rotations are NOT the same these are considered CARDAN ROTATIONS (6) http://www-history.mcs.st-andrews.ac.uk/PictDisplay/Euler.html http://www.strubi.ox.ac.uk/strubi/fuller/docs/spider2003/euler.gif

Y X . Z

Common Cardan Sequence in biomechanics studies Xyz sequence Rotation about medially-directed X axis (Global CS) Rotation about anteriorly-directed y axis (Local CS) Rotation about vertical axis (Local CS) See Fig 2.12 in text This sequence chosen to represent joint angles and recommended within biomechanics (Cole et al., 1993) Rotations occur about: flexion-extension axis, ab/adduction axis, and axial rotation Major Disadvantage: Gimbal Lock  when middle rotation equals π/2 it results in mathematical singularity and causes computational problems

Cardan Sequence Application Movement of a joint is defined as the motion of the distal (far) segment to the proximal segment (near) Ex (knee): thigh (proximal segment) Shank (distal segment) Find TTS Decompose rotation matrix into the three Cardan angles of flexion-extension, ab-adduction, axial rotation

Joint Coordinate System (JCS) Grood & Suntay (1983) Describe the motion of the knee joint Purpose: to insure that all three rotations had functional meaning for the knee How is it different than an Euler/Cardan rotation? NOT an orthogonal system Two segment-fixed axes and a FLOATING axis Essentially we must define the anatomical axes of interest from bony markers, the clinical axes of rotation, and the origin of the joint coordinate system for a complete analysis of motion

Helical Angles Woltring (1985, 1991) Another method to describe the orientation (both rotation & translation) between two reference systems Any two reference systems can be “matched” up through a single rotation and a translation about a single axi This axis does not necessarily have to line up with one of the axis of the local CS Good for joints that are hinge-like i.e. talocrural joint