trajectory inverse kinematics by conditional density
play

Trajectory Inverse Kinematics By Conditional Density Models Chao - PowerPoint PPT Presentation

Trajectory Inverse Kinematics By Conditional Density Models Chao Qin and Miguel . Carreira-Perpin EECS, School of Engineering, UC Merced 1 ICRA08, Pasadena Introduction Robot arm inverse kinematics (IK) Infer joint angles


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

  2. Introduction Robot arm inverse kinematics (IK) � • – Infer joint angles from positions of the end-effector x θ Pointwise IK: θ � f − � � x � • – Univalued forward mapping: f � θ → x f − � � x → θ – Multivalued inverse mapping: Examples • Planar 2-link arm PUMA 560 x � x � x � forward kinematics inverse kinematics 2

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

  4. Traditional approaches and their problems Analytical methods ( PaulZhang’86 ) : only possible for simple arms • Local methods • – Jacobian pseudoinverse ( Whitney’69, Liegeois’77 ) � x � J � θ � � θ → � θ � J � � θ � � • Linearizes the forward mapping: x � f � θ � → � x • Breaks down at singularity: becomes singular J � θ � • High cost and numerical error accumulates θ ∗ � ������ θ � x − f � θ � � � – Analysis-by-synthesis: Global methods ( Nakamura&Hanafusa’87, Martin et al’89 ) � • � t � t � G � θ , � Use variational approaches: ��� θ , t � dt – Need boundary conditions – θ ������ x ������ Still have problems with singularities – 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

  5. Trajectory IK by conditional density modes f − � � x → θ Derive the multivalued functional relationship from the • conditional dist p � θ | x � – Estimate (offline) from a training set p � θ | x � { � θ i , x i � } – Online, given x ������������ x � , . . . , x N 1. for n � � , . . . , N find all modes from p � θ | x � x n � 2. Search in the graph over all modes to minimize modes θ N − � � � N � θ n �� − θ n � � λ � x n − f � θ n � � n �� n �� � �� � � �� � 5 ���������� ���������� ������� ���������� n=1 2 … N

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

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

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

  9. Conditional density by GTM p � θ | x � 9

  10. Conditional density by MDN p � θ | x � 10

  11. Trajectory reconstruction by GTM (modes) 11

  12. Trajectory reconstruction by MDN (modes) 12

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

  14. 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) θ ������ x ������ 14

  15. Conditional density by MDN p � θ | x � x ������ θ ������ 15

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

  17. 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

  18. Conditional density by MDN p � θ | x � θ ������ x ������ 18

  19. Reconstruction of loopy trajectory by MDN (modes) θ ������ x ������ θ ������ x ������ 19

  20. 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

  21. 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 21 Work funded by NSF CAREER award IIS-0754089

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend