Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.

Similar presentations

Presentation on theme: "Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013."— Presentation transcript:

1 Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013

2 Agenda Basic elements of simulation Derive the standard form of the dynamics of an articulated robot in joint space Also works for humans, biological systems, non-actuated mechanical systems … Featherstone algorithm: fast method for computing forward dynamics (torques to accelerations) and inverse dynamics (accelerations to torques) Constrained dynamics

3 Rigid Body Dynamics The following can be derived from first principles using Newton’s laws + rigidity assumption Parameters CM translation c(t) CM velocity v(t) Rotation R(t) Angular velocity  (t) Mass m, local inertia tensor H L

4 Rigid body ordinary differential equations

5 Articulated body ODEs

6 Numerical integration of ODEs If dx/dt = f(x) and x(0) are known, then given a step size h, x(kh)  x k = x k-1 + h f’(x k-1 ) gives an approximate trajectory for k  1 Provided f is smooth Accuracy depends on h Known as Euler’s method Better integration schemes are available (e.g., Runge-Kutta methods, implicit integration, adaptive step sizes, etc) Beyond the scope of this course


8 Kinetic energy for rigid body Rigid body with velocity v, angular velocity  KE = ½ (m v T v +  T H  ) World-space inertia tensor H = R H L R T vv T vv H 0 0 m I 1/2

9 Kinetic energy derivatives

10 Summary Gyroscopic “force”

11 Force off of COM x F

12 x F

13 Generalized torque f Now consider the equivalent force f, torque τ at COM

14 Generalized torque f

15 f

16 Principle of virtual work f F

17 f F fτfτ


19 Robot Dynamics

20 Lagrangian Mechanics Kinetic energyPotential energy

21 Lagrangian Mechanics A system of n partial differential equations

22 Sanity check: Newton’s laws Example: Point Mass

23 Kinetic energy for articulated robot Mass matrix: symmetric positive definite


25 Derivative of K.E. w.r.t q

26 Potential energy for articulated robot in gravity field Generalized gravity

27 Putting it all together Group these terms together

28 Final canonical form Generalized inertia Centrifugal/ coriolis forces Generalized gravity Generalized forces (joint torques + external forces)

29 Forward/Inverse Dynamics

30 Example: RP manipulator

31 Application: Effective Inertia


33 Can be infinite at singular configurations!

34 Application: Feedforward control Feedback control: let torques be a function of the current error between actual and desired configuration Problem: heavy arms require strong torques, requiring a stiff system Stiff systems become unstable relatively quickly

35 Application: Feedforward control Solution: include feedforward torques to reduce reliance on feedback Estimate the torques that would compensate for gravity and coriolis forces, send those torques to the motors

36 Feedforward Torques

37 Newton-Euler Method (Featherstone 1984) Explicitly solves a linear system for joint constraint forces and accelerations, related via Newton’s equations No matrix larger than 6x6 Faster forward/inverse dynamics for large chains (O(n) vs O(n 3 ) for direct matrix computations)

38 Forward Dynamics: Basic Intuition

39 Software Both Lagrangian dynamics and Newton-Euler methods are implemented in KrisLibrary Lagrangian form is usually most mathematically convenient representation


41 Constrained Systems

42 The Wrong Way

43 The Right Way…

44 Solving…

45 Back to Pseudoinverses A pseudoinverse A # of the matrix A is a matrix such that A = AA # A A # = A # AA # Generalizes the concept of inverse to non-square, noninvertible matrices Such a matrix exists (in fact, there are infinitely many) The Moore-Penrose pseudoinverse, denoted A +, can be derived as A + = (A T A) -1 A T when A T A is invertible(overconstrained) A + = A T (AA T ) -1 when AA T is invertible(underconstrained)

46 Properties Note connection to least-squares formula Ax=b => x = A + b If system is overconstrained, this solution minimizes ||b-Ax|| 2 If system is underconstrained, this solution minimizes ||x|| 2 Note that (I-AA+)Ay = 0 is always satisfied (I-AA+) is a projection matrix

47 Weighted Pseudoinverse If (AA T ) -1 exists, given any positive definite weighting matrix W, we can derive a new pseudoinverse A # = W -1 A T (AW -1 A T ) -1 This is a weighted pseudoinverse Has the property that x=A # b is a solution to Ax = b such that x minimizes x T Wx – a weighted norm

48 Weighted Pseudoinverse

49 Rigid Body Simulators

50 Next class Feedback control Principles App J

Download ppt "Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013."

Similar presentations

Ads by Google