The cantilever in the AFM is a reference electrode that forms a capacitor with the surface, over which it is scanned laterally at a constant separation. The cantilever is not piezoelectrically driven at its mechanical resonance frequency ω 0 as in normal AFM although an alternating current (AC) voltage is applied at this frequency.