Where am I? Localization from the ceiling
Our robots navigate with a real-time digital twin: a model of the hall that shows where every robot, forklift and pallet is right now. The hall is modelled once, with its layout, lanes and storage locations. Cameras on the ceiling then keep that model up to date, so the robots do not depend on their own sensors alone. What separates such a twin from a 3D model with live data on top is the subject of Why a 3D model is not yet a digital twin. This series explains how that works. Part 1 starts with the first question any mobile robot has to answer: where am I?
How most AMRs find their way
SLAM stands for simultaneous localization and mapping. The robot drives through the hall once, builds a map from its lidar scans, and later compares each new scan with that map to work out its position. It needs nothing installed in the building, which is why it became the standard.
The method relies on the hall still looking like the map. A hall with fixed installations and little traffic meets that condition. Block storage, the buffer zones of a production line or goods receipt do not, because material moves there all day. A lane that held forty pallets this morning is empty by noon, and the walls the robot matched against are gone. Long aisles that look the same along their whole length are a second weak spot, because many positions along them produce the same scan. When the match slips, the robot believes it is somewhere else, and from then on every decision builds on a wrong position.
There is a second limit that gets less attention. A robot that localizes with its own sensors knows only what those sensors see. Its picture of the hall ends at the next corner.
What we do instead
We mount cameras on the ceiling. Each Pixel PT carries a marker on top, and the cameras measure where that marker is in hall coordinates. That gives the robot an absolute position several times per second, independent of how far it has driven and of how the material around it has changed.
On the robot, these position fixes are fused with wheel odometry in a Kalman filter. Odometry is smooth but drifts with distance. The camera fix is absolute, so the drift is corrected with every fix. Where a camera's view is blocked for a stretch, the robot bridges on odometry and is picked up again by the next camera. If it has driven too far without a fix, it stops instead of guessing.
Two consequences follow. A robot that is switched off, pushed somewhere by hand and switched on again knows where it is as soon as a camera sees it. And a changed hall is not a problem for localization, because the reference is the ceiling, not what stands on the floor.
Accuracy: what the two approaches depend on
Comparing accuracy numbers across vendors is hard, because each number comes with its own conditions. It is more useful to compare what the error depends on.
| Onboard SLAM | Ceiling cameras | |
|---|---|---|
| Reference | A map of the surroundings, recorded earlier | Cameras calibrated to the hall, fixed in place |
| Error grows with | How much the hall differs from the map, and how few distinct features are in view | Distance from the camera and calibration quality. It does not grow with driven distance. |
| Typical failure | Scan matched to the wrong place: a position jump that the robot does not notice | No camera sees the marker: the robot knows it has no fix and limits how far it drives |
| After a restart | Needs a starting position or a search | First fix gives the position |
| Position accuracy | ±10 mm is the usual datasheet figure, stated for stopping at a taught position in a mapped area1. For driving to a free position without a docking marker, one vendor states ±60 mm and ±85 mm2. | Up to ±5 mm for the marker fix, with close camera placement |
| Knows about other vehicles | Only those in its own line of sight | Every vehicle the cameras track |
On paper the two are close: both state a centimetre or better. The datasheet figure for SLAM is a best case, measured where the surroundings match the map. The rows above it say what happens when they do not.
1 For example ABB Flexley Stack AMR F712 (visual SLAM, up to ±10 mm, ±1°) and SICK LiDAR-LOC (repeatability typically below 10 mm, depending on sensors and environment). 2 MiR250 specifications: ±60 mm (X), ±85 mm (Y), ±4° to a position; ±3 mm with a VL docking marker.
The cameras also see everyone else
The cameras that locate the robots also detect and track forklifts, pallet trucks and people. All of it ends up in one live model of the hall, the digital twin. Each tracked forklift has a position, a footprint and a speed there, and the footprints near a robot are sent to that robot.
Nobody is identified in the process. Detection runs on the camera itself, and in normal operation no images leave it, only the type and position of each object. If support needs to look at a video image, the people in it are pixelated.
That changes what a robot can react to. The simulation below shows the same crossing twice. A forklift comes out of a cross aisle, hidden behind a rack until the last moment. A machine, a wall or a stack of pallets hides it just as well. In the upper view the robot has only its own lidar. In the lower view it also gets the forklift from the ceiling cameras.
With onboard sensors, the robot does everything right and still has to brake hard, because the forklift enters its protective field at full speed. With the cameras, the forklift was never hidden. The robot takes a little speed off a few seconds earlier, lets the forklift cross and carries on. It reaches the end of the aisle sooner, and nobody on the forklift has to wonder whether the robot saw them.
The same data is used in more places. A forklift that parks on a route is added to the robot's map, so the robot plans around it. A pick-up or drop-off location is not assigned to a robot while a forklift is working in front of it. Routes through aisles with heavy forklift traffic get a higher cost.
What it costs
This approach needs infrastructure: cameras on the ceiling, network, and a calibration of each camera to the hall. At Würth, where the robots supply packaging machines, around 45 ceiling cameras cover the area in which four robots work. That is real installation effort, and SLAM does not have it.
We think it pays for itself, because the cameras are not only a localization system. They are the reason the robots can work where the layout changes every hour, in a warehouse as well as on a production floor, find free locations without another system telling them, and share the floor with forklifts. Our robots also carry lidar: for safety fields, for obstacles close to the robot, and as a second position source where it helps. The difference is that it is not the only thing standing between the robot and getting lost.
The cameras are also not limited to guiding robots. The same installation works as AI-RTL&RS, the camera-based real-time location and recognition system from Logivations, which tracks forklifts, pallets and goods without tags.
Next in this series
- Part 2: How accurate is it? Measuring localization on a running site.
- Part 3: Who else is here? Forklifts and people in the twin, and where they will be in three seconds.
- Part 4: What if a camera fails? How the robot bridges gaps.