Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Apr 3:18:1346050.
doi: 10.3389/fnhum.2024.1346050. eCollection 2024.

Development and evaluation of a BCI-neurofeedback system with real-time EEG detection and electrical stimulation assistance during motor attempt for neurorehabilitation of children with cerebral palsy

Affiliations

Development and evaluation of a BCI-neurofeedback system with real-time EEG detection and electrical stimulation assistance during motor attempt for neurorehabilitation of children with cerebral palsy

Ahad Behboodi et al. Front Hum Neurosci. .

Abstract

In the realm of motor rehabilitation, Brain-Computer Interface Neurofeedback Training (BCI-NFT) emerges as a promising strategy. This aims to utilize an individual's brain activity to stimulate or assist movement, thereby strengthening sensorimotor pathways and promoting motor recovery. Employing various methodologies, BCI-NFT has been shown to be effective for enhancing motor function primarily of the upper limb in stroke, with very few studies reported in cerebral palsy (CP). Our main objective was to develop an electroencephalography (EEG)-based BCI-NFT system, employing an associative learning paradigm, to improve selective control of ankle dorsiflexion in CP and potentially other neurological populations. First, in a cohort of eight healthy volunteers, we successfully implemented a BCI-NFT system based on detection of slow movement-related cortical potentials (MRCP) from EEG generated by attempted dorsiflexion to simultaneously activate Neuromuscular Electrical Stimulation which assisted movement and served to enhance sensory feedback to the sensorimotor cortex. Participants also viewed a computer display that provided real-time visual feedback of ankle range of motion with an individualized target region displayed to encourage maximal effort. After evaluating several potential strategies, we employed a Long short-term memory (LSTM) neural network, a deep learning algorithm, to detect the motor intent prior to movement onset. We then evaluated the system in a 10-session ankle dorsiflexion training protocol on a child with CP. By employing transfer learning across sessions, we could significantly reduce the number of calibration trials from 50 to 20 without compromising detection accuracy, which was 80.8% on average. The participant was able to complete the required calibration trials and the 100 training trials per session for all 10 sessions and post-training demonstrated increased ankle dorsiflexion velocity, walking speed and step length. Based on exceptional system performance, feasibility and preliminary effectiveness in a child with CP, we are now pursuing a clinical trial in a larger cohort of children with CP.

Keywords: NMES; associative learning; motor training; pediatric; transfer learning.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

Figure 1
Figure 1
Diagram of our Brain-computer interface neurofeedback training (BCI-NFT) system which utilizes MRCP of the EEG signal to detect participant motor intent. The participant was tasked to dorsiflex the ankle at a specific time, cued by a graphic user interface (GUI), which also provided visual feedback of the ankle angle in real-time. EEG data were recorded using a 64-channel EEG system and streamed wirelessly to the BCI-NFT software using Stimulation Delivery. Upon detection of motor intent from EEG, the BCI-NFT system triggered a stimulator to apply assistive sensory feedback (NMES of the tibialis anterior muscle). To monitor ankle angle in real-time, two Inertial Measurement Units (IMUs) continuously streamed joint angle data to the visual feedback GUI in Unity.
Figure 2
Figure 2
Information flow of the BC-NFT software. The visual feedback GUI transmitted trigger values associated with various task events (provided as visual cues to the participant) and ankle angle data to LSL. EEG was directly streamed into the Lab Streaming Layer (LSL) in real-time. LSL played a crucial role in synchronization and timestamping all data streams, i.e., EEG, ankle angle, and triggers. Subsequently, it transmitted the EEG and trigger streams to the BCI system in MATLAB.
Figure 3
Figure 3
EEG preprocessing and LSTM training workflow (A) and LSTM structure (B).
Figure 4
Figure 4
Peak negativity (PN) error was computed as the temporal difference between the PN of each trial (red dashed line), representing the desired stimulation time, and the instant at which the model activated the NMES (blue dashed line). The shaded blue area around blue dashed line represents the potential variability in detecting each trial’s PN.
Figure 5
Figure 5
Training regimen for the participant with CP. We conducted two assessment sessions, pre- and post-training, and 10 training sessions.
Figure 6
Figure 6
Event-related spectral perturbation (ERSP) plots of the motor regions pre and post training (top and middle row, respectively) and their significance masked differences (bottom row). All rows share a common time and frequency axis, with time zero corresponding to dorsiflexion onset of the trained leg (vertical line). The top two rows (pre and post) share a common colorbar (change in power in decibels), with blue representing a decrease in power relative to that session’s baseline and red representing an increase in power. For the bottom row, the significance masked ERSPs (green means a voxel was not significant at an alpha value of 0.05) are scaled symmetrically from −4 db to 4 db*, with the exception of the central motor region, which is scaled from −8 to 8 db, to adequately represent the larger relative changes seen in this region.
Figure 7
Figure 7
Transfer learning. The LSTM model was trained with trials collected during the previous session (100 trials) and then transferred to the current session using the first 25 trials. The weightings of the first two layers of this LSTM model were held constant, or “frozen,” then a new bilateral LSTM layer was inserted to model. Due to the frozen state of the first two layers only the weights of the new bilateral LSTM and the fully connected layer were updated during the transfer learning.
Figure 8
Figure 8
The session-by-session accuracy of the transferred LSTM, trained on 100 trials from the previous session and transferred to 25 trials of the current session (red circles), compared with the accuracy of the LSTM model if it was not transferred and instead was trained on the first 50 trials of each session (blue squares). Here we only included the sessions that used transferred LSTM as the detection model.

References

    1. Aminizadeh S., Heidari A., Dehghan M., Toumaj S., Rezaei M., Jafari Navimipour N., et al. . (2024). Opportunities and challenges of artificial intelligence and distributed systems to improve the quality of healthcare service. Artif. Intell. Med. 149:102779. doi: 10.1016/j.artmed.2024.102779, PMID: - DOI - PubMed
    1. Ang K. K., Guan C., Chua K. S. G., Ang B. T., Kuah C., Wang C., et al. . Clinical study of neurorehabilitation in stroke using EEG-based motor imagery brain-computer interface with robotic feedback. In: 2010 Annual International Conference of the IEEE Engineering in Medicine and Biology. Buenos Aires: IEEE; (2010), 5549–5552. Available at: http://ieeexplore.ieee.org/document/5626782/ - PubMed
    1. Bai Z., Fong K. N. K., Zhang J. J., Chan J., Ting K. H. (2020). Immediate and long-term effects of BCI-based rehabilitation of the upper extremity after stroke: a systematic review and meta-analysis. J. Neuro Eng. Rehabil. 17:57. doi: 10.1186/s12984-020-00686-2, PMID: - DOI - PMC - PubMed
    1. Behboodi A., Lee W. A., Bulea T. C., Damiano D. L. (2022). “Evaluation of multi-layer perceptron neural networks in predicting ankle dorsiflexion in healthy adults using movement-related cortical potentials for BCI-neurofeedback applications” in 2022 International Conference on Rehabilitation Robotics (ICORR) (Rotterdam: IEEE; ), 1–5. Available at: https://ieeexplore.ieee.org/document/9896584/ - PMC - PubMed
    1. Behboodi A., Lee W. A., Hinchberger V. S., Damiano D. L. (2022). Determining optimal mobile neurofeedback methods for motor neurorehabilitation in children and adults with non-progressive neurological disorders: a scoping review. J Neuro Eng. Rehabil. 19:104. doi: 10.1186/s12984-022-01081-9, PMID: - DOI - PMC - PubMed