Thought-Controlled Computer Applications: A Brain–Computer Interface System for Severe Disability Support
Abstract
:1. Introduction
2. Related Work
3. Materials and Methods
3.1. BCI Framework
3.1.1. Motor Imagery Processing Chain
- Power Spectral Density (PSD): Calculated for the (8–12 Hz) and (13–30 Hz) bands to capture frequency-domain information. This is crucial as different mental states and cognitive processes are reflected in distinct frequency bands, aiding in distinguishing between various brain activities. The PSD is computed using the Welch method:
- Hjorth Parameters: Computed activity, mobility, and complexity for each channel to quantify the signal’s statistical properties:
- AutoRegressive (AR) Model Coefficients: Extracted AR model coefficients to capture the temporal structure of the signal, which is useful for modeling its time-dependent properties and identifying consistent patterns over time. The AR model is defined as
- Fractal Dimension and Entropy Measures: Computed fractal dimension, approximate entropy, sample entropy, and permutation entropy to characterize the signal’s complexity:
- Higher Order Statistics: Calculated skewness, kurtosis, variance, and standard deviation for each channel:
- RF: This ensemble method combines multiple decision trees to improve prediction accuracy and robustness against overfitting. It is well suited for capturing the non-linear relationships within EEG data.
- KNN: A simple, yet effective, non-parametric method that classifies data based on the majority vote of its neighbors. It excels in capturing the local structure of the EEG features.
- SVM: Known for its effectiveness in high-dimensional spaces, SVM constructs hyperplanes to separate different classes with maximal margin, enhancing the model’s ability to generalize from the training data. The One-Versus-Rest (OVR) approach, in combination with majority voting, is applied because this algorithm discriminates between only two classes.
- NB: This probabilistic classifier assumes independence between features and applies Bayes’ theorem, offering a fast and efficient approach for real-time classification of EEG signals.
- LR: A straightforward and interpretable method used to model the probability of a binary response based on one or more predictor variables. It is useful for its simplicity and quick computation.
- DT: This model makes decisions by splitting the data into subsets based on the value of input features. It is intuitive and easy to interpret, making it valuable for understanding the decision-making process.
3.1.2. P300 Processing Chain
3.2. Integrated System
3.2.1. An E-Mail Client Application:
- Full Email Folder Access: Users can now easily access all email account folders, including Inbox, Sent, Spam, Trash, Drafts, and Contacts.
- Improved Message Writing Speed: The addition of an auto-complete feature has significantly sped up message composition.
- Ready-Made Templates: The app includes pre-written message templates for common occasions like birthdays and holidays, making it more convenient.
3.2.2. An Internet Browser
- Ensuring that selected links are visible.
- Allowing traversal of the history list both forward and backward.
- Providing full user access for updating bookmarks.
- Offering alternatives for filling out forms.
- Providing helpful information about link targets to the user.
3.2.3. An OS Explorer
4. Results and Discussion
4.1. Description of the Dataset
4.1.1. Motor Imagery Dataset
4.1.2. P300 Dataset
4.2. Results of the Experiments
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
API | Application Programming Interface |
AR | Autoregressive |
BCI | Brain–Computer Interface |
CAR | Common Average Reference |
DT | Decision Tree |
EEG | Electroencephalogram |
ECoG | Electrocorticogram |
ERD/ERS | Event-Related Desynchronization/Synchronization |
ERP | Event-Related Potential |
FSM | Finite State Machine |
GUI | Graphical User Interface |
HCI | Human–Computer Interfaces |
IIR | Infinite Impulse Response |
KNN | K-Nearest Neighbors |
LR | Logistic Regression |
MI | Motor Imagery |
NB | Naive Bayes |
NESSI | Neural Signal Surfing Interface |
OS | Operating System |
PSD | Power Spectral Density |
RF | Random Forest |
SCP | Slow Cortical Potentials |
SMR | SensoriMotor Rhythms |
SSVEP | Steady-State Visual Evoked Potential |
SVM | Support Vector Machine |
UN | United Nations |
VEP | Visual Evoked Potential |
W3C | World Wide Web Consortium |
References
- United Nations. Convention on the Rights of Persons with Disabilities. 2022. Available online: https://www.un.org/development/desa/disabilities/convention-on-the-rights-of-persons-with-disabilities.html (accessed on 1 August 2022).
- Finlay, J.E.; Dix, A.; Beale, R.; Abowd, G.D. Human–Computer Interaction, 3rd ed.; Prentice Hall: Philadelphia, PA, USA, 2003. [Google Scholar]
- Ortiz, S. Brain–Computer interfaces: Where human and machine meet. Computer 2007, 40, 17–21. [Google Scholar] [CrossRef]
- Cunningham, P.; Lang, K.; Mearns, B.; Russell, L.; Sanchez, S. EEG Brain–Computer Interface Project. 2007. Available online: https://repository.library.neu.edu/downloads/neu:376552?datastream_id=content (accessed on 1 August 2022).
- 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] [PubMed]
- Cichocki, A.; Washizawa, Y.; Rutkowski, T.M.; Bakardjian, H.; Phan, A.; Choi, S.; Lee, H.; Zhao, Q.; Zhang, L.; Li, Y. Noninvasive BCIs: Multiway Signal-Processing Array Decompositions. Computer 2008, 41, 34–42. [Google Scholar] [CrossRef]
- Choi, S. Meta-learning: Towards Fast Adaptation in Multi-Subject EEG Classification. In Proceedings of the 2021 9th International Winter Conference on Brain–Computer Interface (BCI), Gangwon, Republic of Korea, 22–24 February 2021; p. 1. [Google Scholar]
- Zhang, R.; Li, Y.; Yan, Y.; Zhang, H.; Wu, S.; Yu, T.; Gu, Z. Control of a wheelchair in an indoor environment based on a brain–computer interface and automated navigation. IEEE Trans. Neural Syst. Rehabil. Eng. 2016, 24, 128–139. [Google Scholar] [CrossRef]
- Yu, Y.; Zhou, Z.; Liu, Y.; Jiang, J.; Yin, E.; Zhang, N.; Wang, Z.; Liu, Y.; Wu, X.; Hu, D. Self-paced operation of a wheelchair based on a hybrid Brain–Computer interface combining motor imagery and P300 potential. IEEE Trans. Neural Syst. Rehabil. Eng. 2017, 25, 2516–2526. [Google Scholar] [CrossRef]
- Aydin, E.A.; Bay, Ö.F.; Güler, İ. Region based brain computer interface for a home control application. In Proceedings of the 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Milan, Italy, 25–29 August 2015; pp. 1075–1078. [Google Scholar] [CrossRef]
- Patil, R.P.; Shariff, N.; Kusuma, M. Brain–Computer interface: Text reader for paralyzed patients. In Proceedings of the 2019 1st International Conference on Advanced Technologies in Intelligent Control, Environment, Computing & Communication Engineering (ICATIECE), Bangalore, India, 19–20 March 2019; pp. 12–15. [Google Scholar] [CrossRef]
- Schalk, G.; Mellinger, J. A Practical Guide to Brain–Computer Interfacing with BCI2000; Springer: London, UK, 2010. [Google Scholar]
- Elshout, J.; Molina, G.G. Review of Brain–Computer Interfaces Based on the P300 Evoked Potential. Master’s Thesis, Utrecht University, Utrecht, The Netherlands, 2009. [Google Scholar]
- Middendorf, M.; McMillan, G.; Calhoun, G.; Jones, K.S. Brain–Computer interfaces based on the steady-state visual-evoked response. IEEE Trans. Rehabil. Eng. 2000, 8, 211–214. [Google Scholar] [CrossRef]
- WAI. Making the Web Accessible. 2002. Available online: https://www.w3.org/WAI/ (accessed on 1 August 2022).
- Gannouni, S.; Belwafi, K.; Al-Sulmi, M.R.; Al-Farhood, M.D.; Al-Obaid, O.A.; Al-Awadh, A.M.; Aboalsamh, H.; Belghith, A. A brain-controlled command-line interface to enhance the accessibility of severe motor disabled people to personnel computer. Brain Sci. 2022, 12, 926. [Google Scholar] [CrossRef]
- Muglerab, E.; Benschc, M.; Haldera, S.; Rosenstielc, W.; Bogdancd, M.; Birbaumerae, N.; Kübleraf, A. Control of an Internet Browser Using the P300 Event-Related Potential. Int. J. Bioelectromagn. 2008, 10, 56–63. [Google Scholar]
- Mugler, E.M.; Ruf, C.A.; Halder, S.; Bensch, M.; Kubler, A. Design and implementation of a P300-based Brain–Computer interface for controlling an internet browser. IEEE Trans. Neural Syst. Rehabil. Eng. 2010, 18, 599–609. [Google Scholar] [CrossRef]
- Lazarou, I.; Nikolopoulos, S.; Petrantonakis, P.C.; Kompatsiaris, I.; Tsolaki, M. EEG-Based Brain–Computer Interfaces for Communication and Rehabilitation of People with Motor Impairment: A Novel Approach of the 21st Century. Front. Hum. Neurosci. 2018, 12, 14. [Google Scholar] [CrossRef]
- Volodina, O.V. Formation of future teachers’ worldview culture by means of foreign-language education. Perspect. Sci. Educ. 2022, 57, 126–159. [Google Scholar] [CrossRef]
- Mikhail, M.; Abdel-Shahid, M.; Guirguis, M.; Shehad, N.; Soliman, B.; El-Ayat, K. BEXPLORER: Computer and communication control using EEG. In Human–Computer Interaction. Novel Interaction Methods and Techniques; Springer: Berlin/Heidelberg, Germany, 2009; pp. 579–587. [Google Scholar]
- Sirvent, J.L.; Azorín, J.M.; Iáñez, E.; Úbeda, A.; Fernández, E. P300-Based Brain–Computer Interface for Internet Browsing. In Trends in Practical Applications of Agents and Multiagent Systems; Springer: Berlin/Heidelberg, Germany, 2010; pp. 615–622. [Google Scholar]
- Tomori, O.; Moore, M. The neurally controllable internet browser (BrainBrowser). In CHI’03 Extended Abstracts on Human Factors in Computing Systems—CHI’03; ACM Press: New York, NY, USA, 2003; pp. 796–797. [Google Scholar]
- Mankoff, J.; Dey, A.; Batra, U.; Moore, M. Web accessibility for low bandwidth input. In Proceedings of the Fifth International ACM Conference on Assistive Technologies, Edinburgh, UK, 8–10 July 2002; ACM Press: New York, NY, USA, 2002; pp. 17–24. [Google Scholar]
- Gannouni, S.; Alangari, N.; Mathkour, H.; Aboalsamh, H.; Belwafi, K. BCWB: A P300 brain-controlled web browser. Int. J. Semant. Web Inf. Syst. 2017, 13, 55–73. [Google Scholar] [CrossRef]
- Stieger, J.R.; Engel, S.A.; He, B. Continuous sensorimotor rhythm based brain computer interface learning in a large population. Sci. Data 2021, 8, 98. [Google Scholar] [CrossRef] [PubMed]
- Rakotomamonjy, A.; Guigue, V. BCI Competition III: Dataset II—Ensemble of SVMs for BCI P300 Speller. IEEE Trans. Biomed. Eng. 2008, 55, 1147–1154. [Google Scholar] [CrossRef]
- Esfandiari, H.; Troxler, P.; Hodel, S.; Suter, D.; Farshad, M.; Collaboration Group; Fürnstahl, P. Introducing a Brain–Computer interface to facilitate intraoperative medical imaging control—A feasibility study. BMC Musculoskelet. Disord. 2022, 23, 701. [Google Scholar] [CrossRef]
- Dreyer, P.; Roc, A.; Pillette, L.; Rimbert, S.; Lotte, F. A large EEG database with users’ profile information for motor imagery Brain–Computer interface research. Sci. Data 2023, 10, 580. [Google Scholar] [CrossRef]
- Tortora, S.; Beraldo, G.; Bettella, F.; Formaggio, E.; Rubega, M.; Del Felice, A.; Masiero, S.; Carli, R.; Petrone, N.; Menegatti, E.; et al. Neural correlates of user learning during long-term BCI training for the Cybathlon competition. J. Neuroeng. Rehabil. 2022, 19, 69. [Google Scholar] [CrossRef]
- Zhu, H.; Forenzo, D.; He, B. On the Deep Learning Models for EEG-Based Brain–Computer Interface Using Motor Imagery. IEEE Trans. Neural Syst. Rehabil. Eng. 2022, 30, 2283–2291. [Google Scholar] [CrossRef]
- Wang, Q.; Lu, G.; Pei, Z.; Tang, C.; Xu, L.; Wang, Z.; Wang, H. P300 Recognition Based on Ensemble of SVMs: BCI Controlled Robot Contest of 2019 World Robot Conference. In Proceedings of the 2020 39th Chinese Control Conference (CCC), Shenyang, China, 27–29 July 2020; pp. 3035–3039. [Google Scholar] [CrossRef]
- Belwafi, K.; Gannouni, S.; Aboalsamh, H. Embedded Brain Computer Interface: State-of-the-Art in Research. Sensors 2021, 21, 4293. [Google Scholar] [CrossRef]
- Belwafi, K.; Djemal, R.; Ghaffari, F.; Romain, O. An adaptive EEG filtering approach to maximize the classification accuracy in motor imagery. In Proceedings of the 2014 IEEE Symposium on Computational Intelligence, Cognitive Algorithms, Mind, and Brain (CCMB), Orlando, FL, USA, 9–12 December 2014; pp. 121–126. [Google Scholar] [CrossRef]
- Naik, G.R.; Kumar, D.K. An overview of independent component analysis and its applications. Informatica 2011, 35, 63–81. [Google Scholar]
- Abdi, H.; Williams, L.J. Principal component analysis. Wiley Interdiscip. Rev. Comput. Stat. 2010, 2, 433–459. [Google Scholar] [CrossRef]
- Belwafi, K.; Romain, O.; Gannouni, S.; Ghaffari, F.; Djemal, R.; Ouni, B. An embedded implementation based on adaptive filter bank for brain–computer interface systems. J. Neurosci. Methods 2018, 305, 1–16. [Google Scholar] [CrossRef] [PubMed]
- Correa, A.G.; Laciar, E.; Patiño, H.D.; Valentinuzzi, M.E. Artifact removal from EEG signals using adaptive filters in cascade. J. Phys. Conf. Ser. 2007, 90, 012081. [Google Scholar] [CrossRef]
- Djemal, R.; AlSharabi, K.; Ibrahim, S.; Alsuwailem, A. EEG-based computer aided diagnosis of autism spectrum disorder using wavelet, entropy, and ANN. BioMed Res. Int. 2017, 2017, 9816591. [Google Scholar] [CrossRef]
Algorithm | Accuracy | Precision | Recall | F1 Score |
---|---|---|---|---|
Motor imagery | ||||
RF | 0.701 | 0.736 | 0.666 | 0.666 |
DT | 0.646 | 0.630 | 0.630 | 0.630 |
LR | 0.821 | 0.810 | 0.810 | 0.810 |
NB | 0.5174 | 0.490 | 0.450 | 0.390 |
KNN | 0.6206 | 0.590 | 0.590 | 0.590 |
SVM | 0.7882 | 0.780 | 0.770 | 0.770 |
P300 | ||||
RF | 0.950 | 0.94 | 0.93 | 0.94 |
DT | 0.89 | 0.88 | 0.87 | 0.88 |
LR | 0.91 | 0.90 | 0.89 | 0.90 |
NB | 0.85 | 0.84 | 0.83 | 0.84 |
KNN | 0.880 | 0.87 | 0.86 | 0.87 |
SVM | 0.945 | 0.949 | 0.941 | 0.945 |
Dataset | Reference | Method | Accuracy (%) |
---|---|---|---|
Motor Imagery | [29] | Laplacian, CSP, LDA | 63.37 |
[30] | Spatial filter, PSD, CVA, Decoder Calibration | 80.00 | |
[31] | MI-EEG deep classification models: EEGNet, Shallow & Deep ConvNet, MB3D and ParaAtt | 74.00 | |
Proposed method | CAR, Statistical features, RF | 82.10 | |
P300 | [16] | IIR, Decimation, SVM | 94.50 |
[27] | FIR filter, Decimation, SVM | 94.75 | |
[32] | IIR, Channel selection, SVM | 80.00 | |
Proposed method | IIR, Decimation, RF | 95.00 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Belwafi, K.; Ghaffari, F. Thought-Controlled Computer Applications: A Brain–Computer Interface System for Severe Disability Support. Sensors 2024, 24, 6759. https://doi.org/10.3390/s24206759
Belwafi K, Ghaffari F. Thought-Controlled Computer Applications: A Brain–Computer Interface System for Severe Disability Support. Sensors. 2024; 24(20):6759. https://doi.org/10.3390/s24206759
Chicago/Turabian StyleBelwafi, Kais, and Fakhreddine Ghaffari. 2024. "Thought-Controlled Computer Applications: A Brain–Computer Interface System for Severe Disability Support" Sensors 24, no. 20: 6759. https://doi.org/10.3390/s24206759
APA StyleBelwafi, K., & Ghaffari, F. (2024). Thought-Controlled Computer Applications: A Brain–Computer Interface System for Severe Disability Support. Sensors, 24(20), 6759. https://doi.org/10.3390/s24206759