Next Article in Journal
A Novel Method of Aircraft Detection under Complex Background Based on Circular Intensity Filter and Rotation Invariant Feature
Next Article in Special Issue
Non-Destructive Testing Using Eddy Current Sensors for Defect Detection in Additively Manufactured Titanium and Stainless-Steel Parts
Previous Article in Journal
Fault Identification in Electric Servo Actuators of Robot Manipulators Described by Nonstationary Nonlinear Dynamic Models Using Sliding Mode Observers
Previous Article in Special Issue
In Vivo Evaluation of a Subcutaneously Injectable Implant with a Low-Power Photoplethysmography ASIC for Animal Monitoring
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An FPGA-Embedded Brain-Computer Interface System to Support Individual Autonomy in Locked-In Individuals

Department of Medical and Surgical Sciences, Magna Graecia University, Viale Europa, 88100 Catanzaro, Italy
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(1), 318; https://doi.org/10.3390/s22010318
Submission received: 5 November 2021 / Revised: 25 December 2021 / Accepted: 29 December 2021 / Published: 1 January 2022
(This article belongs to the Special Issue Integrated Circuits and Technologies for Real-Time Sensing)

Abstract

:
Brain-computer interfaces (BCI) can detect specific EEG patterns and translate them into control signals for external devices by providing people suffering from severe motor disabilities with an alternative/additional channel to communicate and interact with the outer world. Many EEG-based BCIs rely on the P300 event-related potentials, mainly because they require training times for the user relatively short and provide higher selection speed. This paper proposes a P300-based portable embedded BCI system realized through an embedded hardware platform based on FPGA (field-programmable gate array), ensuring flexibility, reliability, and high-performance features. The system acquires EEG data during user visual stimulation and processes them in a real-time way to correctly detect and recognize the EEG features. The BCI system is designed to allow to user to perform communication and domotic controls.

1. Introduction

The purpose of the BCI research is the realization of a new assistive communication and control technology for people with severe neuromuscular disabilities [1,2,3], such as amyotrophic lateral sclerosis (ALS), spinal cord injury, stroke, multiple sclerosis, and muscular dystrophies [4,5,6,7,8,9,10,11,12,13]. Therefore a potential group of BCI users consists of people who cannot activate any muscle despite having an adequate cognitive function (locked-in syndrome). In addition, in the last years, this technology has been used in cognitive studies, i.e., for clinical diagnosis and prognosis for patients with disorders of consciousness [14]. In 2012, Wolpaw tried to provide a definition that is exhaustive and complete [15]: A BCI is a system that measures central nervous system (CNS) activity and converts it into an artificial output that replaces, restores, enhances, supplements, or improves natural CNS output and thereby changes the ongoing interactions between the CNS and its external or internal environment. In general, the CNS function responds to events in the outside world or the body by producing natural outputs (neuromuscular or hormonal) that meet the organism’s needs. The phenomena that occur continuously in the CNS (electrophysiological, neurochemical, and metabolic) can be quantified by monitoring electric or magnetic fields or other parameters using sensors on the scalp, the brain’s surface, or within the brain. A BCI, then, acquires the brain signals, analyses them to extract specific measures (or features) that correlate with the user’s intent, and converts (or translates) these features into commands that control the application devices [16,17]. The brain signals can be acquired through different electrophysiological methods, but electroencephalography (EEG) is the most used non-invasive signal acquisition method for BCI [18].
Different components of the EEG signal could be used to control BCI systems, such as sensorimotor rhythms [19,20,21], slow cortical potentials [22], P300 event-related potentials [23,24], and steady-state visual evoked potentials (SSVEP) [25,26], but the P300 and SSVEP-based BCIs turn out to be the most effective for communication and control applications. They allow users to select different characters or icons relatively quickly without requiring intensive training. Specifically, SSVEP is a visual evoked potential (VEP) consisting of a visual cortical response evoked by repetitive stimuli with a constant frequency on the central retina. For example, when the retina is excited by a visual stimulus at frequencies between 3.5 and 7.5 Hz, the brain yields an electrical activity at the same and different frequency of the visual stimulation. The main disadvantages of the SSVEP paradigm are here reported. First, there could be the risk of inducing photo epileptic seizures for stimulation frequencies in the 15–25 Hz band. Secondly, SSVEP-based BCIs perform much worse if the BCI system should discriminate when the subject does nothing versus attending to the SSVEP stimulus. This problem is known as the zero-class problem and is a severe issue in real-world BCI systems. P300, instead, can be evoked in nearly all subjects and be easily elicited differently from other visual evoked potentials.
Farwell and Donchin introduced the first P300-based BCI system in 1988; their goal was to allow paralyzed people to communicate simple messages using their system [23]. They proposed a design in which a 6 ∗ 6 matrix of letters and other commands was presented to the user. The stimulation consisted of flashing the rows and columns of the matrix in random order; the user had to focus on a letter and mentally count the number of times it was illuminated. This is defined as the “oddball” paradigm. After several repetitions, the computer was able to identify the row and column that had elicited the P300 component. Then, the letter that the user wanted to select could be obtained by the intersection of the two. Over the years, several groups have perfected this system through the use of alternative EEG registration sites, signal-processing methods, and stimulus presentation parameters and formats to improve the speed, accuracy, capacity, and clinical practicality of the P300-based BCI systems, to make them a valid option of communication and control for people with severe motor disabilities [27,28,29,30,31,32,33,34]. These BCI systems are based on the use of personal computers. They, however, are neither compact nor portable because the EEG signal is amplified and conditioned with commercial amplifiers, and the algorithms for features extraction and classification work on personal computers; in this way, these systems cannot be used conveniently in hospitals or at home [35,36]. Instead, parameters such as energy consumption, size, robustness, portability, and reconfiguration must be considered to make the BCI system an effective communication and control device. In recent years some embedded BCI system designs have been proposed. Gao et al. presented an SSVEP-based BCI system to control environmental devices, such as TV, videotape recorders, or air-conditioners [37]. Compared to their previous PC-based BCI system, they used a new stimulator composed of 48 green LEDs, whose blinking frequency is controlled by a programmable logic device, a trainable infrared remote-controller a DSP system for all processing and control functions. The results obtained on a subject show a transfer rate up to 68 bits per minute, an average accuracy of 87.5%, and an average time for one target selection of 3.8 s. Lin et al. proposed a real-time wireless embedded EEG-based BCI system for real-time drivers’ drowsiness detection and warning [38]. The system consists of a four-channel signal acquisition and amplification unit, a wireless data transmission unit, a dual-core embedded system, a host system for data storage and real-time display, and a warning device. The system was tested on five subjects, and it was achieved an average accuracy of 74.6%. Garcia et al. presented a versatile hardware platform to produce a small, autonomous, and configurable BCI platform adaptable to the user’s needs [39]. It consists of three modules: (i) an EEG amplifier and digitizer, (ii) a micro-controller to handle the transfer of the EEG samples in real-time to the computer, and (iii) a communication module that uses the Zigbee or Bluetooth protocols. However, signal-processing algorithms have been implemented on personal computers. In 2010 it was presented an embedded SSVEP-based BCI based on a low-cost field-programmable gate array (FPGA) [40]. The system includes a customized light-emitting diode (LED) stimulation panel, an SSVEP acquisition circuit, an FPGA-based real-time signal processor, a radio-frequency (RF) command transmitter-receiver circuit, and a bio-feedback voice-output circuit and allows users to control multimedia devices. The system has been tested on seven subjects (ages 23 to 32); it was obtained an accuracy of 89.29% and an information transfer rate of 24.67 bits per minute. Joshi et al. presented a portable and economic mu rhythm-based BCI accomplished using a programmable system on chip (PSoC, Cypress Semiconductor) [41]. Through the motor imagery, the user must move a cursor located on the center of a screen to targets in the top and bottom. The system was tested on three subjects for two weeks; it was obtained an average accuracy of 70% and a communication bit rate of up to 7 bits per minute on the final day.
This paper describes an embedded BCI system based on the acquisition and processing of EEG signals aiming to extract and recognize P300 components elicited through the oddball paradigm. An FPGA-based device was selected among different possible embedded solutions for the system’s development since it offers several advantages, such as flexibility, reliability, and high-performance features [42,43]. In particular, since the FPGA chip contains reconfigurable gate arrays and embedded memory, it is suitable for rapidly implementing a digital signal-processing algorithm. Moreover, the use of parallel architectures increases system performance by processing high-volume data more efficiently and performing multiple tasks simultaneously. The event-related potential was chosen as the control characteristics of our BCI system due to the relatively short training times required to the user and the increased speed, which allows the selection of one among several options proposed concerning the sensorimotor rhythms. SSVEPs also enable the user to select a choice between different possibilities quickly without training. However, as reported in the work of [44], P300-based systems allow higher classification accuracy than SSVEP-based BCI systems. Therefore, P300 potential has been preferred.
The paper is organized as follows: Section 2 describes the architecture and the main functionalities of the FPGA-based brain-computer interface system; Section 3 presents the main results of the experimental tests. Finally, Section 4 concludes the paper, highlighting the innovative features of our system.

2. Methods

The P300 event-related potential (ERP) is a cognitive potential that occurs when the subject recognizes a rare or relevant stimulus (target), auditory, visual, or somatosensory, within a train of frequent or irrelevant stimuli (non-target) [45]. An example of a stimulation paradigm is the oddball paradigm. In this paradigm, the users are subjected to events that can be classified into two distinct categories. Events that belong to one of two types rarely occur. When the rare event is presented to the user, it elicits the P300 potential. In addition to the oddball paradigm, i.e., the single-stimulus and three-stimulus paradigms can be used. P300 consists of a positive deflection in the EEG, which occurs 250–400 ms after the onset of the target stimulus (Figure 1).
The P300 potential has an amplitude lower or similar to the EEG background activity; for this reason, it is necessary to synchronize media from different epochs relating to the target stimuli to distinguish the P300 potential from regular EEG activity. The amplitude of the P300 component is inversely proportional to the frequency with which the rare impulse occurs; it is also influenced by the number of concurrent activities performed by the user and by changes in the probability of the target stimulus; for example, if two target stimuli occur consecutively, the amplitude of the P300 potential decreases after the first rare stimulus [46].
Figure 2a shows the architecture of the proposed FPGA-embedded BCI system, which includes the following hardware modules: (i) a custom visual stimulator; (ii) a commercial certified EEG amplifier (g.Mobilab+, g.TEC Graz, Austria); (iii) an embedded hardware platform for processing and systems control (Single-Board RIO, National Instruments, Austin, TX, USA). In Figure 2b, it is possible to see the connections between the stimulation panel and the embedded FPGA-based board.
The stimulation panel contains 36 light-emitting diodes (LEDs) organized in a matrix with six rows and six columns. The LEDs’ flicking is managed according to the oddball stimulation paradigm by the embedded platform to evoke the P300 response.
EEG amplifier acquires signals coming from eight-sintered silver/silver chloride electrodes (mounted on an EEG cap) placed according to the International 10/20 System at Fz, Cz, Oz, Pz, P3, P4, PO7, and PO8. All electrodes were referenced to the right earlobe and grounded to the left mastoid. The electrodes that P300 is typically recorded from are illustrated in Figure 3: the P300 component is more evident in the occipital and parietal regions. The eight channels were amplified, band-pass filtered between 0.5 and 100 Hz, and digitized (with a 16-bit resolution) at a 256 Hz sampling rate. Through a serial interface (RS-232), EEG data are transferred to the embedded platform.
The embedded platform used for developing the BCI system is an integrated acquisition and processing system based on FPGA technology. The single-board RIO system is a low-cost deployment solution based on National Instruments Reconfigurable I/O (RIO) technology. On a single board, it integrates a real-time processor for reliable stand-alone operation and signal-processing, reconfigurable FPGA for custom I/O timing and processing, and analog and digital I/O. The real-time processor is connected to the reconfigurable FPGA Xilinx (Spartan Family) through an internal high-speed PCI bus. The board features an industrial 400 MHz Freescale MPC5200 processor that determines LabVIEW Real-Time applications on the reliable Wind River VxWorks real-time operating system. In addition, FPGA is directly connected to different I/O modules.
The embedded platform can be programmed using the LabVIEW graphical programming language and two specific add-on modules (LabVIEW Real-Time Module to create applications that can run in the embedded processor and the LabVIEW FPGA Module to program the FPGA integrated).
The embedded hardware system performs all signal-processing steps needed to extract the P300 response. In particular, the implemented hardware blocks include conditioning (pre-processing), feature extraction, and feature translation (classification) (see Figure 4). Moreover, the embedded system manages the data acquisition from the EEG amplifier, the timing of stimulation, and gives visual feedback to the user relative to the classification results at the end of the classification process. In addition to displaying classification results, the embedded system can operate electrical/electronic devices, i.e., for domestic applications, using digital I/O lines. A detailed description of different BCI blocks is reported in the following sections.

2.1. Visual Stimulation

The stimulation interface panel consists of 36 LEDs arranged in a six by six matrix. The panel’s physical size is 25 cm by 17 cm. The LEDs are mounted on a Plexiglas plate and driven through a custom hardware module. LEDs have been chosen because they have several advantages over traditional devices used for visual stimulation in neuroscience (e.g., LCD screen): they are small, relatively stable, cheap, demand little energy to be driven, and have low electromagnetic emissions. Moreover, due to their on/off switching response, LEDs are suitable for displaying precise temporal patterns of stimulation [47]. In particular, green LEDs have been used because some studies [48] have demonstrated that a green/blue flicker matrix can be associated with better performances in a P300 BCI, maintaining safe conditions for the user.
The LEDs driving module provides a robust and high current capacity to the LEDs matrix. The led driver receives pulse signals from the digital ports of the embedded hardware system, such that LEDs can be turned on and off according to the stimulation timing protocol. According to the oddball paradigm, non-target LEDs were alternated with the target in a pseudo-random sequence. The rows and the columns of the LEDs matrix were significantly intensified for 125 ms with 125 ms (power off) between intensifications (Figure 5). A stimulation sequence requires that all rows and all columns of the stimulation matrix illuminate at least once. Therefore, the acquisition of EEG data relative to two or more stimulation sequences is needed to correct the P300 component. The set of stimulations sequences delivered to the user represents a trial and allows selecting a target. A symbolic communicator (a sheet with 36 alphanumeric characters or icons, see Figure 6) can be overlaid to the stimulation panel based on the specific application in which the system is used.

2.2. Acquisition Module

The acquisition module represents the interface between the EEG acquisition device and the embedded hardware platform. This block, implemented on the sbRIO platform, provides communication with the EEG amplifier, relying on a protocol defined by the acquisition hardware. During the initialization phase, the acquisition block configures the external hardware; in particular, it selects the channel for the acquisition and decides whether to use the two digital lines as an external trigger. While operating, this block receives data from the EEG amplifier. It then retransmits them with appropriate markers/labels (i.e., Phase in Sequence, Stimulus Code, Stimulus Type) following the processing module. These labels will allow for a correct signal segmentation to extract control parameters and, generally, P300 detection. In addition, they provide information about the BCI session’s current state, allowing for the correct timing of the stimulation and information about the present stimulus intensified. In addition, the acquisition module is concerned with saving the data and its labels for further offline analysis. These data are stored in the memory available onboard the embedded system and are accessible through the FTP protocol.

2.3. P300 Signal Processing

All signal-processing operations needed for the extraction and classification of the P300 component were implemented on the embedded platform, exploiting its dyadic architecture based on FPGA and a real-time microprocessor. The main steps are illustrated in Figure 7.
The conditioning block is the first processing step, as reported in the previous BCI scheme. Next, the data coming from the acquisition module undergo frequency filtering operations to improve the signal-to-noise ratio. Frequency filtering includes a band-pass filter (0.2–80 Hz, Butterworth topology, with 40 dB/dec roll-off) that removes the continuous and high frequencies and a notch filter (with a 50 Hz cut-off frequency), which eliminates interferences from the power supply.
The feature extraction block extracts the evoked potentials from the continuous EEG signal. The P300 detection method followed the procedure developed by Farwell and Donchin. The EEG filtered signals coming from the eight channels are segmented in epochs beginning with the intensification and lasting for 800 ms: for each channel, an epoch was derived in association with each stimulus class, thus for each matrix row and column intensification. The method assumes that the epochs associated with the target stimulus will present a detectable P300, while the other epochs will not. Then, the epochs related to the target and non-target stimuli are averaged for each stimulus class over all stimulation sequences of a single trial for each electrode site. Equations (1) and (2) show the averaging calculations for each stimulus class (rows and columns):
R1mean = mean(R1(seq1), R1(seq2),.....R1(seqk)),
......
Rnmean = mean(Rn(seq1), Rn(seq2),.....Rn(seqk))
C1mean = mean(C1(seq1), C1(seq2),.....C1(seqk)),
......
Cmmean = mean(Cm(seq1), Cm(seq2),.....Cm(seqk)),
where R1(seq1) is, for example, the epoch relative to stimulus class 1 acquired during the first stimulation sequence. Therefore, R1mean, …, Rnmean are the averaged epochs relative to nth row stimuli and C1mean, …, Cmmean to the mth column stimuli. Particularly, Rimean ∈ ℝ nsnch for i = 1, …, n and Cimean ∈ ℝ nsnch for i = 1, …, m. ns is the total number of samples in a single epoch and nch the number of acquired channels, respectively 204 and 8.
The output of the features extraction block will be averaged features vectors (AveragedEpochs) related to each stimulus class and electrode site (Equation (3)).
AveragedEpochs = [R1mean,...Rnmean, C1mean,...Cmmean].
The feature translator block translates the features vectors in a logic control signal independent of the specific application. It generally consists of linear classification. In particular, it receives as input the epochs averaged for each stimulus and the weights matrix, obtained through the offline analysis of previously acquired EEG data. Weights coefficients are extracted through an offline procedure based on the step wise linear discriminant analysis (SWLDA) [31]. Then, the feature translator block performs a linear combination of the features arrays (AveragedEpochs) with the weights (Weights), obtaining the scores vector (Y) for each stimulus class (Equations (4) and (5)).
Yrow1 = ΣAverageEpochs1(i, j) ∗ Weights(i, j),
....
Yrown = ΣAverageEpochsn(i, j) ∗ Weights(i, j)
Ycolumn1 = ΣAverageEpochsn + 1(i, j) ∗ Weights(i, j),
....
Ycolumnm = ΣAverageEpochsn + m(i, j) ∗ Weights(i, j).
Finally, the algorithm searches for the maximum scores (predictedrow and predictedcolumn) in the vector for the stimulus class relative to the rows (Yrow) and columns (Ycolumns) (Equation (6a–d)).
Yrow = (Yrow1, …, Yrown)
Ycolumn = (Ycolumn1, …, Ycolumnm)
predictedrow = argmax(Yrow)
predictedcolumn = argmax(Ycolumn).
The intersection of these values provides the winning item (selecteditem) (Equation (7)).
selecteditem = predictedrow ∩ predictedcolumn.

2.4. BCI Operating Modes and Operator Interface

The BCI system implements two different operating modes: calibration and run modes. Calibration mode is needed to extract from acquired EEG data information for the classification in the online mode (run mode).
During the calibration mode, the system prompts the user with the character that he/she is expected to focus on (target); the user was asked to count the target stimuli during the visual stimulation. The BCI system acquires and saves EEG data and labels.
In the run mode, the user can choose the desired icon/letter on his/her paper communicator. Then, the embedded BCI starts the visual stimulation, and EEG data are transferred from the amplifier, saved, and processed. At the end of each trial, the classifier recognizes the winner stimulus and the BCI device communicates it to the user.
BCI device is provided with a helpful operator interface to configure the BCI device and assess the correct functioning during the experimentation stage (Figure 8). In addition, the operator interface allows the configuration of some parameters relative to acquisition, processing, and stimulation (see Figure 9).

3. Results

The system was initially tested on a healthy subject to verify the correct operation and evaluate its performance. The alphanumeric communicator has been overlaid on the stimulation panel to allow the user to perform a communication task. The subject was seated facing the stimulation panel (see Figure 10).
At first, the user was involved in the calibration phase: it delivered 10 stimulation sequences for 7 trials. Next, the system acquired and saved EEG data and labels for training the classifier in offline mode correctly.
After classifier training, the user could freely decide what icons the system had to recognize. The number of stimulation sequences in the run mode was lowered to seven. The user performed a relatively long session with 35 consecutive trials.
Figure 11 and Figure 12 show an example of averaged target and non-target epochs extracted from the P300 Signal Processor relative to a target and non-target stimulus class during a trial. It is possible to note in Figure 8 the presence of a P300 event-related potential in the time interval around 350–400 ms from stimulus onset. This activation component becomes more negative in the electrodes Cz, Pz, P3, and P4.
To assess BCI performance, we evaluated accuracy and selection rate. In particular, Equation (8) defines accuracy parameter in percentage value:
Accuracy% = Hits/(Hits + Miss) ∗ 100,
where Hits are the correct recognized targets and Miss is the wrong recognized target.
The system correctly recognized 21 targets, while the total targets were 35. Therefore it was obtained an accuracy of 60%. However, this result is encouraging as it has been obtained from a user entirely naive for the BCI protocol based on P300. Considering the 14 error cases, 11 refer to situations in which the system can identify at least the row or column relating to the target icon, 3 to situations in which the system fails. Naturally, the latter errors are due to the user’s distraction or fatigue.
Figure 11. Examples of averaged target epochs.
Figure 11. Examples of averaged target epochs.
Sensors 22 00318 g011
Figure 12. Examples of averaged non-target epochs.
Figure 12. Examples of averaged non-target epochs.
Sensors 22 00318 g012
Then, the system was tested on six subjects that performed six sessions, each composed of 15 trials, with the alphanumeric communicator overlaid on the stimulation panel. The results in terms of accuracy are represented in Figure 13. The average accuracy is nearly 70%.
Figure 14 gives details of the tests on the six subjects. It is worthing to point out that our system was tested on completely “illiteracy” users, and we reported results relative to their first sessions to demonstrate our system’s robustness. The columns labeled “Trial” show the identification codes of each trial: trials from 1 to 15 refer to the first subject; from 16 to 30 to the second subject; from 31 to 45 to the third subject; from 46 to 60 to the fourth subject; from 61 to 75 to the fifth subject; from 76 to 90 to the sixth subject. The “Target” columns indicate which icon the user was asked to fix. Finally, the “Results” columns show the system results.
The correct results are green; the wrong results are yellow and red. Specifically, considering the 28 cases of error, 22 instances refer to the situation in which the system can identify the row or column relating to the target icon (results in yellow), 6 in situations in which the system completely errs (results in red).
Equation (9) defines the selection rate, considering a minute as time unit:
SelectionRate = 60/SelectionTime.
SelectionTime has been evaluated by using Equation (10):
SelectionTime = ST + PT + RT,
where ST is the stimulation time, PT is the processing time (equal to 4 s), and RT is the results display time (5 s).
Stimulation time has been evaluated in the following way (Equation (11)):
ST = (SD + ISI) ∗ N_StimulusClasses ∗ N_StimulationSequences,
where SD is the stimulus duration (125 ms), ISI is the inter-stimulus interval (125 ms), NStimulusClasses is the total number of stimulus classes, and NStimulationSequences is the total number of stimulus sequences (namely 12 and 7, respectively).
According to these data, the selection time is 30 s and, therefore, the selection rate of our BCI system is two letters per minute. It could be improved by reducing the number of stimulation sequences: indeed reducing the number of stimulation sequences from 7 to 5 and the results display time of some seconds, the selection rate changes from two letters per minute to three letters per minute.

4. Conclusions

A novel FPGA-embedded BCI system has been designed and implemented. In particular, a hardware FPGA-based system has been realized to achieve precise timing stimulation and efficient data processing. The system’s design is based on FPGA technology. The use of an FPGA-based device makes the system flexible because the functionality can be changed (so we have reconfigurable embedded hardware). Moreover, it is possible to implement parallel tasks that will be executed simultaneously and independently from each other, thus guaranteeing high performance (the hardware parallelism of the FPGA is exploited, which exceeds the computing power of the DSP). Since applications are implemented in hardware without an operating system, FPGA will run them reliably (so there will be no software-related time latencies). Moreover, the embedded portable platform avoids using bulky personal computers accompanied by commercial signal-processing software. The first P300 FPGA BCI system was illustrated in the work of [49], but only a simple filter was realized in the reconfigurable logic, while most of the processing was performed in softcore processors. Moreover, the system did not interface with the EEG amplifier. Instead, EEG data were sent from the PC using the TCP/IP protocol. Our system is a complete BCI system where EEG data are acquired using an EEG amplifier that interfaces with an FPGA-based system for pre-processing and P300 recognition.
This study’s significant shortcomings rely on the fact that the number of subjects trained and tested on this BCI system is limited. However, the primary objective of validating the functionality of the BCI is achieved. Another shortcoming of the present study is the offline calibration. To improve the usability of the system for end-users, an automatic online calibration procedure will be implemented. Moreover, the BCI performance (particularly, selection rate) could be improved by reducing the number of stimulation sequences or defining single-trial algorithms for P300 detection. Although the system is slow compared to conventional media, we must consider that the communication speed is less important than accuracy and reliability for users with disabilities. Furthermore, the problem of increasing the rate selection becomes less critical when the system is used in the domotic context since the user must select the icons less frequently.

Author Contributions

Conceptualization, A.P.; methodology, A.P., B.C. and N.I.; software, A.P.; validation, B.C., N.I. and A.P.; writing—original draft preparation, N.I.; writing—review and editing, B.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Vidal, J.J. Towards direct brain computer communication. Annu. Rev. Biophys. Bioeng. 1973, 2, 157–180. [Google Scholar] [CrossRef]
  2. Wolpaw, J.R.; Birbaumer, N.; McFarland, D.J.; Pfurtscheller, G.; Vaughan, T.M. Brain–computer interfaces for communication and control. Clin. Neurophysiol. 2002, 113, 767–791. [Google Scholar] [CrossRef]
  3. Donoghue, J.P. Connecting cortex to machines: Recent advances in brain interfaces. Nat. Neurosci. 2002, 5, 1085–1088. [Google Scholar] [CrossRef] [PubMed]
  4. Wolpaw, J.; McFarland, D.J.; Neat, G.W.; Forneris, C.A. An EEG-based brain-computer interface for cursor control. Electroencephalogr. Clin. Neurophysiol. 1991, 78, 252–259. [Google Scholar] [CrossRef]
  5. Pfurtscheller, G.; Flotzinger, D.; Kalcher, J. Brain-computer interface—A new communication device for handicapped persons. J. Microcomput. Appl. 1993, 16, 293–299. [Google Scholar] [CrossRef]
  6. Wolpaw, J.; McFarland, D.; Vaughan, T.; Schalk, G. The Wadsworth Center brain-computer interface (BCI) research and development program. IEEE Trans. Neural Syst. Rehabil. Eng. 2003, 11, 1–4. [Google Scholar] [CrossRef]
  7. Müller-Putz, G.R.; Scherer, R.; Pfurtscheller, G.; Rupp, R. EEG-based neuroprosthesis control: A step towards clinical practice. Neurosci. Lett. 2005, 382, 169–174. [Google Scholar] [CrossRef]
  8. Leeb, R.; Friedman, D.; Müller-Putz, G.; 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, 1–8. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  9. Scherer, R.; Müller, G.R.; Neuper, C.; Graimann, B.; Pfurtscheller, G. An asynchronously controlled EEG-based virtual keyboard: Improvement of the spelling rate. IEEE Trans. Biomed. Eng. 2004, 51, 979–984. [Google Scholar] [CrossRef]
  10. Hema, C.R.; Paulraj, M.P.; Yaacob, S.; Adom, A.H.; Nagarajan, R. Asynchronous brain machine interface-based control of a wheelchair. Adv. Exp. Med. Biol. 2011, 696, 565–572. [Google Scholar] [CrossRef] [PubMed]
  11. Kübler, A.; Kotchoubey, B.; Hinterberger, T.; Ghanayim, N.; Perelmouter, J.; Schauer, M.; Fritsch, C.; Taub, E.; Birbaumer, N. The thought translation device: A neurophysiological approach to communication in total motor paralysis. Exp. Brain Res. 1999, 124, 223–232. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Birbaumer, N.; Ghanayim, N.; Hinterberger, T.; Iversen, I.H.; Kotchoubey, B.; Kübler, A.; Perelmouter, J.; Taub, E.; Flor, H. A spelling device for the paralysed. Nature 1999, 398, 297–298. [Google Scholar] [CrossRef] [PubMed]
  13. Birbaumer, N.; Cohen, L.G. Brain-computer interfaces: Communication and restoration of movement in paralysis. J. Physiol. 2007, 579, 621–636. [Google Scholar] [CrossRef]
  14. Pan, J.; Xie, Q.; Qin, P.; Chen, Y.; He, Y.; Huang, H.; Wang, F.; Ni, X.; Cichocki, A.; Yu, R.; et al. Prognosis for patients with cognitive motor dissociation identified by brain-computer interface. Brain 2020, 143, 1177–1189. [Google Scholar] [CrossRef]
  15. Wolpaw, J.R.; Wolpaw, E.W. Brain–Computer Interfaces: Something New under the Sun. In Brain-Computer Interfaces: Principles and Practice; Oxford University Press: Oxford, UK, 2012; pp. 3–12. [Google Scholar] [CrossRef]
  16. Palumbo, A.; Gramigna, V.; Calabrese, B.; Ielpo, N. Motor-imagery EEG-based BCIs in wheelchair movement and control: A systematic literature review. Sensors 2021, 21, 6285. [Google Scholar] [CrossRef]
  17. Mason, S.; Birch, G. A general framework for brain-computer interface design. IEEE Trans. Neural Syst. Rehabil. Eng. 2003, 11, 70–85. [Google Scholar] [CrossRef]
  18. Wolpaw, J.; Loeb, G.; Allison, B.; Donchin, E.; Nascimento, O.D.; Heetderks, W.; Nijboer, F.; Shain, W.; Turner, J. BCI meeting 2005-workshop on signals and recording methods. IEEE Trans. Neural. Syst. Rehabil. Eng. 2006, 14, 138–141. [Google Scholar] [CrossRef] [PubMed]
  19. Pfurtscheller, G.; Neuper, C. Motor imagery and direct brain-computer communication. Proc. IEEE 2001, 89, 1123–1134. [Google Scholar] [CrossRef]
  20. Pfurtscheller, G. Event-related synchronization (ERS): An electrophysiological correlate of cortical areas at rest. Electroencephalogr. Clin. Neurophysiol. 1992, 83, 62–69. [Google Scholar] [CrossRef]
  21. McFarland, D.J.; Miner, L.A.; Vaughan, T.M.; Wolpaw, J. Mu and beta rhythm topographies during motor imagery and actual movements. Brain Topogr. 2000, 12, 177–186. [Google Scholar] [CrossRef]
  22. Birbaumer, N.; Elbert, T.; Canavan, A.G.; Rockstroh, B. Slow potentials of the cerebral cortex and behavior. Physiol. Rev. 1990, 70, 1–41. [Google Scholar] [CrossRef]
  23. Farwell, L.; Donchin, E. Talking off the top of your head: Toward a mental prosthesis utilizing event-related brain potentials. Electroencephalogr. Clin. Neurophysiol. 1988, 70, 510–523. [Google Scholar] [CrossRef]
  24. Fabiani, M.; Gratton, G.; Karis, D.; Donchin, E. Definition, identification, and reliability of measurement of the P300 component of the event related potential. Adv. Psychophysiol. 1987, 2, 1–78. [Google Scholar]
  25. Middendorf, M.; McMillan, G.; Calhoun, G.; Jones, K. Brain-computer interfaces based on the steady-state visual-evoked response. IEEE Trans. Rehabil. Eng. 2000, 8, 211–214. [Google Scholar] [CrossRef] [Green Version]
  26. Allison, B.Z.; McFarland, D.J.; Schalk, G.; Zheng, S.D.; Jackson, M.M.; Wolpaw, J. Towards an independent brain–computer interface using steady state visual evoked potentials. Clin. Neurophysiol. 2008, 119, 399–408. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Krusienski, D.; Sellers, E.; McFarland, D.; Vaughan, T.; Wolpaw, J. Toward enhanced P300 speller performance. J. Neurosci. Methods 2008, 167, 15–21. [Google Scholar] [CrossRef] [Green Version]
  28. Hoffmann, U.; Vesin, J.-M.; Ebrahimi, T.; Diserens, K. An efficient P300-based brain–computer interface for disabled subjects. J. Neurosci. Methods 2008, 167, 115–125. [Google Scholar] [CrossRef] [Green Version]
  29. Donchin, E.; Spencer, K.; Wijesinghe, R. The mental prosthesis: Assessing the speed of a P300-based brain-computer interface. IEEE Trans. Rehabilitation Eng. 2000, 8, 174–179. [Google Scholar] [CrossRef] [Green Version]
  30. Nijboer, F.; Sellers, E.; Mellinger, J.; Jordan, M.; Matuz, T.; Furdea, A.; Halder, S.; Mochty, U.; Krusienski, D.; Vaughan, T.; et al. A P300-based brain–computer interface for people with amyotrophic lateral sclerosis. Clin. Neurophysiol. 2008, 119, 1909–1916. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  31. Krusienski, D.J.; Sellers, E.W.; Cabestaing, F.; Bayoudh, S.; McFarland, D.J.; Vaughan, T.M.; Wolpaw, J. A comparison of classification techniques for the P300 Speller. J. Neural Eng. 2006, 3, 299–305. [Google Scholar] [CrossRef] [Green Version]
  32. Sellers, E.W.; Krusienski, D.J.; McFarland, D.J.; Vaughan, T.M.; Wolpaw, J.R. A P300 event-related potential brain–computer interface (BCI): The effects of matrix size and inter stimulus interval on performance. Biol. Psychol. 2006, 73, 242–252. [Google Scholar] [CrossRef]
  33. Guger, C.; Daban, S.; Sellers, E.; Holzner, C.; Krausz, G.; Carabalona, R.; Gramatica, F.; Edlinger, G. How many people are able to control a P300-based brain–computer interface (BCI)? Neurosci. Lett. 2009, 462, 94–98. [Google Scholar] [CrossRef]
  34. Townsend, G.; LaPallo, B.; Boulay, C.; Krusienski, D.; Frye, G.; Hauser, C.; Schwartz, N.; Vaughan, T.; Wolpaw, J.; Sellers, E. A novel P300-based brain–computer interface stimulus presentation paradigm: Moving beyond rows and columns. Clin. Neurophysiol. 2010, 121, 1109–1120. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  35. Mak, J.N.; Wolpaw, J.R. Clinical applications of brain-computer interfaces: Current state and future prospects. IEEE Rev. Biomed. Eng. 2009, 2, 187–199. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Palumbo, A.; Vizza, P.; Calabrese, B.; Ielpo, N. Biopotential signal monitoring systems in rehabilitation: A review. Sensors 2021, 21, 7172. [Google Scholar] [CrossRef]
  37. Gao, X.; Xu, D.; Cheng, M.; Gao, S. A BCI-based environmental controller for the motion-disabled. IEEE Trans. Neural Syst. Rehabil. Eng. 2003, 11, 137–140. [Google Scholar] [CrossRef]
  38. Lin, C.-T.; Chen, Y.-C.; Huang, T.-Y.; Chiu, T.-T.; Ko, L.-W.; Liang, S.-F.; Hsieh, H.-Y.; Hsu, S.-H.; Duann, J.-R. Development of wireless brain computer interface with embedded multitask scheduling and its application on real-time driver’s drowsiness detection and warning. IEEE Trans. Biomed. Eng. 2008, 55, 1582–1591. [Google Scholar] [CrossRef]
  39. García, P.A.; Haberman, M.; Spinelli, E.M. A versatile hardware platform for brain computer interfaces. In Proceedings of the 32nd Annual International Conference of the IEEE Engineering in Medicine a Biology Society, Buenos Aires, Argentina, 31 August–4 September 2010; pp. 4193–4196. [Google Scholar]
  40. Shyu, K.-K.; Lee, P.-L.; Lee, M.-H.; Lin, M.-H.; Lai, R.-J.; Chiu, Y.-J. Development of a low-cost FPGA-based SSVEP BCI multimedia control system. IEEE Trans. Biomed. Circuits Syst. 2010, 4, 125–132. [Google Scholar] [CrossRef] [PubMed]
  41. Joshi, R.; Saraswat, P.; Gajendran, R. A novel mu rhythm-based brain computer interface design that uses a programmable system on chip. J. Med. Signals Sensors 2012, 2, 11–16. [Google Scholar] [CrossRef]
  42. Palumbo, A.; Calabrese, B.; Cocorullo, G.; Lanuzza, M.; Veltri, P.; Vizza, P.; Gambardella, A.; Sturniolo, M. A novel ICA-based hardware system for reconfigurable and portable BCI. In Proceedings of the 2009 IEEE International Workshop on Medical Measurements and Applications (MEMEA 2009), Cetraro, Italy, 29–30 May 2009; pp. 95–98. [Google Scholar] [CrossRef]
  43. Palumbo, A.; Amato, F.; Calabrese, B.; Cannataro, M.; Cocorullo, G.; Gambardella, A.; Guzzi, P.H.; Lanuzza, M.; Sturniolo, M.; Veltri, P.; et al. An embedded system for EEG acquisition and processing for brain computer interface applications. In Wearable and Autonomous Biomedical Device and Systems for Smart Environment, Lecture Notes in Electrical Engineering; Lay-Ekuakille, A., Mukhopadhyay, S.C., Eds.; Springer: Berlin/Heidelberg, Germany, 2010; pp. 137–154. [Google Scholar] [CrossRef]
  44. Khurana, K.; Gupta, P.; Panicker, R.C.; Kumar, A. Development of an FPGA-based real-time P300 speller. In Proceedings of the 22nd International Conference on Field Programmable Logic and Applications (FPL), Oslo, Norway, 29–31 August 2012; pp. 551–554. [Google Scholar] [CrossRef]
  45. Polich, J.; Kok, A. Cognitive and biological determinants of P300: An integrative review. Biol. Psychol. 1995, 41, 103–146. [Google Scholar] [CrossRef]
  46. Polich, J.; Ellerson, P.C.; Cohen, J. P300, stimulus intensity, modality, and probability. Int. J. Psychophysiol. 1996, 23, 55–62. [Google Scholar] [CrossRef]
  47. da Silva Pinto, M.A.; de Souza, J.K.S.; Baron, J.; Tierra-Criollo, C.J. A low-cost, portable, micro-controlled device for multi-channel LED visual stimulation. J. Neurosci. Methods 2011, 197, 82–91. [Google Scholar] [CrossRef] [PubMed]
  48. Takano, K.; Komatsu, T.; Hata, N.; Nakajima, Y.; Kansaku, K. Visual stimuli for the P300 brain–computer interface: A comparison of white/gray and green/blue flicker matrices. Clin. Neurophysiol. 2009, 120, 1562–1566. [Google Scholar] [CrossRef] [PubMed]
  49. Zhao, J.; Li, W.; Li, M. Comparative study of SSVEP- and P300-based models for the telepresence control of humanoid robots. PLoS ONE 2015, 10, e0142168. [Google Scholar] [CrossRef] [PubMed]
Figure 1. P300 component: the yellow box highlights the P300 component for averaged waveforms from different electrode positions. P300 amplitude decreases as the electrode site moves from anterior (Fz) to posterior (Pz).
Figure 1. P300 component: the yellow box highlights the P300 component for averaged waveforms from different electrode positions. P300 amplitude decreases as the electrode site moves from anterior (Fz) to posterior (Pz).
Sensors 22 00318 g001
Figure 2. (a) Hardware modules of the proposed FPGA-based BCI system; (b) stimulation panel and embedded-FPGA-based board.
Figure 2. (a) Hardware modules of the proposed FPGA-based BCI system; (b) stimulation panel and embedded-FPGA-based board.
Sensors 22 00318 g002
Figure 3. Electrode montage for P300 protocol.
Figure 3. Electrode montage for P300 protocol.
Sensors 22 00318 g003
Figure 4. Block diagram of the FPGA-based system.
Figure 4. Block diagram of the FPGA-based system.
Sensors 22 00318 g004
Figure 5. An example of timing duration of experimental protocol for single trial and all trials of the individual subject: A single BCI session is formed by a certain number of trials according to the user application. The user is stimulated with several stimulation sequences (for example, 7). In a single stimulation sequence, all rows and columns are intensified.
Figure 5. An example of timing duration of experimental protocol for single trial and all trials of the individual subject: A single BCI session is formed by a certain number of trials according to the user application. The user is stimulated with several stimulation sequences (for example, 7). In a single stimulation sequence, all rows and columns are intensified.
Sensors 22 00318 g005
Figure 6. Communicator sheets for communication and domotic applications.
Figure 6. Communicator sheets for communication and domotic applications.
Sensors 22 00318 g006
Figure 7. P300 signal-processing steps implemented on the FPGA and the real-time microprocessor.
Figure 7. P300 signal-processing steps implemented on the FPGA and the real-time microprocessor.
Sensors 22 00318 g007
Figure 8. FPGA-embedded BCI interface: the operator can assess the correct functioning during the run phase, or he/she can manage the calibration phase.
Figure 8. FPGA-embedded BCI interface: the operator can assess the correct functioning during the run phase, or he/she can manage the calibration phase.
Sensors 22 00318 g008
Figure 9. Operator interface of FPGA-embedded BCI that allows the configuration of the system.
Figure 9. Operator interface of FPGA-embedded BCI that allows the configuration of the system.
Sensors 22 00318 g009
Figure 10. Experimental setup.
Figure 10. Experimental setup.
Sensors 22 00318 g010
Figure 13. Accuracy results obtained from 6 different subjects involved in experimental sessions of 15 trials.
Figure 13. Accuracy results obtained from 6 different subjects involved in experimental sessions of 15 trials.
Sensors 22 00318 g013
Figure 14. Detailed results obtained from 6 different subjects involved in experimental sessions of 15 trials.
Figure 14. Detailed results obtained from 6 different subjects involved in experimental sessions of 15 trials.
Sensors 22 00318 g014
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Palumbo, A.; Ielpo, N.; Calabrese, B. An FPGA-Embedded Brain-Computer Interface System to Support Individual Autonomy in Locked-In Individuals. Sensors 2022, 22, 318. https://doi.org/10.3390/s22010318

AMA Style

Palumbo A, Ielpo N, Calabrese B. An FPGA-Embedded Brain-Computer Interface System to Support Individual Autonomy in Locked-In Individuals. Sensors. 2022; 22(1):318. https://doi.org/10.3390/s22010318

Chicago/Turabian Style

Palumbo, Arrigo, Nicola Ielpo, and Barbara Calabrese. 2022. "An FPGA-Embedded Brain-Computer Interface System to Support Individual Autonomy in Locked-In Individuals" Sensors 22, no. 1: 318. https://doi.org/10.3390/s22010318

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop