Bumpers and emergency stops: the final safety layer when other sensors fail
Atlasbot · 17/8/2026 · 12 min read
The previous articles — LiDAR, Camera — are all "smart" sensors, the data must be processed by software to make avoidance decisions. But the software can crash, the algorithm can misidentify, and no sensor can cover 100% of the area around the robot. Bumper and Emergency Stop are two layers of safety designed to operate completely independently of any software above.
Key concepts
Two layers of hardware security play different roles in the defense chain:
- Bumper — physical collision sensor, detects when the robot actually touches an obstacle
- Emergency Stop (E-Stop) — hard circuit that directly cuts the power supply to the motor driver, without going through any code
How it works
Bumper is a strip of mechanical sensors (usually microswitches or pressure sensors) running along the outer edge of the robot — when the robot touches an obstacle (even if the LiDAR/camera missed it for some reason), the bumper is compressed and triggers an immediate stop signal. The core difference compared to LiDAR/camera: the bumper doesn't need to "understand" what the obstacle is, doesn't need a complicated processing algorithm — it's simply an open/close mechanical switch. This is exactly what the collision handling ESP32 sensor in the Atlas A2 project (showcase section of this page) does, completely separate from the more complex LiDAR/Nav2 processing flow.
E-Stop (usually a red mushroom button, easy to recognize, easy to press in emergency situations) when activated, must directly cut off the power supply to the motor driver - without going through any code that handles "should stop or not" logic:
Normal flow: Nav2 compute command → /cmd_vel → firmware → PWM → motor
(going through many layers of software, each of which is subject to error)
E-Stop flow: Push button → relay/mechanical switch → cut off motor power directly
(does not go through any software layer)
In short: Bumper is a "touch to know" layer of safety — always happening after when distance sensors (LiDAR, ultrasonic) have had a chance to react first. E-Stop exists to bypass all "civilized" software deceleration logic, accepting sudden stops to give absolute priority to safety when every layer above has failed.
Technical details
Formulas
The Sense-Think-Act article (Robotics Fundamentals section) stated that the reaction distance depends directly on the system's reaction time:
Reaction_distance = Velocity × Reaction_time
Normal software flow: Reaction_time covers the entire thread
Nav2 → ROS2 → Driver, can be up to tens-hundreds of ms (calculated in the AMR Architecture article)
E-Stop flow (hard circuit): Reaction_time ≈ mechanical relay opening/closing time,
typically less than a few ms — dozens of times smaller than a software stream
For example: robot runs 1 m/s, software stream reacts in 87ms → reaction distance ≈ 8.7cm; E-Stop thread reacts in 5ms → reaction distance ≈ 0.5cm — this difference is the reason why E-Stop is required to be a hard circuit, unable to accept going through the software chain even one layer.
Parameters
| Class | What was discovered? | React | Software dependency? |
|---|---|---|---|
| LiDAR + Nav2 costmap | Obstacles from afar | Recalculate the route and slow down | Yes — the whole thing |
| Camera + YOLO | Classification of obstacles (people/objects) | Adjust the safe distance | Yes — the whole thing |
| Bumper | Realistic physical collisions | Emergency stop | Partial (usually still via firmware, but high priority) |
| E-Stop | The operator presses the button | Cut off motor power | No — pure hard circuit |
Practical applications
Both the Mecanum and Atlas A2 robots in this site's project showcase have separate physical E-Stop buttons on their frames — not a software feature, but an independent electrical circuit that connects directly to the motor power supply line. Article Acceleration Limits said "immediate stop" in normal software means gradual deceleration to maximum negative acceleration — not instantaneous stop. In a truly dangerous situation (a person standing directly in front of the robot, the robot loses control), that gradual deceleration time — even a few hundred milliseconds — is still too long.
Practical example
Scenario: AMR robot moves 1.2 m/s in the warehouse, people suddenly
Stepping out from a hidden corner 1m away from the robot, LiDAR is missed by the blind area (as learned in the LiDAR lesson)
The robot touches the bumper immediately upon contact:
- If only relying on bumper signal processing software: latency ~50-80ms
→ the robot still moves ~6-10cm after touching before stopping completely
- If the bumper activates the power cutoff circuit directly (not through software):
~5ms delay → robot only moves ~0.6cm more after touching
Conclusion: the bumper design connects directly to the power cutoff circuit (not just the signal
via firmware) significantly reduces the distance the robot can travel after a collision
Common mistakes
- E-Stop design goes through logic processing software — if the E-Stop button only sends a signal for the software to "decide" whether to stop or not, a software hang or any logic error could cause the robot to not stop in time when it is most needed.
- Consider the bumper as the main defense layer instead of the last layer — the bumper can only detect when there has been an actual collision, should always be a backup layer after the LiDAR/camera, not the main obstacle avoidance mechanism.
- Not periodically checking the E-Stop/bumper circuit for proper operation — because this is a safety layer that rarely activates during normal operation, it is easy to forget to periodically check until it is really needed to detect damage.
- Place the bumper not enough to cover the entire outer edge of the robot — leaving the corner/edge without bumper as a physical blind spot, collisions in that exact position will not be detected by this final layer of defense.
Conclusion
The four layers of defense — LiDAR/Nav2, Camera/YOLO, Bumper, E-Stop — do not replace each other but are sequential lines, with each layer needing to operate only when the previous layer has failed for whatever reason. Core principle: the lower the reaction latency, the shorter the reaction path, and E-Stop — with its near-zero latency thanks to complete software bypass — is always the most reliable final layer of protection. This is also the last article of the AMR Hardware section — the next AMR Drive System section delves into how wheels and drive systems turn control commands into actual movement.
Get new articles and lessons by email
When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.
Unsubscribe any time with the link in each email. See our Privacy policy.