Abstract
Abstract
A spinal cord injury (SCI) is a neurological disorder that impairs motor and physiological functions and leads to a reduced quality of life and autonomy for the person affected. In this scenario, human-machine interfaces (HMIs) have emerged as an effective tool to leverage residual motor capabilities and benefit injured persons. This work aims to develop a closed-loop HMI system for lower-limb rehabilitation composed of an in-house multi-channel Functional Electrical Stimulation (FES), which is activated by considering gait and pedaling cycles measured by an Inertial Measurement Unit. Two experiments were conducted with individuals suffering partial SCI who performed cycling and walking activities by using our proposed HMI, while inertial and electroencephalography signals were collected for further analysis and validation. Relative power changes were observed in mu (8–13 Hz) and high beta (20–30 Hz) bands over the foot area (Cz location), comparing both FES and non-FES conditions during gait and pedaling. This comparison also showed that the volunteers performed physical activities with greater speed and cadence by using the proposed HMI system, which correctly identified the movement phases.
Graphical abstract
A spinal cord injury (SCI) is a neurological disorder that impairs motor and physiological functions, leading to reduced quality of life and autonomy for affected individuals. In this context, human–machine interfaces (HMIs) have emerged as effective tools to enhance residual motor capabilities and support rehabilitation.
This study aims to develop a closed-loop HMI system for lower-limb rehabilitation composed of an in-house multi-channel Functional Electrical Stimulation (FES) device, activated based on gait and pedaling cycles measured by an Inertial Measurement Unit (IMU). Two experiments were conducted with individuals with partial SCI who performed cycling and walking tasks using the proposed HMI system, while inertial and electroencephalography (EEG) signals were recorded for further analysis and validation.
Relative power changes were observed in the mu (8–13 Hz) and high beta (20–30 Hz) bands over the foot area (Cz location) when comparing FES and non-FES conditions during gait and pedaling. This comparison also revealed that participants performed physical activities with greater speed and cadence when using the proposed HMI system, which successfully identified movement phases in real time.

Keywords: Electroencephalography, Human-machine interface, Functional electrical stimulation, Inertial motion unit, Lower-limb rehabilitation, Spinal cord injury
Introduction
Incomplete or complete spinal cord injury (SCI) is a neurological event that impairs motor and physiological function and affects 500,000 people worldwide each year. The physical and physiological limitations that occur after SCI significantly degrade the quality of life and autonomy of individuals [2]. In this context, residual axonal connections have been documented in individuals post-injury, facilitating functional restoration by preserving communication pathways within affected regions [17]. Hence, novel and advanced neurorehabilitation methods may induce the sensorimotor recovery and neuroplasticity [14]. Indeed, the execution of active movements during physical training plays a crucial role in promoting the reorganization of neural pathways, thereby improving motor skills [10, 47].
Therapies that promote patient participation and interaction have demonstrated improving in the sensorimotor rehabilitation of people with neural impairments [14, 24]. For instance, human-machine interfaces (HMIs) have emerged as an effective tool for utilizing the remaining motor skills of people with severe disabilities and converting them into the control system of rehabilitation or assistance devices. Inertial Measurement Units, surface Electromyography (sEMG), and electroencephalography (EEG) are widely used to decode patients’ intentions into end-effector drivers in an almost natural way, such as exoskeletons, functional electrical stimulation (FES), and passive devices, allowing them to interact with the environment [1, 35, 39]. Invasive HMIs employing implanted electrodes provide high-quality cortical signal acquisition; however, they entail higher costs and require surgical implantation procedures. Noninvasive HMIs, in contrast, use surface EEG, which provides lower signal precision but offers reduced cost and ease of implementation [11, 48].
Some studies have suggested lower-limb rehabilitation by employing robotic devices for passive movement, such as robotic orthosis attached to a chair [49], or a motorized pedal approach to generate cyclic movements [37]. However, FES has emerged as a technique involving residual neural path and artificial current to activate residual neuromuscular structures, generating movements. For instance, in [45], the authors proposed a rehabilitation system in which pedaling movements were controlled with FES in a closed loop. In [31], the authors claimed that gait protocols with FES could increase muscle strength and improved walking performance. Consequently, different HMI approaches based on FES have been proposed in rehabilitation or assistive contexts. For instance, several reviews has showed FES applications in post-stroke patients triggered wit EEG or inertial sensors for limbs rehabilitation or assistance [23, 39, 45]. However, experimental setup applied with SCI patients are scarce and there is a predominance of approaches to upper limbs, rather than lower limbs.
Therefore, the search for alternative strategies that allow an effective rehabilitation of lower limbs for the performance of daily tasks remains a challenge. For instance, Ren et al. proposed a soccer virtual reality, employing FES in a leg to improve motor imagery (MI) classification [36]. Le Guillou et al. realized a pedaling phase recognition system, which can be used to synchronously deliver FES to the legs [25]. CoelhoMagalahes et al. designed a closed-loop control strategy to adjust FES amplitudes during pedaling [9]. Sijobert et al. employed a multichannel FES and sensors based on plantar pressure and IMUs to activate FES in one leg during gait in post-stroke patients [41]. Li et al. Implemented a neural network-based controller and sEMG to actuate foot dorsiflexion that was used by people with foot drop [26].
In this context, lower-limb movements require the integrated involvement and coordination of different muscle groups, which is a challenge for FES-based HMIs. A well-controlled and synchronized multichannel FES approach would allow more natural actions. For instance, Muller et al. [30] proposed a neuroprosthesis for automatic gait control by using IMU sensors, which faced difficulties in recognizing the gait phases. Despite the significant progress in FES-based HMI systems for lower-limb rehabilitation of people with severe neuromotor disabilities, there are still some scientific problems and challenges.
For instance, one of the main issues is the limited integration of FES devices with other systems, since many existing approaches enable only non-synchronized or manually triggered activation of stimulation channels, rather than a control synchronized and integrated with external systems. [28]. This restricts the possibility of achieving more natural, synchronized, and functional movements during complex tasks such as walking and pedaling. Nevertheless, the quality of EEG signals, especially during walking, can be affected by movement artifacts and the poor signal-to-noise ratio (SNR), as well as non-physiological and physiological interference [6, 44]. In addition, lower limbs detection by EEG may be limited by the leg area of the motor cortex which is deeply located in the brain (around 1–4 cm from the surface). Therefore, EEG could not accurately record this activity, and its signals can be highly influenced by activity occurring near the surface of the skull [16].
This work is a further development of our previous works [13], which aim to develop a closed-loop system with multi-channel HMI FES-based devices for lower-limb rehabilitation by using IMU for automatic detection of movement phases. We hypothesize that the proposed HMI will provide more natural movements during walking or cycling by accurately detecting each movement phase and performing electrical stimulation with appropriate parameters. Furthermore, relative EEG power changes during pedaling and walking for mu and beta rhythms in the motor cortex were observed, where our findings suggested a promising tool for the implementation of FES-based HMIs for neurorehabilitation. The main contributions of this work are:
We have designed a non-invasive FES-based HMI that allows coordinated activation of different channels to assist movement of people with neurological disorders. Unlike systems reported in the literature and in previous studies [9, 25, 26, 30, 41], we use a multichannel strategy and IMU for a complete assistance in both legs during four phases of gait or pedaling, which would allow a closer-to-natural motion and a more personalized rehabilitation.
We conducted a proof-of-concept trial with two post-SCI patients undergoing pedaling and gait-assist interventions, both of whom demonstrated improved movement characteristics using our HMI.
EEG signals were acquired and analyzed, where it was possible to observe the influence of FES specifically in the beta band (13–35 Hz), whose results are similar to those in the literature with healthy subjects in cycling and walking [5, 44].
Materials
The BrainVision® V-amp 16 is used here to record cortical activity with sampling rate at 512 Hz, using 16 EEG locations (Fp1, Fp2, F3, F4, FC1, FC2, C3, Cz, C4, CP1, CP2, P3, P4, P7, P8 and Pz) according to the international 10–20 system, covering the frontal region, and the primary and supplementary motor cortex [14, 20, 37]. The reference and ground electrodes were positioned at locations Fz and Fpz, respectively. The electrode’s impedance was maintained below 10 kΩ.
ZeroG was used, a dynamic body weight support system that compensates for weaknesses and coordination deficiencies and enables earlier intensive therapy sessions [22]. This allows the percentage of suspended weight to be controlled, with the value adjustable according to the subject’s condition and rehabilitation progress. The system provides protection against falls and analyzes speed variables. The inertial sensor used for phase identification is a compact version of a Joint Angle Measurement and Acquisition (JAMA) device [3]. In addition to acquiring data for posterior analysis, the sensor is responsible for identifying phases by converting acceleration data into θ angles.
The FES device used in this research represents an advance in hardware, as previously presented in [13]. The multi-channel FES circuit was designed with an upconverter, H-bridge, and processing module, as shown in Fig. 1(a). The processing module is a microcontroller (ESP32-DevKitC) that manages the stimulation signals by using pulse-width modulation (PWM) (to control the voltage on the booster and modulate the signal that controls the H-bridge). A processing module can control up to four stimulation channels (four boost converters and four H-bridges) to fulfill the multi-channel proposal. In the version developed in this work, a set of two FES devices, as shown in Fig. 1(b) has been proposed, including a total of eight stimulation channels controlled independently via Message Queuing Telemetry Transport (MQTT).
Fig. 1.
a Hardware by [13]; b Hardware description; c Two 4-channel IoT FES devices
Methods
Human-machine interface
The HMI system used in the proof of concept consists of two low-cost 4-channel FES devices and an IMU sensor, which were used for electrical stimulation and motion intention detection, respectively, operating in a closed-loop. The data were divided into online and offline groups, as shown in Fig. 2. The offline data are stored for further analysis, whereas the online data are stored and transferred in real-time between the system’s devices to be used in a closed-loop control. A Python script manages the proposed system, and a local web application using an MQTT web socket. This technique allows the therapist to control the stimulation parameters (for each channel individually), the IMU angle ranges, and emergency stops in real-time if needed. The MQTT network was implemented for security and low latency in data transmission between the devices. The therapist starts the protocol via the WEB browser (notebook or smartphone) by sending a “start” command to the JAMA device. This sent the inertial sensor data to the Python script. In the same script, the acceleration data from the inertial sensor are converted into an angle θ that is used to identify the phases of walking or cycling. The control action is then sent to the FES device to activate the stimulation channels for each phase.
Fig. 2.
System Overview
The HMI is designed to control the subject’s residual motor activity based on the motion signal detected by the IMU sensor. For this purpose, the 2-axis accelerometer data (ax and ay) are converted into an angle θ, considering θ = arctan(ax/ay). The angular range of θ can be divided into two or four phases depending on the motor task (pedaling or walking) and linked to each movement phase. Figure 2 shows that the therapist specifies the muscle groups to be activated and the intensity and frequency of stimulation in the web application, considering the protocol, participant’s condition, and prior assessment by the medical team.
Patient’s safety
Hardware and software are used to ensure patient safety. The first provides an emergency button placed directly on the patient’s hand so that they can switch off the FES device if they feel uncomfortable. In short, pressing the emergency button immediately cuts power to the devices and quickly terminates the stimulation in progress. As a second alternative via hardware, the boost converter discharge system can be activated by switching off the device, either via the emergency button or the on/off switch. It comprises a parallel button that is triggered when the device is switched off and discharges the energy stored in the capacitors via a series of diodes and resistors through the system ground. This mechanism ensures the safe discharge of the stored energy and prevents the current from escaping toward the FES electrodes on the patient’s skin. In addition, ESP32 firmware was programmed to enforce a maximum-frequency lock for the boost converter. This precaution prevents the device from generating unwanted high voltages, which can potentially damage the user. Besides the mentioned mechanisms, a commercial power supply was used that safely regulates the 220 V AC mains voltage to 7 V DC. This ensures that electrical stimulation occurs within safe and controlled limits.
Experiments
Patients
Two adult individuals with partial SCI who required a walking aid for locomotion were recruited. These participants were first informed about the aim of this study, read the informed consent form, and gave their verbal and signed consent at the Edmond and Lily Safra International Institute of Neurosciences (IIN-ELS) in Macaiba-RN, Brazil. This study was approved by the Research Ethics Committee from the Santos Dumont Institute (ISD) of Brazil (code number 53127921.2.0000.0129) and conducted following the Declaration of Helsinki.
The first participant (P1) was a 65-year-old woman with ASIA D SCI (C5) who fell off a ladder two years earlier. She walked with a conventional walker for short distances and used a wheelchair for medium and long distances. P1 performed only the cycling (pedaling) task.
The second participant (P2) was a 42-year-old man with ASIA D SCI (C4) who had suffered a car accident 1 year and 7 months earlier and relied on Canadian crutches for mobility. P2 performed only the walking task.
Both volunteers did not have increased muscle tone or comorbidities and were selected for participation in this study based on the following inclusion criteria: no cognitive, visual, or auditory impairment at baseline, and good communication skills. The exclusion criteria were the presence of joint injuries in the lower limbs, progressive diseases, skin injuries, fractures, osteoporosis, and pacemaker use.
Cycling task
P1 performed the cycling task, in which the algorithm differentiates the movement into two phases by using the IMU sensor as a reference (see Fig. 3(c)) to enable the electrical stimulation of the muscles at two points in time: 1) FES channels 1 and 2 for 150o ≤ θ ≤ 175o; and 2) FES channels 3 and 4 for −179o ≤ θ ≤ −150o. Consequently, the FES device alternately supports flexion and extension movements by stimulating the quadriceps in real-time.
Fig. 3.
Setup used in the assisted cycling protocol (P1). a Participant’s posture, FES location, and devices; b Legend for electrodes and JAMA; c Identification range for pedaling phases and stimulated channels; d JAMA spatial orientation axes
The subject was instructed to sit on a stationary bicycle (Caloi® S˜ao Paulo, Brazil) equipped with a non-motorized, unloaded pedal. The experiment was initiated according to the following steps: 1) preparation of the FES, EEG, and IMU; 2) signal acquisition at rest (baseline) for 5 min; 3) signal acquisition during voluntary pedaling at variable speeds for 5 min; and 4) signal acquisition during voluntary pedaling assisted by FES for 5 min.
During the preparation of the FES, the stimulation area was cleaned with alcohol and shaved. Electrodes (5 × 9 and 5 × 5, Carci®, S˜ao Paulo, Brazil) were then attached. The participants’ quadriceps and hamstring muscle groups were stimulated to induce and facilitate pedal movement [4]. To elicit robust contractions for functional movement, stimulation was applied prior to the protocol and gradually increased until discomfort occurred or until the therapist observed no further increase in muscle strength. During the protocol execution, the final stimulation intensity for each participant was set to 75% of the maximum value, with a frequency of 35 Hz and a pulse width of 300 μs.
These muscle groups were chosen to facilitate the pedaling forward phase and pedaling backward phase, as in the studies by ([12, 40]). By applying this sequence alternately between the two lower limbs, the experimental subject produces the cycling movement.
The EEG cap was placed after cleaning the skin, and the conductive gel was used to achieve the impedance (10 kΩ). For determining the spatial references for lowerlimb positioning, the IMU sensor was positioned anteriorly and laterally under the fibular head of the right leg. Accelerometer and gyroscope data from this sensor were recorded at an acquisition rate of 20 Hz. Figure 3 shows a summary of the setup and pedaling cycle divided into two phases: −179o to −150o (right leg) and 150o to 175o (left leg). The sensor measured the current state (θ) while the participant performed the pedaling movement.
Walking task
During the walking task, P2 (4) underwent continuous phase detection and real-time activation of the electrical stimulation routine throughout the entire protocol (Fig. 5). The gait cycle was divided into four distinct phases: initial contact, mid-stance, terminal stance, and initial swing.
Fig. 5.
IMU sensor-based Human-Machine Interface for movement phase identification to provide a closed-loop between the user and the FES device. a block diagram, b activated muscles versus gait phases
The experimental setup for the gait activity is illustrated in Fig. 4. The muscle groups corresponding to each stimulation channel and the associated intensity levels were defined through the WEB interface, as illustrated in Fig. 5. In this configuration, the human–machine interface (HMI) operates in a closed-loop mode, where data from the IMU sensor are continuously processed to identify the current gait phase. Each detected phase then triggers the activation of a specific set of muscles, as shown in Fig. 5(b).
Fig. 4.
Setup used in the assisted gait protocol (P2). a Participant’s posture, FES location, and devices; b Legend for electrodes and JAMA
These muscles were chosen based on studies that observed the sequence of muscle activations in each subphase of gait through real-time surface electromyography [33]. Based on this, the electrostimulator was programmed to activate the channels corresponding to the muscles that should be active in each of these subphases: initial contact (quadriceps and tibialis anterior), mid-stance (quadriceps), terminal stance (quadriceps and triceps surae), and initial swing (hamstrings and tibialis anterior).
Overall, Fig. 5 illustrates the closed-loop operation of phase detection and electrical stimulation, showing the integration between sensor feedback, gait phase recognition, and muscle activation throughout the walking protocol.
The walking protocol was initiated using the following steps: 1) preparation of Zero G, FES, EEG, and IMU; 2) signal acquisition at rest (baseline) for 5 minutes; 3) signal acquisition during voluntary walking for 5 minutes; and 4) signal acquisition during FES-assisted walking for 5 minutes.
The gait-trained subjects wore a vest and partially supported their weight until they remained upright without bending their knees. The intervention was performed using the ZeroG® system, which supported a certain percentage of body weight to ensure the participant’s safety during exercise. The support level was set at 10%.
EEG, FES, and IMU preparations were performed under the same conditions as the cycling protocol. The IMU sensor was set at 12 cm below the greater trochanter of the right femur. During the protocol, the quadriceps femoris, hamstrings, triceps surae, and tibialis anterior muscles were stimulated.
For this protocol, the walking movement was divided into four distinct phases: initial contact, middle stance, terminal stance, and initial swing. Through the WEB application, the therapist adjusted the angle range, stimulation intensity, and frequency, as well as the muscle groups to be recruited for each phase, based on the needs of individual participants.
Evaluation
To ensure the reliability of EEG acquisition and minimize artifacts during FES-assisted tasks, active electrodes with integrated preamplification were used to reduce cable and environmental interference. The acquisition system operated on a battery-powered notebook, electrically isolated from the mains supply to avoid ground noise. Before recording, the scalp was cleaned with alcohol and conductive gel to maintain electrode–skin impedance below (10 kΩ), and the cap was carefully adjusted to prevent electrode movement during gait.
To understand the cortical effects of the proposed FES-based HMIs, relative EEG power changes during continuous pedaling or walking were quantified. EEG signals were pre-processed by applying a Common Average Reference (CAR) and a bandpass filter with a frequency range from 8 to 45 Hz to suppress unwanted noise and interference, preserving the brain rhythms of interest, as reported in [44]. The IMU signals were used to segment the EEG data into individual gait or pedaling cycles, where each cycle was considered a trial. Because of cycle duration varied across participants, each trial was resampled by interpolation to normalize its length to 0–100% of the cycle before averaging across trials. According to previous studies [34, 44], Cz provides the most discriminative information in terms of lower-limb movements. Hence, the power spectrum of the signal was calculated using the fast Fourier transform for each segment [44]. A Continuous Wavelet Transform (CWT) using the Morlet mother function was also calculated to obtain the joint time-frequency domain, and also the relative power changes during pedaling or walking with respect to the resting state [37]. Finally, topoplots corresponding to the average relative power changes for mu (8–13 Hz), low beta (13–20 Hz), and high beta (20–30 Hz) bands were obtained from all EEG locations for both walking and pedaling.
Results and discussion
The IMU sensor provided data demonstrating the impact of our proposed FES-based HMI on SCI individuals during walking and cycling. Improved walking was observed in SCI individuals, as shown in Fig. 6. The consistency of the movement cycles by using our HMI system compared with the non-assisted movement (Non-FES) suggests a more natural gait [18].
Fig. 6.
Inertial Motion Unit signals recorded while the SCI individual walked without and with the assistance of the proposed human-machine interface
Figure 7a and b show that our FES-based HMI approach increased the movement frequency or speed, reaching approximately 0.4 Hz and 0.6 Hz for gait and pedaling cycles, respectively. This suggests that voluntary lower-limb movements of SCI individuals may be enhanced by using our system, increasing gait cycle repetitions and cadence. Figure 8a and b show a clear progression between phases during the FESbased HMI-assisted movement for cycling and walking. It is worth noting that our system automatically identifies with adequate accuracy the movement phase following the voluntary user’s motor intention in real-time in the associated angular range, facilitating FES stimulation and producing more natural transitions between phases.
Fig. 7.
Movement frequency without and using the proposed IMU-based HMI and FES end-effector during (a) walking and (b) pedaling
Fig. 8.
Channel activation during lower-limb tasks: a pedaling, where channels 1 and 2 correspond to the stimulation of the right quadriceps and left hamstring, and channels 3 and 4 correspond to the stimulation of the left quadriceps and right hamstring; b walking, showing the sequence of muscle group activation throughout the gait cycle
Our results are supported by the literature, where different authors have used FES-based HMIs for gait rehabilitation in patients with neuromotor disabilities. For instance, da Stampacchia et al. reported that the use of this type of interface improves gait speed in post-SCI patients compared to conventional therapies [43]. On the other hand, Duffet et al. reported that the use of FES stimulators with lower limb tasks performed at home, such as cycling, accelerates the recovery process of lower limb mobility of post-SCI subjects, generating positive effects on gait [15]. In this context, our results suggest that assistance with FES strategically activated during gait cycles synchronously in an HMI may have these effects on gait rehabilitation, such as walking speed.
Regarding neuronal behavior, Fig. 9 shows the topographic relative power changes with respect to the rest state of SCI individuals during walking and cycling tasks. Here, the topographies demonstrate a power decrease in the parieto-central cortex for the mu band, together with a power increase for the high beta band, which agrees with the results of Pfurtscheller and Neuper [34]. We did not find significant power differences between the assisted and non-assisted conditions, but power changes focused around Cz were observed, as previously reported in [34, 37].
Fig. 9.
Topography distribution of the EEG relative power in FES and non-FES conditions during the execution of (a) walking and (b) cycling
Moreover, the frontal cortex over FC1 and FC3 specifically exhibited more concentrated power changes in the low beta band (see Fig. 9a). A similar finding was previously reported by Sinkjaer et al., who applied FES to feedback in healthy subjects [42]. Our findings may be associated with movement phase detection using the IMU signal in the proposed FES-based HMI, which, together with the ZeroG system, improved gait posture and performance. On the other hand, for the pedaling tasks, it was possible to demonstrate a greater power decrease for the mu band together with a power increase in the high beta band in the FES condition compared to the non-FES condition. This could be associated with an improvement in neuromuscular performance caused by FES, as similarly reported by Van der Scheer et al. [38].
According to the literature, the brain regions around Cz provide the most relevant information associated with lower-limb movements [34, 37]. Figure 10 shows the power changes for the rest state in the joint time-frequency domain on cortical oscillations subserving cycling and walking. Our findings show power changes in the mu band during cycling movements, whereas power changes in the beta band between 30 and 35 Hz were observed in the middle of the gait cycle, which agrees with Storzer et al., who studied healthy subjects [44]. Comparing the assisted and non-assisted gait strategies, we observed power changes at approximately 30 Hz, as shown in Fig. 10(C), which decreased using our FES-based HMI. In contrast, during the FES-assisted cycling task, we observed a power decrease for the non-FES condition in the high beta (20–30 Hz), as shown in Fig. 10(F). Each relative power was calculated by considering each walk and pedal cycle during the protocol, as shown in Fig. 10(G) and (H), respectively.
Fig. 10.
Grand average time-frequency representations of power changes in Cz electrode within the movement cycle relative to the movement cycle mean power (in dB) for (A) walking without FES assistance; (B) walking with FES assistance; (C) difference of walking with assistance and non-assistance with FES; (D) cycling without FES assistance; (E) cycling with FES assistance; (F) difference of cycling with assistance and non-assistance with FES. Each relative power was calculated considering the walking or pedaling cycles shown in (G) and (H), respectively
To better understand cortical activity over Cz during walking and pedaling, Fig. 11 shows the power spectrum for each motor task. We observed a relative power decrease in the mu band during both FES- and non-FES-assisted movements, particularly during cycling (Fig. 11a and b). A relative power decrease was also found in the high-beta band during pedaling exercises, which agrees with the joint time–frequency analysis.
Fig. 11.
Grand average of the relative spectral power in dB to the rest period during continuous movement (a) walking; and (b) pedaling
The findings of the current study were also observed in other related studies that showed the role of mu and beta rhythms during lower-limb movements [7, 19, 32, 37, 44]. Gait is a complex task that demands higher cognitive activity than cycling exercises. Note that similar power changes during both assisted and non-assisted gait were obtained in the joint time-frequency domain and frequency domain. However, we observed an evident difference in cycling exercises, mainly in the frequency range of 12–18 Hz, which may be associated with cognitive attention tasks [5, 27, 44]. It is worth mentioning that the SCI individual who performed cycling movements was seated in a comfortable chair; thus, the FES-assisted strategy facilitated her lower-limb movements, consequently demanding less attention.
Our results confirm that FES-based HMI systems can facilitate movement speed, but achieving a significant cortical impact is not possible. Therefore, researchers should explore brain signals from individuals with severe neural impairments and motor deficits to establish a direct pathway for triggering FES devices or other end effectors. The scientific community has shown interest in integrating EEG-based HMIs with IMUs, as it opens possibilities to develop alternative strategies for controlling end-devices, including FES, robotic exoskeletons, and serious games, among others. For instance, Hernandez-Rojas et al. [21] reported the feasibility of using FES-based BCIs for SCI people to command their hand opening and closing. Other approaches have related to FES for assistance of lower-limb. Le Guillou et al. realized a pedaling phase recognition system, which can be used to synchronously deliver FES to the legs [25]. However, the aforementioned studies did not employ HMI for (de) activate FES systems.
Coelho-Magalahes et al. designed a closed-loop control strategy to adjust FES amplitudes during pedaling [9]. Sijobert et al. employed a multichannel FES and sensors based on plantar pressure and IMUs to activate FES in one leg during gait in post-stroke patients [41]. Li et al. Implemented a neural network-based controller and sEMG to actuate foot dorsiflexion that was used by people with foot drop [26]. These approaches, although promising, did not incorporate FES for assisted assistance on both legs for each specific phase of movement. In this context, our system offers promising avenues for the development of therapeutic interventions with more natural movements using HMIs.
Our HMI relies on residual movements, which restrict its use to participants with partial SCI. One solution to overcome this limitation is to directly employ brain signals for lower-limb decoding and HMI control. Some strategies have explored this methodology, e.g. Luu et al. [29] proposed a system based on the kinematic decoding of gait through EEG signals, whereas Blanco-Diaz et al. [5] implemented the same strategy for reconstructing the pedaling movement. Moreover, deep learning-based techniques have been used for gait decoding, such as the studies proposed by Tortora et al. [46] with healthy subjects. On the other hand, other studies have demonstrated the promising use of BCIs when they are used in rehabilitation contexts with other lower limb assistive devices, such as exoskeletons [6].
This study presents different contributions in the fields of rehabilitation and neuroengineering, where it is important to highlight that the proposed solution, based on FES and IMU, demonstrated efficient functioning and flexibility, mainly when applied in cycling protocols. This could be because pedaling does not require dynamic or center-of-mass changes during execution which would allow easier decoding, thereby enhancing the impact between the FES and non-FES conditions [8]. The system effectively identified the movement phases using only one IMU, thereby simplifying the setup process. However, sensory feedback plays an important role in motor recovery and is often overlooked in the design of closed-loop systems for lower limb rehabilitation [6, 39]. For this reason, our system can generate sensory feedback in different muscles through multi-channel FES during each gait phase, and differences in cortical rhythms during pedaling and walking cycles were detected in the central cortex of the brain, showing feasibility for applications in BCIs.
This study presents some limitations due to the small sample size, thus, future research should focus on expanding the number and diversity of SCI individuals, including more severe motor impaired cases in a long-term training protocol. It will help understanding the generalization of our findings, and statistically confirms observed effects on functional and clinical outcomes longitudinally, and also in cortical modulation. It is important to determine whether the use of our system contributes to neuroplasticity, gait symmetry, muscle strength, and quality of life in individuals with spinal cord injury.
Brain related data in EEG signals will be better processed to reject artifacts and interferences that generally appear during walking, and can mask subtle cortical changes. In addition, the HMI relies on residual lower-limb movement to detect gait or pedaling phases based on inertial signals, which restricts its applicability to individuals without preserved voluntary mobility. Therefore, integrating brain signals-based gait or pedaling decoding may enable individuals without residual motor function to actively drive end-devices and practice physical exercises, exciting cortical motor areas. Other future work can explore adaptive control strategies using machine learning or reinforcement learning to modulate stimulation parameters, and enhance motor recruitment and increase user safety.
Conclusion
The proposed FES-IMU-based HMI technology demonstrated promising results and good functioning in gait and cycling training protocols for volunteers with partial SCI. This proof of concept study revealed the technology’s flexibility in adapting to diverse movement tasks. The collected data suggest optimization of speed, cadence, and movement execution with FES assistance using only one IMU in the HMI composition. The multichannel FES hardware proved to be functional, enabling adaptability and automation in online and offline parameterization. Brain signal dynamics differed between FES and non-FES conditions during gait and pedaling, especially in the mu (8–13 Hz) and high-beta (20–30 Hz) bands, potentially correlated with movement correction caused by strategic FES activation. The results of this research open the door for further study of neural behaviors during lower limb tasks using FES and IMUs, aiming to restore mobility and rehabilitate people with neuromotor impairments, which greatly affect their daily activities such as walking or pedaling.
Acknowledgements
This study was financed in part by CAPES (Finance Code: 001), CNPq, Santos Dumont Institute from Brazil. The authors would like to thank also FAPES/I2CABrazil (Resolution N° 285/2021) for the financial support.
Biographies
Luiz Henrique Bertucci Borges
holds a degree in Electrical Engineering and a Master’s in Neuroengineering. He works at the Santos Dumont Institute and LAIS/UFRN developing assistive and rehabilitation technologies, biosignal acquisition systems, and human–machine interfaces.
Cristian Felipe Blanco Díaz
holds a BSc in Biomedical Engineering from Antonio Nariño University (Colombia) and an MSc from the Federal University of Espírito Santo (Brazil). He is a PhD student in Biorobotics at Scuola Superiore Sant’Anna (Italy). His research focuses on biosignal processing, neuroengineering, and human–machine interfaces.
Bruno Henrique e Silva Bezerra
is a Physiotherapist and PhD student in Physiotherapy at UFRN. He has experience in neurofunctional rehabilitation and assistive technology applied to individuals with neurological and physical disabilities, focusing on motor recovery and functional electrical stimulation.
Caroline Cunha do Espirito Santo
holds a PhD in Neurosciences with focus on rehabilitation sciences. She is a Professor and Researcher at the Santos Dumont Institute. Her work involves functional electrical stimulation, human locomotion, motor imagery, and assistive technology for neurorehabilitation.
Teodiano Freire Bastos Filho
is a Full Professor at the Federal University of Espírito Santo and a CNPq Researcher. His expertise includes robotics, assistive technology, control systems, and biosignal processing applied to neuroengineering, rehabilitation, and human–machine interaction.
Denis Delisle Rodriguez
holds degrees in Telecommunication and Biomedical Engineering and a PhD in Electrical Engineering from UFES, Brazil. He is a Professor at the Santos Dumont Institute. His interests include biomedical signal processing, pattern recognition, BCIs, and rehabilitation robotics.
André Felipe Oliveira de Azevedo
is a Professor and Researcher at the Edmond and Lily Safra International Institute of Neuroscience (Santos Dumont Institute). His work involves hardware and software development, intelligent control systems, and neuroengineering applications in healthcare and rehabilitation.
Funding
The Article Processing Charge (APC) for the publication of this research was funded by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) (ROR identifier: 00x0ma614). This study was financed in part by CAPES (Finance Code: 001), CNPq, Santos Dumont Institute from Brazil.
Declarations
Competing interests
The authors declare no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Ahmed H, Tahir M (2017) Improving the accuracy of human body orientation estimation with wearable imu sensors. IEEE Trans Instrum Meas 66(3):535–542 [Google Scholar]
- 2.Ahuja CS, Wilson JR, Nori S et al (2017) Traumatic spinal cord injury. Nat Rev Dis Primers 3(1):1–21 [DOI] [PubMed] [Google Scholar]
- 3.de Almeida TF, Morya E, Rodrigues AC et al (2021) Development of a low-cost open-source measurement system for joint angle estimation. Sensors 21(19):6477 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Bellman MJ, Cheng TH, Downey RJ et al (2015) Switched control of cadence during stationary cycling induced by functional electrical stimulation. IEEE Trans Neural Syst Rehab Eng 24(12):1373–1383 [DOI] [PubMed] [Google Scholar]
- 5.Blanco-Diaz CF, Guerrero-Mendez CD, de Andrade RM et al (2024) Decoding lower-limb kinematic parameters during pedaling tasks using deep learning approaches and eeg. Med Biol Eng Comput:1–17 [DOI] [PubMed]
- 6.Blanco-Diaz CF, da Silva R, Serafini E, Bastos-Filho T et al (2024) A gait imagery-based brain-computer interface with visual feedback for spinal cord injury rehabilitation on lokomat (accepted). IEEE Trans Biomed Eng [DOI] [PubMed]
- 7.Chaisaen R, Autthasan P, Mingchinda N et al (2020) Decoding eeg rhythms during action observation, motor imagery, and execution for standing and sitting. IEEE Sens J 20(22):13776–13786. 10.1109/JSEN.2020.3005968 [Google Scholar]
- 8.Chen G, Kautz S, Zajac F (2001) Simulation analysis of muscle activity changes with altered body orientations during pedaling. J Biomech 34(6):749–756 [DOI] [PubMed] [Google Scholar]
- 9.Coelho-Magalhães T, Azevedo Coste C, Resende-Martins H (2022) A novel functional electrical stimulation-induced cycling controller using reinforcement learning to optimize online muscle activation pattern. Sensors 22(23):9126 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Côté MP, Murray M, Lemay MA (2017) Rehabilitation strategies after spinal cord injury: inquiry into the mechanisms of success and failure. J Neurotrauma 34(10):1841–1857 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Courtine G, Bloch J (2023) A digital bridge between brain and spinal cord restores walking after paralysis. Nature [DOI] [PubMed]
- 12.Cousin C, Duenas V, Dixon W (2021) FES cycling and closed-loop feedback control for rehabilitative human–robot interaction. Robotics 10(2):61 [Google Scholar]
- 13.De Almeida TF, Borges LHB, Dantas AFOA (2022) Development of an iot electrostimulator with closed-loop control. Sensors 22(9):3551 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Donati AR, Shokur S, Morya E et al (2016) Long-term training with a brainmachine interface-based gait protocol induces partial neurological recovery in paraplegic patients. Sci Rep 6(1):30383 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Duffell LD, Donaldson NN (2020) A comparison of FES and scs for neuroplastic recovery after sci: historical perspectives and future directions. Front Neurol 11:607 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Ferrero L, Quiles V, Ortiz M et al (2023) Brain-computer interface enhanced by virtual reality training for controlling a lower limb exoskeleton. Iscience 26(5) [DOI] [PMC free article] [PubMed]
- 17.Fouad K, Popovich PG, Kopp MA et al (2021) The neuroanatomical–functional paradox in spinal cord injury. Nat Rev Neurol 17(1):53–62 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Fukuchi CA, Fukuchi RK, Duarte M (2019) Effects of walking speed on gait biomechanics in healthy participants: a systematic review and meta-analysis. Syst Rev 8(1):1–11 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Hashimoto Y, Ushiba J (2013) EEG-based classification of imaginary left and right foot movements using beta rebound. Clin Neurophysiol 124(11):2153–2160 [DOI] [PubMed] [Google Scholar]
- 20.He Y, Eguren D, Azorín JM et al (2018) Brain–machine interfaces for controlling lower-limb powered robotic systems. J Neural Eng 15(2):021004 [DOI] [PubMed] [Google Scholar]
- 21.Hernandez-Rojas LG, Cantillo-Negrete J, Mendoza-Montoya O et al (2022) Brain-computer interface controlled functional electrical stimulation: evaluation with healthy subjects and spinal cord injury patients. IEEE Access 10:46834–46852 [Google Scholar]
- 22.Hidler J, Brennan D, Nichols D et al (2011) Zerog: overground gait and balance training system. J Rehab Res Dev 48(4) [DOI] [PubMed]
- 23.Hobbs B, Artemiadis P (2020) A review of robot-assisted lower-limb stroke therapy: unexplored paths and future directions in gait rehabilitation. Front Neurorobot 14:19 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.King CE, Wang PT, McCrimmon CM et al (2015) The feasibility of a braincomputer interface functional electrical stimulation system for the restoration of overground walking after paraplegia. J Neuroeng Rehabil 12(1):1–11 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Le Guillou R, Schmoll M, Sijobert B et al (2021) A novel framework for quantifying accuracy and precision of event detection algorithms in Fes-cycling. Sensors 21(13):4571 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Li Y, Yang X, Zhou Y et al (2021) Adaptive stimulation profiles modulation for foot drop correction using functional electrical stimulation: a proof of concept study. IEEE J Biomed Health Inf 25(1):59–68 [DOI] [PubMed] [Google Scholar]
- 27.Lin CT, King JT, John AR et al (2021) The impact of vigorous cycling exercise on visual attention: a study with the br8 wireless dry eeg system. Front Neurosci 15:621365 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Lu C, Ge R, Tang Z et al (2023) Multi-channel Fes gait rehabilitation assistance system based on adaptive semg modulation. IEEE Trans Neural Syst Rehabil Eng 31:3652–3663 [DOI] [PubMed] [Google Scholar]
- 29.Luu TP, Nakagome S, He Y et al (2017) Real-time eeg-based brain-computer interface to a virtual avatar enhances cortical involvement in human treadmill walking. Sci Rep 7(1):1–12 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Müller P, Del Ama AJ, Moreno JC et al (2020) Adaptive multichannel Fes neuroprosthesis with learning control and automatic gait assessment. J Neuroeng Rehabil 17(1):1–20 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Nightingale E, Raymond J, Middleton J et al (2007) Benefits of Fes gait in a spinal cord injured population. Spinal Cord 45(10):646–657 [DOI] [PubMed] [Google Scholar]
- 32.Ortiz M, Iáñez E, Contreras-Vidal JL et al (2020) Analysis of the eeg rhythms based on the empirical mode decomposition during motor imagery when using a lower-limb exoskeleton. A case study. Front Neurorobot 14:48 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Patathong T, Klaewkasikum K, Woratanarat P et al (2023) The efficacy of gait rehabilitations for the treatment of incomplete spinal cord injury: a systematic review and network meta-analysis. J Orthop Surg Res 18(1):60 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Pfurtscheller G, Neuper C (2001) Motor imagery and direct brain-computer communication. Proc IEEE 89(7):1123–1134. 10.1109/5.939829 [Google Scholar]
- 35.Qiu S, Wang Z, Zhao H et al (2016) Using distributed wearable sensors to measure and evaluate human lower limb motions. IEEE Trans Instrum Meas 65(4):939–950 [Google Scholar]
- 36.Ren S, Wang W, Hou ZG et al (2020) Enhanced motor imagery based braincomputer interface via Fes and vr for lower limbs. IEEE Trans Neural Syst Rehab Eng 28(8):1846–1855 [DOI] [PubMed] [Google Scholar]
- 37.Romero-Laiseca MA, Delisle-Rodriguez D, Cardoso V et al (2020) A low-cost lower-limb brain-machine interface triggered by pedaling motor imagery for post-stroke patients rehabilitation. IEEE Trans Neural Syst Rehab Eng 28(4):988–996 [DOI] [PubMed] [Google Scholar]
- 38.van der Scheer JW, Goosey-Tolfrey VL, Valentino SE et al (2021) Functional electrical stimulation cycling exercise after spinal cord injury: a systematic review of health and fitness-related outcomes. J Neuroeng Rehabil 18(1):1–16 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Sebastián-Romagosa M, Cho W, Ortner R et al (2023) Brain–computer interface treatment for gait rehabilitation in stroke patients. Front Neurosci 17 [DOI] [PMC free article] [PubMed]
- 40.Sijobert B, Le Guillou R, Fattal C et al (2019) Fes-induced cycling in complete sci: a simpler control method based on inertial sensors. Sensors (Basel) 19(19):4268 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Sijobert B, Azevedo C, Pontier J et al (2021) A sensor-based multichannel Fes system to control knee joint and reduce stance phase asymmetry in post-stroke gait. Sensors (Basel) 21(6):2134 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Sinkjaer T, Haugland M, Inmann A et al (2003) Biopotentials as command and feedback signals in functional electrical stimulation systems. Med Eng Phys 25(1):29–40 [DOI] [PubMed] [Google Scholar]
- 43.Stampacchia G, Olivieri M, Rustici A et al (2020) Gait rehabilitation in persons with spinal cord injury using innovative technologies: an observational study. Spinal Cord 58(9):988–997 [DOI] [PubMed] [Google Scholar]
- 44.Storzer L, Butz M, Hirschmann J et al (2016) Bicycling and walking are associated with different cortical oscillatory dynamics. Front Hum Neurosci 10:61 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Tong KY, Leung WC, Wang XJ, et al (2020) Interactive cycling system and method of using muscle signals to control cycling pattern stimulation intensity. US Patent 10,722,745
- 46.Tortora S, Ghidoni S, Chisari C et al (2020) Deep learning-based bci for gait decoding from eeg with lstm recurrent neural network. J Neural Eng 17(4):046011 [DOI] [PubMed] [Google Scholar]
- 47.Wagner FB, Mignardot JB, Le Goff-Mignardot CG et al (2018) Targeted neurotechnology restores walking in humans with spinal cord injury. Nature 563(7729):65–71 [DOI] [PubMed] [Google Scholar]
- 48.Xu J, Mitra S, Hoof CV et al (2017) Active electrodes for wearable EEG acquisition: review and electronics design methodology. IEEE Rev Biomed Eng 10:187–198. 10.1109/RBME.2017.2656388 [DOI] [PubMed] [Google Scholar]
- 49.Zhang F, Hou ZG, Cheng L et al (2016) Ileg—a lower limb rehabilitation robot: a proof of concept. IEEE Trans Hum Mach Syst 46(5):761–768 [Google Scholar]











