Abstract
The implementation of a Brain-Computer Interface (BCI) system requires electroencephalography (EEG) signal processing that includes filtering, feature extraction, and classification algorithms. As such, the present work proposes to use the PocketBeagle embedded system to run algorithms for BCI using the Python language. This work aimed to explore some features of the embedded system to optimize performance and resource consumption, as well as the training time of the implemented algorithms, which used Linear Discriminant Analysis (LDA) and Support Vector Machine (SVM) classifiers, both with Common Spatial Patterns (CSP) filter. When comparing previous research results with the developed algorithms of this work embedded in the PocketBeagle, the training time increased by 42.98 s for LDA and 42.66 s for SVM. When analyzing the memory consumption of the implementations in the embedded system, the codes consumed less than half of the memory available in the 512 MB PocketBeagle. The consumption of the LDA classifier was 167 MB at its peak, and the SVM was 177 MB at the peak of its execution. Using the metrics resulting from the confusion matrix, it is clear that the SVM classifier had a better performance than the LDA since its accuracy is 83.14 % and its f-score is 0.8111, while for the LDA classifier, they are 66.29 % and 0.6940, respectively.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
BCI Competition III’s Data set IVa. https://www.bbci.de/competition/iii/desc/_IVa.html
Pocket Beagle System Reference Manual. https://github.com/beagleboard/pocketbeagle/wiki/System-Reference-Manual
Blankertz, B., et al.: The BCI competition iii: validating alternative approaches to actual BCI problems. IEEE Trans. Neural Syst. Rehabil. Eng. 14(2), 153–159 (2006)
Dornhege, G., et al.: Boosting bit rates in non-invasive EEG single-trial classifications by feature combination and multi-class paradigms. IEEE Trans. Biomed. Eng. 51(6), 993–1002 (2004)
Lotte, F.: A tutorial on EEG signal-processing techniques for mental-state recognition in brain–computer interfaces. In: Miranda, E.R., Castet, J. (eds.) Guide to Brain-Computer Music Interfacing, pp. 133–161. Springer, London (2014). https://doi.org/10.1007/978-1-4471-6584-2_7
Lotte, F., Guan, C.: Regularizing common spatial patterns to improve BCI designs: unified theory and new algorithms. IEEE Trans. Biomed. Eng. 58(2), 355–362 (2011)
Mokienko, O., et al.: Motor imagery and its practical application. Neurosci. Behav. Physiol. 44(5), 483–489 (2014)
Molloy, D.: Exploring BeagleBone: Tools and Techniques for Building with Embedded Linux. Wiley, Hoboken (2019). ISBN 9781118935125
Monard, M.C., Baranauskas, J.A.: Conceitos sobre aprendizado de máquina. In: Sistemas Inteligentes Fundamentos e Aplicações, 1 edn, pp. 89–114. Manole Ltda, Barueri-SP (2003)
Mulder, T.: Motor imagery and action observation: cognitive tools for rehabilitation. J. Neural Transm. 114(10), 1265–1278 (2007)
Pantic, M., et al.: Computer Based Coursework Manual Machine Learning (Course 395). Imperial College (2011)
Santos, C.C.F.: Estudo da implementação em sistemas embarcados de algoritmos para interfaces cérebro-máquina (2020). https://bdm.unb.br/handle/10483/27788
Santos, C.J.: Avaliação do uso de classificadores para verificação de atendimento a critérios de seleção em programas sociais. Master’s thesis, Universidade Federal de Juiz de Fora, Departamento de Engenharia, Modelagem Computacional. Juiz de Fora, Março (2017)
Turi, F., Gayraud, N.T.H., Clerc, M.: Auto-calibration of c-vep bci by word prediction (2020). hal-02844024
Wang, A.I., Larsen, E.A.: Using brain-computer interfaces in an interactive multimedia application. In: Proceedings of the IASTED International Conference on Software Engineering and Applications (2012)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Ferrer, C., Costa, M.V.C. (2024). Study of Algorithms for Implementation of Brain-Computer Interfaces in Embedded Systems. In: Marques, J.L.B., Rodrigues, C.R., Suzuki, D.O.H., Marino Neto, J., García Ojeda, R. (eds) IX Latin American Congress on Biomedical Engineering and XXVIII Brazilian Congress on Biomedical Engineering. CLAIB CBEB 2022 2022. IFMBE Proceedings, vol 99. Springer, Cham. https://doi.org/10.1007/978-3-031-49404-8_9
Download citation
DOI: https://doi.org/10.1007/978-3-031-49404-8_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-49403-1
Online ISBN: 978-3-031-49404-8
eBook Packages: EngineeringEngineering (R0)