A proximity sensor answers “has it arrived?” — when the target reaches a set distance, it switches on or off. A displacement sensor answers “where is it now, and how far away?” — it outputs a value that changes continuously with position. The difference is whether you only need to know “yes or no” or need a number, and how the output connects, how the figures read and where it mounts. Compare them on four points — presence or distance, range and accuracy, output and wiring, and mounting and environment — then choose for your machine. Here, proximity sensors mean inductive and capacitive types; displacement sensors mean sensors that measure position or distance with a continuous output, including laser and magnetostrictive types; photoelectric switches and encoders are outside the scope. It is organized in four comparisons:
- ① Presence or distance: a switch signal, or a value.
- ② Range and accuracy: sensing distance versus measuring range, and how to read the figures.
- ③ Output and wiring: switching outputs, analog outputs and communication.
- ④ Mounting and environment: surrounding metal, target surface, oil and vibration.
This article starts from the point where you already know you need to detect a target’s position; sources are summarized at the end. For selecting each, see “How to choose a proximity sensor” and “How to choose a displacement sensor.” This describes the general case; individual cases still need their own assessment.
Figure 1. Four comparisons (illustration, not to scale): ① presence or distance — proximity: switches on or off when the target arrives; displacement: continuously measures position or distance. ② range and accuracy — proximity: sensing distance with a standard target; displacement: range and resolution read separately. ③ output and wiring — proximity: switching output, NPN or PNP; displacement: analog or communication, needing a matching input. ④ mounting and environment — proximity: flush or non-flush, surrounding metal; displacement: contact or non-contact, target surface and environment.
Comparison ①: Presence or distance — a switch signal, or a continuous value
- First write down: whether you need to know “has it arrived,” or “how far is it now, how far off.”
- For arrival, counting or presence, look at a proximity sensor first.
- For position over the full stroke, thickness or height, look at a displacement sensor first.
- The name doesn’t fully define the output: some sensors have both switching and analog outputs, so check the output field in the specification.
What public sources say: a sensor maker’s basics page (undated; maker’s claims — Source 1) says switching sensors tell you whether a target is present, used where only start and end points or high and low levels matter; measuring sensors give continuous position or distance values, used where the full stroke matters. Switching types are simple, low-cost, easy to commission and usually don’t contact the medium; measuring types are more accurate for position and distance, measure continuously and dynamically, and are more flexible — with no figures given. A trade magazine article (July 2004; author works for a sensor maker; maker’s view — Source 2) lists linear displacement sensors including potentiometers, LVDTs, magnetostrictive, ultrasonic, laser and encoders, each with its own range and trade-offs, and notes that absolute types give the same output after power loss as before (without saying which technologies are necessarily absolute), while incremental types such as encoders must re-home after power loss.
Comparison ②: Range and accuracy — sensing distance versus measuring range and resolution
- First write down: the distance range to detect or measure, target material and size, required accuracy and repeatability, and target speed.
- For an inductive proximity sensor, look at sensing distance; specification figures are mostly measured with a standard target and change with target material.
- For a displacement sensor, look at measuring range, resolution, linearity and repeatability separately.
- Ask under what conditions the specification figures were measured.
What public sources say: a sensor maker’s technical note (undated; maker’s claims — Source 3) says rated distance is a conventional nominal value excluding manufacturing tolerances and voltage and temperature effects; effective distance, measured at rated voltage and 23°C, is 0.9 to 1.1 times rated distance; usable distance, over the full temperature and voltage range, is 0.81 to 1.21 times; the standard target is a 1 mm thick mild steel square; standard inductive sensors detecting non-ferrous metals need a correction factor that varies by metal, for example about 0.25 to 0.45 for copper (nominal, varying with frequency, composition and shape; the source says certain types are exceptions); and hysteresis between switching and release is factory-set at under 15% of effective distance. Source 2 gives ranges for each type — for example, its text gives about 0.25 to 250 mm for LVDTs, while its own table gives about 0.25 to 10 mm, and the magnetostrictive lower limit also differs between text and table, so check the model’s data sheet. A sensor company’s blog (August 2024; seller’s claims — Source 4) says laser measurement comes in two kinds: time-of-flight measures the distance to the object itself, for medium to long range with millimeter to centimeter accuracy; triangulation measures small relative changes, for short range with micrometer to nanometer accuracy; part of its specification table is garbled, so its figures are for reference only.
Comparison ③: Output and wiring — switching outputs, analog outputs and communication
- First write down: the controller input (digital input, analog input module or communication), the voltage and the signal cable length.
- Proximity sensors mostly have switching outputs; choose NPN or PNP and NO or NC to match the controller input.
- Displacement sensors mostly have analog outputs or digital communication; the controller needs a matching input module.
- For analog outputs, also check the scaling range and resolution.
What public sources say: a sensor company’s knowledge page (undated; company type not stated; seller’s claims — Source 5) says digital outputs represent a logic state, for presence or arrival, while analog outputs vary continuously with the measured value. PNP loads connect between signal and −, NPN loads between signal and +; NC types keep the signal open if the sensor or switch fails, which the page calls more fail-safe. Two analog outputs are common: the 4–20 mA current loop, where 4 mA is the start of range and 20 mA the end, the 4 mA start distinguishing zero signal from a fault and resisting voltage drop and noise, though sometimes costlier; and 0–10 V, which is common, lower in production cost and easy to process, but sensitive to noise and voltage drop, unsuitable for long distances, and starts at 0 V, making faults harder to detect. Source 1 says IO-Link and Ethernet-type interfaces can output both switching signals and measured values, and also exchange other data such as product name and status monitoring values.
Comparison ④: Mounting and environment — surrounding metal, target surface, oil and vibration
- First write down: target material, mounting location, any surrounding metal, any oil, dust or vapor, and any vibration or shock.
- For a proximity sensor, check flush or non-flush mounting and whether a clear zone without metal is needed.
- For a displacement sensor, check contact or non-contact, and the target surface condition.
- Plan fixing and zeroing in advance.
What public sources say: a sensor maker’s installation note (undated; maker’s claims — Source 6) says flush (shielded) types can be embedded in metal plates, though the carrier material may change sensing distance; non-flush types need a clear zone without metal the diameter of the sensing face and have larger sensing distance; insufficient spacing shortens sensing distance, and correction factors in data sheets for specific mounting cases take precedence over general guidelines, with on-site testing recommended. Source 2 says potentiometers are contact types that wear; its table rates LVDTs highly for non-contact operation, shock and vibration resistance and life; lasers need a suitable target surface and raise eye-safety concerns; ultrasonic sensors are affected by air temperature, humidity and wind; and magnetostrictive sensors have difficulty with large shocks. An LVDT maker’s blog (July 2022; maker’s claims — Source 7) says laser displacement is non-contact and very accurate but hard to use with steam, dirt or oil and needs a very flat target (which it says many applications lack), while magnetostrictive sensors are accurate but sensitive to shock and vibration, suited to stable, mild conditions.
Comparison table: the four points at a glance
| Item | Proximity sensor | Displacement sensor |
|---|---|---|
| Question answered | Has it arrived (yes or no) | Where is it, how far (continuous value) |
| Output | Switching, NPN or PNP, NO or NC | Analog or digital communication |
| Distance | Sensing distance with a standard target; target material changes it for standard inductive types | Measuring range varies widely by type, from millimeters to meters |
| Accuracy | Hysteresis and repeatability per specification | Resolution, linearity and repeatability read separately |
| Mounting | Flush or non-flush; surrounding metal affects distance | Contact or non-contact; target surface and environment affect readings |
| Characteristics (Source 1) | Switching: simple, low-cost, easy to commission | Measuring: more accurate, continuous, more flexible |
These are the sources’ statements, which do not all agree; they are not selection thresholds. The “characteristics” row is Source 1’s description of switching and measuring sensors; that page doesn’t discuss proximity sensors specifically.
How to choose: when a proximity sensor, when a displacement sensor
Based on public sources:
- Use a proximity sensor when: you only need arrival, counting or start and end points; Source 1 says switching sensors are simple, low-cost and easy to commission, without discussing proximity sensors specifically (Source 1).
- Use a displacement sensor when: you need continuous position, distance or thickness over the full stroke; Source 1 says measuring sensors are more accurate and measure continuously and dynamically (Source 1); if the position value must be kept after power loss, look for types whose output is unchanged after power loss (Source 2).
- Connect the output to the controller: switching outputs must match the input type; analog outputs need an analog input module, with current or voltage and cable length considered (Sources 1, 5).
- Near the boundary: some sensors have both outputs; the sources give no line for “how tight a tolerance means switching to a displacement sensor,” nor any cost difference figures; go by your distance, accuracy and controller (Sources 1, 3).
These are statements from public sources, not a conclusion for your machine; the actual choice depends on your distance, accuracy and controller input.
How JIAHON can help:
- Proximity side: proximity sensors (one brand; please ask for style, size, sensing distance and output); a proximity sensor series (another brand; inductive and capacitive on one page; please ask for sensing distance and output); M12 inductive proximity sensors (another brand; please ask for specifications); two further proximity sensor pages from other brands (please ask for sensing type and specifications); and cylindrical NPN proximity sensors (another brand; please ask for sensing distance and specifications).
- Displacement side (these 4 pages cover laser and magnetostrictive types): a laser distance sensor (outputs position value; reflector sold separately; please ask); a laser displacement sensor from another brand (a set of sensor, expansion module, communication module and cables, available complete or individually; please ask); a laser sensor page for the same brand’s same sensor, listing both switching and analog outputs and describing itself as a time-of-flight laser sensor for object detection, level monitoring and conveyor positioning — please ask whether it suits displacement measurement; and a magnetostrictive displacement transducer from another brand (the page says some models are discontinued; please ask about availability).
When you need to match a type, please prepare six items: target material and size; whether you need only presence or a continuous value; distance range and required accuracy; controller input type (digital, analog or communication) and voltage; mounting location (surrounding metal, oil, vibration); and the model you use now and the problem you have. Please contact JIAHON.
Related reading
- “How to choose a proximity sensor”
- “How to choose a displacement sensor”
Sources and limits
Sources: a sensor maker’s basics page (undated, Source 1); a trade magazine article by a sensor maker’s employee (July 2004, Source 2); a sensor maker’s technical note (undated, Source 3); a sensor company’s blog (August 2024, Source 4); a sensor company’s knowledge page (undated, Source 5); a sensor maker’s installation note (undated, Source 6); and an LVDT maker’s blog (July 2022, Source 7).
Limits: all seven sources are makers or sellers; no neutral comparison or standard text was read. Figures such as 0.9–1.1 and 0.81–1.21 times, 0.25–0.45 for copper, under 15% and the LVDT ranges are source examples, and Source 2’s text and table disagree. Follow the model’s data sheet and test on site.