Industrial robot
Six motors, six gearboxes and an encoder on every joint, repeating a path to a fraction of a millimetre.
A factory robot arm is a chain of links joined by rotating joints. Each joint is driven by a servo motor through a high-ratio gearbox and measured by a precise encoder. The controller turns a target position into joint angles, then holds each angle with a feedback loop, hundreds or thousands of times a second.
- 8 components
- 2 worked equations
- 1 live model
- 2 safe experiments
1Exploded view
Take the industrial robot arm apart.
Tab to a numbered part (or tap it) to jump to its description. The same parts as a list:
2Major components
What every part does, and how.
- 01
Base
Bolted to the floor; carries the whole arm and the reaction forces.
how →A stiff base matters: any flex here is multiplied by the arm's length at the tool.
- 02
Turret (joint 1)
Rotates the whole arm about a vertical axis.
how →Joint 1 sets the direction the arm faces; the other joints set reach and height.
- 03
Servo motor and gearbox
Drives a joint: a fast, small motor geared down for big, precise torque.
how →A reduction of about 100:1 multiplies torque by about 100 (less friction losses) and divides speed by 100.
- 04
Upper arm (joint 2)
The long link that lifts and lowers the rest of the arm.
how →Its joint carries the largest torque, because it supports everything beyond it at the longest lever arm.
- 05
Forearm (joint 3)
Extends the reach forwards.
how →Motors for the wrist are often mounted at the back of the forearm, as a counterbalance, and drive the wrist through shafts or belts.
- 06
Wrist (joints 4–6)
Three joints that orient the tool: roll, pitch and roll again.
how →Position comes from the first three joints; orientation from the wrist. That split makes the maths solvable.
- 07
Tool (end effector)
Whatever does the job: gripper, welding torch, suction cup or screwdriver.
how →The robot's controller is told the tool's size and mass so it can compute the tool tip's position and the joint torques.
- 08
Robot controller
Runs the motion planner, the six joint loops and the safety system.
how →Inverse kinematics converts tool targets into joint angles; trajectory planning makes the joints move together smoothly.
3System relationships
Where the energy and information go.
Each block is a part (or the world outside). Solid lines carry energy, dashed lines carry information, dotted lines carry matter such as water or air.
Flows, in order
- Robot program sends information to Controllerinformation: where to go
- Controller sends energy to Servo drivesenergy: motor current
- Servo drives sends energy to Turretenergy: torque
- Turret sends energy to Upper armenergy: carried
- Upper arm sends energy to Forearmenergy: carried
- Forearm sends energy to Wristenergy: carried
- Wrist sends energy to Toolenergy: pose
- Turret sends energy to Base + floorenergy: reaction
- Servo drives sends information to Joint encodersinformation: shaft angle
Loops that close
- Joint encoders feeds back to Controllerinformation: joint angles
4Physical principles
The physics doing the work.
Kinematics
Forward kinematics finds where the tool is from the joint angles; inverse kinematics finds joint angles for a wanted tool pose, often with several answers.
Forward kinematicsInverse kinematics and the workspaceJoints, degrees of freedom and workspace
Torque and moments
A joint must hold up everything beyond it. Torque = force × lever arm, so reach costs torque fast.
Forces, torque and free-body diagramsGears, belts and sizing a drive
Closed-loop control
Each joint compares the encoder angle with the planned angle and corrects the motor current, many times per second.
5Mathematical foundations
The equations, with real numbers in them.
Holding torque at the shoulder
τ = g · (m_p·L + m_a·L/2), τ_m = τ / (G · η)
- τ
- joint torque [N·m]
- m_p
- payload mass [kg]
- m_a
- arm mass (uniform) [kg]
- L
- reach [m]
- G
- gear ratio [–]
- η
- gearbox efficiency [–]
- τ_m
- motor torque [N·m]
Worked example
- 1.τ = 9.81 × (5 × 0.8 + 12 × 0.4) = 9.81 × 8.8
- 2.τ ≈ 86.3 N·m at the joint
- 3.τ_m = 86.3 / (100 × 0.8) ≈ 1.08 N·m at the motor
- Joint torque
- 86.3 N·m
- Motor torque
- 1.08 N·m
AssumesArm held horizontal and still, with its mass spread evenly along its length. Moving adds torque to accelerate it.
Encoder resolution at the tool
Δx = L · 2π / 2ⁿ
- Δx
- smallest step at the tool [mm]
- L
- reach [m]
- n
- encoder bits per revolution [bits]
Worked example
- 1.2¹⁷ = 131 072 counts per turn
- 2.Δx = 0.8 × 6.2832 / 131 072 = 3.84 × 10⁻⁵ m
- 3.Δx ≈ 0.038 mm
- Step at the tool
- 0.038 mm
AssumesEncoder on the joint output. With the encoder on the motor, the gear ratio makes the step smaller still, but gear backlash and flex then dominate.
6Computing architecture
The computer inside the system.
A real-time controller with a fixed cycle: read encoders, compute, write motor currents, every cycle without fail.
Layer 1
Planner
Turns program targets into smooth joint trajectories with inverse kinematics.
Layer 2
Joint servo loops
Position, speed and current loops per joint, the inner loops running fastest.
Layer 3
Safety
Monitors speed, force and zones; stops the arm if a limit or a light curtain is broken.
7Engineering trade-offs
Every choice costs something.
Longer reach
Gain:Bigger working area.
Cost:More torque at every joint, more flex, less precision.
Higher gear ratio
Gain:More torque from a small motor and finer resolution.
Cost:Lower top speed and more friction.
Lighter links
Gain:Faster moves and less torque.
Cost:Less stiffness, so more vibration and lower accuracy.
8 · Try it · runs in your browser
Payload and reach
Change payload, reach and gear ratio. See the torque the shoulder joint and its motor must supply, compared with a motor rating.
- Joint torque
- 86.3 N·m
- Motor torque
- 1.08 N·m
- Of motor rating
- 72 %
Holds, but leaves little torque to accelerate.
ModelArm held horizontal and still, mass spread evenly, gearbox efficiency 80%. Accelerating the arm needs extra torque.
Go further with a related simulation: One robot joint under P / PD / PID control
9Suggested safe experiments
Things to try, safely.
Every experiment here is virtual or a household-safe observation. Never open real devices, batteries or power supplies, never work on mains electricity, and never look at the Sun.
Observation
Your arm as a robot
- Hold a full water bottle close to your shoulder, then at arm's length.
- Notice how much harder the second is.
- Estimate the torque each way with τ = m g L.
Safety: Use a light, unbreakable bottle and stop if anything hurts.
Virtual
Joint loop in the simulator
- Open the one-joint control model linked below.
- Increase the gain until the joint overshoots.
- Add derivative action and compare.
Safety: Runs entirely in your browser. Never stand inside a real industrial robot's guarded area.
10Keep learning
Lessons, courses and videos.
Lessons
- Forward kinematics: where is the hand?
- Inverse kinematics: from a target to joint angles
- Gears: why a tiny motor can lift a robot arm
Courses
Concepts in the Atlas
- Forward kinematics
- Inverse kinematics and the workspace
- Gears, belts and sizing a drive
- Tuning a PID controller
- Robot safety and ethics
Field Guide
Elsewhere on Tactiverge
- Inside a Robotic Arm Inside Everything
- Design a Robotic Gripper Build