CS545 Contents IX. Inverse Kinematics. Reading Assignment for Next Class. Analytical Methods Iterative (Differential) Methods

Similar documents
Lecture 2: Kinematics of medical robotics

Kinematics. CS 448D: Character Animation Prof. Vladlen Koltun Stanford University

Control of industrial robots. Kinematic redundancy

Lecture 18 Kinematic Chains

Robot Inverse Kinematics Asanga Ratnaweera Department of Mechanical Engieering

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Planar Robot Kinematics

Jacobian: Velocities and Static Forces 1/4

Robotics I. March 27, 2018

Lecture «Robot Dynamics»: Kinematic Control

Industrial Robots : Manipulators, Kinematics, Dynamics

Serial Manipulator Statics. Robotics. Serial Manipulator Statics. Vladimír Smutný

Singularity Handling on Puma in Operational Space Formulation

autorob.github.io Inverse Kinematics UM EECS 398/598 - autorob.github.io

Jacobian: Velocities and Static Forces 1/4

Kinematics of Closed Chains

Comparing FABRIK and neural networks to traditional methods in solving Inverse Kinematics

CS 775: Advanced Computer Graphics. Lecture 3 : Kinematics

Applications. Human and animal motion Robotics control Hair Plants Molecular motion

A New Algorithm for Measuring and Optimizing the Manipulability Index

MTRX4700 Experimental Robotics

A New Algorithm for Measuring and Optimizing the Manipulability Index

Computer Animation. Rick Parent

CALCULATING TRANSFORMATIONS OF KINEMATIC CHAINS USING HOMOGENEOUS COORDINATES

Kinematics, Kinematics Chains CS 685

Inverse Kinematics (part 1) CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2018

Kinematics. Why inverse? The study of motion without regard to the forces that cause it. Forward kinematics. Inverse kinematics

Research Subject. Dynamics Computation and Behavior Capture of Human Figures (Nakamura Group)

Motion Control (wheeled robots)

STABILITY OF NULL-SPACE CONTROL ALGORITHMS

Applying Neural Network Architecture for Inverse Kinematics Problem in Robotics

Written exams of Robotics 2

Lecture VI: Constraints and Controllers

10/11/07 1. Motion Control (wheeled robots) Representing Robot Position ( ) ( ) [ ] T

1 Trajectories. Class Notes, Trajectory Planning, COMS4733. Figure 1: Robot control system.

1724. Mobile manipulators collision-free trajectory planning with regard to end-effector vibrations elimination

Centre for Autonomous Systems

Chapter Multidimensional Gradient Method

4 Kinematic Linkages. Chapter 4. Kinematic Linkages. Department of Computer Science and Engineering 4-1

Finding Reachable Workspace of a Robotic Manipulator by Edge Detection Algorithm

12th IFToMM World Congress, Besançon, June 18-21, t [ω T ṗ T ] T 2 R 3,

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z

Manipulator trajectory planning

COMP30019 Graphics and Interaction Three-dimensional transformation geometry and perspective

Jacobians. 6.1 Linearized Kinematics. Y: = k2( e6)

Ch. 6: Trajectory Generation

4 DIFFERENTIAL KINEMATICS

Lecture VI: Constraints and Controllers. Parts Based on Erin Catto s Box2D Tutorial

Table of Contents Introduction Historical Review of Robotic Orienting Devices Kinematic Position Analysis Instantaneous Kinematic Analysis

Path Planning of 5-DOF Manipulator Based on Maximum Mobility

1498. End-effector vibrations reduction in trajectory tracking for mobile manipulator

Introduction to Robotics

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

A Detailed Look into Forward and Inverse Kinematics

Parallel Robots. Mechanics and Control H AMID D. TAG HI RAD. CRC Press. Taylor & Francis Group. Taylor & Francis Croup, Boca Raton London NewYoric

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Forward kinematics and Denavit Hartenburg convention

Inverse Kinematics of Functionally-Redundant Serial Manipulators under Joint Limits and Singularity Avoidance

x = 12 x = 12 1x = 16

Articulated Characters

CMPUT 412 Motion Control Wheeled robots. Csaba Szepesvári University of Alberta

Animating Transformations

Cecilia Laschi The BioRobotics Institute Scuola Superiore Sant Anna, Pisa

The Inverse Jacobian Control Method Applied to a Four Degree of Freedom Confined Space Robot

Lecture Notes: Constraint Optimization

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Inverse Kinematics without matrix inversion

Kinematic Model of Robot Manipulators

Kinematics of the Stewart Platform (Reality Check 1: page 67)

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces

Answers to practice questions for Midterm 1

Using Algebraic Geometry to Study the Motions of a Robotic Arm

CS-184: Computer Graphics. Today. Forward kinematics Inverse kinematics. Wednesday, November 12, Pin joints Ball joints Prismatic joints

ÉCOLE POLYTECHNIQUE DE MONTRÉAL

-SOLUTION- ME / ECE 739: Advanced Robotics Homework #2

Robot Mapping. Least Squares Approach to SLAM. Cyrill Stachniss

Graphbased. Kalman filter. Particle filter. Three Main SLAM Paradigms. Robot Mapping. Least Squares Approach to SLAM. Least Squares in General

MATH 2400, Analytic Geometry and Calculus 3

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

Singularity Management Of 2DOF Planar Manipulator Using Coupled Kinematics

Arm Trajectory Planning by Controlling the Direction of End-point Position Error Caused by Disturbance

Robots are built to accomplish complex and difficult tasks that require highly non-linear motions.

Triangulation: A new algorithm for Inverse Kinematics

Table of Contents. Chapter 1. Modeling and Identification of Serial Robots... 1 Wisama KHALIL and Etienne DOMBRE

A simple example. Assume we want to find the change in the rotation angles to get the end effector to G. Effect of changing s

COMP 558 lecture 19 Nov. 17, 2010

The University of Missouri - Columbia Electrical & Computer Engineering Department EE4330 Robotic Control and Intelligence

Transformation. Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering

ICRA 2016 Tutorial on SLAM. Graph-Based SLAM and Sparsity. Cyrill Stachniss

Robot. A thesis presented to. the faculty of. In partial fulfillment. of the requirements for the degree. Master of Science. Zachary J.

[9] D.E. Whitney, "Resolved Motion Rate Control of Manipulators and Human Prostheses," IEEE Transactions on Man-Machine Systems, 1969.

ECE569 Fall 2015 Solution to Problem Set 2

Coordinate Frames and Transforms

Intermediate Desired Value Approach for Continuous Transition among Multiple Tasks of Robots

Kinematic Sets for Real-time Robust Articulated Object Tracking

EEE 187: Robotics Summary 2

WORKSPACE AGILITY FOR ROBOTIC ARM Karna Patel

Chapter 3 Numerical Methods

Geometric Modeling of Parallel Robot and Simulation of 3-RRR Manipulator in Virtual Environment

INSTITUTE OF AERONAUTICAL ENGINEERING

Transcription:

CS545 Contents IX Inverse Kinematics Analytical Methods Iterative (Differential) Methods Geometric and Analytical Jacobian Jacobian Transpose Method Pseudo-Inverse Pseudo-Inverse with Optimization Extended Jacobian Method Reading Assignment for Next Class See http://www-clmc.usc.edu/~cs545

The Inverse Kinematics Problem Direct Kinematics x = f ( θ) Inverse Kinematics θ = f 1 ( x) Possible Problems of Inverse Kinematics Multiple solutions Infinitely many solutions No solutions No closed-form (analytical solution)

Analytical (Algebraic) Solutions Analytically invert the direct kinematics equations and enumerate all solution branches Note: this only works if the number of constraints is the same as the number of degrees-of-freedom of the robot What if not? Examples Iterative solutions Invent artificial constraints 2DOF arm See S&S textbook 2.11 ff

Analytical Inverse Kinematics of a 2 DOF Arm l 1 γ y l 2 x x = l 1 cosθ 1 + l 2 cos θ 1 +θ 2 y = l 1 sinθ 1 + l 2 sin θ 1 +θ 2 Inverse Kinematics: l = x 2 + y 2 l 2 2 = l 1 2 + l 2 2l 1 l cosγ γ = arccos l 2 + l 2 2 1 l 2 2l 1 l y x = tanε θ 1 = arctan y x γ y l θ 2 = arctan 1 sinθ x l 1 cosθ 1 θ 1

Iterative Solutions of Inverse Kinematics Resolved Motion Rate Control Properties Only holds for high sampling rates or low Cartesian velocities a local solution that may be globally inappropriate Problems with singular postures Can be used in two ways: As an instantaneous solutions of which way to take x = J θ θ θ = J θ # x As an batch iteration method to find the correct configuration at a target

Essential in Resolved Motion Rate Methods: The Jacobian Jacobian of direct kinematics: x = f θ = J ( θ) x θ = f θ θ Analytical Jacobian In general, the Jacobian (for Cartesian positions and orientations) has the following form (geometrical Jacobian): p i is the vector from the origin of the world coordinate system to the origin of the i-th link coordinate system, p is the vector from the origin to the endeffector end, and z is the i-th joint axis (p.72 S&S)

The Jacobian Transpose Method Δθ = α J T ( θ)δx Operating Principle: - Project difference vector x on those dimensions which can reduce it the most Advantages: - Simple computation (numerically robust) - No matrix inversions Disadvantages: - Needs many iterations until convergence in certain configurations (e.g., Jacobian has very small coefficients) Unpredictable joint configurations Non conservative

Jacobian Transpose Derivation Minimize cost function F = 1 ( 2 x target x) T ( x target x) with respect to θ by gradient descent: = 1 ( 2 x target f (θ)) T ( x target f (θ)) Δθ = α F θ T T f (θ) = α x target x = α J T (θ) x target x = α J T (θ)δx θ T

Jacobian Transpose Geometric Intuition x Target! 3! 2! 1

The Pseudo Inverse Method Δθ = α J T ( θ) J( θ)j T θ 1 Δx = J # Δx Operating Principle: - Shortest path in -space Advantages: - Computationally fast (second order method) Disadvantages: - Matrix inversion necessary (numerical problems) Unpredictable joint configurations Non conservative

Pseudo Inverse Method Derivation For a small step Δx, minimize with repect to Δθ the cost function: F = 1 2 ΔθT Δθ + λ T where λ T Solution: (1) (2) ( Δx J(θ)Δθ) is a vector of Lagrange multipliers. F = 0 λ Δx = JΔθ F Δθ = 0 Δθ = J T λ JΔθ = JJ T λ 1 JΔθ λ = JJ T insert (1) into (2): (3) λ = JJ T 1 Δx insertion of (3) into (2) gives the final result: Δθ = J T λ = J T ( JJ T ) 1 Δx

Pseudo Inverse Geometric Intuition x Target start p osture = desired p osture for op timization

Pseudo Inverse with explicit Optimization Criterion Δθ = α J # Δx + ( I J # J )( θ Ο θ) Operating Principle: - Optimization in null-space of Jacobian using a kinematic cost function d F = g(θ), e.g., F = ( θ i θ i,0 ) 2 i=1 Advantages: - Computationally fast - Explicit optimization criterion provides control over arm configurations Disadvantages: Numerical problems at singularities Non conservative

Pseudo Inverse Method & Optimization Derivation For a small step Δx, minimize with repect to Δθ the cost function: F = 1 ( 2 Δθ + θ θ Ο ) T ( Δθ + θ θ Ο ) + λ T ( Δx J(θ)Δθ) where λ T Solution: (1) (2) is a vector of Lagrange multipliers. F = 0 Δx = JΔθ λ F Δθ = 0 Δθ = J T λ ( θ θ Ο ) JΔθ = JJ T λ J ( θ θ Ο ) 1 JΔθ + ( JJ T ) 1 J θ θ Ο λ = JJ T insert (1) into (2): (3) λ = JJ T 1 Δx + ( JJ T ) 1 J θ θ Ο insertion of (3) into (2) gives the final result: Δθ = J T λ θ θ Ο = J # Δx + I J # J = J T JJ T θ Ο θ 1 Δx + J T ( JJ T ) 1 J θ θ Ο ( θ θ Ο )

The Extended Jacobian Method Δθ = α J ext. ( θ) 1 Δx ext. Operating Principle: - Optimization in null-space of Jacobian using a kinematic cost function d F = g(θ), e.g., F = ( θ i θ i,0 ) 2 i=1 Advantages: - Computationally fast (second order method) - Explicit optimization criterion provides control over arm configurations Numerically robust Conservative Disadvantages: Computationally expensive matrix inversion necessary (singular value decomposition) Note: new and better ext. Jac. algorithms exist

Extended Jacobian Method Derivation The forward kinematics x = f (θ) is a mapping R n R m, e.g., from a n-dimensional joint space to a m-dimensional Cartesian space. The singular value decomposition of the Jacobian of this mapping is: J ( θ) = USV T [ ] i whose corresponding entry in the diagonal matrix S is The rows V zero are the vectors which span the Null space of J ( θ). There must be (at least) n-m such vectors (n m). Denote these vectors n i, i [ 1,n m]. The goal of the extended Jacobian method is to augment the rank deficient Jacobian such that it becomes properly invertible. In order to do this, a cost function F=g θ has to be defined which is to be minimized with respect to θ in the Null space. Minimization of F must always yield: F θ = g θ = 0 Since we are only interested in zeroing the gradient in Null space, we project this gradient onto the Null space basis vectors: G i = g θ n i If all G i equal zero, the cost function F is minimized in Null space. Thus we obtain the following set of equations which are to be fulfilled by the inverse kinematics solution: f θ x G 1 0 =... 0 0 G n m For an incremental step Δx, this system can be linearized: J θ G 1 θ... G n m θ Δx 0 Δθ = or J ext. Δθ = Δx ext.. 0 0 The unique solution of these equations is: Δθ = J ext. 1 Δx ext..

Extended Jacobian Geometric Intuition x Target start posture desired posture for optimization