AFM Field Guide
A working reference for doctoral researchers

Atomic Force Microscopy

A sharp tip on a springy beam, a laser to read how the beam bends, and a feedback loop that keeps the force constant. Everything else in AFM follows from those three parts and the physics of the last nanometre.

Equations · click to copy TeX 4 live calculators SI units throughout
HEIGHT · tapping mode · simulatedline 0 / 112
8.6 nm4.30.0
━ trace   ━ retrace2.0 × 1.4 µm · 1.0 Hz · A/A₀ = 0.8
§1 · The instrument

Optical-lever detection and the z-feedback loop

The tip sits at the free end of a micro-fabricated cantilever. A laser reflects off the back of the lever onto a four-quadrant photodiode (PSD). Vertical bending moves the spot up or down (the A+B − (C+D) signal); torsion moves it sideways (the (A+C) − (B+D) signal, used in lateral force microscopy). A controller drives the z-piezo to keep the chosen signal at its setpoint, and the z-voltage it needs at every pixel is the height image.

Laser diode AB CD 4-quadrant PSD vertical: (A+B)−(C+D) lateral: (A+C)−(B+D) Chip cantilever, length L tip, radius R D = lever → PSD sample Piezo scanner x, y raster · z feedback Feedback (PID) e = setpoint − signal deflection /amplitude z-voltage → height image fast scan (x)
Amplification

The lever is its own lens

A tip deflection Δz tilts the free end by 3Δz/2L. The reflected beam turns by twice that, so at distance D the spot moves 3DΔz/L. With D ≈ 3 cm and L ≈ 100 µm, that is a gain of about 900.

Actuation

Piezo scanner

Tube or flexure stages move by nanometres per volt. Open-loop piezos creep and show hysteresis; closed-loop scanners with capacitive or strain sensors trade a little noise for linear, repeatable motion.

Readout

Three channels at once

Height (z-voltage), error (deflection or amplitude residual, a map of edges) and phase in dynamic modes. Always save trace and retrace; their disagreement tells you how well the loop tracked.

F = k\,\Delta z,\qquad \Delta S = \frac{3D}{L}\,\Delta z
\Delta z = \mathrm{InvOLS}\cdot\Delta V_{\mathrm{PSD}},\qquad F = k\,\mathrm{InvOLS}\,\Delta V_{\mathrm{PSD}}
§2 · Cantilever mechanics

A spring, a resonator, a thermometer

For a rectangular beam clamped at one end, Euler–Bernoulli theory gives the spring constant and the fundamental flexural resonance from geometry and material alone. Stiffness scales with \(t^3/L^3\), so thickness is the parameter that manufacturers control worst and that matters most: a 10 % thickness error is a 33 % error in \(k\). Always calibrate (§7) rather than trusting the nominal value.

k = \frac{3EI}{L^{3}} = \frac{E\,w\,t^{3}}{4L^{3}}
f_0 = \frac{\lambda_1^{2}}{2\pi}\,\frac{t}{L^{2}}\sqrt{\frac{E}{12\rho}} \approx 0.1615\,\frac{t}{L^{2}}\sqrt{\frac{E}{\rho}}
m^{*} = \frac{k}{(2\pi f_0)^{2}} = \frac{3}{\lambda_1^{4}}\,m_{\mathrm{c}} \approx 0.243\,m_{\mathrm{c}}
\tfrac12 k\langle z^{2}\rangle = \tfrac12 k_{B}T \;\;\Rightarrow\;\; z_{\mathrm{rms}} = \sqrt{k_{B}T/k}

Cantilever calculator

Spring constant k–
Resonance f₀ (vacuum)–
Effective mass m*–
Thermal z_rms at 298 K–
Force noise √S_F–
Amplitude settling τ = Q/πf₀–

§3 · Tip–sample forces

What the tip actually feels

Long-range forces (van der Waals, electrostatic, magnetic, capillary) pull the tip in over nanometres. Short-range chemical and Pauli repulsion forces act over ångströms and carry atomic contrast. When the tip touches, continuum contact mechanics takes over: Hertz for elastic contact, and DMT or JKR once adhesion matters. Which adhesion model applies is set by the Tabor parameter \(\mu\): small, stiff, weakly adhering contacts are DMT-like (\(\mu \lesssim 0.1\)); large, soft, sticky ones are JKR-like (\(\mu \gtrsim 5\)).

V(r) = 4\varepsilon\left[\left(\frac{\sigma}{r}\right)^{12}-\left(\frac{\sigma}{r}\right)^{6}\right]
F_{\mathrm{vdW}}(d) = -\frac{H R}{6 d^{2}}
F_{\mathrm{ts}}(d)=\begin{cases} -\dfrac{HR}{6d^{2}}, & d\ge a_0\\[6pt] -\dfrac{HR}{6a_0^{2}}+\dfrac{4}{3}E^{*}\sqrt{R}\,(a_0-d)^{3/2}, & d<a_0\end{cases}
\frac{1}{E^{*}}=\frac{1-\nu_{\mathrm{t}}^{2}}{E_{\mathrm{t}}}+\frac{1-\nu_{\mathrm{s}}^{2}}{E_{\mathrm{s}}}
F_{\mathrm{ad}}^{\mathrm{DMT}} = 2\pi R W,\quad F_{\mathrm{ad}}^{\mathrm{JKR}} = \tfrac{3}{2}\pi R W,\quad \mu = \left(\frac{R W^{2}}{E^{*2} z_0^{3}}\right)^{1/3}
F_{\mathrm{cap}} \approx 4\pi R\,\gamma_{\mathrm{L}}\cos\theta
F_{\mathrm{el}} = \frac{1}{2}\frac{\partial C}{\partial z}\left(V-V_{\mathrm{CPD}}\right)^{2}
\frac{\partial F_{\mathrm{ts}}}{\partial d} > k \;\;\Rightarrow\;\; d_{\mathrm{jump}} = \left(\frac{HR}{3k}\right)^{1/3}

Force–distance simulator

DMT tip–sample law · quasi-static lever

Left: the tip–sample force. Where its slope exceeds the lever stiffness (shaded), the tip cannot sit still and snaps in. Right: what you record while ramping the piezo, the classic approach and retract curve. The hysteresis loop area is the work lost per cycle; the retract minimum is the pull-off force.

approachretractlever load line at snap-in
Snap-in distance–
Pull-off force–
Work of adhesion W–
Indentation at max load–
Tabor μ–
§4 · Operating modes

Four ways to hold the tip near a surface

Modes differ in what the feedback loop regulates. In static mode it is the deflection itself. In dynamic modes the lever oscillates and the loop regulates amplitude, frequency shift or the peak force of each tap. The choice sets the force you apply, the speed you can reach and what else you can measure.

Regulates
Static deflection, i.e. a constant normal force
Regime
Continuous repulsive contact
Typical lever
k 0.01–1 N/m · f₀ 5–50 kHz
Best for
Flat, hard samples; lateral force (friction), conductive AFM, piezoresponse, lithography
Watch for
Lateral shear drags soft samples and blunts tips; 1/f noise and drift sit right in the signal band
§5 · Dynamic AFM

The cantilever as a driven, damped oscillator

Near its first resonance the lever behaves like a point-mass oscillator. A tip–sample force gradient acts as an extra spring: attraction softens the system and lowers the resonance, repulsion stiffens it. In AM-AFM you drive at fixed frequency and read the resulting amplitude drop; in FM-AFM you track the resonance and read its shift directly. The small-amplitude result is the one to remember; for amplitudes larger than the force range, use the Giessibl integral.

m^{*}\ddot z + \frac{m^{*}\omega_0}{Q}\,\dot z + k z = F_0\cos\omega t + F_{\mathrm{ts}}(z)
A(\omega) = \frac{F_0/m^{*}}{\sqrt{(\omega_0^{2}-\omega^{2})^{2}+(\omega\omega_0/Q)^{2}}},\quad \tan\varphi = \frac{\omega\omega_0/Q}{\omega_0^{2}-\omega^{2}}
\omega_0' = \omega_0\sqrt{1-\frac{1}{k}\frac{\partial F_{\mathrm{ts}}}{\partial z}} \;\;\Rightarrow\;\; \frac{\Delta f}{f_0}\approx -\frac{1}{2k}\frac{\partial F_{\mathrm{ts}}}{\partial z}
\Delta f(z) = -\frac{f_0}{\pi k A}\int_{-1}^{1} F_{\mathrm{ts}}\big(z+A(1+u)\big)\,\frac{u}{\sqrt{1-u^{2}}}\,du
\sin\varphi = \frac{\omega}{\omega_0}\frac{A}{A_0} + \frac{Q\,E_{\mathrm{dis}}}{\pi k A A_0}
\tau \approx \frac{2Q}{\omega_0} = \frac{Q}{\pi f_0}

Resonance explorer

drive fixed at the free resonance, as in AM-AFM
free leverwith tip–sample gradientdrive frequency
FM: frequency shift Δf–
AM: amplitude at drive A/A₀–
AM: phase at drive–
Settling time τ–

§6 · Imaging and the tip

Every image is the sample dilated by the tip

The recorded height at each x is where the tip apex ends up when the tip body first touches the surface. Mathematically that is a grey-scale dilation of the true surface by the reflected tip shape. It widens protrusions, narrows and shallows holes and gaps, and cannot be fully undone: regions the tip never touched are lost. Heights of isolated objects on a flat substrate survive; lateral sizes do not.

I(x) = \max_{u}\,\big[\,S(x+u) - T(u)\,\big]
w_{\mathrm{app}} = 4\sqrt{R\,r}
u(t) = K_p\,e(t) + K_i\!\int_0^t e\,dt' + K_d\,\frac{de}{dt},\qquad e = s_{\mathrm{set}} - s
\Delta z = d_{31}\frac{V L}{h},\qquad \Delta x = \frac{2\sqrt{2}\,d_{31} V L^{2}}{\pi D h}

Tip convolution sandbox

spherical apex on a cone · vertical scale exaggerated
true surfacerecorded image
3 nm tube: apparent width–
4√(Rr) prediction–
8 nm trench: depth seen–
Particle pair: gap resolved–

From approach to a publishable image

  1. Choose the leverMatch k and f₀ to mode and sample (§2). Soft sample, soft lever.
  2. Align the laserMaximise the PSD sum on the lever end; centre the spot; zero deflection.
  3. CalibrateThermal tune for f₀, Q and k; InvOLS on a hard reference. Log both.
  4. Approach gentlyConservative setpoint (A/A₀ ≈ 0.9 or low peak force), small scan size first.
  5. Tune the loopRaise I then P until trace and retrace overlap without ringing.
  6. Pick pixels and ratePixel size at most half the smallest feature; tip speed = 2 × size × line rate.
  7. Process lightlyPlane or line flatten with features masked; avoid filters that invent structure.
  8. ReportInstrument, lever type, k, f₀, mode, setpoint, scan rate, pixels, processing steps.
§7 · Calibration and noise

Turning volts into newtons

Deflection sensitivity. Push the tip onto a surface much stiffer than the lever (sapphire, silicon, clean glass). In contact the lever deflects exactly as much as the piezo moves, so the slope of the PSD voltage against z gives the InvOLS in nm/V. Re-measure after every laser realignment and in every medium.

Spring constant. The thermal method fits the first thermal resonance peak and applies equipartition, with a correction because the optical lever measures slope, not displacement, and was calibrated with an end-loaded static bend. The Sader method uses the plan-view geometry, resonance and Q in a fluid of known density and viscosity, and does not touch the surface.

The thermal limit. Brownian motion of the lever sets a floor on the smallest force and force gradient you can measure. Both improve with softer levers, higher Q and narrower bandwidth. High Q, however, slows AM-AFM (§5), which is why FM detection is preferred in vacuum.

Typical uncertainty. Careful thermal calibration gives k to about 5–10 %; nominal datasheet values can be off by a factor of two or more.

\mathrm{InvOLS} = \left(\frac{\partial V_{\mathrm{PSD}}}{\partial z_{\mathrm{piezo}}}\right)^{-1}_{\text{hard contact}}
k = 0.817\,\frac{k_{B}T}{\langle z^{*2}\rangle}
k = 0.1906\,\rho_f\, b^{2} L\, Q_f\, \Gamma_i(\mathrm{Re})\,\omega_f^{2},\qquad \mathrm{Re} = \frac{\rho_f\,\omega_f\, b^{2}}{4\eta}
\sqrt{S_F} = \sqrt{\frac{4 k\, k_{B}T}{\omega_0 Q}}\quad\left[\mathrm{N}/\sqrt{\mathrm{Hz}}\right]
\delta k_{\min} = \sqrt{\frac{4 k\, k_{B}T\, B}{\omega_0\, Q\,\langle A^{2}\rangle}}
§8 · Beyond topography

The tip as a local probe of other properties

KPFM

Kelvin probe force microscopy

An ac bias makes the electrostatic force oscillate at ω with amplitude proportional to the potential difference. A dc bias nulls it, and that dc value maps the contact potential difference (work function).

F_{\omega} = \frac{\partial C}{\partial z}\,(V_{\mathrm{dc}}-V_{\mathrm{CPD}})\,V_{\mathrm{ac}}\sin\omega t
MFM

Magnetic force microscopy

A magnetised tip is lifted 20–100 nm on a second pass. The phase or frequency shift follows the stray-field gradient, which reveals domains and vortices.

\Delta f \approx -\frac{f_0}{2k}\frac{\partial F_z}{\partial z},\quad F_z = \mu_0\,(\mathbf m\cdot\nabla) H_z
C-AFM

Conductive AFM

A biased conductive tip in contact maps current at fixed load. Spreading resistance and the tunnel barrier dominate, so contact force and tip coating must be kept constant.

I \propto e^{-2\kappa d},\qquad \kappa = \frac{\sqrt{2 m_e \phi}}{\hbar}
PFM

Piezoresponse force microscopy

An ac bias through the tip makes a piezoelectric or ferroelectric surface expand and contract. Amplitude gives the local coefficient; phase gives polarisation direction.

A_{\omega} = d_{33}^{\mathrm{eff}}\,V_{\mathrm{ac}}
LFM · FFM

Lateral and friction force

Lever torsion during a scan perpendicular to its axis measures friction. Half the trace–retrace difference cancels topographic crosstalk.

F_{\mathrm{L}} = \mu_{\mathrm{f}}\,(F_{N} + F_{\mathrm{ad}}),\qquad F_{\mathrm{L}} \propto \tfrac12\left(V_{\rightarrow} - V_{\leftarrow}\right)
SMFS

Single-molecule force spectroscopy

Pull a tethered molecule and fit the extension with the worm-like chain. Rupture forces grow with the logarithm of the loading rate r, as the Bell–Evans model predicts.

F = \frac{k_BT}{p}\left[\frac{1}{4(1-x/L_c)^{2}} - \frac14 + \frac{x}{L_c}\right],\quad F^{*} = \frac{k_BT}{x_\beta}\ln\frac{r\,x_\beta}{k_{\mathrm{off}}\,k_BT}
QNM

Nanomechanical mapping

Fit each force curve with a contact model to map Young's modulus. Use Hertz for a sphere at shallow indentation and Sneddon for a cone at deep indentation. Watch for substrate effects when δ is more than about 10 % of the film thickness.

F = \frac{4}{3}\frac{E}{1-\nu^{2}}\sqrt{R}\,\delta^{3/2},\qquad F = \frac{2}{\pi}\frac{E}{1-\nu^{2}}\tan\alpha\,\delta^{2}
qPlus · HR-AFM

Bond-resolved imaging

A stiff quartz tuning-fork sensor oscillates with sub-ångström amplitude, and a CO-functionalised tip resolves the chemical structure of single molecules. Compare data across sensors using the normalised frequency shift.

\gamma = \frac{k A^{3/2}\,\Delta f}{f_0}
HS-AFM

High-speed AFM

Small levers with high f₀ and low k, fast scanners and dynamic PID reach video rate (>10 frames/s) on proteins in liquid. The loop bandwidth sets the ceiling.

\tau_{\mathrm{lever}} = \frac{Q}{\pi f_0}\ \lesssim\ 1\ \mu\mathrm{s}\quad (f_0 \sim 1\,\mathrm{MHz},\ Q \sim 2)
§9 · Artifacts

Diagnose the image before you believe it

What you seeLikely causeWhat to do
Features wider than expected, holes shallow, gaps closed
affects every image
Tip convolution; blunt or worn apexSharper tip; image a tip characteriser; report heights, not widths; blind tip reconstruction
Every feature repeated at the same offset
discard data
Double or multiple tipReplace the tip; an offset that rotates with scan angle confirms it
Ringing or overshoot at step edgesP or I gain too high; loop oscillatesLower gains until the error signal is quiet on flat areas
Trace and retrace disagree; tails on the downhill sideGains too low or scan too fast; tip loses contact ("parachuting")Raise I gain, slow the line rate, lower the setpoint slightly
Sudden streaks along the fast axisDebris picked up or dropped by the tip; tip instabilityRescan; lower force; clean sample; change tip if persistent
Bowl or saddle over the whole frameScanner bow (tube pendulum motion); sample tiltPolynomial flattening with features masked; closed-loop flexure scanner
Compressed or stretched start of each frame
worst after large offsets
Piezo creep and hysteresisLet the scanner settle; overscan; closed-loop mode; calibrate on a grating
Features slowly slide between framesThermal driftEquilibrate 30–60 min after laser on and loading; drift-correct with fiducials
Fine periodic fringes on reflective samplesOptical interference of stray laser lightRealign the spot on the lever end; use dynamic mode; tilt the sample
Height or phase contrast inverts mid-image
tapping mode
Switching between attractive and repulsive regimesChange A₀ or setpoint to stay in one regime; check the phase: above 90° attractive, below 90° repulsive
Soft objects too low; height depends on setpointSample compressed by excess forceReduce force; off-resonance tapping with peak force control; measure height vs. force
Lines at 50/60 Hz or at a fixed frequencyElectrical pickup, acoustic or building vibrationCheck grounding, acoustic hood, active isolation; compare the PSD noise spectrum
§10 · Force scales

From thermal kicks to breaking bonds

Order-of-magnitude forces met in AFM experiments, on a logarithmic axis. Molecular unbinding forces depend on loading rate, so treat those as representative values.

§11 · Milestones

Forty years in ten entries

  1. 1982
    Scanning tunnelling microscope: the first real-space images of surface atoms. Binnig, Rohrer, Gerber, Weibel · Nobel Prize 1986
  2. 1986
    Atomic force microscope proposed and demonstrated, with an STM reading the lever deflection. Binnig, Quate, Gerber · PRL 56, 930
  3. 1988
    Optical beam deflection detection makes AFM practical and commercial. Meyer & Amer · APL 53, 1045
  4. 1991
    Kelvin probe force microscopy and FM detection for non-contact AFM. Nonnenmacher et al. · Albrecht et al.
  5. 1993
    Tapping mode brings gentle, reliable imaging in air and soon in liquid. Zhong, Inniss, Kjoller, Elings
  6. 1993
    Thermal-noise spring-constant calibration. Hutter & Bechhoefer · RSI 64, 1868
  7. 1995
    True atomic resolution of Si(111)-7×7 by non-contact AFM. Giessibl · Science 267, 68
  8. 1997
    Protein unfolding by single-molecule force spectroscopy (titin). Rief et al. · Science 276, 1109
  9. 2001
    High-speed AFM for biomolecules at video rate. Ando et al. · PNAS 98, 12468
  10. 2009
    Chemical structure of pentacene resolved with a CO-terminated tip. Gross, Mohn, Moll, Liljeroth, Meyer · Science 325, 1110
§12 · Key literature

Where to go next

  1. G. Binnig, C. F. Quate, Ch. Gerber, "Atomic force microscope," Phys. Rev. Lett. 56, 930 (1986). doi
  2. F. J. Giessibl, "Advances in atomic force microscopy," Rev. Mod. Phys. 75, 949 (2003). doi
  3. R. García, R. Pérez, "Dynamic atomic force microscopy methods," Surf. Sci. Rep. 47, 197 (2002). doi
  4. H.-J. Butt, B. Cappella, M. Kappl, "Force measurements with the atomic force microscope: Technique, interpretation and applications," Surf. Sci. Rep. 59, 1 (2005). doi
  5. T. R. Albrecht, P. Grütter, D. Horne, D. Rugar, "Frequency modulation detection using high-Q cantilevers for enhanced force microscope sensitivity," J. Appl. Phys. 69, 668 (1991). doi
  6. J. L. Hutter, J. Bechhoefer, "Calibration of atomic-force microscope tips," Rev. Sci. Instrum. 64, 1868 (1993). doi
  7. H.-J. Butt, M. Jaschke, "Calculation of thermal noise in atomic force microscopy," Nanotechnology 6, 1 (1995).
  8. J. E. Sader, J. W. M. Chon, P. Mulvaney, "Calibration of rectangular atomic force microscope cantilevers," Rev. Sci. Instrum. 70, 3967 (1999). doi
  9. J. E. Sader, S. P. Jarvis, "Accurate formulas for interaction force and energy in frequency modulation force spectroscopy," Appl. Phys. Lett. 84, 1801 (2004). doi
  10. J. P. Cleveland, B. Anczykowski, A. E. Schmid, V. B. Elings, "Energy dissipation in tapping-mode atomic force microscopy," Appl. Phys. Lett. 72, 2613 (1998).
  11. J. S. Villarrubia, "Algorithms for scanned probe microscope image simulation, surface reconstruction, and tip estimation," J. Res. NIST 102, 425 (1997).
  12. M. Nonnenmacher, M. P. O'Boyle, H. K. Wickramasinghe, "Kelvin probe force microscopy," Appl. Phys. Lett. 58, 2921 (1991). doi
  13. L. Gross et al., "The chemical structure of a molecule resolved by atomic force microscopy," Science 325, 1110 (2009). doi
  14. T. Ando et al., "A high-speed atomic force microscope for studying biological macromolecules," PNAS 98, 12468 (2001). doi
  15. Textbooks: R. García, Amplitude Modulation Atomic Force Microscopy (Wiley-VCH, 2010); P. Eaton, P. West, Atomic Force Microscopy (Oxford UP, 2010); S. Morita et al. (eds.), Noncontact Atomic Force Microscopy, vols. 1–3 (Springer).

Simulations use idealised models (point-mass oscillator, DMT contact, rigid spherical-conical tip) meant for intuition, not quantitative fitting. Material constants are representative room-temperature values.