---
title: "Scanning Tunneling Microscopy and Spectroscopy Interactive Lab | Sandbox Physics"
description: "Why can an STM report a bump on a flat surface? At a fixed gap, extra electronic states can carry more tunnel current."
canonical_url: "https://sandboxphysics.com/labs/stm-feedback-spectroscopy/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/stm-feedback-spectroscopy/"
last_modified: "2026-11-25"
---

# Scanning Tunneling Microscopy and Spectroscopy

**Why can an STM report a bump on a flat surface?** At a fixed gap, extra electronic states can carry more tunnel current. In constant-current mode the tip lifts to bring the current back down, so a flat surface can appear raised. Two biases give different weights to those states and can help separate electronic contrast from height.

Scan a sample at constant height or constant current, then hold the tip for a local spectrum. Use two bias readings at each position to recover the surface profile.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

Measurement mode

Model assumptions

This model uses one simulated scan line at 77 kelvin. It assumes a tip with constant density of states, a small bias relative to the work function, and a simple vacuum barrier. The current calibration and sample spectrum are synthetic.

## Simulated line scan

Recorded current Flat reference

Recorded tip shift Recovered surface Electronic height

How the height is recovered

Each scan point records two extra currents at $-0.12\,\mathrm V$ and $+0.23\,\mathrm V$ at the same tip position. The biases weight the sample resonance differently, so the two readings determine a height and an electronic contribution for this calibrated sample model.

$I_i=C\,e^{-2\kappa(z-h)}(B_i+A G_i)$

The spectrum sweeps bias at the recorded lateral position and height, with feedback held. The feedback readout during a scan can lag behind either the geometric or the electronic change.

- [Binnig and colleagues, STM experiment](https://doi.org/10.1103/PhysRevLett.49.57)
- [Tersoff and Hamann, STM theory](https://doi.org/10.1103/PhysRevB.31.805)

## Read an STM bump

**Background** A scanning tunneling microscope brings a conducting tip close to a conducting sample. The current depends on the gap and on which sample states can accept or supply electrons at the chosen voltage.

**Why it matters** Two regions of the same height can look different in a scan. A local spectrum gives a way to test where that contrast comes from.

- **Focus question**: How can a flat surface make the feedback raise the tip?
- **One-sentence intuition**: Extra states in the tunneling window raise the current at the same gap, so the feedback moves the tip up to recover the set current.

### Core mathematical model

#### The vacuum gap sets the current scale

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

At the same bias and on the same sample, increasing the gap by a fraction of a nanometer can cut the current sharply.

#### Voltage selects the states that contribute

$$
I(V)\propto\int \rho_s(E)[f(E-eV)-f(E)]\,dE
$$

At fixed gap, positive sample voltage opens a window above the sample Fermi level. The thermal occupation changes smoothly at the edges.

### Common difficulties

#### Feedback height includes electronic contrast

**Typical misconception** Every bump in a constant-current scan is a bump in the atoms.

**Better mental model** Feedback also lifts the tip above a region that carries more current at the same gap. Two biases respond differently to the same local states and allow a model-based separation.

### Run the experiment

1. 01

   #### Scan a flat sample

   Choose “A bump on a flat surface”.

   **What to observe:** The recorded tip height rises while the surface recovered from the bias pair stays flat.

2. 02

   #### Keep the tip height fixed

   Switch to “Constant height”.

   **What to observe:** The tip follows a horizontal line and a peak appears in the current at the same place.

3. 03

   #### Stop over the peak

   Drag the tip to the peak, then select “Local spectrum”.

   **What to observe:** The tip stays at its recorded height while the bias changes. The conductance peaks when the bias is near the sample resonance.

Physical conclusion

Tip motion tracks the current setpoint. A second bias gives information about the sample states that can move that setpoint height.

Quantum & fields · Starter path

## Start from a single measurement

Predict an outcome, then count what the measurements actually give. The path starts with one qubit and moves on to wave packets, bound states and two-photon interference.

[Start here → **Quantum State & Born Measurement** Predict a probability, turn the analyzer, then compare your prediction with the measured frequency over many shots. Observe · 15 min](https://sandboxphysics.com/labs/qubit-state/)

1. [1 Quantum State & Born Measurement](https://sandboxphysics.com/labs/qubit-state/)
2. [2 Stern–Gerlach Sequence](https://sandboxphysics.com/labs/stern-gerlach-sequence/)
3. [3 Wave Packet & Uncertainty](https://sandboxphysics.com/labs/wave-packet-uncertainty/)
4. [4 Quantum Harmonic Oscillator](https://sandboxphysics.com/labs/quantum-harmonic-oscillator/)
5. [5 Which Path & Quantum Eraser](https://sandboxphysics.com/labs/quantum-eraser/)
6. [6 Hong–Ou–Mandel Two-Photon Interference](https://sandboxphysics.com/labs/hong-ou-mandel/)

[View the full path →](https://sandboxphysics.com/topics/quantum/#starter-path)
