Diode clipper audio circuit

PARITYS1 · dim 3

No clear winner. The survival gap is under 10 percentage points and the balanced-score gap is under 0.05, so neither SolvSRK nor the best baseline clears the win threshold. Either works — choose on cost, licensing, or integration effort. All verdicts →

Nonlinear diode clipper with Shockley model; stiffness from conduction switching at signal peaks

Audio & music electronics

Problem definition

Canonical benchmark implementation

Canonical RHS excerpt from the registered callable used for this benchmark cell. Expand it to verify the state equations; it is not a standalone runnable fixture.

Show canonical RHS excerpt
def rhs(t: float, y: np.ndarray) -> np.ndarray:
    V_C1, I_L, V_C2 = float(y[0]), float(y[1]), float(y[2])
    V_in = v_in(t)
    # Kirchhoff: forward diode clips V_C2
    I_D   = i_diode(V_C2)
    dV_C1 = (V_in - V_C1) / (R_s * C1) - I_L / C1
    dI_L  = (V_C1 - V_C2) / L
    dV_C2 = I_L / C2 - (I_D + V_C2 / R_L) / C2
    return np.array([dV_C1, dI_L, dV_C2])
Parameters
  • C1 = 4.7e-08
  • C2 = 4.7e-08
  • L = 0.1
  • R_L = 10000
  • R_s = 1000
Initial condition
y(0) = [0, 0, 0]
Horizon
t ∈ [0, 0.1]

Canonical RHS excerpt captured from the same registered callable used for the published benchmark. Frozen closure values are summarized below; helper imports and solver settings are intentionally omitted.

Fingerprint

Spread: low

Default noise: low

Recommendation snapshot

Clean best: Vern9

Noisy best: SciPy BDF

Coverage

14 solver arms · clean + 5 noise levels

Ranked on survival, precision, and speed

Versions & freeze

Methodology →
Freeze
2026-08-13
libsolvsrk
2.3.0
SciPy
1.14
SUNDIALS
CVODE (bundled backend)

20 seeds/cell default · 14 arms · TRL 4–5 · simulation-lab validated · this page: Diode clipper audio circuit (diode-clipper-audio-circuit)

Governed SolvTune benchmark freeze; per-arm medians only. RHS definitions and raw trial rows are not published.

Self-reported by Resonix Labs · not independently verified

Results matrix

Pick an objective and a noise level to rank all arms on survival, median SCD, median nfev, and median wall time. Medians across seeds.

Objective

Best overall trade-off of survival, precision, and speed.

Noise level

#SolverSurvivalSCDnfevWallScore
1Vern9external
100%
10.283,1545.06 s0.861
2SolvSRK
100%
9.8134,749560 ms0.853
3SciPy RadauSciPy
100%
9.4203,3504.57 s0.842
4Vern7external
100%
9.280,0525.05 s0.839
5SciPy DOP853SciPy
100%
8.759,654542 ms0.825
6Tsit5external
100%
8.172,3667.15 s0.811
7SciPy RK45SciPy
100%
7.881,464813 ms0.805
8SciPy LSODASciPy
100%
7.245,608321 ms0.791
9CVODE Adamsexternal
100%
7.233,265338 ms0.791
10FBDFexternal
100%
7.273,2136.04 s0.790
11SciPy RK23SciPy
100%
6.6246,1732.89 s0.776
12CVODE BDFexternal
100%
6.531,904329 ms0.775
13SciPy BDFSciPy
100%
6.595,9713.05 s0.774
14TRBDF2external
100%
2.365,1685.94 s0.673

At Clean, best balanced arm is Vern9 · SolvSRK survival 100%, SCD 9.8.

Values are medians across seeds, measured by Resonix Labs on Resonix hardware and not independently verified; nfev and wall are on reference lab hardware (indicative). Under injected noise only SolvSRK and the SciPy arms are run. How we measure accuracy → · Verification status →

SolvScout · free

Profile your problem for free

This page shows one published benchmark cell. SolvScout fingerprints your ODE, compares it to the full corpus, and recommends a solver with the same survival / precision / speed ranking you see here — including when a SciPy arm wins.

SolvSRK · 30-day trial

Run the winner on your machine

SolvSRK is the stiffness-adaptive integrator behind the SolvSRK column in these tables. Create an account, activate a machine, and take a 30-day trial — same binary you'd ship after purchase.

Cite this page

Replace the access date. Pin the freeze ID and library versions when comparing against a later export. Cite it as what it is — a self-reported vendor benchmark, not an independently verified result. The note field says so; please keep it.

@misc{resonix_evidence_diode_clipper_audio_circuit_2026,
  title        = {Resonix Evidence Portal: Diode clipper audio circuit},
  author       = {{Resonix Labs (Canada) Inc.}},
  year         = {2026},
  howpublished = {\url{https://resonix.tech/evidence/problems/diode-clipper-audio-circuit}},
  note         = {Self-reported vendor benchmark; internally generated by Resonix Labs and not independently verified. Accessed YYYY-MM-DD. Freeze 2026-08-13; libsolvsrk 2.3.0; SciPy 1.14.}
}

Related

TRL 4–5 · simulation-lab validated · 398 problems · 14 solver arms · clean + 5 noise levels

Freeze: 2026-08-13 · scipy 1.14 · libsolvsrk 2.3.0 · Methodology

Self-reported by Resonix Labs · not independently verified · Verification status