---
title: "Tunable Laser & Mode-Hop-Free Scan Interactive Lab | Sandbox Physics"
description: "Why does rotating a grating alone cause mode hops? The grating peak moves away from the current cavity resonance until a neighboring mode is favored."
canonical_url: "https://sandboxphysics.com/labs/tunable-laser-scan/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/tunable-laser-scan/"
last_modified: "2026-10-27"
---

L36 · Keep the same mode

# Tunable Laser & Mode-Hop-Free Scan

**Why does rotating a grating alone cause mode hops?** The grating peak moves away from the current cavity resonance until a neighboring mode is favored. Coordinating cavity length with the grating moves the same integer order smoothly. It must stay inside the gain and etalon passbands; a fixed selector can still support a finite scan within its bandwidth.

Tune a Littrow grating, the external cavity length, the gain center and an intracavity etalon together. Scan the frequency out and back, and find where the laser hops to another mode or stops emitting.

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

The reference wavelength is 780 nm in vacuum. The Littrow grating has 1200 grooves per millimeter, and the external cavity has an optical length of about 30 mm. External-cavity frequencies use exact integer round-trip orders and the cavity length. The grating target is set in gigahertz from the reference, and the grating angle follows the exact first-order Littrow law. Tuning to a higher frequency requires a shorter cavity. Current tracking moves the gain center by a calibrated teaching amount; the gain is Gaussian with a 12 GHz width, and temperature shifts it by minus 20 GHz per kelvin. The grating selects with a Gaussian window. The lossless Airy etalon has a 15 GHz free spectral range and adjustable reflectivity. A simplified net logarithmic merit for each mode picks one emitting mode, provided its merit is above zero. The laser stays in its previous mode as long as that mode still has positive merit and no other mode beats it by more than a set merit margin. This is an empirical memory rule, not a derived model of carrier competition or piezo hysteresis. Output is the positive merit, normalized; it is not watts or wall-plug efficiency. The recorded spectrum is the selected line broadened by a Gaussian instrument response with an 80 MHz standard deviation. The candidate merits are a separate reference, not lines measured lasing at the same time. Scan progress counts how far the actuators have moved in frequency, not physical time. Facet resonances inside the diode, device-specific current and index response, spontaneous noise, thermal lag and multimode transients are left out. The apparatus shows the recorded endpoint. Actuator stroke is magnified five hundredfold relative to the schematic cavity length; grating angles follow the physical law without angular exaggeration. Flow markers do not replay a new scan.

Laser foundations · Light, gain and feedback

[L01 · Compare sources](https://sandboxphysics.com/labs/laser-source-comparison/) [L02 · Count transitions](https://sandboxphysics.com/labs/light-matter-transitions/) [L03 · Build inversion](https://sandboxphysics.com/labs/population-inversion/) [L04 · Amplify once](https://sandboxphysics.com/labs/single-pass-amplifier/) [L05 · Add feedback](https://sandboxphysics.com/labs/passive-optical-resonator/) [L06 · Start from noise](https://sandboxphysics.com/labs/laser-noise-startup/) [L07 · Build and debug](https://sandboxphysics.com/labs/build-debug-laser/) [L08 · Measure and diagnose](https://sandboxphysics.com/labs/laser-diagnostic-bench/) [L09 · Select axial modes](https://sandboxphysics.com/labs/gain-longitudinal-modes/) [L10 · Confine the beam](https://sandboxphysics.com/labs/stable-resonator-geometry/) [L11 · Select spatial modes](https://sandboxphysics.com/labs/transverse-laser-modes/) [L12 · Propagate and measure](https://sandboxphysics.com/labs/gaussian-beam-quality/) [L13 · Align and match](https://sandboxphysics.com/labs/alignment-mode-matching/) [L14 · Optimize extraction](https://sandboxphysics.com/labs/output-coupler-optimization/) [L15 · Drive the dynamics](https://sandboxphysics.com/labs/laser-dynamics-relaxation/) [L16 · Store and release](https://sandboxphysics.com/labs/q-switched-giant-pulse/) [L17 · Lock phases into pulses](https://sandboxphysics.com/labs/mode-locking-frequency-comb/) [L18 · Calibrate the comb](https://sandboxphysics.com/labs/optical-frequency-comb/) [L19 · Inject carriers](https://sandboxphysics.com/labs/semiconductor-laser-diode/) [L20 · Compare gain media](https://sandboxphysics.com/labs/laser-medium-zoo/) [L21 · Distributed gain](https://sandboxphysics.com/labs/fiber-fbg-laser/) [L22 · Choose feedback](https://sandboxphysics.com/labs/laser-feedback-architectures/) [L23 · Balance ultrafast pulses](https://sandboxphysics.com/labs/ti-sapphire-oscillator/) [L24 · Stretch and compress](https://sandboxphysics.com/labs/chirped-pulse-amplification/) [L25 · Trap and extract](https://sandboxphysics.com/labs/regenerative-multipass-amplifier/) [L26 · Convert frequencies](https://sandboxphysics.com/labs/nonlinear-frequency-conversion/) [L27 · Scatter and cascade](https://sandboxphysics.com/labs/raman-brillouin-lasers/) [L28 · Synchronize a slave](https://sandboxphysics.com/labs/injection-locking/) [L29 · Lock to a reference](https://sandboxphysics.com/labs/pdh-frequency-lock/) [L30 · Measure phase noise](https://sandboxphysics.com/labs/laser-linewidth-phase-noise/) [L31 · Scatter for feedback](https://sandboxphysics.com/labs/random-laser/) [L32 · Diagnose thermal scaling](https://sandboxphysics.com/labs/thermal-lensing/) [L33 · Combine coherent fields](https://sandboxphysics.com/labs/coherent-beam-combining/) [L34 · Sustain a Kerr pulse](https://sandboxphysics.com/labs/microresonator-kerr-comb/) [L35 · Return a delayed field](https://sandboxphysics.com/labs/external-feedback-chaos/) [L36 · Scan without mode hops](https://sandboxphysics.com/labs/tunable-laser-scan/)

Physical basis: [MIT: coherence and spectrum](https://ocw.mit.edu/courses/res-6-006-video-demonstrations-in-lasers-and-optics-spring-2008/resources/coherence-length-and-source-spectrum/) · [Rate equations](https://ocw.mit.edu/courses/6-977-ultrafast-optics-spring-2005/resources/chapter2/) · [Pumping and gain media (§7.2)](https://ocw.mit.edu/courses/6-974-fundamentals-of-photonics-quantum-electronics-spring-2006/bf3bdeb971819ddc9c68719d28bb2745_classnotes.pdf) · [Laser dynamics](https://ocw.mit.edu/courses/6-977-ultrafast-optics-spring-2005/resources/chapter4/)

Physics tutorial

## Keep one cavity order inside the transmission bands

**Background** An external-cavity diode laser picks its frequency with several elements at once: a Littrow grating, the external cavity, the gain center and an intracavity etalon. Scan the frequency out and back, and look for mode hops or places where the laser stops emitting.

**Why it matters** Rotating the grating looks like the obvious way to tune the laser, yet the frequency jumps in steps instead of moving smoothly.

Start with the essentials

- **Focus question**: Why does rotating a grating alone cause mode hops?
- **One-sentence intuition**: A mode-hop-free scan keeps one cavity order inside the grating, gain and etalon passbands throughout the sweep.

### Core mathematical model

#### Littrow condition for the grating

$$
\begin{aligned}\lambda_g&=2d\sin\theta\\\nu_g&=c/\lambda_g\end{aligned}
$$

The grating spacing is fixed. Rotating its normal changes which wavelength returns along the incoming beam; the specular zero order goes toward a separate output collector.

#### Longitudinal modes of the external cavity

$$
\begin{aligned}\nu_q&=\frac{qc}{2L}\\\Delta\nu_{\rm FSR}&=\frac{c}{2L}\end{aligned}
$$

Each mode's frequency is set by its integer order and the optical length of the cavity.

#### Shortening the cavity in step with the scan

$$
\begin{aligned}L(x)&=L_0\frac{\nu_0}{\nu_0+r_Lx}\\r_L&=1\ \Rightarrow\ \nu_{q_0}=\nu_0+x\end{aligned}
$$

A fixed integer order counts the same number of half-wavelengths between the endpoints. Raising its frequency shortens those half-wavelengths, so the cavity must shorten too.

#### Etalon transmission (Airy function)

$$
\begin{aligned}\mathcal T_e&=\frac{1}{1+A\sin^2(\pi u)}\\u&=\frac{\nu-\nu_e}{D_e}\\A&=\frac{4R_e}{(1-R_e)^2}\end{aligned}
$$

If the etalon's narrow transmission band is not moved along, it can interrupt the scan.

#### A simplified score for each mode

$$
\begin{aligned}M_q&=3.6-\tfrac12 u_g^2-\tfrac12 u_a^2\\&\quad+\ln\mathcal T_e\\u_g&=(\nu_q-\nu_g)/\sigma_g\\u_a&=(\nu_q-\nu_a)/\sigma_a\end{aligned}
$$

A mode can emit only when its score is positive. Saturation and absolute power are not modeled.

#### The laser keeps its current mode

$$
\begin{aligned}M_{\rm best}-M_{\rm old}&\le h\\M_{\rm old}&>0\ \Rightarrow\ q=q_{\rm old}\end{aligned}
$$

Because of this empirical rule, the laser can switch modes at different points on the way out and on the way back.

### Common difficulties

#### Tuning always means hopping

**Typical misconception** To change the frequency, the laser has to jump to another longitudinal mode.

**Better mental model** Changing the cavity length moves the same mode order smoothly to a new frequency.

#### A broader grating filter fixes everything

**Typical misconception** A broader grating selection guarantees a stable single-mode scan.

**Better mental model** This model always picks exactly one mode, so it cannot show whether a real laser stays single-mode. Coordinate the cavity length, gain and etalon instead.

### Run the experiment

1. 01

   #### Rotate only the grating

   The default already contains an outward and return sweep with Cavity tracking ratio at zero. Compare the steps in the frequency trajectory with the sloping target line.

   **What to observe:** The laser frequency jumps from one fixed cavity resonance to the next.

2. 02

   #### Follow one mode order

   Predict whether the steps will disappear, then choose Coordinated cavity. The same sweep is reacquired automatically.

   **What to observe:** The same integer order now moves smoothly with the grating.

3. 03

   #### Find the next limit

   Choose Fixed gain center or Stationary etalon, then choose Track every selector.

   **What to observe:** The output can drop out even when the cavity tracking is exact.

Physical conclusion

Coordinated tuning can keep one order emitting across a broad scan; a fixed selector can still work while that order stays inside its finite passband.

## Related experiments and articles

Probes and measurement · Reading path

### Controlled light and precision measurement

Articles on this path that use this experiment, followed by the other experiments they suggest.

1. [Article **Finding sharp atomic lines inside a broad thermal spectrum**](https://sandboxphysics.com/stories/probe-evidence/laser-spectroscopy-doppler-tests/)

Waves & optics · Starter path

## From one ray to interference measurement

Start with refraction, find where the ray picture stops working, then use interference to measure tiny distances.

[Start here → **Optical Boundary Explorer** Turn the incident angle and watch reflected and transmitted power trade off. Then switch to the critical-angle scene. Observe · 11 min](https://sandboxphysics.com/labs/optical-boundary-explorer/)

1. [1 Optical Boundary Explorer](https://sandboxphysics.com/labs/optical-boundary-explorer/)
2. [2 Rainbow Caustic Observatory](https://sandboxphysics.com/labs/rainbow-laboratory/)
3. [3 Camera Obscura](https://sandboxphysics.com/labs/camera-obscura/)
4. [4 Coherent Wave Composer](https://sandboxphysics.com/labs/coherent-wave-composer/)
5. [5 Young Double-Slit Bench](https://sandboxphysics.com/labs/young-double-slit-bench/)
6. [6 Michelson Precision Lab](https://sandboxphysics.com/labs/michelson-precision-lab/)

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