Capacitive PCB: Electrode Design for Touch and Proximity Sensing

A capacitive PCB turns the board itself into a sensor. Electrodes are formed in copper on the surface or on an inner layer, and a controller measures the small change in capacitance caused by a finger approaching the electrode. There is no moving part, so the interface can be sealed behind an overlay and cleaned repeatedly.

The design problem is unusual because the sensing element is not a component. Its geometry, its distance to ground, the overlay above it and the copper around it all determine whether the interface works reliably or triggers randomly.

How Capacitive Sensing Works

An electrode forms a capacitor with its surroundings. When a conductive object such as a finger approaches, it couples to the electrode and changes the capacitance, and the controller detects that change as a touch.

The change is small, typically a few percent of the baseline capacitance, so the measurement must be stable against temperature, humidity and supply variation. That requirement drives the layout as much as the sensing principle does.

Capacitive PCB with touch electrode patterns on a control panel

Self-Capacitance and Mutual Capacitance

Self-capacitance measures each electrode against a reference ground. It is simple, requires one connection per channel and works well for individual buttons and sliders.

Mutual capacitance measures the coupling between a row and a column electrode at their intersection. It supports multi-touch and is less sensitive to water films, which is why it is used for touch screens and for panels that must operate with moisture present.

Mutual capacitance needs two layers of electrodes and a controller capable of scanning a matrix, which increases cost. The choice follows the application: buttons for self-capacitance, matrices for touch panels or when water rejection matters.

Capacitive sensing electrode design on a circuit board

Electrode Geometry

Electrode size sets both the sensitivity and the spatial resolution. A larger electrode gives a larger signal but a broader touch area, so the practical size is a compromise between reliable detection and spatial accuracy.

Shape matters for the field distribution. Rounded shapes, chamfered corners and a uniform gap to the surrounding ground plane produce a more predictable field than sharp corners, which concentrate it and create local sensitivity peaks.

For sliders and wheels, the electrode is segmented and the controller interpolates between adjacent segments. The segment geometry must be designed so that the interpolation is linear across the travel, which is a layout calculation rather than an empirical adjustment.

Overlay and Panel Thickness

Everything between the finger and the electrode reduces the coupling. Glass, plastic and adhesive all attenuate the signal, and thicker overlays require larger electrodes and more sensitive detection.

Typical limits are a few millimetres with a good controller, and less when the overlay is thick or the design must reject water. The overlay material also affects the dielectric, so a change from plastic to glass shifts the baseline capacitance.

Air gaps are the worst case. An overlay that does not sit flat against the board creates an air layer with a low dielectric constant, which reduces coupling and introduces variation with pressure.

Ground Plane and Guard Traces

Capacitance to ground is the enemy of sensitivity. The electrode must have as little coupling to ground as the design allows, which means no ground plane directly beneath it and no ground traces routed close to it on the same layer.

Guard traces driven at the same potential as the electrode are used to shield it from adjacent conductors without adding capacitance to ground. The guard is actively driven by the controller, so the potential difference across the parasitic capacitance is nearly zero and its effect is removed.

Where a ground plane is required for the rest of the circuit, a hatched pattern under the sensing area is often used instead of solid copper, because a hatch reduces the added capacitance while keeping the reference intact.

Routing the Sensing Traces

Sensing traces are high impedance and must be treated as sensitive analog connections. They should be short, routed away from switching circuits and away from the display or LED drive lines that share the same panel.

Trace-to-trace capacitance matters when several sensing lines run in parallel. Keeping them separated, or interleaving them with a driven guard, prevents the coupling that appears as a phantom touch on one channel.

Series resistors at the electrode end are sometimes used to filter noise and to limit the effect of electrostatic discharge. Their value interacts with the controller’s measurement method and should follow the controller recommendation.

Noise Immunity

Capacitive sensing is sensitive to conducted and radiated noise. Switching supplies, LED drivers, displays and motors all inject signals at frequencies that overlap the measurement band.

Practical measures include synchronising the controller’s scan with the display refresh, filtering the supply locally at the controller, and keeping the sensing traces on a layer away from the noise sources. Housing the sensing area behind a shield connected to the circuit ground helps as well.

Materials and Manufacturing

The electrode copper is standard, but the surface finish and the solder mask matter. A finish that changes colour or oxidizes under the overlay is not a problem electrically, but a thick solder mask over the electrode adds capacitance and reduces sensitivity.

Where the overlay is bonded with an adhesive, the adhesive thickness becomes part of the dielectric stack and must be controlled. A thicker bond line reduces coupling and varies with process, which is why the adhesive specification belongs in the drawing.

The board’s flatness is also relevant. A warped panel changes the overlay gap across the product, so the sensing performance varies from unit to unit in a way that calibration cannot fully correct.

Cost Structure

Cost is driven by the layer count needed for the electrode structure and the routing, the controller, and the overlay. Mutual capacitance needs two electrode layers, which is the largest single item.

Panel utilization matters as much as on any board, and the mechanical enclosure often dictates the panel layout. Where the sensing area is small relative to the panel, sharing the panel with other boards reduces the unit cost.

Design Checklist

Confirm the sensing method and the overlay thickness, verify that no ground plane or ground trace is close to the electrodes, check the guard arrangement around the sensing area and the routing of the sensing traces, and confirm the finish and mask over the electrodes.

Then verify the mechanical interface: overlay flatness, adhesive thickness and the position of any metal part near the panel. On a capacitive interface, the enclosure is part of the sensor circuit, not merely a container for it.

Related reading: mixed-signal PCB design guidelines, conformal coating and board protection, and PCB manufacturing tolerances.

FAQ

Why does a touch panel react when nothing is touching it? Usually because the electrode has too much capacitance to ground or because a nearby trace couples into the sensing line. Increasing the gap to ground and adding a guard trace are the first measures.

Can capacitive sensing work through metal? Not through a continuous metal overlay, because it shields the electrode. A metal panel with an opening, or an indirect sensing arrangement, is required.

Does the solder mask over the electrode matter? Yes. It adds capacitance and reduces coupling, so its thickness and consistency should be controlled rather than left to the default mask callout.

Leave A Comment