Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Robot coordinate systems let a robot describe where objects, tools, and targets are in 3D space. A coordinate frame uses three perpendicular axes, usually X, Y, and Z, to measure position from an origin point. For an industrial robot arm, the base frame often has its origin at the center of the robot base, so every point in the work area can be located with numbers.

This matters because a robot must move to exact positions safely and repeatably when picking, placing, welding, or assembling parts.

A robot target usually includes both position and orientation. Position is written as (x, y, z), while orientation tells how the tool is rotated, often using roll, pitch, and yaw. Robots may use several frames at once, such as a world frame for the factory, a robot base frame for the arm, and a tool frame for the gripper.

Transformations connect these frames so the robot can convert a target location from one coordinate system into another.

Understanding Robot Coordinate Systems

A coordinate frame is more than a set of three labels. It defines a reference point, the positive direction of each axis, the unit of length, and the direction in which rotations count as positive. Many robot systems use a right handed convention.

If the fingers of a right hand curl from one axis toward another, the thumb indicates the third positive axis. This convention prevents software and hardware from disagreeing about direction.

A number only has meaning when its frame and units are known. A target stated in millimetres will be wrong by a factor of one thousand if a program expects metres.

Robots often build a chain of frames. A camera may report a part relative to the camera. The camera is mounted above a conveyor.

The conveyor belongs to a workcell. The robot must combine the known offsets and rotations through this chain before it can reach the part. The order matters.

Shifting a point then rotating it gives a different result from rotating it then shifting it. This is why robot software stores both the position and the orientation of each frame. A small error in the camera mounting measurement can become a larger error at the gripper when the arm reaches far across its workspace.

The tool center point is especially important. It is the point the robot treats as the working end of its tool. For a gripper, it may lie between the fingers.

For a welding torch, it may be at the tip of the electrode. For a suction cup, it may be at the centre of the cup face. The same arm pose can place different tool center points in different locations after a tool change.

Tool orientation controls how the tool approaches a surface. A cup must face a box reasonably squarely to seal. A screwdriver must line up with a screw.

Roll, pitch, and yaw are useful for showing this orientation, but the sequence of these rotations matters. Rotating in one order does not produce the same final direction as rotating in another order. Near certain tilted positions, roll and yaw can become difficult to separate.

This issue is called gimbal lock. Controllers may use quaternions internally to avoid this problem, even when they display roll, pitch, and yaw to people.

Joint motors do not directly understand a target frame. Sensors measure joint angles, and forward kinematics calculates the resulting tool pose. Inverse kinematics works backward to find joint angles for a requested pose.

There can be several valid arm shapes for one target, such as an elbow up shape or an elbow down shape. Some targets have no reachable solution. Others are near singularities, where a small tool movement requires very fast or unstable joint motion.

Students should practise stating the frame for every measurement and checking axis directions before calculating. Calibration is equally important in real cells. Engineers teach the robot where its base, tool, camera, fixtures, and safety boundaries truly are.

Good coordinates make repeatable motion possible. Bad coordinates can make a robot miss a part, strike a fixture, or approach it from the wrong direction.

Key Facts

  • A 3D position is written as (x, y, z), where x, y, and z are distances from the origin along the coordinate axes.
  • The robot base frame is a coordinate system attached to the base of the robot arm.
  • The world frame is a coordinate system fixed to the room, floor, or factory cell.
  • Orientation can be described with roll, pitch, and yaw, which are rotations about coordinate axes.
  • Distance between two points can be found with d = sqrt((x2 - x1)^2 + (y2 - y1)^2 + (z2 - z1)^2).
  • A coordinate transformation converts a point from one frame to another, such as P_world = R P_robot + T.

Vocabulary

Coordinate frame
A coordinate frame is a set of axes and an origin used to measure positions and directions.
Origin
The origin is the zero point of a coordinate system where x = 0, y = 0, and z = 0.
Robot base frame
The robot base frame is the coordinate system attached to the robot base and used as a main reference for arm motion.
Tool frame
The tool frame is the coordinate system attached to the robot end effector, such as a gripper or welding tip.
Roll, pitch, yaw
Roll, pitch, and yaw are three rotations used to describe the orientation of an object in 3D space.

Common Mistakes to Avoid

  • Mixing up world coordinates and robot-local coordinates. A point can have different numbers in different frames because each frame may have a different origin and axis direction.
  • Forgetting the Z coordinate. In robotics, height matters because a gripper may need to rise above obstacles before moving sideways.
  • Treating orientation as the same thing as position. Position tells where the tool is, while orientation tells which way the tool is pointing.
  • Ignoring units on the axes. Using millimeters in one part of a program and meters in another can make the robot move 1000 times too far or too short.

Practice Questions

  1. 1 A robot base frame uses centimeters. A part is located at (30, 20, 10) and the drop-off point is at (70, 50, 10). What is the straight-line distance between the two points?
  2. 2 A robot target is 0.40 m in front of the base, 0.25 m to the left, and 0.15 m above the floor origin. Write its coordinates as (x, y, z) if forward is +X, left is +Y, and up is +Z.
  3. 3 A camera gives the location of a block in the world frame, but the robot program moves using the robot base frame. Explain why the robot must transform the coordinates before it can pick up the block.