1. Home
  2. Explore
  3. Engineering
  4. Robot Dynamics Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Robot Dynamics Overview

Robot Dynamics

Kinematic Diagram and Coordinate Systems

The study of robot dynamics begins with a kinematic diagram that represents the robot's physical structure. This diagram shows all joints and links, defines a coordinate system for each, and identifies the degrees of freedom.

  • In an articulated (triple R) robot with three revolute joints, the kinematic diagram includes:

    • An inertial frame x0,y0,z0x_0, y_0, z_0x0​,y0​,z0​ fixed to the base.

    • A first moving frame x1,y1,z1x_1, y_1, z_1x1​,y1​,z1​ that rotates about z0z_0z0​ by angle θ1\theta_1θ1​ (yaw motion).

    • A second frame x2,y2,z2x_2, y_2, z_2x2​,y2​,z2​ that rotates about y1y_1y1​ by angle θ2\theta_2θ2​ (pitch motion).

    • A third frame x3,y3,z3x_3, y_3, z_3x3​,y3​,z3​ located at the tool center point, often offset from the second frame.

The positive direction for each angular variable must be defined consistently. For θ1\theta_1θ1​, rotation from x0x_0x0​ toward y0y_0y0​ in the direction of z0z_0z0​ follows the right-hand rule (positive). For θ2\theta_2θ2​, the shown positive rotation actually opposes the right-hand screw rule, requiring a minus sign in transformations. For θ3\theta_3θ3​, the rotation from x2x_2x2​ to x3x_3x3​ again follows the right-hand rule.

Variables and Inertial Parameters

Kinematic Variables

Each joint angle θ1,θ2,θ3\theta_1, \theta_2, \theta_3θ1​,θ2​,θ3​ has associated:

  • Angular velocity θ˙1,θ˙2,θ˙3\dot{\theta}_1, \dot{\theta}_2, \dot{\theta}_3θ˙1​,θ˙2​,θ˙3​

  • Angular acceleration θ¨1,θ¨2,θ¨3\ddot{\theta}_1, \ddot{\theta}_2, \ddot{\theta}_3θ¨1​,θ¨2​,θ¨3​

Position Vectors

Position vectors locate key points in their respective coordinate frames:

  • R1R_1R1​, R2R_2R2​, R3R_3R3​ – vectors from one joint to the next, or to the tool center point.

  • R1CGR_{1CG}R1CG​, R2CGR_{2CG}R2CG​, R3CGR_{3CG}R3CG​ – vectors from each joint to the center of gravity (CG) of the corresponding link.

Inertial Parameters

Each link is characterized by:

  • Mass m1,m2,m3m_1, m_2, m_3m1​,m2​,m3​

  • Mass moment of inertia I1,I2,I3I_1, I_2, I_3I1​,I2​,I3​ about its center of gravity

These parameters are essential for computing the dynamic forces and torques.

Problem Definition

Given a robot performing work with a known load (force and torque at the gripper), the goal is to determine:

  • Required joint motor torques τ1,τ2,τ3\tau_1, \tau_2, \tau_3τ1​,τ2​,τ3​

  • Reaction forces and torques at each joint (e.g., bearing loads)

This allows proper sizing of motors and mechanical components.

General problem: For a robot with known size, inertia, and motion, and a given gripper force/torque, find the joint torques and reaction loads.

Free Body Diagram and Dynamic Equations

The solution method uses a free body diagram of each link, applying Newton’s second law and Euler’s rotational equation. Consider a typical link (e.g., link 1) with:

  • Forces from neighboring links: f01\mathbf{f}_{01}f01​ (from link 0) and f21\mathbf{f}_{21}f21​ (from link 2)

  • Torques from neighboring links: τ01\boldsymbol{\tau}_{01}τ01​ (from link 0) and τ21\boldsymbol{\tau}_{21}τ21​ (from link 2)

  • Inertial force and gravitational force acting at the CG

Linear Equilibrium (Sum of Forces = 0)

Applying D'Alembert’s principle, Newton’s law F=ma\mathbf{F}=m\mathbf{a}F=ma is turned into a static equilibrium by including the inertial force as −ma-m\mathbf{a}−ma:

f01+f21+(−m1aCG1)+(−m1g)=0\mathbf{f}_{01} + \mathbf{f}_{21} + (-m_1 \mathbf{a}_{CG1}) + (-m_1 \mathbf{g}) = 0f01​+f21​+(−m1​aCG1​)+(−m1​g)=0
  • aCG1\mathbf{a}_{CG1}aCG1​ is the absolute acceleration of link 1’s center of gravity.

  • g\mathbf{g}g is the gravity vector.

Rotational Equilibrium (Sum of Torques = 0)

The Euler rotational equation for a rigid body in vector form is:

∑τCG=Iα+ω×(Iω)\sum \boldsymbol{\tau}_{CG} = I \boldsymbol{\alpha} + \boldsymbol{\omega} \times (I \boldsymbol{\omega})∑τCG​=Iα+ω×(Iω)

where α\boldsymbol{\alpha}α is the absolute angular acceleration of the link, ω\boldsymbol{\omega}ω is its absolute angular velocity, and III is the inertia tensor.

Applied to the free body diagram, the sum of all torques about the CG equals zero (including the inertial torque with a minus sign):

τ01+τ21+(−rCG01×f01)+(−rCG21×f21)+(−I1α1−ω1×(I1ω1))=0\boldsymbol{\tau}_{01} + \boldsymbol{\tau}_{21} + (-\mathbf{r}_{CG01} \times \mathbf{f}_{01}) + (-\mathbf{r}_{CG21} \times \mathbf{f}_{21}) + \left( - I_1 \boldsymbol{\alpha}_1 - \boldsymbol{\omega}_1 \times (I_1 \boldsymbol{\omega}_1) \right) = 0τ01​+τ21​+(−rCG01​×f01​)+(−rCG21​×f21​)+(−I1​α1​−ω1​×(I1​ω1​))=0
  • rCG01\mathbf{r}_{CG01}rCG01​ is the vector from the CG to the point where f01\mathbf{f}_{01}f01​ acts. If the joint is at R1\mathbf{R}_1R1​ and the CG is at R1CG\mathbf{R}_{1CG}R1CG​ from that joint, then rCG01=−(R1+R1CG)\mathbf{r}_{CG01} = -(\mathbf{R}_1 + \mathbf{R}_{1CG})rCG01​=−(R1​+R1CG​) (showing the minus sign).

  • rCG21=−R1CG\mathbf{r}_{CG21} = -\mathbf{R}_{1CG}rCG21​=−R1CG​.

  • The term ω1×(I1ω1)\boldsymbol{\omega}_1 \times (I_1 \boldsymbol{\omega}_1)ω1​×(I1​ω1​) is the gyroscopic torque, arising from the change in direction of angular momentum even when angular velocity magnitude is constant.

Solving the Equations — Iterative Approach

The equations for each link contain two unknowns: the force and torque from the previous link (e.g., f01\mathbf{f}_{01}f01​ and τ01\boldsymbol{\tau}_{01}τ01​ for link 1). The forces/torques from the next link (f21\mathbf{f}_{21}f21​ and τ21\boldsymbol{\tau}_{21}τ21​) are known from solving the outer link first.

Solution Sequence

  1. Start at the gripper (link n). The forces/torques at the gripper are given (the load).

  2. Solve for the unknown force and torque at the joint connecting this link to the previous one.

  3. Move inward to the next link. Those just-computed forces/torques become the known quantities for the next inner link.

  4. Repeat until reaching the base.

For example, for link 1, from the force equation:

f01=−f21+m1aCG1+m1g\mathbf{f}_{01} = -\mathbf{f}_{21} + m_1 \mathbf{a}_{CG1} + m_1 \mathbf{g}f01​=−f21​+m1​aCG1​+m1​g

(Note: careful handling of minus signs — the inertial and gravitational forces appear with a plus after moving to the other side.)

From the torque equation, solve for τ01\boldsymbol{\tau}_{01}τ01​:

τ01=−τ21+I1α1+ω1×(I1ω1)+rCG01×f01+rCG21×f21\boldsymbol{\tau}_{01} = -\boldsymbol{\tau}_{21} + I_1 \boldsymbol{\alpha}_1 + \boldsymbol{\omega}_1 \times (I_1 \boldsymbol{\omega}_1) + \mathbf{r}_{CG01} \times \mathbf{f}_{01} + \mathbf{r}_{CG21} \times \mathbf{f}_{21}τ01​=−τ21​+I1​α1​+ω1​×(I1​ω1​)+rCG01​×f01​+rCG21​×f21​

Again, signs must be tracked carefully because the original equation had a minus sign on the inertial torque.

General Solution for n Links

For a robot with nnn links, the process yields nnn pairs of vector equations (one linear, one rotational). Each pair is solved sequentially from the outermost link inward.

Transformations and Coordinate Frames

All vectors in a link’s equations must be expressed in the same coordinate frame — the frame attached to that link. Vectors from other frames must be transformed using rotation matrices.

  • For example, the force f21\mathbf{f}_{21}f21​ might originally be expressed in frame 2. To use it in the equations for link 1, it must be transformed to frame 1:

    f21(1)=[R12]  f21(2)\mathbf{f}_{21}^{(1)} = [\mathbf{R}_1^2] \; \mathbf{f}_{21}^{(2)}f21(1)​=[R12​]f21(2)​

    where [R12][\mathbf{R}_1^2][R12​] is the rotation matrix from frame 2 to frame 1.

  • Similarly, the absolute acceleration of the CG of link 1, aCG1\mathbf{a}_{CG1}aCG1​, might be computed in frame 0. To use it in frame 1, it must be transformed:

    aCG1(1)=[R01]  aCG1(0)\mathbf{a}_{CG1}^{(1)} = [\mathbf{R}_0^1] \; \mathbf{a}_{CG1}^{(0)}aCG1(1)​=[R01​]aCG1(0)​

Angular Velocity Transformation

The absolute angular velocity of link 1, ω1\boldsymbol{\omega}_1ω1​, is the sum of the angular velocity of the previous link plus the relative angular velocity of link 1 with respect to link 0. If ω0\boldsymbol{\omega}_0ω0​ is expressed in frame 0, it must be transformed to frame 1:

ω1(1)=[R01]  ω0(0)+θ˙1z^0(1)\boldsymbol{\omega}_1^{(1)} = [\mathbf{R}_0^1] \; \boldsymbol{\omega}_0^{(0)} + \dot{\theta}_1 \hat{\mathbf{z}}_0^{(1)}ω1(1)​=[R01​]ω0(0)​+θ˙1​z^0(1)​

(Here z^0(1)\hat{\mathbf{z}}_0^{(1)}z^0(1)​ is the z0z_0z0​ axis expressed in frame 1, which is simply [0,0,1]T[0,0,1]^T[0,0,1]T because frame 1 rotates about z0z_0z0​.)

Care with signs: if θ2\theta_2θ2​ has a negative direction as noted earlier, the transformation matrix will incorporate that.

Absolute Acceleration of CG

The absolute acceleration of the CG of link 1 can be obtained from the known acceleration of joint 1 (point O1) plus relative acceleration terms:

aCG1=aO1+α1×R1CG+ω1×(ω1×R1CG)\mathbf{a}_{CG1} = \mathbf{a}_{O1} + \boldsymbol{\alpha}_1 \times \mathbf{R}_{1CG} + \boldsymbol{\omega}_1 \times (\boldsymbol{\omega}_1 \times \mathbf{R}_{1CG})aCG1​=aO1​+α1​×R1CG​+ω1​×(ω1​×R1CG​)

All these vectors must be resolved in the same frame (frame 1) after appropriate transformations.

Conclusion and General Solution Steps

Solving a robot dynamics problem requires a systematic approach:

  1. Draw the kinematic diagram showing all links, joints, and degrees of freedom.

  2. Define coordinate systems for each link (using Denavit–Hartenberg or similar conventions).

  3. Define all variables and parameters: joint angles, velocities, accelerations, masses, inertias, lengths, center-of-gravity positions.

  4. Write Newton and Euler vector equations for each link:

    • ∑F=0\sum \mathbf{F} = 0∑F=0 (including inertial and gravitational terms)

    • ∑τCG=0\sum \boldsymbol{\tau}_{CG} = 0∑τCG​=0 (including inertial torque with gyroscopic term)

  5. Add all required coordinate transformations so that every vector in a given equation is expressed in the same frame.

  6. Solve the equations sequentially from the gripper inward using computerized tools (e.g., Mathcad, MATLAB, C++, Excel).

  7. Check the results graphically with a CAD system or by constructing free-body diagrams to verify that force and torque directions and magnitudes are consistent.

Following these steps ensures correct computation of joint motor torques and bearing reactions, enabling proper design and sizing of robotic systems.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent