Soliton generation and Kerr comb in a silicon nitride microring#
Note: the maximum estimated cost of running the entire notebook is about 23 FlexCredits. Because the simulations shut off early, the billed cost is about 6 FlexCredits.
Silicon nitride microrings turn a continuous-wave pump into a frequency comb through cascaded four-wave mixing. The most useful comb state is the dissipative Kerr soliton: a femtosecond pulse that circulates in the ring and emits a smooth, phase-locked line spectrum. Whether a soliton exists, how broad it is, and how much power it delivers are set by two linear properties of the ring: - the integrated dispersion \(D_\mathrm{int}(\mu)\) of its resonances; - the bus-coupling rate \(\kappa_\mathrm{ex}(\lambda)\).
A ring with an intrinsic \(Q\) of a few million stores light for nanoseconds, roughly \(10^8\) FDTD time steps. Simulating the nonlinear dynamics directly in FDTD is therefore impractical. Instead, the standard workflow combines two steps: - Tidy3D computes the linear electromagnetic quantities; - a reduced model, the LugiatoβLefever equation (LLE), computes the comb.
In this notebook, we demonstrate that workflow for a \(1.65 \times 0.80\) \(\mu m\) silicon nitride ring with a radius of 115 \(\mu m\):
1. Solve the bent-waveguide modes of the ring over 1.12β2.25 \(\mu m\) and convert them into ring resonances, the free spectral range and \(D_\mathrm{int}(\mu)\).
2. Simulate the busβring point coupler in 3D FDTD for several gaps, extract \(\kappa_\mathrm{ex}(\lambda)\), choose the gap for slight over-coupling, and verify it.
3. Feed both into the LLE to simulate a laser scan and a single soliton, and compute the through-port comb spectrum.
With 40 mW of pump power at 1.55 \(\mu m\), the ring supports a single soliton of about 100 fs. It delivers about 2.6 mW into comb lines spanning 1.46β1.66 \(\mu m\) above β60 dBm. The LLE follows the form used by V. Brasch, T. Herr, M. Geiselmann, G. Lihachev, M. H. P. Pfeiffer, M. L. Gorodetsky, and T. J. Kippenberg, βPhotonic chip based optical frequency comb using soliton induced Cherenkov radiation,β Science 351, 357 (2016), which builds on L. A. Lugiato and R. Lefever, βSpatial dissipative structures in passive optical systems,β Phys. Rev.Β Lett. 58, 2209 (1987).
For more integrated photonic examples, please visit our examples page. If you are new to the finite-difference time-domain (FDTD) method, we highly recommend going through our FDTD101 tutorials.

[1]:
import matplotlib.pyplot as plt
import numpy as np
import tidy3d as td
from scipy.interpolate import CubicSpline
from scipy.optimize import brentq
from tidy3d import web
Simulation Setup#
We define the pump wavelength, the waveguide cross section and the ring radius: - An 800 nm thick silicon nitride core gives anomalous dispersion at 1.55 \(\mu m\), which bright solitons require. - The ring and the bus waveguide have the same width. - Two quantities come from outside the electromagnetic simulation: the intrinsic quality factor \(Q_\mathrm{int}\), which is set by fabrication and assumed here, and the Kerr index \(n_2\) of LPCVD silicon nitride.
[2]:
lda0 = 1.55 # pump wavelength (um)
freq0 = td.C_0 / lda0 # pump frequency (Hz)
wg_height = 0.80 # silicon nitride core thickness (um)
wg_width = 1.65 # ring and bus waveguide width (um)
ring_radius = 115.0 # ring radius at the waveguide centerline (um)
n2 = 2.4e-19 # Kerr index of LPCVD Si3N4 (m^2/W)
Q_int = 4e6 # assumed intrinsic quality factor
P_in = 0.04 # pump power in the bus waveguide (W)
The core is stoichiometric silicon nitride, and the cladding is silicon dioxide all around. Two material models are used: - For mode solving we use the Luke2015Sellmeier model, which is valid from 0.31 to 5.5 \(\mu m\). - For FDTD we use the Luke2015PMLStable refit, which is stable inside the perfectly matched layer and valid up to 1.97 \(\mu m\).
[3]:
sin = td.material_library["Si3N4"]["Luke2015Sellmeier"] # for mode solving
sin_fdtd = td.material_library["Si3N4"]["Luke2015PMLStable"] # for FDTD with PML
sio2 = td.material_library["SiO2"]["Palik_NoLoss"]
Ring Dispersion from Bent-Waveguide Mode Solving#
A ModeSpec with bend_radius solves the modes of the curved ring waveguide directly. Tidy3D defines the bent-mode effective index on the arc at the bend radius. The azimuthal mode number of the ring is therefore
and every integer \(m\) marks a resonance. We solve the TE modes over 1.12β2.25 \(\mu m\), a range wide enough to cover the 512 azimuthal modes we keep in the comb model. We use double precision and 40 grid steps per wavelength because \(D_\mathrm{int}\) is a small difference between large frequencies.
[4]:
ldas_mode = np.linspace(1.12, 2.25, 46) # wavelengths for the mode solves (um)
freqs_mode = np.sort(td.C_0 / ldas_mode)
core = td.Structure(
geometry=td.Box(size=(td.inf, wg_width, wg_height)), medium=sin, name="core"
)
sim_mode = td.Simulation(
size=(1.0, 7.0, 5.0),
medium=sio2,
structures=[core],
run_time=1e-12,
grid_spec=td.GridSpec.auto(min_steps_per_wvl=40, wavelength=ldas_mode.min()),
boundary_spec=td.BoundarySpec.all_sides(boundary=td.PML()),
symmetry=(0, 0, 1), # TE-like modes; the cladding is symmetric in z
)
ax = sim_mode.plot(x=0)
ax.set_xlim(-2, 2)
ax.set_ylim(-1, 1)
plt.show()
We run the ModeSimulation locally, which is free. The ring lies in the \(xy\) plane and the mode plane is normal to \(x\), so the bend axis is the global \(z\) axis (bend_axis=1). Setting group_index_step=True also returns the group index.
[5]:
mode_spec = td.ModeSpec(
num_modes=2,
target_neff=2.0,
bend_radius=ring_radius,
bend_axis=1,
precision="double",
group_index_step=True,
sort_spec=td.ModeSortSpec(
filter_key="TE_fraction",
filter_reference=0.5,
filter_order="over",
keep_modes="filtered",
),
)
mode_sim = td.ModeSimulation.from_simulation(
simulation=sim_mode,
plane=td.Box(size=(0, 7.0, 5.0)),
mode_spec=mode_spec,
freqs=list(freqs_mode),
)
mode_sim_data = mode_sim.run_local()
modes = mode_sim_data.modes
At each frequency, we keep the more TE-like of the two solutions as the fundamental TE mode and confirm that its TE fraction stays high across the band.
[6]:
te_fraction = modes.pol_fraction.te.values # (frequency, mode)
mode_idx = np.argmax(te_fraction, axis=1)
rows = np.arange(len(freqs_mode))
n_eff = modes.n_eff.values[rows, mode_idx]
n_group = modes.n_group.values[rows, mode_idx]
mode_area = modes.mode_area.values[rows, mode_idx]
print(
f"minimum TE fraction of the selected mode: {te_fraction[rows, mode_idx].min():.3f}"
)
i0 = np.argmin(np.abs(freqs_mode - freq0))
print(
f"at {td.C_0 / freqs_mode[i0]:.3f} um: n_eff = {n_eff[i0]:.4f}, n_g = {n_group[i0]:.4f}, "
f"A_eff = {mode_area[i0]:.3f} um^2"
)
minimum TE fraction of the selected mode: 0.997
at 1.547 um: n_eff = 1.8379, n_g = 2.1197, A_eff = 1.131 um^2
We plot the mode at the pump wavelength. The mode is tightly confined in the 800 nm thick core.
[7]:
ax = mode_sim_data.plot_field(
"Ey",
val="abs",
f=freqs_mode[i0],
mode_index=int(mode_idx[i0]),
cmap="magma",
robust=False,
)
ax.set_xlim(-2, 2)
ax.set_ylim(-1.2, 1.2)
ax.set_title(r"$|E_y|$ of the bent TE0 mode at 1.55 $\mu m$")
plt.show()
Next, we convert the effective index into ring resonances:
Interpolate \(n_\mathrm{eff}(\omega)\) with a cubic spline.
Solve \(m(\omega) = m_0 + \mu\) for each mode number around the pumped mode \(m_0\).
Expand the result as
where \(D_1/2\pi\) is the free spectral range (FSR) and \(D_2 > 0\) means anomalous dispersion.
[8]:
n_modes_lle = 512 # azimuthal modes kept in the comb model
omega = 2 * np.pi * freqs_mode
neff_spline = CubicSpline(omega, n_eff)
def azimuthal_order(w: float) -> float:
"""Azimuthal mode number m at angular frequency w (rad/s)."""
return neff_spline(w) * w * ring_radius / td.C_0
m0 = round(azimuthal_order(2 * np.pi * freq0))
mus = np.arange(-n_modes_lle // 2, n_modes_lle // 2)
w_mu = np.array(
[
brentq(lambda w, mu=mu: azimuthal_order(w) - (m0 + mu), omega[0], omega[-1])
for mu in mus
]
)
w0 = w_mu[mus == 0][0]
D1 = (w_mu[mus == 1][0] - w_mu[mus == -1][0]) / 2
D_int = w_mu - w0 - D1 * mus
coeffs = np.polyfit(mus[np.abs(mus) <= 40], D_int[np.abs(mus) <= 40], 4)
D2, D3 = 2 * coeffs[-3], 6 * coeffs[-4]
lam_mu = 2 * np.pi * td.C_0 / w_mu # resonance wavelengths (um)
print(f"pumped mode m0 = {m0} at {2 * np.pi * td.C_0 / w0:.5f} um")
print(f"FSR = {D1 / 2 / np.pi / 1e9:.2f} GHz")
print(
f"D2/2pi = {D2 / 2 / np.pi / 1e6:.3f} MHz, D3/2pi = {D3 / 2 / np.pi / 1e3:.2f} kHz"
)
print(f"mode window: {lam_mu.min():.3f}-{lam_mu.max():.3f} um")
pumped mode m0 = 857 at 1.54923 um
FSR = 195.73 GHz
D2/2pi = 4.485 MHz, D3/2pi = -4.90 kHz
mode window: 1.231-2.089 um
\(D_\mathrm{int}\) is positive across the whole mode window. The ring therefore has anomalous dispersion everywhere, and it has no zero crossing that would phase-match a dispersive wave.
[9]:
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(11, 3.8), tight_layout=True)
ax1.plot(td.C_0 / freqs_mode, n_eff, ".-", label=r"$n_\mathrm{eff}$ (bent)")
ax1.plot(td.C_0 / freqs_mode, n_group, ".-", label=r"$n_g$")
ax1.set_xlabel(r"Wavelength ($\mu m$)")
ax1.set_ylabel("Index")
ax1.legend()
ax2.plot(lam_mu, D_int / 2 / np.pi / 1e9)
ax2.axhline(0, color="k", lw=0.5)
ax2.set_xlabel(r"Wavelength ($\mu m$)")
ax2.set_ylabel(r"$D_\mathrm{int}/2\pi$ (GHz)")
ax2.set_title(
rf"$D_2/2\pi$ = {D2 / 2 / np.pi / 1e6:.2f} MHz, FSR = {D1 / 2 / np.pi / 1e9:.1f} GHz"
)
plt.show()
BusβRing Coupling from FDTD#
The external coupling rate follows from the power \(|k|^2\) that crosses from the bus into the ring in one pass:
In this notebook, \(\kappa\) denotes an energy decay rate, so a resonanceβs linewidth in Hz is \(\kappa/2\pi\). We simulate the coupling region only: a straight bus next to an arc of the 115 \(\mu m\) ring. The arc is a PolySlab annular sector whose ends extend through the simulation boundary. The band is 1.25β1.95 \(\mu m\), inside the range of the FDTD material model. We center the pulse on that band.
[10]:
ldas_fdtd = np.linspace(1.25, 1.95, 71) # wavelengths for the FDTD monitors (um)
freqs_fdtd = np.sort(td.C_0 / ldas_fdtd)
pulse = td.GaussianPulse(
freq0=(freqs_fdtd[0] + freqs_fdtd[-1]) / 2,
fwidth=(freqs_fdtd[-1] - freqs_fdtd[0]) / 2,
)
x_mon = 27.0 # source and monitor planes at -x_mon and +x_mon (um)
def ring_arc(half_angle: float = 0.4, n_pts: int = 400) -> td.PolySlab:
"""Annular sector of the ring around its bottom point; the ends lie outside the domain."""
theta = -np.pi / 2 + np.linspace(-half_angle, half_angle, n_pts)
r_out, r_in = ring_radius + wg_width / 2, ring_radius - wg_width / 2
outer = np.c_[r_out * np.cos(theta), ring_radius + r_out * np.sin(theta)]
inner = np.c_[r_in * np.cos(theta), ring_radius + r_in * np.sin(theta)][::-1]
return td.PolySlab(
vertices=np.r_[outer, inner],
axis=2,
slab_bounds=(-wg_height / 2, wg_height / 2),
)
A ModeSource launches the bus TE mode, and three monitors record the result: - A ModeMonitor records the through transmission \(|t|^2\). - A FluxMonitor placed across the ring arc, well past the coupling point, measures \(|k|^2\) directly. That is more accurate than \(1 - |t|^2\) when \(|k|^2 \sim 10^{-3}\). - A FieldMonitor records the field at 1.55 \(\mu m\).
The Simulation uses 30 steps per wavelength at the shortest wavelength, because the coupling depends exponentially on the gap. The arc polygon already runs through the PML, so we turn off automatic structure extrusion, which would otherwise straighten the slanted end of the arc. The structure is fully clad, so a \(z\) symmetry halves the cost.
[11]:
def make_sim(gap: float) -> td.Simulation:
"""Bus-ring coupler simulation for a given edge-to-edge gap (um)."""
y_bus = -(wg_width + gap)
bus = td.Structure(
geometry=td.Box(center=(0, y_bus, 0), size=(td.inf, wg_width, wg_height)),
medium=sin_fdtd,
name="bus",
)
ring = td.Structure(geometry=ring_arc(), medium=sin_fdtd, name="ring")
mode_spec_bus = td.ModeSpec(num_modes=1, target_neff=2.0)
mode_source = td.ModeSource(
center=(-x_mon, y_bus, 0),
size=(0, 4.0, 4.0),
source_time=pulse,
direction="+",
mode_spec=mode_spec_bus,
mode_index=0,
num_freqs=10,
)
mode_monitor = td.ModeMonitor(
center=(x_mon, y_bus, 0),
size=(0, 4.0, 4.0),
freqs=freqs_fdtd,
mode_spec=mode_spec_bus,
name="thru",
)
# the ring arc sits near y = 3.2 um at x = 27 um; the plane starts > 1.5 um above the bus edge
flux_mnt = td.FluxMonitor(
center=(x_mon, 3.75, 0), size=(0, 6.5, 4.0), freqs=freqs_fdtd, name="cross"
)
field_monitor = td.FieldMonitor(
center=(0, 0.25, 0), size=(td.inf, td.inf, 0), freqs=[freq0], name="field"
)
return td.Simulation(
center=(0, 0.25, 0),
size=(60.0, 13.5, 4.0),
medium=sio2,
structures=[bus, ring],
sources=[mode_source],
monitors=[mode_monitor, flux_mnt, field_monitor],
grid_spec=td.GridSpec.auto(min_steps_per_wvl=30, wavelength=ldas_fdtd.min()),
boundary_spec=td.BoundarySpec.all_sides(
boundary=td.PML(extrude_structures=False)
),
run_time=td.RunTimeSpec(quality_factor=4),
symmetry=(0, 0, 1),
)
Before running, we visualize one of the simulations to make sure the source, monitors and structures are placed correctly. The gap shown is 0.40 \(\mu m\).
[12]:
gaps = [0.40, 0.55, 0.70, 0.85] # edge-to-edge bus-ring gaps (um)
sims = {f"gap_{gap:.3f}": make_sim(gap) for gap in gaps}
sim = sims["gap_0.400"]
fig = plt.figure(figsize=(11, 7), tight_layout=True)
ax1 = fig.add_subplot(2, 1, 1)
ax2 = fig.add_subplot(2, 2, 3)
ax3 = fig.add_subplot(2, 2, 4)
sim.plot(z=0, ax=ax1)
sim.plot(x=x_mon, ax=ax2)
sim.plot(z=0, ax=ax3, hlim=(-2, 2), vlim=(-3, 1))
sim.plot_grid(z=0, ax=ax3, hlim=(-2, 2), vlim=(-3, 1))
plt.show()
We run the four gaps as a batch. First, we check the maximum FlexCredit cost. The runs shut off automatically once the field decays, so we are billed only for the effective run time.
[13]:
batch = web.Batch(simulations=sims, folder_name="sin_ring_kerr_comb")
_ = batch.estimate_cost()
21:05:32 UTC Maximum FlexCredit cost: 18.525 for the whole batch.
The cost is reasonable, so we run the batch.
[14]:
batch_data = batch.run(path_dir="data")
Uploading data for 4 tasks ββββββββββββββββββββββββββββββββββββββββ 100% 0:00:00
21:05:33 UTC Started working on Batch containing 4 tasks.
21:05:37 UTC Maximum FlexCredit cost: 18.525 for the whole batch.
Use 'Batch.real_cost()' to get the billed FlexCredit cost after
completion.
21:10:18 UTC Batch complete.
gap_0.400 β success βββββββββββββββββββββββββ 100% 0:04:39
gap_0.550 β success βββββββββββββββββββββββββ 100% 0:04:38
gap_0.700 β success βββββββββββββββββββββββββ 100% 0:04:38
gap_0.850 β success βββββββββββββββββββββββββ 100% 0:04:36
Note: each task logs one solver warning. It says that the silicon nitride model was evaluated at a frequency below its fitted range (wavelengths beyond 1.97 \(\mu m\), in the tails of the source pulse). All monitor frequencies lie inside the fitted range. The extracted \(|k|^2\) also did not change, to within 0.2 %, when the pulse spectrum was shifted.
Postprocessing#
For each gap we read \(|k|^2\) from the flux monitor and \(|t|^2\) from the mode monitor, then check that \(|k|^2 + |t|^2 = 1\).
[15]:
k2 = {}
for gap in gaps:
sim_data = batch_data[f"gap_{gap:.3f}"]
k2[gap] = sim_data["cross"].flux.values
t2 = np.abs(sim_data["thru"].amps.sel(direction="+", mode_index=0).values) ** 2
k2_pump = np.interp(lda0, td.C_0 / freqs_fdtd[::-1], k2[gap][::-1])
print(
f"gap {gap:.3f} um: |k|^2(1.55 um) = {k2_pump:.3e}, max | |k|^2 + |t|^2 - 1 | = "
f"{np.max(np.abs(k2[gap] + t2 - 1)):.1e}"
)
21:10:34 UTC WARNING: Warning messages were found in the solver log. For more
information, check 'SimulationData.log' or use
'web.download_log(task_id)'.
gap 0.400 um: |k|^2(1.55 um) = 5.372e-03, max | |k|^2 + |t|^2 - 1 | = 5.4e-05
WARNING: Warning messages were found in the solver log. For more
information, check 'SimulationData.log' or use
'web.download_log(task_id)'.
gap 0.550 um: |k|^2(1.55 um) = 1.221e-03, max | |k|^2 + |t|^2 - 1 | = 8.8e-05
WARNING: Warning messages were found in the solver log. For more
information, check 'SimulationData.log' or use
'web.download_log(task_id)'.
gap 0.700 um: |k|^2(1.55 um) = 2.813e-04, max | |k|^2 + |t|^2 - 1 | = 8.9e-05
WARNING: Warning messages were found in the solver log. For more
information, check 'SimulationData.log' or use
'web.download_log(task_id)'.
gap 0.850 um: |k|^2(1.55 um) = 6.527e-05, max | |k|^2 + |t|^2 - 1 | = 8.6e-05
The coupling falls exponentially with the gap, and it grows by about two orders of magnitude from 1.25 to 1.95 \(\mu m\) because longer wavelengths reach further into the gap.
[16]:
fsr = D1 / (2 * np.pi) # Hz
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(11, 3.8), tight_layout=True)
for gap in gaps:
ax1.semilogy(td.C_0 / freqs_fdtd, k2[gap], label=f"gap {gap:.2f} $\\mu m$")
ax2.semilogy(
td.C_0 / freqs_fdtd,
k2[gap] * fsr / 2 / np.pi / 1e6,
label=f"gap {gap:.2f} $\\mu m$",
)
ax1.set_xlabel(r"Wavelength ($\mu m$)")
ax1.set_ylabel(r"$|k|^2$ per pass")
ax1.legend()
ax2.set_xlabel(r"Wavelength ($\mu m$)")
ax2.set_ylabel(r"$\kappa_\mathrm{ex}/2\pi$ (MHz)")
plt.show()
Choosing and Verifying the Gap#
The intrinsic loss rate at the pump is \(\kappa_0 = \omega_0 / Q_\mathrm{int}\). We target slight over-coupling, \(\kappa_\mathrm{ex}/\kappa_0 = 1.5\). That raises the comb output power at a modest cost in threshold. Because \(\log |k|^2\) is smooth in the gap, a cubic spline across the four gaps gives the design gap, which we round to a 5 nm grid.
[17]:
K_target = 1.5 # target kappa_ex / kappa_0 at the pump
kappa_0 = w0 / Q_int
k2_at_pump = np.array(
[
np.interp(2 * np.pi * td.C_0 / w0, td.C_0 / freqs_fdtd[::-1], k2[g][::-1])
for g in gaps
]
)
log_k2_spline = CubicSpline(gaps, np.log(k2_at_pump))
gap_interp = brentq(
lambda g: np.exp(log_k2_spline(g)) * fsr / kappa_0 - K_target, gaps[0], gaps[-1]
)
gap_design = round(gap_interp / 0.005) * 0.005
print(
f"kappa_0/2pi = {kappa_0 / 2 / np.pi / 1e6:.1f} MHz -> interpolated gap {gap_interp:.4f} um, "
f"design gap {gap_design:.3f} um"
)
kappa_0/2pi = 48.4 MHz -> interpolated gap 0.4839 um, design gap 0.485 um
We verify the interpolation by simulating the design gap directly. As before, we estimate the cost first.
[18]:
sim_design = make_sim(gap_design)
job = web.Job(simulation=sim_design, task_name="sin_ring_coupler_design", verbose=True)
_ = web.estimate_cost(job.task_id)
21:10:35 UTC Created task 'sin_ring_coupler_design' with resource_id
'fdve-ecd19160-c0bf-4de7-a532-6ed3f3ae91cc' and task_type 'FDTD'.
View task using web UI at
'https://tidy3d.simulation.cloud/workbench?taskId=fdve-ecd19160-c0b
f-4de7-a532-6ed3f3ae91cc'.
Task folder: 'default'.
β simulation.hdf5.gz βββββββββββββββββββββββ 100.0% β’ 14.1/14.1 kB β’ ? β’ 0:00:00
21:10:38 UTC Estimated FlexCredit cost: 4.641. This assumes the FDTD solver runs
for the full simulation time; if early shutoff is reached, the
billed cost can be lower. Use 'web.real_cost(task_id)' to get the
billed FlexCredit cost after a simulation run.
[19]:
sim_data = job.run(path="data/sin_ring_coupler_design.hdf5")
k2_design = sim_data["cross"].flux.values
k2_design_pump = np.interp(
2 * np.pi * td.C_0 / w0, td.C_0 / freqs_fdtd[::-1], k2_design[::-1]
)
print(
f"|k|^2 at the pump: interpolated {np.exp(log_k2_spline(gap_design)):.4e}, FDTD {k2_design_pump:.4e}"
)
print(f"kappa_ex/kappa_0 at the pump = {k2_design_pump * fsr / kappa_0:.2f}")
21:10:39 UTC status = queued
To cancel the simulation, use 'web.abort(task_id)' or
'web.delete(task_id)' or abort/delete the task in the web UI.
Terminating the Python script will not stop the job running on the
cloud.
21:10:48 UTC status = preprocess
21:10:57 UTC starting up solver
running solver
21:13:58 UTC early shutoff detected at 26%, exiting.
solver progress (field decay = 3.75e-07) ββββββββββββββββββββββββββ 100% 0:00:00
status = postprocess
21:14:05 UTC status = success
21:14:07 UTC View simulation result at
'https://tidy3d.simulation.cloud/workbench?taskId=fdve-ecd19160-c0b
f-4de7-a532-6ed3f3ae91cc'.
β simulation_data.hdf5.gz βββββββββββ 100.0% β’ 59.5/59.5 β’ 17.8 MB/s β’ 0:00:00
MB
21:14:13 UTC Loading results from data/sin_ring_coupler_design.hdf5
WARNING: Warning messages were found in the solver log. For more
information, check 'SimulationData.log' or use
'web.download_log(task_id)'.
|k|^2 at the pump: interpolated 2.3032e-03, FDTD 2.3023e-03
kappa_ex/kappa_0 at the pump = 1.48
The field map on a dB scale shows light leaving the bus and building up in the ring arc after the coupling point. The ring field is about 26 dB below the bus field, consistent with \(|k|^2 \approx 2 \times 10^{-3}\).
[20]:
fig, ax = plt.subplots(figsize=(11, 3), tight_layout=True)
sim_data.plot_field("field", "E", val="abs", scale="dB", vmin=-50, ax=ax)
ax.set_title(rf"$|E|$ (dB) at 1.55 $\mu m$, gap {gap_design:.3f} $\mu m$")
plt.show()
Kerr Comb from the LugiatoβLefever Equation#
We work in mode space, in the frame that rotates with the pump and \(D_1\). With \(|a_\mu|^2\) the photon number in mode \(\mu\) and \(A(\phi) = \sum_\mu a_\mu e^{i\mu\phi}\) the intracavity field around the ring, the equation is
The terms are: - \(\delta\omega = \omega_0 - \omega_p\) is the pump detuning; it is positive for a red-detuned pump. - \(\kappa_\mu = \kappa_0 + \kappa_\mathrm{ex}(\mu)\) uses the FDTD coupling at each modeβs own wavelength. Outside the FDTD band it is a quadratic extrapolation in \(\log |k|^2\). - \(g = \hbar \omega_0^2 c\, n_2 / (n_g^2 V_\mathrm{eff})\) is the Kerr frequency shift per photon, with \(V_\mathrm{eff} = A_\mathrm{eff} \cdot 2\pi R\).
Normalizing by the threshold gives the pump parameter \(f^2\). Solitons exist up to the normalized detuning \(\zeta_\mathrm{max} \approx \pi^2 f^2 / 8\), where \(\zeta = 2\delta\omega/\kappa\).
[21]:
lam_f = td.C_0 / freqs_fdtd[::-1] # ascending FDTD wavelengths (um)
log_k2 = np.log(k2_design[::-1])
k2_inside = np.exp(np.interp(lam_mu, lam_f, log_k2))
k2_outside = np.exp(np.polyval(np.polyfit(lam_f, log_k2, 2), lam_mu))
in_band = (lam_mu >= lam_f[0]) & (lam_mu <= lam_f[-1])
kappa_ex = np.where(in_band, k2_inside, k2_outside) * fsr # per mode (1/s)
kappa = kappa_0 + kappa_ex
k0, kex0 = kappa[mus == 0][0], kappa_ex[mus == 0][0]
hbar_si = td.HBAR * td.Q_e # td.HBAR is in eV s -> J s
c_si = td.C_0 * 1e-6 # td.C_0 is in um/s -> m/s
V_eff = np.interp(w0, omega, mode_area) * 1e-12 * 2 * np.pi * ring_radius * 1e-6 # m^3
n_g0 = np.interp(w0, omega, n_group)
g = hbar_si * w0**2 * c_si * n2 / (n_g0**2 * V_eff)
P_th = k0**3 * hbar_si * w0 / (8 * g * kex0) # pump power for f^2 = 1
f2 = P_in / P_th
zeta_max = np.pi**2 * f2 / 8
print(f"loaded Q = {w0 / k0:.3g}, kappa_ex/2pi = {kex0 / 2 / np.pi / 1e6:.1f} MHz")
print(f"g/2pi = {g / 2 / np.pi:.3f} Hz, threshold = {P_th * 1e3:.2f} mW")
print(
f"P_in = {P_in * 1e3:.0f} mW -> f^2 = {f2:.2f}, solitons exist for zeta < {zeta_max:.2f}"
)
loaded Q = 1.61e+06, kappa_ex/2pi = 71.7 MHz
g/2pi = 0.485 Hz, threshold = 5.01 mW
P_in = 40 mW -> f^2 = 7.98, solitons exist for zeta < 9.85
We integrate with a split-step method: - The linear step is exact in mode space, and it includes the pump analytically. - The Kerr step is exact in the angle domain.
The time step is \(2\times10^{-3}\) of the photon half-lifetime \(2/\kappa\), and vacuum-level noise seeds the comb.
[22]:
n_modes = mus.size
phi = 2 * np.pi * np.arange(n_modes) / n_modes
pump = np.where(mus == 0, np.sqrt(kex0 * P_in / (hbar_si * w0)), 0).astype(complex)
dt = 2e-3 * 2 / k0
rng = np.random.default_rng(1)
def to_angle(a: np.ndarray) -> np.ndarray:
"""Mode amplitudes (ordered mu = -N/2 ... N/2-1) to the field around the ring."""
return np.fft.ifft(np.fft.ifftshift(a)) * n_modes
def to_modes(A: np.ndarray) -> np.ndarray:
"""Field around the ring to mode amplitudes (ordered mu = -N/2 ... N/2-1)."""
return np.fft.fftshift(np.fft.fft(A)) / n_modes
def noise() -> np.ndarray:
"""Vacuum-level random seed in every mode."""
return (rng.normal(size=n_modes) + 1j * rng.normal(size=n_modes)) * 0.5
def evolve(
a: np.ndarray, zetas: np.ndarray, record_every: int = 200
) -> tuple[np.ndarray, np.ndarray]:
"""Advance the mode amplitudes over a schedule of normalized detunings, one per time step."""
trace = []
for i, zeta in enumerate(zetas):
L = -(kappa / 2 + 1j * (zeta * k0 / 2 + D_int))
E = np.exp(L * dt / 2)
a = a * E + pump * (E - 1) / L # half linear step, pump included exactly
A = to_angle(a)
A *= np.exp(1j * g * np.abs(A) ** 2 * dt) # Kerr step
a = to_modes(A)
a = a * E + pump * (E - 1) / L
if i % record_every == 0:
trace.append((zeta, np.sum(np.abs(a) ** 2)))
return a, np.array(trace)
def comb_out(a: np.ndarray) -> np.ndarray:
"""Through-port power in each comb line (W)."""
b = -np.sqrt(kappa_ex) * a
b[mus == 0] += np.sqrt(P_in / (hbar_si * w0))
return hbar_si * w_mu * np.abs(b) ** 2
Laser Scan#
First, we sweep the pump from blue to red detuning, as in an experiment. The thermal effects that complicate real scans are not included. The intracavity power is normalized so that \(|\Psi|^2 = 1\) is the modulation-instability threshold. In order, the trace shows:
the continuous-wave branch;
Turing rolls;
chaotic modulation instability;
the soliton step, which ends at \(\zeta_\mathrm{max}\).
[23]:
zetas_scan = np.linspace(-4, zeta_max + 2, int(1500 / 2e-3))
a_scan, trace = evolve(noise(), zetas_scan)
fig, ax = plt.subplots(figsize=(7, 3.8), tight_layout=True)
ax.plot(trace[:, 0], trace[:, 1] / (k0 / (2 * g)), lw=0.8)
ax.axvline(
zeta_max, color="k", ls="--", lw=0.8, label=r"$\zeta_\mathrm{max} = \pi^2 f^2/8$"
)
ax.set_xlabel(r"Normalized detuning $\zeta = 2\delta\omega/\kappa$")
ax.set_ylabel(r"Intracavity power $\langle|\Psi|^2\rangle$")
ax.legend()
plt.show()
Single Soliton#
A scan usually lands in a multi-soliton state. To isolate a single soliton, we hold the detuning at \(\zeta = 0.75\,\zeta_\mathrm{max}\) and seed the ring with the soliton ansatz
We then let the field relax to the exact solution.
[24]:
zeta_s = 0.75 * zeta_max
dw_s = zeta_s * k0 / 2
A_seed = np.sqrt(2 * dw_s / g) / np.cosh((phi - np.pi) * np.sqrt(2 * dw_s / D2))
a_sol, _ = evolve(to_modes(A_seed) + noise(), np.full(int(100 / 2e-3), zeta_s))
P_lines = comb_out(a_sol)
comb_power = P_lines[mus != 0].sum()
line_db = 10 * np.log10(np.abs(a_sol[mus != 0]) ** 2)
n_3db = np.sum(line_db > line_db.max() - 3)
span = lam_mu[P_lines > 1e-9]
print(f"single soliton at zeta = {zeta_s:.2f}")
print(
f"comb power (pump line excluded) = {comb_power * 1e3:.2f} mW = {100 * comb_power / P_in:.2f} % of the pump"
)
print(
f"{n_3db} lines in the 3 dB band; lines above -60 dBm span {span.min():.3f}-{span.max():.3f} um"
)
single soliton at zeta = 7.39
comb power (pump line excluded) = 2.56 mW = 6.41 % of the pump
15 lines in the 3 dB band; lines above -60 dBm span 1.461-1.656 um
We plot the soliton around the ring and the comb at the through port. One full turn of the ring is a 5.1 ps round trip. The orange curve is the FDTD coupling rate: it rises toward longer wavelengths, so the red side of the comb is out-coupled more strongly than the blue side.
[25]:
A_sol = to_angle(a_sol)
A_sol = np.roll(A_sol, n_modes // 2 - np.argmax(np.abs(A_sol))) # center the soliton
fig = plt.figure(figsize=(11, 7), tight_layout=True)
ax1 = fig.add_subplot(2, 2, 1)
ax1.plot(np.degrees(phi - np.pi), np.abs(A_sol) ** 2 / (k0 / (2 * g)))
ax1.set_xlim(-20, 20)
ax1.set_xlabel("Ring angle (deg)")
ax1.set_ylabel(r"$|\Psi|^2$")
ax1.set_title(rf"Single soliton at $\zeta$ = {zeta_s:.1f}")
ax2 = fig.add_subplot(2, 1, 2)
ax2.vlines(lam_mu, -120, 10 * np.log10(P_lines * 1e3 + 1e-30), lw=0.8)
ax2.set_ylim(-90, 25)
ax2.set_xlabel(r"Wavelength ($\mu m$)")
ax2.set_ylabel("Power per line (dBm)")
ax2.set_title(
f"Through-port comb: {comb_power * 1e3:.1f} mW in comb lines, gap {gap_design:.3f} $\\mu m$"
)
ax2b = ax2.twinx()
ax2b.semilogy(lam_mu, kappa_ex / 2 / np.pi / 1e6, color="tab:orange", lw=1)
ax2b.set_ylabel(r"$\kappa_\mathrm{ex}/2\pi$ (MHz)", color="tab:orange")
ax3 = fig.add_subplot(2, 2, 2)
ax3.plot(lam_mu, 10 * np.log10(np.abs(a_sol) ** 2 + 1e-30), ".", ms=2)
ax3.set_xlim(1.4, 1.75)
ax3.set_ylim(-20, 75)
ax3.set_xlabel(r"Wavelength ($\mu m$)")
ax3.set_ylabel(r"Intracavity photons per mode (dB)")
ax3.set_title(r"Smooth sech$^2$ envelope: one soliton")
plt.show()
The single soliton converts about 6.5 % of the pump into comb lines. That is the expected order for a broadband bright soliton, whose short pulse overlaps only weakly with the continuous-wave pump. Three changes would make this model closer to a real device:
add thermal dynamics, to capture realistic soliton access;
add Raman scattering;
solve the higher-order bent modes (
num_modes > 2), to locate avoided mode crossings in \(D_\mathrm{int}\).