Find the Kerr nonlinearity of a waveguide#

Find how a guided mode changes the phase and the loss of its own light, and how its waves exchange power: the Kerr nonlinear coefficient \(\gamma_\mathrm{NL}\) of a waveguide mode, its two-photon loss, the coupling between the waves of a four-wave mixing process, and the parameters of a microring’s Lugiato-Lefever equation. gfem.kerr_nonlinearity reads a gfem.PortModeResult and the model’s materials: it needs no solve beyond the mode’s own, at every frequency of its grid.

The guide is the silicon strip of Find the group index and dispersion of a waveguide, 500 × 220 nm in oxide, in its fundamental TE mode around \(\lambda\) = 1.55 µm. Units are SI: \(\gamma_\mathrm{NL}\) in 1/(W m), \(n_2\) in m²/W and \(\beta_\mathrm{TPA}\) in m/W (Conventions, “Kerr nonlinearity”). The cladding around the core is its clearance.

Silicon and oxide, with their nonlinearity#

The Sellmeier laws are those of the dispersion recipe (the linear index and its dispersion). The nonlinearity is two more numbers on a material: nonlinear_index (\(n_2\), m²/W) and two_photon_absorption (\(\beta_\mathrm{TPA}\), m/W), added with dataclasses.replace:

import dataclasses
import urllib.request

import numpy as np
import scipy.constants

import gfem

c = scipy.constants.c  # m/s


def sellmeier(strengths, wavelengths_um):
    """n^2 = 1 + sum of B lambda^2 / (lambda^2 - lambda_i^2), lambda_i in um."""
    terms = [
        gfem.Lorentz(delta_eps=b, resonance_frequency=c / (li * 1e-6), damping=0.0)
        for b, li in zip(strengths, wavelengths_um, strict=True)
    ]
    return gfem.PermittivityLaw(eps_inf=1.0, terms=terms)


# Salzberg and Villa (1957), three-term fit by Tatian (1984): 1.36 to 11 um
silicon = gfem.Material(
    eps_r=sellmeier(
        (10.6684293, 0.0030434748, 1.54133408), (0.301516485, 1.13475115, 1104.0)
    )
)
# Malitson (1965): 0.21 to 3.71 um
oxide = gfem.Material(
    eps_r=sellmeier((0.6961663, 0.4079426, 0.8974794), (0.0684043, 0.1162414, 9.896161))
)
# Dinu, Quochi and Garcia, Appl. Phys. Lett. 82, 2954 (2003): silicon at 1.54 um
silicon_kerr = dataclasses.replace(
    silicon, nonlinear_index=4e-18, two_photon_absorption=8e-12
)
print(silicon_kerr.nonlinear_index, silicon_kerr.two_photon_absorption)
4e-18 8e-12
  • Both properties are constants of the material over the grid, a number given at the band’s centre: a table of \(n_2(\lambda)\) is not a law here. An element without them counts as zero, so the oxide, whose \(n_2\) is some much smaller than silicon’s, adds nothing until you give it one.

  • The values are a choice: \(n_2\) of silicon varies strongly with the wavelength (by a factor of four between 850 and 2200 nm, Bristow et al., Appl. Phys. Lett. 90, 191104 (2007)) and with the crystal direction, and \(\beta_\mathrm{TPA}\) with the source. Other published values, for the materials of a photonic platform: silicon nitride \(n_2 = 2.4 \times 10^{-19}\) m²/W with no two-photon loss at 1.55 µm (Ikeda et al., Opt. Express 16, 12987 (2008)). Read the source of a value before you rely on it, and its wavelength.

  • Both are real, non-dispersive and isotropic. A value applies to a material, so a graded gfem.MaterialField carries them per element.

The nonlinear coefficient over a band#

strip_section.py meshes the strip with netgen; its end face "front" carries the wave port. Solve the mode on a grid, then read \(\gamma_\mathrm{NL}\) on every row of it:

url = (
    "https://raw.githubusercontent.com/benvial/gfem/main/docs/recipes/strip_section.py"
)
urllib.request.urlretrieve(url, "strip_section.py")
from strip_section import strip_section  # noqa: E402

options = gfem.SolverOptions(order=3)


def strip(width, clearance=1e-6, core=silicon_kerr, cladding=oxide):
    """The strip, 220 nm thick, as a model with a wave port on its section."""
    return gfem.Model(
        strip_section(width, height=220e-9, clearance=clearance),
        materials={"core": core, "cladding": cladding},
        ports=[gfem.WavePort("wg", "front")],
    )


model = strip(500e-9)
wavelength = np.linspace(1.45e-6, 1.65e-6, 21)  # m
mode = gfem.solve(model, gfem.PortMode("wg", c / wavelength), options=options)
kerr = gfem.kerr_nonlinearity(model, mode)
print(kerr)
gamma = kerr.gamma_nl  # 1/(W m), complex
k0 = 2 * np.pi / wavelength
a_eff = k0 * silicon_kerr.nonlinear_index / gamma.real  # m^2
for i in (0, 5, 10, 15, 20):
    print(
        f"{wavelength[i] * 1e9:.0f} nm: gamma {gamma[i].real:.1f} /(W m), "
        f"A_eff {a_eff[i] * 1e12:.4f} um^2"
    )
KerrNonlinearity(port 'wg', mode 1, 21 frequencies, gamma_nl Re 153.6-202.5, Im 40.33-46.74 1/(W m))
1450 nm: gamma 202.5 /(W m), A_eff 0.0856 um^2
1500 nm: gamma 189.5 /(W m), A_eff 0.0884 um^2
1550 nm: gamma 177.0 /(W m), A_eff 0.0916 um^2
1600 nm: gamma 165.1 /(W m), A_eff 0.0951 um^2
1650 nm: gamma 153.6 /(W m), A_eff 0.0992 um^2
  • gamma_nl is the complex coefficient of a pulse’s propagation equation, \(\mathrm{d}A/\mathrm{d}z = i\,\gamma_\mathrm{NL}|A|^2 A\) with \(|A|^2\) in W. Its real part is the Kerr phase per watt and metre: a power \(P\) shifts the propagation constant by \(\mathrm{Re}\,\gamma_\mathrm{NL}\,P\).

  • The integral runs over all three components of the mode, so it holds for the strongly guided, hybrid mode of a silicon wire. The weak-guidance recipe, \(\gamma = k_0 n_2 / A_\mathrm{eff}\) with an area read off the power flow, is wrong on such a wire by tens of percent (a third, on a 220 nm silicon slab). The one-line \(A_\mathrm{eff} = k_0 n_2 / \mathrm{Re}\,\gamma_\mathrm{NL}\) above is the area that makes the formula true, and is meaningful when one material carries the nonlinearity.

  • Every row of the grid costs the integral, not a solve: the rows between the exact solves come from the reduced port mode model.

Two-photon absorption and the figure of merit#

The imaginary part is two-photon absorption: \(\gamma_\mathrm{TPA} = \mathrm{Im}\,\gamma_\mathrm{NL} \ge 0\) is the field attenuation per watt, so the power obeys \(\mathrm{d}P/\mathrm{d}z = -2\gamma_\mathrm{TPA}P^2\). The ratio of the two parts is the material’s figure of merit, independent of the mode:

i = 10  # 1.55 um
gamma_tpa = gamma[i].imag
fom = gamma[i].real / (4 * np.pi * gamma_tpa)
n2, beta_tpa = silicon_kerr.nonlinear_index, silicon_kerr.two_photon_absorption
print(f"gamma_TPA {gamma_tpa:.2f} /(W m)")
print(
    f"figure of merit n2/(lambda beta_TPA): {fom:.3f}, material {n2 / (wavelength[i] * beta_tpa):.3f}"
)
for power in (1e-3, 1e-2, 1e-1):
    loss_db_cm = 10 * np.log10(np.e) * 2 * gamma_tpa * power * 1e-2
    print(f"{power * 1e3:g} mW: two-photon loss {loss_db_cm:.4f} dB/cm")
gamma_TPA 43.67 /(W m)
figure of merit n2/(lambda beta_TPA): 0.323, material 0.323
1 mW: two-photon loss 0.0038 dB/cm
10 mW: two-photon loss 0.0379 dB/cm
100 mW: two-photon loss 0.3793 dB/cm
  • \(\mathrm{Re}\,\gamma_\mathrm{NL}/(4\pi\gamma_\mathrm{TPA}) = n_2/(\lambda\beta_\mathrm{TPA})\) when the core carries both: the page’s silicon has \(n_2/(\lambda\beta_\mathrm{TPA})\) = 0.32, which is the material’s figure of merit, not the guide’s. Silicon at 1.55 µm is well below 1: its two-photon loss is a large part of its Kerr effect.

  • The loss grows as the square of the power: 0.38 dB/cm at 100 mW, a tenth of that at 10 mW. Silicon nitride, with no two-photon absorption at 1.55 µm, has none.

  • Free carriers made by the two-photon absorption absorb and change the index too, with a lifetime set by the device (see “Limits”).

Three waves: phase mismatch and couplings#

In a four-wave mixing process a pump at \(\omega_\mathrm{p}\) gives two sidebands at \(\omega_\mathrm{p} \pm \Omega\) (signal and idler). gfem.kerr_coupling takes the three rows of a PortMode result and returns the tensor \(\gamma_{abcd}\) between them, and the exact phase mismatch is \(\Delta\beta = 2\beta_\mathrm{p} - \beta_\mathrm{s} - \beta_\mathrm{i}\) from the three propagation constants:

f_p = c / 1.55e-6
shift = 5e12  # Omega / 2 pi, Hz
freqs = np.array([f_p - shift, f_p, f_p + shift])  # signal, pump, idler
trio = gfem.solve(model, gfem.PortMode("wg", freqs), options=options)
s, p, idl = 0, 1, 2
beta = trio.gamma.imag
d_beta = 2 * beta[p] - beta[s] - beta[idl]
omega = 2 * np.pi * shift
taylor = -trio.beta_2[p].real * omega**2
print(f"Delta beta exact {d_beta:.1f} rad/m, -beta_2 Omega^2 {taylor:.1f} rad/m")
Delta beta exact 605.1 rad/m, -beta_2 Omega^2 610.4 rad/m

The two differ by the fourth-order term, \(-\beta_4\Omega^4/12\), that the group-velocity dispersion alone does not hold: at a shift of 5 THz the exact three-propagation-constant value is the one to use. Then the couplings:

tensor = gfem.kerr_coupling(model, trio).gamma_nl  # (3, 3, 3, 3), 1/(W m)
spm = tensor[p, p, p, p].real
xpm = (tensor[s, s, p, p] + tensor[s, p, s, p]).real
fwm = tensor[s, p, p, idl].real
print(f"pump SPM {spm:.1f}, signal XPM by the pump {xpm:.1f}, FWM {fwm:.1f} /(W m)")
print(f"Kerr shift matches the mismatch at {d_beta / (2 * spm):.2f} W")
print(
    f"SPM equals gamma_NL of the same row: {tensor[p, p, p, p]:.2f} vs {gamma[10]:.2f}"
)
pump SPM 177.0, signal XPM by the pump 339.2, FWM 171.9 /(W m)
Kerr shift matches the mismatch at 1.71 W
SPM equals gamma_NL of the same row: 177.04+43.67j vs 177.04+43.67j
  • Entry \(\gamma_{abcd}\) is the coefficient of \(A_b A_c \overline{A_d}\) in wave \(a\)’s amplitude equation, summed over every index tuple with no degeneracy factor. Cross-phase modulation of the signal by the pump is therefore the sum of two entries, [s, s, p, p] + [s, p, s, p], and it is close to twice the self-phase for one mode at two frequencies (1.92 here: the frequencies differ, the familiar factor 2 is exact at one). Four-wave mixing into the signal is [s, p, p, i].

  • The phase mismatch with the Kerr shift of a pump of power \(P_\mathrm{p}\) is matched, with all three on one mode, when \(\Delta\beta = 2\,\mathrm{Re}\, \gamma_\mathrm{NL} P_\mathrm{p}\): the pump power that does it at this shift is d_beta / (2 * spm). In a guide with anomalous dispersion (\(\beta_2 < 0\), so \(\Delta\beta > 0\)), the Kerr shift cancels the mismatch.

  • The cost is \(K^4\) per quadrature point: pass the few waves of a process, not a whole grid.

Parameters of a microring#

A ring of radius \(R\) made of this guide has resonances spaced by \(D_1 = c/(n_g R)\) in angular frequency, a second-order dispersion \(D_2 = -(c/n_g)\,D_1^2\,\beta_2\), and a Kerr shift per photon \(g_0 = \hbar\omega_0\,c^2\,\mathrm{Re}\,\gamma_\mathrm{NL}/(n_g^2 L)\) with \(L = 2\pi R\). These are the numbers of the Lugiato-Lefever equation; the group index enters squared, not the refractive index. The quality factor of a ring needs its loss and its coupler, which a straight guide does not give: take it from a measurement or a coupler model. A ring critically coupled at an intrinsic quality factor \(Q_\mathrm{i}\) has \(\kappa = 2\omega_0/Q_\mathrm{i}\) and a parametric threshold \(P_\mathrm{th} = \kappa^2\hbar\omega_0/(8\eta g_0)\) with \(\eta = 1/2\):

radius = 10e-6  # m
length = 2 * np.pi * radius
n_g, beta_2 = mode.n_g[10].real, mode.beta_2[10].real
omega0 = 2 * np.pi * f_p
d1 = c / (n_g * radius)
d2 = -(c / n_g) * d1**2 * beta_2
g0 = scipy.constants.hbar * omega0 * c**2 * gamma[10].real / (n_g**2 * length)
q_i = 1e5  # intrinsic quality factor: an assumption, not a result
kappa = 2 * omega0 / q_i
p_th = kappa**2 * scipy.constants.hbar * omega0 / (8 * 0.5 * g0)
print(f"FSR {d1 / (2 * np.pi) / 1e9:.1f} GHz, D2/2pi {d2 / (2 * np.pi) / 1e6:.2f} MHz")
print(
    f"g0/2pi {g0 / (2 * np.pi):.0f} Hz, threshold {p_th * 1e3:.2f} mW at Q_i = {q_i:.0e}"
)
FSR 1137.1 GHz, D2/2pi 359.02 MHz
g0/2pi 293 Hz, threshold 10.27 mW at Q_i = 1e+05

A straight guide is a first approximation of the ring’s mode, and the bend changes it. A one-dimensional estimate of the bent guide, with constant indices, for the same kind of guides:

Guide

\(R\)

\(\Delta n_g / n_g\)

\(\beta_2\) straight → bent (ps²/m)

Si 500 × 220 nm

10 µm

\(+1.4 \times 10^{-3}\)

−0.118 → −0.104

Si 500 × 220 nm

5 µm

\(+5.4 \times 10^{-3}\)

−0.118 → −0.063

SiN 1.6 µm

100 µm

\(+4.5 \times 10^{-4}\)

−0.062 → −0.059

SiN 1.6 µm

23 µm

\(+8 \times 10^{-3}\)

−0.062 → −0.007

  • \(D_1\) from the straight guide is good to about \(10^{-3}\); \(D_2\) to 5 to 15 % at a nitride ring of 100 µm and a silicon ring of 10 µm, and it is useless for a ring with a free spectral range of 1 THz. The bend also hybridizes modes, which a straight solve cannot see.

  • The table is an estimate, not a result of gfem: gfem has no bent port mode.

Not in the coefficient: Raman and free carriers#

The coefficient is the instantaneous electronic Kerr effect and the two-photon absorption. The delayed Raman response of silica or nitride (a fraction of the nonlinearity with a response time of tens of femtoseconds) and the line of crystalline silicon at 15.6 THz, the free carriers that two-photon absorption makes, and the heating are not in it. A pulse simulation takes \(\gamma_\mathrm{NL}\) from here and adds those with their own parameters; a Raman gain between two modes is a separate overlap that gfem does not compute.

Check your results#

  • The cladding’s clearance. The mode’s tail sits in the oxide, so the coefficient converges with the clearance:

    for clearance in (0.5e-6, 1.0e-6, 1.5e-6):
        m = strip(500e-9, clearance=clearance)
        r = gfem.solve(m, gfem.PortMode("wg", f_p), options=options)
        g = gfem.kerr_nonlinearity(m, r).gamma_nl[0]
        print(f"clearance {clearance * 1e6:.1f} um: gamma {g.real:.2f} /(W m)")
    
    clearance 0.5 um: gamma 176.81 /(W m)
    

clearance 1.0 um: gamma 177.04 /(W m) clearance 1.5 um: gamma 177.04 /(W m)


At 0.5 µm the coefficient is 0.13 % low; 1.0 µm has settled. The coefficient
needs less clearance than $\beta_2$ does ({doc}`waveguide-dispersion`).
- **The linearity in $n_2$.** `kerr_nonlinearity` reads the model's
materials, not the solve: changing them re-reads the same mode.

```python
doubled = dataclasses.replace(silicon_kerr, nonlinear_index=2 * n2)
twice = gfem.kerr_nonlinearity(strip(500e-9, core=doubled), mode)
print(f"{twice.gamma_nl[10].real / gamma[10].real - 1:.6f}")
1.000000

Doubling \(n_2\) doubles the real part, and the imaginary part, from \(\beta_\mathrm{TPA}\), is unchanged.

  • A finer mesh. At 1.55 µm the page’s mesh gives 177.040 + 43.674i /(W m). Raising gfem.SolverOptions(order=...) to 4 gives 177.056 + 43.678i: the coefficient moves by \(10^{-4}\).

  • Closed forms. The integral is checked on guides that have one: a uniformly filled rectangular guide and a slab (see How gfem is checked, “Kerr nonlinearity”).

Limits#

  • A single scalar \(n_2\) and \(\beta_\mathrm{TPA}\) per material: no tensor \(\chi^{(3)}\), so a silicon wire has the same coefficient along every crystal direction. Silicon’s \(n_2\) depends on the crystal direction. A region that is anisotropic, or has an axes rotation, and carries either property is refused.

  • The two-photon loss only: no free-carrier absorption or dispersion, no Raman, no thermal effect, and no dispersion of \(n_2\) across the grid.

  • Lossy and leaky sections run, with the mode normalized to 1 W by the modulus of its power; the formula holds while the attenuation is far below the phase constant.

  • A line port of a 2D model gives the slab’s value in 1/W. The Hz polarization is refused, and a layered density (Blend.pixels) carrying a Kerr property behind it too.

  • The cost of kerr_coupling grows as the fourth power of the number of waves.

  • Under jax.grad, \(\gamma_\mathrm{NL}\) differentiates with respect to the section’s materials, not the node coordinates: vary the width by finite differences over a remesh.

Next#