Back to Projects

Precision Neural Engineering Lab, Emory University School of Medicine

Closed-Loop BCI Systems

Real-time EEG/EMG classification for brain-state-dependent control

Lead Research Engineer · 2021–Present · NIH-Funded

Python MATLAB C++ EEG EMG TMS scikit-learn MNE-Python Lab Streaming Layer Real-Time
Key Achievement: ~100ms end-to-end BCI latency · Co-authored R21 grant · Multi-stream LSL synchronization

Real-time EEG/EMG classification predicts corticospinal excitability to trigger neurostimulation at optimal brain states. Full pipeline: acquisition → LSL streaming → online preprocessing → ML classification → trigger generation, with ~100ms end-to-end latency.

Models trained in Epoche are serialized and deployed to a C++ real-time execution backend. System synchronizes EEG, EMG, force plates, motion capture, and TMS through Lab Streaming Layer with sub-millisecond temporal alignment.

View on GitLab →

R01 grant figure showing multi-device BCI setup
Multi-device experimental setup — EEG, force plates, Vicon MoCap, synchronized via LSL
TMS neurostimulation during experiment
TMS neurostimulation triggered by real-time brain state classification
TMS neuronavigation from behind
TMS neuronavigation — coil positioning guided by neuroimaging

How does this connect? Closed-loop BCI is the sharpest test of the architecture question: can the system's processing pipeline resolve brain states fast enough to act on them before they change? See the throughline →