Abstract
Brain-Computer Interface (BCI) is a system that measures and processes the activity of the human brain to improve or replace the function of the human body. In the future, this system can be a solution for people with disabilities, especially in locomotor organs such as hands and feet. The purpose of this research is to classify four classes of electroencephalogram (EEG) signals that represent four human motor imagery. The four motor imageries are left-hand, right-hand, left-foot, and right-foot that originated from motor imagery dataset. The proposed method in this research consists of filtering, feature extraction, and classification. The proposed method employed the Finite Impulse Response (FIR) in the filtering process to pass the required EEG signals such as delta, theta, alpha, beta, and gamma channels. The features are the Root Mean Square (RMS) values from the time domain filtered signal. Our system design used these features as input classification method that used the Artificial Neural Network (ANN). The training and testing data separation used 10-fold cross-validation. To analyze the testing performance used a confusion matrix. Based on the results, the proposed method brings the highest system accuracy as 61.2% on the beta channel.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
The brain’s natural intelligent computing ability to control all activities, such as human behavior, mind and motor movements, is driving the development of research in the field of signal processing and control. The main purpose is to emulate the capabilities of the human brain. One of them is the Brain-Computer Interface (BCI), which gives the ability for the human brain to interact with a computer device [1]. It enables the user to command a computer or other peripheral device by brain activities independent of sensory nerves and muscles [1, 2]. The Electroencephalogram (EEG), the human brain activity recording, is an interpretation of potential changes in the cerebral cortex due to the interaction of various interconnected neurons [3]. The EEG signals are divided based on the delta, theta, alpha, beta and gamma channel frequencies. The features extraction of random time-varying EEG signals and accurate signals classification is the main challenge in current BCI research [1]. The use of appropriate feature extraction can produce features that represent data classes. The BCI aims to interpret the EEG signal in digital form, which performs as a command for a computer [1].
The BCI system used can be considered as a helpful method to support patients with compromised motor functions, such as ‘locked-in’ and ‘completely-locked-in’ patients [4]. Motor imagery (MI) is the process of the subject imagining the movement of one or more of his bodies. Motor-Imagery Brain-Computer Interface (MI-BCI) allows users with disabilities in the body to interact with the environment [5]. MI-BCI offers communication between people suffering from neural disorders with various devices such as robotic prostheses and wheelchairs [5]. In this work, we utilize the Root Mean Square (RMS) value as a time-domain feature. The RMS value of the signal provides the same average power with constant signals at the same load [6]. The RMS feature has low complexity in EEG signal processing [7]. The RMS feature itself has been widely used in previous EEG signal classification studies [8,9,10], and the resulting classification accuracy is above 70%. The choice of classification method is also important in BCI. Artificial Neural Network (ANN) is inspired by the ability of the human brain by computing network patterns to make decisions [11]. ANN is proven to be robust in multiclass classification [5]. Research on EEG based MI classification was conducted in [12] but there are only two classes, namely left and right foot. Whereas in [13] using hands and feet MI with a classification accuracy of 57%. The level of accuracy in this research needs to be improved. Based on previous work, we worked with the ANN method in the EEG classification. We organized this paper into several sections, as follows: Sect. 1 showed the overview and the literature review about EEG classification in MI-BCI. Section 2 presented the method used in this work. Section 3 discussed the experimental results, and Sect. 4 presented the conclusion of this research.
2 Method
2.1 Data
The right and left hands, legs, and tongue movements have been widely used as a paradigm for BCI interactions. In this study, we used the EEG signal obtained from thirteen subjects divided into 75 BCI EEG recording sessions with the imagery right and left hands, and legs movement. The electrode placement is based on the 10/20 international system. EEG signal data acquisition using the EEG-1200 JE-921A EEG device from Nihon Kohden, Japan [13]. Participants imagine the body moves according to the instructions displayed on the screen. This recorded EEG signal is called the Motor Imagery (MI) EEG signal. In this research, we use only ten subjects labelled with HaLT (Hand Leg and Tongue). Data with this label contains four classes used in this research, which are left hand, right hand, left leg, and right leg movement. The dataset has a sampling frequency of 200 Hz with 22 electrodes including 3 ground electrodes. We removed the EEG signal from the ground electrode so that only 19 electrodes were used in this research. Figure 1 shows an example of an EEG signal at the electrodes Fp1, C3, and T3 from a subject. The signal has a length of 664,400 samples.
The dataset marked several codes to define the movements. The code markers used to mark signals in a dataset divided into classes. Table 1 shows the codes that are used in the dataset that divided into nine classes. This marker data is obtained based on the instructions that appear on the screen at the time of recording.
2.2 System Design
EEG based motor imagery classification system in this research conducted into three main stages: filtering, feature extraction, and classification. Figure 2 shows the classification system in this research to describe each stage’s correlations. The preliminary stage was the filtering, which purposed to obtain EEG signals in the delta (1–4 Hz), theta (4–8 Hz), alpha (8–12 Hz), beta (12–30 Hz), and gamma (>30 Hz) channel. The type of filter used in this research was the Finite Impulse Response (FIR) filter, a non-recursive filter that has a finite number of impulse responses. The FIR is always stable, easy to realize, and provides a linear phase response. The FIR is always stable because it is implemented using an all-zero transfer function [14]. In this research, the FIR filter was designed using the windowing method that employed the Hamming window in Eq. (1).
The filtered EEG signals were used to feature extraction process in the second stage. This stage calculated the Root Mean Square (RMS) value of the signal for each channel using Eq. (2). The feature extracted in this step for each channel consisted of the four EEG-based motor imagery classes: left hand, right hand, left foot, and right foot. These features were used as input for the Artificial Neural Network (ANN) process.
This work employed a Multilayer Perceptron (MLP) with a backpropagation learning algorithm, one of the ANN method. The proposed methods used a simple ANN that consisted of a single input layer, hidden layer, output layer. ANN performed a cycle process that processed information to produce an optimum result for any datasets and backward algorithm to complete a network cycle. Backpropagation is an algorithm that returns the error value from the output layer to the hidden layer. Our ANN model consisted of 19 nodes in the input layer, 8 nodes in the hidden layer, and 4 nodes in the output layer. The training and testing process used 10-fold cross-validation. The system performance was analyzed by using the confusion matrix with the accuracy as the main parameter.
3 Result and Discussion
In the initial step, the proposed method filtered the EEG signal into five channels using an FIR filter. Figure 3 shows the filtered EEG signal from the Fp1 electrode signal. As we know, the delta waves have the lowest frequency, and gamma waves have the highest frequency, so it confirms in Fig. 3. Another process in pre-processing steps was giving a code marker. The filtered signal parsed based on the code maker. The classification system for motor imagery used signals with code markers 1, 2, 4 and 6 due to represent the motor imagery signals of the left hand, right hand, left foot, and right foot, respectively. The parsing signal for each subject amounted to 163 × 4 classes. So that the overall becomes 163 × 4 × 10 parsed signals. The filtered and parsed signal is then calculated its RMS value based on Eq. (2). This value is then used as an ANN input. In this research, no scenario was carried out on ANN because this research focused on the effect of channel use on the accuracy value. In addition, a classification process was carried out on each subject.
Figure 4 shows the confusion matrix of the third subject using the beta channel. Based on the confusion matrix, the ratio between the correctly classified with the total data for each marker shows the accuracy value. For example, the use of beta channels in subject 3. The system recognized 97 signals as the correct right-hand movement, 163 signals as the correct left-hand movement, 148 signals as the correct right-leg movement, and 93 signals as the correct left-leg movement. The accuracy calculated by the correct signals was 14.8% for the right hand, 24.8% for the left hand, 22.5% for the right leg, and 14.2% for the left leg. The system accuracy summarized the accuracy of each marker.
Table 2 shows the accuracy of the ten subjects used in this work. Based on the accuracy result in Table 2, we conclude that the beta or theta channel should be used for EEG based classification due to average accuracy for these channels superior to other channels. Several subjects show exception results like the alpha channel in subject two, seven, and ten that brings the best accuracy result for each subject. Furthermore, the gamma channel should not be used for EEG based motor-imagery classification. As a comparison, the results obtained from this study were higher than [13]. The accuracy obtained in [13] is 57% for the HaLT dataset. Meanwhile, research [12] only used 2 classes of MI, namely left and right foot. The accuracy obtained is 86.26% using linear SVM.
4 Conclusion
This research discusses the classification of the four-class EEG based imagery motor. The system extracted the time-domain feature from ten subject EEG signals, which were extracted in the form of the RMS value. The channel variation employed to determine the accuracy system for each channel. ANN is used to map these features into four imagery motor classes. The highest average accuracy is 61.2% for the beta channel. Further research plans are focused on the variation of hidden layer nodes and changes in classification methods. Based on the research results, it is recommended to use the beta channel in the classification of the imagery motor EEG signal, due to the highest average accuracy.
References
Vaid S, Singh P, Kaur C (2015) EEG signal analysis for BCI interface: a review. In: 2015 fifth international conference on advanced computing communication technologies, pp 143–147
Mak JN, Wolpaw JR (2009) Clinical applications of brain-computer interfaces: current state and future prospects. IEEE Rev Biomed Eng 2:187–199
MacDonald DB (2015) Electroencephalography: basic principles and applications. In: Wright JD (ed) International encyclopedia of the social & behavioral sciences, Second edn. Elsevier, Oxford, pp 353–363
Chaudhari R, Galiyawala HJ (2017) A review on motor imagery signal classification for BCI. Signal Process An Int J 11:16–34
Aggarwal S, Chugh N (2019) Signal processing techniques for motor imagery brain computer interface: a review. Array 1–2:100003
Beranek LL, Mellow TJ (2012) Chapter 1—Introduction and terminology. In: Beranek LL, Mellow TJ (eds) Acoustics: sound fields and transducers. Academic Press, pp 1–19
Boonyakitanont P, Lek-Uthai A, Chomtho K, Songsiri J (2020) A review of feature extraction and performance evaluation in epileptic seizure detection using EEG. Biomed Signal Process Control 57:101702
Hamedi M, Salleh S, Noor AM, Mohammad-Rezazadeh I (2014) Neural network-based three-class motor imagery classification using time-domain features for BCI applications. In: 2014 IEEE region 10 symposium, pp 204–207
Tavakolan M, Frehlick Z, Yong X, Menon C (2017) Classifying three imaginary states of the same upper extremity using time-domain features. PLoS ONE 12:e0174161–e0174161
Bhuvaneswari P, Kumar JS (2015) Influence of linear features in nonlinear electroencephalography (EEG) signals. Procedia Comput Sci 47:229–236
Farizawani AG, Puteh M, Marina Y, Rivaie A (2020) A review of artificial neural network learning rule based on multiple variant of conjugate gradient approaches. J Phys: Conf Ser 1529:22040
Phang C, Ko L (2020) Global cortical network distinguishes motor imagination of the left and right foot. IEEE Access 8:103734–103745
Kaya M, Binli MK, Ozbay E, Yanar H, Mishchenko Y (2018) A large electroencephalographic motor imagery dataset for electroencephalographic brain computer interfaces. Sci Data 5:180211
Oshana R (2006) 4—Overview of digital signal processing algorithms. In: Oshana R (ed) DSP software development techniques for embedded and real-time systems. Newnes, Burlington, pp 59–121
Acknowledgements
We would like heartfelt thanks to Lembaga Penelitian dan Pengabdian kepada Masyarakat, Institut Teknologi Telkom Purwokerto for funding this research.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Widadi, R., Zulherman, D., Rama Febriyan Ari, S. (2021). Time Domain Features for EEG Signal Classification of Four Class Motor Imagery Using Artificial Neural Network. In: Triwiyanto, Nugroho, H.A., Rizal, A., Caesarendra, W. (eds) Proceedings of the 1st International Conference on Electronics, Biomedical Engineering, and Health Informatics. Lecture Notes in Electrical Engineering, vol 746. Springer, Singapore. https://doi.org/10.1007/978-981-33-6926-9_53
Download citation
DOI: https://doi.org/10.1007/978-981-33-6926-9_53
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-33-6925-2
Online ISBN: 978-981-33-6926-9
eBook Packages: EngineeringEngineering (R0)