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.
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 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 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 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.