---
title: "Semiconductor Laser Diode Interactive Lab | Sandbox Physics"
description: "When does injected current become coherent output? When injected carriers supply enough optical gain to balance all cavity losses."
canonical_url: "https://sandboxphysics.com/labs/semiconductor-laser-diode/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/semiconductor-laser-diode/"
last_modified: "2026-10-27"
---

L19 · Carriers and gain media

# Semiconductor Laser Diode

**When does injected current become coherent output?** When injected carriers supply enough optical gain to balance all cavity losses. Weak spontaneous light already appears below threshold; stimulated emission becomes strong above it. The useful output depends on how much light escapes through the front facet instead of being absorbed inside or leaving through the rear.

Drive current into a quantum-well diode and find where it becomes transparent and where it starts to lase. Record a power–current curve and the response to current modulation, and follow the frequency chirp that the changing carriers cause in the same run.

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

The model is a single-mode, edge-emitting teaching diode. It tracks the total number of carrier pairs and of cavity photons, both divided by the carrier count at transparency. That count is two hundred million for a 300-micrometre cavity and grows in proportion to length when the active cross-section is fixed. Time is in nanoseconds, and the wavelength is fixed at a representative 850 nanometres. Gain rises linearly with carriers, the carrier lifetime is constant, and gain compression is an empirical term; these stand in for microscopic band filling and detailed recombination. The confinement factor changes the modal gain. The rear facet reflects 0.95 of the power; front reflectivity, cavity length and internal loss set the photon lifetime. Escape is treated as uniform along the cavity and split between the facets by their logarithmic losses, so the front power comes from this lumped model, not from a traveling-wave calculation along the chip. A steady, noise-free spontaneous source keeps running below threshold and rounds off the nominal threshold. Startup integrates carriers and photons together with fourth-order Runge–Kutta, using time steps limited by the gain, loss and modulation. The DC line solves the same balance equations separately; the 31 dots of a current sweep are separate startup runs without modulation. Modulation depth and phase come from eight cycles after settling, sampled at 1024 evenly spaced times. A constant Henry factor turns changes in the uncompressed carrier gain into a frequency shift, measured from the unmodulated DC carrier state; in the convention used here, more carriers give a positive shift. Chirp is not the same thing as linewidth. Changing a control replaces the startup or modulation record automatically and clears the optional current sweep. The output card is the final startup power for DC, or the mean of 1024 uniform samples over eight modulation cycles. The layered chip is schematic. Length changes linearly with the cavity-length control, but layer thicknesses and contacts are enlarged. Teal stands for infrared light. The separate leads end on opposite contacts; electrical transport through the layers is not solved. The facet coatings are partly transmitting. The two receivers are ideal whole-port collectors with no aperture loss, not images of a computed far field. Carrier markers show a capped fraction of the nominal threshold population, not individual carriers or a spatial density solution. Light guides use a fixed logarithmic mapping of front output; rear leakage has its own logarithmic-loss power. Their positions and speed are illustrative, with no optical phase or travel-time meaning. Below threshold there is no coherent laser field, so the frequency shift there is only a formal measure of the carrier-induced index change. The model has no microscopic band-structure calculation, current transport, temperature drift, multimode competition, random phase noise or real detector response, and it does not predict any commercial diode.

Why the quantum well provides gain

Representative transition: $h\nu=\frac{hc}{850\,\mathrm{nm}}\simeq1.459\,\mathrm{eV}$. Band offsets and confined-state spacing are schematic. Injecting carriers changes occupation and modal gain; this diagram is not a microscopic band solver.

[Cornell: semiconductor laser physics](https://courses.cit.cornell.edu/ece533/Lectures/handout11.pdf)

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

## From current injection to light and chirp

**Background** Current pushes electrons and holes into a quantum well. At transparency, stimulated absorption and emission balance. At the nominal threshold, small-signal modal gain balances the cavity loss. The same simulation gives the power–current curve, the response to modulation and the frequency chirp.

**Why it matters** Spontaneous emission already produces weak light below threshold. Feedback lets stimulated emission dominate once the supplied carriers can compensate the cavity loss.

Start with the essentials

- **Focus question**: When does injected current become coherent output?
- **One-sentence intuition**: Carriers accumulate before the light turns on; once stimulated emission grows, it consumes the stored carriers and the two populations can ring toward a steady state.

### Core mathematical model

#### Separate transparency from threshold

$$
\begin{aligned}x&=N/N_{\rm tr}\\y&=S/N_{\rm tr}\\G(x,y)&=\frac{a(x-1)}{1+\epsilon y}\end{aligned}
$$

Both populations are divided by the transparency carrier count. The gain slope is a rate per normalized carrier population, including optical confinement; compression reduces the gain as photon population grows. Transparency means zero net stimulated gain, not zero spontaneous light.

#### The facets set the photon lifetime

$$
\begin{aligned}\kappa&=v_g\left[\alpha_i+\frac{\ln(1/(R_1R_2))}{2L}\right]\\\tau_p&=1/\kappa\end{aligned}
$$

One round trip includes the internal intensity loss and one reflection from each facet, counted with power reflectivities.

#### Rate equations for carriers and photons

$$
\begin{aligned}\dot x&=j(t)-x/\tau_N-Gy\\\dot y&=(G-\kappa)y+\beta x/\tau_N\end{aligned}
$$

The injection rate is current divided by charge and the transparency carrier count. Each stimulated photon consumes one electron–hole pair; absorption reverses that transfer. Adding the two equations cancels the stimulated terms. Only recombination outside the mode and photon escape or absorption remove the combined population.

#### Transparency and threshold currents

$$
\begin{aligned}I_{\rm tr}&=qN_{\rm tr}/\tau_N\\I_{\rm th}&=I_{\rm tr}(1+\kappa/a)\end{aligned}
$$

The nominal threshold is the zero-light, small-signal limit. Spontaneous emission rounds the measured knee. Holding the active cross-section fixed, a longer chip needs more carriers: its lower mirror loss does not guarantee a lower total threshold current.

#### Useful output leaves through the front facet

$$
\begin{aligned}P_2&=h\nu N_{\rm tr}\kappa_2y\\\kappa_2&=v_g\ln(1/R_2)/(2L)\end{aligned}
$$

The uniform-cavity model splits the escape between the facets according to their logarithmic losses. Light lost to internal absorption never reaches the output.

#### Carrier change also shifts frequency

$$
\Delta\nu=\frac{\alpha_Ha}{4\pi}(x-x_{\rm DC})
$$

The shift is measured from the DC carrier state. The Henry factor is constant and acts on the uncompressed carrier gain. Setting it to zero removes the chirp and leaves the intensity unchanged.

### Common difficulties

#### Gain alone does not make a laser

**Typical misconception** Once current flows through the diode, it has to lase.

**Better mental model** The mode lases only if its gain makes up for all the losses and the carriers feeding it keep being resupplied.

#### Know what the model leaves out

**Typical misconception** This teaching curve predicts how a commercial diode behaves.

**Better mental model** The assumptions and chosen constants make this a controlled test of mechanisms. It does not certify how any real material or device performs.

### Run the experiment

1. 01

   #### Find transparency and threshold

   Choose Absorbing bias, then open Advanced controls and choose Gain without lasing. Each selection loads a completed startup automatically.

   **What to observe:** Positive gain is not enough: photons still escape the cavity faster than the gain replaces them.

2. 02

   #### Record a current sweep

   Open Advanced controls and press Acquire current sweep. Change Front power reflectivity and acquire again; compare the dots with the separately solved gray DC line.

   **What to observe:** Both the threshold current and the slope of the useful output change.

3. 03

   #### Modulate too fast

   Choose Slow direct modulation and Fast direct modulation. The records update automatically; open All numerical results to compare depth and phase.

   **What to observe:** The current is modulated by the same depth, yet the light responds with a different depth and phase.

4. 04

   #### Turn off the amplitude–phase coupling

   Choose Slow direct modulation, open Advanced controls and set Henry factor to zero. Compare the frozen power trace and chirp plot.

   **What to observe:** The chirp vanishes, but the output power trace stays the same.

Physical conclusion

For every result, note the DC operating point it is measured from, the time window that was recorded and the facet the light leaves through.

## Related experiments and articles

Condensed matter · Reading path

### Materials that control current and light

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

1. [Article **How a semiconductor interface confines charge and light**](https://sandboxphysics.com/stories/condensed-matter/semiconductor-heterostructures/)
2. [Lab **Heterojunction Injection** Heterojunction injection](https://sandboxphysics.com/labs/heterojunction-injection/)
3. [Lab **Quantum Well Spectroscopy** Quantum-well spectroscopy](https://sandboxphysics.com/labs/quantum-well-spectroscopy/)

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)
