TheCityCollegeofNewYork1JizhongXiaoDepartmentofElectricalEngineeringCityCollegeofNewYorkjxiao@ccny.cuny.eduInverseKinematicsJacobianMatrixTrajectoryPlanningIntroductiontoROBOTICSTheCityCollegeofNewYork2Outline•Review–KinematicsModel–InverseKinematics•Example•JacobianMatrix–Singularity•TrajectoryPlanningTheCityCollegeofNewYork3Review•Stepstoderivekinematicsmodel:–AssignD-Hcoordinatesframes–Findlinkparameters–Transformationmatricesofadjacentjoints–Calculatekinematicsmatrix–Whennecessary,EuleranglerepresentationTheCityCollegeofNewYork4Denavit-HartenbergConvention•Numberthejointsfrom1tonstartingwiththebaseandendingwiththeend-effector.•Establishthebasecoordinatesystem.Establisharight-handedorthonormalcoordinatesystematthesupportingbasewithaxislyingalongtheaxisofmotionofjoint1.•Establishjointaxis.AligntheZiwiththeaxisofmotion(rotaryorsliding)ofjointi+1.•Establishtheoriginoftheithcoordinatesystem.LocatetheoriginoftheithcoordinateattheintersectionoftheZi&Zi-1orattheintersectionofcommonnormalbetweentheZi&Zi-1axesandtheZiaxis.•EstablishXiaxis.EstablishoralongthecommonnormalbetweentheZi-1&Ziaxeswhentheyareparallel.•EstablishYiaxis.Assigntocompletetheright-handedcoordinatesystem.•Findthelinkandjointparameters),,(000ZYXiiiiiZZZZX11/)(iiiiiXZXZY/)(0ZTheCityCollegeofNewYork5Review•LinkandJointParameters–Jointangle:theangleofrotationfromtheXi-1axistotheXiaxisabouttheZi-1axis.Itisthejointvariableifjointiisrotary.–Jointdistance:thedistancefromtheoriginofthe(i-1)coordinatesystemtotheintersectionoftheZi-1axisandtheXiaxisalongtheZi-1axis.Itisthejointvariableifjointiisprismatic.–Linklength:thedistancefromtheintersectionoftheZi-1axisandtheXiaxistotheoriginoftheithcoordinatesystemalongtheXiaxis.–Linktwistangle:theangleofrotationfromtheZi-1axistotheZiaxisabouttheXiaxis.iidiaiTheCityCollegeofNewYork6Review•D-Htransformationmatrixforadjacentcoordinateframes,iandi-1.–Thepositionandorientationofthei-thframecoordinatecanbeexpressedinthe(i-1)thframebythefollowing4successiveelementarytransformations:10000),(),(),(),(111iiiiiiiiiiiiiiiiiiiiiiiiiiidCSSaCSCCSCaSSSCCxRaxTzRdzTTSourcecoordinateReferenceCoordinateTheCityCollegeofNewYork7Review•KinematicsEquations–chainproductofsuccessivecoordinatetransformationmatricesof–specifiesthelocationofthen-thcoordinateframew.r.t.thebasecoordinatesystem100010000121100nnnnnnPasnPRTTTTiiT1nT0OrientationmatrixPositionvectorTheCityCollegeofNewYork8Review•ForwardKinematicszyxppp6543211000zzzzyyyyxxxxpasnpasnpasnT•KinematicsTransformationMatrixyandxforyandxforyandxforyandxforxya0909018018090900),(2tanWhyuseEuleranglerepresentation?),(2tanxyaWhatis?TheCityCollegeofNewYork9Review10000000CCSCSSCCSSSC,,,xyzRRRT,,1,xyzRRTR100001000000CSSC100000001000CSSC100000000001CSSC1000000zzzyyyxxxasnasnasn(EquationA)•Yaw-Pitch-RollRepresentation1000000XXXXnaCaSsCsSnCnSXXXXnSnCzyxyxyxyxTheCityCollegeofNewYork10Review0cossinyxnnsincossincoszyxnnnsincossincoscossinyxyxaass•CompareLHSandRHSofEquationA,wehave:),(2tanxynna)sincos,(2tanyzznnna)cossin,cos(sin2tanyxyxssaaaTheCityCollegeofNewYork11InverseKinematics654321655443322110601000TTTTTTpasnpasnpasnTzzzzyyyyxxxx•TransformationMatrixSpecialcasesmaketheclosed-formarmsolutionpossible:1.Threeadjacentjointaxesintersecting(PUMA,Stanford)2.Threeadjacentjointaxesparalleltooneanother(MINIMOVER)Robotdependent,SolutionsnotuniqueSystematicclosed-formsolutioningeneralisnotavailableTheCityCollegeofNewYork12Example•SolvingtheinversekinematicsofStanfordarm655443322110601000TTTTTTpasnpasnpasnTzzzzyyyyxxxx61655443322160110)(TTTTTTTT1000111161yxzyxpCpSXXXpXXXpSpCXXXT10001.03232XXXdCXXXdSXXXTheCityCollegeofNewYork13Example•SolvingtheinversekinematicsofStanfordarm3211sinsincosdppyx1.0cos11yxppSin32cosdpzEquation(1)Equation(2)Equation(3)InEqu.(1),let)(2tan,,sin,cos22xyyxyxppapprrprp21111)/1.0(1)cos(1.0)sin(1.0cossincossinrrr)1.01.0(2tan)(2tan221rappaxy)sincos(2tan112zyxpppa23coszpdTheCityCollegeofNewYork14Example•SolvingtheinversekinematicsofStanfordarm))((2tan2112114zyxyxaSaSaCCaCaSa10000000)()()()(55655460110121132143XXCXXSXXTTTTTTT0)(])([11421124yxzyxaCaSCaSaSaCCS))()(])((21125114211245zyxyxzyxaCaSaCSCaCaSSaSaSaCCCSFromterm(3,3)Fromterm(1,3),(2,3))(2tan555CSaTheCityCollegeofNewYork15Example•SolvingtheinversekinematicsofStanfordarm)(])([])([)}(])([{114211246211251142112456yxzyxzyxyxzyxsCsSCsSsSsCCSCsCsSsCSSsCsSSsSsSsCCCCS100001000000)()()()