---
title: Integrated photonics
heading: Optical circuits on a chip: directional couplers and their coupling length, phase mismatch, Mach–Zehnder switches built from couplers, ring resonators with their free spectral range, Q and thermal tuning, and why silicon photonics packs them so densely
eyebrow: S13 · Lesson 35 · Integrated photonics
xp: 50
---

::: hook
A modern data-center transceiver puts modulators, multiplexers, filters and detectors for hundreds of gigabits per second on a chip a few millimeters across. The building blocks are waveguides close enough to exchange light, interferometers made from them, and rings that resonate at a comb of wavelengths. All are lesson 16's waveguides and lesson 19's coupled modes put to work, and silicon's high index lets them bend around corners a few micrometers tight.
:::

::: play
- The curves are the power in each of two coupled waveguides against distance along a directional coupler, for a coupling coefficient of 1 per millimeter and the propagation-constant mismatch on the slider (per millimeter): $P_2 = \frac{\kappa^2}{\kappa^2 + (\Delta\beta/2)^2}\sin^2\left(\sqrt{\kappa^2 + (\Delta\beta/2)^2}\,z\right)$.
- Matched guides swap their power completely every coupling length, $\pi/2\kappa$ = 1.57 mm.
- A mismatch makes the exchange faster but incomplete, which is how electro-optic couplers switch.
:::

```sim plot
view: graph
x: z = 0..5
y: P = 0..1
slider: b = 0..4 = 0
plot: 1/(1 + (b/2)^2)*sin(sqrt(1 + (b/2)^2)*z)^2 | label: power in guide 2
plot: 1 - 1/(1 + (b/2)^2)*sin(sqrt(1 + (b/2)^2)*z)^2 | dashed | label: power in guide 1
```

::: predict
## A silicon ring resonator 10 µm in radius (group index 4.2) is to be tuned across one full free spectral range by heating. About how much heating does that take?

- [ ] Less than 1 K
- [ ] About 10 K
- [x] About 130 K
- [ ] About 1000 K

::: reveal
Its free spectral range is $\lambda^2/(n_gL)$ = 9.1 nm at 1550 nm, and silicon's thermo-optic coefficient, 1.86 × 10⁻⁴ per kelvin, moves the resonance by about 69 pm/K. Covering 9.1 nm takes 133 K, which is why rings are usually designed so that a few tens of kelvins of tuning reaches the nearest resonance.
:::
:::

::: nameit
## Directional couplers

Two parallel waveguides close enough for their evanescent fields to overlap exchange power. With coupling coefficient κ and matched propagation constants, light launched in one guide transfers as
$$P_2(z) = \sin^2(\kappa z), \qquad P_1(z) = \cos^2(\kappa z)$$
completely in the **coupling length** $L_c = \pi/2\kappa$; half that length makes a 3 dB (50:50) coupler. With a mismatch Δβ the largest transfer is $\kappa^2/(\kappa^2 + (\Delta\beta/2)^2)$.

## Interferometers

Two 3 dB couplers joined by arms of different phase form a Mach–Zehnder interferometer whose output switches between ports as the phase difference changes by π, by heating (thermo-optic) or by carrier injection or the Pockels effect (lesson 40). A fixed path difference ΔL makes a wavelength filter with period $\lambda^2/(n_g\Delta L)$.

## Ring resonators

A ring of circumference L next to a bus waveguide resonates where its round trip holds a whole number of wavelengths:
- free spectral range $\Delta\lambda_\text{FSR} = \lambda^2/(n_gL)$;
- linewidth $\delta\lambda = \lambda/Q$, finesse $\Delta\lambda_\text{FSR}/\delta\lambda$;
- at **critical coupling** (the coupling to the bus equals the ring's loss) the transmission at resonance drops to zero.
Resonance shifts with temperature as $d\lambda/dT = \lambda(dn/dT)/n_g$: about 69 pm/K in silicon.

## Silicon photonics

Silicon's index of 3.48 against oxide's 1.44 confines light in waveguides about 500 by 220 nm and lets them bend at radii of a few micrometers, so thousands of components fit on a chip made in CMOS foundries. Silicon can't amplify or emit efficiently, so lasers are attached or bonded, and germanium is grown on it for detectors.
:::

::: example
## A directional coupler has κ = 1 per mm. How long must it be for complete transfer and for a 3 dB split, and how much can it transfer if the guides are mismatched by Δβ = 1.5 per mm?

::: solution
1. **Complete transfer.**
   $$\begin{aligned} L_c &= \frac{\pi}{2\kappa} \\ &= 1.571\ \text{mm} \end{aligned}$$
2. **3 dB split.** Half that length, 0.785 mm, splits the light 50:50.
3. **Mismatched guides.** Now Δβ/2κ = 0.75, so at most
   $$\frac{1}{1 + 0.75^2} = 64\%$$
   transfers, and it does so after
   $$\frac{\pi}{2\sqrt{1 + 0.75^2}} = 1.26\ \text{mm}$$
4. **Why it matters.** A coupler built for full transfer is therefore sensitive to fabrication errors that shift either guide's width.

**Answer:** 1.571 mm for complete transfer and 0.785 mm for a 3 dB split; with the mismatch at most 64% transfers, after 1.26 mm.
:::
:::

::: example
## A silicon ring 10 µm in radius ($n_g$ = 4.2) has a loaded Q of 10 000 at 1550 nm. Find its free spectral range, linewidth, finesse and thermal tuning rate.

::: solution
1. **Free spectral range.** The ring is L = 62.8 µm around, so
   $$\begin{aligned} \Delta\lambda_\text{FSR} &= \frac{(1.55\ \mu\text{m})^2}{4.2 \times 62.8\ \mu\text{m}} \\ &= 9.10\ \text{nm} \end{aligned}$$
2. **Linewidth.**
   $$\frac{1550\ \text{nm}}{10\,000} = 0.155\ \text{nm}$$
3. **Finesse.**
   $$\frac{9.10}{0.155} = 58.7$$
4. **Thermal tuning.**
   $$\begin{aligned} \frac{d\lambda}{dT} &= \frac{1550\ \text{nm} \times 1.86 \times 10^{-4}}{4.2} \\ &= 68.6\ \text{pm/K} \end{aligned}$$
   so a 0.155 nm linewidth moves by its whole width with about 2.3 K: rings need active temperature control.

**Answer:** the free spectral range is 9.10 nm, the linewidth 0.155 nm, the finesse 58.7, and the thermal tuning rate 68.6 pm/K.
:::
:::

::: example
## A Mach–Zehnder filter on silicon nitride ($n_g$ = 2.0) must separate channels 0.8 nm apart at 1550 nm, sending alternate channels to its two outputs. What arm-length difference does it need?

::: solution
1. **Filter period.** Alternate channels at its two ports need a period of twice the spacing, 1.6 nm.
2. **Arm-length difference.**
   $$\begin{aligned} \Delta L &= \frac{\lambda^2}{n_g \times 1.6\ \text{nm}} \\ &= \frac{(1.55\ \mu\text{m})^2}{2.0 \times 1.6\ \text{nm}} \\ &= 751\ \mu\text{m} \end{aligned}$$
3. **In practice.** Cascades of such interleavers, each with half the previous path difference, form the multiplexers in WDM transceivers.

**Answer:** the arms must differ by 751 µm.
:::
:::

::: check
kind: parts
given: k = 0.2 | 1 | 5; b = 0.5 | 1 | 3

## Two coupled waveguides have κ = {k} per mm.

::: part
answer: pi/(2*k)
unit: mm
tolerance: 0.5%

### How long is the coupling length?

::: misses
- [pi/k] Complete transfer takes κz = π/2.
- [any] $\pi/2\kappa$.
:::
:::

::: part
answer: k^2/(k^2 + (b*k/2)^2)*100
unit: %
tolerance: 0.5%

### If the guides are mismatched by Δβ = {b}κ, what is the most power that can transfer?

::: misses
- [any] $\kappa^2/(\kappa^2 + (\Delta\beta/2)^2)$.
:::
:::
:::

::: check
kind: parts
given: r = 5 | 10 | 50; n = 2 | 4.2; Q = 3000 | 20000 | 1000000; l = 1310 | 1550

## A ring {r} µm in radius with group index {n} has a loaded Q of {Q} at {l} nm.

::: part
answer: (l*1e-9)^2/(n*2*pi*r*1e-6)*1e9
unit: nm
tolerance: 0.5%

### What is its free spectral range?

::: misses
- [(l*1e-9)^2/(n*pi*r*1e-6)*1e9] Use the circumference, $2\pi r$.
- [any] $\lambda^2/(n_gL)$.
:::
:::

::: part
answer: (l*1e-9)^2/(n*2*pi*r*1e-6)/(l*1e-9/Q)
tolerance: 0.5%

### What is its finesse?

::: misses
- [any] FSR over $\lambda/Q$.
:::
:::
:::

::: check
kind: parts
given: l = 1310 | 1550; d = 1.86 | 2.45; n = 2 | 4.2; w = 0.05 | 0.2

## A ring resonator at {l} nm has dn/dT = {d} × 10⁻⁴ per kelvin and group index {n}.

::: part
answer: l*d*1e-4/n*1e3
unit: pm/K
tolerance: 0.5%

### How fast does its resonance move with temperature?

::: misses
- [l*d*1e-4*1e3] Divide by the group index.
- [any] $\lambda(dn/dT)/n_g$.
:::
:::

::: part
answer: w*1e3/(l*d*1e-4/n*1e3)
unit: K
tolerance: 0.5%

### What temperature change moves it by its {w} nm linewidth?

::: misses
- [any] Linewidth over the tuning rate.
:::
:::
:::

::: check
kind: parts
given: l = 1310 | 1550; n = 2 | 4.2; s = 0.4 | 0.8 | 1.6

## A Mach–Zehnder interleaver at {l} nm (group index {n}) must send channels {s} nm apart to alternate outputs.

::: part
answer: (l*1e-9)^2/(n*2*s*1e-9)*1e6
unit: µm
tolerance: 0.5%

### What arm-length difference does it need?

::: misses
- [(l*1e-9)^2/(n*s*1e-9)*1e6] The filter's period must be twice the channel spacing.
- [any] $\lambda^2/(n_g \cdot 2\Delta\lambda)$.
:::
:::
:::

::: check
kind: parts
given: k = 0.5 | 2; z = 0.2 | 0.6 | 1.2

## Light enters one of two matched coupled guides with κ = {k} per mm.

::: part
answer: sin(k*z)^2*100
unit: %
tolerance: 0.5%

### What percentage is in the other guide after {z} mm?

::: misses
- [any] $\sin^2(\kappa z)$.
:::
:::
:::

::: check
kind: choice

## Why can silicon photonic waveguides bend at radii of a few micrometers while fiber must bend over centimeters?

- [ ] Silicon is more flexible
- [x] Silicon's index contrast with oxide (3.48 against 1.44) is huge, so the mode stays tightly confined even on a sharp bend, while a fiber's index step of a fraction of a percent confines the mode so weakly that it radiates away on any tight bend
- [ ] Silicon absorbs the radiated light
- [ ] Fiber modes are larger in wavelength

::: misses
- [1] Mechanical flexibility isn't the reason.
- [3] Absorption would be a loss, not a cure.
- [4] Both carry the same wavelength.
:::
:::

::: check
kind: derivation
vars: k = 10..10000, b = 0..10000, l = 0.000001..0.000002, n = 1.5..4.5, L = 0.00001..0.01

## Two coupled guides have coupling coefficient k and mismatch b (per meter); a ring of circumference L has group index n at wavelength l.

::: step
answer: k^2/(k^2 + (b/2)^2)

### What is the coupler's largest transfer?
:::

::: step
answer: l^2/(n*L)

### What is the ring's free spectral range?
:::

::: right
Right. Couplers and rings are the two basic interference elements of integrated optics.
:::
:::

::: check
kind: python

## Write `coupler(k, db, z)`: the fraction of power in the second guide after distance z (all in consistent units), and `ring_transmission(a, r, phi)`: the through-port power of an all-pass ring with round-trip amplitude a and self-coupling r at round-trip phase φ, $T = \frac{a^2 - 2ar\cos\phi + r^2}{1 - 2ar\cos\phi + (ar)^2}$.

```python starter
def coupler(k, db, z):
    return 0.0

def ring_transmission(a, r, phi):
    return 1.0
```

```python solution
import math

def coupler(k, db, z):
    g = math.sqrt(k * k + (db / 2) ** 2)
    return k * k / (g * g) * math.sin(g * z) ** 2

def ring_transmission(a, r, phi):
    c = math.cos(phi)
    return (a * a - 2 * a * r * c + r * r) / (1 - 2 * a * r * c + (a * r) ** 2)
```

```python tests
import math
assert abs(coupler(1.0, 0.0, math.pi / 2) - 1) < 1e-12, "Matched guides transfer fully at the coupling length."
assert abs(coupler(1.0, 0.0, math.pi / 4) - 0.5) < 1e-12, "Half that length splits 50:50."
assert abs(max(coupler(1.0, 1.5, z / 1000) for z in range(5000)) - 0.64) < 1e-4, "A mismatch caps the transfer at 64%."
assert abs(ring_transmission(0.98, 0.98, 0.0)) < 1e-12, "Critical coupling: no light passes on resonance."
assert ring_transmission(0.98, 0.98, math.pi) > 0.99, "Off resonance nearly everything passes."
assert ring_transmission(0.98, 0.9, 0.0) > 0.1, "Overcoupled rings don't extinguish fully."
```

::: right
Right. Critical coupling, where the ring's loss equals its coupling, is what notch filters and ring modulators are designed for.
:::
:::

::: explain
## How does a ring resonator next to a waveguide remove one wavelength from the waveguide while passing others?

::: model
Part of the light in the waveguide couples into the ring and circulates. At wavelengths where the ring's circumference holds a whole number of wavelengths, the light in the ring adds in phase with each new contribution and builds up, and the light it couples back into the waveguide is out of phase with the light that passed straight by. When the coupling just matches the ring's round-trip loss, the two cancel exactly and nothing at that wavelength continues down the waveguide; its energy is dissipated in the ring or extracted by a second waveguide. Other wavelengths don't build up in the ring and pass almost undisturbed.
:::
:::

::: practice
::: check
given: k = 0.3 | 0.5 | 0.8 | 1 | 1.5 | 2.5
answer: pi/(4*k)
unit: mm
tolerance: 0.5%

## 3 dB coupler length at κ = {k} per mm?

::: misses
- [any] $\pi/4\kappa$.
:::
:::

::: check
given: r = 5 | 8 | 10 | 15 | 20 | 50
answer: (1550e-9)^2/(4.2*2*pi*r*1e-6)*1e9
unit: nm
tolerance: 0.5%

## FSR of a {r} µm-radius silicon ring at 1550 nm?

::: misses
- [any] $\lambda^2/(n_gL)$.
:::
:::

::: check
given: l = 1270 | 1310 | 1330 | 1490 | 1550 | 1590
answer: l*1.86e-4/4.2*1e3
unit: pm/K
tolerance: 0.5%

## Silicon ring tuning at {l} nm?

::: misses
- [any] $\lambda(dn/dT)/n_g$.
:::
:::
:::
