Series resistance and RC bandwidth of a silicon phase shifter#
A depletion phase shifter is a pn junction built into a silicon waveguide and operated in reverse bias. The bias sets the width of the depletion region and therefore the free-carrier density in the waveguide core. The refractive index of silicon depends on that density, so the bias also sets the phase of the guided light. How fast the phase can be switched is an electrical question: the depletion region is a capacitor, charged and discharged through the doped silicon between it and the metal contacts.
A DC bias sweep gives the capacitance as the derivative of the stored charge, \(C = \mathrm{d}Q/\mathrm{d}V\), and can be checked against capacitance-voltage measurements. It does not resolve the resistance of the doped silicon, because almost no current flows through a reverse-biased junction. That resistance only appears when the junction is charged and discharged, which is what small-signal AC (SSAC) analysis simulates: the solver expands the drift-diffusion equations to first order around each DC bias point, applies a small sinusoidal voltage and returns the complex terminal current \(I(f)\). The admittance
depends on both the capacitance and the resistance in series with it, and its frequency dependence sets the RC bandwidth of the device.
The device is the silicon rib phase shifter of the Charge solver example, with the same cross section, doping profile and measured capacitance-voltage data from [1]. That example covers the optical side, how the change in carrier density becomes a phase shift. This one covers the electrical side. The SSAC workflow itself is introduced in the Small-signal AC analysis of a silicon PIN photodiode example.

The schematic shows the cross section, the depletion region in the core at two biases, and the small-signal equivalent circuit fitted below: the junction capacitance \(C_j\) charged through the series resistance \(R_s\) of the doped silicon, with a capacitance \(C_p\) in parallel for the dielectric coupling between the two sides of the device [4].
Goal of this notebook#
In this notebook, we will:
Build the phase shifter cross section with doping-dependent mobility and the recombination models.
Run a DC bias sweep, extract the junction capacitance from \(C = \mathrm{d}Q/\mathrm{d}V\) and compare it with the measured data.
Run an SSAC sweep and fit the equivalent circuit to the admittance to obtain \(R_s\), \(C_j\) and \(C_p\).
Estimate the RC bandwidth of a 1 mm lumped arm.
References#
[1] L. Chrostowski and M. Hochberg, Silicon Photonics Design: From Devices to Systems, Cambridge University Press, 2015.
[2] G. A. M. Hurkx, D. B. M. Klaassen and M. P. G. Knuvers, “A new recombination model for device simulation including tunneling,” IEEE Transactions on Electron Devices 39(2):331-338, 1992.
[3] G. Masetti, M. Severi and S. Solmi, “Modeling of carrier mobility against carrier concentration in arsenic-, phosphorus-, and boron-doped silicon,” IEEE Transactions on Electron Devices 30(7):764-769, 1983.
[4] H. Yu and W. Bogaerts, “An equivalent circuit model of the traveling wave electrode for carrier-depletion-based silicon optical modulators,” Journal of Lightwave Technology 30(11):1602-1609, 2012. Open manuscript.
[5] M. A. Green, “Intrinsic concentration, effective densities of states, and effective mass in silicon,” Journal of Applied Physics 67:2944-2954, 1990.
[6] Stanford University, EE311, Ohmic Contacts, section on current crowding and transfer length. Lecture notes.
Setup and imports#
[1]:
import matplotlib.pyplot as plt
import numpy as np
from scipy.optimize import brentq, least_squares
import tidy3d as td
import tidy3d.web as web
Device and simulation setup#
Geometry definition#
The cross section is a standard silicon rib waveguide. A 500 nm wide, 220 nm tall core sits on a 90 nm slab. The slab extends 2.25 µm to either side of the core and ends in a 2.5 µm wide full-thickness section, with the metal contact on top of its outer 1.2 µm. The junction runs vertically through the middle of the core, where the optical mode is strongest.
All dimensions are in micrometers (µm).
[2]:
# Rib waveguide core
w_core, h_core = 0.5, 0.22
# Thin slab on either side of the core (the "clearance" region)
w_clearance, h_clearance = 2.25, 0.09
# Full-thickness silicon leading to the contacts
w_side, h_side = 2.5, 0.22
# Metal contact pads
w_contact, h_contact = 1.2, 0.5
Doping profile#
Six implants define the device on top of a lightly doped p-type background. Two narrow implants form the junction inside the core, two moderately doped implants make the slab conductive, and two \(10^{19}\ \mathrm{cm^{-3}}\) implants form the contacts. GaussianDoping gives each implant a smooth profile.
[3]:
# Lightly doped p-type background
p_background = td.ConstantDoping.from_bounds(
rmin=[-5, 0, -np.inf], rmax=[5, 0.22, np.inf], concentration=1e15
)
# p slab implant
p_slab = td.GaussianDoping.from_bounds(
rmin=[-6, -0.3, -np.inf],
rmax=[-0.15, 0.098, np.inf],
concentration=7e17,
ref_con=1e6,
width=0.1,
source="ymax",
)
# p++ contact implant
p_contact = td.GaussianDoping.from_bounds(
rmin=[-6, -0.3, -np.inf],
rmax=[-2, 0.22, np.inf],
concentration=1e19,
ref_con=1e6,
width=0.1,
source="ymax",
)
# p side of the junction, inside the waveguide core
p_core = td.GaussianDoping.from_bounds(
rmin=[-0.3, 0, -np.inf],
rmax=[0.06, 0.255, np.inf],
concentration=5e17,
ref_con=1e6,
width=0.12,
source="xmin",
)
# n slab implant
n_slab = td.GaussianDoping.from_bounds(
rmin=[0.15, -0.3, -np.inf],
rmax=[6, 0.098, np.inf],
concentration=5e17,
ref_con=1e6,
width=0.1,
source="ymax",
)
# n++ contact implant
n_contact = td.GaussianDoping.from_bounds(
rmin=[2, -0.3, -np.inf],
rmax=[6, 0.22, np.inf],
concentration=1e19,
ref_con=1e6,
width=0.1,
source="ymax",
)
# n side of the junction, inside the waveguide core
n_core = td.GaussianDoping.from_bounds(
rmin=[-0.06, 0.02, -np.inf],
rmax=[0.25, 0.26, np.inf],
concentration=7e17,
ref_con=1e6,
width=0.11,
source="xmax",
)
acceptors = [p_background, p_slab, p_contact, p_core]
donors = [n_slab, n_contact, n_core]
Material models#
The silicon uses a doping-dependent mobility, bandgap narrowing, and bulk and surface recombination, with trap-assisted tunneling as a field-dependent leakage mechanism.
The effective densities of states are computed from effective masses. The light- and heavy-hole masses are chosen to give a room-temperature \(N_v\) of \(3.0 \times 10^{19}\ \mathrm{cm^{-3}}\) [5]. The band gap follows the Varshni temperature dependence, evaluated at 300 K throughout.
[4]:
# Conduction band: six equivalent X valleys in silicon
N_c = td.MultiValleyEffectiveDOS(m_eff_long=0.916, m_eff_trans=0.19, N_valley=6)
# Valence band: light- and heavy-hole effective masses
N_v = td.DualValleyEffectiveDOS(m_eff_lh=0.2, m_eff_hh=1.08)
# Temperature-dependent band gap (Varshni)
E_g = td.VarshniEnergyBandGap(eg_0=1.17, alpha=4.73e-4, beta=636.0)
print(f"N_c(300 K) = {N_c.calc_eff_dos(300.0):.2e} cm^-3")
print(f"N_v(300 K) = {N_v.calc_eff_dos(300.0):.2e} cm^-3")
print(f"E_g(300 K) = {E_g.band_gap_energy(temperature=300.0):.4f} eV")
N_c(300 K) = 2.74e+19 cm^-3
N_v(300 K) = 3.04e+19 cm^-3
E_g(300 K) = 1.1245 eV
We use MasettiMobility, a doping-dependent low-field model based on [3]. The hole parameters are the boron set of [3], including its low-doping cutoff Pc and mu_min2 = 0; the electron parameters are the arsenic set, for which Pc and mu_min2 keep their defaults.
[5]:
mobility_n = td.MasettiMobility(
mu_max=1417.0,
mu_0=52.2,
mu_1=43.4,
Cr=9.68e16,
Cs=3.43e20,
alpha=0.68,
beta=2.0,
exp_max=-2.5,
exp_0=-0.57,
)
mobility_p = td.MasettiMobility(
mu_max=470.5,
mu_0=44.9,
mu_min2=0.0,
mu_1=29.0,
Pc=9.23e16,
Cr=2.23e17,
Cs=6.10e20,
alpha=0.719,
beta=2.0,
exp_max=-2.2,
exp_0=-0.57,
)
Three bulk mechanisms are included: Shockley-Read-Hall (SRH), Auger and radiative recombination. The SRH lifetime uses the Palankovski-Quay parameterization, so it decreases with the local doping. The Hurkx trap-assisted tunneling model [2] enhances the SRH rate in the presence of strong electric fields. Band-to-band tunneling and impact ionization are not included.
[6]:
# Field enhancement of the SRH rate by trap-assisted tunneling; masses in units of m_0
tat = td.HurkxTrapAssistedTunneling(m_t_n=0.25, m_t_p=0.25)
srh = td.ShockleyReedHallRecombination(
tau_n=td.PalankovskiQuayApproxCarrierLifetime(tau_max=1e-5, N_ref=1e16),
tau_p=td.PalankovskiQuayApproxCarrierLifetime(tau_max=1e-5, N_ref=1e16),
field_enhancement=tat,
)
auger = td.AugerRecombination(c_n=2.8e-31, c_p=9.9e-32)
radiative = td.RadiativeRecombination(r_const=1.6e-14)
Slotboom bandgap narrowing is included; the parameters give about 60 meV at \(10^{19}\ \mathrm{cm^{-3}}\).
[7]:
bgn = td.SlotboomBandGapNarrowing(v1=6.92e-3, n2=1.3e17, c2=0.5, min_N=1e15)
Create MultiPhysics media#
The contacts are assigned aluminum’s conductivity, \(\sigma = 3.5 \times 10^7\ \mathrm{S/m}\), converted to \(\mathrm{S/\mu m}\). In this charge simulation they act as ideal ohmic contacts, so the extracted resistance is that of the silicon alone. A contact-resistance estimate is added at the end of the notebook.
[8]:
silicon = td.MultiPhysicsMedium(
charge=td.SemiconductorMedium(
permittivity=11.7,
N_c=N_c,
N_v=N_v,
E_g=E_g,
N_a=acceptors,
N_d=donors,
mobility_n=mobility_n,
mobility_p=mobility_p,
R=[srh, auger, radiative],
delta_E_g=bgn,
),
name="Si",
)
oxide_medium = td.MultiPhysicsMedium(
charge=td.ChargeInsulatorMedium(permittivity=3.9),
name="SiO2",
)
# Aluminum contact pads: 3.5e7 S/m converted to S/µm
contact_medium = td.MultiPhysicsMedium(
charge=td.ChargeConductorMedium(conductivity=3.5e7 * 1e-6),
name="Al",
)
air = td.MultiPhysicsMedium(name="air")
Create geometry structures#
[9]:
structures = [
td.Structure(
geometry=td.Box(center=(0, h_core, 0), size=(10, 5, td.inf)),
medium=oxide_medium,
name="oxide",
),
td.Structure(
geometry=td.Box(center=(-w_core / 4, h_core / 2, 0), size=(w_core / 2, h_core, td.inf)),
medium=silicon,
name="core_p",
),
td.Structure(
geometry=td.Box(center=(w_core / 4, h_core / 2, 0), size=(w_core / 2, h_core, td.inf)),
medium=silicon,
name="core_n",
),
td.Structure(
geometry=td.Box(
center=(-w_core / 2 - w_clearance / 2, h_clearance / 2, 0),
size=(w_clearance, h_clearance, td.inf),
),
medium=silicon,
name="clearance_p",
),
td.Structure(
geometry=td.Box(
center=(w_core / 2 + w_clearance / 2, h_clearance / 2, 0),
size=(w_clearance, h_clearance, td.inf),
),
medium=silicon,
name="clearance_n",
),
td.Structure(
geometry=td.Box(
center=(-w_core / 2 - w_clearance - w_side / 2, h_side / 2, 0),
size=(w_side, h_side, td.inf),
),
medium=silicon,
name="side_p",
),
td.Structure(
geometry=td.Box(
center=(w_core / 2 + w_clearance + w_side / 2, h_side / 2, 0),
size=(w_side, h_side, td.inf),
),
medium=silicon,
name="side_n",
),
td.Structure(
geometry=td.Box(
center=(
-w_core / 2 - w_clearance - w_side + w_contact / 2,
h_side + h_contact / 2,
0,
),
size=(w_contact, h_contact, td.inf),
),
medium=contact_medium,
name="contact_p",
),
td.Structure(
geometry=td.Box(
center=(
w_core / 2 + w_clearance + w_side - w_contact / 2,
h_side + h_contact / 2,
0,
),
size=(w_contact, h_contact, td.inf),
),
medium=contact_medium,
name="contact_n",
),
]
scene = td.Scene(medium=air, structures=structures)
Visualize the device structure#
[10]:
fig, ax = plt.subplots(2, 1, figsize=(11, 5.5))
scene.plot(z=0, ax=ax[0])
ax[0].set_title("Rib phase shifter cross section")
scene.plot_structures_property(z=0, property="doping", ax=ax[1], limits=[-1e18, 1e18])
ax[1].set_title("Net doping (cm$^{-3}$)")
plt.tight_layout()
plt.show()
Zooming into the core shows the junction running vertically through the middle of the rib.
[11]:
fig, ax = plt.subplots(figsize=(5, 4))
scene.plot_structures_property(
z=0,
property="doping",
ax=ax,
hlim=[-0.5, 0.5],
vlim=[-0.1, 0.35],
limits=[-5e17, 5e17],
)
ax.set_title("Junction inside the waveguide core")
plt.tight_layout()
plt.show()
Grid specification#
Carrier densities vary steeply across the junction and in the boundary layers along the oxide interfaces, so the mesh is refined at the material interfaces and again inside the core, where the depletion edge moves as the bias changes. AutoUnstructuredGrid refines the material interfaces automatically and expresses every other cell size as a ratio of a single reference length. The junction itself is a doping step inside one semiconductor medium rather than a material interface, so it attracts
no automatic refinement; a RelativeGridRefinementRegion covers the core explicitly.
After any geometry change, check the extracted capacitance and resistance against a refined mesh.
[12]:
mesh_resolution = 0.015 # reference mesh size (µm)
ref_region_core = td.RelativeGridRefinementRegion(
center=(0.0, h_core / 2, 0),
size=(w_core, h_core, 0),
dl_ratio=1,
transition_thickness_ratio=80,
)
grid_spec = td.AutoUnstructuredGrid(
dl_reference=mesh_resolution,
dl_bulk_ratio=40,
distance_bulk_ratio=2,
relative_min_dl=0,
sampling=500,
non_refined_structures=["oxide"],
mesh_refinements=[ref_region_core],
)
Boundary conditions#
The p contact (anode in the schematic) is grounded and the n contact (cathode) is driven, so a positive applied voltage is a reverse bias.
The etched silicon is clad in oxide. SurfaceRecombinationBC adds a recombination flux at every Si/SiO\(_2\) interface through a MediumMediumInterface placement, here with a recombination velocity of \(10^3\ \mathrm{cm/s}\) for both carriers. The same boundary condition takes a fixed interface charge through its Q_f field, left at its default of zero here.
[13]:
# Recombination velocities in cm/s
surface_srh = td.SurfaceShockleyReedHallRecombination(S_n=1e3, S_p=1e3)
surface_bc = td.HeatChargeBoundarySpec(
condition=td.SurfaceRecombinationBC(model=surface_srh),
placement=td.MediumMediumInterface(mediums=["Si", "SiO2"]),
)
def boundaries(n_source):
"""Ground the p contact and drive the n contact with ``n_source``."""
return [
td.HeatChargeBoundarySpec(
condition=td.VoltageBC(source=td.DCVoltageSource(voltage=0)),
placement=td.StructureBoundary(structure="contact_p"),
),
td.HeatChargeBoundarySpec(
condition=td.VoltageBC(source=n_source),
placement=td.StructureBoundary(structure="contact_n"),
),
surface_bc,
]
Analysis and solver settings#
Differentiating the stored charge amplifies errors in \(Q\). As in the Charge solver example, we use a relative tolerance of \(10^{-11}\). Both analyses use Fermi-Dirac statistics.
[14]:
tolerance = td.ChargeToleranceSpec(rel_tol=1e-11, max_iters=400)
sim_kwargs = dict(
center=(0, 0, 0),
size=(10.5, 4, 0),
structures=structures,
medium=air,
grid_spec=grid_spec,
)
DC analysis: capacitance from \(\mathrm{d}Q/\mathrm{d}V\)#
SteadyCapacitanceMonitor differentiates the stored charge between consecutive points of the bias sweep. A free-carrier monitor around the core is added to look at the depletion region.
Because this is a 2D cross section, every result below is per micrometer of device length.
[15]:
dc_voltages = list(np.linspace(-0.5, 4, 19))
sim_dc = td.HeatChargeSimulation(
monitors=[
td.SteadyCapacitanceMonitor(
center=(0, 0.14, 0), size=(td.inf, td.inf, 0), name="cap"
),
# Free carriers around the core, to watch the depletion region grow
td.SteadyFreeCarrierMonitor(
center=(0, 0.11, 0), size=(1.2, 0.3, 0), name="carriers", unstructured=True
),
],
analysis_spec=td.IsothermalSteadyChargeDCAnalysis(
temperature=300,
convergence_dv=10,
fermi_dirac=True,
tolerance_settings=tolerance,
),
boundary_spec=boundaries(td.DCVoltageSource(voltage=dc_voltages)),
**sim_kwargs,
)
20:14:50 UTC WARNING: max_iters in 'ChargeToleranceSpec' configures the
iterative linear solver and will be ignored by the direct linear
solver, the default for charge simulations. Set
'linear_solver="iterative"' to use them.
[16]:
data_dc = web.run(sim_dc, task_name="phase_shifter_dc")
20:14:51 UTC Created task 'phase_shifter_dc_mesh' with resource_id
'vom-8f41e3ef-a7de-40bc-9dab-7a0afd1e6b94' and task_type
'VOLUME_MESH'.
Tidy3D's VolumeMesher solver is currently in the beta stage. Cost
of VolumeMesher simulations is subject to change in the future.
↑ simulation.hdf5.gz ━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.4/2.4 kB • ? • 0:00:00
20:14:52 UTC Estimated FlexCredit cost: 0.025. Use 'web.real_cost(task_id)' to
get the billed FlexCredit cost after a simulation run.
20:14:53 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.
20:15:05 UTC starting up solver
20:15:06 UTC running solver
20:15:11 UTC status = success
Created task 'phase_shifter_dc_solve' with resource_id
'hec-55fff659-cffd-4094-b5c8-c1d3bd0a9b38' and task_type
'HEAT_CHARGE'.
Tidy3D's HeatCharge solver is currently in the beta stage. Cost of
HeatCharge simulations is subject to change in the future.
↑ simulation.hdf5.gz ━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.4/2.4 kB • ? • 0:00:00
20:15:13 UTC Estimated typical FlexCredit cost: 0.032. For charge simulations,
the billed cost depends on the number of solver iterations required
for convergence.
Maximum FlexCredit cost: 0.205. This assumes the charge solver
reaches its configured iteration limits for all applied biases. Use
'web.real_cost(task_id)' to get the billed FlexCredit cost after a
simulation run.
20:15:15 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.
20:15:25 UTC status = preprocess
20:15:36 UTC starting up solver
running solver
20:15:43 UTC status = success
↓ simulation_data.hdf5.gz ━━━━━━━━━━━━━━━━ 100.0% • 236.7/236.7 kB • ? • 0:00:00
20:15:44 UTC Loading results from simulation_data.hdf5
The capacitance monitor reports \(\mathrm{d}Q/\mathrm{d}V\) separately for the electron and the hole charge inside it, each counted as a positive charge. Reverse bias removes carriers, so both derivatives are negative; the junction capacitance is their average with the sign reversed.
[17]:
cap_mnt = data_dc["cap"]
v_dc = np.asarray(cap_mnt.electron_capacitance.coords["v"].data, dtype=float)
c_e = np.asarray(cap_mnt.electron_capacitance.data, dtype=float)
c_h = np.asarray(cap_mnt.hole_capacitance.data, dtype=float)
c_dc_fF_per_um = -0.5 * (c_e + c_h)
The simulated curve is compared with the measurements of [1], taken from the Charge solver example.
[18]:
cv_measured = np.array(
[
[-0.4, -0.25, 0, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4],
[0.261, 0.248, 0.223, 0.208, 0.198, 0.190, 0.184, 0.175, 0.168, 0.157, 0.150],
]
)
fig, ax = plt.subplots(figsize=(7, 4.5))
ax.plot(cv_measured[0], cv_measured[1] * 10, "r-", lw=2, label="Experimental data")
ax.plot(v_dc, c_dc_fF_per_um * 10, "k.-", lw=1.5, ms=9, label="Tidy3D charge solver (DC)")
ax.set_xlabel("Reverse bias (V)")
ax.set_ylabel("Capacitance (pF/cm)")
ax.set_title("DC capacitance-voltage")
ax.legend()
ax.grid(alpha=0.3)
plt.tight_layout()
plt.show()
# Compare only where measured data exists, rather than extrapolating past it.
inside = (v_dc >= cv_measured[0].min()) & (v_dc <= cv_measured[0].max())
interp_meas = np.interp(v_dc[inside], cv_measured[0], cv_measured[1])
rel = 100 * np.abs(c_dc_fF_per_um[inside] - interp_meas) / interp_meas
print(f"Deviation from experiment: {rel.mean():.1f}% mean, {rel.max():.1f}% max")
Deviation from experiment: 1.7% mean, 3.2% max
The simulated capacitance follows the measured curve over the whole measured bias range.
The depletion region#
The free-carrier densities at 0 V and 4 V show the depletion region widening in the middle of the rib as the reverse bias increases.
[19]:
carriers = data_dc["carriers"]
v_axis = carriers.electrons.values.voltage.data
fig, axes = plt.subplots(2, 2, figsize=(11, 5))
for col, target in enumerate([0.0, 4.0]):
idx = int(np.argmin(np.abs(v_axis - target)))
v_here = float(v_axis[idx])
for row, (name, field) in enumerate(
[("electrons", carriers.electrons), ("holes", carriers.holes)]
):
# Common color scale, so the two biases can be compared by eye. The oxide
# carries no carriers, so log10 gives -inf there, which vmin clamps.
with np.errstate(divide="ignore"):
log_density = np.log10(field.sel(voltage=v_here))
log_density.plot(ax=axes[row][col], grid=False, vmin=2, vmax=19)
axes[row][col].set_title(
f"log$_{{10}}$ {name} (cm$^{{-3}}$), {v_here:.1f} V reverse bias", fontsize=10
)
axes[row][col].set_xlabel("x (µm)")
axes[row][col].set_ylabel("y (µm)")
plt.tight_layout()
plt.show()
SSAC analysis#
The SSAC simulation uses the same device, with an SSACVoltageSource on the n contact that superimposes a 1 mV perturbation on four DC biases, and a frequency sweep from 1 GHz to 1 THz. The source’s voltage list is the DC sweep the solver steps through; at_voltages in IsothermalSSACAnalysis selects the points of that sweep at which the AC solution is computed, and without it SSAC runs only at the last one. Here the two lists are the same. The circuit fit below uses 1 to 100 GHz;
the sweep continues to 1 THz to show where the lumped circuit stops following the device.
[20]:
ssac_biases = [0.0, 1.0, 2.0, 4.0]
freqs = np.logspace(9, 12, 19) # 1 GHz to 1 THz
ac_amplitude = 1e-3 # SSAC is linearized; the amplitude scales the returned current.
sim_ac = td.HeatChargeSimulation(
# A charge simulation requires at least one monitor; the AC current is read from the
# device characteristics, not from this monitor.
monitors=[
td.SteadyPotentialMonitor(
center=(0, 0.14, 0), size=(0.6, 0.3, 0), name="potential", unstructured=True
)
],
analysis_spec=td.IsothermalSSACAnalysis(
temperature=300,
convergence_dv=10,
fermi_dirac=True,
tolerance_settings=tolerance,
freqs=freqs,
at_voltages=ssac_biases,
),
boundary_spec=boundaries(
td.SSACVoltageSource(voltage=ssac_biases, amplitude=ac_amplitude)
),
**sim_kwargs,
)
[21]:
data_ac = web.run(sim_ac, task_name="phase_shifter_ssac")
20:15:46 UTC Created task 'phase_shifter_ssac_mesh' with resource_id
'vom-a27b34eb-5782-446c-93d3-98ef387245ee' and task_type
'VOLUME_MESH'.
Tidy3D's VolumeMesher solver is currently in the beta stage. Cost
of VolumeMesher simulations is subject to change in the future.
↑ simulation.hdf5.gz ━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.5/2.5 kB • ? • 0:00:00
20:15:47 UTC Estimated FlexCredit cost: 0.025. Use 'web.real_cost(task_id)' to
get the billed FlexCredit cost after a simulation run.
20:15:48 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.
20:16:06 UTC starting up solver
20:16:07 UTC running solver
20:16:13 UTC status = success
20:16:14 UTC Created task 'phase_shifter_ssac_solve' with resource_id
'hec-4481fd2c-7cf1-4561-88de-886efc5acb7d' and task_type
'HEAT_CHARGE'.
Tidy3D's HeatCharge solver is currently in the beta stage. Cost of
HeatCharge simulations is subject to change in the future.
↑ simulation.hdf5.gz ━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.5/2.5 kB • ? • 0:00:00
20:16:15 UTC Estimated typical FlexCredit cost: 0.168. For charge simulations,
the billed cost depends on the number of solver iterations required
for convergence.
Maximum FlexCredit cost: 0.201. This assumes the charge solver
reaches its configured iteration limits for all applied biases. Use
'web.real_cost(task_id)' to get the billed FlexCredit cost after a
simulation run.
20:16:18 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.
20:16:54 UTC status = preprocess
20:17:05 UTC starting up solver
20:17:06 UTC running solver
20:17:15 UTC status = success
↓ simulation_data.hdf5.gz ━━━━━━━━━━━━━━━━━━ 100.0% • 50.8/50.8 kB • ? • 0:00:00
20:17:16 UTC Loading results from simulation_data.hdf5
The AC current follows the passive terminal convention, with positive current flowing into the driven contact, and is reported per micrometer of device length. ac_current_voltage is a complex array with coordinates f (frequency) and v (DC bias); selecting one bias gives the current against frequency, and dividing it by the drive amplitude gives the admittance.
[22]:
ac_iv = data_ac.device_characteristics.ac_current_voltage
f_ac = np.asarray(ac_iv.coords["f"].values, dtype=float)
omega = 2 * np.pi * f_ac
admittance = {}
for vb in ssac_biases:
i_ac = np.asarray(ac_iv.sel(v=vb, method="nearest").values).astype(complex).ravel()
admittance[vb] = i_ac / ac_amplitude
At each DC bias, \(\mathrm{Im}[Y]/\omega\) falls with frequency and \(\mathrm{Re}[Y]\) rises. This frequency dependence is what the equivalent circuit below is fitted to.
[23]:
fig, axes = plt.subplots(1, 2, figsize=(12, 4.5))
for vb in ssac_biases:
Y = admittance[vb]
axes[0].loglog(f_ac / 1e9, np.imag(Y) / omega * 1e15, "o-", ms=4, label=f"{vb:g} V")
axes[1].loglog(f_ac / 1e9, np.real(Y) * 1e6, "o-", ms=4, label=f"{vb:g} V")
axes[0].set_xlabel("Frequency (GHz)")
axes[0].set_ylabel("Im(Y)/$\\omega$ (fF/µm)")
axes[0].set_title("Susceptance over angular frequency")
axes[1].set_xlabel("Frequency (GHz)")
axes[1].set_ylabel("Re(Y) (µS/µm)")
axes[1].set_title("Conductance")
for a in axes:
a.grid(alpha=0.3, which="both")
a.legend(title="Reverse bias")
plt.tight_layout()
plt.show()
Fitting the equivalent circuit#
The equivalent circuit of the schematic has the junction capacitance \(C_j\) in series with the resistance \(R_s\) of the doped silicon, and a capacitance \(C_p\) across the terminals:
We fit it over 1 to 100 GHz with positive parameters, minimizing the complex residual relative to the simulated admittance.
[24]:
def circuit_admittance(w, R_s, C_j, C_p):
"""Admittance per unit length of the equivalent circuit."""
return 1j * w * C_p + 1.0 / (R_s + 1.0 / (1j * w * C_j))
def fit_circuit(Y, band):
"""Fit positive circuit parameters using relative complex residuals."""
# Rescale the parameters to similar magnitudes for the optimizer
scales = np.array([1e4, 1e-16, 1e-16])
def residual(parameters):
prediction = circuit_admittance(omega[band], *(parameters * scales))
error = (prediction - Y[band]) / np.abs(Y[band])
return np.concatenate([error.real, error.imag])
fit = least_squares(
residual,
x0=[2.0, 2.0, 0.2],
bounds=(0, np.inf),
xtol=1e-12,
ftol=1e-12,
gtol=1e-12,
)
if not fit.success:
raise RuntimeError(f"Circuit fit failed: {fit.message}")
return fit.x * scales
circuit_band = (f_ac >= 1e9) & (f_ac <= 1e11)
circuit_parameters, circuit_Y = {}, {}
print(f"{'Bias':>6} {'R_s (kΩ·µm)':>13} {'C_j (fF/µm)':>13} {'C_p (fF/µm)':>13} {'Fit error':>10}")
for vb in ssac_biases:
Y = admittance[vb]
parameters = fit_circuit(Y, circuit_band)
circuit_parameters[vb] = parameters
circuit_Y[vb] = circuit_admittance(omega, *parameters)
fit_error = np.max(np.abs(circuit_Y[vb][circuit_band] / Y[circuit_band] - 1))
R_s, C_j, C_p = parameters
print(
f"{vb:>5.1f}V {R_s / 1e3:>13.2f} {C_j * 1e15:>13.4f} {C_p * 1e15:>13.4f}"
f" {100 * fit_error:>9.3f}%"
)
Bias R_s (kΩ·µm) C_j (fF/µm) C_p (fF/µm) Fit error
0.0V 20.91 0.2012 0.0251 0.299%
1.0V 20.97 0.1657 0.0250 0.265%
2.0V 21.00 0.1456 0.0250 0.239%
4.0V 21.02 0.1216 0.0248 0.199%
The fit error is the largest relative complex-admittance error over 1 to 100 GHz.
[25]:
fig, ax = plt.subplots(figsize=(7, 4.5))
for vb in ssac_biases:
error = 100 * np.abs(circuit_Y[vb] / admittance[vb] - 1)
ax.loglog(f_ac / 1e9, error, "o-", ms=4, label=f"{vb:g} V")
ax.axvspan(1, 100, color="grey", alpha=0.1)
ax.set_xlabel("Frequency (GHz)")
ax.set_ylabel("Relative complex-admittance error (%)")
ax.set_title("Equivalent-circuit fit error (fit band shaded)")
ax.grid(alpha=0.3, which="both")
ax.legend(title="Reverse bias")
plt.tight_layout()
plt.show()
The error grows above the fit band, where the lumped circuit no longer follows the device. Across the bias range \(R_s\) is nearly constant, \(C_j\) falls as the depletion region widens, and \(C_p\) stays at the same value.
At low frequency the two capacitors act in parallel, so the terminal capacitance of the circuit is \(C_j + C_p\). It can be compared with the DC charge derivative and with the measured data.
[26]:
c_ssac = {vb: circuit_parameters[vb][1] + circuit_parameters[vb][2] for vb in ssac_biases}
fig, ax = plt.subplots(figsize=(7, 4.5))
ax.plot(cv_measured[0], cv_measured[1] * 10, "r-", lw=2, label="Experimental data")
ax.plot(v_dc, c_dc_fF_per_um * 10, "k.-", lw=1.5, ms=8, label="DC charge derivative")
ax.plot(
ssac_biases,
[c_ssac[vb] * 1e15 * 10 for vb in ssac_biases],
"bs", ms=10, mfc="none", mew=2, label="SSAC circuit, $C_j + C_p$",
)
ax.set_xlabel("Reverse bias (V)")
ax.set_ylabel("Capacitance (pF/cm)")
ax.set_title("Terminal capacitance: DC, SSAC and measurement")
ax.legend()
ax.grid(alpha=0.3)
plt.tight_layout()
plt.show()
for vb in ssac_biases:
c_dc_here = np.interp(vb, v_dc, c_dc_fF_per_um)
print(
f"{vb:+.1f} V: DC {c_dc_here:.4f} | SSAC {c_ssac[vb] * 1e15:.4f} fF/µm"
f" -> {100 * abs(c_ssac[vb] * 1e15 - c_dc_here) / c_dc_here:.2f}% apart"
)
+0.0 V: DC 0.2264 | SSAC 0.2263 fF/µm -> 0.03% apart
+1.0 V: DC 0.1896 | SSAC 0.1907 fF/µm -> 0.61% apart
+2.0 V: DC 0.1698 | SSAC 0.1706 fF/µm -> 0.45% apart
+4.0 V: DC 0.1472 | SSAC 0.1464 fF/µm -> 0.50% apart
The SSAC and DC results agree at every bias, and both follow the measured curve.
A sheet-resistance check#
Each 90 nm slab is 2.25 µm long, and the contact implant covers its outer 0.5 µm. Treating the two segments as uniform layers at the slab and contact implant doping, we compute their sheet resistances from the same mobility model used in the simulation.
[27]:
def masetti_mobility(model, N, T=300.0):
"""Masetti low-field mobility at total doping ``N`` (cm^-3) and temperature ``T``."""
t = T / 300.0
mu_0 = model.mu_0 * t**model.exp_0
mu_min2 = model.mu_min2_resolved * t**model.exp_0
mu_max = model.mu_max * t**model.exp_max
return (
mu_0 * np.exp(-model.Pc / N)
+ (mu_max - mu_min2) / (1.0 + (N / model.Cr) ** model.alpha)
- model.mu_1 / (1.0 + (model.Cs / N) ** model.beta)
)
def sheet_resistance(model, N, thickness_um):
"""Sheet resistance (Ω/square) of a layer of doping ``N`` (cm^-3) and given thickness."""
rho = 1.0 / (td.Q_e * N * masetti_mobility(model, N)) # Ω·cm
return rho / (thickness_um * 1e-4)
x_core_edge = w_core / 2 # where the slab meets the core
x_slab_end = w_core / 2 + w_clearance # where the slab meets the full-thickness silicon
r_estimate = 0.0
for label, model, slab, contact, x_implant in [
("p", mobility_p, p_slab, p_contact, abs(p_contact.bounds[1][0])),
("n", mobility_n, n_slab, n_contact, abs(n_contact.bounds[0][0])),
]:
# Each segment contributes R_sheet * length, in Ω·µm per micrometer of device length
segments = [
("slab implant", slab.concentration, x_implant - x_core_edge),
("contact implant", contact.concentration, x_slab_end - x_implant),
]
for name, N, length in segments:
r_here = sheet_resistance(model, N, h_clearance) * length
r_estimate += r_here
print(
f"{label} {name:<16} N = {N:.0e} cm^-3 L = {length:.2f} µm "
f"mu = {masetti_mobility(model, N):6.1f} cm^2/(V·s) R = {r_here / 1e3:5.2f} kΩ·µm"
)
print(f"\nSlab estimate : {r_estimate / 1e3:.1f} kΩ·µm")
print(f"Fitted R_s at 0 V: {circuit_parameters[0.0][0] / 1e3:.1f} kΩ·µm")
p slab implant N = 7e+17 cm^-3 L = 1.75 µm mu = 183.0 cm^2/(V·s) R = 9.48 kΩ·µm
p contact implant N = 1e+19 cm^-3 L = 0.50 µm mu = 73.2 cm^2/(V·s) R = 0.47 kΩ·µm
n slab implant N = 5e+17 cm^-3 L = 1.75 µm mu = 388.8 cm^2/(V·s) R = 6.24 kΩ·µm
n contact implant N = 1e+19 cm^-3 L = 0.50 µm mu = 108.0 cm^2/(V·s) R = 0.32 kΩ·µm
Slab estimate : 16.5 kΩ·µm
Fitted R_s at 0 V: 20.9 kΩ·µm
The slab estimate is below the fitted \(R_s\); it covers the slab only and leaves out the full-thickness sections, the graded implant edges and the path through the core.
Adding contact resistance#
The contacts in the simulation are ideal, so \(R_s\) is the silicon alone. A finite metal-silicon contact resistivity \(\rho_c\) adds a term that depends on the contact width and on the sheet resistance of the silicon under the metal. The transmission-line model [6] gives, for a device of length \(L\),
We approximate the silicon under each contact as a uniform layer at the contact implant doping.
[28]:
contact_sheets = [
sheet_resistance(mobility_p, p_contact.concentration, h_side),
sheet_resistance(mobility_n, n_contact.concentration, h_side),
]
print("Assumed contact resistivity (Ω·cm²) | Two contacts (kΩ·µm) | Fraction of R_s at 0 V")
for rho_contact in [1e-7, 1e-6, 1e-5]:
rho_um2 = rho_contact * 1e8 # Ω·cm² -> Ω·µm²
r_contacts = sum(
np.sqrt(rho_um2 * r_sheet)
/ np.tanh(w_contact / np.sqrt(rho_um2 / r_sheet))
for r_sheet in contact_sheets
)
print(
f"{rho_contact:>34.1e} | {r_contacts / 1e3:>20.3f}"
f" | {100 * r_contacts / circuit_parameters[0.0][0]:>21.2f}%"
)
Assumed contact resistivity (Ω·cm²) | Two contacts (kΩ·µm) | Fraction of R_s at 0 V
1.0e-07 | 0.114 | 0.54%
1.0e-06 | 0.369 | 1.77%
1.0e-05 | 1.919 | 9.18%
RC bandwidth#
For identical cross sections connected in parallel by ideal electrodes, a length \(L\) has resistance \(R_s/L\) and capacitance \(C_j L\), with \(C_p L\) in parallel. The intrinsic cutoff of the junction branch, \(f_{RC} = 1/(2\pi R_s C_j)\), is independent of length.
For a lumped arm driven through a source resistance \(R_{drive}\), the transfer from the source to the junction capacitor is, with \(s = j\omega\), \(r = R_s/L\), \(c = C_j L\) and \(c_p = C_p L\),
Its cutoff is found from \(|H|^2 = 1/2\). We evaluate it for a 1 mm arm driven through 50 Ω.
[29]:
L_um = 1000.0
R_drive = 50.0
def transfer(f, parameters, length_um, drive_resistance):
"""Source-to-junction voltage transfer of the lumped arm."""
R_s, C_j, C_p = parameters
r = R_s / length_um
c = C_j * length_um
cp = C_p * length_um
s = 2j * np.pi * f
return 1.0 / (
1 + s * (r * c + drive_resistance * (c + cp)) + s**2 * drive_resistance * r * c * cp
)
def loaded_cutoff(parameters):
"""Half-power frequency of the lumped arm, searched inside the simulated band."""
def half_power(f):
return abs(transfer(f, parameters, L_um, R_drive)) ** 2 - 0.5
return brentq(half_power, f_ac[0], f_ac[-1])
f_rc, f_loaded = {}, {}
print(f"{'Bias':>6} {'Intrinsic RC (GHz)':>19} {'1 mm arm, 50 Ω (GHz)':>21}")
for vb in ssac_biases:
R_s, C_j, C_p = circuit_parameters[vb]
f_rc[vb] = 1.0 / (2 * np.pi * R_s * C_j)
f_loaded[vb] = loaded_cutoff(circuit_parameters[vb])
print(f"{vb:>5.1f}V {f_rc[vb] / 1e9:>19.2f} {f_loaded[vb] / 1e9:>21.2f}")
Bias Intrinsic RC (GHz) 1 mm arm, 50 Ω (GHz)
0.0V 37.84 10.48
1.0V 45.82 12.56
2.0V 52.05 14.14
4.0V 62.25 16.65
[30]:
fig, ax = plt.subplots(figsize=(7, 4.5))
ax.plot(ssac_biases, [f_rc[v] / 1e9 for v in ssac_biases], "s-", label="Intrinsic junction RC")
ax.plot(
ssac_biases,
[f_loaded[v] / 1e9 for v in ssac_biases],
"o--",
label=f"{L_um:g} µm arm driven through {R_drive:g} Ω",
)
ax.set_xlabel("Reverse bias (V)")
ax.set_ylabel("Electrical cutoff (GHz)")
ax.set_title("RC bandwidth from the fitted circuit")
ax.grid(alpha=0.3)
ax.legend()
plt.tight_layout()
plt.show()
The intrinsic cutoff rises with reverse bias as \(C_j\) shrinks. Driven through 50 Ω, the 1 mm arm has a much lower cutoff, because at this length the source resistance is larger than \(R_s/L\). For a traveling-wave electrode, the fitted \(R_s\), \(C_j\) and \(C_p\) are the per-length junction elements of the model in [4].
Conclusion#
This example extracts the series resistance and junction capacitance of a silicon depletion phase shifter by fitting the equivalent circuit to its small-signal admittance over 1 to 100 GHz. The fitted \(R_s\) is independent of bias, the low-frequency capacitance \(C_j + C_p\) agrees with the DC charge derivative and with the measurements, and the fitted parameters give the RC bandwidth of a lumped arm directly.