What Is a Proximity Sensor? Types, Applications, and How to Choose?

What Is a Proximity Sensor? Types, Applications, and How to Choose
Proximity sensors are everywhere in industrial automation, but the term hides at least four very different technologies. Choosing on price or availability instead of working principle is the fastest way to end up with a sensor that intermittently misses targets — or false-triggers on its own mounting bracket. This guide covers what each type does, the datasheet parameters that matter, and a structured way to pick one for your application.
1. What Is a Proximity Sensor?
It detects the presence or absence of an object within a defined range, without physical contact. The detection event becomes an electrical output — usually a switched transistor signal (NPN or PNP) or an analog signal proportional to distance — that feeds a PLC.
The defining feature is no mechanical contact. No actuator force, no wear surface, no minimum target weight. A mechanical limit switch on a 200-cycle-per-minute line typically needs replacement within months. A correctly specified proximity sensor runs for years.
"Proximity" doesn't imply a fixed distance. Inductive: 0.8–60 mm. Capacitive: similar range. Ultrasonic: 20 mm to 8 m on standard models, longer on specialty units.
🔩 Inductive — detects metal via electromagnetic field. Most common in industry. ⚡ Capacitive — detects almost any material via electric field change. 🔊 Ultrasonic — sound wave time-of-flight. Material-independent. 🧲 Magnetic — detects permanent magnets. Standard for pneumatic cylinders.
2. The Four Main Types
2.1 Inductive Proximity Sensor
Inside: a ferrite core with coil, LC oscillator, Schmitt trigger, output amplifier. The oscillator drives an alternating electromagnetic field out of the sensor face. When a conductive metal target enters the field, eddy currents in the target draw energy from the oscillator. The Schmitt trigger detects the amplitude drop and switches the output.
Why sensing distance changes with material: eddy current intensity depends on the target's conductivity and magnetic permeability. Mild steel — the IEC 60947-5-2 reference — triggers at full nominal distance. Aluminium, brass, copper trigger at shorter distances. The ratio is the correction factor.
| Target Material | Correction Factor | Sn = 10 mm becomes... |
|---|---|---|
| Mild steel (St37) | 1.00 (reference) | 10 mm |
| Cast iron | 0.93 – 1.05 | ~10 mm |
| Stainless steel (304/316) | 0.60 – 0.85 | 6 – 8 mm |
| Aluminium | 0.35 – 0.50 | 3.5 – 5 mm |
| Brass | 0.35 – 0.50 | 3.5 – 5 mm |
| Copper | 0.25 – 0.45 | 2.5 – 4.5 mm |
⚠ Factor 1 sensors use compensated coils to give the same distance for steel, aluminium, and brass. They cost more but eliminate per-material recalculation on mixed-metal lines.
2.2 Capacitive Proximity Sensor
Two electrodes form an open capacitor at the sensing face. Air has a relative dielectric constant (εr) of about 1.0. Any material with higher εr increases capacitance when entering the field, tripping the oscillator threshold. That includes plastic, wood, glass, oil, water, granules, and powders — and metals give the strongest response.
Why sensitivity adjustment is essential: without calibration, the sensor triggers on its own mounting bracket, dust, or humidity. The potentiometer (or teach button on digital models) sets the threshold. Always calibrate in situ with the actual target and mounting — never on a bench.
| Material | εr | Sensitivity |
|---|---|---|
| Air / vacuum | 1.0 | Reference — not detectable |
| Dry paper / cardboard | 2 – 3 | Low — needs close range |
| PVC / Polyester | 3 – 4 | Moderate |
| Mineral oil | ~2.2 | Moderate |
| Glass | 5 – 10 | Good |
| Water | ~80 | Very high — detects through container walls |
| Metals | Effectively infinite | Maximum range |
Sensing distance scales roughly with √εr for a given model.
2.3 Ultrasonic Proximity Sensor
A piezoelectric transducer alternates between transmit and receive. The sensor emits a sound burst at 40 kHz – 400 kHz, then measures the time until the echo returns. Speed of sound in dry air at 20 °C is 343 m/s:
Distance = (Time × 343) ÷ 2
The dead zone: after emission, the transducer continues vibrating for a brief settling period during which it can't distinguish a return echo from residual transmit. The blind region directly in front of the sensor — typically 20–200 mm — is the dead zone. Targets inside it are invisible. Always check the datasheet value before mounting.
⚠ Temperature drift: speed of sound rises about 0.6 m/s per °C. Over a 40 °C seasonal swing that's roughly 7% drift — about 70 mm error at 1 m range. Sensors with built-in temperature compensation correct for this. Without compensation, build the drift into your tolerance budget.
2.4 Magnetic Proximity Sensor (Reed and Hall Effect)
Detects only permanent magnets — completely separate from inductive sensing.
Reed switch: two ferromagnetic blades in a sealed glass tube. A magnet pulls them together, closing the circuit. No electronics.
Hall effect: a semiconductor produces a voltage proportional to the magnetic field; a comparator switches the output.
The dominant use is pneumatic cylinder end-of-stroke detection. Pistons carry a ring magnet; the sensor reads through the aluminium barrel wall. An inductive sensor can't do this — the aluminium barrel itself would trigger it first.
3. Reading the Datasheet
Sn, Sr, Sa — three different sensing distances
| Parameter | Definition | How to use |
|---|---|---|
| Sn — Nominal | Rated distance under standard conditions (mild steel, 23 °C, rated voltage) | Product comparison only — never mount at Sn |
| Sr — Real | Actual switching distance, ±10% of Sn per IEC 60947-5-2 | Indicates unit-to-unit variation |
| Sa — Assured | Range with switching guaranteed across all conditions: 0 to 81% of Sn | Use this for mounting design |
Practical rule: if Sn is 10 mm, mount so switching occurs at or below 8 mm. That leaves headroom for material, temperature, voltage, and mechanical tolerance — all of which push real distance below Sn.
Hysteresis
The difference between switch-on and switch-off distance, typically 3–20% of Sn. Without it, a target at the threshold would chatter as small vibrations push it across. Build the hysteresis window into your tolerance budget if you need precise feedback in both directions.
Switching Frequency
Maximum on/off rate the output can deliver, in Hz. A 500 Hz sensor completes one cycle every 2 ms. For fast counting:
Required Hz = Line speed (m/s) ÷ Target pitch (m)
A 2 m/s line with targets every 100 mm needs at least 20 Hz.
Typical max switching frequencies:
- Inductive (high-speed): up to ~5,000 Hz
- Inductive (standard): 500 – 1,500 Hz
- Magnetic (Hall effect): up to ~2,000 Hz
- Magnetic (reed): up to ~500 Hz
- Capacitive: 10 – 100 Hz
- Ultrasonic: 1 – 25 Hz
4. NPN vs PNP — Getting the Wiring Right
Both are transistor outputs. The difference is which side of the load the transistor switches.
| NPN (Sinking) | PNP (Sourcing) | |
|---|---|---|
| When detecting | Output → 0 V | Output → +V |
| Current flow | Into sensor pin | Out of sensor pin |
| PLC input needed | Sourcing input | Sinking input |
| Common in | Japan, Asia-Pacific | Europe, North America |
Practical tip: sensor output type must match PLC input card type. Mismatched wiring won't damage either device, but the input won't switch.
2-wire sensors have only supply and load, no separate output. They sit in series with the PLC input. Even when "off," they pass 0.5–1.7 mA leakage to power their own electronics. If that exceeds the PLC input's max OFF-state current, the input reads ON even when the sensor isn't triggered. Switch to a 3-wire model or add a bleeder resistor across the PLC input.
5. Where Each Type Is Used
| Application | Inductive | Capacitive | Ultrasonic | Magnetic |
|---|---|---|---|---|
| Metal part on conveyor | Best | Works | Works | No |
| Plastic / wood / glass | No | Best | Works | No |
| Liquid level in non-metal tank | No | Best (through wall) | Open surface only | No |
| Transparent objects | No | If εr high enough | Best | No |
| Pneumatic cylinder end-of-stroke | No | No | No | Best |
| Continuous distance (analog) | No | Short range | Best | No |
| High-speed metal counting (>500 Hz) | Best | Too slow | Too slow | No |
| Powder / granule level | No | With tuning | If surface flat | No |
| Long range (1 – 8 m) | No | No | Best | No |
| Outdoor / dirty | IP67/IP69K | Sensitive to humidity | Affected by wind/rain | Sealed glass reliable |
6. How to Choose: A 5-Step Framework
Step 1 — Target material
- Ferrous metal → Inductive
- Non-ferrous metal → Inductive with correction factor, or Factor 1
- Plastic, wood, glass, liquid → Capacitive or ultrasonic
- Any material at long range → Ultrasonic
- Permanent magnet on piston → Magnetic
Step 2 — Sensing distance
- 0 – 60 mm → Inductive or capacitive
- 20 mm – 8 m → Ultrasonic
- Beyond 8 m → photoelectric through-beam or laser distance sensor
- Always design to Sa, not Sn
Step 3 — Target speed
-
500 detections/sec → Inductive only
- Standard speeds → any type, but check switching frequency against
Hz = m/s ÷ target pitch
Step 4 — Environment
- Coolant / washdown → IP67 minimum; IP68/IP69K for high-pressure
- High temp (>70 °C) → extended-range models reach 100 °C+
- EMI from welders/VFDs → EMC-shielded inductive, or capacitive
- Outdoor / temp swings → ultrasonic with temperature compensation
Step 5 — Output signal
- On/off → switched NPN or PNP matching PLC input
- Continuous distance → 4–20 mA (noise-immune, long runs) or 0–10 V (simpler, shorter runs)
- Diagnostics needed → IO-Link
7. Common Faults and Fixes
| Symptom | Likely Cause | Fix |
|---|---|---|
| Output doesn't switch with target present | Correction factor not applied | Move closer; stay within Sa for actual material |
| False trigger with no target | Bracket inside unshielded sensor's exclusion zone | Switch to flush model, or clear exclusion zone |
| Unreliable aluminium detection | Distance based on Sn for steel | Halve the distance, or specify Factor 1 |
| Capacitive triggers on empty mounting | Sensitivity too high | Reduce sensitivity with target absent until output stays off |
| Ultrasonic unstable near target | Target inside dead zone | Increase mounting distance, or specify shorter dead zone |
| Output chatters when target stationary | Vibration at hysteresis threshold | Move target well inside Sa, not at the edge |
| 2-wire sensor: PLC reads ON when off | Leakage exceeds PLC OFF-state limit | 3-wire sensor, or bleeder resistor across input |
| Sensor body hot, unreliable output | Load current exceeds output rating | Add a relay or amplifier if load >100–200 mA |
| Seasonal drift on ultrasonic | No temperature compensation | Use compensated model, or recalibrate seasonally |
Summary
Selection comes down to five questions in order: target material, sensing distance, target speed, environment, and output signal. Get the detection principle right and the rest is parameter selection. Get it wrong and no adjustment fixes it.
The numbers that matter in practice: Sa (not Sn), the material correction factor, switching frequency for fast lines, and dead zone for ultrasonic. Housing, connector, and cable specs come second.
If you want a sanity check on a specific model, share the target material, operating distance, line speed, IP requirement, and PLC input type. We supply inductive, capacitive, ultrasonic, and magnetic proximity sensors from major industrial brands with full datasheets and lead-time information.
-
Posted in
Technical knowledge





