The Sensor That Triggered on the Background: Diffuse Mode and Reflective Surfaces
A diffuse photoelectric sensor detecting black plastic parts on a stainless steel conveyor. The sensor triggered on the conveyor surface, not the parts. The stainless steel was more reflective than the black plastic. The sensor saw the background and thought it was a part. This is a sensor selection problem, not an adjustment problem.
How diffuse sensors work
A diffuse sensor emits light and measures the reflection off the target. If the reflection is strong enough, it triggers. A black part absorbs light (weak reflection). A shiny stainless steel surface reflects light (strong reflection). The sensor sees the steel as a “target” and triggers. The black part on the steel is invisible — both are dark or reflective in ways the sensor can’t distinguish.
The sensor options
| Sensor type | How it works | Best for |
|---|---|---|
| Diffuse (proximity) | Reflected light intensity | High-contrast targets (dark on light) |
| Retro-reflective | Light returned to reflector | Any opaque object, ignores background |
| Through-beam | Emitter and receiver separate | Reliable detection, any material |
| Laser diffuse (background suppression) | Triangulation, ignores beyond set distance | Targets on a reflective background |
What we used
We switched to a retro-reflective sensor. The emitter and receiver are in one housing. A reflector is mounted opposite the conveyor. The light beam goes from the sensor to the reflector. When a part passes through the beam, it blocks the light. The sensor triggers. The stainless steel conveyor doesn’t matter — the sensor is looking for the reflector, not the surface.
For a simpler fix, a through-beam sensor (emitter on one side, receiver on the other) is even more reliable. The beam crosses the conveyor. Any object blocks it. No background issues. But it requires mounting on both sides of the conveyor, which may not be possible.
The background suppression option
If mounting a reflector or through-beam is difficult, use a laser diffuse sensor with background suppression. It uses triangulation: the laser spot is focused at a specific distance. Objects beyond that distance are ignored. Set the sensor to detect the part at 50 mm, and the conveyor at 100 mm is ignored. The sensor only sees objects at the set distance.
The lesson
A diffuse sensor on a reflective background is always a compromise. If the background is shiny, use retro-reflective or through-beam. If the background is matte but the part is dark, use background suppression. Don’t try to make a diffuse sensor work by cranking the sensitivity — it will trigger on the background sooner or later.
The sensor rule: If the sensor triggers on the background, the sensor type is wrong. Use retro-reflective (one-sided mount) or through-beam (most reliable) for parts on reflective surfaces. A diffuse sensor only works when the target contrasts with the background in reflectivity.