SENSORSNON-CONTACT DETECTION

Proximity Sensors: Inductive, Capacitive, Photoelectric & Selection

A proximity sensor detects the presence or approach of an object without mechanical contact. Inductive sensors are the standard choice for nearby metal targets, while capacitive, photoelectric, ultrasonic and magnetic sensors cover non-metals, longer ranges, transparent or irregular targets, liquid and powder detection, and magnet-based position sensing.

Choose the sensing principle from the target material and required distance, then check target size, approach direction, mounting, hysteresis, switching frequency, PNP/NPN logic, NO/NC function, supply voltage and the real environment around the sensing face.

Industrial inductive and optical proximity sensors for non-contact object detection
Industrial proximity sensing uses different physical principles because target material, distance, mounting and environment determine what can be detected reliably.
QUICK CHECK

A rated sensing distance is not a guaranteed installation gap for every target. Material, target size, sensor mounting and temperature can move the switching point, so the working distance should include margin.

01 · SENSOR TYPES

Which proximity sensor type fits the target?

The word proximity describes the task, not one sensing technology. A metal part a few millimetres from a machine frame calls for a different sensor than a carton on a conveyor, a liquid behind a plastic wall or a piston magnet inside a pneumatic cylinder.

Comparison of industrial proximity sensor technologies
TechnologyTypical targetStrengthMain limitation
InductiveMetalShort-range, robust machine-position and part-presence detection with no optical alignment.Sensing distance changes with target metal, size and mounting; non-metallic targets are not detected.
CapacitiveMetal, plastic, glass, powders and liquidsCan detect non-conductive material and, in some applications, product through a non-metallic wall.Moisture, deposits and nearby material can shift sensitivity and create false switching.
PhotoelectricMost opaque or reflective objectsMuch longer range than most inductive or capacitive sensors and flexible detection geometry.Target colour, gloss, transparency, contamination and alignment can affect performance depending on optical mode.
UltrasonicSolid or liquid surfaceDistance and presence detection largely independent of target colour or visible contrast.Dead zone, target angle, air turbulence, foam and temperature can influence the echo.
MagneticPermanent magnet or magnetised actuatorCan detect a magnet through many non-ferrous housings; common on pneumatic cylinders.Requires a suitable magnetic target and correct field orientation.
Terminology: IEC 60947-5-2 standardises requirements and operating-distance terminology for proximity switches used in industrial control circuits. Manufacturer terminology still varies, especially when optical and ultrasonic devices are grouped separately from inductive and capacitive proximity switches.
02 · INDUCTIVE PRINCIPLE

How does an inductive proximity sensor detect metal?

An inductive sensor drives a coil at its active face to create an alternating electromagnetic field. When a conductive target enters that field, eddy currents are induced in the metal. The resulting losses change the oscillator condition, and the electronics convert that change into a discrete switching output.

ACTIVE FACEThe field emerges from the sensing face. Mechanical damage, a metal build-up or incorrect embedding can change the sensing behaviour.
METAL TARGETFerrous and non-ferrous metals can be detected, but the usable distance may differ from the rated value obtained with the manufacturer’s standard target.
SWITCHING STAGEThe detected state is presented through a transistor or two-wire switching circuit for the PLC, relay, counter or controller.
Cylindrical inductive proximity sensor detecting a steel gear tooth
Cylindrical threaded inductive sensors are commonly positioned with lock nuts so the active face stays clear of the moving metal target while maintaining a stable operating margin.

Inductive detection is attractive on machinery because dust, oil mist and target colour normally matter less than they do for optical sensing. It is still not immune to installation effects: surrounding metal, target alloy, target thickness, target size, sensor-to-sensor spacing and temperature can all shift the switching point.

03 · SENSING DISTANCE

Rated sensing distance, operating distance and hysteresis are different

For an inductive sensor, the rated operating distance is a reference measured with a standard target. The installation gap should stay within the assured operating range for the model; target material and size, mounting, supply voltage and temperature can shift the switch point. Hysteresis is the difference between the operate and release distances.

Sensing distance

  • Read the datasheet definition, not only the headline millimetre value.
  • Check the standard target material and dimensions used for the rating.
  • Apply manufacturer reduction factors or curves for stainless steel, aluminium, brass, copper or unusually small targets.
  • Leave mechanical tolerance so the target cannot strike the active face.

Hysteresis

  • The target normally switches at one distance while approaching and another while moving away.
  • That difference prevents chatter when the target vibrates near the switching boundary.
  • Too little installation margin can still create repeated ON/OFF transitions despite normal sensor hysteresis.
  • Repeatability and hysteresis are separate specifications.
inductive working gap ≤ assured operating distance (Sa)Use the assured operating range stated for the exact model rather than designing at the edge of its rated operating distance.
04 · TARGET & MOUNTING

Flush mounting, non-flush mounting and target geometry change the result

Many cylindrical inductive sensors are offered as flush-mountable (shielded) or non-flush (unshielded) versions. A flush sensor can be embedded in surrounding metal as specified by the manufacturer. A non-flush sensor needs free space around the active face because part of its sensing field extends sideways.

FLUSH SENSORCompact mounting in metal
HOUSINGActive face level with mounting surfaceFollow the datasheet’s minimum free-zone dimensions even when the sensor is described as flush mountable.
TARGETMoves through the validated sensing zoneDo not use the mechanical stop as the electrical switching point.
NON-FLUSH SENSORMore exposed sensing field
HOUSINGActive face projects beyond nearby metalInsufficient clearance can reduce range or keep the sensor permanently influenced.
NEIGHBOUR SENSORRespect separation distanceAdjacent sensors can interfere unless the specified spacing or frequency-management method is used.
Target geometry: a small bolt head, thin sheet edge or curved surface does not behave like the standard square test target. Validate the exact part and approach direction at the slowest, fastest and worst-tolerance positions of the machine.
05 · OTHER PRINCIPLES

Capacitive, photoelectric, ultrasonic and magnetic sensors solve different proximity tasks

CAPACITIVEMeasures a change in electric field and capacitance near the sensing face. Useful for plastic, glass, powders, granular material and liquids, but deposits and humidity can alter the apparent target.
PHOTOELECTRICUses emitted light and a receiver. Through-beam, retro-reflective and diffuse modes trade installation complexity, range and target dependence differently.
ULTRASONICMeasures the return of an acoustic pulse. Useful when colour and optical contrast are poor, but the target must return a usable echo outside the sensor’s blind zone.
MAGNETIC / REEDDetects a magnetic field rather than the physical body directly. Common for piston position on cylinders and simple door or guard position sensing.
BACKGROUND SUPPRESSIONSome photoelectric sensors use triangulation or time-of-flight processing to separate a target from the background, reducing sensitivity to background reflectivity.
TRANSPARENT TARGETSGlass, clear film and transparent bottles can require specialised optical modes or ultrasonic/capacitive sensing; a standard diffuse photoelectric sensor may not be reliable.

Maximum range alone is a poor selection criterion. The sensing principle must distinguish the target from its background throughout the expected contamination, vibration, misalignment and product variation.

06 · OUTPUTS & WIRING

PNP, NPN, NO/NC and wire count describe the interface, not the sensing principle

An inductive sensor and a photoelectric sensor can use the same electrical output even though they detect objects in completely different ways. Match the sensor output to the PLC or controller input and to the required fail behaviour.

DC transistor outputs

  • PNP and NPN describe how a transistor output switches current relative to the supply rails.
  • NO and NC describe the logical output state relative to whether the target is detected.
  • Three-wire DC sensors commonly use separate positive supply, 0 V and output conductors.
  • Four-wire models may provide complementary NO/NC outputs, teach/configuration conductors or additional functions.

Two-wire sensors

  • The sensor electronics and load share the same two conductors.
  • Off-state leakage current and on-state voltage drop can matter to PLC input compatibility.
  • AC, DC and universal two-wire models are not interchangeable.
  • Use the exact wiring diagram and permitted load range for the model.
Wire count: see 2-wire vs 3-wire vs 4-wire sensors for the electrical arrangements. Never infer PNP/NPN, NO/NC or wire function from cable colour without checking the device documentation.
07 · ENVIRONMENT

Contamination, temperature, vibration and nearby objects can move the switching margin

Bench testing can miss installation effects. Contamination, nearby material, temperature and bracket movement can change the sensing field or target contrast, so the sensing face and mounting bracket must be evaluated as part of the installation.

Environmental effects on proximity sensors
ConditionLikely effectDesign response
Metal chips around inductive sensorBuild-up can act as a target or reduce the available field margin.Use chip-resistant construction where needed and keep the active area clear.
Water, coating or dust on capacitive sensorChanges dielectric conditions and can shift the sensitivity threshold.Set only the sensitivity needed for reliable target detection, then verify the teach/threshold setting with the expected deposits or moisture present.
Dirty photoelectric lensReduces transmitted or received light and may narrow operating reserve.Provide access for cleaning and use sufficient excess gain rather than marginal alignment.
Hot or cold machineSensing distance and electronics characteristics can drift within specified limits.Check the operating-temperature range and recommended working distance across the full cycle.
Bracket vibrationMechanical movement can repeatedly cross the switching boundary.Stiffen the bracket and increase electrical/mechanical distance margin.
Adjacent sensorsMutual interference can destabilise switching for inductive, capacitive or ultrasonic devices.Follow minimum spacing or synchronisation/frequency instructions for the exact model.
08 · SELECTION

How do you choose an industrial proximity sensor?

Start with the exact target material, minimum target size and required detection distance. Then check mounting space, approach direction, switching speed, hysteresis and repeatability, PNP/NPN and NO/NC output, supply voltage, connector or cable, temperature, ingress protection and contamination before fixing the final operating gap.

  1. Define the target. Record material, dimensions, surface, colour or transparency, and whether a magnet is available.
  2. Choose the sensing principle. For short-range metal detection, inductive is usually the first choice; use capacitive, photoelectric, ultrasonic or magnetic sensing when the target or required distance calls for another principle.
  3. Set a realistic distance. Use the datasheet’s rated, usable and assured operating-distance definitions correctly, and leave enough mechanical tolerance to prevent contact with the sensing face.
  4. Check mounting. Confirm flush/non-flush rules, free-zone dimensions, bracket stiffness and sensor-to-sensor spacing.
  5. Match the dynamics. Switching frequency and response time must suit the fastest target speed and smallest gap between targets.
  6. Match the electrical interface. Confirm DC or AC supply, PNP/NPN, NO/NC, two-/three-/four-wire arrangement, load current and PLC input compatibility.
  7. Check the environment. Consider temperature, washdown, oils, coolants, weld fields, metal chips, dust, vibration and hazardous-area requirements where applicable.
  8. Commission under worst-case conditions. Test minimum and maximum target tolerance, expected contamination and the full operating-temperature cycle before locking the bracket position.
09 · TROUBLESHOOTING

Troubleshooting unstable or missing proximity sensor signals

First decide whether the sensor is failing to detect the target or whether the electrical output is failing to reach the controller. The status LED is useful, but it does not prove that the PLC input sees the correct voltage or current.

Common proximity sensor faults and checks
SymptomChecks
Sensor never switchesTarget material and size, actual gap, supply voltage, wiring, output type, active-face orientation and whether the target enters the specified sensing zone.
Sensor stays switchedNearby metal or product, contamination on sensing face, non-flush sensor mounted too deeply, capacitive sensitivity set too high, wiring short or failed output stage.
Switch point changesTemperature, bracket movement, target alloy or geometry, deposits, supply variation and sensor replacement with a different range or mounting class.
Chatter near targetInsufficient distance margin, machine vibration, target wobble, excessive speed, poor optical alignment or a target crossing only the edge of the sensing field.
LED changes but PLC does notPNP/NPN compatibility, common 0 V/reference, input threshold, load current, two-wire leakage/drop, cable damage and terminal assignment.
False detections between productsBackground reflections, adjacent sensors, loose metal chips, moisture, transparent targets, ultrasonic echoes and teach/sensitivity settings.