Use Kelvin probe force microscopy to quantify a local contact-potential difference. A conducting tip and sample form a position-dependent capacitor. Apply a voltage with adjustable direct and small alternating components,The electrostatic force is proportional to , so its component at is proportional toup to the chosen force-direction convention. A lock-in amplifier detects this component and a second controller adjusts to null it. At the null, . The compensation voltage becomes the potential image.[ref]
Scanning Probe Microscopy Modes by Bruker. Surface Potential Imaging: conducting probe and electrostatic null measurement
A lift pass can reduce direct topographic interactions. Calibration on a reference with a known work function is required for an absolute work-function interpretation, and the sign convention must state which electrode is biased. On a semiconductor the result can include surface band bending, trapped charge and surface chemistry, so it need not equal a simple map of bulk electrochemical potential.