Abstract
This paper presents a design exploration of a new EEG-based embedded system for home devices control. Two main issues are addressed in this work: the first one consists of an adaptive filter design to increase the classification accuracy for motor imagery. The second issue deals with the design of an efficient hardware/software embedded architeclture integrating the entire EEG signal processing chain. In this embedded system organization, the pre-processing techniques, which are time consuming, are integrated as hardware accelerators. The remaining blocks (Intellectual Properties - IP) are developed as embedded-software running on an embedded soft-core processor. The pre-processing step is designed to be self-adjusted according to the intrinsic characteristics of each subject. The feature extraction process uses the Common Spatial Pattern (CSP) as a filter due to its effectiveness to extract the ERD/ERS (Event-Related Desynchronization/ Synchronization) effect, where the classifier is based on the Mahalanobis distance. The advantage of the proposed system lies in its simplicity and short processing time while maintaining a high performance in term of classification accuracy. A prototype of the embedded system has been implemented on an Altera FPGA-based platform (Stratix-IV). It is shown that the proposed architecture can effectively extract discriminative features for motor imagery with a maximum frequency of 150 MHz. The proposed system was validated on EEG data of twelve subjects from the BCI competition data sets. The prototype performs a fast classification within time delay of 0.399 second per trial, an accuracy average of 94.47 %, an average transfer rate over all subjects of 20.74 bits/min. The estimated power consumption of the proposed system is around 1.067 Watt (based on an integrated tool-power analysis of Altera corporation).
Similar content being viewed by others
References
Palumbo, A., Amato, F., Calabrese, B., Cannataro, M., Cocorullo, G., Gambardella, A., Guzzi, P.H., Lanuzza, M., Sturniolo, M., Veltri, P., & Vizza, P. (2010). An embedded system for EEG acquisition and processing for brain computer interface applications (Vol. 75, pp. 137–154). Berlin: Springer.
Dornhege, G., Blankertz, B., Curio, G., & Muller, K. (2004). Boosting bit rates in noninvasive EEG single-trial classifications by feature combination and multiclass paradigms. IEEE Transactions Biomedical Engineering, 51(6), 993–1002.
Naeem, M., Brunner, C., Leeb, R., Graimann, B., & Pfurtscheller, G. (2006). A seperability of four-class motor imagery data using independent components. Journal of Neural Engineering, 10, 208–216.
Shyu, K.-K., Lee, P.-L., Lee, M.-H., Lin, M.-H., Lai, R.-J., & Chiu, Y.-J. (2010). Development of a low-cost FPGA-based SSVEP BCI multimedia control system. IEEE Transactions on Biomedical Circuits and Systems, 4(2), 125–132.
Correa, M., Leber, E.L., & Agustina, G. (2011). Noise removal from EEG signals in polisomnographic records applying adaptive filters in cascade, (pp. 173–194): INTECH Open Access Publisher.
Vanrullen, R. (2011). Four common conceptual fallacies in mapping the time course of recognition. Frontiers in Psychology, 2(365), 1–6.
St’astny, J. (2012). A modular hardware platform for brain-computer interface. In 2012 International Conference on Applied Electronics (AE) (pp. 287–290).
Suk, H.-I., & Lee, S.-W. (2011). Subject and class specific frequency bands selection for multiclass motor imagery classification. International Journal of Imaging Systems and Technology, 21, 123–130.
Widmann, A., & Schroger, E. (2012). Filter effects and filter artifacts in the analysis of electrophysiological data. Frontiers in Psychology, 3, 3.
Schomer, D.L., & Lopes Da Silva, F. (2012). Niedermeyer’s electroencephalography: basic principles, clinical applications, and related fields. Lippincott Williams & Wilkins.
Gouy-Pailler, C., Congedo, M., Brunner, C., Jutten, G., & Pfurtscheller, C. (2010). Nonstationary brain source separation for multiclass motor imagery. IEEE Transactions on Biomedical Engineering, 57(2), 469–478.
Hashimoto, Y., & Ushiba, J. (2013). EEG-based classification of imaginary left and right foot movements using beta rebound. Clinical Neurophysiology, 124(11), 2153–2160.
Chai, R., Ling, S.H., Hunter, G.P., & Nguyen. H.T. (2012). Mental non-motor imagery tasks classifications of brain computer interface for wheelchair commands using genetic algorithm-based neural network. In The 2012 International Joint Conference on Neural Networks IJCNN (pp. 1–7).
Ahmadi, A., Dehzangi, O., & Jafari, R. (2012). Brain-computer interface signal processing algorithms: A computational cost vs. accuracy analysis for wearable computers. In 2012 Ninth International Conference on Wearable and Implantable Body Sensor Networks (BSN) (pp. 40–45).
Kam, T.-E., Suk, H.-I., & Lee, S.-W. (2013). Non-homogeneous spatial filter optimization for electroencephalogram EEG-based motor imagery classification. Neurocomputing, 108(0), 58–68.
Lotte, F., & Guan, C. (2011). Regularizing common spatial patterns to BCI designs: Unified theory and new algorithms. IEEE Transactions on Biomedical Engineering, 58, 355–362.
Lotte, F., Congedo, M., Lecuyer, A., Lamarche, F., & Arnaldi, B. (2007). A review of classification algorithms for EEG-based brain computer interfaces. Journal of Neural Engineering, 4(2), R1.
Piccini, L., Parini, S., Maggi, L., & Andreoni, G. (2006). A wearable home bci system: preliminary results with ssvep protocol. In 27th Annual International Conference of the Engineering in Medicine and Biology Society, 2005. IEEE-EMBS 2005 (pp. 5384–5387): IEEE.
Graimann, B., Huggins, J.E., Levine, S.P., & Pfurtscheller, G. (2002). Visualization of significant ERD/ERS patterns in multichannel EEG and ECog data. Clinical Neurophysiology, 113(1), 43–47.
Velu, P.D., & de Sa, V.R. (2013). Single-trial classification of gait and point movement preparation from human EEG. Frontiers in Neuroscience, 7, 1–11.
Jacguin, A., Causevic, E., John, R., & Kovacevic, J. (2005). Adaptive complex wavelet-based filtering of EEG for extraction of evoked potential responses, Vol. 5.
Khorshidtalab, A., & Salami, M.J.E. (2011). EEG signal classification for real-time brain-computer interface applications A review. In 2011 4th International Conference On Mechatronics (ICOM) (pp. 1–7).
Chan, H.-L., Tsai, Y.-T., Meng, L.-F., & Tony, W. (2010). The removal of ocular artifacts from eeg signals using adaptive filters based on ocular source components. Annals of biomedical engineering, 38(11), 3489–3499.
Ali, M.S.A.M., Taib, M.N., Tahir, N.M., Jahidin, A.H., & Yassin, M. (2014). EEG Sub-band spectral centroid frequencies extraction based on Hamming and equiripple filters: A comparative study. In 2014 IEEE 10th International Colloquium on Signal Processing & its Applications (CSPA) (pp. 199–203).
Guerrero-Mosquera, C., & Navia Vazquez, A. (2009). Automatic removal of ocular artifacts from EEG data using adaptive filtering and independent component analysis. In 2009 17th European Signal Processing Conference (pp. 2317–2321): IEEE.
Higashi, H., & Tanaka, T. (2013). Simultaneous design of fir filter banks and spatial patterns for eeg signal classification. IEEE Transactions on Biomedical Engineering, 60(4), 1100–1110.
Decostre, A., & Burak, A. (2005). An adaptive filtering approach to the processing of single sweep event related potentials data. In Proceedings 5th International Workshop Biosignal Interpretation (pp. 1–3).
Jeyabalan, V., Samraj, A., & Chu Kiong, L. (2008). Motor imaginary signal classification using adaptive recursive bandpass filter and adaptive autoregressive models for brain machine interface designs. International Journal of Biological and Medical Sciences, 3(4), 231–238.
Li, M., & Lu, B.-L. (2009). Emotion classification based on gamma-band EEG. In Annual International Conference of the IEEE Engineering in Medicine and Biology Society, EMBC 2009 (pp. 1223–1226).
Liao, L.-D., Wang, I.-J., Chang, C.-J., Lin, B.-S., Lin, C.-T., & Tseng, K.C. (2010). Human cognitive application by using wearable mobile brain computer interface. In 2010 IEEE Region 10 Conference TENCON 2010 (pp. 346–351).
Gao, X., Xu, D., Cheng, M., & Gao, S. (2003). A BCI-Based environmental controller for the motion-disabled. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 11(2), 137–140.
Mail, R.K., Duszyk, A., Milanowski, P., Labecki, M., Bierzynska, M., Radzikowsk, Z., Michalska, M., Zygierewicz, J., Suffczynski, P., & Durka, P.J. (2013). On the quantification of SSVEP frequency responses in human EEG in realistic BCI conditions. PLoS ONE, 8(10), 1–9.
Belwafi, K., Ghaffari, F., Romain, O., & Djemal, R. (2014). An embedded implementation of home devices control system based on brain computer interface. In 2014 International Conference on Microelectronics (ICM) (pp. 140–143).
Belwafi, K., Djemal, R., Ghaffari, F., & Romain, O. (2014). An adaptive EEG filtering approach to maximize the classification accuracy in motor imagery. In 2014 IEEE Symposium on Computational Intelligence, Cognitive, pp. 121–126.
Lew, E., Chavarriaga, R., Silvoni, S., & del R Millán, J. (2012). Detection of self-paced reaching movement intention from EEG signals. Frontiers in Neuroeng, 5(13), 1–17.
Losada, R.A. (2008). Digital filters with matlab®, The Mathworks Inc.
Blankertz, B., Kawanabe, M., Tomioka, R., Hohlefeld, F., Müller, K.-R., & Nikulin, V.V. (2007). Invariant common spatial patterns: Alleviating nonstationarities in brain-computer interfacing. In Advances in neural information processing systems (pp. 113– 120).
Pfurtscheller, G., & Lopes da Silva, F.H. (1999). Event-related EEG/MEG synchronization and desynchronization: basic principles. Clinical Neurophysiology, 110(11), 1842–1857.
Eva, O.D., & Lazar, A.M. (2015). Comparison of classifiers and statistical analysis for EEG signals used in brain computer interface motor task paradigm. International Journal of Advanced Research in Artificial Intelligence on IJARAI, 4(1), 8–12.
Hashemian, M., & Pourghassem, H. (2014). Diagnosing autism spectrum disorders based on EEG analysis: a survey. Neurophysiology, 46, 183–195.
Tu, Y., Hung, Y.S., Hub, L., Huang, G., Huc, Y., & Zhang, Z. (2014). An automated and fast approach to detect single-trial visual evoked potentials with application to brain-computer interface. Clinical Neurophysiology, 125, 2372–2383.
Yuan, P., Gao, X., Allison, B., Wang, Y., Bin, G., & Gao, S. (2013). A study of the existing problems of estimating the information transfer rate in online brain-computer interfaces. Journal of neural engineering, 10, 2372–2383.
Cheng, M., Gao, X., Gao, S., & Xu, D. (2002). Design and implementation of a brain-computer interface with high transfer rates. IEEE Transactions on Biomedical engineering, 49, 633–647.
Wang, W., Bolic, M., & Parri, J. (2013). pvFPGA: Accessing an FPGA -based hardware accelerator in a paravirtualized environment. In 2013 International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS) (pp. 1–9).
Djemal, R., Belwafi, K., Kaaniche, W., & Alshebeili, S.A. (2013). A novel hardware/software embedded system based on automatic censored target detection for radar systems. AEU International Journal of Electronics and Communications, 67, 301–312.
Lin, C.-T., Lin, B.-S., Lin, F.-C., & Chang, C.-J. (2014). Brain computer interface-based smart living environmental auto-adjustment control system in UPnp home networking. IEEE Systems Journal, 8, 363–370.
Shyu, K.-K., Chiu, Y.-J., Lee, P.-L., Lee, M.-H., Sie, J.-J., Wu, C.-H., Wu, Y.-T., & Tung, P.-C. (2013). Total design of an FPGA-based braincomputer interface control hospital bed nursing system. IEEE Transactions on Industrial Electronics, 60, 2731–2739.
Miao, L., Zhang, J.J., Chakrabarti, C., & Papandreou-Suppappola, A. (2013). Efficient bayesian tracking of multiple sources of neural activity Algorithms and real-time FPGA implementation. IEEE Transactions on Signal Processing, 61, 633–647.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interests
The authors declare that they have no conflict of interest and no problem with Ethical Approval. This project was funded by the National Plan for Science, Technology and Innovation (MAARIFAH), King Abdulaziz City for Science and Technology, Kingdom of Saudi Arabia, Award Number (ELE1730).
Rights and permissions
About this article
Cite this article
Belwafi, K., Ghaffari, F., Djemal, R. et al. A Hardware/Software Prototype of EEG-based BCI System for Home Device Control. J Sign Process Syst 89, 263–279 (2017). https://doi.org/10.1007/s11265-016-1192-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11265-016-1192-8