A High-Precision Timing Method and Digital Interface for Closed-Loop TMS
Kahilakoski, O.-P.; Sinisalo, H.; Nieminen, J. O.; Alkio, K.; Valen, K.; Kozak, G.; Ilmoniemi, R. J.; Roine, T.
Show abstract
ObjectiveCurrent transcranial magnetic stimulation (TMS) protocols exhibit high inter-subject variability in treatment outcomes, highlighting the need for personalized, brain-state-dependent closed-loop stimulation protocols. To enable such protocols, we aim to provide robust, precisely timed external control of TMS, with stimulation timed relative to feedback signals such as the electroencephalogram (EEG). ApproachCommercial TMS devices typically rely on trigger signals for precise external pulse timing, while adjusting stimulation parameters, such as intensity, is better handled via serial digital communication, which supports robust error detection and feedback. However, combining these communication methods is inherently complex and prone to timing issues, such as race conditions. Furthermore, trigger signals lack capabilities essential for real-time systems, such as preventing late pulse delivery. We present a method for precise and accurate pulse timing, implemented through a digital interface that uses exclusively serial digital messaging, eliminating the need for trigger signals. This interface enables external control of pulse timing, intensity, and other parameters. The TMS device maintains its own internal clock and delivers pulses at pre-scheduled times, decoupling timing precision from the control device. Additionally, we propose a method for synchronizing such time-tracking TMS devices with commercial EEG systems, enabling precisely timed EEG-TMS. Main resultsUsing these methods, our custom TMS device delivered pulses precisely aligned to the EEG signal, with timing errors consistently below 0.3 ms. These errors were constrained by the experimental setup, including the sampling rate of our EEG device and the signal-to-noise ratio affecting pulse detection. SignificanceOur timing method achieves sub-millisecond precision in brain-state-dependent closed-loop EEG-TMS, providing a foundation for robust TMS timing that supports adaptive, personalized stimulation protocols. The digital control interface, co-designed with our TMS device, integrates pulse timing and parameters, setting a precedent for future advancements in computer-controlled TMS.
Matching journals
The top 1 journal accounts for 50% of the predicted probability mass.
Similar papers in this journal
- Multi-locus transcranial magnetic stimulation system for electronically targeted brain stimulation 95%
- Effects of stimulus pulse rate on somatosensory adaptation in the human cortex 94%
- Automated artifact injection into sensing-capable brain modulation devices for neural-behavioral synchronization and the influence of device state 94%
Similar papers in this journal
- Forecast Padding Enhances Accuracy and Robustness of EEG-Phase-Synchronized TMS 95%
- Closed-loop control of functional electrical stimulation using a selectively recording and bidirectional nerve cuff interface 95%
- M2M-InvNet: Human Motor Cortex Mapping from Multi-Muscle Response Using TMS and Generative 3D Convolutional Network 93%
Similar papers in this journal
- A Model-Based Approach for Pulse Selection from Electrodermal Activity 92%
- Identifiability analysis and noninvasive online estimation of the first-order neural activation dynamics in the brain with closed-loop transcranial magnetic stimulation 91%
- Accurate Identification of Motoneuron Discharges from Ultrasound Images Across the Full Muscle Cross-Section 91%
Similar papers in this journal
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.