Related Experiment Video
Updated: Sep 8, 2025

Brain State-dependent Brain Stimulation with Real-time Electroencephalography-Triggered Transcranial Magnetic Stimulation
Published on: August 20, 2019
Hardware-enabled low latency rhythmic brain state tracking for brain stimulation applications
Milana Makarova1, Nikita Fedosov2, Julia Nekrasova1
1Center for Bioelectric Interfaces, Higher School of Economics, Moscow, Russia.
Objective:
Upcoming neuroscientific research will require bidirectional and context dependent interaction with nervous tissue. To facilitate the future neuroscientific discoveries we have created HarPULL, a genuinely real-time system for tracking oscillatory brain state.
Approach:
The HarPULL technology ensures reliable, accurate and affordable real-time phase and amplitude tracking based on the state-space estimation framework operationalized by Kalman filtering. To avoid data transfer delays and to obtain a truly real-time system the algorithm is implemented on the computational core of an EEG amplifier controlled by a real-time operating system. Systems performance is tested with simulated and real data both online and offline and within a real-time state dependent TMS using a phantom and human subjects.
Main Results:
We show that taking into account the 1/f nature of the brain noise and the use of the steady state colored Kalman filter further improves phase tracking performance in both simulated and real data. We use HarPULL to trigger the TMS device contingent upon the target phase and amplitude combination and demonstrate minimal delay (2 ms) between the occurrence of the predetermined rhythm phase in the cortex and the corresponding magnetic stimulus. Using this setup in the real-time setting we observe a significant modulation of the motor evoked potentials (MEP) by the sensorimotor rhythm's state. Finally, we use HarPULL and for the first time obtain phase-dependent muscle cortical representation (MCR) maps in real-time. We show better delineation between the representations of several muscles when the stimulation is performed in the excitation state.
Significance:
HarPULL is the first truly real-time technology for the instantaneous tracking of the brain's rhythmic activity. Our technological solution establishes a nearly instantaneous non-invasive contact with a living brain which has a broad range of clinical, diagnostic and scientific applications.

