BioniChaos Logo
  • Home
  • About
  • Contact
Device Configurations
Biophysical Conditions
Live Pipeline Metrics
Bandwidth: 30.7 Mbps
Signal SNR: 18.5 dB
Sampling Rate: 30 kHz
Attenuation: -0.2 dB

Overview

Neural interfaces represent a highly multi-disciplinary frontier in biomedical engineering, bridging microelectronics, neurophysiology, materials science, and signal processing. To capture information from or stimulate the central nervous system, an array of approaches with contrasting trade-offs has emerged. The primary governing axis of any brain-computer interface (BCI) is the balance between **surgical invasiveness** and **physical signal resolution**. This sandbox simulator acts as an interactive biophysical lab designed to model and compare leading paradigms of clinical neurotechnology.

At the core of the biophysical challenge is volume conduction. Action potentials propagating along the lipid bilayers of neurons generate micro-currents. When observed within the brain tissue, these present as high-frequency transient voltages (spikes), typically measured on the order of tens of microvolts ($\mu\text{V}$). However, as these electric potentials propagate outwards from the cortical tissue source to the surrounding biological boundaries, they face progressive attenuation and spatial filtering. This spatial degradation is mathematically described by volume conduction models. For a point current source $I$ in an isotropic, homogeneous medium with electrical conductivity $\sigma$, the extracellular potential $\Phi$ at distance $r$ is: $$\Phi(r) = \frac{I}{4 \pi \sigma r}$$

When signals propagate through highly resistive biological boundaries—such as the dura mater, fluid boundaries, skull bone, and skin—the spatial resolution behaves as a low-pass filter. The bone layer exhibits significantly lower electrical conductivity ($\sigma_{\text{bone}} \approx 0.006 \text{ S/m}$) compared to cerebrospinal fluid ($\sigma_{\text{CSF}} \approx 1.79 \text{ S/m}$) or brain parenchyma ($\sigma_{\text{gray\_matter}} \approx 0.33 \text{ S/m}$). This high resistivity acts to attenuate high-frequency extracellular voltage spikes, reducing them to smeared, low-frequency local field potentials (LFPs) by the time they reach the scalp or sub-scalp layers. This simulator models the distinct biological layers to illustrate why intracortical microelectrodes can easily track single action potentials, while subcutaneous or endovascular methods measure field aggregates or spatial averages.

How to Use

This visualizer is structured into two main displays: the **Anatomical Cross-Section** on the left side of the canvas, showing the structural path of each implant, and the real-time **Oscilloscope and Frequency Spectrogram** on the right side of the canvas.

Follow these interactive guidelines to explore the biophysical realities of each neural implant:

  • Implant Paradigm Selection: Use the dropdown menu under *Device Configurations* to toggle between the six paradigms. Observe how the anatomical view dynamically shifts to display the spatial placement of the target device:
    • Neuralink N1 (Intracortical): Located inside the cortex layer at depth $d \approx 1.5\text{ mm}$, demonstrating high-bandwidth spike capturing with minimal spatial filtering.
    • Synchron Stentrodeâ„¢ (Endovascular): Positioned within a blood vessel running above the cerebral cortex, picking up regional local field potentials through the blood vessel wall.
    • Epiminder Minder iCEM® (Sub-scalp): Positioned outside the skull but beneath the scalp skin, demonstrating highly stable regional field tracking.
    • UNEEG SubQ (Subcutaneous): Placed immediately in the subcutaneous tissue, capturing regional EEG dynamics over massive timeframes.
    • NeuroPace RNS (Depth Closed-Loop): Located deep in cortical or subcortical regions, displaying active closed-loop seizure monitoring and burst stimulation.
    • Cochlear Implant (Auditory Spiral): Inserted directly into the tonotopic spiral of the cochlear duct, converting external sound into micro-current pulses along the auditory nerve.
  • Depth and Impedance Parameters: Slide the *Surgical Placement Depth* and *Tissue Impedance* controls. Notice how deep tissue impedance $Z$ introduces thermal noise, directly visible on the oscilloscope signal track as jitter and voltage fluctuations.
  • Electrode Scale & Bandwidth: Change the *Active Electrodes* configuration to observe the total real-time bandwidth calculation. Higher electrode counts generate dense neural matrices but require robust power and wireless telemetry management.
  • Biophysical Interference & Artifacts: Toggle the *Eye-Blink/Muscle Artifact* control. Observe how physiological artifacts (such as high-amplitude ocular movements or cranial muscle contractions) severely distort non-invasive or shallow implants (like sub-scalp or subcutaneous arrays), while deep intracortical probes remain largely unaffected.
  • Seizure Mode and Closed-Loop Response: Select the *NeuroPace RNS* or any cortical probe and check *Trigger Simulated Epileptic Seizure*. Watch the oscilloscope transition from low-amplitude baseline rhythms into rhythmic, high-voltage spike-wave discharges. For the closed-loop RNS, observe the system detect the seizure envelope and automatically deliver brief, high-frequency stimulation bursts to suppress the abnormal biological feedback loop.
  • Audio Feedback Laboratory: Click the *Sound ON/OFF* button to enable real-time auditory synthesis. For motor and cortical BCI modes, the system synthesizes audible "clicks" corresponding to biological neural spiking, simulating the classic auditory monitor setup of a professional electrophysiology laboratory. For the Cochlear Implant, it synthesizes pitch-modulated waves representing localized auditory tonotopy stimulation.

Technical Details

The digital signal generator inside the simulator constructs physical signals using overlapping waveform models. For the cortical and deep-tissue paradigms, extracellular action potentials (EAPs) are synthesized using a customized asymmetric biphasic wave function modeling a rapid sodium-channel influx followed by potassium-channel repolarization: $$V_{\text{spike}}(t) = A \cdot \left(1 - \frac{t - t_0}{\tau_1}\right) \cdot e^{-\frac{t - t_0}{\tau_2}}$$

Where $A$ is the peak voltage amplitude, $t_0$ is the spike onset time, and parameters $\tau_1, \tau_2$ shape the repolarization decay and hyperpolarization phases. In this simulator, if tissue depth exceeds the cortical layer boundary, these discrete spikes undergo a low-pass spatial filter modeling signal attenuation over distance. The high-frequency components are filtered using an attenuation coefficient $\alpha(f, d)$ that is dependent on placement depth $d$ and frequency $f$: $$\alpha(f, d) = \exp\left(-d \cdot \sqrt{2 \pi f R C}\right)$$

Background thermal noise is computed using the classical Johnson-Nyquist noise voltage equation across the modeled tissue impedance $Z$: $$V_{\text{noise}} = \sqrt{4 k_B T \cdot Z \cdot \Delta f}$$ where $k_B$ is the Boltzmann constant, $T$ is the temperature in Kelvin, $Z$ represents the real-world biological tissue impedance, and $\Delta f$ is the recording bandwidth. High-impedance scarring or encapsulation increases thermal background noise, which deteriorates the Signal-to-Noise Ratio (SNR): $$\text{SNR}_{\text{dB}} = 10 \log_{10} \left( \frac{V_{\text{signal}}^2}{V_{\text{noise}}^2} \right)$$

The execution loop uses standard high-efficiency HTML5 `requestAnimationFrame` routines driving a dual-pass rendering flow on the responsive `` element. DPI normalization scale factors ($DPR$) are continuously calculated to resize the backing store buffer sizes without shifting the desktop layout boundaries. Audio synthesis is managed via a dedicated Web Audio API context. Upon unmuting, the pipeline routes custom script synthesis nodes to simulate raw neuronal spike static clicks and frequency-modulated carrier waves.

Future Directions

The future of neural engineering points toward improving biological compatibility and maximizing long-term recording stability. Current rigid silicon and metal micro-electrode arrays inevitably trigger a foreign body response. Over months and years, glial cells (astrocytes and microglia) form a thick fibrotic scar sheath around the implant, increasing tissue impedance and pushing target neural bodies outside the signal recording envelope. Future iterations of this laboratory simulator will explore dynamic models of glial scarring, allowing users to accelerate time scales and observe how chronic glial responses gradually attenuate extracellular field readings.

Additionally, structural improvements in BCI research are moving toward flexible, bio-mimetic soft materials. Research into polymer-based electrode arrays, conducting hydrogels, and mesh electronics aims to match the mechanical shear properties of soft brain tissue, eliminating mechanical shear stresses and minimizing the chronic immune response. Integrating these materials-science parameters into the simulation will allow users to compare the longevity profiles of standard rigid micro-electrodes against ultra-thin, flexible arrays like those pioneered by modern high-density cortical interfaces.

Explore Related Laboratory Simulators

  • Brain Seizure Simulation and 3D EEG Layout - Real-time brain seizure modeling and live spatial mapping of EEG signals.
  • Auditory Sensorineural Simulation Framework - Explore acoustic transduction and tonotopic stimulation parameters within the human cochlea.
  • Live Neural Mapping and Feedback Simulation - Interactive closed-loop neurofeedback and brain wave modulation visualizer.
  • 3D Anatomical Neurological Visualizer - Interactive structural mapping of deep brain nuclei and outer cortical pathways.