Dynamics
Robot dynamics relates joint torques to motion. Learn gravity, inertia, Coriolis and centrifugal terms, the manipulator equation, Lagrange and Newton–Euler methods, payload effects, and how to size joint torques for a duty cycle.
Kinematics tells us where the robot goes; dynamics tells us what torques the motors must provide to get there — against gravity, inertia and the coupling between moving links.
Dynamic models are used for actuator sizing, model-based control (feedforward), simulation and collision detection.
An analogy
Swinging a heavy bag on a long arm is much harder than lifting it close to your body: distance from the joint multiplies both the gravity torque and the inertia.
What joints must overcome
Gravity (holding the arm and payload up), inertia (accelerating masses), friction (gearbox, seals) and process forces (cutting, pressing). Gravity torque is largest when the arm is horizontal and stretched out.
Coupled dynamics
Moving one joint creates torques on others: centrifugal forces from rotation, Coriolis effects from combined joint speeds, and changing inertia as the arm reconfigures. The mass matrix M(q) depends on configuration — a stretched arm is harder to rotate.
Lagrange and Newton–Euler
Lagrange's method derives equations from kinetic and potential energy — clean for analysis. The recursive Newton–Euler algorithm propagates velocities outward and forces inward — efficient (O(n)) for real-time control.
Using the model
Computed-torque control cancels nonlinear dynamics; feedforward torque reduces tracking error; collision detection compares measured and predicted torques. Parameters are identified from excitation trajectories. Payload changes (mass, CG, inertia) must be entered correctly on industrial robots for good performance and safety.
Formulas
- Manipulator equation:
τ = M(q) q̈ + C(q, q̇) q̇ + G(q) + τ_friction - Single link gravity torque:
τ_g = Σ mᵢ g rᵢ cos θ - Rod about its end:
I = m L²/3, point mass I = m r² - RMS torque (duty cycle):
τ_rms = √(Σ τᵢ² tᵢ / Σ tᵢ)
Worked example: Holding torque
Given: Link 5 kg, CG at 0.2 m; Payload 2 kg at 0.4 m; Arm horizontal
Find: Gravity torque at the shoulder.
- τ_g = 9.81 × (5 × 0.2 + 2 × 0.4) = 17.66 N·m
Answer: ≈ 17.7 N·m
Worked example: Adding acceleration
Given: Link as rod L = 0.4 m, 5 kg; payload 2 kg at 0.4 m; α = 5 rad/s²
Find: Total torque.
- I = 5 × 0.4²/3 + 2 × 0.4² = 0.267 + 0.320 = 0.587 kg·m²
- τ_a = 0.587 × 5 = 2.93 N·m
- τ = 17.66 + 2.93 = 20.6 N·m
Answer: ≈ 20.6 N·m
Common mistakes
- Wrong: Sizing only for static gravity torque. — Right: Include acceleration, friction and worst-case configuration.
- Wrong: Entering wrong payload data on the robot controller. — Right: Set payload mass, CG and inertia — errors degrade path accuracy and safety functions.
Applications
- Actuator sizing: Peak and RMS torques over a duty cycle select motors and gearboxes.
- Model-based control: Feedforward torques improve tracking at high speed.
- Collision detection: Cobots stop when measured torque deviates from the dynamic model.
Key takeaways
- τ = M(q)q̈ + C(q,q̇)q̇ + G(q) + friction.
- Worst case: arm stretched horizontally.
- Size drives on peak and RMS torque.
- Dynamic models enable feedforward and collision detection.
Going further
- Parameter identification: Exciting trajectories plus least squares estimate link masses, CGs and friction.
- Flexible-joint robots: Harmonic-drive compliance adds dynamics; controllers include joint-torque sensing.
- Whole-body dynamics: Humanoids and quadrupeds use floating-base dynamics with contact constraints.