Visual explainer
The Sense–Think–Act Loop
How robots observe changing environments, plan actions, and correct for delays and disturbances in closed loops.
1. Why Open-Loop Control Fails
An open-loop robot executes commands blindly without sampling the physical world during motion. If the terrain changes, wheel traction slips, or an obstacle sits in its path, the machine cannot adjust. Physical embodiment requires continuous observation: an autonomous agent must sense changes while moving.
2. The Feedback Triad
The sense–think–act loop forms the core architecture of robotics. Sensors observe raw physical signals; computing hardware estimates state and plans actions; actuators exert physical forces back onto the environment. Every iteration revises the internal model before issuing the next torque command.
3. The Sense Beat: Acquiring Evidence
In this reference setup, a mobile robot advances at toward a barrier. At timestamp , its forward-facing range sensor emits a pulse and samples a distance of . Sensors operate at discrete sampling intervals rather than continuously.
4. The Think Beat: Planning Under Latency
Computation takes time. During a perception and planning delay of , the vehicle continues forward by . Clearance to the obstacle shrinks from to before software issues a single braking command.
5. The Act Beat: Motor Torques in Action
At , motor drivers apply negative torque to the wheels, inducing a deceleration of . Idealized stopping distance under constant deceleration is:
Braking requires of physical contact.
6. The Clearance Budget
Total stopping distance combines the reaction buffer and the braking span: . Latency consumes more distance () than mechanical braking (). The robot comes to a complete rest with of safety margin remaining.
7. Hierarchical Loop Rates
A single loop rate cannot handle both complex reasoning and motor stability. Robots nest multiple control loops: low-level current and torque regulation runs at , local trajectory tracking runs at , and high-level deliberative path planning runs at .
8. Rejecting Physical Disturbances
When an inclined ramp or slippery patch introduces unmodelled drag, vehicle speed sags from to . The feedback loop measures the error and ramps motor torque up by , restoring target velocity within .
9. Closed-Loop Stability
Fresh measurements allow error to decay smoothly to zero without overshoot. However, if sensing or actuation incurs excessive phase lag, the controller applies corrective forces long after the peak displacement has passed. This delay causes ringing, overshoot, and kinematic instability.
10. Where It Breaks
Feedback control collapses when obstacle distance is smaller than the latency displacement. If an unexpected obstacle appears at , the robot requires ( of travel) before computing a stop command. Impact occurs at full speed at , before actuators can engage.
The Quick Version
- Open-loop execution ignores environmental changes and risks physical collision.
- The feedback loop links physical state, sensing, computation, and actuation.
- Sensors sample physical variables at discrete intervals and timestamps.
- Computation delay lets the robot advance forward before issuing commands.
- Ideal braking distance follows under constant deceleration.
- Total stopping distance equals reaction travel plus mechanical braking distance.
- Hierarchical control nests fast motor loops inside slower planning loops.
- Feedback detects unmodelled friction and slopes to reject physical disturbances.
- Excessive phase lag and latency turn corrective feedback into unstable oscillations.
- Obstacles appearing within the latency buffer cause unavoidable collisions.