Skip to Content
PhotonStack Gallery
Inverse design

Four-mode demultiplexer (TE0–TE3)

3D inverse design of a TE0–TE3 mode demultiplexer over 1500–1600 nm with psinverse on PSFDTD, compared with the reported values of Li et al., Opt. Express 2025. It does not beat the baseline under equal fabrication constraints.

A 1.8 µm wide multimode silicon waveguide (220 nm SOI) carries TE0, TE1, TE2 and TE3. The inverse-designed region routes them to four 450 nm wide single-mode waveguides, TE_m → out_m, each continuing as TE0. The output waveguides leave the design region at a 0.75 µm pitch (0.3 µm gap, so they still couple) and are fanned out by 4 µm long raised-cosine S-bends to a 1.3 µm pitch (0.85 µm gap), where the outputs are measured. The baseline is Li et al., Opt. Express 33, 44908 (2025): same platform, input width, output width and pitch, design region 5.4 × 2.7 µm, 20 nm pixel topology optimisation (GPU-accelerated adjoint FDTD, 27 h on an RTX 4090), 90 nm minimum feature. What is checked: in the same footprint, reported in 3D as the worst case over 1500–1600 nm on a smooth-contour verification, how does the PSFDTD design compare.

The design with the best numbers violates the 90 nm minimum feature the baseline obeys. Under an 80 nm rule the best design here is worse than the baseline's measured device. See Limitations.

Setup

  • Platform: 220 nm Si, SiO₂ above and below (n = 3.4757 / 1.444). PSFDTD 3D FDTD, CUDA, single precision, one RTX 4090.
  • Geometry: design region x ∈ [0, L], y ∈ [−1.35, 1.35] µm (L = 5.4 µm as in the baseline; 4.0 µm was also tried). The S-bends and straight waveguides are fixed structures; their loss and the near-end coupling are included in the results (in 3D the outer S-bend alone transmits 0.992, the inner 0.9995).
  • Grid: 25 nm voxel = FDTD cell (27.5 nm in z inside the silicon layer); about 7.6 M cells including PML. Each iteration is 4 forward + 4 adjoint simulations of 6–8 s each.
  • Parametrisation: conic filter 120 nm + tanh projection + geometric length-scale constraint (aimed at a minimum linewidth of about 90 nm, as in the baseline).
  • Objective: 4 input channels (TE0–TE3 of in0) × 4 output channels (TE0 of out0–out3), identity target, amplitude form (√P − √T)², simultaneously at 1500, 1525, 1550, 1575 and 1600 nm, with adaptive weights over the 80 channel × wavelength terms.
  • Metrics: insertion loss IL = −10 log₁₀(power in the target port / input power); XT = strongest single wrong port (dB relative to input power, the baseline's definition). Tables give the worst value over the four input modes.
  • Verification: smooth polygons of the 0.5 contour on a 12.5 nm grid, and again after an 80 nm morphological clean-up.
  • Gradient check: 2D finite differences (4 input modes × 4 outputs × 3 wavelengths, random weights) differ from the adjoint gradient by less than 1.2%.

Results

2D trials (CPU backend, 15–30 min each)

2D effective-index model, smooth-polygon verification on a 12.5 nm grid, worst over 4 input modes and 1500–1600 nm:

TrialDesign region (µm)IterationsWorst IL (dB)Worst IL at 1550 nm (dB)Max XT (dB)
L5.45.4 × 2.73000.650.41−24.1
L4.04.0 × 2.73000.460.34−21.7
L3.03.0 × 2.73000.88 (thresholded voxel model)0.58−23.1
L5.4_long5.4 × 2.75000.420.29−26.7
L4.0_long4.0 × 2.75000.370.28−22.3
L4.0_cband4.0 × 2.7500, C band only0.37 (within the C band, thresholded voxel model)—−19.3
L4.0_fix4.0 × 2.7L4.0_long's cleaned contour re-optimised for 100 iterations (length-scale weight 3000)0.56 (identical before and after the 80 nm clean-up)0.38−22.2

A 2D design placed directly in 3D has an insertion loss of 4.9 dB (L5.4_long), so the 2D results are only useful as starting points.

3D designs (5.4 × 2.7 µm, one RTX 4090)

3D designMin Si / gap of raw contourPixels changed by clean-upSmooth contour: C-band IL / XTSmooth contour: 1500–1600 nm IL / XTAfter 80 nm clean-up: C-band IL / XT
L5.4_ws (warm start from 2D, lr halved per stage, β up to 256, 200 iterations)55 / 15 nm1.9%0.45 / −26.3 dB0.62 / −24.8 dB4.05 / −7.2 dB
L5.4_mfs (continues L5.4_ws, length-scale weight 300)55 / 25 nm1.5%0.53 / −25.7 dB0.74 / −24.6 dB4.93 / −5.6 dB
L5.4_c (restart from L5.4_ws at β 16, weight 3000)95 / 35 nm0.55%0.76 / −25.7 dB0.90 / −23.0 dB1.55 / −10.2 dB

For reference, the rule-compliant 2D design L4.0_fix has 0.07% of pixels changed by the clean-up.

Fields of L5.4_ws

Field distribution of L5.4_ws at 1550 nm, one panel per input mode: each mode is routed to its own output and propagates independently after the fan-out.

Spectra

Target-port transmission and strongest wrong port for each input mode of the 3D designs.

Convergence

Band-worst transmission vs iteration for the 3D runs, including the oscillating from-scratch run, the warm start and the runs with a stronger length-scale constraint.

Literature comparison

Worst insertion loss vs footprint: literature values are paper-reported, compared with the 3D results here.

Cost

A single 3D optimisation process takes about 65–75 s per iteration on one RTX 4090 and saturates the GPU (two concurrent processes take about 170 s each, slower than running them in sequence). L5.4_ws: 30 min of 2D pre-screening plus 200 3D iterations in 4.1 h with exclusive use of the GPU; the actual run shared the GPU with other jobs and took 5.3 h. The whole example takes about 20 h.

Comparison

Baseline values are paper-reported (Li et al. 2025); the PSFDTD column is L5.4_ws, 3D FDTD, smooth-contour verification.

Baseline Li 2025 (simulation, paper-reported)Baseline (measured, paper-reported)L5.4_ws (3D simulation)
BandC band (35 nm)C bandC band / 1500–1600 nm (100 nm)
Worst insertion loss< 0.3 dB< 0.95 dB0.45 dB / 0.62 dB
Worst single-port crosstalk XT< −20 dB< −13.5 dB−26.3 dB / −24.8 dB
Minimum feature90 nm—Si 55 nm, gap 15 nm (does not meet 90 nm)
Outputbent waveguides (dimensions not given)4 µm S-bend fan-out to 1.3 µm pitch, loss included
Design time (RTX 4090)27 h30 min 2D pre-screen + 4.1 h for 200 3D iterations (GPU exclusive; 5.3 h as actually run on a shared GPU)
Energy conservationTE0 input: target + crosstalk = 1.015yes (reciprocity also checked)

The crosstalk is about 6 dB lower than the baseline's simulation over a band three times as wide, and the insertion loss is 0.15 dB higher. The baseline's simulated numbers are themselves optimistic: in its Table 1 the 1550 nm TE0 input gives 0.000431 dB in the target port (0.9999) plus three wrong ports (−22.65, −23.67, −22.34 dB, 1.55% in total), which sums to 1.015, more than the input power. Its measured insertion loss (0.49–0.93 dB) is 0.4–0.8 dB above its simulation.

Other optimised TE0–TE3 demultiplexers on 220 nm SOI, all values paper-reported:

WorkMethodFootprint (µm²)Insertion loss (dB)Crosstalk (dB)Bandwidth
Zhou et al., Laser Photonics Rev. 16, 2100521 (2022)direct binary search4.8 × 4.8about 1.5−1340 nm
Yang et al., Nat. Commun. 13, 7862 (2022)topology optimisation (TE0–TE4, foundry process)6.5 × 6.50.8−18about 120 nm
Sun et al., Nat. Commun. 16, 2372 (2025)digital metamaterial, edge-guided inverse design6 × 61.24−18120 nm
Chen et al., IEEE Photonics J. 13 (2021)cascaded PSO-optimised inverse-tapered couplersabout 27 × 7< 4.73< −15.271 nm
Li et al., Opt. Express 33, 44908 (2025)20 nm pixel topology optimisation, GPU adjoint FDTD5.4 × 2.7simulated < 0.3 (C band); measured < 0.95simulated < −20; measured < −13.5C band

Limitations

  • The baseline is not beaten under equal fabrication constraints. L5.4_ws relies on thin oxide slits 50–75 nm wide (raw contour: min silicon 55 nm, min gap 15 nm). Filling them with an 80 nm morphological clean-up raises the insertion loss to 3.7 dB and XT to −8 dB according to the report text; its table gives 4.05 dB / −7.2 dB as the C-band worst case. The slits are functional.
  • Best rule-compliant result is worse than the baseline's measurement. Under the 80 nm rule the best design is L5.4_c: after clean-up 1.55 dB / −10.2 dB in the C band (1.4 dB at 1550 nm, 1.8 dB over 1500–1600 nm), against the baseline's measured < 0.95 dB / < −13.5 dB.
  • The length-scale penalty did not work in 3D. Weight 10 did not prevent the slits; raising it afterwards (L5.4_mfs, weight 300) left most slits in place and the cleaned loss at 4.5 dB. Restarting from the cleaned, rule-compliant contour works in 2D (L4.0_fix recovers from 0.69 to 0.88 and is identical before and after clean-up) but not in 3D, where the starting point is only 0.25–0.33 and had only recovered to 0.44 when the run was stopped.
  • From-scratch 3D optimisation at lr 0.02 oscillated. Above β of about 20 the objective alternated high/low every iteration (e.g. 0.22 / 0.82 / 0.25 / 0.71). L4.0 ended at a worst transmission of 0.896 in the model (β 64) and 0.830 after thresholding (7% greyness remaining); L5.4 from scratch was stopped at iteration 227.
  • 2D → 3D transfer is poor (4.9 dB loss for a 2D design in 3D), and in 2D the fan-out S-bends themselves lose 1.6–2.5% (0.05–0.8% in 3D), so 2D insertion losses are pessimistic.
  • Comparison is against paper-reported values only; the baseline device was not re-simulated.

Reproduce

bash examples/mode_demux_4/run.sh     # 2D trials → 3D optimisation → verification → cases → figures; about 20 h on one RTX 4090

Key steps inside run.sh:

python -m psinverse.optimize examples/mode_demux_4/configs/2d/L5.4_long.json --out runs/2d/L5.4_long
python -m psinverse.optimize examples/mode_demux_4/configs/3d/L5.4_ws.json --out runs/3d/L5.4_ws
python -m psinverse.verify runs/3d/L5.4_ws --mode polygon --sub 2 --band 1450 1650 10
python -m psinverse.verify runs/3d/L5.4_ws --mode polygon --sub 2 --mfs 0.08 --band 1450 1650 10

The stopped attempts described above (3D L5.4 from scratch, restart from the cleaned contour) are not rerun by the script.

On this page