Capacitive Sensor

A capacitive sensor detects the presence, level, or precise position of a target by measuring the change in electrical capacitance as the target enters the sensor's electrostatic field. Unlike an inductive sensor, which sees only conductive metal, a capacitive sensor responds to almost any material with a measurable dielectric constant: metals, plastics, glass, wood, paper, granules, powders, and liquids. This breadth makes it the workhorse for non-metallic object detection, level sensing through tank walls, and, in its high-precision displacement form, sub-nanometer gap metrology.

The same physical principle spans two very different instrument classes. The industrial proximity and level switch is a rugged binary device governed by IEC 60947-5-2. The capacitive displacement sensor is a laboratory-grade analog instrument resolving gaps down to the picometer range. This guide treats both, because procurement engineers routinely confuse them.

Cylindrical threaded-barrel capacitive proximity switch with a white non-metallic sensing face, chrome hex nut, labeled metal barrel, and rear M12 connector

Photo: IP83, CC BY-SA 3.0, via Wikimedia Commons

This guide is written for industrial purchasing engineers and design engineers. It covers 6 chapters, from working principle, sensor types, shielding and construction, target materials and reduction factors, to spec-sheet decoding and selection decisions, with 7 selection FAQs and manufacturer comparisons. All parameters reference the IEC 60947-5-2 proximity-switch standard, IEC 60529 ingress protection ratings, and published manufacturer datasheets from Pepperl+Fuchs, Balluff, and Micro-Epsilon.

Chapter 1 / 06

What is a Capacitive Sensor

A capacitive sensor is a non-contact device that converts a change in electrical capacitance into a switching signal or an analog measurement. Its active element is one plate of a capacitor. The target object, together with the air gap and any intervening material acting as the dielectric, forms the second plate of the system. When the target approaches, the capacitance of this arrangement rises. In a proximity switch, that capacitance is wired into an RC oscillator: as the target nears, oscillation amplitude grows until it crosses a threshold, a trigger stage fires, and the solid-state output changes state. In a displacement sensor, the capacitance is driven by a constant-frequency alternating current, and the resulting voltage amplitude is directly proportional to the gap.

The defining advantage over the inductive sensor is material independence. Inductive devices induce eddy currents and therefore detect only conductive metals. Capacitive devices respond to the dielectric constant (relative permittivity) of whatever enters the field, so they can sense plastic pellets in a hopper, water behind a glass wall, cardboard on a conveyor, or flour in a silo. Conductive targets such as metal, water, and even blood produce a strong response regardless of which metal is used, because a conductor behaves as an effectively infinite dielectric. Non-conductors produce a weaker response scaled by their permittivity, which is the root of the reduction-factor concept treated in Chapter 4.

Structurally an industrial capacitive proximity switch has four parts: the active electrode behind a non-metallic or stainless front face; the oscillator and demodulator circuit that turns capacitance into a DC level; the trigger and hysteresis stage that produces clean switching; and the output driver (PNP or NPN transistor, NO or NC, or an analog or IO-Link interface). Many models add a sensitivity potentiometer or a teach button so the installer can set the switching point for a specific target and through-wall thickness. The whole assembly is potted into a threaded cylindrical barrel (typically M12, M18, or M30) or a rectangular block, and rated to an IEC 60529 ingress class such as IP67 or IP69K.

The technology has a long lineage. The principle of a capacitor whose value changes with plate spacing dates to the nineteenth century, and capacitive level gauges appeared in industry from the mid-twentieth century. The modern solid-state capacitive proximity switch matured alongside the inductive switch in the 1970s and 1980s, and the two are now standardized together under IEC 60947-5-2. In parallel, the capacitive displacement sensor evolved into a precision metrology instrument: suppliers such as Micro-Epsilon and Lion Precision now resolve gaps to tens of picometers, a capability exploited in semiconductor lithography, hard-disk manufacturing, and machine-tool metrology.

Application scale spans a wide range. As a switch, the capacitive sensor works over sensing distances of roughly 1 mm to 40 mm. As a displacement sensor it measures full-scale ranges from tens of micrometers to a few millimeters with resolutions nine orders of magnitude finer. No single capacitive device covers this entire span: selection is the act of mapping a specific detection or measurement task onto the correct construction, range, and shielding.

Chapter 2 / 06

Capacitive Sensor Types

Capacitive sensors divide into four functional families that share the underlying physics but differ entirely in performance, cost, and application. Confusing a binary proximity switch with an analog displacement sensor is the most common selection error, because both are labeled "capacitive sensor" in catalogs. The table below compares the four families on the parameters that matter at the purchasing stage.

TypeOutputTypical RangeResolution / AccuracyTypical Applications
Proximity switchBinary (PNP/NPN, NO/NC)1 to 40 mm1 to 10% of rangeObject presence, parts counting, end-of-travel
Level switch / sensorBinary or analogThrough-wall to 60 mmPoint or trendTank level, silo level, foam, interface
Displacement (gap) sensorAnalog (0-10 V / 4-20 mA)0.05 to 10 mm FSto 30 pm resolutionRunout, wafer stage, thickness gauging
Touch / interface sensorDigital eventContact / near-fieldN/AHMI touchscreens, capacitive buttons

Capacitive proximity switches are the most widely sold family. They give a clean on/off signal when any target, metallic or not, comes within the sensing distance. Cylindrical M12, M18, and M30 threaded barrels and rectangular blocks dominate, with sensing distances commonly from a few millimeters up to 40 mm. Their material independence makes them ideal where an inductive switch cannot be used: detecting plastic bottles, paper cartons, glass containers, or wooden pallets on a line.

Capacitive level switches and sensors exploit the high permittivity of water and aqueous liquids. Mounted on or through a non-metallic tank wall, an unshielded device detects the presence or absence of liquid without any wetted part. More advanced level sensors use an active compensation electrode (a guard ring) to ignore foam or a clinging film on the inside wall, and some output a continuous analog level rather than a single switch point. The technique is prized for clean-in-place and food-and-beverage duty because nothing penetrates the vessel.

Capacitive displacement sensors are a different world. They are analog metrology instruments built from a probe head, a controller, and a stabilized power supply. By driving the sensor capacitor with a constant alternating current, the controller produces a voltage strictly proportional to the gap to a flat, conductive target. Commercial systems reach resolutions down to about 30 picometers and linearity near 0.1 percent of measuring range, and they operate from cryogenic temperatures to several hundred degrees Celsius and in vacuum. They measure spindle runout, lens positioning, wafer-stage flatness, and material thickness, not general object presence.

Capacitive touch and interface sensors are the consumer face of the same principle: a finger changes the local capacitance of a patterned electrode array on a touchscreen or a capacitive button. They appear in industrial HMIs and operator panels, but they are a distinct discipline from the field-instrument families above and are mentioned here only for completeness.

Chapter 3 / 06

Shielding, Construction, and Field Geometry

Within the proximity and level families, the single most consequential construction choice is whether the device is shielded (flush-mountable) or unshielded (non-flush). This determines the field shape, the achievable range, and the clearances the installer must respect. The table below summarizes the trade-off.

ConstructionField shapeRelative rangeMountingBest for
Shielded (flush)Forward-directedapprox. 60% of unshieldedEmbedded level with metalObject detection in machine frames
Unshielded (non-flush)Wrap-around spherical100% (longer)Clear metal-free zone requiredLevel through tank wall, granules

Shielded, flush-mountable sensors carry a metal ring or guard around the active electrode that confines the electrostatic field to a forward-pointing lobe. Because the field does not spread sideways, the head can be installed flush with the surrounding metal mounting plate without that metal triggering the output. The penalty is range: a shielded device achieves only about 60 percent of the sensing distance of the equivalent unshielded version, because part of the field is suppressed. Shielded heads are the default for object detection in dense machinery where mounting space is tight and grounded metal is everywhere.

Unshielded, non-flush sensors radiate a fuller, roughly spherical field that wraps around the sides of the head. This gives the longest range for a given diameter and makes the device sensitive to material approaching from the side, which is exactly what is wanted for level detection through a non-metallic wall or for sensing the rise of granules in a hopper. The cost is that the installer must keep a clear, metal-free zone around and behind the active face, typically two to three times the sensor diameter, and must space adjacent sensors apart to avoid mutual interference. Datasheets publish the exact free-zone and spacing dimensions, and ignoring them is a frequent cause of phantom switching.

Beyond shielding, the front-face material drives chemical and abrasion resistance. PTFE faces shed sticky product and resist aggressive media, which suits food, pharmaceutical, and chemical handling. Stainless steel faces add mechanical robustness. Housing materials range from nickel-plated brass and stainless barrels to chemically resistant plastics, and the threaded barrel sizes (M8, M12, M18, M30) set both the mounting interface and, indirectly, the achievable range, since a larger active face produces a larger field.

Construction also governs the environmental rating. IEC 60529 ingress classes appear on every datasheet: IP65 resists low-pressure jets, IP67 survives temporary immersion, and IP69K withstands high-pressure, high-temperature washdown, which is mandatory in hygienic food and beverage lines. For level applications, the difference between a generic proximity switch repurposed for level and a purpose-built level sensor with an active compensation electrode is precisely the construction's ability to reject buildup and foam, so the construction choice and the application family are linked.

Chapter 4 / 06

Target Materials and Reduction Factors

The capacitive sensing distance is not a fixed property of the sensor alone: it depends on the target's relative permittivity (dielectric constant). The rated operating distance sn quoted in catalogs is always measured against a standard grounded metal plate, which behaves as an effectively infinite dielectric and therefore gives the maximum possible range. Any non-metallic target detects at a shorter distance, scaled by a reduction factor between 0 and 1. The higher the dielectric constant, the larger the reduction factor and the longer the effective range.

This is why water, with a relative permittivity near 80, is detected at almost the full sn, while dry plastics and oils, near 2 to 3, are detected at only a fraction of it. PTFE at about 2.0 is among the most difficult materials to detect capacitively. The table below lists representative relative permittivity values for common targets, from authoritative reference data, alongside the practical detection consequence. Treat these as a first-pass guide; the actual reduction factor on your line also depends on the sensor's shielding, the target's size and mass, its grounding, and any moisture content.

MaterialRelative permittivity (approx.)Detectability
Metals / grounded conductorinfinite (reference)Full sn (standard target)
Water~80Near full sn; ideal for level
Ethanol / alcohols~24Strong
Glass~5 to 10Moderate
Wood (dry to damp)~2 to 7Varies with moisture
Paper / cardboard~2 to 4Moderate, moisture-dependent
PVC / common plastics~3 to 4Reduced
Oils~2.2 to 2.8Reduced
PTFE (Teflon)~2.0Weak; hardest to detect
Air (no target)~1.0Reference baseline

Two practical rules follow from this physics. First, because moisture dramatically raises permittivity, wet wood, damp cardboard, and humid powders are detected far more easily than their dry counterparts, and a sensor set up on dry product may misbehave when humidity rises. Second, the same effect that enables level sensing through a tank wall also makes the sensor vulnerable to condensation, splash, and buildup on its own face, all of which raise the apparent capacitance and can hold the output on. This dual nature, a strength for level work and a weakness for clean object detection, must be designed around.

For through-wall level detection, the wall itself is part of the dielectric stack. A thin glass or thin-plastic wall passes the field with modest loss, while a thick or high-permittivity wall absorbs much of the range budget. This is why adjustable sensitivity (a potentiometer or teach function) is not a luxury but a requirement: the installer must tune the switching point to the specific combination of wall and product. When the product itself sticks to the inside wall, only a sensor with an active compensation electrode can reliably distinguish a real level from a residual film.

Chapter 5 / 06

Key Specification Parameters

Reading a capacitive-sensor datasheet means decoding a chain of operating-distance figures defined by IEC 60947-5-2, plus the electrical and environmental ratings. A novice reads only the headline sn; an experienced engineer designs against the assured operating distance sa. The eight parameters below drive nearly every selection decision.

Rated operating distance (sn) is the conventional catalog value, measured against a standard square grounded mild-steel plate (Fe 360) of side length equal to the sensor diameter or three times sn, whichever is larger, and 1 mm thick. It ignores tolerances, voltage, and temperature, so it is a reference, not a guarantee. Effective operating distance (sr) is measured on an individual unit at rated voltage and 23 degrees Celsius and must fall between 90 and 110 percent of sn. Usable operating distance (su) folds in the full supply-voltage and temperature envelope and must fall between 90 and 110 percent of sr.

Assured operating distance (sa) is the worst-case figure: the distance within which detection is guaranteed under every permitted condition. IEC 60947-5-2 defines it as 0 to 81 percent of sn. In other words, for a sensor rated sn equal to 10 mm, design your nominal target gap to no more than roughly 8 mm, and leave margin below that. Designing at the headline sn is the classic field failure: it works on the bench at 23 degrees Celsius and intermittently misses targets in a cold or hot plant.

Hysteresis (H) is the gap between the switch-on point (target approaching) and the switch-off point (target receding), expressed as a percentage of sr. It exists to prevent output chatter when the target sits exactly at the threshold. A typical figure is a few percent up to around 15 to 20 percent of the sensing distance; larger hysteresis gives more stable switching but coarser positional resolution. Repeat accuracy (R) is the run-to-run variation of the effective operating distance under fixed temperature and voltage, the metric that tells you how consistent the trip point will be.

Switching frequency is the maximum number of detect/clear cycles per second the output can resolve, important for fast-moving parts on a conveyor; capacitive switches are generally slower than inductive ones, often in the tens to low hundreds of hertz. Supply voltage and output define electrical compatibility: most industrial devices run on a 10 to 30 V DC range and offer PNP or NPN transistor outputs configured NO or NC, with analog (0 to 10 V or 4 to 20 mA) and IO-Link variants for level and smart-factory duty.

Finally, the environmental and certification block ties it together: IEC 60529 ingress rating (IP65/IP67/IP69K), operating temperature range with the associated drift expressed as a percentage of sn, EMC compliance, and any hygienic (EHEDG, 3-A) or hazardous-area approval. For level sensors, also check whether the device carries an active shield or compensation electrode and whether the sensitivity is fixed, potentiometer-set, or teach-programmable, because these determine real-world reliability against buildup.

Chapter 6 / 06

Selection Decision Factors

To turn the preceding chapters into a part number, follow the ordered decision sequence below. Most selection mistakes are not single wrong steps but decisions taken at the wrong level, such as choosing a barrel size before confirming the target permittivity. These steps double as a fixed RFQ template.

  1. Is capacitive even the right technology: If the target is always metal, an inductive sensor is usually more robust against dust, moisture, and buildup. Choose capacitive when the target is non-metallic, when you must detect level through a wall, or when you need to sense any material regardless of conductivity.
  2. Function and output type: Decide proximity switch, level switch or sensor, or displacement metrology. This fixes whether you need a binary PNP/NPN output, an analog 0-10 V or 4-20 mA signal, IO-Link, or a metrology controller. The four families do not substitute for one another.
  3. Target material and reduction factor: Establish the target's dielectric constant and confirm the reduction factor on the actual material. Water and conductors read near full sn; dry plastics, oils, and PTFE read at a fraction. For through-wall level, include the wall material and thickness in the dielectric budget.
  4. Sensing distance and operating-distance margin: Size the range against the assured operating distance sa (0 to 81 percent of sn), not the headline sn, so the device still detects across the full temperature and voltage envelope. Add margin for buildup and mechanical tolerance.
  5. Shielded or unshielded: Choose shielded (flush) for embedded mounting in metal and dense machinery, accepting roughly 60 percent of the unshielded range. Choose unshielded (non-flush) for maximum range and side-sensitivity in level and granule work, and reserve the required metal-free clearance.
  6. Construction, face material, and ingress rating: Select barrel size (M8 to M30) or block form, front-face material (PTFE for sticky or aggressive media, stainless for robustness), and IEC 60529 class (IP67 for immersion, IP69K for washdown). Match the housing to the chemical and mechanical environment.
  7. Environment and certifications: Confirm operating temperature range and the associated drift in percent of sn, EMC immunity near drives and motors, minimum mounting spacing to avoid mutual interference, and any hygienic (EHEDG, 3-A) or hazardous-area approval the site demands.
  8. Adjustability and total cost of ownership: For level and difficult targets, prefer adjustable sensitivity (potentiometer or teach) and active compensation against buildup. Weigh purchase price against commissioning time, false-trip downtime, and the cost of an under-ranged device that fails when humidity or temperature shifts.

One commonly overlooked dimension is manufacturer serviceability and ecosystem: local stock of the exact barrel and connector, availability of IO-Link device description files, teach-by-wire support, and documented reduction-factor data for your target class. Pepperl+Fuchs, Balluff, ifm electronic, SICK, Turck, and Omron all maintain broad capacitive proximity and level catalogs with regional support, while Micro-Epsilon, Lion Precision, and Physik Instrumente serve the displacement-metrology end with dedicated controllers and calibration. Confirm every printed figure against the specific datasheet before issuing the order, because each family spans dozens of near-identical variants that differ in shielding, IP rating, and output.

FAQ

What is the difference between a capacitive sensor and an inductive sensor?

An inductive sensor detects only electrically conductive metals, because it works by inducing eddy currents in the target with a high-frequency electromagnetic field. A capacitive sensor detects almost anything: metals, plastics, glass, wood, paper, liquids, powders, and granules, because it responds to the change in capacitance and dielectric constant when any material enters its electrostatic field. The trade-off is that the capacitive sensor is sensitive to humidity, condensation, and material buildup, while the inductive sensor ignores non-metallic dust and moisture. Inductive sensors also offer longer mechanical life expectancy in harsh metalworking environments. A common rule: if the target is metal, prefer inductive for reliability; if the target is non-metal or you are detecting level through a wall, use capacitive.

What is the rated operating distance sn and how is it defined?

The rated operating distance sn, defined in IEC 60947-5-2, is a conventional reference value measured against a standard target: a square, grounded mild-steel plate (Fe 360) whose side length equals the sensor diameter or three times sn, whichever is greater, and 1 mm thick. It does not account for manufacturing tolerances, supply voltage, or temperature. Real installed performance is described by a chain of derived figures: the effective operating distance sr is measured on one unit at rated voltage and 23 degrees Celsius and lies between 90 and 110 percent of sn; the usable operating distance su accounts for the full temperature and voltage envelope and lies between 90 and 110 percent of sr; the assured operating distance sa is the worst-case figure where detection is guaranteed, defined as 0 to 81 percent of sn. Engineers should design against sa, not sn.

What is a reduction factor and why does water read further than plastic?

Capacitive sensing distance depends on the target's relative permittivity (dielectric constant). The catalog sn is measured against grounded metal, which behaves as an effectively infinite dielectric. Any non-metal target detects at a shorter distance, scaled by a reduction factor between 0 and 1. Water has a dielectric constant of about 80 and reads at nearly the full sn, which is why capacitive sensors excel at liquid-level detection. Glass at about 5 to 10, wood at 2 to 7 depending on moisture, and dry plastics or oils at 2 to 3 read at a fraction of sn. PTFE at 2.0 is one of the hardest materials to detect. The reduction factor is not a single universal table value: it also depends on the sensor's shielding, the target mass, and grounding, so it must be confirmed on the actual target during commissioning.

What is the difference between flush (shielded) and non-flush (unshielded) capacitive sensors?

A flush, shielded capacitive sensor concentrates its electrostatic field forward from the front face. It can be embedded level with the surrounding metal mounting surface without false tripping, which suits object detection on a conveyor or in a machine frame. The penalty is range: a shielded device achieves only about 60 percent of the sensing distance of the unshielded version of the same size. A non-flush, unshielded sensor radiates a fuller field that wraps around the sides of the head, giving longer range, but it requires a clear, metal-free zone around and behind the active face, typically two to three times the diameter. Unshielded heads are the standard choice for level detection through a non-metallic tank wall, where the wrap-around field is an advantage.

Can a capacitive sensor detect liquid level through a tank wall?

Yes, this is one of the most valuable capacitive applications. Because water and most aqueous or conductive liquids have a high dielectric constant, an unshielded capacitive sensor mounted on the outside of a non-metallic tank or sight glass can detect the presence or absence of liquid through a wall a few millimeters thick, with no wetted parts and no process penetration. The wall thickness, material, and any foam or residue all reduce the effective range, so a sensor with adjustable sensitivity (potentiometer or teach button) is essential to set the switching point. Limits: the technique fails on metal tanks, struggles with thick or high-permittivity walls, and can be fooled by condensation or a clinging film on the inside wall. For demanding level duty, a dedicated capacitive level switch or transmitter with active shield compensation is more robust.

How precise are capacitive displacement sensors compared with proximity switches?

They are different instrument classes. A capacitive proximity switch is a binary on/off detector with a sensing distance of a few millimeters to about 40 mm and repeat accuracy on the order of 1 to 10 percent of the sensing range. A capacitive displacement (gap) sensor is an analog metrology instrument: it measures the gap to a conductive target with resolution down to the picometer range (capaNCDT systems reach tens of picometers), linearity around 0.1 percent of measuring range, and bandwidth into the kilohertz range. Displacement sensors need a clean, conductive, flat target and a stable dielectric (usually a controlled air or vacuum gap), and they tolerate extreme environments from cryogenic temperatures to several hundred degrees Celsius. They are used for spindle runout, wafer-stage positioning, and thickness gauging, not for general object presence detection.

What environmental factors cause false switching in capacitive proximity sensors?

Because the sensor responds to any change in its electrostatic field, the chief enemies are humidity, condensation, splash water, and material buildup on the active face, all of which change the apparent dielectric and can hold the output on. Temperature swings shift the oscillator threshold, which is why the usable operating distance su is specified across the full temperature range and why catalog drift is quoted as a percentage of sn over the rated band. Mounting too close to grounded metal, electrical noise from nearby motors and drives, and mutual interference between two sensors closer than the required spacing also cause instability. Mitigations include choosing a sensor with active shield or background-suppression circuitry, IP67 or IP69K housings for washdown, PTFE or stainless faces that shed product, conformal anti-buildup coatings, and respecting the manufacturer's minimum mounting clearances.

Ask SpecForge AI