Gated JoFET switch branch in VACASK#

Required extras

Needs models and the external VACASK simulator: uv sync --extra models (or pip install "qpdk[models]"). Install VACASK, put vacask on PATH or set VACASK; it compiles Verilog-A with the bundled openvaf-r, and Linux also needs binutils. See the extras reference.

One branch of a supercurrent multiplexer [PBT+24] is a single gated Josephson field-effect transistor (JoFET) in series with the signal path. The sample jofet_switch_branch() lays it out with signal_in on the drain, signal_out on the source and a separate gate_bias feed. This notebook switches the gate between the on bias \(V_\text{g} = 0\) and the off bias at the Dirac point, and asks four questions:

  1. How far apart are the on and off states?

  2. Can the extracted capacitances make the junction hysteretic, so that it latches in the voltage state when the gate turns it back on?

  3. How much of the gate edge feeds through to the output, and how fast does the output settle?

  4. Is the transient converged in the time step?

Hide code cell source

import sys

if "google.colab" in sys.modules:
    import subprocess

    print("Running in Google Colab. Installing dependencies...")
    subprocess.check_call([
        sys.executable,
        "-m",
        "pip",
        "install",
        "-q",
        "qpdk[models] @ git+https://github.com/gdsfactory/quantum-rf-pdk.git",
    ])

Hide code cell source

import os
from pathlib import Path
from typing import NamedTuple

import jax
import jax.numpy as jnp
import numpy as np
from matplotlib import font_manager, pyplot as plt

import qpdk.colormaps  # ruff: ignore[unused-import] - registers the style colormap
from qpdk.config import PATH
from qpdk.models.constants import e, ħ, π
from qpdk.models.jofet import (
    JofetParameters,
    jofet_critical_current,
    jofet_gate_capacitance,
    jofet_normal_resistance,
    stewart_mccumber,
)
from qpdk.simulation.vacask import Netlist, Vacask, VacaskError

# Agg suppresses notebook figure outputs in headless CI.
if "ipykernel" in sys.modules:
    from IPython import get_ipython
    from matplotlib_inline.backend_inline import set_matplotlib_formats

    if (ipython := get_ipython()) is not None:
        ipython.run_line_magic("matplotlib", "inline")
        set_matplotlib_formats("png", "svg")

jax.config.update("jax_enable_x64", True)

# The checkout stylesheet is absent from installed wheels.
for _style in (PATH.docs / "qpdk.mplstyle", "qpdk"):
    try:
        plt.style.use(_style)
    except OSError:
        continue
    break

# The stylesheet names fonts that only the docs build ships; register them so
# they resolve without docs/ipython_config.py.
_font_dir = os.environ.get("QPDK_DOCS_FONTS_DIR")
for _fonts in (Path(_font_dir) if _font_dir else None, PATH.repo / "build/docs-fonts"):
    if _fonts is not None and _fonts.is_dir():
        for _font in sorted(_fonts.iterdir()):
            if _font.suffix in {".otf", ".ttf"}:
                font_manager.fontManager.addfont(str(_font))
        break


def show_plot() -> None:
    """Show the current figure with Outfit titles, as the docs config does."""
    fig = plt.gcf()
    for text in [ax.title for ax in fig.axes] + list(fig.texts):
        if text.get_text():
            text.set_fontfamily("Outfit")
            text.set_fontweight("bold")
    plt.show()

On and off states#

The model of Gamaethige et al. [GLB+26] fixes the product \(I_\text{c} R_\text{n}\), so the critical current is smallest where the resistance peaks, at the Dirac point \(V_\text{Dir} = -12.5\,\text{V}\). That is the off bias. The on/off ratios of \(I_\text{c}\) and of \(R_\text{n}\) are then the same number.

Hide code cell source

P = JofetParameters()
V_ON, V_OFF = 0.0, P.dirac_voltage
ic_on, ic_off = (float(jofet_critical_current(v)) for v in (V_ON, V_OFF))
rn_on, rn_off = (float(jofet_normal_resistance(v)) for v in (V_ON, V_OFF))
print(
    f"on  (V_g = {V_ON:g} V):  I_c = {1e9 * ic_on:.1f} nA, R_n = {rn_on:.2f} Ω\n"
    f"off (V_g = {V_OFF:g} V): I_c = {1e9 * ic_off:.1f} nA, R_n = {rn_off:.2f} Ω\n"
    f"on/off I_c ratio = {ic_on / ic_off:.3f}, off/on R_n ratio = {rn_off / rn_on:.3f}"
)
on  (V_g = 0 V):  I_c = 885.9 nA, R_n = 24.48 Ω
off (V_g = -12.5 V): I_c = 160.3 nA, R_n = 135.28 Ω
on/off I_c ratio = 5.525, off/on R_n ratio = 5.525

Gate capacitance#

The access-layout Maxwell matrices from QPDK PR #1231 give each gate-to-contact mutual capacitance and the ideal-channel mutual sum. Their difference after subtracting both contact terms is the sheet share. Only the sheet share is in series with the total graphene quantum capacitance [FKXJ07]. The model splits the resulting sheet contribution equally across the gate-to-drain and gate-to-source branches. The circuit holds the gate mutuals at their average over the bias swing.

The sensitivity run uses the 25 nm meshes with 8 µm domain padding and 2 µm far mesh at all three ground depths. The table below takes the gate-to-reference and contact-to-reference terms from the graphene-excluded row sums. This approximation keeps the ground branches fixed as the sheet acquires charge. The ideal-channel solve joins the contacts and gives only their combined ground branch. At zero silicon depth its gate-to-reference term is about 7.2 fF, compared with 9.0 fF with graphene excluded. The circuit adds the excluded contact-to-contact mutual separately from the nominal 100 fF junction element. The slab depths are electrostatic controls.

Hide code cell source

class Parasitics(NamedTuple):
    """Access-layout capacitances from the matched Palace controls, in F."""

    dg: float
    sg: float
    ds: float
    sheet: float
    d0: float
    s0: float
    g0: float


def from_femtofarads(*values: float) -> Parasitics:
    """Convert all seven values in a Palace row to F."""
    return Parasitics(*(value * 1e-15 for value in values))


PARASITICS = {
    0.0: from_femtofarads(7.6205, 7.6192, 0.06833, 10.6114, 46.0417, 46.0415, 9.0188),
    2.0: from_femtofarads(8.2130, 8.2137, 0.66472, 9.6216, 7.0625, 7.0626, 2.0848),
    10.0: from_femtofarads(8.4255, 8.4279, 1.42884, 9.4795, 2.6535, 2.6535, 1.0727),
}

vg_swing = jnp.linspace(V_OFF, V_ON, 241)


def gate_mutuals(parasitics: Parasitics) -> tuple[float, float]:
    """Return the swing-averaged drain and source mutuals in F."""
    half_sheet = float(jofet_gate_capacitance(vg_swing, parasitics.sheet).mean()) / 2
    return parasitics.dg + half_sheet, parasitics.sg + half_sheet


C_GD, C_GS = gate_mutuals(PARASITICS[0.0])
c_sheet = np.asarray(jofet_gate_capacitance(vg_swing, PARASITICS[0.0].sheet))
print(
    f"sheet in series with C_q: {1e15 * c_sheet.min():.2f} fF at the Dirac point "
    f"to {1e15 * c_sheet.max():.2f} fF at {V_ON:g} V "
    f"({100 * (c_sheet.max() / c_sheet.min() - 1):.1f} % spread)\n"
    f"C_gd = {1e15 * C_GD:.2f} fF, C_gs = {1e15 * C_GS:.2f} fF at the swing average"
)
sheet in series with C_q: 10.06 fF at the Dirac point to 10.46 fF at 0 V (4.0 % spread)
C_gd = 12.80 fF, C_gs = 12.80 fF at the swing average

Hysteresis and latching#

The Stewart-McCumber parameter \(\beta_\text{c} = 2 e I_\text{c} R^2 C / \hbar\) (stewart_mccumber()) measures how underdamped the junction is [McC68, Ste68]. An underdamped junction can stay in the voltage state after the gate turns it back on. It retraps once the current drops below the retrapping current, \(I_\text{r} \approx 4 I_\text{c} / (\pi \sqrt{\beta_\text{c}})\) for \(\beta_\text{c} \gg 1\). That is a latched switch.

The gate capacitances add to \(C_\text{j}\) through the series path drain-gate-source, \(C = C_\text{j} + C_\text{gd} C_\text{gs} / (C_\text{gd} + C_\text{gs})\) when the gate node only connects the two. The gate drive and the load to ground take the circuit part of the way towards the other limit. With the source and gate at AC ground, \(C_\text{gd}\) shunts the junction. The damping estimate uses \(R_\text{n}\) alone. The transient includes the external resistors and capacitors.

The same graphene-excluded extraction also couples each terminal to the back gate. For the case with the PEC plate directly below the oxide, each contact contributes about 46.04 fF and the gate contributes 9.02 fF. The floating limit below treats the gate and back gate as floating nodes for a differential drain-source excitation.

Hide code cell source

nominal = PARASITICS[0.0]


def floating_capacitance(branches: dict[tuple[int, int], float]) -> float:
    """Capacitance between nodes 0 and 1 of a capacitor network, others floating."""
    n = 1 + max(max(pair) for pair in branches)
    laplacian = np.zeros((n, n))
    for (a, b), c in branches.items():
        laplacian[[a, b], [a, b]] += c
        laplacian[[a, b], [b, a]] -= c
    keep = [0, *range(2, n)]  # node 1 is the reference
    return float(1 / np.linalg.inv(laplacian[np.ix_(keep, keep)])[0, 0])


# Nodes: 0 drain, 1 source, 2 gate, 3 back gate.
C_LOADED = P.capacitance + C_GD * C_GS / (C_GD + C_GS)
C_BOUND = P.capacitance + C_GD
C_GROUND = floating_capacitance({
    (0, 1): P.capacitance + nominal.ds,
    (0, 2): C_GD,
    (1, 2): C_GS,
    (0, 3): nominal.d0,
    (1, 3): nominal.s0,
    (2, 3): nominal.g0,
})
C_GROUND_BOUND = C_BOUND + nominal.ds + nominal.d0
cases = {
    "device alone, C_j": P.capacitance,
    "with gate capacitance": C_LOADED,
    "source + gate grounded": C_BOUND,
    "with ground branches": C_GROUND,
    "ground branches, bound": C_GROUND_BOUND,
}
print(f"{'case':26s} {'C (fF)':>8s} {'β_c on':>8s} {'β_c off':>8s}")
for name, c in cases.items():
    b_on = float(stewart_mccumber(ic_on, rn_on, c))
    b_off = float(stewart_mccumber(ic_off, rn_off, c))
    print(f"{name:26s} {1e15 * c:8.1f} {b_on:8.2f} {b_off:8.2f}")


def max_shunt_resistance(critical_current: float, capacitance: float) -> float:
    """Largest resistance across the junction that keeps β_c below 1, in Ω."""
    return float(np.sqrt(ħ / (2 * e * critical_current * capacitance)))


print(
    f"β_c < 1 at the ground-branch bound needs R < "
    f"{max_shunt_resistance(ic_off, C_GROUND_BOUND):.0f} Ω at the Dirac point "
    f"and R < {max_shunt_resistance(ic_on, C_GROUND_BOUND):.0f} Ω on"
)
case                         C (fF)   β_c on  β_c off
device alone, C_j             100.0     0.16     0.89
with gate capacitance         106.4     0.17     0.95
source + gate grounded        112.8     0.18     1.01
with ground branches          129.5     0.21     1.15
ground branches, bound        158.9     0.26     1.42
β_c < 1 at the ground-branch bound needs R < 114 Ω at the Dirac point and R < 48 Ω on

Without the ground branches, \(\beta_\text{c}\) stays below 1 in every case except the bound, about 1.01 at the Dirac point. The ground branches use up that margin: with \(R_\text{n}\) alone, \(\beta_\text{c}\) at the Dirac point is about 1.15 with every external resistor open and 1.42 at the bound. These values are damping estimates. The transient tests whether the branch latches. Latching depends on whether it is still hysteretic when the gate turns back on and \(I_\text{c}\) climbs past the signal current. \(I_\text{c} R_\text{n}\) is fixed, so \(\beta_\text{c} \propto 1/I_\text{c}\) along the swing: at the crossing it is at most about 0.45, and at the on bias about 0.26. The source and load resistances damp the junction further. The section on ground branches below tests this in the transient.

The extraction covers the device and its drawn access leads. If pads or wiring add substantial capacitance across the junction, three options follow from the damping estimate:

  • Shunt the junction with a resistor below the limit printed above. It also shunts the off state, so it costs on/off contrast.

  • Lower the load impedance. The source and load resistances act in parallel with \(R_\text{n}\) at the plasma frequency, which damps the junction, but only if they sit close to the device.

  • Reset by bias. Drop the signal current below \(I_\text{r}\) for a moment after the gate turns on, so the junction retraps.

The last section of this notebook tests the shunt-free mitigation on a deliberately overloaded branch.

The switching transient#

The signal source drives a nominal \(I_\text{on} = 0.5\,\mu\text{A}\) through a source resistance \(R_\text{s} = 50\,\Omega\), the JoFET and a load \(R_\text{L}\) to the common ground. The gate source steps between \(V_\text{on}\) and \(V_\text{off}\) with a linear edge of duration \(\tau\) through \(R_\text{g} = 50\,\Omega\). \(I_\text{on}\) lies between the off and on critical currents, so the junction carries a supercurrent when on and is in the voltage state when off.

Each case runs twice, without and with \(C_\text{gd}\) and \(C_\text{gs}\). The gate turns off at \(t_1 = 5\,\text{ns}\) and back on 10 ns after the edge ends. The output current is \(I_\text{L} = V(\text{s}) / R_\text{L}\).

try:
    vacask = Vacask.find()
except VacaskError as error:
    print(error)
    raise SystemExit(
        "VACASK is not installed; skipping the rest of this notebook."
    ) from None
print(f"Using VACASK at {vacask.binary.name}")
Using VACASK at vacask

Hide code cell source

I_ON = 0.5e-6
R_S, R_G = 50.0, 50.0
T_OFF, HOLD = 5e-9, 10e-9
LOADS = ["jofet.va", "capacitor.osdi", "resistor.osdi"]


class Case(NamedTuple):
    """One switch-branch circuit."""

    load: float  # R_L in Ω
    edge: float  # gate edge duration in s
    gate_caps: bool  # include C_gd and C_gs
    shunt_cap: float = 0.0  # extra capacitance across the junction, F
    reset: float = 0.0  # duration of the signal reset after the on edge, s
    silicon_depth: float | None = None  # matched ground-depth control, in µm

    @property
    def t_on(self) -> float:
        """Start of the on edge in s."""
        return T_OFF + self.edge + HOLD

    @property
    def t_end(self) -> float:
        """End of the on plateau in s."""
        return self.t_on + self.edge + HOLD


def case_lines(k: int, case: Case) -> list[str]:
    """VACASK instances of ``case`` with node suffix ``k``."""
    v_sig = I_ON * (R_S + case.load)
    if case.reset:
        t0 = case.t_on + case.edge
        wave = [0, v_sig, t0, v_sig, t0 + 50e-12, 0, t0 + case.reset, 0]
        wave += [t0 + case.reset + 50e-12, v_sig]
        sig = f'type="pwl" wave=[{", ".join(repr(x) for x in wave)}]'
    else:
        sig = f"dc={v_sig!r}"
    gate = [0, V_ON, T_OFF, V_ON, T_OFF + case.edge, V_OFF]
    gate += [case.t_on, V_OFF, case.t_on + case.edge, V_ON]
    lines = [
        f"vsig{k} (in{k} 0) vsource {sig}",
        f"rs{k} (in{k} d{k}) resistor r={R_S!r}",
        f"rl{k} (s{k} 0) resistor r={case.load!r}",
        f'vgate{k} (gs{k} 0) vsource type="pwl" wave=[{", ".join(repr(float(x)) for x in gate)}]',
        f"rg{k} (gs{k} g{k}) resistor r={R_G!r}",
        f"x{k} (d{k} s{k} g{k}) jofet",
    ]
    parasitics = (
        PARASITICS[case.silicon_depth] if case.silicon_depth is not None else None
    )
    if case.gate_caps:
        gd, gs = gate_mutuals(parasitics) if parasitics is not None else (C_GD, C_GS)
        lines += [
            f"cgd{k} (g{k} d{k}) capacitor c={gd!r}",
            f"cgs{k} (g{k} s{k}) capacitor c={gs!r}",
        ]
    if case.shunt_cap:
        lines.append(f"cx{k} (d{k} s{k}) capacitor c={case.shunt_cap!r}")
    if parasitics is not None:
        lines += [
            f"cd0{k} (d{k} 0) capacitor c={parasitics.d0!r}",
            f"cs0{k} (s{k} 0) capacitor c={parasitics.s0!r}",
            f"cg0{k} (g{k} 0) capacitor c={parasitics.g0!r}",
            f"cds{k} (d{k} s{k}) capacitor c={parasitics.ds!r}",
        ]
    return lines


def simulate(cases: list[Case], max_step: float) -> list[tuple[np.ndarray, np.ndarray]]:
    """Run all cases in one VACASK transient.

    Returns:
        Time in s and load current in A for each case.
    """
    lines = ["model vsource vsource", "model resistor resistor"]
    lines += ["model capacitor capacitor", "model jofet jofet"]
    for k, case in enumerate(cases):
        lines += case_lines(k, case)
    stop = max(case.t_end for case in cases)
    netlist = Netlist(
        "JoFET switch branch",
        loads=LOADS,
        circuit="\n".join(lines),
        control=f"""
            options tolscale=1e-6 reltol=1e-6
            analysis tran1 tran stop={stop!r} step={max_step!r} maxstep={max_step!r} icmode="op"
        """,
    )
    tran = vacask.run(netlist)["tran1"]
    t = tran["time"].real
    return [(t, tran[f"s{k}"].real / case.load) for k, case in enumerate(cases)]

The settling time is that of the output averaged over the 1 ns that follow each instant, which removes the Josephson oscillation of the off state without smearing the edge into later times. It is the time after the end of an edge from which this average stays within 5 % of the swing \(|I_\text{on} - I_\text{off}|\) of its final level, and NaN if it has not settled by the end of the plateau. Because the average looks 1 ns ahead, it can enter the band before the raw output does, so it measures the averaged observable, not the raw response. The feedthrough is the largest deviation on the native simulation samples from the pre-edge level, during the off edge and the 0.5 ns after it. Without gate capacitance that deviation is just the switching step, so the table leaves it out.

Hide code cell source

DT_GRID, WINDOW, LEVEL_WINDOW, TOL = 1e-12, 1e-9, 3e-9, 0.05
TAIL = 0.1e-9  # blanked after each edge in the plots, s


class Metrics(NamedTuple):
    """Levels, feedthrough and settling of one case.

    The settling times are of the forward 1 ns average, NaN if it never settles.
    """

    i_on: float
    i_off: float
    i_back: float
    feedthrough: float
    settle_off: float
    settle_on: float


def forward_mean(x: np.ndarray, n: int) -> np.ndarray:
    """Mean of ``x`` over the ``n`` samples starting at each sample."""
    total = np.concatenate([[0.0], np.cumsum(x)])
    end = np.minimum(np.arange(x.size) + n, x.size)
    return (total[end] - total[: x.size]) / (end - np.arange(x.size))


def plateau_average(case: Case, t: np.ndarray, i_load: np.ndarray, dt: float = 10e-12):
    """Forward 1 ns average of the load current, blank where it overlaps an edge.

    Returns:
        Time grid in s and the averaged current in A.
    """
    grid = np.arange(0.0, case.t_end, dt)
    smooth = forward_mean(np.interp(grid, t, i_load), round(WINDOW / dt))
    for start in (T_OFF, case.t_on):
        smooth[(grid > start - WINDOW) & (grid < start + case.edge + TAIL)] = np.nan
    smooth[grid > case.t_end - WINDOW] = np.nan
    return grid, smooth


def metrics(case: Case, t: np.ndarray, i_load: np.ndarray) -> Metrics:
    """Measure one case from its load current."""
    grid = np.arange(0.0, case.t_end, DT_GRID)
    i = np.interp(grid, t, i_load)
    smooth = forward_mean(i, round(WINDOW / DT_GRID))

    def level(t_stop: float) -> float:
        sel = (grid > t_stop - LEVEL_WINDOW) & (grid <= t_stop)
        return float(i[sel].mean())

    i_on, i_off, i_back = level(T_OFF), level(case.t_on), level(case.t_end)
    swing = abs(i_on - i_off)

    def settle(t_edge_end: float, t_stop: float, final: float) -> float:
        sel = (grid >= t_edge_end) & (grid <= t_stop - WINDOW)
        outside = np.flatnonzero(np.abs(smooth[sel] - final) > TOL * swing)
        if outside.size == 0:
            return 0.0
        if outside[-1] == np.count_nonzero(sel) - 1:
            return np.nan  # out of band at the last sample
        return (outside[-1] + 1) * DT_GRID

    edge = (t >= T_OFF) & (t <= T_OFF + case.edge + 0.5e-9)
    return Metrics(
        i_on=i_on,
        i_off=i_off,
        i_back=i_back,
        feedthrough=float(np.max(np.abs(i_load[edge] - i_on))),
        settle_off=settle(T_OFF + case.edge, case.t_on, i_off),
        settle_on=settle(case.t_on + case.edge, case.t_end, i_back),
    )


SWEEP = [
    Case(load, 1e-9, caps) for caps in (False, True) for load in (10.0, 50.0, 200.0)
]
SWEEP += [Case(50.0, edge, caps) for caps in (False, True) for edge in (0.1e-9, 10e-9)]
STEP_FINE, STEP_COARSE = 0.25e-12, 1e-12
runs = {step: simulate(SWEEP, step) for step in (STEP_FINE, STEP_COARSE)}
results = [metrics(c, *trace) for c, trace in zip(SWEEP, runs[STEP_FINE], strict=True)]

print(
    f"{'R_L':>5s} {'edge':>6s} {'C_g':>4s} {'I_on':>7s} {'I_off':>7s} {'on/off':>6s} "
    f"{'back':>5s} {'feedthr.':>9s} {'C_gs ΔV/τ':>9s} {'t_s off':>8s} {'t_s on':>7s}"
)
print(
    f"{'Ω':>5s} {'ns':>6s} {'':>4s} {'nA':>7s} {'nA':>7s} {'':>6s} {'':>5s} "
    f"{'µA':>9s} {'µA':>9s} {'ns':>8s} {'ns':>7s}"
)
for case, m in zip(SWEEP, results, strict=True):
    scale = C_GS * abs(V_OFF - V_ON) / case.edge if case.gate_caps else 0.0
    print(
        f"{case.load:5g} {1e9 * case.edge:6g} {'yes' if case.gate_caps else 'no':>4s} "
        f"{1e9 * m.i_on:7.1f} {1e9 * m.i_off:7.1f} {m.i_on / m.i_off:6.2f} "
        f"{'yes' if abs(m.i_back - m.i_on) < TOL * abs(m.i_on - m.i_off) else 'no':>5s} "
        f"{f'{1e6 * m.feedthrough:9.3f}' if case.gate_caps else '-':>9s} "
        f"{1e6 * scale:9.3f} "
        f"{1e9 * m.settle_off:8.2f} {1e9 * m.settle_on:7.2f}"
    )
  R_L   edge  C_g    I_on   I_off on/off  back  feedthr. C_gs ΔV/τ  t_s off  t_s on
    Ω     ns           nA      nA                     µA        µA       ns      ns
   10      1   no   500.0   169.9   2.94   yes         -     0.000     0.00    0.00
   50      1   no   500.0   224.6   2.23   yes         -     0.000     0.00    0.00
  200      1   no   500.0   328.5   1.52   yes         -     0.000     0.00    0.00
   10      1  yes   500.0   171.0   2.92   yes   235.911   160.013     0.02    0.00
   50      1  yes   500.0   224.4   2.23   yes   160.380   160.013     0.01    0.01
  200      1  yes   500.0   328.1   1.52   yes    97.460   160.013     0.04    0.01
   50    0.1   no   500.0   224.6   2.23   yes         -     0.000     0.00    0.00
   50     10   no   500.0   224.7   2.23   yes         -     0.000     0.00    0.00
   50    0.1  yes   500.0   224.4   2.23   yes  1600.327  1600.129     0.01    0.01
   50     10  yes   500.0   224.4   2.23   yes    16.368    16.001     0.00    0.00

The on/off ratio of the output current is well below the 5.5 of \(I_\text{c}\). The off state is a resistive voltage divider, not an open switch: the junction in the voltage state still passes current through \(R_\text{n}\) and its mean voltage \(R_\text{n}\sqrt{I^2 - I_\text{c}^2}\) is only a fraction of the drive. A larger load makes the drive more like a voltage source and the contrast worse. Every case returns to its on level (“back”), so none of these circuits latches.

The gate capacitance adds a feedthrough current of about \(C_\text{gs}\,\Delta V_\text{g}/\tau\) for as long as the edge lasts. With a 0.1 ns edge it is about 3000 times the signal. A small load also collects the current that \(C_\text{gd}\) injects into the drain, which passes the superconducting junction, so at \(R_\text{L} = 10\,\Omega\) the spike exceeds \(C_\text{gs}\,\Delta V_\text{g}/\tau\). Once the edge ends, the 1 ns forward average of the output is within the 5 % band after at most a few tens of picoseconds. That is the settling of the averaged observable; the raw output of the off state keeps its Josephson oscillation. On this measure the switching time is the edge itself, and a slower edge trades speed for less feedthrough.

The left panel averages the output over the next 1 ns and leaves out the windows that overlap an edge or the 0.1 ns after it, where the feedthrough would swamp the signal. The right panel shows the raw feedthrough on a time axis that is linear for the first 0.1 ns and logarithmic after it.

Hide code cell source

fig, (ax_load, ax_edge) = plt.subplots(1, 2, figsize=(10, 3.8), layout="constrained")
for case, (t, i_load) in zip(SWEEP, runs[STEP_FINE], strict=True):
    if not case.gate_caps:
        continue
    if np.isclose(case.edge, 1e-9, atol=0):
        grid, smooth = plateau_average(case, t, i_load)
        ax_load.plot(
            1e9 * grid, 1e9 * smooth, label=rf"$R_\mathrm{{L}} = {case.load:g}\,\Omega$"
        )
    if np.isclose(case.load, 50.0, atol=0):
        shown = (t > T_OFF - 0.5e-9) & (t < T_OFF + case.edge + 0.5e-9)
        ax_edge.plot(
            1e9 * (t[shown] - T_OFF),
            1e6 * i_load[shown],
            lw=0.8,
            label=rf"τ = {1e9 * case.edge:g} ns",
        )
ax_load.axvspan(1e9 * T_OFF, 1e9 * SWEEP[0].t_on, color="0.9", label="gate off")
ax_load.set_xlabel("Time (ns)")
ax_load.set_ylabel(r"$I_\mathrm{L}$, next 1 ns average (nA)")
ax_load.set_title("Gate off and on, 1 ns edges")
ax_load.legend()
ax_edge.set_xscale("symlog", linthresh=0.1)
ax_edge.set_xlabel(r"Time after the off edge starts (ns)")
ax_edge.set_ylabel(r"$I_\mathrm{L}$ (µA)")
ax_edge.set_title(r"Feedthrough, $R_\mathrm{L} = 50\,\Omega$")
ax_edge.legend()
fig.suptitle("JoFET switch branch with the extracted gate capacitance")
show_plot()
findfont: Failed to find font weight bold, now using 400.
../_images/ed344fdea70ea514883c21c9e17bc1b551cdfa5a01004c73ced7c414627b38c5.svg ../_images/ed344fdea70ea514883c21c9e17bc1b551cdfa5a01004c73ced7c414627b38c5_dark.svg

Time-step convergence#

The same cases run again with a four times larger maximum time step. The levels and settling times should not move. The settling times are resolved to the 1 ps grid of the measurement.

Hide code cell source

coarse = [metrics(c, *trace) for c, trace in zip(SWEEP, runs[STEP_COARSE], strict=True)]
level_diff = max(
    max(abs(a.i_on - b.i_on), abs(a.i_off - b.i_off), abs(a.i_back - b.i_back))
    / abs(a.i_on - a.i_off)
    for a, b in zip(results, coarse, strict=True)
)
settle_diff = np.max([  # NaN if either run never settles
    [abs(a.settle_off - b.settle_off), abs(a.settle_on - b.settle_on)]
    for a, b in zip(results, coarse, strict=True)
])
feed_diff = max(
    abs(a.feedthrough - b.feedthrough) / a.feedthrough
    for a, b, c in zip(results, coarse, SWEEP, strict=True)
    if c.gate_caps
)
print(
    f"max steps {1e12 * STEP_FINE:g} ps and {1e12 * STEP_COARSE:g} ps:\n"
    f"  levels differ by at most {100 * level_diff:.2f} % of the swing\n"
    f"  settling times by at most {1e12 * settle_diff:.0f} ps\n"
    f"  feedthrough peaks by at most {100 * feed_diff:.2f} %\n"
    f"  time points: {runs[STEP_FINE][0][0].size} and {runs[STEP_COARSE][0][0].size}"
)
max steps 0.25 ps and 1 ps:
  levels differ by at most 0.02 % of the swing
  settling times by at most 2 ps
  feedthrough peaks by at most 0.02 %
  time points: 188003 and 69659

Sensitivity to ground depth#

The 1 ns cases use the full parasitic network for each ground depth. Compare the settled load currents at the two time steps. These controls vary the electrostatic reference.

Hide code cell source

GROUNDED = [
    Case(load, 1e-9, True, silicon_depth=depth)
    for depth in PARASITICS
    for load in (10.0, 50.0, 200.0)
]
grounded = {
    step: [
        metrics(case, *trace)
        for case, trace in zip(GROUNDED, simulate(GROUNDED, step), strict=True)
    ]
    for step in (STEP_FINE, STEP_COARSE)
}
print(
    f"{'Si (µm)':>7s} {'R_L (Ω)':>7s} {'on (nA)':>8s} {'off (nA)':>8s} {'back (nA)':>9s} {'latched':>8s}"
)
for case, result in zip(GROUNDED, grounded[STEP_FINE], strict=True):
    latched = abs(result.i_back - result.i_on) >= TOL * abs(result.i_on - result.i_off)
    print(
        f"{case.silicon_depth:7g} {case.load:7g} {1e9 * result.i_on:8.1f} "
        f"{1e9 * result.i_off:8.1f} {1e9 * result.i_back:9.1f} "
        f"{'yes' if latched else 'no':>8s}"
    )
difference = max(
    abs(getattr(fine, name) - getattr(coarse, name))
    for fine, coarse in zip(grounded[STEP_FINE], grounded[STEP_COARSE], strict=True)
    for name in ("i_on", "i_off", "i_back")
)
print(f"Largest plateau-current change between time steps: {1e9 * difference:.2f} nA")
Si (µm) R_L (Ω)  on (nA) off (nA) back (nA)  latched
      0      10    500.0    170.1     500.0       no
      0      50    500.0    223.1     500.0       no
      0     200    500.0    327.2     500.0       no
      2      10    500.0    170.5     500.0       no
      2      50    500.0    224.3     500.0       no
      2     200    500.0    327.9     500.0       no
     10      10    500.0    169.6     500.0       no
     10      50    500.0    224.3     500.0       no
     10     200    500.0    327.7     500.0       no
Largest plateau-current change between time steps: 0.06 nA

The simulated loads return to 500 nA at all three ground depths. The plateau currents differ by at most 0.06 nA between the 0.25 ps and 1 ps maximum time steps. This result applies to the 1 ns drive and the shown loads. Package capacitance can change the outcome, as the next example illustrates.

An overloaded branch: latching and reset#

To test the latch analysis, add a hypothetical \(C_\text{x} = 10\,\text{pF}\) across the junction, the scale of a pair of large pads over a conducting substrate. The on-state \(\beta_\text{c}\) is then far above 1. A second run drops the signal to zero for 2 ns after the gate turns on, the reset by bias.

Hide code cell source

C_X = 10e-12
LATCH = [Case(50.0, 1e-9, True, C_X), Case(50.0, 1e-9, True, C_X, reset=2e-9)]
r_on_total = 1 / (1 / rn_on + 1 / (R_S + LATCH[0].load))
beta_x = float(stewart_mccumber(ic_on, r_on_total, C_LOADED + C_X))
i_retrap = 4 * ic_on / (π * np.sqrt(beta_x))
print(
    f"on state with C_x: β_c = {beta_x:.1f} with R_n ∥ (R_s + R_L), "
    f"asymptotic retrapping current ≈ {1e9 * i_retrap:.0f} nA < I_on = {1e9 * I_ON:.0f} nA"
)
fig, ax = plt.subplots(figsize=(6, 3.8), layout="constrained")
for case, (t, i_load), label in zip(
    LATCH,
    simulate(LATCH, STEP_FINE),
    ("constant signal", "2 ns signal reset"),
    strict=True,
):
    m = metrics(case, t, i_load)
    print(
        f"{label}: I_on = {1e9 * m.i_on:.0f} nA, I_off = {1e9 * m.i_off:.0f} nA, "
        f"after the gate turns on = {1e9 * m.i_back:.0f} nA"
    )
    grid, smooth = plateau_average(case, t, i_load)
    ax.plot(1e9 * grid, 1e9 * smooth, label=label)
ax.axvspan(1e9 * T_OFF, 1e9 * LATCH[0].t_on, color="0.9", label="gate off")
ax.set_xlabel("Time (ns)")
ax.set_ylabel(r"$I_\mathrm{L}$, next 1 ns average (nA)")
ax.set_title(r"Extra 10 pF across the junction, $R_\mathrm{L} = 50\,\Omega$")
ax.legend()
show_plot()
on state with C_x: β_c = 10.5 with R_n ∥ (R_s + R_L), asymptotic retrapping current ≈ 348 nA < I_on = 500 nA
constant signal: I_on = 500 nA, I_off = 213 nA, after the gate turns on = 407 nA
2 ns signal reset: I_on = 500 nA, I_off = 213 nA, after the gate turns on = 500 nA
../_images/185cdc21a84689c452c861f93384fc5c6da4732d9c14e1dd7d33821b1874242a.svg ../_images/185cdc21a84689c452c861f93384fc5c6da4732d9c14e1dd7d33821b1874242a_dark.svg

With an extra 10 pF across the junction, the branch stayed in the voltage state after the gate returned to its on bias. The mean output after the pulse was 407 nA, against 213 nA off and 500 nA on. A 2 ns signal reset restored the 500 nA on level. In the runs with only the extracted gate and ground capacitances, the branch returned to its on level after the gate pulse.

The capacitors are linear and the drive is noise-free, so the thermal activation that rounds the switching and retrapping currents of a real junction is absent. The energy per transition is not computed here.

References#

[FKXJ07]

Tian Fang, Aniruddha Konar, Huili Xing, and Debdeep Jena. Carrier statistics and quantum capacitance of graphene sheets and ribbons. Applied Physics Letters, 91(9):092109, 2007. doi:10.1063/1.2776887.

[GLB+26]

Shanuka Gamaethige, Markus Lehtisalo, Heorhii Bohuslavskyi, Kari Stadius, Klaara Viisanen, Jussi Ryynänen, and Andrey Generalov. Device models for Josephson field-effect transistors and for superconducting integrated circuits. IEEE Journal of the Electron Devices Society, 2026. doi:10.1109/JEDS.2026.3705996.

[McC68]

D. E. McCumber. Effect of ac impedance on dc voltage-current characteristics of superconductor weak-link junctions. Journal of Applied Physics, 39(7):3113–3118, June 1968. doi:10.1063/1.1656743.

[PBT+24]

Alessandro Paghi, Laura Borgongino, Simone Tortorella, Giorgio De Simoni, Elia Strambini, Lucia Sorba, and Francesco Giazotto. Supercurrent time division multiplexing with solid-state integrated hybrid superconducting electronics. 2024. arXiv:2410.11721, doi:10.48550/arXiv.2410.11721.

[Ste68]

W. C. Stewart. Current-voltage characteristics of Josephson junctions. Applied Physics Letters, 12(8):277–280, 1968. doi:10.1063/1.1651991.