Introduction

Cerebral palsy (CP) is the most common disabling disease in childhood, typically caused by damage to the developing brain before, during, or after birth1. Epidemiological studies indicate that the incidence of CP is 2–3 per thousand, a rate that has remained relatively stable over the past few decades2. The rehabilitation treatment of children with CP is a complex and long-term process, characterized by continuous advancements in both traditional treatment methods and emerging therapeutic technologies. In recent years, significant progress has been made in research on neuroregulation, robot-assisted devices, virtual reality technology, motor imagery (MI), and brain-computer interface (BCI) technology3,4. Among these, the combined application of MI and BCI, as an innovative rehabilitation approach, connects the neural signals of motor imagery from the brain with external devices, enabling conscious control and motor recovery in patients. This combined approach has garnered significant attention in the field of CP rehabilitation5.

Motor imagery (MI) refers to simulating real movements in the brain, thereby generating specific neural signals in the motor cortex, such as changes in electroencephalogram (EEG) and blood flow information6. Research indicates that among various BCI paradigms, MI has drawn considerable attention for its ability to enhance motor function in patients with motor impairments7. Recently, a novel MI paradigm based on the concept of a “sixth finger” (SF-MI) has been introduced for stroke patients. Compared to traditional MI paradigms, this new approach exhibits enhanced the event-related desynchronization (ERD) patterns, with more synchronized and cohesive neural activity across different brain regions8. Studies have shown that children with hemiplegia can perform MI tasks9. For children, MI can serve as a reliable supportive or supplementary (at-home) rehabilitation tool for pediatric neurorehabilitation10. Imagery training may effectively, and even significantly, aid in enhancing or restoring motor networks within the pediatric nervous system under certain pathological conditions. Furthermore, numerous studies have indicated that the cortical activation patterns during actual movement and MI are very similar11,12. MI can activate brain regions involved in motor control, including the premotor cortex, supplementary motor area, parietal cortex, cingulate gyrus, basal ganglia, and cerebellum13. MI training for children with hemiplegia has demonstrated that MI can be effectively incorporated into the rehabilitation process14. BCI is a technology that directly acquires brain signals and converts them into computer commands to control external devices. The working principle of BCI is divided into four parts: signal acquisition, signal processing, device control, and feedback. This technology enables the brain to directly communicate with computers or other electronic devices without relying on other parts of the body, such as hands or voice.

The application prospects of MI-BCI in rehabilitation are broad. Neural information collection devices are used to gather the neural signals of subjects and identify motor intentions. These signals are then converted into computer commands that drive limb movement through a lower limb rehabilitation robot, forming a closed-loop feedback system. Meanwhile, MI relies on the mental simulation of actions, linking the brain’s motor representations with the actual physical movement, which aids in the rehabilitation of motor functions15,16. BCI-based training aims to strengthen sensorimotor pathways by promoting motor learning and neuroplasticity17. It has been effectively applied to motor rehabilitation in patients with neurological disorders, particularly stroke patients18. Studies using functional MRI (fMRI) and navigated transcranial magnetic stimulation to assess the activity and excitability of the cortical motor area have shown that adding BCI to MI training can significantly enhance the excitability of the motor cortex in subjects, including the neurorehabilitation of CP patients19. Behboodi et al. developed and evaluated a BCI-based neurofeedback system that uses real-time EEG monitoring to support motor rehabilitation in children with CP20. The results showed that after 10 training sessions, patients experienced improvements in ankle dorsiflexion speed, walking speed, and stride length. Although MI-BCI has achieved certain results in adult rehabilitation, its application in the rehabilitation of children with CP is still limited. Existing studies have demonstrated that MI-BCI has potential application value in the motor rehabilitation of children with CP, significantly improving the brain’s efficiency in processing motor-related information. This improvement is mainly achieved by promoting the effective redistribution of brain resources and enhancing inter-regional brain activity during the MI-BCI process21. However, further in-depth research is needed to verify the efficacy of MI-BCI in the daily rehabilitation training of children with CP and to explore the underlying neuroactivity mechanisms.

EEG microstates are transient representations of the brain’s global functional state, related to widespread neural synchronous activity. Lehmann et al. used the k-means clustering method and cross-validation criteria to determine that the optimal number of EEG microstate types is four, and sequentially labeled these EEG microstates as types A (MS A), B (MS B), C (MS C), and D (MS D)22. In EEG activity, each microstate persists for a very short period (tens of milliseconds) and then rapidly transitions to another, maintaining its form within this brief timeframe. The study of EEG data can thus be intuitively simplified to the time series of these alternating scalp potential distributions23. Related research has also included microstate analysis under task conditions, such as studies on motor functions, auditory stimuli, visual stimuli, and driver brain load during driving tasks24,25. BCI can be controlled by CP patients26. Previous studies have conducted microstate analysis on MI-BCI, demonstrating the ability of microstate parameters as classification features27,28, which help improve the classification accuracy of BCI systems and optimize their design. Additionally, some research has shown that during MI-BCI, healthy individuals and patients with paraplegia or quadriplegia exhibit different frequencies of microstate category occurrences, while no significant difference was found between paraplegic and quadriplegic patients29.EEG functional connectivity (FC) refers to the detection of synchronized activity patterns between different brain regions within a specific time period, as measured by EEG technology. It reflects the dynamic processes of information transmission and communication between various brain regions and is a crucial approach to understanding brain functional organization. FC can be assessed by calculating metrics such as correlation, coherence, or phase synchronization between EEG signals. Studies have shown that FC exhibits significant changes during cognitive processes, emotion regulation, and in pathological states. For example, FC patterns in patients with Alzheimer’s disease and depression differ significantly from those in healthy individuals30,31. Additionally, in stroke patients during the recovery process, there was a significant increase in regional centrality in the ipsilateral primary motor cortex and contralateral cerebellum, while regional centrality in the ipsilateral cerebellum decreased. Over time, the FC with these brain regions showed consistent changes32. Analyzing these connectivity patterns can provide important references for the diagnosis and treatment of neurological diseases. Research on FC is rapidly evolving, revealing the brain’s complex network structures and information processing mechanisms. Therefore, EEG microstate and FC analysis are promising cost-effective and clinically applicable neurophysiological methods for studying and evaluating the brain’s overall functional state under healthy and diseased conditions.

Based on the above, this study aims to explore whether there are differences in brain activity under MI-BCI compared to MI and resting states, and what those differences are. By utilizing the rich temporal and spatial variation information from EEG microstate and FC analysis methods, we aim to provide a theoretical basis for the clinical rehabilitation application of MI-BCI in children with CP. In this study, we hypothesize that MI-BCI can significantly alter EEG microstate activity and improve the strength of FC across different frequency bands in children with CP. We believe this will provide a theoretical basis for rehabilitation training in these children and offer new insights for research in this field.

Materials and methods

This study was conducted in accordance with the World Medical Association Declaration of Helsinki and was approved by the Ethics Committee of the Third Affiliated Hospital of Zhengzhou University (Approval No.: 2023 - 184- 01) and registered at the Chinese Clinical Trial Registry (ChiCTR2400080145). Before the study, the researchers fully informed the legal representatives of each patient about the study protocol and obtained their informed consent.

General information

30 children with GMFCS II-III CP, aged 4–6 years, were recruited from the Department of Rehabilitation Medicine at the Third Affiliated Hospital of Zhengzhou University between February 1, 2024, and June 1, 2024. All participants were right-handed, as confirmed by the Edinburgh Handedness Inventory. Four children were unable to complete the pre-experiment, and the EEG data collected from six other children did not meet the requirements. A total of 20 children completed this experiment and provided good-quality EEG data, including 10 male and 10 female participants.

Inclusion criteria: Diagnosed with CP and classified as GMFCS II-III; Classified as spastic diplegia; Have normal cognitive ability and are able to understand instructions and cooperate in completing training; Able to reliably report pain, fear, and discomfort; No orthopedic surgery or botulinum toxin treatment in the past 6 months; Fully understand the trial content, voluntarily participate in the trial, with written informed consent signed by the subject’s guardian.

Exclusion criteria: Severe lower limb contracture; Presence of complications involving important organs such as the heart, lungs, liver, or kidneys; Accompanied by severe epilepsy, genetic metabolic diseases, and severe skeletal system diseases; Presence of visual, auditory, or intellectual disabilities; Have not undergone orthopedic surgery or botulinum toxin treatment in the past 6 months; Participation in other lower limb rehabilitation clinical trials within 1 month before randomization in this study; Children planning or expected to use new antispasmodic drugs, surgery, or other treatments during this study.

Experimental equipment

The experimental equipment is divided into two main parts: the BCI control system (see Fig. 1A) and the lower limb rehabilitation robot (see Fig. 1B).

Fig. 1
figure 1

(A) BCI control system; (B) Lower limb rehabilitation robot equipment.

The BCI control system includes an EEG signal acquisition system and a signal processing and classification system (ZhenTecBCI Co., Ltd., Xi’an, China). The EEG signal acquisition system includes an EEG cap, an EEG amplifier, and a data receiver. The EEG cap is equipped with electrodes placed according to the International 10–10 System, with 30 recording electrodes and two electrooculography electrodes (HEOR and HEOL), as shown in Fig. 2. The reference electrode is positioned at CPz, and the ground electrode is at Fz. All EEG electrodes, including the reference and ground electrodes, are Ag/AgCl semi-dry electrodes based on highly absorbent porous sponges soaked with 3% sodium chloride solution. The acquisition impedance is less than or equal to 20 kΩ, with a notch filter at 50 Hz and a sampling frequency of 500 Hz. The signal processing and classification system identifies whether the EEG signal activity intensity during MI exceeds the activation threshold. It then classifies the signals using intrinsic algorithms to send control commands to the lower limb rehabilitation robot, initiating movement. For detailed information on BCI classification algorithms, please refer to this paper33.

Fig. 2
figure 2

Electrode Placement Diagram; (A) Number; (B) Name.

The lower limb rehabilitation robot is a rigid device designed for children, developed by RoboCT Co., Ltd., Hangzhou, China. The equipment mainly consists of a control system, drive motors, and a mobile platform. The control system is responsible for generating gait movements, coordinating synchronous actions among the four actuators, and adjusting their movement parameters in real time based on state information such as the angular velocity of the motor shafts. The mobile platform has handrails at the rear and four wheels at the bottom, making it easy to move the equipment. Moreover, the equipment connects to the wearer’s limbs via straps on the waist, thighs, calves, and feet. The distance between the two movable connecting segments of the waist support device can be adjusted with a width knob, making it suitable for subjects with different waist widths. Furthermore, during lower limb movements, the hydraulic system can move the waist support device vertically relative to the predetermined position.

Experimental procedure

Pre-experimental stage

The first objective of the pre-experiment is to use the signal processing and classification system to determine, for each subject, the EEG amplitude threshold that allows activation of the lower limb rehabilitation robot through MI. To determine the threshold, the subject wears the EEG equipment and stands still for 1 min, then continuously lifts their legs while standing for another 1 min. During this process, the signal processing and classification system automatically detects changes in EEG signal amplitude in the motor cortex during rest and during lower limb movement. This data is used to determine the threshold. After determining the threshold, the subject performs MI, and if it successfully activates the lower limb rehabilitation robot, the threshold is considered effective.

The second objective is to have the subjects undergo the complete experimental procedure during the pre-experiment stage, to familiarize themselves with the experimental equipment and environment. The experimental procedure is shown in Fig. 3.

Fig. 3
figure 3

Experimental Procedure.

Each subject undergoes the complete experimental procedure, which involves quietly resting in an undisturbed environment for 5 min, followed by the collection of resting-state EEG data for 10 min. The logical principle is shown in Fig. 4A. Then, after another 5 min of rest, the subject performs MI for 10 min. During the MI session, the subject does not enter the lower limb rehabilitation robot but controls it through motor imagery. The logical principle is shown in Fig. 4B. Next, the subject enters the lower limb rehabilitation robot, rests for 5 min, and then performs MI to control the robot for 10 min. The logical principle is shown in Fig. 4C.

Fig. 4
figure 4

Logical principle diagram; (A) REST; (B) MI; (C) MI-BCI.

EEG data preprocessing

EEG data preprocessing was performed using EEGLAB v14.1.2b in MATLAB R2023b34 (IBM Corporation, Armonk, NY, USA). The entire duration of EEG data from the first stage was retained, while for the second and third stages, only the data segments with signal strength above the activation threshold were kept. The retained data should meet the requirements for subsequent processing. The data from the three stages were grouped and named REST, MI, and MI-BCI. The following steps were performed identically for all three data groups: Remove the HEOR and HEOL electrooculography electrodes; Apply band-pass filtering (0.1–40 Hz) to eliminate unwanted frequency components and noise; Manually identify and remove EEG segments contaminated by artifacts; Segment the data into 2-second epochs; Apply Independent Component Analysis (ICA) to decompose the data into independent components representing brain activity, Identify and remove components contaminated by eye movements, muscle activity, and heartbeat artifacts; Re-reference the data to the average of all electrodes; Manually reject periods with significant muscle artifacts or extreme amplitude values; Retain the best continuous 90 segments (each 2 s long), resulting in a preprocessed EEG data duration of 180 s.

Microstate and brain network analysis

Microstate analysis

Before conducting microstate analysis using Cartool, the preprocessed EEG data from the three groups were further band-pass filtered in the 2–20 Hz frequency range35. The microstate analysis process involves several key steps:

1) Global Field Power (GFP) Calculation: Calculate the Global Field Power (GFP) to assess the brain’s instantaneous electric field strength. GFP is an indicator of the brain’s response to events or changes in brain activity36. The formula for calculating GFP is as follows:

$$\:GFP=\sqrt{\left(\sum\:_{i}^{K}\:\right({V}_{i}\left(t\right)-{V}_{\text{\:mean\:}}\left(t\right){)}^{2})/K}$$

Where K represents the number of electrodes in the EEG data, Vi(t) represents the potential of the ith electrode at a specific time point, and Vmean(t) represents the mean instantaneous potential of all electrodes. The formula is as follows:

$$\:{V}_{\text{\:mean\:}}\left(t\right)=\left(\sum\:_{i}^{K}\:{V}_{i}\right(t\left)\right)/K$$

2) Topographical Mapping: In microstate analysis, the discrete states of the EEG are represented by topographical maps showing the local maxima of GFP. These local maxima of GFP are then subjected to clustering analysis to categorize all topographical maps into several types.

3) Microstate Clustering: The k-means method is initially used to divide the EEG samples into a fixed number of clusters, iteratively re-evaluating the EEG samples until the optimal cluster assignment is achieved. In this study, the clustering results identified four microstates: MS A, MS B, MS C, and MS D. The classification of four microstates is primarily determined by differences in topological structure, A: right-frontal to left-posterior; B: left-frontal to right-posterior; C: frontal to occipital; D: mostly frontal and medial to slightly less occipital activity than class C, ignoring topographic polarity37.

4) Calculation of Microstate Parameters: After clustering the microstate topographical maps, the microstate parameters for all subjects are calculated. These parameters include Global Explained Variance (GEV), Duration, Coverage, and Occurrence.

Brain network analysis

When using the HERMES toolboxto calculate brain networks, the frequency bands are divided into δ band (0.1–4 Hz), θ band (4–8 Hz), α1 band (8–10 Hz), α2 band (10–12 Hz), β band (12–30 Hz), and γ band (30–40 Hz), and the weighted Phase Lag Index (wPLI) index is applied to eliminate volume conduction effects. A threshold is set at one standard deviation above the median connection strength, and connections below this threshold are set to 0, while those above are retained, converting the fully connected brain functional matrix into a weighted threshold network38.

Network-based statistic (NBS) is a method specifically used for statistical analysis of brain networks or FC matrices39. The NBS toolbox is employed to identify subnetworks with statistically significant differences between the three groups through pairwise comparisons of brain networks under different microstates. The number of random permutations is set to 5000, and the P-value for family-wise error rate (FWER) correction is set at 0.05. The maximum subnetwork value at the 90 th percentile of the empirical distribution is denoted as S. If the size of certain subnetworks exceeds S, it indicates that these subnetworks have undergone multiple comparison corrections and show statistical differences.

Statistical analysis

The MS-Template-Explorer was used to compare the topological structures of the four microstates in the REST, MI, and MI-BCI groups, respectively40. SPSS 26.0 (IBM Corporation, Armonk, NY, USA) software was used for statistical analysis of the microstate time parameter data and microstate transition probabilities. To assess the significance of differences in microstate parameters across the four paradigms, an analysis of variance (ANOVA) was performed on the microstate time series parameters of all subjects. Before conducting the ANOVA, the Shapiro-Wilk test was used to assess normality. If normality is not met, the non-parametric independent-sample Kruskal-Wallis test will be used. Additionally, to control for the risk of Type I errors due to multiple comparisons, Bonferroni correction is applied for post-hoc multiple comparisons to detect differences between any two paradigms, with P < 0.05 considered statistically significant. The comparison of the three groups’ brain networks under the four microstates was conducted using the NBS toolbox, and the results were corrected for multiple comparisons.

Results

Comparison of microstate topological structures

The similarity results of the four microstate templates in the REST, MI, and MI-BCI groups are shown in Fig. 5,which demonstrate some differences in the topological structures of the same type of microstate maps among different groups. Different colors and shades represent the polarity and magnitude of the voltage recorded by the electrodes, ignoring the polarity of the electrode maps.

Fig. 5
figure 5

The Similarity of Topological Structures of Four Microstates under REST, MI, and MI-BCI Paradigms.

Comparison of microstate time parameters

In terms of GEV values, the GEV value for REST is 0.7274, for MI it is 0.7309, and for MI-BCI it is 0.7300, which is consistent with other studies41. Compared with the REST paradigm, the MI and MI-BCI paradigms show an increase in the average duration and coverage of microstate D, a decrease in frequency, and a reduction in the coverage and frequency of microstate A. Compared with the MI paradigm, under the MI-BCI paradigm, the average duration of microstate C decreases, while the frequency of microstate B significantly increases. See Table 1. The transition probability results indicate that the REST paradigm has a higher transition probability towards microstate A, while the MI and MI-BCI paradigms have higher transition probabilities towards microstate D. See Table 2. The parameter results of EEG microstate can be found in Supplementary file 1.

Table 1 Comparison of microstate parameters among the three groups.
Table 2 Comparison of microstate transition probabilities.

Comparison of brain networks

Figure 6A shows the electrode connections where MI-BCI connectivity strength is greater than REST in the 0.1–4 Hz frequency band (FP1-CPz, CZ-CPz, CPz-TP7, FP1-OZ). Figure 6B shows the electrode connections where MI connectivity strength is greater than REST in the same frequency band (FC3-FC4, FC3-C3, FC4-T6, FC3-OZ, FC4-O1). Figure 6C displays the electrode connections where MI-BCI connectivity strength is greater than MI in the 4–8 Hz frequency band (Cz-P3, FT8-OZ, Cz-OZ). Figure 6D shows the electrode connections where MI-BCI connectivity strength is greater than REST in the 4–8 Hz frequency band (Fz-FC4, FC4-C4, FT8-C4, C3-C4, C3-TP7, C4-TP7). Figure 6E illustrates the electrode connections where REST connectivity strength is greater than MI-BCI in the 4–8 Hz frequency band (FP1-Cz, F7-Cz, F7-TP8, CPz-TP8, Cz-O1). Figure 6F shows the electrode connections where MI-BCI connectivity strength is greater than REST in the 8–10 Hz frequency band (F4-T4, FP1-CPz, F7-CPz, T4-CPz, F4 - T6, CPz-T6, P4-T6). Figure 6G highlights the electrode connections where MI-BCI connectivity strength is greater than MI in the 12–30 Hz frequency band (FC4-Cz, FC4-T6, Cz-O1). Figure 6H shows the electrode connections where MI-BCI connectivity strength is greater than REST in the 30–40 Hz frequency band (F4-FT7, F4-P3, F7-P3). Finally, Fig. 6I shows the electrode connections where MI connectivity strength is greater than REST in the 30–40 Hz frequency band (F4-P3, FT8-P3, FT8-T6).

Fig. 6
figure 6

Comparison of brain network connection strength differences. (A) 0.1–4 Hz, MI-BCI > REST; (B) 0.1–4 Hz, MI > REST; (C) 4–8 Hz, MI-BCI > MI; (D) 4–8 Hz, MI-BCI > REST; (E) 4–8 Hz, REST > MI-BCI; (F) 8–10 Hz, MI-BCI > REST; (G) 12–30 Hz, MI-BCI > MI; (H) 30–40 Hz, MI-BCI > REST; (I) 30–40 Hz, MI > REST.

Discussion

This study aimed to investigate the differences in brain activity of children with CP under REST, MI, and MI-BCI using EEG microstate and FC analysis methods. The results show that compared with REST, the differences under MI and MI-BCI are mainly between MS A and MS D; Compared with MI, the average duration of MS C under MI-BCI is reduced. The tendencies of microstate transition probabilities of REST, MI, and MI-BCI are not entirely the same. No FC differences were observed in the α2 band among REST, MI, and MI-BCI. In the δ and γ bands, MI and MI-BCI show stronger inter-electrode connections than REST. In the θ band, REST has stronger connections than MI-BCI, MI-BCI is stronger than REST, and MI-BCI is stronger than MI. In the α1 band, MI-BCI shows stronger connections than REST, and in the β band, MI-BCI shows stronger connections than MI.

EEG microstates

EEG microstates represent large-scale cortical neuronal activity of the cerebral cortex42. Each microstate is associated with a specific brain functional network. For example, Britz et al.37found that the four EEG microstates can be associated with the auditory network, visual network, salience network, and attention network, respectively. Previous research43 indicates that male adolescents with mild spastic diplegia exhibit distinct EEG microstate characteristics compared to healthy individuals, including an increased occurrence of microstate classes A and D and a reduced duration of microstate class B. These differences support an understanding of the neurofunctional specificities in children with CP.

In this study, the duration and coverage of microstate D significantly increased under MI and MI-BCI compared to REST, suggesting that these conditions alter EEG activity patterns. Microstate D, associated with the dorsal attention network, reflects attention and focus shifts. Under MI and MI-BCI, subjects require heightened attention, increasing microstate D’s time parameters, likely activating motor-related areas such as the motor and premotor cortex. Meanwhile, the average duration and coverage of microstate A decreased. Microstate A is believed to be associated with lower sensory areas44, which are more active in the resting state. This may be related to the need for higher cognitive attention in children under MI. Compared with MI, the average duration of microstate C in children under MI-BCI decreased. This is consistent with studies on microstate changes during cognitive tasks such as mental arithmetic tasks45. Microstate C reflects a part of the default mode network. The default mode network is a task-negative network, and its activity decreases during the execution of cognitive tasks. Compared to MI, MI-BCI more effectively enhances brain involvement and boosts children’s participation in physical training, likely due to increased active engagement. The frequency of microstate B also rose, possibly reflecting the brain’s response to motor feedback from the rehabilitation robot, activating areas related to arousal regulation and cognitive control.

The research indicates that microstate transitions are non-random and require further investigation to connect these transition probabilities with functional networks36. This study found higher transition probabilities to microstate A in children with CP during REST. While it did not analyze speech related to microstate A, previous research has shown reduced speech function in these children46. Under MI and MI-BCI, transition probabilities to microstate D were higher, likely reflecting children’s active participation. This dynamic transition shows how the brain adapts its functional state in children with CP to better manage cognitive and motor tasks during motor imagery and robot interaction.

EEG brain functional networks

Brain functional activities can be studied through network neuroscience by measuring correlations between brain regions to identify connections of varying strengths47. The brain’s electrophysiological activities are divided into frequency bands, each with distinct scalp distribution and biological significance48.

In the δ band, MI-BCI task connection strength is notably higher than REST, especially between FP1-CPz, CZ-CPz, CPz-TP7, and FP1-OZ electrodes. The prefrontal area (FP1) is key in attention and cognitive control49, while the central area (CPz) and occipital area (OZ) are related to motor control and visual processing50. This enhanced connection may reflect the need for higher attention and cognitive control to complete complex tasks in BCI tasks. Low-frequency EEG activity is usually associated with motor preparation51, indicating that in this state, BCI tasks may trigger higher cognitive load and mental concentration.Similarly, in the δ frequency band, the connection strength under the MI task state is higher than in the REST state, particularly between the FC3-FC4, FC3-C3, FC4-T6, FC3-OZ, and FC4-O1 electrodes. The FC3 and FC4 electrodes are located in the frontal motor area, involved in motor planning and execution52. This enhanced connection may reflect the brain’s high demand for motor-related areas during motor imagery, as it simulates movement without limb motion, aligning with increased low-frequency EEG activity and indicating high brain integration during introspection and imagery.

In the θ band, MI-BCI task connection strength is significantly higher than MI, particularly between Cz-P3, FT8-OZ, and Cz-OZ electrodes. Enhanced connections among central (Cz), parietal (P3), and occipital (OZ) areas suggest closer cooperation in BCI tasks, likely related to the visuomotor integration needed for task execution53. EEG activity in this frequency band (θ waves) is usually associated with memory and learning54, indicating that BCI tasks may enhance connections in brain regions related to cognition and memory. In the same frequency band, MI-BCI task connection strength surpasses REST, notably between Fz-FC4, FC4-C4, FT8-C4, C3-C4, C3-TP7, and C4-TP7 electrodes. These prefrontal, frontal, and parietal areas demand stronger connections during task execution, reflecting extensive information processing and high cooperation among brain regions in BCI tasks.

In the α1 band, MI-BCI task connection strength is significantly higher than REST, especially between F4-T4, FP1-CPz, F7-CPz, T4-CPz, F4 - T6, CPz-T6, and P4-T6 electrodes. Enhanced connections among prefrontal, parietal, and temporal regions suggest closer cooperation for information processing and task execution in BCI tasks. Mid-frequency α waves typically relate to relaxation and eyes-closed rest, but their increased activity during BCI tasks suggests alertness and cognitive load. No differences were observed in the α2 band across the three conditions.

In the β band, MI-BCI task connection strength is significantly higher than MI, particularly between FC4-Cz, FC4-T6, and Cz-O1 electrodes. Enhanced connections among FC4, Cz, and O1 likely reflect motor control and visual processing demands in these regions55. High-frequency β waves, typically linked to active thinking, anxiety, and focus, indicate a high demand for brain region integration during BCI tasks.

In the γ band, MI-BCI task connection strength is significantly higher than REST, especially between F4-FT7, F4-P3, and F7-P3 electrodes. Enhanced prefrontal-temporal connections suggest greater brain activity and synchrony demands in the ultra-high frequency band during BCI tasks. High γ band activity has also been observed during treadmill walking56. This suggests that enhanced connections in this frequency band during BCI tasks may reflect the brain’s efficient integration for complex tasks.

These results show significant differences in brain network connections across frequency bands between MI-BCI, MI, and REST states. MI-BCI tasks demonstrate higher connection strength, indicating greater brain region coordination needs. Connection variations in prefrontal, parietal, occipital, and temporal areas highlight their roles in cognitive and motor tasks, providing a theoretical basis to advance brain-computer interface research and optimize related technologies.

Limitations and prospects

The experiment had a small sample size of 20 cases and did not include long-term rehabilitation to assess efficacy. Due to equipment and participant cooperation limitations, the paradigm in Fig. 4B was used to collect EEG data for the MI paradigm. Research indicates that children with CP can perform MI but with increased errors57. The MI performance of children with CP is affected by functional ability and memory. During EEG collection, they often display frequent, uncontrolled movements, potentially causing motion artifacts. This study analyzed only the temporal properties of four EEG microstates and the spatial properties of EEG FC. Future research could explore multidimensional EEG characteristics, such as frequency domain analysis, ERD, and EEG source activity, to deepen understanding of MI and MI-BCI effects on brain activity in children with CP.

Conclusion

This study, using EEG microstate and FC analysis, shows that MI-BCI significantly alters brain activity patterns in children with CP, enhancing attention, motor planning, execution, and FC strength across frequency bands. These findings confirm MI-BCI’s substantial application value in lower limb motor rehabilitation for children with CP.