The Perceive-Plan-Act Cycle
Every time an autonomous robot does something — navigating a hallway, picking up a package, avoiding an obstacle — it is running a loop. That loop has three stages: perceive, plan, and act. The robot senses what is around it, decides what to do about it, and then moves or adjusts something in the world. Then it does it all over again, thousands of times per second or once every few seconds, depending on the task. This three-part cycle is the heartbeat of autonomous robotics.
Stage 1: Perceive
Perceiving means collecting data about the world through sensors. A robot might use cameras to see, lidar (a laser ranging device) to measure distances, microphones to hear, or touch sensors to feel pressure. Just as your eyes and ears feed your brain a stream of information, a robot's sensors feed its computer a stream of data. Raw sensor data is rarely clean or complete. A camera image can be blurry or poorly lit. A distance sensor might report an incorrect reading because of a reflective surface. Part of the perceive stage is processing and filtering sensor data into a useful representation — what roboticists call the robot's world model or state estimate. The robot is asking: what does the world look like right now, as best I can tell?
Most robots combine data from multiple sensors simultaneously to build a more reliable picture of the world. This is called sensor fusion. A self-driving car blends camera images, lidar point clouds, and radar returns so that if one sensor is fooled, the others compensate.
Stage 2: Plan
Planning means taking the current world model and deciding what action to take next in order to make progress toward a goal. A simple planner might follow a fixed rule: if an obstacle is within two meters, turn left. A more sophisticated planner might search through many possible sequences of actions, simulate their outcomes, and choose the sequence that best achieves the goal while avoiding hazards. Planning can be fast and shallow — choosing the single next action — or slow and deep — computing a whole sequence of moves far into the future. The right approach depends on how quickly the world changes and how powerful the robot's computer is.
Big goals (deliver the package to room 214) are usually broken into subgoals (navigate to floor 2, find room 214, approach the door). Each subgoal can be planned for separately, making the overall problem manageable.
Stage 3: Act
Acting means sending commands to the robot's actuators — the motors, grippers, pumps, or other mechanisms that physically move parts of the robot or change something in the environment. The arm extends, the wheel turns, the gripper closes. These physical changes affect the world, which means the next perceive stage will see a different environment than the last one. That is why the cycle keeps repeating: every action changes the situation, and every changed situation requires new perception and new planning.
Match each stage of the Perceive-Plan-Act cycle to what the robot actually does during that stage.
Terms
Definitions
Drag terms onto their definitions, or click a term then click a definition to match.
The Cycle in Action: A Delivery Robot
Picture a hospital delivery robot carrying medication to a patient's room. In the perceive stage it uses lidar to detect a nurse who has just stepped into the hallway. In the plan stage it calculates a new path that curves around the nurse while still heading toward room 307. In the act stage it commands its wheels to follow that curved path. One second later, it perceives again — the nurse has stepped aside, the path is clear — and it plans a more direct route. This loop happens dozens of times each second. To an observer, the robot seems to glide smoothly through a busy hallway, effortlessly avoiding people. In reality it is executing thousands of perceive-plan-act cycles.
A robot's camera detects that a box has fallen in front of it. The robot calculates a path around the box and then drives around it. Which part of this sequence is the 'Plan' stage?
Why does the Perceive-Plan-Act cycle repeat continuously rather than running just once?
Map the Cycle
- Step 1: Choose a simple everyday task a robot might perform — for example, picking up a dropped pencil.
- Step 2: Draw three columns on paper labeled Perceive, Plan, and Act.
- Step 3: Walk through the task step by step and place each micro-action into the correct column. For example: 'camera sees pencil on floor' goes under Perceive; 'calculate arm trajectory to pencil position' goes under Plan; 'extend arm and close gripper' goes under Act.
- Step 4: Identify at least two points in the task where a new perception is needed because the world has changed.
- Step 5: Share your diagram with a partner and discuss: what would break if the Act stage happened before the Perceive stage?