IK: Choose these angles!

Slides:



Advertisements
Similar presentations
Configuration Space. Recap Represent environments as graphs –Paths are connected vertices –Make assumption that robot is a point Need to be able to use.
Advertisements

ROBOT VISION Lesson 9: Robot Kinematics Matthias Rüther
Robot Modeling and the Forward Kinematic Solution
Outline: Introduction Link Description Link-Connection Description
Links and Joints.
Inverse Kinematics Course site:
Outline: Introduction Solvability Manipulator subspace when n<6
Manipulator’s Inverse kinematics
Review: Homogeneous Transformations
Denavit-Hartenberg Convention
Kinematics & Grasping Need to know: Representing mechanism geometry Standard configurations Degrees of freedom Grippers and graspability conditions Goal.
Forward and Inverse Kinematics CSE 3541 Matt Boggus.
Forward Kinematics. Focus on links chains May be combined in a tree structure Degrees of Freedom Number of independent position variables (i.e. joints.
Robot Modeling and the Forward Kinematic Solution ME 4135 Lecture Series 4 Dr. R. Lindeke – Fall 2011.
Inverse Kinematics Problem:
Time to Derive Kinematics Model of the Robotic Arm
Ch. 3: Forward and Inverse Kinematics
CPSC 452 Inverse Kinematics Prof. Oussama Khatib, Stanford University Prof. Dezhen Song, Texas A&M University.
IK: Choose these angles!
Inverse Kinematics How do I put my hand here? IK: Choose these angles!
Introduction to Robotics Tutorial III Alfred Bruckstein Yaniv Altshuler.
Inverse Kinematics Problem: Input: the desired position and orientation of the tool Output: the set of joints parameters.
Introduction to ROBOTICS
Serial and Parallel Manipulators
Introduction to ROBOTICS
The linear algebra of Canadarm
An Introduction to Robot Kinematics
ME/ECE Professor N. J. Ferrier Forward Kinematics Professor Nicola Ferrier ME Room 2246,
Lecture 2: Introduction to Concepts in Robotics
CSCE 452 Intro to Robotics Inverse Kinematics 1. CSCE 452 Intro to Robotics.
Manipulator’s Forward kinematics
CSCE 441: Computer Graphics Forward/Inverse kinematics Jinxiang Chai.
Kinematics. The function of a robot is to manipulate objects in its workspace. To manipulate objects means to cause them to move in a desired way (as.
ROBOT VISION LABORATORY 김 형 석 Robot Applications-B
Outline: Introduction Solvability Manipulator subspace when n<6
Manipulator Kinematics Treatment of motion without regard to the forces that cause it. Contents of lecture: vResume vDirect kinematics vDenavit-Hartenberg.
Robotics Chapter 3 – Forward Kinematics
Velocity Propagation Between Robot Links 3/4 Instructor: Jacob Rosen Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA.
Kinematics 제어시스템 이론 및 실습 조현우
Denavit-Hartenberg Convention
CSCE 441: Computer Graphics Forward/Inverse kinematics
Joint Velocity and the Jacobian
IK: Choose these angles!
Character Animation Forward and Inverse Kinematics
Inverse Manipulator Kinematics
INVERSE MANIPULATOR KINEMATICS
Denavit-Hartenberg Convention
Ch. 3: Forward and Inverse Kinematics
F o r w a r d K i n e m a t i c s.
Direct Manipulator Kinematics
CHAPTER 2 FORWARD KINEMATIC 1.
Introduction to manipulator kinematics
Direct Kinematic Model
Inverse Kinematics (Reza N. Jazar, Ch. 6)
Trigonometric Identities
CSE4421/5324: Introduction to Robotics
From Position to Angles
Inverse Kinematics, Jacobians
Matrix Methods in Kinematics
Homogeneous Transformation Matrices
CSCE 441: Computer Graphics Forward/Inverse kinematics
Direct Kinematics Where is my hand? Direct Kinematics: HERE!
Chap 11 – Case Studies.
Robotics kinematics: D-H Approach
Forward Kinematics: Denavit-Hartenberg (DH) Notation
Inverse Kinematics Problem:
Outline: Introduction Solvability Manipulator subspace when n<6
Chapter 2 Mathematical Analysis for Kinematics
Chapter 4 . Trajectory planning and Inverse kinematics
Chapter 3. Kinematic analysis
Presentation transcript:

IK: Choose these angles! By Hector Rotstein Inverse Kinematics How do I put my hand here? IK: Choose these angles!

Example: Planar 3-link robot What is the reachable space? Take l1, l2 fixed and vary 3 l2 l3 l1 Now vary 1 Finally, vary 2

The Workspace Workspace Workspace: volume of space which can be reached by the end effector Dextrous workspace: volume of space where the end effector can be arbitrarily oriented Reachable workspace: volume of space which the robot can reach in at least one orientation

Example (continued) What is the dextrous workspace in the example?

The IK Problem Kinematic Problem: given joint angles and/or displacement, compute location and orientation of End Effector. Inverse Kinematic Problem: given location and orientation of EE, find joint variables. Why is IK hard? May have more than one solution or none at all Amounts to solving nonlinear trascendental equations (can be hard)

Existence of Solutions A solution to the IKP exists if the target belongs to the workspace Workspace computation may be hard. In practice is made easy by special design of the robot The IKP may have more than one solution. How to choose the appropriate one? 2 solutions!

Methods of Solutions A manipulator is solvable if the joint variables can be determined by an algorithm. The algorithm should find all possible solutions. closed form solutions numerical solutions Solutions We are interested in closed-form solutions 1. Algebraic Methods 2. Geometric Methods

Method of Solution (cont.) Major result: all systems with revolute and prismatic joints having a total of six degrees of freedom in a single series chain are solvable In general, solution is numerical Robots with analytic solution: several intersecting joint axes and/or many i = 0, 90o. One major application (and driving force) of IK: animation.

Manipulator Subspace when n<6 If n<6, then the workspace will be a portion of an n dimensional subspace To describe the WS: compute direct kinematics, and then vary joint variables On the previous example, the WS has the form:

Manipulator SS when n<6 (cont) Usual goal for manipulator with n DoF: use n parameters to specify the goal If 6 DoF are used, n<6 will in general not suffice Possible compromise: reach the goal as “near” as possible to original goal: 1) Given the goal frame compute modified goal in manipulator SS as near as possible to 2) Compute IK. A solution may still not be possible if goal is not in the manipulator workspace For example, place tool frame origin at desired location, then select a feasible orientation

Algebraic Solution The kinematics of the example seen before are: Assume goal point is specified by 3 numbers:

Algebraic Solution (cont.) By comparison, we get the four equations: Summing the square of the last 2 equations: From here we get an expression for c2

Algebraic Solution (III) When does a solution exist? What is the physical meaning if no solution exists? Two solutions for 2 are possible. Why? Using c12=c1c2-s1s2 and s12= c1s2-c2s1: where k1=l1+l2c2 and k2=l2s2. To solve these eqs, set r=+ k12+k22 and =Atan2(k2,k1).

Algebraic Solution (IV) k1 k2  2 l1 l2 Then: k1=r cos  , k1=r sin  , and we can write: x/r= cos  cos 1 - sin  sin 1 y/r= cos  sin 1 + sin  cos 1 or: cos(+1) = x/r, sin(+1) =y/r

Algebraic Solution (IV) Therefore: +1 = Atan2(y/r,x/r) = Atan2(y,x) and so: 1 = Atan2(y,x) - Atan2(k2,k1) Finally, 3 can be solved from: 1+ 2+ 3 = 

Geometric Solution IDEA: Decompose spatial geometry into several plane geometry problems x y L1 L2 2 Applying the “law of cosines”: x2+y2=l12+l22  2l1l2cos(1802)

Geometric Solution (II) Then: y   The LoC gives: l22 = x2+y2+l12 - 2l1 (x2+y2) cos  So that cos  = (x2+y2+l12 - l22 )/2l1 (x2+y2) We can solve for 0   180, and then 1= x

Reduction to Polynomial Trascendental equations difficult to solve since one variable  usually appears as cos  and sin. Can reduce to polynomial in variable u = tan /2 by using: cos  = (1-u2)/(1+u2) sin  =2u /(1+u2) How? Use the fact that sin  =2[sin(/2)cos (/2)] and cos  =[cos(/2)2- sin(/2)2]

Denavit-Hartenberg Parameters Axis i Axis i-1 ai-1 i-1 i Xi Link i di Xi-1

End of part 1

Piper’s Solution – 3 axis intersect Solution for manipulators with 6DOF’s when three consecutive axis intersect We will consider the case of revolute joints and last three axis intersect Recall the transformation:

Piper’s Solution The vector P4ORG in the 3-frame has the form: And in the 3-frame:

Piper’s Solution (II) Repeating patiently As mentioned before, for rotational joint does not depend on 1:

Replace the gi’s, using z = g3 and work patiently: If a1=0, r = k3(3). Solve for 3 If sin(1)=0, z = k4(3). Solve for 3 Otherwise, eliminate s2 and c2 above to get

Piper’s Solution (IV) 1 and 2 above give a quadratic equation in tan(3/2) 3 gives an equation of degree four Having solve 3, can solve above for 2 and 1 The remaining angles can be computed to give the desired orientation.

Example: PUMA560 Want to solve: TRICK: Invert transformations to separate vbles:

PUMA560: DK Solution

Then: Equating (2,4) element from two sides: Equation can also be obtained from “geometrical” arguments Two possible solutions

Two possible solutions Write: The size of the translation in {1} is independent of 1: Geometrical meaning? Two possible solutions Write: Repeat now a similar procedure