Avalanche photodiode#

This notebook demonstrates the modeling of an on-chip avalanche photodiode (APD). These photodetectors provide internal signal amplification by operating under high reverse bias and are used in many applications where it is necessary to detect very weak optical signals.

The internal gain in an APD arises from impact ionization, which occurs when the electric field is strong enough for charge carriers to gain sufficient kinetic energy to ionize atoms and create additional electron–hole pairs.

The device is inspired by the work of Zhihong Huang, Cheng Li, Di Liang, Kunzhi Yu, Charles Santori, Marco Fiorentino, Wayne Sorin, Samuel Palermo, and Raymond G. Beausoleil, "25 Gbps low-voltage waveguide Si–Ge avalanche photodiode," Optica 3(8), (2016). DOI: https://doi.org/10.1364/OPTICA.3.000793. It consists of a Si waveguide with n-type, intrinsic, and p-type layers, p-type Ge, and aluminum contacts.

We simulate the geometry of Huang et al.Β with published material parameters for Si and Ge. The carrier lifetime is adjusted to the measured dark-current level and is shared by two versions of the device that differ only in doping:

  • the paper doping: charge-layer and Ge concentrations inferred from the depletion voltages reported by Huang et al.

  • the tuned doping: the same layout with these two concentrations adjusted to reproduce the measured current–voltage characteristic.

The general workflow is as follows:

  1. Define multiphysics media

We will define both the optical and charge properties of the materials, including doping, and models for band-to-band tunneling and impact ionization.

  1. Run the optical simulation

We will use ModeSimulation to calculate the waveguide modes.

  1. Calculate optical absorption and carrier generation

A ModeStructureMonitor records the complex permittivity and the structure owning each Yee point, matched to the mode field, from which optical_generation evaluates the volumetric absorbed power:

\(P_{abs} = \tfrac{1}{2} \, \omega \, \varepsilon_0 \, \varepsilon'' \, |E|^2\),

where \(\varepsilon_0\) is the vacuum permittivity, and \(\varepsilon''\) is the imaginary part of the complex permittivity.

It then converts that power into the electron–hole pair generation rate:

\(g = \tfrac{P_{abs}}{\hbar\omega q} \ \text{[1/(s Β΅m}^3)]\)

where \(q\) is the electron charge, counting carriers only where the photon energy reaches the band gap of the owning structure.

  1. Charge simulation

Finally, we will use the carrier generation data in a charge simulation to calculate the dark current and bright current, and compare both devices with the measured curves.

Schematic

[1]:
from dataclasses import dataclass

import numpy as np
import tidy3d as td
from matplotlib import pyplot as plt
from tidy3d import web

# Prevent warning messages relevant only for FDTD simulations
td.config.logging.level = "ERROR"
td.config.simulation.use_local_subpixel = True

Simulation Setup#

First we define global parameters used in the simulation.

Since the structure is symmetric to x = 0, we’re modeling only the right half of the device. With this in mind, every width below is the width of half of the component, i.e., the half being modeled.

[2]:
# Temperature (K)
T0 = 300

# structure overlap
s_ol = 1e-8

wvl_um = 1.55
freq0 = td.C_0 / wvl_um
P_in = 7.63e-7  # guided mode power [W]
DEVICE_LENGTH_UM = 10.0
SYMMETRY_FACTOR = 2.0
MESH_DL = 0.007  # um

The paper does not report the guided optical power behind its illuminated measurement, so P_in is an assumed value, chosen so the simulated illuminated current follows the measured one. Both devices use it.

Geometry#

A small dataclass holds the half cross-section dimensions, with defaults for the contacts, the oxide cladding and the Si slab width. Every structure, monitor and mesh refinement below is built from it.

[3]:
@dataclass(frozen=True)
class Geometry:
    """Half cross-section dimensions in um."""

    si_b_h: float  # Si slab height
    si_t_w: float  # Si mesa width
    si_t_h: float  # Si mesa height
    ge_b_w: float  # Ge bottom width
    ge_t_w: float  # Ge top width
    ge_h: float  # Ge height
    si_b_w: float = 4.4  # Si slab width
    sio2_h: float = 0.6  # SiO2 padding height
    emitter_w: float = 1
    emitter_h: float = 0.6
    collector_w: float = 0.5
    collector_h: float = 0.6
    z_size: float = 1

    @property
    def y_hj(self):
        """Height of the Si–Ge interface."""
        return self.si_b_h + self.si_t_h

    @property
    def total_h(self):
        return 2 * self.sio2_h + self.si_b_h + self.si_t_h + self.ge_h

    @property
    def ge_vertices(self):
        return np.array(
            [
                (-self.ge_b_w, self.y_hj),
                (self.ge_b_w, self.y_hj),
                (self.ge_t_w, self.y_hj + self.ge_h),
                (-self.ge_t_w, self.y_hj + self.ge_h),
            ]
        )

The paper’s stack is a 220 nm Si slab, a 150 nm Si mesa containing the multiplication and charge layers, and 400 nm of Ge whose base is 4 Β΅m wide and whose top is 1.5 Β΅m narrower. Both devices use it.

[4]:
geometry = Geometry(si_b_h=0.22, si_t_w=2.5, si_t_h=0.15, ge_b_w=2.0, ge_t_w=1.25, ge_h=0.40)

Defining Media#

Now, we will define the media for the multiphysics simulations.

The Si and Ge will be modeled with the SemiconductorMedium class.

The dark-current model includes Shockley–Read–Hall generation with Hurkx trap-assisted tunneling, Hurkx band-to-band tunneling, and local impact ionization in both materials. The tunneling exponent sigma is 2.5 for the indirect process in Si and 2 for the direct process in Ge. Si uses the MasettiMobility model with the parameters of Masetti et al., and Ge the Caughey–Thomas model. formulation="PQ" drives impact ionization with the band-edge gradient projected on each carrier’s current direction. Fermi–Dirac statistics are used for the heavily doped contacts.

The parameters that set the dark current and the multiplication are published values:

  • electron affinities of 4.05 eV for Si and 4.00 eV for Ge, which give an un-narrowed conduction-band offset \(E_{C,Ge}-E_{C,Si}=0.05\) eV, and the Ge valence-band density of states, from S. M. Sze, Physics of Semiconductor Devices, 2nd ed.Β (Wiley, 1981).

  • Si impact ionization from R. Van Overstraeten and H. De Man, Solid-State Electron. 13, 583 (1970), with the high-field branch for holes.

  • Ge impact ionization from S. M. Sze and G. Gibbons, Applied Physics Letters 8, 111 (1966).

  • Si band-to-band tunneling and the Si trap-assisted tunneling masses from G. A. M. Hurkx, D. B. M. Klaassen, and M. P. G. Knuvers, IEEE Trans. Electron Devices 39, 331 (1992).

  • Ge direct band-to-band tunneling from K.-H. Kao et al., IEEE Trans. Electron Devices 59, 292 (2012).

The Ge trap-assisted tunneling masses are 0.12 for electrons, the L-valley mass along [100], and 0.19 for holes.

The Shockley–Read–Hall lifetime TAU_0 of 0.35 ns in both materials was chosen to match the measured dark-current level. It should be read as an effective lifetime rather than a measured bulk value. One possible explanation for such a short lifetime is defect-assisted generation near the junction: Ge grown on Si typically contains threading dislocations from the 4% lattice mismatch, and the implanted Si layers near the Ge/Si interface may also be damaged. Either would make SRH generation faster than in device-grade crystal. Trap-assisted tunneling then enhances this generation at high field. In Si the lifetime falls with doping as \(\tau(N)=\tau_0/(1+N/(7.1\times10^{15}\,\mathrm{cm}^{-3}))\), where \(N=N_D+N_A\).

[5]:
TAU_0 = 3.5e-10  # s. Adjusted to the measured dark current

intrinsic_si = td.SemiconductorMedium(
    permittivity=11.7,
    electron_affinity=4.05,
    N_c=td.IsotropicEffectiveDOS(m_eff=1.18),
    N_v=td.IsotropicEffectiveDOS(m_eff=0.8098),
    E_g=td.VarshniEnergyBandGap(eg_0=1.16, alpha=4.73e-4, beta=636),
    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,
    ),
    R=[
        td.ShockleyReedHallRecombination(
            tau_n=td.FossumCarrierLifetime(
                tau_300=TAU_0, alpha_T=0, A=1, B=0, C=1, N0=7.1e15, alpha=1
            ),
            tau_p=td.FossumCarrierLifetime(
                tau_300=TAU_0, alpha_T=0, A=1, B=0, C=1, N0=7.1e15, alpha=1
            ),
            field_enhancement=td.HurkxTrapAssistedTunneling(m_t_n=0.25, m_t_p=0.25),
        ),
        td.RadiativeRecombination(r_const=1.6e-14),
        td.AugerRecombination(c_n=2.8e-31, c_p=9.9e-32),
        td.HurkxDirectBandToBandTunneling(A=4e14, B=1.9e7, E_0=1, sigma=2.5),
        td.SelberherrImpactIonization(
            alpha_n_inf=7.03e5,
            alpha_p_inf=6.71e5,
            E_n_crit=1.231e6,
            E_p_crit=1.693e6,
            beta_n=1,
            beta_p=1,
            formulation="PQ",
        ),
    ],
    delta_E_g=td.SlotboomBandGapNarrowing(
        v1=9 * 1e-3,
        n2=1e17,
        c2=0.5,
        min_N=1e15,
    ),
)

intrinsic_ge = td.SemiconductorMedium(
    permittivity=16,
    electron_affinity=4.0,
    N_c=td.IsotropicEffectiveDOS(m_eff=0.56),
    N_v=td.IsotropicEffectiveDOS(m_eff=0.386),
    E_g=td.VarshniEnergyBandGap(eg_0=0.7437, alpha=0.0004774, beta=235),
    mobility_n=td.CaugheyThomasMobility(
        mu_min=850,
        mu=3900,
        ref_N=2.6e17,
        exp_N=0.56,
        exp_1=0,
        exp_2=-1.66,
        exp_3=0,
        exp_4=0,
    ),
    mobility_p=td.CaugheyThomasMobility(
        mu_min=300,
        mu=1800,
        ref_N=1e17,
        exp_N=1,
        exp_1=0,
        exp_2=-2.33,
        exp_3=0,
        exp_4=0,
    ),
    R=[
        td.ShockleyReedHallRecombination(
            tau_n=td.FossumCarrierLifetime(
                tau_300=TAU_0, alpha_T=0, A=1, B=0, C=0, N0=1e16, alpha=1
            ),
            tau_p=td.FossumCarrierLifetime(
                tau_300=TAU_0, alpha_T=0, A=1, B=0, C=0, N0=1e16, alpha=1
            ),
            field_enhancement=td.HurkxTrapAssistedTunneling(m_t_n=0.12, m_t_p=0.19),
        ),
        td.RadiativeRecombination(r_const=6.41e-14),
        td.AugerRecombination(c_n=1e-30, c_p=1e-30),
        td.HurkxDirectBandToBandTunneling(A=1.46e20, B=6.04e6, E_0=1, sigma=2),
        td.SelberherrImpactIonization(
            alpha_n_inf=1.55e7,
            alpha_p_inf=1.0e7,
            E_n_crit=1.56e6,
            E_p_crit=1.28e6,
            beta_n=1,
            beta_p=1,
            formulation="PQ",
        ),
    ],
    delta_E_g=None,
)

Doping#

Both devices share the doping layout: 220 nm of n-type Si at \(10^{20}\) cm⁻³ (the lower bound of the reported value above \(10^{20}\) cm⁻³), 100 nm of intrinsic Si with a residual acceptor concentration of \(10^{15}\) cm⁻³ (reported as below \(10^{16}\) cm⁻³), a 50 nm p-type charge layer directly under the Ge, and a constant acceptor concentration in the Ge. The top 30 nm of the Ge carry an additional \(10^{18}\) cm⁻³, the concentration in the schematic, as the contact layer under the collector. The layers are placed relative to the Si–Ge interface, and the two functions below take the charge-layer and Ge concentrations as arguments.

[6]:
def si_doping(geo, charge_layer):
    """Acceptor and donor profiles of the Si stack below the Si–Ge interface."""
    n_top = geo.y_hj - 0.15  # top of the n-type Si
    charge_bottom = geo.y_hj - 0.05  # bottom of the charge layer
    n_Si = td.ConstantDoping.from_bounds(
        concentration=1e20,
        rmin=(-geo.si_b_w, 0 - s_ol, -geo.z_size),
        rmax=(geo.si_b_w, n_top, geo.z_size),
    )
    bg_Si = td.ConstantDoping.from_bounds(
        concentration=1e15,
        rmin=(-geo.si_b_w, n_top, -geo.z_size),
        rmax=(geo.si_b_w, charge_bottom, geo.z_size),
    )
    p_Si = td.ConstantDoping.from_bounds(
        concentration=charge_layer,
        rmin=(-geo.si_b_w, charge_bottom, -geo.z_size),
        rmax=(geo.si_b_w, geo.y_hj + s_ol, geo.z_size),
    )
    return {"N_a": [bg_Si, p_Si], "N_d": [n_Si]}


def ge_doping(geo, concentration):
    """Constant Ge acceptors plus the contact layer under the collector."""
    top = geo.y_hj + geo.ge_h
    # Extend outside Ge to cover corner nodes despite boundary rounding.
    background = td.ConstantDoping.from_bounds(
        rmin=(-geo.si_b_w, geo.y_hj - s_ol, -geo.z_size),
        rmax=(geo.si_b_w, top + s_ol, geo.z_size),
        concentration=concentration,
    )
    contact = td.ConstantDoping.from_bounds(
        rmin=(-geo.si_b_w, top - 0.03, -geo.z_size),
        rmax=(geo.si_b_w, top + s_ol, geo.z_size),
        concentration=1e18,
    )
    return {"N_a": [background, contact]}

Paper doping. Fig. 1(a) of Huang et al.Β labels the charge layer \(2\times10^{18}\) cm⁻³ and the Ge \(10^{18}\) cm⁻³. Those sheet charges would keep the Ge and part of the charge layer undepleted at every bias, whereas the paper reports the charge layer depleted near βˆ’2 V and the Ge fully depleted near βˆ’6 V (capacitance measurements in its supplement). A depletion approximation of the layer stack with those two voltages gives about \(3\times10^{17}\) cm⁻³ in the charge layer and \(2\times10^{16}\) cm⁻³ in the Ge. They are inferred from the reported depletion voltages, not from the measured currents.

Tuned doping. The charge layer is \(2\times10^{17}\) cm⁻³ and the Ge \(1.2\times10^{17}\) cm⁻³. These two concentrations are adjusted to the measured dark current. The charge layer mainly sets the punch-through voltage and the Ge concentration the breakdown voltage.

[7]:
# Acceptor concentrations (cm^-3) of the charge layer and of the Ge
doping = {"paper": (3e17, 2e16), "tuned": (2e17, 1.2e17)}

doped_media = {
    name: (
        intrinsic_si.updated_copy(**si_doping(geometry, charge_layer)),
        intrinsic_ge.updated_copy(**ge_doping(geometry, ge)),
    )
    for name, (charge_layer, ge) in doping.items()
}

Building a Device#

A single function turns a Geometry and the two doped semiconductor media into everything the optical and charge simulations need: the MultiPhysicsMedium objects, the Structure objects, and a Scene that the optical and charge solvers share. The charge scene drops the oxide, which carries no current.

[8]:
SiO2 = td.MultiPhysicsMedium(
    charge=td.ChargeInsulatorMedium(permittivity=3.9),
    optical=td.material_library["SiO2"]["Horiba"],
    name="SiO2",
)

Al = td.MultiPhysicsMedium(
    charge=td.ChargeConductorMedium(conductivity=1),
    optical=td.material_library["Al"]["RakicLorentzDrude1998"],
    name="Al",
)


@dataclass
class Device:
    geometry: Geometry
    scene: td.Scene
    charge_scene: td.Scene
    emitter: td.Structure
    collector: td.Structure


def build_device(geo, si_charge, ge_charge):
    Si = td.MultiPhysicsMedium(
        charge=si_charge,
        optical=td.material_library["cSi"]["Palik_LowLoss"],
        name="Si",
    )
    Ge = td.MultiPhysicsMedium(
        charge=ge_charge,
        optical=td.material_library["Ge"]["Nunley"],
        name="Ge",
    )

    si_bottom = td.Structure(
        geometry=td.Box.from_bounds(
            rmin=(-geo.si_b_w, 0, -geo.z_size), rmax=(geo.si_b_w, geo.si_b_h, geo.z_size)
        ),
        medium=Si,
        name="si_bottom",
    )
    si_top = td.Structure(
        geometry=td.Box.from_bounds(
            rmin=(-geo.si_t_w, geo.si_b_h - s_ol, -geo.z_size),
            rmax=(geo.si_t_w, geo.si_b_h + geo.si_t_h + s_ol, geo.z_size),
        ),
        medium=Si,
        name="si_top",
    )
    ge_struct = td.Structure(
        geometry=td.PolySlab(
            vertices=geo.ge_vertices, axis=2, slab_bounds=(-geo.z_size, geo.z_size)
        ),
        medium=Ge,
        name="ge_struct",
    )
    sio2_struct = td.Structure(
        geometry=td.Box.from_bounds(
            rmin=(-geo.si_b_w, -geo.sio2_h, -geo.z_size),
            rmax=(geo.si_b_w, geo.si_b_h + geo.si_t_h + geo.ge_h + geo.sio2_h, geo.z_size),
        ),
        medium=SiO2,
        name="sio2_struct",
    )
    emitter = td.Structure(
        geometry=td.Box.from_bounds(
            rmin=(geo.si_b_w - geo.emitter_w, geo.si_b_h - s_ol, -geo.z_size),
            rmax=(geo.si_b_w, geo.si_b_h + geo.emitter_h, geo.z_size),
        ),
        medium=Al,
        name="emitter",
    )
    collector = td.Structure(
        geometry=td.Box.from_bounds(
            rmin=(-geo.collector_w, geo.si_b_h + geo.si_t_h + geo.ge_h - s_ol, -geo.z_size),
            rmax=(
                geo.collector_w,
                geo.si_b_h + geo.si_t_h + geo.ge_h + geo.collector_h,
                geo.z_size,
            ),
        ),
        medium=Al,
        name="collector",
    )

    structures = [sio2_struct, si_bottom, si_top, ge_struct, emitter, collector]
    scene = td.Scene(structures=structures, medium=td.MultiPhysicsMedium(heat=td.FluidMedium()))
    charge_scene = scene.updated_copy(
        structures=tuple(s for s in structures if s.name != sio2_struct.name)
    )
    return Device(geo, scene, charge_scene, emitter, collector)


devices = {name: build_device(geometry, *media) for name, media in doped_media.items()}
labels = {"paper": "Paper doping", "tuned": "Tuned doping"}

We can plot the structures and the net doping \(N_a - N_d\) of both devices, on a symmetric logarithmic scale.

[9]:
fig, ax = plt.subplots(3, 1, figsize=(9, 8))
devices["paper"].scene.plot(z=0, ax=ax[0])
ax[0].set_title("Structures")
for axis, (name, device) in zip(ax[1:], devices.items()):
    device.scene.plot_structures_property(z=0, property="doping", scale="symlog", ax=axis)
    cbar_ax = fig.axes[-1]
    low, high = cbar_ax.get_ylim()
    ticks = [-1e20, -1e18, -1e16, 0, 1e16, 1e18, 1e20]
    cbar_ax.set_yticks([t for t in ticks if low <= t <= high or np.isclose(t, [low, high]).any()])
    axis.set_title(f"{labels[name]}: net doping")
plt.tight_layout()
plt.show()
../_images/notebooks_AvalanchePhotodiode_17_0.png

Optical Simulation#

Defining the Mode Simulation#

The structures can go into the optical simulation exactly as they are: the mode solver reads the optical component of a MultiPhysicsMedium itself. Keeping them whole matters here, because the charge component carries the band gap needed to turn absorbed power into carriers further down. We also mirror the emitter so the optical cross-section covers the full device.

We build a ModeSimulation over the device cross-section and add a ModeStructureMonitor, which records the complex permittivity and the index of the structure owning each point, at their native Yee positions. The third quantity the generation rate needs β€” the mode’s electric field β€” comes from the mode solve itself and is paired with them when we read the result, so the monitor takes nothing but a name and a box. That pairing only holds while the field sits where the permittivity was recorded, which is why colocate=False is required here rather than merely preferred, along with keeping all three E components in fields; both are validated. The two devices share the geometry, the optical media and the band gaps, so one mode solution serves both.

[10]:
def mode_simulation(device):
    geo = device.geometry
    structures = list(device.scene.structures)
    structures.append(
        device.emitter.updated_copy(
            geometry=device.emitter.geometry.reflected(normal=(1, 0, 0)), name="emitter_left"
        )
    )

    # Optical cross-section in the xy plane.
    # Resolve propagation-axis sampling for modal power normalization.
    opt_grid = td.GridSpec.auto(min_steps_per_wvl=30, wavelength=wvl_um).updated_copy(
        grid_z=td.UniformGrid(dl=0.001)
    )
    opt_sim = td.Simulation(
        size=(2 * geo.si_b_w, geo.total_h, 0),
        center=(0, geo.total_h / 2 - geo.sio2_h / 2, 0),
        structures=structures,
        medium=SiO2.optical,
        run_time=1e-15,
        grid_spec=opt_grid,
        boundary_spec=td.BoundarySpec.all_sides(td.Periodic()),
    )

    # Mode plane through the core
    mode_plane = td.Box.from_bounds(
        rmin=(-geo.si_b_w, -geo.sio2_h, 0),
        rmax=(geo.si_b_w, geo.si_b_h + geo.si_t_h + geo.ge_h + 1, 0),
    )

    # Permittivity and structure ownership, matched to the mode field at read time
    gen_mnt = td.ModeStructureMonitor(
        center=mode_plane.center,
        size=mode_plane.size,
        name="generation",
    )
    return td.ModeSimulation.from_simulation(
        simulation=opt_sim,
        plane=mode_plane,
        mode_spec=td.ModeSpec(num_modes=1),
        freqs=[freq0],
        colocate=False,
        fields=["Ex", "Ey", "Ez"],
        monitors=[gen_mnt],
    )


mode_sim = mode_simulation(devices["paper"])

fig, ax = plt.subplots(figsize=(10, 3))
mode_sim.plot(ax=ax)
ax.set_title("Optical cross-section")
plt.show()
../_images/notebooks_AvalanchePhotodiode_19_0.png

Running the mode solver.

[11]:
mode_data = mode_sim.run_local()
13:29:07 UTC WARNING: The mode plane is not bracketed by the dual grid along the
             normal direction; this happens when it lies within half a cell of
             the simulation boundary. The finite-grid correction is undefined
             there and will not be applied, so mode amplitudes and overlaps at
             this plane may be slightly inconsistent with field monitor data
             computed on the same grid. Move the plane further from the
             simulation boundary to avoid this.

Mode Solver Results#

First, we can visualize the field profiles.

[12]:
fig, ax = plt.subplots(3, 1, figsize=(8, 7))
for axis, component in zip(ax, ("Ex", "Ey", "Ez")):
    mode_data.plot_field(field_name=component, ax=axis)
    axis.set_xlim(-2.5, 2.5)
    axis.set_ylim(0, 1.4)
    axis.set_title(f"Re({component})")
print(f"n_eff = {float(mode_data.modes.n_eff.isel(f=0, mode_index=0)):.4f}")
plt.tight_layout()
plt.show()
n_eff = 4.3426
../_images/notebooks_AvalanchePhotodiode_23_1.png

Generation Rate Calculation#

ModeSimulationData.optical_generation pairs the monitor data with the mode we ask for and turns the two into a generation rate in a single call. It evaluates the absorbed power

\[P_{abs} = \tfrac{1}{2} \, \omega \, \varepsilon_0 \sum_i \varepsilon''_{ii} \, |E_i|^2\]

component by component on each one’s native Yee grid β€” so the permittivity is never interpolated across a material interface β€” divides it by the photon energy to get the pair generation rate, assuming a quantum efficiency of 1, and colocates onto a common grid only at the end.

We assume excitation of the highest-index mode with the guided input power P_in and average the absorbed power over the 10 Β΅m device length. This omits the input taper and longitudinal mode beating described in the paper. For modal power attenuation \(\alpha=4\pi\operatorname{Im}(n_\mathrm{eff})/\lambda\), the length-average factor is \((1-e^{-\alpha L})/(\alpha L)\).

mode_index selects the mode to pair in, in the same indexing the ordinary mode data uses. Mode fields are power-normalized to 1 W, so power_scale is the guided power in watts, here P_in times the length-average factor. temperature is passed so that the band gaps are evaluated at the same temperature as the charge simulation below. We check that the absorbed power integrated over the cross-section agrees with the modal attenuation.

[13]:
# Average modal attenuation over the waveguide length.
alpha = 4 * np.pi * float(mode_data.modes.n_complex.isel(f=0, mode_index=0).imag) / wvl_um
optical_depth = alpha * DEVICE_LENGTH_UM
length_factor = -np.expm1(-optical_depth) / optical_depth if optical_depth > 0 else 1.0

generation = mode_data.optical_generation(
    "generation", mode_index=0, temperature=T0, power_scale=P_in * length_factor
)

absorbed_power = (
    float(generation.absorbed_power_density.squeeze(drop=True).integrate(coord=["x", "y"]))
    * DEVICE_LENGTH_UM
)
modal_absorbed_power = P_in * -np.expm1(-optical_depth)
print(f"Absorbed power: {absorbed_power:.4e} W. Modal attenuation: {modal_absorbed_power:.4e} W")
if not np.isclose(absorbed_power, modal_absorbed_power, rtol=0.02, atol=0):
    raise RuntimeError("Optical absorption and modal attenuation disagree by more than 2%.")
Absorbed power: 7.6026e-07 W. Modal attenuation: 7.5890e-07 W

The returned OpticalGenerationData holds the absorbed power, the carrier generation_rate, and the thermalization_heat_rate that accounts for the rest of the absorbed power. Carriers are counted only where the photon energy reaches the band gap of the structure owning that point, which is read from that structure’s charge medium. At 1550 nm the photon energy of 0.8 eV clears the Ge gap of about 0.66 eV at 300 K but not the 1.12 eV Si gap, so the plot below shows generation confined to the Ge absorber.

Ownership is what keeps the gate on the right side of a material interface. The aluminum collector sits directly on the Ge, and the strongly absorbing points on that contact would otherwise be counted as pairs generated in the Ge rather than as heat deposited in the metal.

[14]:
# The generation rate is zero wherever the band gap gate is closed
g = generation.generation_rate.squeeze(drop=True)

fig, ax = plt.subplots(figsize=(10, 2.5))
np.log10(g.where(g > 0).T).plot(
    vmin=0, ax=ax, cbar_kwargs={"label": "log$_{10}$ g (1/(s Β΅m$^3$))"}
)
ax.set_aspect("equal")
ax.set_xlim(-2.6, 2.6)
ax.set_ylim(-0.2, geometry.y_hj + geometry.ge_h + 0.2)
ax.set_xlabel("x (Β΅m)")
ax.set_ylabel("y (Β΅m)")
ax.set_title("Pair generation rate")
plt.tight_layout()
plt.show()
../_images/notebooks_AvalanchePhotodiode_27_0.png

Charge Simulation#

Now, we can create a HeatChargeSimulation object to perform a charge simulation and calculate the generated currents.

First, we will run a simulation without applying the previously calculated generation rate in order to obtain the dark current, which is the current that flows under a given reverse bias in the absence of illumination, originating from thermally generated carriers and tunneling processes.

Next, we will simulate the device including the generation rate produced by incident light. This yields the bright current. Subtracting the dark current gives the photocurrent.

Bias Sweep#

The sweeps start at βˆ’0.5 V and use 0.5 V steps. With the paper doping the sweep runs to βˆ’12 V. With the tuned doping it refines the step near breakdown and ends at the last bias at which it converges. Past breakdown the current runs away and the steady-state solution stops converging.

[15]:
sweeps = {
    "paper": np.arange(-0.5, -12.01, -0.5).tolist(),
    "tuned": np.arange(-0.5, -9.51, -0.5).tolist()
    + [-9.75, -10.0, -10.05, -10.07, -10.08, -10.085, -10.09],
}

Next, we define the carrier, potential, and steady-state current density monitors.

[16]:
carrier_mnt = td.SteadyFreeCarrierMonitor(
    size=(td.inf, td.inf, td.inf), unstructured=True, name="carrier_mnt"
)
potential_mnt = td.SteadyPotentialMonitor(
    size=(td.inf, td.inf, td.inf), unstructured=True, name="potential_mnt"
)
j_mnt = td.SteadyCurrentDensityMonitor(
    size=(td.inf, td.inf, td.inf), unstructured=True, name="j_mnt"
)
monitors = [carrier_mnt, potential_mnt, j_mnt]

Mesh#

We define an AutoUnstructuredGrid mesh with a reference interface resolution of 5 * MESH_DL / 3 and a six-times-coarser bulk mesh. The explicit transition-distance ratios preserve the near and far distances of the calibrated mesh. We retain the absolute GridRefinementLine objects at the collector–Ge, Si–Ge, charge-layer, and Si n–Si p interfaces, and GridRefinementRegion boxes over the active layers and mesa corners. Field-dependent generation requires checking sensitivity to mesh resolution.

[17]:
def mesh_spec(geo):
    y_hj = geo.y_hj
    collector_ref = td.GridRefinementLine(
        r1=(0, y_hj + geo.ge_h - 0.02, 0),
        r2=(geo.ge_t_w, y_hj + geo.ge_h - 0.02, 0),
        dl_near=MESH_DL,
        distance_near=0.02 * 2,
        distance_bulk=2 * 0.02,
    )
    ge_si_ref = td.GridRefinementLine(
        r1=(0, y_hj, 0),
        r2=(geo.ge_b_w, y_hj, 0),
        dl_near=MESH_DL,
        distance_near=0.02 * 2,
        distance_bulk=2 * 0.02 * 2,
    )
    npp_doping_ref = td.GridRefinementLine(
        r1=(0, y_hj - 0.15, 0),
        r2=(geo.si_t_w, y_hj - 0.15, 0),
        dl_near=MESH_DL,
        distance_near=0.02 * 2,
        distance_bulk=2 * 0.02,
    )
    charge_layer_ref = td.GridRefinementLine(
        r1=(0, y_hj - 0.05, 0),
        r2=(geo.si_t_w, y_hj - 0.05, 0),
        dl_near=MESH_DL,
        distance_near=0.02 * 2,
        distance_bulk=2 * 0.02,
    )
    hj_extra_ref = td.GridRefinementLine(
        r1=(0, y_hj, 0),
        r2=(geo.ge_b_w, y_hj, 0),
        dl_near=0.30 * MESH_DL,
        distance_near=0.30 * 0.04,
        distance_bulk=2 * 0.30 * 0.04,
    )
    vertices = geo.ge_vertices
    triple_point = (float(vertices[np.isclose(vertices[:, 1], y_hj)][:, 0].max()), y_hj, 0)
    tp_dl = 0.10 * MESH_DL
    tp_half = 6 * tp_dl
    tp_ref = td.GridRefinementRegion(
        center=triple_point,
        size=(2 * tp_half, 2 * tp_half, 0),
        dl_internal=tp_dl,
        transition_thickness=2 * tp_half,
    )
    mult_y0, mult_y1 = (y_hj - 0.17, y_hj + geo.ge_h)
    mult_ref = td.GridRefinementRegion(
        center=((geo.ge_b_w + 0.1) / 2, (mult_y0 + mult_y1) / 2, 0),
        size=(geo.ge_b_w + 0.1, mult_y1 - mult_y0, 0),
        dl_internal=MESH_DL,
        transition_thickness=0.05,
    )
    si_edge_ref = td.GridRefinementRegion(
        center=((geo.ge_b_w + geo.si_t_w) / 2, y_hj, 0),
        size=(geo.si_t_w - geo.ge_b_w + 0.1, 0.1, 0),
        dl_internal=MESH_DL,
        transition_thickness=0.05,
    )
    return td.AutoUnstructuredGrid(
        dl_reference=MESH_DL * 5 / 3,
        dl_bulk_ratio=6,
        distance_interface_ratio=3,
        distance_bulk_ratio=1,
        relative_min_dl=0,
        sampling=500,
        uniform_grid_mediums=[],
        mesh_refinements=[
            collector_ref,
            ge_si_ref,
            npp_doping_ref,
            charge_layer_ref,
            si_edge_ref,
            mult_ref,
            hj_extra_ref,
            tp_ref,
        ],
    )

Tolerances and Analysis Type#

Next, we define the tolerance settings and set the analysis type to IsothermalSteadyChargeDCAnalysis.

[18]:
convergence_settings = td.ChargeToleranceSpec(
    rel_tol=1e-12,
    max_pseudo_steps=500,
    ramp_up_iters=1,
    cfl_number=1e10,
    cfl_min=1e4,
)

analysis_type = td.IsothermalSteadyChargeDCAnalysis(
    temperature=T0,
    convergence_dv=0.5,
    tolerance_settings=convergence_settings,
    fermi_dirac=True,
)

Building the Charge Simulations#

The last function assembles a HeatChargeSimulation from a device and a bias list. The emitter is grounded and the collector carries the swept voltage. For the illuminated simulation, the generation rate is added to each semiconductor medium as the DistributedGeneration that OpticalGenerationData exposes directly, which is the generation rate converted from ¡m⁻³ to the cm⁻³ the charge solver expects. With linear_solver="direct", the linear system of each nonlinear iteration is factorized instead of solved iteratively.

The simulation domain includes the symmetry plane and all of the Ge absorber.

[19]:
def charge_simulation(device, voltages, generation=None):
    geo = device.geometry
    bcs = [
        td.HeatChargeBoundarySpec(
            placement=td.StructureBoundary(structure=device.emitter.name),
            condition=td.VoltageBC(source=td.DCVoltageSource(voltage=0)),
        ),
        td.HeatChargeBoundarySpec(
            placement=td.StructureBoundary(structure=device.collector.name),
            condition=td.VoltageBC(source=td.DCVoltageSource(voltage=voltages)),
        ),
    ]

    scene = device.charge_scene
    if generation is not None:
        structures = []
        for struct in scene.structures:
            if isinstance(struct.medium.charge, td.SemiconductorMedium):
                charge = struct.medium.charge
                R = [*charge.R, generation.distributed_generation]
                medium = struct.medium.updated_copy(charge=charge.updated_copy(R=R))
                struct = struct.updated_copy(medium=medium)
            structures.append(struct)
        scene = scene.updated_copy(structures=tuple(structures))

    sim_size_x = 0.95 * geo.si_b_w
    return td.HeatChargeSimulation.from_scene(
        scene=scene,
        size=(sim_size_x, geo.total_h, 0),
        center=(sim_size_x / 2, geo.total_h / 2 - geo.sio2_h / 2, 0),
        monitors=monitors,
        grid_spec=mesh_spec(geo),
        boundary_spec=bcs,
        analysis_spec=analysis_type,
        linear_solver="direct",
    )


dark_sims = {name: charge_simulation(devices[name], sweeps[name]) for name in devices}
bright_sims = {name: charge_simulation(devices[name], sweeps[name], generation) for name in devices}

fig, ax = plt.subplots(figsize=(8, 3))
dark_sims["tuned"].plot(z=0, ax=ax, monitor_alpha=0)
ax.set_title("Charge simulation domain")
plt.tight_layout()
plt.show()
../_images/notebooks_AvalanchePhotodiode_37_0.png

Run Charge Dark Simulations#

Now, we can run the simulations to calculate the dark current generated without incident light.

[20]:
dark_results = {
    name: web.run(sim, task_name=f"APD_charge_{name}") for name, sim in dark_sims.items()
}
13:29:18 UTC Created task 'APD_charge_paper_mesh' with resource_id
             'vom-ca9870b8-7897-4f9b-aecd-069e10f1821f' 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% β€’ 4.0/4.0 kB β€’ ? β€’ 0:00:00

13:29:20 UTC Estimated FlexCredit cost: 0.025. Use 'web.real_cost(task_id)' to
             get the billed FlexCredit cost after a simulation run.
13:29:21 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.
13:29:33 UTC starting up solver
             running solver
13:29:42 UTC status = success
13:29:43 UTC Created task 'APD_charge_paper_solve' with resource_id
             'hec-cf15cb8e-1e8e-4a01-b86a-b17364439e7f' 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% β€’ 4.0/4.0 kB β€’ ? β€’ 0:00:00

13:29:44 UTC Estimated typical FlexCredit cost: 0.284. For charge simulations,
             the billed cost depends on the number of solver iterations required
             for convergence.
             Maximum FlexCredit cost: 13.181. 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.
13:29:46 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.
13:29:55 UTC status = preprocess
13:30:13 UTC starting up solver
             running solver
13:30:31 UTC status = success
↓ simulation_data.hdf5.gz ━━━━━━━━━━━━ 100.0% β€’ 18.6/18.6   β€’ 8.1 MB/s β€’ 0:00:00
                                                MB

13:30:34 UTC Loading results from simulation_data.hdf5
13:30:35 UTC Created task 'APD_charge_tuned_mesh' with resource_id
             'vom-3ed09819-0093-4614-b220-294f125c018c' 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% β€’ 4.0/4.0 kB β€’ ? β€’ 0:00:00

13:30:37 UTC Estimated FlexCredit cost: 0.025. Use 'web.real_cost(task_id)' to
             get the billed FlexCredit cost after a simulation run.
13:30:38 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.
13:30:50 UTC starting up solver
             running solver
13:30:58 UTC status = success
13:30:59 UTC Created task 'APD_charge_tuned_solve' with resource_id
             'hec-f1b3cf0d-0115-4148-9019-18b6b336ab68' 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% β€’ 4.0/4.0 kB β€’ ? β€’ 0:00:00

13:31:00 UTC Estimated typical FlexCredit cost: 0.306. For charge simulations,
             the billed cost depends on the number of solver iterations required
             for convergence.
             Maximum FlexCredit cost: 14.086. 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.
13:31:02 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.
13:31:16 UTC status = preprocess
13:31:29 UTC starting up solver
             running solver
13:32:47 UTC status = success
↓ simulation_data.hdf5.gz ━━━━━━━━━━━ 100.0% β€’ 19.8/19.8   β€’ 19.5 MB/s β€’ 0:00:00
                                               MB

13:32:50 UTC Loading results from simulation_data.hdf5

The two-dimensional half-cross-section returns current per unit waveguide length. We multiply by two for symmetry and by 10 Β΅m for device length. The helper below returns the device current only when every requested bias converged. Contacts are ideal ohmic contacts with no series resistance or current compliance.

[21]:
def device_current(data, requested_voltages):
    """Return device current only when every requested bias converged."""
    dc = data.device_characteristics
    if dc is None or dc.dc_convergence is None:
        raise RuntimeError("The charge sweep did not return convergence information.")
    current = dc.steady_dc_current_voltage
    converged = dc.dc_convergence.converged
    if current is None or current.size != len(requested_voltages):
        raise RuntimeError("The charge sweep did not return every requested voltage.")
    for voltage in requested_voltages:
        point = converged.sel(v=voltage, method="nearest")
        if not np.isclose(float(point.v), voltage):
            raise RuntimeError(f"The charge sweep is missing the {voltage:g} V point.")
        if not bool(point):
            raise RuntimeError(f"The charge solution at {voltage:g} V did not converge.")
    if not np.isfinite(current.values).all():
        raise RuntimeError("The charge sweep contains non-finite current values.")
    return current * DEVICE_LENGTH_UM * SYMMETRY_FACTOR


I_dark_signed = {name: device_current(dark_results[name], sweeps[name]) for name in devices}
I_dark = {name: abs(current) for name, current in I_dark_signed.items()}

# Visualize the x component of the electric current density
tuned_bias = min(sweeps["tuned"])
J = dark_results["tuned"][j_mnt.name].J.sel(z=0, voltage=tuned_bias, method="nearest")
fig, ax = plt.subplots(figsize=(10, 2.5))
J.sel(axis=0).plot(ax=ax, grid=False, cbar_kwargs={"label": "$J_x$ (A/Β΅m)"})
ax.set_aspect("equal")
ax.set_xlabel("x (Β΅m)")
ax.set_ylabel("y (Β΅m)")
ax.set_title(f"Tuned doping: dark current density at {tuned_bias:g} V")
plt.tight_layout()
plt.show()
../_images/notebooks_AvalanchePhotodiode_41_0.png

Run Bright Simulations#

[22]:
bright_results = {
    name: web.run(sim, task_name=f"APD_charge_bright_{name}") for name, sim in bright_sims.items()
}
I_bright_signed = {name: device_current(bright_results[name], sweeps[name]) for name in devices}
I_bright = {name: abs(current) for name, current in I_bright_signed.items()}
13:32:51 UTC Created task 'APD_charge_bright_paper_mesh' with resource_id
             'vom-451736b7-114d-4cde-90e9-68f50c915bae' 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% β€’ 1.2/1.2 MB β€’ 301.3 kB/s β€’ 0:00:00

13:32:53 UTC Estimated FlexCredit cost: 0.025. Use 'web.real_cost(task_id)' to
             get the billed FlexCredit cost after a simulation run.
13:32:54 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.
13:33:06 UTC starting up solver
             running solver
13:33:13 UTC status = success
             Created task 'APD_charge_bright_paper_solve' with resource_id
             'hec-6f685d3e-ce90-45f5-b3af-1fb71c02edaf' 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% β€’ 1.2/1.2 MB β€’ 332.6 kB/s β€’ 0:00:00

13:33:15 UTC Estimated typical FlexCredit cost: 0.284. For charge simulations,
             the billed cost depends on the number of solver iterations required
             for convergence.
             Maximum FlexCredit cost: 13.181. 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.
13:33:17 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.
13:33:29 UTC status = preprocess
13:33:44 UTC starting up solver
13:33:45 UTC running solver
13:34:38 UTC status = success
↓ simulation_data.hdf5.gz ━━━━━━━━━━━ 100.0% β€’ 20.2/20.2   β€’ 16.4 MB/s β€’ 0:00:00
                                               MB

13:34:41 UTC Loading results from simulation_data.hdf5
             Created task 'APD_charge_bright_tuned_mesh' with resource_id
             'vom-b6c2f84a-26ce-44e7-88d7-03d007ef712b' 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% β€’ 1.2/1.2 MB β€’ 302.5 kB/s β€’ 0:00:00

13:34:44 UTC Estimated FlexCredit cost: 0.025. Use 'web.real_cost(task_id)' to
             get the billed FlexCredit cost after a simulation run.
13:34:45 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.
13:34:56 UTC starting up solver
13:34:57 UTC running solver
13:35:05 UTC status = success
             Created task 'APD_charge_bright_tuned_solve' with resource_id
             'hec-b8858a49-cf8f-4f00-a2fa-d5320d5f3dc0' 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% β€’ 1.2/1.2 MB β€’ 300.9 kB/s β€’ 0:00:00

13:35:07 UTC Estimated typical FlexCredit cost: 0.306. For charge simulations,
             the billed cost depends on the number of solver iterations required
             for convergence.
             Maximum FlexCredit cost: 14.086. 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.
13:35:09 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.
13:35:19 UTC status = preprocess
13:35:34 UTC starting up solver
13:35:35 UTC running solver
13:36:31 UTC status = success
↓ simulation_data.hdf5.gz ━━━━━━━━━━━━ 100.0% β€’ 21.4/21.4   β€’ 5.2 MB/s β€’ 0:00:00
                                                MB

13:36:37 UTC Loading results from simulation_data.hdf5

Comparison with the Measurement#

assets/huang2016_fig1d_dark.csv and assets/huang2016_fig1d_illuminated.csv hold the dark and illuminated currents of the 4 Β΅m Γ— 10 Β΅m device, digitized from Fig. 1(d) of Huang et al.Β Between βˆ’1.4 V and 0 V the measured dark current oscillates between \(10^{-11}\) and \(10^{-10}\) A. The paper defines breakdown as the bias at which the current reaches 100 Β΅A and reports βˆ’10 V.

[23]:
measured = {
    kind: np.loadtxt(f"assets/huang2016_fig1d_{kind}.csv", delimiter=",")
    for kind in ("dark", "illuminated")
}
simulated = {"dark": I_dark, "illuminated": I_bright}

colors = {"dark": "tab:blue", "illuminated": "tab:red"}
styles = {"paper": ":", "tuned": "--"}
fig, ax = plt.subplots(figsize=(8, 5))
for kind, data in measured.items():
    ax.semilogy(*data.T, "-", color=colors[kind], lw=1.5, label=f"Measured, {kind}")
for name in devices:
    for kind, currents in simulated.items():
        current = currents[name]
        ax.semilogy(
            current.v,
            current,
            styles[name],
            color=colors[kind],
            lw=1.5,
            label=f"{labels[name]}, {kind}",
        )
ax.axhline(1e-4, color="gray", lw=0.8, ls=":")
ax.text(-11.9, 1.3e-4, "100 Β΅A", color="gray", fontsize=9)
ax.set_xlim(-12.2, 0)
ax.set_ylim(1e-11, 1e-3)
ax.set_xlabel("Bias (V)")
ax.set_ylabel("|I| (A)")
ax.set_title("Dark and illuminated current")
ax.grid(True, alpha=0.3)
ax.legend(fontsize=8, loc="upper right")
plt.show()
../_images/notebooks_AvalanchePhotodiode_45_0.png

The breakdown voltage follows from the swept dark current by log-linear interpolation at 100 Β΅A, where the sweep reaches it:

[24]:
for name in devices:
    current = I_dark[name].sortby("v", ascending=False)
    v, i = np.asarray(current.v), np.asarray(current)
    crossing = np.flatnonzero(i >= 1e-4)
    if crossing.size == 0:
        print(f"{name}: {i[-1]:.2e} A at {v[-1]:+.2f} V, below 100 Β΅A over the whole sweep")
        continue
    k = crossing[0]
    v_bd = np.interp(-4, np.log10(i[k - 1 : k + 1]), v[k - 1 : k + 1])
    print(f"{name}: breakdown at {v_bd:+.3f} V (measured -10 V)")
paper: 7.11e-07 A at -12.00 V, below 100 Β΅A over the whole sweep
tuned: breakdown at -10.082 V (measured -10 V)

At a few biases, the simulated dark current compared with the measured one, with the ratio simulated / measured:

[25]:
v_meas, dark_meas = measured["dark"][np.argsort(measured["dark"][:, 0])].T
print(f"{'V':>6s} {'measured':>10s} {'paper':>10s} {'ratio':>6s} {'tuned':>10s} {'ratio':>6s}")
for bias in (-2.0, -4.0, -6.0, -8.0, -9.0, -9.5):
    reference = np.interp(bias, v_meas, dark_meas)
    row = f"{bias:+6.1f} {reference:10.2e}"
    for name in devices:
        simulated = float(I_dark[name].sel(v=bias, method="nearest"))
        row += f" {simulated:10.2e} {simulated / reference:6.2f}"
    print(row)
     V   measured      paper  ratio      tuned  ratio
  -2.0   7.41e-10   1.07e-09   1.44   7.39e-10   1.00
  -4.0   1.42e-08   3.59e-08   2.52   1.58e-08   1.11
  -6.0   7.77e-08   1.15e-07   1.49   7.25e-08   0.93
  -8.0   2.69e-07   1.98e-07   0.74   2.26e-07   0.84
  -9.0   5.12e-07   2.53e-07   0.49   4.84e-07   0.95
  -9.5   8.14e-07   2.87e-07   0.35   9.11e-07   1.12

Both devices use the same published material parameters and the same adjusted lifetime. With the paper doping, the charge-layer and Ge concentrations follow from the reported depletion voltages, and the device does not reach breakdown within the sweep. The tuned doping changes only these two concentrations. It follows the measured dark current and breaks down close to the measured βˆ’10 V. The abrupt doping profiles, low-field mobilities, and single-mode optical excitation limit quantitative agreement.