Trajectory Inverse Kinematics By Conditional Density Models

Similar documents
Trajectory Inverse Kinematics by Conditional Density Modes

Inverse Kinematics. Given a desired position (p) & orientation (R) of the end-effector

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

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

Planar Robot Kinematics

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

A New Algorithm for Measuring and Optimizing the Manipulability Index

Jacobian: Velocities and Static Forces 1/4

Lecture «Robot Dynamics»: Kinematic Control

The Laplacian Eigenmaps Latent Variable Model

Control of industrial robots. Kinematic redundancy

Cecilia Laschi The BioRobotics Institute Scuola Superiore Sant Anna, Pisa

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.

A New Algorithm for Measuring and Optimizing the Manipulability Index

Applying Neural Network Architecture for Inverse Kinematics Problem in Robotics

Open and Closed-Loop Task Space Trajectory Control of Redundant Robots Using Learned Models

Kinematic Model of Robot Manipulators

Kinematical Animation.

A Comparative Study of Prediction of Inverse Kinematics Solution of 2-DOF, 3-DOF and 5-DOF Redundant Manipulators by ANFIS

Finding Reachable Workspace of a Robotic Manipulator by Edge Detection Algorithm

Experimental Evaluation of Latent Variable Models. for Dimensionality Reduction

Computer Animation. Rick Parent

Robotics. SAAST Robotics Robot Arms

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

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

Model learning for robot control: a survey

Workspace Optimization for Autonomous Mobile Manipulation

Written exams of Robotics 1

Can we quantify the hardness of learning manipulation? Kris Hauser Department of Electrical and Computer Engineering Duke University

Inverse Kinematics Analysis for Manipulator Robot With Wrist Offset Based On the Closed-Form Algorithm

Inverse Kinematics Solution for Trajectory Tracking using Artificial Neural Networks for SCORBOT ER-4u

Lecture 2: Kinematics of medical robotics

CS839: Probabilistic Graphical Models. Lecture 10: Learning with Partially Observed Data. Theo Rekatsinas

Humanoid Robotics. Inverse Kinematics and Whole-Body Motion Planning. Maren Bennewitz

MTRX4700 Experimental Robotics

Theory of Robotics and Mechatronics

PRACTICAL SESSION 2: INVERSE KINEMATICS. Arturo Gil Aparicio.

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

The K-modes and Laplacian K-modes algorithms for clustering

Singularity Handling on Puma in Operational Space Formulation

3D Human Motion Analysis and Manifolds

Jacobian: Velocities and Static Forces 1/4

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

On Evolving Fuzzy Modeling for Visual Control of Robotic Manipulators

Clustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin

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

which is shown in Fig We can also show that the plain old Puma cannot reach the point we specified

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

MANIPULABILITY INDEX OF A PARALLEL ROBOT MANIPULATOR

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

Humanoid Robotics. Inverse Kinematics and Whole-Body Motion Planning. Maren Bennewitz

Some algebraic geometry problems arising in the field of mechanism theory. J-P. Merlet INRIA, BP Sophia Antipolis Cedex France

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

1. Introduction 1 2. Mathematical Representation of Robots

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

Learning Multiple Models of Non-Linear Dynamics for Control under Varying Contexts

Robotics kinematics and Dynamics

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

ECE276A: Sensing & Estimation in Robotics Lecture 11: Simultaneous Localization and Mapping using a Particle Filter

Homework Assignment /645 Fall Instructions and Score Sheet (hand in with answers)

EE Kinematics & Inverse Kinematics

Optimization of a two-link Robotic Manipulator

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

PPGEE Robot Dynamics I

Design & Kinematic Analysis of an Articulated Robotic Manipulator

Expectation Maximization. Machine Learning 10701/15781 Carlos Guestrin Carnegie Mellon University

ÉCOLE POLYTECHNIQUE DE MONTRÉAL

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

Articulated Characters

A Line-Based Obstacle Avoidance Technique for Dexterous Manipulator Operations

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

KINEMATICS FOR ANIMATION. Rémi Ronfard, Animation, M2R MOSIG

Clustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin

Style-based Inverse Kinematics

REDUCED END-EFFECTOR MOTION AND DISCONTINUITY IN SINGULARITY HANDLING TECHNIQUES WITH WORKSPACE DIVISION

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

Use of multilayer perceptrons as Inverse Kinematics solvers

Ch. 6: Trajectory Generation

Robotics I. March 27, 2018

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 1: Introduction

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

Model compression as constrained optimization, with application to neural nets

Inverse Kinematics without matrix inversion

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

PSO based Adaptive Force Controller for 6 DOF Robot Manipulators

Chapter 1: Introduction

Inverse Kinematics Based on Fuzzy Logic and Neural Networks for the WAM-Titan II Teleoperation System

On Solving the Inverse Kinematics Problem using Neural Networks

Monocular Human Motion Capture with a Mixture of Regressors. Ankur Agarwal and Bill Triggs GRAVIR-INRIA-CNRS, Grenoble, France

INSTITUTE OF AERONAUTICAL ENGINEERING

Continuous Path Planning of Kinematically Redundant Manipulator using Particle Swarm Optimization

Dipartimento di Elettronica Informazione e Bioingegneria Robotics

Learning Inverse Kinematics with Structured Prediction

UNIVERSITÉ DE MONTRÉAL INVERSE KINEMATICS OF ROBOTIZED FUNCTIONALLY AND INTRINSICALLY REDUNDANT TASKS

Kinematics, Kinematics Chains CS 685

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

10/25/2018. Robotics and automation. Dr. Ibrahim Al-Naimi. Chapter two. Introduction To Robot Manipulators

Using GPLVM for Inverse Kinematics on Non-cyclic Data

xxvii Preface In recent decades, robotics has attracted considerable attention in scientific research and engineering applications. Much effort has be

Transcription:

Trajectory Inverse Kinematics By Conditional Density Models Chao Qin and Miguel Á. Carreira-Perpiñán EECS, School of Engineering, UC Merced ICRA 08, Pasadena 1

Introduction Robot arm inverse kinematics (IK) Infer joint angles θ from positions of the end-effector x Pointwise IK: θ=f 1 (x) Univalued forward mapping: f :θ x Multivalued inverse mapping: f 1 :x θ Examples Planar 2-link arm PUMA 560 x 3 forward kinematics inverse kinematics x 2 x 1 2

100 50 0 50 100 50 40 30 20 10 0 10 20 30 40 50 50 40 30 20 10 0 10 20 30 40 50 Introduction Trajectory IK Given a sequence of positions x 1,...,x N in Cartesian workspace of the end-effector, we want to obtain a feasible sequence of joint angles θ 1,...,θ N that produce the x-trajectory Difficulties Multivalued inverse mapping (e.g. elbow up; elbow down) θ-trajectory must be globally feasible, e.g. avoiding discontinuities or forbidden regions Trajectory IK in other areas Vocaltractgeometry=θ Articulatory inversion Acoustic signal = x Articulated pose tracking 20 40 60 80 100 120 140 160 180 200 220 50 100 150 200 250 300 350 3

Traditional approaches and their problems Analytical methods (PaulZhang 86): only possible for simple arms Local methods Jacobian pseudoinverse (Whitney 69, Liegeois 77) Linearizes the forward mapping: x=f(θ) ẋ=j(θ) θ θ=j + (θ)ẋ Breaks down at singularity: J(θ) becomes singular High cost and numerical error accumulates Analysis-by-synthesis: θ =argmin θ x f(θ) 2 Global methods (Nakamura&Hanafusa 87, Martin et al 89) Use variational approaches: min t 1 t 0 G(θ, θ,t)dt Need boundary conditions Still have problems with singularities x-space θ-space Machine learning methods Neural network Distal learning (Jordan&Rumelhart 92) Ensemble neural network (DeMers&Kreutz-Delgado 96, DeMers&Kreutz-Delgado 98) Locally weighted linear regression (D Souza et al 01) 4

Trajectory IK by conditional density modes Derive the multivalued functional relationship f 1 :x θ from the conditional dist p(θ x) Estimate (offline) p(θ x) from a training set {(θ i,x i )} Online, given x-trajectory,x 1,...,x N 1. forn=1,...,n find all modes fromp(θ x=x n ) 2. Search in the graph over all modes to minimize N 1 N θ n+1 θ n +λ x n f(θ n ) n=1 }{{} continuity constraint n=1 }{{} forward constraint modes θ n=1 2 N 5

Offline step: learning conditional density p(θ x) Given a training set {(θ i,x i )}, estimate p(θ x) by: Learning the full density p(θ, x). We use Generative Topographic Mapping (GTM) A constrained Gaussian mixture in space (θ,x) f(x; W) t=(θ,x) Learning directly p(θ x). We use Mixture Density Network (MDN) A combination of neural network and Gaussian mixture x p(θ x)=gm :{π m (x),µ m (x),σ m (x)} Advantages Represent inverses by modes from the conditional density Deal with topological changes naturally (modes split/merge) 6

Online steps 1. Finding modes of p(θ x) by Gaussian mean-shift (GMS) (Carreira-Perpinan 00) Start from every centroid of the GM and iterate θ (τ+1) = M m=1 p(m θ(τ) ;x)µ m (x) Complexity: p(m θ (τ) ;x) π m (x)exp( θ(τ) µ m (x) 2 2 σ m (x) 2 ) O(kNM 2 ) 2. Obtaining a unique θ-trajectory by global optimization Minimize over the set of modes with dynamic programming C= C+λF (λ 0) N 1 : continuity constraint (integrated 1 st derivative) n=1 θ n+1 θ n penalizes sudden angle changes F = N n=1 x n f(θ n ) : forward constraint (integrated workspace error) penalizes spurious inverses Complexity: O(Nν 2 ) 7

Experiments: planar 2-link robot arm Limit the angle domain to [0.3,1.2]x[1.5,4.7] rad Generate 2000 pairs by uniformly sampling angle space Train density models: GTM: M=225 and 2500 components MDN: M=2 components and 10 hidden units x2 x 2 l 1 x1 l1 x 1 θt1 1 ll2 2 t2 end-effector θ 2 Desired x-trajectory and training set p(θ) p(x) 8

Conditional density p(θ x) by GTM 9

Conditional density p(θ x) by MDN 10

Trajectory reconstruction by GTM (modes) 11

Trajectory reconstruction by MDN (modes) 12

Global ambiguity???? -- At singular configurations, pseudoinverse doesn t know how many branches exist and - local methods get stuck here - Forbidden regions: can rule out some trajectories 13

Experiments: PUMA 560 robot arm 3D angle space (ignore orientation) and 3D workspace Generate a training set of 5000 pairs Train conditional density models MDN: M=12 components, 300 hidden units 4 inverses for a workspace point (combinations of elbow up/down) θ-space x-space 14

Conditional density p(θ x) by MDN θ-space x-space 15

Reconstruction of figure-8 loop by MDN (modes) θ-space x-space 16

Experiments: redundant planar 3-link arm Consider a redundant manipulator with 3D angle space and 2D workspace Generate a training set of 5000 pairs Train conditional density models MDN: M=36 components, 300 hidden units 17

Conditional density p(θ x) by MDN θ-space x-space 18

Reconstruction of loopy trajectory by MDN (modes) θ-space θ-space x-space 19

Discussion Data collection: need a training set {(θ i,x i )} Run time Bottleneck: mode-finding (may be greatly accelerated) Run time per point (Matlab implementation) Worst (ms) Average (ms) Best (ms) Our method 50 10 4 Pseudoinverse 200 30 10 20

Conclusions Propose a machine learning method for trajectory IK that: Models all the branches of the inverse mapping Can deal with trajectories containing singularities, where the inverse mapping changes topology (mode split/merge); and with complicated angle domains caused by mechanical constraints (no modes) Obtain accurate solutions if the density model is accurate The method Learns a conditional density that implicitly represents all branches of the inverse mapping given a training set Obtains the inverse mappings by finding the modes of the conditional density using a Gaussian mean-shift algorithm Finds the angle trajectory by minimising a global, trajectory-wide constraint over the entire set of modes Future work will apply it to other trajectory IK problems Articulatory inversion in speech, articulated pose tracking in vision, animation in graphics Work funded by NSF CAREER award IIS-0754089 21