Skip to content

Capacitive Proximity Sensor

Calculate capacitance and sensitivity (pF/mm) between sensor plate and target. Design capacitive proximity and touch sensor detection circuits.

Parallel-plate capacitance C = ε₀εᵣA/d · no fringingAPI slug capacitive-proximity

Sign in to saveSave
Example
Airεr 1plateA 1 cm²targetd 5 mm

0.001 to 1 000 cm²

100 µm to 100 mm

Air: 1, Glass: 4–10, Water: 80

From material · 1 or more

Formula

C=ε0εrA/dC = ε₀εᵣA/d
SymbolQuantityYour value
ε₀8.8542 × 10⁻¹² F/m (F/m)—
εᵣRelative permittivity1

Assumptions

6 items
  1. 01Ideal parallel plates: C = ε₀·εr·A/d with ε₀ = 8.8541878128 × 10⁻¹² F/m, the target taken as a grounded plate of the same area directly opposite the sensor.
  2. 02Fringing fields are ignored, so the result holds while the gap is small next to the plate's width.
  3. 03One material of permittivity εr fills the whole gap; a layered gap, such as glass and then air, is not modelled. The material picker sets εr.
  4. 04Sensitivity is the magnitude of dC/dd = ε₀·εr·A/d² at the current gap, per millimetre; the response is not linear, so it holds for small movements.
  5. 05Stray capacitance, guard electrodes, the trace and the measuring circuit, and the target's own coupling to ground are not included.
  6. 06Synthesis solves the plate area (0.001–1000 cm²) or the gap (0.1–100 mm) numerically for a target capacitance.

Worked example

Touch key behind 2 mm of glass

A capacitive touch key sits behind a 2 mm borosilicate glass panel, εr 4.6, and the front end wants 1 pF between the electrode and a finger on the glass. Solving the plate area for 1 pF gives 0.4910 cm², about a 7 mm square.

StepExpressionResult
Plate area for 1 pFA = C·d / (ε₀·εr) = 1 pF × 0.002 m / (8.8542 pF/m × 4.6)0.4910 cm²
Capacitance check8.8542 pF/m × 4.6 × 0.4910 cm² / 2 mm1 pF
SensitivityC / d = 1 pF / 2 mm0.5 pF/mm
The same 2 mm gap in air1 pF / 4.60.217 pF
Side of a square electrode√0.4910 cm²7 mm

How it works

This calculator computes capacitive proximity sensor parameters including capacitance and sensitivity versus distance, essential for industrial automation engineers, liquid level sensor designers, and touchscreen developers. Capacitive sensors detect objects by measuring capacitance change when a target approaches the sensing electrode. The parallel-plate capacitance is C = e0 * er * A / d, where e0 = 8.8541878128e-12 F/m (vacuum permittivity per CODATA 2018), er is relative permittivity (air = 1.0, glass = 4-10, water = 80, human body = 50-80), A is electrode area, and d is gap distance. Sensitivity dC/dd = -e0 * er * A / d^2 increases at shorter distances (inverse-square relationship). Industrial capacitive sensors (Balluff, IFM, Omron) achieve 1-25 mm detection range with +/-10% repeatability per IEC 60947-5-2. Capacitance measurement circuits use oscillator frequency shift (delta_f/f proportional to delta_C), charge transfer (QTouch), or sigma-delta modulation (AD7745, 4 aF resolution). Temperature coefficient is typically 0.3%/C due to electrode expansion and permittivity change.

Practical tips

  • Use guarded (driven-shield) electrode design to constrain the electric field to the active face and reject interference from sides and rear; guard electrode driven at same potential as sense electrode per Analog Devices AN-1301
  • For liquid level detection through non-metallic container walls, choose sensor rated for the liquid's permittivity; water (er = 80) provides strong signal, oils (er = 2-4) require higher sensitivity settings per Balluff application notes
  • Reduce temperature sensitivity using differential measurement (two electrodes with opposite gap changes) rather than single absolute capacitance; this rejects thermal expansion common-mode error to <0.05%/C

Common mistakes

  • Ignoring environmental contamination: water (er = 80) or oil on the sensor face dramatically increases capacitance, causing false triggers; use flush-mount sensors with guard electrode design for wet environments per IFM application guide
  • Exceeding linear detection range: capacitance varies as 1/d, so sensitivity is highly nonlinear; within the first 2 mm near the plate, the sensor is extremely sensitive and easily saturates at small displacement changes
  • Mounting next to metal (embedding effect): conductive mounting hardware within the sensor's fringe field acts as a virtual target; maintain metal-free zone of 2x sensing distance per manufacturer installation guides

Frequently asked questions

3 questions
What materials can capacitive proximity sensors detect?

Capacitive sensors detect both conductive and non-conductive materials if their permittivity differs sufficiently from air (er = 1). Metals are easily detected (they short-circuit the electric field, maximizing delta_C). Plastics (er = 2-4), glass (er = 4-10), wood (er = 2-5), water (er = 80), and granular materials are detectable if their permittivity shifts capacitance above the detection threshold (typically 0.5-2 pF). Detection range scales as sqrt(er): water is detectable at 3x the range of plastic per IEC 60947-5-2 test methods.

How does capacitive sensing differ from inductive sensing?

Inductive sensors detect only conductive (metallic) targets by measuring eddy current losses in an oscillator coil; range 2-60 mm for ferrous metals, 40% less for non-ferrous (aluminum, copper). Capacitive sensors detect any material with er > 1, including non-metallic targets like plastics, liquids, and paper. Trade-offs: capacitive sensors are more sensitive to contamination (water films, dust) and have shorter range (1-25 mm typical) but can detect through non-metallic container walls. Per IFM and Balluff selection guides, use inductive for metal detection, capacitive for non-metallic or level sensing.

What is sensing distance teach-in?

Many industrial capacitive sensors have teach-in capability (potentiometer or pushbutton) that sets the trigger threshold at a specific gap. Procedure: position sensor at desired detection distance with target present, activate teach-in, and the sensor stores that capacitance as the switch-on point. Hysteresis (typically 10-20% of sensing distance) is applied automatically to prevent chatter. This calibrates for actual installation geometry, target material, and environmental conditions per Omron and Sick sensor operating instructions.