Related Experiment Video
Updated: Sep 26, 2026

An Experimental Platform to Study the Closed-loop Performance of Brain-machine Interfaces
Published on: March 10, 2011
Real-time closed-loop feedback system for mouse mesoscale cortical signal and movement control
Pankaj Kumar Gupta1,2, Timothy H Murphy1,2
1Department of Psychiatry, University of British Columbia, Detwiller Pavilion, Vancouver, Canada.
Abstract:
Increasingly, experiments designed to provide practical perturbations to circuits or behavior are required for hypothesis testing in various disciplines ranging from motor learning to recovery after injury. We present the implementation and efficacy of an open-source closed-loop neurofeedback (CLNF) and closed-loop movement feedback (CLMF) system. In CLNF, we measure mm-scale cortical mesoscale activity with GCaMP6s and provide graded auditory feedback (within ~63 ms) based on changes in dorsal-cortical activation within regions of interest (ROIs) and with a specified rule. Single or dual ROIs (ROI1, ROI2) on the dorsal cortical map were selected as targets. Both motor and sensory regions supported closed-loop training in male and female mice. Mice modulated activity in rule-specific target cortical ROIs to get increasing rewards over days (repeated-measures ANOVA [RM-ANOVA], p=2.83e-5) and adapted to changes in ROI rules (RM-ANOVA, p=8.3e-10, Table 4 for different rule changes). In CLMF, feedback (within ~67 ms) was based on tracking a specified body movement, and rewards were generated when the behavior reached a threshold. For movement training, the group that received graded auditory feedback performed significantly better (RM-ANOVA, p=9.6e-7) than a control group (RM-ANOVA, p=0.49) within 4 training days. Additionally, mice can learn a change in task rule from left forelimb to right forelimb within a day, after a brief performance drop on day 5. Offline analysis of neural data and behavioral tracking revealed changes in the overall distribution of Ca2+ fluorescence values in CLNF and body-part speed values in CLMF experiments. Increased CLMF performance was accompanied by a decrease in task latency and cortical ΔF/F0 amplitude during the task, indicating lower cortical activation as the task gets more familiar.

