Neurostimulation · Waveform · Tissue

Compare, quantify and rank neurostimulation waveforms on a common bench.

A browser simulator that faithfully reproduces the electrical behavior of eight human tissues under eight reference waveforms. No installation. No account. Open to any waveform you submit.

The bench

8 waveforms × 8 tissues, on 4 quantitative axes

Every canonical biphasic waveform — rectangular, sinusoidal, Wongsarnpigoon-Grill, biomimetic Bézier, triangular, exponential, plus two clinical rectangular variants — is propagated through eight Foster networks synthesized from Cole-Cole parameters (IT'IS V5).

  • Out-of-band spectral leakage on voltage
  • Out-of-band spectral leakage on current
  • Faradaic vs capacitive share of energy
  • Peak current per unit delivered charge

A C¹-continuity criterion explains the merit order. The cubic Bézier outperforms the industrial rectangle by two to three orders of magnitude at fixed clinical dose.

Method

From waveform to score, in three steps.

The simulator runs entirely in your browser: no data leaves your machine. The eight reference tissues are pre-computed server-side; your own waveforms are simulated on the fly.

01

You submit a waveform

Rectangular, sinusoidal, parametric Bézier, or your own uploaded PWL. Amplitude, period, phase freely parameterized.

02

GLIA runs in your browser, seconds per waveform

GLIA (Generalised Layered Impedance Analyzer) is a per-branch exponential integrator on the Foster network, with modelled source rise-time and adaptive sub-stepping around each transition. Fast mode (200 ns) runs a few seconds per waveform; Fine mode (50 ns) is ~4× slower. Runs entirely client-side, no server.

03

dB score per tissue, global rank

Comparison against the eight references on the four axes, in decibels referenced to Bézier. Radar per tissue, global aggregate.

Complete pipeline, ngspice subcircuits and campaign data available on Zenodo (doi:10.5281/zenodo.21376086).

Illustrated on skin

The industrial rectangle demands ten times more peak current than Bézier, for the same charge delivered to the tissue.

From campaign v12, skin tissue, 15 ms period, 1 V amplitude. The rectangle demands from the stimulator a peak current two to five times higher, with the same net charge, the same delivered energy. Bézier does the same work with less demanding hardware.

8.64mA
Rectangle · peak |I|
0.71mA/nC
Rectangle · peak / charge
2.13mA
Bézier · peak |I|
0.18mA/nC
Bézier · peak / charge