Abstract
This work is part of the Psypocket project which aims to conceive an embedded system able to recognize the stress state of an individual based on physiological and behavioural modifications. In this paper, one of the physiological data, the electrocardiographic (ECG) signal, is focused on. The QRS complex is the most significant segment in this signal. By detecting its position, the heart rate can be learnt. In this paper, a field-programmable gate array (FPGA) architecture for QRS complex detection is proposed. The detection algorithm adopts the integer Haar transform for ECG signal filtering and a maximum finding strategy to detect the location of R peak of the QRS complex. The ECG data are originally recorded by double-precision decimal with the sampling frequencies of 2000 Hz. For the FPGA implementation, they should be converted to integers with rounding operation. To find the best multiplying factor for rounding, the comparison is performed in MATLAB. Besides, to reduce the computation load in FPGA, the feasibility of the reduction in the sampling frequency is tested in MATLAB. The FPGA Cyclone EP3C5F256C6 is used as the target chip, and all the components of the system are implemented in VHSIC hardware description language. The testing results show that the proposed FPGA architecture achieves a high detection accuracy (98.41%) and a good design efficiency in terms of silicon consumption and operation speed. The proposed architecture will be adopted as a core unit to make a FPGA system for stress recognition.
Similar content being viewed by others
References
D. Anguita, A. Ghio, L. Oneto, X. Parra, J.L. Reyes-Ortiz, Human activity recognition on smartphones using a multiclass hardware-friendly support vector machine. In: International Workshop on Ambient Assisted Living (Springer, 2012), pp. 216–223
B. Bolmont, F. Thullier, J.H. Abraini, Relationships between mood states and performances in reaction time, psychomotor ability, and mental efficiency during a 31-day gradual decompression in a hypobaric chamber from sea level to 8848 m equivalent altitude. Physiol. behav. 71(5), 469–476 (2000)
A. Calderbank, I. Daubechies, W. Sweldens, B.L. Yeo, Wavelet transforms that map integers to integers. Appl. Comput. Harmon. Anal. 5(3), 332–369 (1998)
T. Chandola, E. Brunner, M. Marmot, Chronic stress at work and the metabolic syndrome: prospective study. Bmj 332(7540), 521–525 (2006)
S. Cohen, T. Kamarck, R. Mermelstein, A global measure of perceived stress. J. Health Soc. Behav. 24, 385–396 (1983)
S.A. Coombes, T. Higgins, K.M. Gamble, J.H. Cauraugh, C.M. Janelle, Attentional control theory: anxiety, emotion, and motor planning. J. Anxiety Disord. 23(8), 1072–1079 (2009)
R.R. Fletcher, K. Dobson, M.S. Goodwin, H. Eydgahi, O. Wilder-Smith, D. Fernholz, Y. Kuboyama, E.B. Hedman, M.Z. Poh, R.W. Picard, icalm: Wearable sensor and network architecture for wirelessly communicating and logging autonomic activity. IEEE Trans. Inf. Technol. Biomed. 14(2), 215–223 (2010)
K. Irick, M. DeBole, V. Narayanan, A. Gayasen, A hardware efficient support vector machine architecture for fpga. In: 16th International Symposium on Field-Programmable Custom Computing Machines, 2008. FCCM’08 (IEEE, 2008), pp. 304–305
S.J. Jung, W.Y. Chung, Wide and high accessible mobile healthcare system in ip-based wireless sensor networks. In: Sensors (IEEE, 2013), pp. 1–4
M. Karim, et al., Novel simple decision stage of pan & tompkins qrs detector and its fpga-based implementation. In: 2012 Second International Conference on Innovative Computing Technology (INTECH) (IEEE, 2012), pp. 331–336
G. Kavya, V. Thulasibai, Vlsi implementation of telemonitoring system for high risk cardiac patients. Indian J. Sci. Technol. 7(5), 571–576 (2014)
S.G. Mallat, A theory for multiresolution signal decomposition: the wavelet representation. IEEE Trans. Pattern Anal. Mach. Intell. 11(7), 674–693 (1989)
J. Manikandan, B. Venkataramani, V. Avanthi, Fpga implementation of support vector machine based isolated digit recognition system. In: 2009 22nd International Conference on VLSI Design (IEEE, 2009), pp. 347–352
I. Mohino-Herranz, R. Gil-Pita, J. Ferreira, M. Rosa-Zurera, F. Seoane, Assessment of mental, emotional and physical stress through analysis of physiological signals using smartphones. Sensors 15(10), 25607–25627 (2015)
J.T. Noteboom, K.R. Barnholt, R.M. Enoka, Activation of the arousal response and impairment of performance increase with anxiety and stressor intensity. J. Appl. Physiol. 91(5), 2093–2101 (2001)
J. Pan, W.J. Tompkins, A real-time qrs detection algorithm. IEEE Trans. Biomed. Eng. 3, 230–236 (1985)
M. Pantic, L.J. Rothkrantz, Toward an affect-sensitive multimodal human–computer interaction. Proc. IEEE 91(9), 1370–1390 (2003)
M. Papadonikolakis, C.S. Bouganis, A novel fpga-based svm classifier. In: 2010 International Conference on Field-Programmable Technology (FPT) (IEEE, 2010), pp. 283–286
A. Parent-Thirion et al., Fourth European working conditions survey. Office for official Publications of the European Communities (2007)
C. Pavlatos, A. Dimopoulos, G. Manis, G. Papakonstantinou, Hardware implementation of pan & tompkins qrs detection algorithm. In: Proceedings of the EMBEC05 Conference (Citeseer, 2005)
R.W. Picard, E. Vyzas, J. Healey, Toward machine emotional intelligence: analysis of affective physiological state. IEEE Trans. Pattern Anal. Mach. Intell. 23(10), 1175–1191 (2001)
A. Riener, A. Ferscha, M. Aly, Heart on the road: Hrv analysis for monitoring a driver’s affective state. In: Proceedings of the 1st International Conference on Automotive User Interfaces and Interactive Vehicular Applications (ACM, 2009), pp. 99–106
M. Rossi, S. Feese, O. Amft, N. Braune, S. Martis, G. Tröster, Ambientsense: a real-time ambient sound recognition system for smartphones. In: 2013 IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops) (IEEE, 2013), pp. 230–235
A. Said, W.A. Pearlman, An image multiresolution representation for lossless and lossy compression. IEEE Trans. Image Process. 5(9), 1303–1310 (1996)
R. Stojanović, D. Karadaglić, M. Mirković, D. Milošević, A fpga system for qrs complex detection based on integer wavelet transform. Meas. Sci. Rev. 11(4), 131–138 (2011)
V.N. Vapnik, V. Vapnik, Statistical Learning Theory, vol. 1 (Wiley, New York, 1998)
Z. Zeng, J. Tu, M. Liu, T.S. Huang, B. Pianfetti, D. Roth, S. Levinson, Audio–visual affect recognition. IEEE Trans. Multimed. 9(2), 424–428 (2007)
J. Zhai, A. Barreto, Stress recognition using non-invasive technology. In: FLAIRS Conference, pp. 395–401 (2006)
B. Zhang, Y. Morere, L. Sieler, C. Langlet, B. Bolmont, G. Bourhis, Stress recognition from heterogeneous data. In: 2016 International Conference on Biomedical Signal and Image Processing (ICBIP) (2016)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Zhang, B., Sieler, L., Morère, Y. et al. A Modified Algorithm for QRS Complex Detection for FPGA Implementation. Circuits Syst Signal Process 37, 3070–3092 (2018). https://doi.org/10.1007/s00034-017-0711-6
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00034-017-0711-6