1中南大学蔡自兴,谢斌zxcai,xiebin@mail.csu.edu.cn2010机器人学基础——(4)机器人动力学1Ch.4ManipulatorDynamicsFundamentalsofRoboticsFundamentalsofRobotics2ContentsIntroductiontoDynamicsRigidBodyDynamicsLagrangianFormulationNewton-EulerFormulationArticulatedMulti-BodyDynamics2Ch.4ManipulatorDynamics33Ch.4ManipulatorDynamicsIntroductionCh.4ManipulatorDynamicsManipulatorDynamicsconsiderstheforcesrequiredtocausedesiredmotion.Consideringtheequationsofmotionarisesfromtorquesappliedbytheactuators,orfromexternalforcesappliedtothemanipulator.4Ch.4ManipulatorDynamicsTherearetwoproblemsrelatedtothedynamicsthatwewishtosolve.ForwardDynamics:givenatorquevector,Τ,calculatetheresultingmotionofthemanipulator,.Thisisusefulforsimulatingthemanipulator.InverseDynamics:givenatrajectorypoint,,findtherequiredvectorofjointtorques,Τ.Thisformulationofdynamicsisusefulfortheproblemofcontrollingthemanipulator.Ch.4ManipulatorDynamics,,and,,and5Ch.4ManipulatorDynamicsTwomethodsforformulatingdynamicsmodel:Newton-EulerdynamicformulationNewton'sequationalongwithitsrotationalanalog,Euler'sequation,describehowforces,inertias,andaccelerationsrelateforrigidbodies,isaforcebalanceapproachtodynamics.LagrangiandynamicformulationLagrangianformulationisanenergy-basedapproachtodynamics.Ch.4ManipulatorDynamics6ContentsIntroductiontoDynamicsRigidBodyDynamicsLagrangianFormulationNewton-EulerFormulationArticulatedMulti-BodyDynamics6Ch.4ManipulatorDynamics74.1.1KineticandPotentialEnergyofaRigidBody72211001122KMMxx0011201)(21gxgxxxMMkP2101()2Dcxx01FxFxWFFx0x1M0kcM1图4.1一般物体的动能与位能4.1DynamicsofaRigidBody4.1DynamicsofaRigidBody88isageneralizedcoordinate①KineticEnergydueto(angular)velocity②KineticEnergyduetoposition(orangle)③DissipationEnergydueto(angular)velocity④PotentialEnergyduetoposition⑤ExternalForceorTorque010,xx11111xWxPxDxKxKdtd4.1.1KineticandPotentialEnergyofaRigidBodyFFx0x1M0kcM14.1DynamicsofaRigidBody①②③④⑤99x0andx1arebothgeneralizedcoordinatesFgxxxxx1010111)()(MkcMFgxxxxx0010100)()(MkcM1111000000McckkMcckkxxxFxxxF4.1.1KineticandPotentialEnergyofaRigidBodyFFx0x1M0kcM14.1DynamicsofaRigidBodyWritteninMatricesform:1010KineticandPotentialEnergyofa2-linksmanipulatorKineticEnergyK1andPotentialEnergyP1oflink121111111111111,,,cos2KmvvdPmghhd22111111111,cos2KmdPmgd图4.2二连杆机器手(1)xyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)4.1.1KineticandPotentialEnergyofaRigidBody4.1DynamicsofaRigidBody1111KineticEnergyK2andPotentialEnergyP2oflink2xyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)222222211212211212sinsincoscosvxyxddydd2222221,2KmvPmgywhere222222211221221221122211221211cos22coscosKmdmdmddPmgdmgd4.1.1KineticandPotentialEnergyofaRigidBody4.1DynamicsofaRigidBody12TotalKineticandPotentialEnergyofa2-linksmanipulatorare12(4.3)21KKK2222121122122212211211()()22cos()mmdmdmdd21PPP)cos(cos)(21221121gdmgdmm(4.4)4.1.1KineticandPotentialEnergyofaRigidBodyxyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)4.1DynamicsofaRigidBody13ContentsIntroductiontoDynamicsRigidBodyDynamicsLagrangianFormulationNewton-EulerFormulationArticulatedMulti-BodyDynamics13Ch.4ManipulatorDynamics1414LangrangianFunctionLisdefinedas:DynamicEquationofthesystem(LangrangianEquation):whereqiisthegeneralizedcoordinates,representcorrespondingvelocity,Fistandforcorrespondingtorqueorforceontheithcoordinate.4.1DynamicsofaRigidBodyLPKniqLqLdtdiii,2,1,F(4.1)(4.2)iqKineticEnergyPotentialEnergy4.1.2TwoSolutionsforDynamicEquation1515LagrangianFormulationLagrangianFunctionLofa2-linksmanipulator:PKL)2(21)(21222121222212121dmdmm)cos(cos)()(cos2122112121212212gdmgdmmddm(4.5)xyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)niqLqLdtdiii,2,1,F4.1DynamicsofaRigidBody4.1.2TwoSolutionsforDynamicEquation16164.1.2TwoSolutionsforDynamicEquationLagrangianFormulationDynamicEquations:2112212212121211122221222211122111212221121121DDDDDDDDDDDDDDTT(4.10)xyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)111dLLTdt222dLLTdtWritteninMatricesForm:(4.6)(4.7)有效惯量(effectiveinertial):关节i的加速度在关节i上产生的惯性力4.1DynamicsofaRigidBody17WritteninMatricesForm:17LagrangianFormulationDynamicEquations:2112212212121211122221222211122111212221121121DDDDDDDDDDDDDDTT(4.10)xyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)111dLLTdt222dLLTdt(4.6)(4.7)耦合惯量(coupledinertial):关节i,j的加速度在关节j,i上产生的惯性力4.1.2TwoSolutionsforDynamicEquation4.1DynamicsofaRigidBody18WritteninMatricesForm:18LagrangianFormulationDynamicEquations:2112212212121211122221222211122111212221121121DDDDDDDDDDDDDDTT(4.10)xyθ1θ2T2T1d1d2m2m1(x1,y1)g(x2,y2)111dLLTdt222dLLTdt(4.6)(4.7)向心加速度(accelerationcentripetal)系数:关节i,j的速度在关节j,i上产生的向心力4.1.2TwoSolutionsforDynamicEquation4.1DynamicsofaRigidBody19WritteninMatric