计算机与现代化 ›› 2022, Vol. 0 ›› Issue (02): 114-119.

• 图像处理 • 上一篇    下一篇

基于希尔伯特变换和自适应阈值的R波检测算法

  

  1. (1.上海理工大学健康工程与科学学院,上海200093;2.上海介入医疗器械工程技术研究中心,上海200093;
    3.上海杨浦区市东医院,上海200090)
  • 出版日期:2022-03-31 发布日期:2022-03-31
  • 作者简介:郭田雨(1995—),女,安徽蚌埠人,硕士研究生,研究方向:信号处理与特征分析,E-mail: g1979787024@163.com; 严荣国(1975—),男,副教授,博士,研究方向:单片机,嵌入式系统,Android和iOS在医疗器械领域中的应用;徐玉玲(1997—),女,硕士研究生,研究方向:医疗电子仪器的设计。
  • 基金资助:
    上海介入医疗器械工程技术研究中心资助项目(18DZ2250900); 上海理工大学医工交叉项目(1020308414)

Detection of R Wave Based on Hilbert Transform and Adaptive Threshold

  1. (1. School of Health Science and Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China;
    2. Shanghai Engineering Research Center of Interventional Medical Device, Shanghai 200093, China; 
    3. Shanghai Yangpu District Shidong Hospital, Shanghai 200090, China)
  • Online:2022-03-31 Published:2022-03-31

摘要: 提出一种基于希尔伯特变换和自适应双阈值的R波检测算法。首先对预处理后的信号进行幅度归一化和希尔伯特包络分析;然后采用自适应双阈值法检测R波;最后,根据增强后的信号定位检测到R波的位置。使用4个具有不同频率和信噪比的数据库(MIT-BIH心率失常数据库、QT数据库、NST噪声数据库、European ST-T数据库)和临床采集心电数据对所提算法进行性能评估,结果表明,各种不规律和含有严重噪声干扰的心电信号中R波的位置依然能被所提算法准确检测出。在MIT-BIH心律失常数据库中,总体数据检测的敏感性、阳性检测度和准确率分别达到了99.36%、99.77%和99.13%,每条记录平均消耗时间比传统的Pan and Tompkins算法大大缩短。实验结果表明该算法具有良好的鲁棒性和实时性。

关键词: 心电信号, R波检测, 希尔伯特变换, 自适应双阈值

Abstract: This paper presents a R wave detection algorithm based on Hilbert transform and adaptive double threshold. Firstly, amplitude normalization and Hilbert envelopment analysis are performed on the pre-processed signal. Then, the R wave is detected by the adaptive double threshold methods. Finally, the location of the detected R wave is located according to the enhanced signal. 4 kinds of databases with different frequencies and signal noise ratio,  like MIT-BIH Arrhythmia, QT, NST, European ST-T, and clinical collection of ECG data are used to evaluate the performance of the proposed algorithm. The Results show that the location of R wave in various irregular ECG signals with serious noise interference can still be accurately detected by the proposed algorithm. It has the sensitivity, positive and accuracy of the overall data detection reached 99.36%, 99.77% and 99.13% in the MIT-BIH arrhythmia database, and compared with the traditional Pan and Tompkins algorithms, the average consumption time of each record is greatly reduced, which proves that the proposed algorithm has good robustness and real-time performance.

Key words: electrocardiogram signal, R wave detection, Hilbert transform, adaptive double threshold