An Optimized SWCSP Technique for Feature Extraction in EEG-based BCI System

Keywords: Brain-computer interface, Common spatial pattern, Electroencephalogram, Feature extraction, Motor imagery


Brain-computer interface (BCI) is an evolving technology having huge potential for rehabilitation of patients suffering from disorders of the nervous system, besides  many other nonmedical applications. Multichannel electroencephalography (EEG) is widely used to provide input signals to a BCI system. Significant research in methodology employed to implement different stages of BCI system, has led to discovery of new issues and challenges. The raw EEG data includes artifacts from environmental and physiological sources, which is eliminated in preprocessing phase of BCI system. It is then followed by a feature extraction stage to isolate a few relevant features for further classification to a particular motor imagery (MI) activity. A feature extraction approach based on spectrally weighted common spatial pattern (SWCSP) is proposed in this paper to improve overall accuracy of a BCI system. The reported literature uses SWCSP for feature extraction, as it has outperformed other techniques. The proposed approach enhances its performance by optimizing its parameters. The independent component analysis (ICA) method is used for detection and removal of irrelevant data, while linear discriminant analysis (LDA) is used as a classifier. The proposed approach is executed on benchmark data-set 2a of BCI competition IV. It yielded classification accuracy of 70.6% across nine subjects, which is higher than all the reported approaches. 


Download data is not yet available.

Author Biographies

Navtej S. Ghumman, Department of Computer Science and Engineering, Punjabi University Patiala, Punjab, India

Navtej Singh is an Associate Professor at the Department of CSE, SBS State University, Ferozepur, Punjab, India. He got the B.Tech. degree in Computer Science and Engineering, the M.E. degree in Computer Science and Engineering and pursuing the Ph.D. degree in Computer Science and Engineering. His research interests are in Machine Learning, Signal Processing and Cloud Computing.

Balkrishan Jindal, Department of Computer Engineering, YCoE, Punjabi University Guru Kashi Campus Talwandi Sabo, Punjab, India

Balkrishan Jindal is an Associate Professor at the Department of CSE, YCoE, Punjabi University Guru Kashi Campus, Talwandi Sabo, Punjab, India. He got the B.Tech. degree in Computer Science and Engineering, the M.Tech. degree in Computer Sicience and Engineering and the Ph.D. degree in Computer Science and Engineering. Dr. Jindal is a member of Institution of Engineers, India. His research interests are in Image Processing, Data security, Steanography, and Signal Processing.


Alam, M.N., Ibrahimy, M.I. and Motakabber, S.M.A., 2021. Feature Extraction of EEG Signal by Power Spectral Density for Motor Imagery Based BCI. In: 2021 8th International Conference on Computer and Communication Engineering (ICCCE), pp.234-237.

Bashashati, A., Fatourechi, M., Ward, R.K. and Birch, G.E., 2007. A survey of signal processing algorithms in brain-computer interfaces based on electrical brain signals. Journal of Neural Engineering, 4(2), p.R32.

Bernardi, G.B., Pimenta, T.C. and Moreno, R.L., 2019. A Simplified Tool for Testing of Feature Selection and Classification Algorithms in Motor Imagery of Right and Left Hands of EEG Signals. In: 2019 IEEE 10th Latin American Symposium on Circuits and Systems (LASCAS), pp.197-200.

Brunner, C., Leeb, R., M ̈uller-Putz, G.R., Schlogl, A. and Pfurtscheller, G., 2008. BCI Competition 2008-Graz Data Set A. Institute for Knowledge Discovery (Laboratory of Brain-Computer Interfaces), Graz University of Technology.

Costantini, G., Todisco, M., Casali, D., Carota, M., Saggio, G., Bianchi, L., Abbafati, M. and Quitadamo, L.R., 2009. SVM Classification of EEG Signals for Brain Computer Interface. In: Proceedings of the 2009 conference on Neural Nets WIRN09: Proceedings of the 19th Italian Workshop on Neural Nets, Vietri sul Mare, Salerno, Italy, May 28-30 2009, pp.229-233.

Dai, M., Wang, S., Zheng, D., Na, R. and Zhang, S., 2019. Domain Transfer Multiple Kernel Boosting for Classification of EEG Motor Imagery Signals. IEEE Access, 7, pp.49951-49960.

Gaur, P., Pachori, R.B., Wang, H. and Prasad, G., 2018. Amulti-class EEG-based BCI classification using multivariate empirical mode decomposition based filtering and Riemannian geometry. Expert Systems with Applications, 95, pp.201-211.

Kennedy, P.R., Bakay, R.A., Moore, M.M., Adams, K. and Goldwaithe, J., 2000. Direct control of a computer from the human central nervous system. IEEE Transactions on Rehabilitation Engineering, 8(2), pp.198-202.

Kirar, J.S. and Agrawal, R.K., 2016. Optimal spatio-spectral variable size subbands filter for motor imagery brain computer interface. Procedia Computer Science, 84, pp.14-21.

Kołodziej, M., Majkowski, A. and Rak, R.J., 2012. Linear discriminant analysis as EEG features reduction technique for brain-computer interfaces. Przeglad Elektrotechniczny, 88, pp.28-30.

Kothe, C.A. and Makeig, S., 2013. BCILAB: A platform for brain-computer interface development. Journal of Neural Engineering, 10(5), p.56014.

Lemm, S., Blankertz, B., Curio, G. and Muller, K.R., 2005. Spatio-spectral filters for improving the classification of single trial EEG. IEEE Transactions on Biomedical Engineering, 52(9), pp.1541-1548.

Liu, A., Chen, K., Liu, Q., Ai, Q., Xie, Y. and Chen, A. 2017. Feature selection for motor imagery EEG classification based on firefly algorithm and learning automata. Sensors, 17(11), p.2576.

Lotte, F., Bougrain, L., Cichocki, A., Clerc, M., Congedo, M., Rakotomamonjy, A. and Yger, F., 2018. A review of classification algorithms for EEG-based brain-computer interfaces: A 10 year update. Journal of Neural Engineering, 15(3), p.31005.

Lotte, F., Congedo, M., Lécuyer, A., Lamarche, F. and Arnaldi, B., 2007. Areview of classification algorithms for EEG-based brain-computer interfaces. Journal of Neural Engineering, 4(2), p.R1.

Mannan, M.M.N., Kamran, M.A., Kang, S. and Jeong, M.Y., 2018. Effect of EOG signal filtering on the removal of ocular artifacts and EEG-based brain-computer interface: A comprehensive study. Complexity, 2018, p.4853741.

Mason, S.G. and Birch, G.E., 2003. A general framework for brain-computer interface design. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 11(1), pp.70-85.

Nguyen, T., Hettiarachchi, I., Khatami, A., Gordon-Brown, L., Lim, C.P., Nahavandi, S., 2018. Classification of multi-class BCI data by common spatial pattern and fuzzy system. IEEE Access, 6, pp.27873-27884.

Padfield, N., Zabalza, J., Zhao, H., Masero, V., Ren, J., 2019. EEG-based braincomputer interfaces using motor-imagery: Techniques and challenges. Sensors, 19(6), p.1423.

Park, G.H., Lee, Y.R. and Kim, H.N., 2014. Improved filter selection method for filter bank common spatial pattern for eeg-based bci systems. International Journal of Electronics and Electrical Engineering, 2(2), pp.101-105.

Ramoser, H., Muller-Gerking, J. and Pfurtscheller, G., 2000. Optimal spatial filtering of single trial EEG during imagined hand movement. IEEE Transactions on Rehabilitation Engineering, 8(4), pp.441-446.

Rashid, M., Sulaiman, N., Abdul Majeed, A.P.P., Musa, R.M., Ab Nasir, A.f., Bari, B.S. and Khatun, S. 2020. Current status, challenges, and possible solutions of EEG-based brain-computer interface: A comprehensive review. Frontiers in Neurorobotics, 14, pp.25.

Resalat, S.N. and Saba, V., 2016. A study of various feature extraction methods on a motor imagery based brain computer interface system. Basic and Clinical Neuroscience, 7(1), p.13.

Selim, S., Tantawi, M.M., Shedeed, H.A. and Badr, A., 2018. A CSPAM-BASVM approach for motor imagery BCI system. IEEE Access, 6, pp.49192-49208.

She, Q., Ma, Y.L., Meng, M., Xi, X.G. and Luo, Z.Z., 2017. Noise-assisted MEMD based relevant IMFs identification and EEG classification. Journal of Central South University, 24(3), pp.599-608.

Siuly, S. and Li, Y., 2012. Improving the separability of motor imagery EEG signals using a cross correlation-based least square support vector machine for brain-computer interface. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 20(4), pp.526-538.

Tan, C., Sun, F., Zhang, W., Liu, S. and Liu, C., 2017. Spatial and Spectral Features Fusion for EEG Classification during Motor Imagery in BCI. In: 2017 IEEE EMBS International Conference on Biomedical and Health Informatics (BHI), pp.309-312.

Tangermann, M., Müller, K.R., Aertsen, A., Birbaumer, N., Braun, C., Brunner, C., Leeb, R., Mehring, C., Miller, K.J., Müller-Putz, G.R., Nolte, G., Pfurtscheller, G., Preissl, H., Schalk, G., Schlögl, A., Vidaurre, C., Waldert, S. and Blankertz, B., 2012. Review of the BCI competition IV. Frontiers in Neuroscience, 6, p.55.

Tomioka, R., Dornhege, G., Nolte, G., Blankertz, B., Aihara, K. and Muller, K.R., 2006. Spectrally Weighted Common Spatial Pattern Algorithm for Single Trial EEG Classification. In: Mathematical Engineering Technical Reports. University of Tokyo, Tokyo, Japan, Report No. 40.

Wolpaw, J.R., McFarland, D.J. and Vaughan, T.M., 2000. Brain-computer interface research at the Wadsworth Center. IEEE Transactions on Rehabilitation Engineering, 8(2), pp.222-226.

Wolpow, J.R., Birbaumer, N., McFarland, D.J., Pfurtscheller, G. and Vaughan, T., 2002. Brain-computer interfaces for communication and control. Clinical Neurophysiology, 113(6), pp.767-791.

Yang, H. and Wu, S., 2014. EEG classification for bci based on csp and svm-ga. Applied Mechanics and Materials, 459, pp. 228-231.

Yüksel, A., 2016. Istanbul Technical University Graduate School of Science Engineering and Technology. Middle East Technical University.

Zhang, D., Yao, L., Zhang, X., Wang, S., Chen, W., Boots, R. and Benatallah, B., 2018. Cascade and Parallel Convolutional Recurrent Neural Networks on EEGbased Intention Recognition for Brain Computer Interface. Thirty-Second AAAI Conference on Artificial Intelligence.

Zhang, Y., Zhou, G., Jin, J., Wang, X. and Cichocki, A., 42015. Optimizing spatial patterns with sparse filter bands for motor-imagery based brain-computer interface. Journal of Neuroscience Methods, 255, pp.85-91.

How to Cite
Ghumman, N. S. and Jindal, B. (2022) “An Optimized SWCSP Technique for Feature Extraction in EEG-based BCI System”, ARO-THE SCIENTIFIC JOURNAL OF KOYA UNIVERSITY, 10(1), pp. 68-74. doi: 10.14500/aro.10926.