An Efficient EEG Signal Analysis for Emotion Recognition Using FPGA
Abstract
:1. Introduction
2. Related Works
3. Paradigm
3.1. Frequency Domain (FD)
3.2. Time Domain (TD)
3.3. Time-Frequency Domain (TF)
4. Experimental Framework
4.1. EEG Signal
4.2. Independent Component Analysis
4.3. FIR Filter
4.4. Convolutional Neural Network Model
4.5. Long Short-Term Memory
4.6. ResNet-152 Model
5. Result and Discussion
5.1. Strengths and Weaknesses of the Proposed Work
Strengths
- ResNet-152 contains 152 layers, and this is very much sufficient enough to handle the FPGA without changing the hardware, even if the size of the dataset increases.
- FPGA can exploit parallelism effectively, which is beneficial for deep learning models like LSTM and ResNet-152.
- A single MAC adaptive filter has been used in this proposed work; using this, the multipliers are reduced, which leads to a further reduction in hardware utilization.
Weakness
- Developing and optimizing FPGA designs for deep learning may require specialized programming language, like Verilog and VHDL. This may be difficult for machine learning practitioners.
5.2. Future Scope
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Gonzalez, H.A.; Yoo, J.; Elfadel, I.M. EEG-based emotion detection using un supervised transfer learning. In Proceedings of the 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; pp. 694–697. [Google Scholar]
- Sun, L.; Liu, Y.; Beadle, P.J. Independent component analysis of EEG signals. In Proceedings of the 2005 IEEE International Workshop on VLSI Design and Video Technology, Suzhou, China, 28–30 May 2005; pp. 219–222. [Google Scholar]
- Mehmood, R.M.; Lee, H.J. A novel feature extraction method based on late positive potential for emotion recognition in human brain signal patterns. Comput. Electr. Eng. 2016, 53, 444–457. [Google Scholar] [CrossRef]
- Zhu, J.; Zheng, W.-L.; Peng, Y.; Duan, R.; Lu, B.-L. EEG-based emotion recognition using discriminative graph regularized extreme learning machine. In Proceedings of the 2014 International Joint Conference on Neural Network, Beijing, China, 6–11 July 2014. [Google Scholar] [CrossRef]
- Khosrowabadi, R.; Quek, C.; Ang, K.K.; Wahab, A. ERNN: A Biologically Inspired Feedforward Neural Network to Discriminate Emotion From EEG Signal. IEEE Trans. Neural Netw. Learn. Syst. 2014, 25, 609–620. [Google Scholar] [CrossRef] [PubMed]
- Smitha, K.G.; Vinod, A.P. Facial emotion recognition system for autistic children: A feasible study based on FPGA implementation. Med. Biol. Eng. Comput. 2015, 53, 1221–1229. [Google Scholar] [CrossRef] [PubMed]
- Smitha, K.G.; Vinod, A.P. Low Complexity FPGA Implementation of Emotion Detection for Autistic Children. In Proceedings of the 2013 7th International Symposium on Medical Information and Communication Technology (ISMICT), Tokyo, Japan, 6–8 March 2013. [Google Scholar] [CrossRef]
- De Vos, M.; Deburchgraeve, W.; Cherian, P.J.; Matic, V.; Swarte, R.M.; Govaert, P.; Visser, G.H.; Van Huffel, S. Automated artifact removal as preprocessing refines neonatal seizure detection. Clin. Neurophysiol. 2011, 122, 2345–2354. [Google Scholar] [CrossRef] [PubMed]
- Gannouni, S.; Aledaily, A.; Belwafi, K.; Aboalsamh, H. Emotion detection using electroencephalography signals and a zero-time windowing-based epoch estimation and relevant electrode identification. Sci. Rep. 2021, 11, 7071. [Google Scholar] [CrossRef] [PubMed]
- Suhaimi, N.S.; Mountstephens, J.; Teo, J. EEG-Based Emotion Recognition: A State-of-the-Art Review of Current Trends and Opportunities. Comput. Intell. Neurosci. 2020, 2020, 8875426. [Google Scholar] [CrossRef] [PubMed]
- Liu, J.; Wu, G.; Luo, Y.; Qiu, S.; Yang, S.; Li, W.; Bi, Y. EEG-Based Emotion Classification Using a Deep Neural Network and Sparse Autoencoder. Front. Syst. Neurosci. 2020, 14, 43. [Google Scholar] [CrossRef]
- Topic, A.; Russo, M. Emotion recognition based on EEG feature maps through deep learning network. Eng. Sci. Technol. Int. J. 2021, 24, 1442–1454. [Google Scholar] [CrossRef]
- Wang, J.; Wang, M. Review of the emotional feature extraction and classification using EEG signals. Cogn. Robot. 2021, 1, 29–40. [Google Scholar] [CrossRef]
- Butt, M.; Espinal, E.; Aupperle, R.L.; Nikulina, V.; Stewart, J.L. The Electrical Aftermath: Brain Signals of Posttraumatic Stress Disorder Filtered Through a Clinical Lens. Front. Psychiatry 2019, 10, 368. [Google Scholar] [CrossRef]
- Pereira, E.T.; Gomes, H.M.; Veloso, L.R.; Mota, M.R.A. Empirical Evidence Relating EEG Signal Duration to Emotion Classification Performance. IEEE Trans. Affect. Comput. 2021, 12, 154–164. [Google Scholar] [CrossRef]
- Chakravarthi, B.; Ng, S.-C.; Ezilarasan, M.R.; Leung, M.-F. EEG-based emotion recognition using hybrid CNN and LSTM classification. Front. Comput. Neurosci. 2022, 16, 1019776. [Google Scholar] [CrossRef] [PubMed]
- Ezilarasan, M.R.; Pari, J.B.; Leung, M.-F. Reconfigurable Architecture for Noise Cancellation in Acoustic Environment Using Single Multiply Accumulate Adaline Filter. Electronics 2023, 12, 810. [Google Scholar] [CrossRef]
- Ezilarasan, M.R.; Brittopari, J. An Efficient FPGA-Based Adaptive Filter for ICA Implementation in Adaptive Noise Cancellation. SSRG Int. J. Electr. Electron. Eng. 2023, 10, 117–127. [Google Scholar] [CrossRef]
- Ezilarasan, M.R.; Pari, J.B.; Leung, M.-F. High Performance FPGA Implementation of Single MAC Adaptive Filter for Independent Component Analysis. J. Circuits Syst. Comput. 2023, 32, 17. [Google Scholar] [CrossRef]
- Khare, S.K.; Blanes-Vidal, V.; Nadimi, E.S.; Acharya, U.R. Emotion recognition and artificial intelligence: A systematic review (2014–2023) and research recommendations. Inf. Fusion 2023, 102, 102019. [Google Scholar] [CrossRef]
- Khare, S.K.; Nishad, A.; Upadhyay, A.; Bajaj, V. Classification of emotions from EEG signals using time-order representation based on the S-transform and convolutional neural network. Electron. Lett. 2020, 56, 1359–1361. [Google Scholar] [CrossRef]
- Darshan, B.D.; Vyshnavi Shekhar, B.S.; Totiger, M.M.; Priyanka, N.; Spurthi, A. Classification of Emotion using Eeg Signals: An FPGA Based Implementation. Int. J. Recent Technol. Eng. (IJRTE) 2023, 12, 102–109. [Google Scholar]
- Rashid, M.; Sulaiman, N.; PPAbdul Majeed, A.; Musa, R.M.; Ab Nasir, A.F.; Bari, B.S.; Khatun, S. Current status, challenges, and possible solutions of EEG-based brain-computer interface: A comprehensive review. Front. Neurorobotics 2020, 14, 515104. [Google Scholar] [CrossRef]
- Zhang, X.; Yao, L.; Wang, X.; Monaghan, J.; Mcalpine, D.; Zhang, Y. A survey on deep learning-based non-invasive brain signals: Recent advances and new frontiers. J. Neural Eng. 2021, 18, 031002. [Google Scholar] [CrossRef]
- Wang, W.; Qi, F.; Wipf, D.; Cai, C.; Yu, T.; Li, Y.; Yu, Z.; Wu, W. Sparse Bayesian learning for end-to-end EEG decoding. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 15632–15649. [Google Scholar] [CrossRef] [PubMed]
- Li, S.; Mo, Y.; Li, Z. Automated pneumonia detection in chest x-ray images using deep learning model. Innov. Appl. Eng. Technol. 2022, 1, 1–6. [Google Scholar] [CrossRef]
- Li, M.; Ling, P.; Wen, S.; Chen, X.; Wen, F. Bubble-wave-mitigation algorithm and transformer-based neural network demodulator for water-air optical camera communications. IEEE Photonics J. 2023, 15, 7303710. [Google Scholar] [CrossRef]
- Zhao, T.; He, J.; Lv, J.; Min, D.; Wei, Y. A comprehensive implementation of road surface classification for vehicle driving assistance: Dataset, models, and deployment. IEEE Trans. Intell. Transp. Syst. 2023, 24, 8361–8370. [Google Scholar] [CrossRef]
- Jafari, A.; Page, A.; Sagedy, C.; Smith, E.A.; Mohsenin, T. A low power seizure detection processor based on direct use of compressively-sensed data and employing a deterministic random matrix. In Proceedings of the 2015 IEEE Biomedical Circuits and Systems Conference (BioCAS), Atlanta, GA, USA, 22–24 October 2015. [Google Scholar] [CrossRef]
- Gao, J.; Shi, W.; Choy, C.-S. Hardware Design of Real Time Epileptic Seizure Detection Based on STFT and SVM. IEEE Access 2018, 6, 67277–67290. [Google Scholar] [CrossRef]
- Feng, L.; Li, Z.; Wang, Y. VLSI Design of SVM-Based Seizure Detection System With On-Chip Learning Capability. IEEE Trans. Biomed. Circuits Syst. 2018, 12, 171–181. [Google Scholar] [CrossRef]
- Elhosary, H.; Zakhari, M.H.; Elgammal, M.A.; Abd, M.A.; Salama, K.N.; Mostafa, H. Low-Power Hardware Implementation of a Support Vector Machine Training and Classification for Neural Seizure Detection. IEEE Trans. Biomed. Circuits Syst. 2019, 13, 1324–1337. [Google Scholar] [CrossRef]
- Daoud, H.; Abdelhameed, A.M.; Bayoumi, M. FPGA Implementation of High Accuracy Automatic Epileptic Seizure Detection System. In Proceedings of the 2018 IEEE 61st International Midwest Symposium on Circuits and Systems (MWSCAS), Windsor, ON, Canada, 5–8 August 2018. [Google Scholar] [CrossRef]
Sl.No | Title | Technique | Dataset | Limitations | Performance Evaluation |
---|---|---|---|---|---|
1. | [9] | RNN algorithm | DEAP Database. | The challenge of creating gradients that vanish or explode. RNNs cannot be stacked on top of each other.Training procedures that are both slow and complex. | Averageaccuracy: 80%. |
2. | [10] | MFCC, CNN. | Open BCI EEG Signals. | They are unstable, which means that a slight change in the data might result in a huge change in the optimal structure. They are frequently insufficiently accurate. | Success rate: 89%. |
3. | [11] | CNN, Sparse Encoder, For testing in the Deep dataset, | HEAP database. | When using CNNs for train models, the most prevalent issues are overfitting, exploding gradients, and a class imbalance. | They achieved 92.8%. In the SEED dataset, accuracy was 80%. |
4. | [12] | CNN with ResNet 50 | SEED, DREAMER, AMIGOS. | Hardware dependency; network behavior that is not explained. | It finds the relevant traits without the need for human intervention. |
5. | [13] | SVM, KNN, NAÏVE BAYESIAN AND RANDOM FOREST | HEAP database. | Ensembling is less interpretable, and the ensembled model’s output is difficult to forecast and explain. | Accuracy in machine learning ranges from 57.50% to 95.70%.In deep learning based on LSTM, the classification accuracy ranges from 63.38% to 97.56%. |
6. | [15] | SVM | DEAP, MAHNOB, and STEED. | The impact of extended stimulation media on people was not examined in this study. | Success rate: 93.99%. |
7. | [14] | CNN | SEED IV | Because of the substantial comorbidity and overlap in clinical neuroscience, it is critical to address possibly concomitant symptoms and diseases. | Accuracy: 87%. |
Logic Utilization | Used | Available | Utilization |
---|---|---|---|
Number of slice LUTs | 6873 | 27,288 | 25% |
B-RAM | 13 | 116 | 11% |
Number of slices | 467 | 6862 | 6% |
Flipflop | 1 | 5 | 20% |
DSP48A1 | 21 | 58 | 36% |
Parameters | Utilization |
---|---|
FPGA family | Cyclone IV E |
Device | EP4CE6E22A7 |
No. of logic elements (LEs) | 668/6272 |
No. of combinational functions | 725/6272 |
No. of dedicated logic registers | 493/6272 |
No. of total registers | 423 |
No. of total Pins | 48/92(52%) |
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
Ezilarasan, M.R.; Leung, M.-F. An Efficient EEG Signal Analysis for Emotion Recognition Using FPGA. Information 2024, 15, 301. https://doi.org/10.3390/info15060301
Ezilarasan MR, Leung M-F. An Efficient EEG Signal Analysis for Emotion Recognition Using FPGA. Information. 2024; 15(6):301. https://doi.org/10.3390/info15060301
Chicago/Turabian StyleEzilarasan, M. R., and Man-Fai Leung. 2024. "An Efficient EEG Signal Analysis for Emotion Recognition Using FPGA" Information 15, no. 6: 301. https://doi.org/10.3390/info15060301
APA StyleEzilarasan, M. R., & Leung, M. -F. (2024). An Efficient EEG Signal Analysis for Emotion Recognition Using FPGA. Information, 15(6), 301. https://doi.org/10.3390/info15060301