Skip to main content


Operation of a brain-computer interface walking simulator for individuals with spinal cord injury

Article metrics



Spinal cord injury (SCI) can leave the affected individuals with paraparesis or paraplegia, thus rendering them unable to ambulate. Since there are currently no restorative treatments for this population, novel approaches such as brain-controlled prostheses have been sought. Our recent studies show that a brain-computer interface (BCI) can be used to control ambulation within a virtual reality environment (VRE), suggesting that a BCI-controlled lower extremity prosthesis for ambulation may be feasible. However, the operability of our BCI has not yet been tested in a SCI population.


Five participants with paraplegia or tetraplegia due to SCI underwent a 10-min training session in which they alternated between kinesthetic motor imagery (KMI) of idling and walking while their electroencephalogram (EEG) were recorded. Participants then performed a goal-oriented online task, where they utilized KMI to control the linear ambulation of an avatar while making 10 sequential stops at designated points within the VRE. Multiple online trials were performed in a single day, and this procedure was repeated across 5 experimental days.


Classification accuracy of idling and walking was estimated offline and ranged from 60.5% (p = 0.0176) to 92.3% (p = 1.36×10−20) across participants and days. Offline analysis revealed that the activation of mid-frontal areas mostly in the μ and low β bands was the most consistent feature for differentiating between idling and walking KMI. In the online task, participants achieved an average performance of 7.4±2.3 successful stops in 273±51 sec. These performances were purposeful, i.e. significantly different from the random walk Monte Carlo simulations (p<0.01), and all but one participant achieved purposeful control within the first day of the experiments. Finally, all participants were able to maintain purposeful control throughout the study, and their online performances improved over time.


The results of this study demonstrate that SCI participants can purposefully operate a self-paced BCI walking simulator to complete a goal-oriented ambulation task. The operation of the proposed BCI system requires short training, is intuitive, and robust against participant-to-participant and day-to-day neurophysiological variations. These findings indicate that BCI-controlled lower extremity prostheses for gait rehabilitation or restoration after SCI may be feasible in the future.


Spinal cord injury (SCI) can leave the affected individuals with severe paraparesis or paraplegia, thus rendering them unable to ambulate. Since there are currently no restorative treatments for this population, technological approaches have been sought to substitute for the lost motor functions. Examples include robotic exoskeletons [1], functional electrical stimulation (FES) systems [2], and spinal cord stimulators [3]. However, these systems lack intuitive able-body-like supraspinal control, so the ambulation function of these devices is controlled manually. As a result, they monopolize the upper extremities, which interferes with the user’s hand function. Due to these and other limitations, wheelchairs remain the primary means of mobility after SCI. Unfortunately, the extended reliance on wheelchairs typically lead to a wide variety of comorbidities that constitute the bulk of chronic SCI-related medical care costs [47]. Consequently, to address the above issues associated with the treatment of severe paraparesis and paraplegia after SCI, novel brain-controlled prostheses are currently being pursued [8, 9].

Recent results by our group [8, 9] suggest that an electroencephalogram (EEG) based brain-computer interface (BCI) controlled lower extremity prosthesis may be feasible. More specifically, these studies demonstrated the successful implementation of a BCI system that controls the ambulation of an avatar (a stand-in for a lower extremity prosthesis) within a virtual reality environment (VRE). By using a data-driven machine learning approach to decode the users’ kinesthetic motor imageries (KMIs), this BCI-controlled walking simulator enabled a small group of participants (one with paraplegia due to SCI [9]) to achieve intuitive and purposeful BCI control after a short training session. While the single SCI participant outperformed most able-bodied participants in this study, the operability of this system has not yet been tested in a SCI population. The successful implementation of the BCI-controlled walking simulator in a population of participants with SCI will establish the feasibility of future BCI-controlled lower extremity prostheses and will represent an important step toward developing novel approaches to gait rehabilitation after SCI.

Extending the application of the BCI-controlled walking simulator to a SCI population is faced with several problems. First, cortical reorganization, which is common after SCI [1013], may cause the cortical representation of walking KMI to vary vastly from one SCI participant to another. Second, this representation may dramatically evolve over time when SCI participants are engaged in KMI training [14]. Finally, participants with SCI may interpret walking KMI either as motor imagery or as attempted walking, which in turn may result in multiple patterns of cortical activation across these individuals. Therefore, intuitive BCI operation under these conditions requires a system that can accommodate for the variations of brain physiology across SCI individuals, time, and strategies. To address these problems, we used a data-driven machine learning method to decode walking KMIs in a small population of SCI individuals. This approach enabled 5 participants to achieve intuitive and self-paced operation of the BCI-controlled walking simulator after only minimal training. Furthermore, they were able to maintain this level of control over the course of several weeks.



The goal of this study was to determine if individuals with complete motor SCI can use intuitive control strategies to purposefully operate a BCI-controlled walking simulator. To achieve this goal, 5 participants with SCI underwent a short training procedure where they performed alternating epochs of idling and walking KMI while their EEG were recorded. These training EEG data were then analyzed to build decoding models for subsequent online BCI operation. To ascertain purposeful BCI control, participants then performed 5 sessions of an online BCI goal-oriented virtual walking task [9]. This entire procedure was performed 5 times over the course of several weeks to determine if participants’ performances improved with additional practice.

Participant recruitment

This study was approved by the University of California, Irvine Institutional Review Board. Four participants with paraplegia and one with tetraplegia due to SCI were recruited via physician referral from the Long Beach Veterans Affairs Spinal Cord Injury Center and other SCI outreach programs. The participants (see Table 1) gave their informed consent to participate in the study. Note that all participants were BCI naïve and most of them performed the experimental procedures at a rate of once per week.

Table 1 Demographic data

Data acquisition

Each participant was positioned 0.8 to 1 m from a computer screen that displayed textual cues or the VRE. EEG were recorded using a 63-channel cap (Medi Factory, Heerlen, The Netherlands) with Ag-AgCl electrodes arranged according to the extended 10-20 International Standard. Conductive gel (Compumedics USA, Charlotte, NC) was applied to all electrodes and the 30-Hz impedances between each electrode and the reference electrode were maintained at < 10 K Ω by abrading the scalp with a blunt needle. The EEG signals were amplified and digitized (sampling rate: 256 Hz, resolution: 22 bits) using two linked NeXus-32 EEG bioamplifiers (MindMedia, Roermond-Herten, The Netherlands). These signals were then streamed in real-time to a computer, re-referenced in a common average mode, band-pass filtered (0.01–40 Hz), and subsequently analyzed. The above procedures were performed using custom-written MATLAB (MathWorks, Natick, MA) programs.

Training procedure

To facilitate intuitive control of ambulation within in a VRE, a EEG decoding model was developed that differentiates between idling and walking KMI. To this end, training EEG data were acquired while participants underwent 30-sec alternating epochs of idling and walking KMI over a 10-min session. Participants were instructed to perform walking KMI and idling via automated textual cues displayed on the screen. For the walking KMI task, participants were instructed to vividly imagine themselves walking or to attempt to perform the cyclic leg movements of walking (note that these attempted movements did not produce any motor output). During this entire procedure, a computer labeling signal (to identify idling and walking KMI epochs) was recorded by an auxiliary data acquisition system (MP150, Biopac Systems, Goleta, CA), and a common pulse train sent to both EEG and auxiliary data systems was used to synchronize the EEG and labeling signals. Also, the participants were asked to remain still during the entire procedure, and their movement was monitored by the experimenter. If consistent movements were observed, the participant was asked to repeat the entire training procedure without making the undesired movements.

Decoding model generation

Offline signal analysis to generate EEG decoding models was performed in a manner similar to Wang et al. [9]. Briefly, EEG and labeling signals were first aligned and merged using the synchronization signal, and an iterative artifact rejection algorithm [15] was used to exclude EEG channels with excessive electromyogram (EMG) artifacts from further analysis. This was done by removing those channels whose EEG amplitude exceeded an outlier voltage threshold. The EEG data from the remaining channels were then split into 30 sec segments of idling and walking KMI states using the labeling signal. Each EEG segment was then divided into 5 randomly spaced, non-overlapping 4-sec trials for a total of 100 trials, which were then transformed into the frequency domain using the Fast Fourier Transform (FFT). Note that the remaining data in each segment were discarded. Finally, the power spectral density of each trial was integrated in 2-Hz bins, resulting in 20 binned power spectral values per channel.

Once the EEG segments were transformed into the frequency domain, a systematic search was performed to find the best contiguous frequency range for classification [9]. The dimension of the input data was then reduced using classwise principal component analysis (CPCA) [16, 17], and discriminating features were extracted using either Fisher’s linear discriminant analysis (LDA) [18] or approximate information discriminant analysis (AIDA) [19, 20]. This resulted in the extraction of one-dimensional (1D) spatio-spectral features:

f=T Φ C (d)

where d B × C is a single-trial of EEG data with B frequency bins per channel and C retained EEG channels, Φ C : B × C m is a piecewise linear mapping from the data space to an m-dimensional CPCA-subspace, and T: m is a LDA or AIDA transformation matrix.

Once the single-trial data were reduced to 1D spatio-spectral features, a linear Bayesian classifier:

f I , if P ( I | f ) > P ( W | f ) W , otherwise

was designed in the feature domain, where P(I| f ) and P(W| f ) are the posterior probabilities of idling and walking classes given the observed feature, f, respectively. Eq. (2) can be read as: “classify f as idle class if the posterior probability of idling is greater than the posterior probability of walking given the feature, f, and vice versa.” The offline performance of the Bayesian classifier (2), expressed as a classification accuracy, was then assessed by performing 10 runs of stratified 10-fold cross-validation (CV) [21]. To determine the optimal parameters for classification, the lower bound of the frequency range was then increased in 2-Hz steps, and this procedure was repeated until the classifier performance stopped improving, allowing the optimal lower frequency bound to be determined. The upper bound of the optimal frequency range was determined in a similar manner. The classification accuracy was also used to decide whether to use AIDA or LDA as a feature extraction technique. Finally, the parameters of the decoding model, including the optimal frequency range, the feature extraction mapping, and the classifier parameters, were saved for real-time EEG analysis.

Online signal analysis

During online operation, 0.5-sec-long blocks of EEG data were acquired in real time (at a rate of two blocks per second). This rate was limited by the computer processing speed and was empirically found to ensure data acquisition without dropping packets [9]. Of these 0.5 sec blocks, 0.75-sec-long segments (i.e. the most recent 0.5 sec block plus 50% of the previous block) were assembled and processed using the methods described in the Decoding model generation section. Briefly, the EEG signals were first band-pass filtered, then transformed into the frequency domain using FFT, and the power spectral densities over the optimal frequency range were integrated into 2-Hz bins. These spectral data were used as an input for the feature extraction algorithm (1). Finally, using Bayes’ rule, the posterior probabilities of idling and walking classes given the observed EEG feature, f, were calculated.

Online calibration

Since the BCI system is a binary state machine with an idling and a walking state, a brief calibration procedure was required to identify the posterior probability thresholds to transition between these two states [9]. Using the decoding model developed during the training procedure, the BCI system was set to run in the online mode while participants were prompted to alternate between performing idling and walking KMI for 2 min. The posterior probabilities were recorded and their histograms were plotted to determine two thresholds, one to initiate the ambulation of the avatar, T W , and the other to stop the avatar, T I . These two thresholds were initially set as T W =median P ( W | f W ) and T I =median P ( W | f I ) . Then, a brief online test was performed and based on the participant’s feedback, the thresholds were adjusted as necessary. During online BCI operation, the posterior probabilities P(W| f ) corresponding to the most recent 1.5 sec of EEG data were averaged and compared to the thresholds T W and T I , and the state transitions were executed based on the binary state machine diagram given in Figure 1. This step was implemented in order to smooth the sequence of posterior probabilities and reduce noisy state transitions.

Figure 1

Finite State Machine. The BCI system as a binary state machine with walking and idling states represented by circles. The state transitions are represented by arrows, with transitions triggered by the conditions shown next to the arrows. Self-pointing arrows denote that the system remains in the present state.

BCI and virtual reality environment integration

Using a simulated physics environment (Half-Life 2 Garry’s Mod, Valve Corporation, Bellevue, WA), a VRE was constructed to represent a flat grassland with 10 non-player characters (NPCs) arranged in a linear path in front of an avatar (see Figure 2). During online evaluation, the participants were assigned the task of utilizing idling and walking KMI to control the avatar’s standing and walking, similar to [8, 9]. A virtual joystick program [22] was used to interface the BCI software (MATLAB) and the VRE to enable the BCI’s control of the avatar’s walking. Full details on this integration process can be found in Wang et al. [9].

Figure 2

Avatar within the VRE. The avatar controlled by the BCI within the VRE. The simulator is operated in 3 rd person view. The participant uses walking KMI to move the avatar to each NPC and idling KMI to dwell there for at least 2 sec.

Online performance and assessment

To assess the online BCI performance, participants were tasked to move the avatar within two body lengths of each NPC and remain idle at each location for at least 2 sec. On each experimental day, participants repeated this task for 2–8 online sessions. This depended upon the participant’s willingness and availability. In total, each participant underwent between 19 and 29 online sessions performed over 5 experimental days. Depending on the participant’s availability, each experimental day was separated by approximately one week. Two performance measures were recorded for each session: the number of successful stops at the NPCs and the time taken to complete the course. The successful stops were defined as follows. Participants were given one point for dwelling at the designated stop for at least 2 sec. Only a fraction of a point was given for dwelling at the designated stop between 0.5 sec and 2 sec (increasing proportionally with the dwell time duration). Also, no point was given for dwelling less than 0.5 sec, and a full point was awarded for dwelling longer than 2 sec, but this inherently increased the time to completion. Thus, the maximum successful stop score was 10 points. In addition, participants were given a 20-min time limit to complete the course. If the participant could not finish the course within 20 min, the trial was interrupted and the number of successful stops achieved thus far was recorded.

Control experiments

The online performances (number of successful stops and completion time) were compared to random walk to determine if purposeful control was attained. The random walk performance was simulated by uniformly sampling the posterior probabilities between 0 and 1 and following the state transition rules with threshold values presented in Online calibration of the Methods section (details can be found in [9]). To ensure statistical significance, 1000 Monte Carlo (MC) simulation runs were performed and the number of successful stops and completion times were logged (the 20-min completion time limit was enforced as above). In addition, the same task was performed by an able-bodied participant using a manually controlled physical joystick [9].

Statistical tests

Purposeful control was defined as the ability to complete an online session within the allotted 20 min, with performances significantly different from random walk (p<0.01). This was ascertained by comparing the participants’ online performances to MC simulations using a multivariate analysis. To this end, the 2D probability density function (PDF) of each participant’s simulated random walk performance (consisting of two variables: number of successful stops and completion time) was estimated using the Parzen-Rosenblatt window method [18, 23]. A constant-value PDF contour was then drawn through each participant’s observed performance point and the corresponding p-value was determined as the fraction of the volume under the random walk PDF outside of this contour. These p-values were used to ascertain a statistically significant difference between the online performances and the simulated random walk. Finally, participants are deemed to have attained purposeful control once they have a single online session that is purposeful based on the definition above.

Composite score

Given the difficulty of interpreting multivariate performance measures across participants and sessions, a single composite score was defined as the following geometric mean:

c = c s c t

where c s and c t are the normalized performance measures for the number of successful stops and completion times, respectively, i.e.

c s = s s max c t = t max t t max t min

Here, s is the participant’s number of successful stops, smax = 10 is the maximum number of successful stops, t is the participant’s completion time, tmax = 1200 sec is the maximum allowed time, and tmin = 201.52 sec is the minimum time required to complete the course while achieving 10 successful stops. The values of c s and c t , and consequently c, range from 0 to 100%, where 100% corresponds to a perfect performance. Note that the use of the geometric mean favors a performance that is balanced over a performance that sacrifices one performance measure over the other (e.g. when a participant finishes the course in a short time while failing to make stops). Also note that the normalization of c s and c t ensures that the performance measures are unitless.


Offline performances

After participants underwent the training data collection for each experimental day (see Training procedure section), participant-specific EEG decoding models were generated as described in the Decoding model generation section. Cross-validation of these models resulted in offline classification accuracies that ranged from 60.5% to 92.3% (Table 2), with corresponding p-values between 0.018 and 10−20, thus indicating that the classifier performances were well above the chance level (50%). In addition, the participants’ average offline performances over 5 experimental days were 82.3%, 71.8%, 82.3%, 82.5%, and 82.2%, respectively. Finally, the overall average for all 5 participants across all 5 experimental days was 80.2% ± 8.62 (n = 25).

Table 2 Offline performances

Spatio-spectral feature extraction maps generated from offline analysis, as described in the Decoding model generation section, revealed salient brain areas and frequency bands underlying idling and walking KMI for each participant (see the supplementary material [Additional file 1] for all feature extraction images from 8–14 Hz). Qualitative analysis of these topographic maps revealed significant variations in the brain areas utilized by the participants while performing this task. For example, Participant 2 used mostly the Cz area (Figure 3), whereas Participant 5 used areas C3 and C4 (Figure 4). Furthermore, the utilized brain areas and frequency bands evolved for each participant over the 5 experimental days. For example, Participant 2 had growing activation of mid-frontal areas up to experimental day 4, followed by a slight shrinkage on day 5. However, one consistent feature among all participants was the activation of mid-frontal areas (over Cz or FCz and adjacent electrodes) mostly in the μ (8–12 Hz) and low β (12–16 Hz) bands.

Figure 3

Feature Extraction Images of Participant 2. Feature extraction images of Participant 2 for all experimental sessions. Dark colors (red and blue) represent the areas that were responsible for encoding the differences between idling and walking KMI. The EEG power in the 9–13 Hz bins in the mid-frontal (FCz), central (Cz) and central-parietal (CPz) areas were the most salient.

Figure 4

Feature Extraction Images of Participant 5. Feature extraction images of Participant 5 for all experimental sessions. The EEG power in the 9–13 Hz bins in the mid-frontal (Fz), lateral central (C3 and C4) and lateral central-parietal (CP3 and CP4) areas were the most informative for encoding the differences between idling and walking KMI.

Online calibration

After the short calibration procedure (see Online calibration in the Methods section), the state transition thresholds, T I and T W , were determined from the distributions of the posterior probabilities, P(W| f ) (see Figure 5 for an example), and their values are presented in Table 3. Note that in an ideal situation, P(W| f W) and P(W| f I) should cluster around 1 and 0, respectively, but as long as these probabilities are separable, online BCI control should be achievable. The values of T I and T W ranged from 0.07 to 0.70 and from 0.09 to 0.90, respectively, and the average across all participants on all experimental days was 0.40 and 0.62 for T I and T W , respectively.

Figure 5

Calibration Histograms. Histograms of the posterior probability of walking KMI given idling, P(W| f I), and walking KMI given walking, P(W| f W), for Participant 3. Note that P(W| f I)=1P(I| f I). Dashed lines indicate the 25%, 50%, and 75% quantiles.

Table 3 Online parameters

Online performances

All participants were able to achieve purposeful online control immediately (on day 1), with the exception of Participant 2 (on day 2). The online BCI performances upon achieving purposeful control are summarized in Table 4. The average stop score was 7.4 ± 2.3, and the average completion time was 273 ± 51 sec across all online sessions (n=124). Note that ideally, the course should be completed within 211 sec with a fixed walking time of 191 sec and idling time of 20 sec, so the additional time spent to complete the course was due to errors (e.g. false stops, difficulties transitioning to the walk state, overestimating the 2 sec dwelling time at each character). Also, only minimal lapses in BCI control occurred, as only 5 out of 124 online sessions (4%) were non-purposeful. Examples of the best online performances for each participant are shown in Figure 6 along with the simulated random walk PDFs. For additional comparison, the average performance achieved by a manually controlled physical joystick was 9.38 ± 0.95, and on their best day, Participants 3, 4, and 5 achieved a similar number of successful stops; however, no participants were able to complete the course as fast as manual control. Two time-space courses of the best online sessions (see Figure 7) show only a single false alarm and a single omission for Participant 3, and no false alarms and only two omissions for Participant 5. Note that the online performances of the other subjects were not recorded with this level of detail (the computer code was modified in the late stage of the study to accommodate for this function), and it is likely that other subjects’ false alarms and omissions were higher than the those reported in Figure 7. Therefore, while not universally applicable, these results illustrate the level of control achievable by this BCI system. Finally, a video showing a representative online session from Participant 3 is provided as a supplementary material [see Additional file 2].

Table 4 Online performances
Figure 6

Best Online Performances. Best online performances (completion times and stop scores) of each participant. Performances are marked by crosses with associated composite scores shown in parenthesis. PDF of the random walk simulations (contour lines) are also shown for Participant 1, but are absent for other participants as the contours lie outside of the alloted 20-min limit. Note that all performances are purposeful (p<0.01).

Figure 7

Online BCI Operation Time-Space Courses. Two representative time courses of the best online sessions for (top) Participant 3 and (bottom) Participant 5, where both subjects were able to achieve a high number of successful stops with a short completion time. False positives (i.e. the avatar walked when the participant intended to stop) are marked by orange segments, and false negatives (i.e. the avatar stopped when the participant intended to walk) are marked by red segments.

Additional file 2: Subject with tetraplegia due to syringomyelia uses the BCI to control the ambulation of a virtual reality avatar. To move the avatar, the subject imagines walking, and to stop, the subject relaxes. The goal is to move the avatar across the field and make 10 stops within 2 body lengths of non-player characters. Each stop should be at least 2 seconds long. This subject can complete the task while making all 10 stops with a completion time that is only 15 seconds longer than that of a manually controlled joystick. (MP4 7 MB)

The composite scores were calculated from the online performance measures and are summarized in Table 5. In general, the performances improved significantly over time; the average on day 1 was 77.8% and the average on day 5 was 85.7% (p = 0.0302). For comparison, the composite score of the joystick task is also shown. On their best days, Participants 3, 4 and 5 achieved performances similar to those of the manually controlled joystick, reaching nearly perfect performances (100%).

Table 5 Composite online performance score


The results of this study show that participants with paraplegia or tetraplegia due to SCI can operate a non-invasive BCI-controlled avatar within a VRE to accomplish a goal-oriented ambulation task. All participants gained purposeful online BCI control on the first day after undergoing a 10-min training session, with the exception of Participant 2, who did not attain control until day 2. In addition, BCI control was maintained over the course of the study, and performance continued to improve in 4 out of 5 participants. These findings suggest that a BCI-controlled lower extremity prosthesis for either gait rehabilitation or restoration may be feasible.

Offline performances

The offline classification accuracies varied across participants and experimental days, but were significantly above the chance level performance (50%). Similar to able-bodied participants engaged in the same task [8, 9], a short 10-min training session was sufficient for the data-driven machine learning algorithm to generate accurate participant-specific EEG decoding models for this population. The topographic maps of these models (e.g. Figure 3 and Figure 4) showed that the spatio-spectral features underlying the differences between walking and idling KMIs varied across participants and evolved over experimental days. The differences in the brain areas and EEG frequencies across participants may be due to variations in cortical reorganization following SCI [1013], or due to differences in imageries employed by each participant (e.g. the KMI of walking instructions may have been interpreted differently by each participant). Nevertheless, all participants showed activation of mid-frontal areas, which likely overlay the pre-motor and supplementary motor areas, as well as the pre-frontal cortex. Their activation during walking KMI is consistent with functional imaging findings, such as those in [24]. Another common pattern was the presence of activity near bilateral, lateral central-parietal electrodes, which likely represents the arm sensorimotor areas. A similar pattern was observed in able-bodied individuals [9], and is hypothesized to originate from arm swing imagery. Finally, the evolution of the feature extraction maps over the 5 experimental days may be indicative of a neuro-plasticity process associated with practice and learning [25, 26].

The spatio-temporal variations of walking KMI activation patterns demonstrate the necessity of a data-driven machine learning approach for rapid acquisition of intuitive BCI control. First, our approach accommodates for the variations of these activity patterns across participants, as well as their evolution over time. Second, it facilitates rapid acquisition of online BCI control, presumably by enabling participants to utilize intuitive mental strategies. The user training time necessary to acquire purposeful BCI control in this study is significantly shorter than those of other BCI studies where users must learn a completely new cognitive skill to modulate pre-selected EEG features, such as the μ-rhythm over lateral central areas [27]. Finally, this approach carries a significant potential value in the future practical implementation of BCI-prostheses, as it may drastically reduce the training time needed to attain purposeful and useful control of self-paced BCIs from a timescale of weeks to months to one of minutes to days. This in turn may significantly reduce the cost of training users to operate future BCI-prostheses.

Online performances

The results presented in Table 4 show that once purposeful control was achieved, it was maintained in 96% of all online sessions. In addition, 3 out of 5 participants achieved successful stop scores similar to those obtained using a manually controlled joystick. Even though no participants were able to complete the course as fast as manual control, it is encouraging that the average composite scores increased significantly over the course of the study. Furthermore, for Participants 3 and 5, the average composite scores (Table 5) approached 100% by the toward of the study. Therefore, not only was online control significantly different from random walk, but it was also meaningful. Given this trend, additional training and practice may help further improve performance, possibly to the point of approaching that of the manually controlled joystick.

Comparison with other studies

The similarities and differences between the present study and other related studies in the field are shown in Table 6. While this study represents a continuation of our prior work [8, 9], it demonstrates the first successful application of a BCI-controlled walking simulator in a SCI population. The present approach also uses KMI of walking/idling as a control strategy, which is intuitive because it matches the walking task. In contrast, related studies have used idling/foot imagery [28] or foot/hand imagery [29] to achieve control within a VRE. Furthermore, the data-driven machine learning approach to generate EEG decoding models in this study resulted in a very short training time, while those presented in [28, 29] resulted in a significantly longer training time (see Table 6). Finally, both our prior work [9] and [28] report on the BCI performances of a single SCI participant, whereas the current study includes a larger SCI population. This suggests that our BCI-VRE system may be generalizable in SCI individuals.

Table 6 Comparison with other studies

Future work

The success of this study suggests that restoring BCI-controlled ambulation after SCI may be feasible. To formally test this concept, integration of our BCI system with a physical ambulation prosthesis, such as a robotic gait orthosis (e.g. Lokomat, Hocoma, Volketswil, Switzerland) or an FES system (e.g. Parastep, Sigmedics, Fairborn, OH) is necessary. If such a system is successfully tested in a small SCI population, clinical trials to develop a commercial BCI-prosthesis would be warranted. Finally, these research efforts may ultimately lead to the development of a permanent BCI prosthesis for ambulation; for example, the integration of an invasive BCI system with an invasive FES system for ambulation. This type of system would eliminate the need for any preparation or mounting of EEG, while potentially achieving better performances.


This study shows that SCI participants can purposefully operate a self-paced BCI-VRE system in real time, and that the current BCI design approach is able to overcome the potential problems associated with variations in neurophysiology due to cortical reorganization after SCI, learning and plasticity processes, and differences in KMI strategies. Furthermore, the system satisfies the requirements of an ideal BCI-lower extremity prosthesis [9], namely: intuitiveness, robustness, and short training time. The operation of the system is intuitive as it enabled participants to use walking KMI to control the ambulation of the avatar. The system is robust in that the data-driven decoding methodology successfully accommodated for person-to-person and day-to-day variations in the neurophysiological underpinnings of idling and walking KMI behaviors. In addition, participants were able to maintain purposeful online control over the course of several weeks, further underscoring the system’s robustness over time. Finally, the system required only a short training time, as BCI control was generally attained after only a 10-min training data collection procedure followed by a 2-min calibration session on the 1st experimental day (for 4 out of the 5 participants).

In summary, the high level of control achieved by SCI subjects over the course of the study indicates that BCI-controlled lower extremity prostheses for gait rehabilitation or restoration after SCI may be feasible. The proposed BCI-VRE system may also serve as a training platform for BCI-controlled lower extremity prostheses once they become widely available.



Spinal cord injury


Brain-computer interface


Virtual reality environment


Kinesthetic motor imagery




Functional electrical stimulation




Fast Fourier Transform


Classwise principal component analysis


Fisher’s linear discriminant analysis


Approximate information discriminant analysis






Non-player character


Monte Carlo


Probability density function


American Spinal Injury Association.


  1. 1.

    Argo Medical Technologies Ltd: Restoring Upright Mobility. 2010. Yokneam Ilit, Israel.

  2. 2.

    Graupe D, Kohn KH: Functional neuromuscular stimulator for short-distance ambulation by certain thoracic-level spinal-cord-injured paraplegics. Surg Neurol 1998,50(3):202-207. 10.1016/S0090-3019(98)00074-3

  3. 3.

    Harkema S, Gerasimenko Y, Hodes J, Burdick J, Angeli C, Chen Y, Ferreira C, Willhite A, Rejc E, Grossman RG, Edgerton VR: Effect of epidural stimulation of the lumbosacral spinal cord on voluntary movement, standing, and assisted stepping after motor complete paraplegia: a case study. Lancet 2011,377(9781):1938-1947. 10.1016/S0140-6736(11)60547-3

  4. 4.

    Schmitt JK, Schroeder DL: Endocrine and metabolic consequences of spinal cord injuries. In Spinal Cord Medicine - Principles and Practice. Edited by: Lin VW CardenasDDCutter NC. New York: Demos Medical Publishing; 2003:221-235.

  5. 5.

    Sabharwal S: Cardiovascular dysfunction in spinal cord disorders. In Spinal Cord Medicine - Principles and Practice. Edited by: Lin VWCardenas. New York: Demos Medical Publishing; 2003:179-192.

  6. 6.

    Zehnder Y, Lüthi M, Michel D, Knecht H, Perrelet R, Neto I, Kraenzlin M, Zäch G, Lippuner K: Long-term changes in bone metabolism, bone mineral density, quantitative ultrasound parameters, and fracture incidence after spinal cord injury: a cross-sectional observational study in 100 paraplegic men. Osteoporos Int 2004,15(3):180-189. 10.1007/s00198-003-1529-6

  7. 7.

    Priebe MM, Martin M, Wuermser LA, Castillo T, McFarlin J: The medical management of pressure ulcers. In Spinal Cord Medicine - Principles and Practice. Edited by: Waters R, Perkash I, Lin VW, Cardenas DD, Cutter NC, Frost FS, Hammond MC, Lindblom LB, Perkash I, Waters R, Woolsey RM. New York: Demos Medical Publishing; 2003:567-590.

  8. 8.

    Wang PT, King C, Chui LA, Nenadic Z, Do A: BCI controlled walking simulator for a BCI driven FES device. In Proc of RESNA Ann Conf. Arlington: VA: RESNA; 2010.

  9. 9.

    Wang PT, King CE, Chui LA, Do AH, Nenadic Z: Self-paced brain-computer interface control of ambulation in a virtual reality environment. J Neural Eng 2012,9(5):056016. 10.1088/1741-2560/9/5/056016

  10. 10.

    Cramer SC, Lastra L, Lacourse MG, Cohen MJ: Brain motor system function after chronic, complete spinal cord injury. Brain 2005,128(12):2941-2950. 10.1093/brain/awh648

  11. 11.

    Sabbah P, De Schonen S, Leveque C, Gay S, Pfefer F, Nioche C, Sarrazin JL, Barouti H, Tadie M, Cordoliani YS: Sensorimotor cortical activity in patients with complete spinal cord injury: a functional magnetic resonance imaging study. J Neurotrauma 2002, 19: 53-60. 10.1089/089771502753460231

  12. 12.

    Alkadhi H, Brugger P, Boendermaker SH, Crelier G, Curt A, Hepp-Reymond MC, Kollias SS: What disconnection tells about motor imagery: evidence from paraplegic patients. Cereb Cortex 2005,15(2):131-140.

  13. 13.

    Hotz-Boendermaker S, Funk M, Summers P, Brugger P, Hepp-Reymond MC, Curt A, Kollias SS: Preservation of motor programs in paraplegics as demonstrated by attempted and imagined foot movements. Neuroimage 2008, 39: 383-394. 10.1016/j.neuroimage.2007.07.065

  14. 14.

    Cramer SC, Orr ELR, Cohen MJ, Lacourse MG: Effects of motor imagery training after chronic, complete spinal cord injury. Exp Brain Res 2007,177(2):233-242. 10.1007/s00221-006-0662-9

  15. 15.

    Do AH, Wang PT, Abiri A, King CE, Nenadic Z: Brain-computer interface controlled functional electrical stimulation system for ankle movement. J Neuroeng Rehabil 2011.,8(49):

  16. 16.

    Das K, Osechinskiy S, Nenadic Z: A classwise PCA-based recognition of neural data for brain-computer interfaces. In Proc 29th Ann Int Conf of the IEEE Eng in Med and Biol Soc. Piscataway, NJ: IEEE; 2007:6519-6522.

  17. 17.

    Das K, Nenadic Z: An efficient discriminant-based solution for small sample size problem. Pattern Recogn 2009,42(5):857-866. 10.1016/j.patcog.2008.08.036

  18. 18.

    Duda RO, Hart PE, Stork DG: Pattern Classification. New York. NY: Wiley-Interscience; 2001.

  19. 19.

    Nenadic Z: Information discriminant analysis: feature extraction with an information-theoretic objective. IEEE T Pattern Anal 2007,29(8):1394-1407.

  20. 20.

    Das K, Nenadic Z: Approximate information discriminant analysis: a computationally simple heteroscedastic feature extraction technique. Pattern Recogn 2008,41(5):1548-1557. 10.1016/j.patcog.2007.10.001

  21. 21.

    Kohavi R: A study of cross-validation and bootstrap for accuracy estimation and model selection. Edited by: Hillsdale NJ. Lawrence Erlbaum Associates, Ltd.; 1995:1137-1145.

  22. 22.

    van der Westhuysen D: Parallel Port Joystick. 2011. []

  23. 23.

    Botev ZI: A novel nonparametric density estimator. Postgraduate seminar series: School of Physical Sciences at The University of Queensland; 2006.

  24. 24.

    Zwergal A, Rominger A, Förster S, Fesl G, Dieterich M, Brandt T, Strupp M, Bartenstein P, Jahn K, La Fougère C: Real versus imagined locomotion: a [18F]-FDG PET-fMRI comparison. Neuroimage 2010,50(4):1589-1598. 10.1016/j.neuroimage.2009.12.060

  25. 25.

    Ward NS, Brown MM, Thompson AJ, Frackowiak RSJ: Neural correlates of motor recovery after stroke: a longitudinal fMRI study. Brain 2003,126(Pt 11):2476-2496.

  26. 26.

    Page SJ, Szaflarski JP, Eliassen JC, Pan H, Cramer SC: Cortical plasticity following motor skill learning during mental practice in stroke. Neurorehabil Neural Repair 2009,23(4):382-388.

  27. 27.

    Wolpaw JR, McFarland DJ: Control of a two-dimensional movement signal by a noninvasive brain-computer interface in humans. Proc Natl Acad Sci USA 2004,101(51):17849-17854. 10.1073/pnas.0403504101

  28. 28.

    Leeb R, Friedman D, Müller-Putz GR, Scherer R, Slater M, Pfurtscheller G: Self-paced (asynchronous) BCI control of a wheelchair in virtual environments: a case study with a tetraplegic. Comput Intell Neurosci 2007,2007(7):79642-79654.

  29. 29.

    Pfurtscheller G, Leeb R, Keinrath C, Friedman D, Neuper C, Guger C, Slater M: Walking from thought. Brain Res 2006, 1071: 145-152. 10.1016/j.brainres.2005.11.083

Download references


This study was funded by the Roman Reed Spinal Cord Injury Research Fund of California (RR 08-258 and RR 10-281), and was partially funded by the Long Beach VA Advanced Fellowship Research Award.

Author information

Correspondence to Christine E King or An H Do.

Additional information

Competing interests

CEK received salary from HRL Laboratories, LLC (Malibu, CA). The remaining authors declare that they have no competing interests.

Authors’ contributions

CEK carried out the experiments, collected and analyzed the data, and wrote the article. PTW programmed the brain-computer interface software, assisted with carrying out the experiments, collecting the data, and analyzing the data. LAC contributed to conception of the study. AHD conceived and designed the study, implemented the VRE, recruited and consented participants, supervised the experiments, and co-wrote and proofread the article. ZN conceived and designed the study, designed the signal processing, pattern recognition, and classification algorithms, and co-wrote and proofread the article. All authors read and approved the final manuscript.

Electronic supplementary material

Authors’ original submitted files for images

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and Permissions

About this article

Cite this article

King, C.E., Wang, P.T., Chui, L.A. et al. Operation of a brain-computer interface walking simulator for individuals with spinal cord injury. J NeuroEngineering Rehabil 10, 77 (2013) doi:10.1186/1743-0003-10-77

Download citation


  • Spinal cord injury
  • Brain computer interface
  • Virtual reality environment
  • Electroencephalogram
  • Kinesthetic motor imagery
  • Gait
  • Ambulation
  • Locomotion