基于单片机的ECG数据采集与预处理
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
心脏病已成为危害人类健康的主要疾病之一。据统计,心血管疾病是威胁人类生命的主要疾病,世界上心脏病的死亡率仍占首位。因此,对心血管疾病的诊断、治疗一直被世界各国医学界所重视,准确地进行心电信号提取,为医生提供有效的辅助分析手段是重要而有意义的课题。随着电子技术的迅速发展,医用电子监护系统近年来己在临床诊断中逐渐应用。
     本课题首先介绍了心电信号检测电路的设计,给出了心电信号采集电路具体的设计方法与部分实现电路。并采用了线性光电耦合器放大电路,对前置级运算放大电路及后置级放大电路进行光电隔离,有效地抑制了各种干扰。
     其次,主要进行基于AT89C52低功耗MCU的便携式心电监护仪及其系统的研究。根据人体心电信号的特征,设计性能优良的心电信号采集系统,选用低功耗8位单片机AT89C52和大容量Flash存储器对采集的心电信号进行记录、分析及处理。所设计的监护系统带有液晶显示器,能显示所检测的心电信号,配合按键提供友好的中文菜单,操作简便,心电数据也可通过RS-232接口向上位机传送。该监护仪器能长期、连续、可靠、稳定的工作;同时还具有体积小、存储容量大、功耗低等特点,便于随身携带,使用方便。
     再次,由于越来越多的研究者发现心电图中的ST段的变化与大多数心血管疾病都有着紧密的联系,因此,本课题设计了心电信号预处理方法,包括4点平均滤波、滑动平均滤波、一阶差分、二阶差分等;在此基础上,设计了基于二阶差分可变阈值检测方法来检测心电波形中的R波,计算出了较为准确的心率值。设计了心电波形特征点定位算法,对波形的特征点进行了标定,并测定ST段电平偏移,从而实现了ST段的实时分析。另外,运用自适应相干模板法的基本原理,实现了ECG信号中噪声和干扰的实时滤波,达到了预期的效果。
     最后,作者指出本系统存在的一些不足以及能够改进的地方,并对心电处理系统提出展望。
Heart disease has become one of the main diseases that harm the health of human beings. On statistics, cardiovascular disease is the major illness threatening human's life and the death rate of heart disease is still the highest in the world. Thus, the medicine circles all over the world always attach importance to diagnose and cure cardiovascular disease. It is an important and meaningful task to extract ECG precisely and provide auxiliary analytical measures for doctors. With the rapid development of electronic technology, medical electronic monitoring system gradually applied in the clinical diagnosis in recent years.
     Firstly, this thesis introduces the ECG detection circuit and gives ECG acquisition circuit, especially the specific design and some circuits. It adopts the linear photo-electricity coupling amplifier to segregate prepositional operation amplifier circuit from postpositional one, which depresses various kinds of interference effectively.
     Secondly, the research is mainly about AT89C52 Low Power MCU-based portable ECG monitor and its system. According to the ECG human characteristics, we design excellent ECG data acquisition system and select low-power 8-bit MCU AT89C52 and large-capacity flash memory of the ECG signal to record, analyze and process the ECG data. The monitoring system with LCD display can show ECG waveform. The keyboard is provided with the friendly Chinese menu, simple and convenient, and ECG data can be transmitted through the RS-232 interface to host computer. The monitoring equipment can do their work continuously, reliably and stably in the long term. In addition, it has other advantages, e.g. small in size, large storage capacity, low power consumption, easy to carry and use.
     Thirdly, more and more researchers find that the majority of cardiovascular diseases have close relationship to ECG ST segment changes. So this passage studies preprocessing methods: 4-point moving average filter, first order differential and second order differential. Bsaed on the second-order differential variable threshold detection method, the R wave of ECG waveform, a more accurate calculation of the value of HR can be detected. Designing characteristics of the ECG waveform on locating points, calibration points and determination of ST level migration, thus the real-time analysis of the ST segment can be realized. In addition, the use on the basic principles of adaptive coherent template of a real-time ECG signal interference and noise filtering achieves the desired results.
     Finally, the author points out some shortcomings about the system and gives more prospects to cardiac systems.
引文
[1]张开兹,刘海洋,顾菊康.心电信息学.北京:科学技术文献出版社,1998:214-247
    [2]李仁立,王琳.心律失常临床诊治.北京:科学技术出版社,2001:21-25
    [3]黄宛.临床心电图学.北京:人民卫生出版社,1989:10—23
    [4]朱翠玲.现代生物医学工程.北京:中国科学技术出版社,1992:13-16
    [5]Norman J. Holter, "New method for heart studies," Science, vol. 134, pp. 1212-1220, 1961.
    [6]N. V. Thakor, "From Holter monitors to automatic defibrillators: Developments in ambulatory arrhythmia monitoring," IEEE Trans. Biomed. Eng., vol. 31, pp. 770-778,1984.
    [7]R. H. Selvester, et al., "Analog computer model fo the vectorcardiogram,"Circulation, vol. 31, pp. 45-53, 1965.
    [8]R. H. Selvester, et al., "A digital computer model of the vectorcardiogram with distance and boundary effects: Simulated myocardial infarction," American Heart Journal, vol. 74, pp. 792-808, 1967.
    [9]D. Durrrer, et al., "Total excitation for the isolated human heart," Circulation, vol. 41, pp. 899-912, 1969.
    [10]B. Taccardi, "Distrubution of heart potentials of dog's thoracic surface," Circulation Research, vol. 11, pp. 862-869, 1962.
    [11]B. Taccardi, "Distrubution of heart potentials of the thoracic surface of normal human subjects," Circulation Research, vol. 12, pp. 341-352, 1963.
    [12]L. G. Horan, N. C. Flowers, D. A. Brody, "Body surface potential distrubution:Comparison of naturally and artificially produced signals as analyzed by digital computer," Circulation Research, vol. 13, pp. 373-378, 1964.
    [13]蒋大宗等,“心电技术一百年—笔谈会”,上海生物医学工程,16(4):3—9,1995。
    [14]F. W. Sallmann, H. V. Pipberger, "Automatic recogniton of electrocardiographic waves by digital computer," Circulation Research, vol. 9, pp. 1138-1143, 1961.
    [15]H. V. Pipberger, "Use of computers in interpretation of electrocardiogram,"Circulation Research, vol. 11, pp. 555-562, 1963.
    [16]魏太星,魏经汉.临床心电图学及图谱[M].第三版.河南:河南科学技术出版社,1997.3~72.
    [17]D. Kilpatrick, P. R. Johnston, "Origin of the Electrocardiogram," IEEE Eng. Med. Biol., Aug./Sept., pp. 479-486, 1994.
    [18]袁少英,“心电图诊断基础知识”,天津科学技术出版社,1980。
    [19]许克成,“临床心电图学教程”,人民卫生出版社,1993。
    [20]李翠微,郑崇勋,“ECG自动分析技术的发展”,国外医学生物医学工程分册,17(1):15-22,1994。
    [21]V. N. Pande, H. K.Verma, P. Mlukhopadhyey, "Bedside ECG monitor using a microprocessor", Med. & Biol. Eng. & Comput., vol. 23, pp. 487-492, 1985.
    [22]C. A. Caceres, "Electrocardiographic analysis by a computer system," Arch.Intern. Biomed. Res., vol. 111, pp. 196-202, 1963.
    [23]T. A. Pryor, et al., "Electrocardiographic interpretation by computer," Comput.Biomed. Res., vol. 2, pp. 537-548, 1969.
    [24]W. P. Holsinger, et al., "A QRS preprocessor based on digital differentiation,"IEEE Trans. Biomed. Eng., vol. 18, pp. 212-217, 1971.
    [25]I. S. N. Murthy, U. C. Niranjan, "Decomposition of ECG by linear filtering,"Comput. Biol. Med., vol. 22, pp. 13-22, 1992.
    [26]P. A. Lynn, "Online digital filters for biological signal: Some fast designs for a small computer,," Med. & Biol. Eng., vol. 15, pp. 534-540, 1977.
    [27]P. O. Borjesson, O. Pahlm, M. E. Nygards, "Adaptive QRS detection based on maximum-a-posterior estimation," IEEE Trans. Biomed. Eng., vol. 29, pp. 341-351,1982.
    [28]M, Kunt, H. Rey, A. Ligtenberg, "Preprocessing of electrocardiograms by digital techniques," Signal Processing, vol. 4, pp. 215-222, 1982.
    [29]A. Ligtenberg, M, Kunt, "A robust digital QRS detection algorithm for arrhythmia monitering," Comput. Biomed. Res., vol. 16, pp. 273-308, 1983.
    [30]M.L. Ahlstrom, W. L. Tompkins, "Digital filters for real-time ECG signal processing using microprocessors," IEEE Trans. Biomed. Eng., vol. 32, pp. 708-713,1985.
    
    [31] N. V. Thakor, J. G. Webster, W. J. Tompkins, "Estimation of QRS complex power spectra for design of a QRS filter", IEEE Trans. Biomed. Eng., vol.31, pp.702-705,1984.
    
    [32] Q. Z. Xue, Y. H. Hu, W. J. Tompkins, "Neural network based adaptive matched filtering for QRS detection," IEEE Trans. Biomed. Eng., vol.39, pp. 140-143, 1992.
    
    [33] Senhadji, "Wavelet analysis of ECG signals," Proc. IEEE/EMBS 12th conf.,pp.811-812,1990.
    
    [34] L. Keselbrener, M. Keselbrener, S. Akselrod, "Nonlinear high pass filter for R-wave detection in ECG signal," Med. Eng. Phys., vol. 19, pp. 481-484, 1997.
    
    [35] D. Ebenezer, F. F. Papa, "A recursive digital differentiator for ECG preprocessing," Med. Eng. Phys., vol. 16, pp. 273277, 1994.
    
    [36] O. Pahlm, L. Sornmo, "Software QRS detection in ambulatory monitoring — a review," IEEE Trans. Biomed. Eng., vol.39, pp. 140-143, 1992.
    
    [37] L. R. Pabiner, R. W. Schafer, "Digital processing of speech signals,"Prentice-Hall, 1978.
    
    [38] F. W. Sallmann, H. V. Pipberger, "Automatic recogniton of electrocardiographic waves by digital computer," Circulation Research, vol. 9, pp. 1138-1143, 1961.
    
    [39] I. S. N. Murthy, G. S. S. Durgarasad, "Analysis of ECG from pole-zero models,"IEEE Trans. Biomed. Eng., vol.39, pp.741-751, 1992.
    
    [40] L. Sommo, O. Pahlnn, M. Nygards, "Adaptive QRS detection:A study of performance," IEEE Trans. Biomed. Eng., vol. 32, pp. 392-401, 1985.
    
    [41] J. Pan, W. J. Tompkins, "A real-time QRS detection algrithm," IEEE Trans.Biomed. Eng., vol.32, pp. 230-236, 1985.
    
    [42] P. S. Hamilton, W. J. Tompkins, "Quantitive investigation of QRS detection rules using the MIT/BIT arrhythmia database," IEEE Trans.Biomed. Eng., vol.33,pp.1157-1165, 1986.
    
    [43] R. A. Dufault, A. C. Wilcox, "P-wave detection in the surface ECG via the LMS algorithm," Proc. IEEE/EMBS 9th Conf., pp.245-248, 1987.
    [44]Y. S. Zhu, N. V.Thakor, "P-wave detection by an adaptive QRS-T cancellation technique," Proc. IEEE/EMBS 9th Conf., pp.249-252, 1987.
    [45]范晓东,朱泽煌,杨福生,“动态心电图ST段的测量方法”,国外医学-生物医学工程分册,15(2):71-77,1992。
    [46]S. J Weisner, W. J. Tompkins, "A compact microprocessor-based ECG ST-segment analyzer for the operating room," IEEE Trans. Biomed. Eng., vol. 29, pp.642-649, 1982.
    [47]W. Philips, "Adaptive noise removal from biomedical singals using warped polymials," IEEE Trans. Biomed. Eng., vol. 43, pp. 480-492, 1996.
    [48]N. V. Thakor, Y-S. Zhu, "Application of adaptive filtering to ECG analysis: noise cancellation and arrhythrnia detection," IEEE Trans. Biomed. Eng., vol. 38, pp.785-793, 1991.
    [49]Willis J.Tompkins著.林家瑞,徐邦荃,等译.生物医学数字信号处理.武汉:华中科技大学出版社,2001.
    [50]朱翠玲.现代生物医学工程.中国科学技术出版社,1992.
    [51]Analog Devices, Inc., AD620 Datasheet, http://www.analog.com.
    [52]Low Cost, Low Power Instrumentation Amplifier AD620.
    [53]康华光.电子技术基础一模拟部分(第四版).高等教育出版社.1998
    [54]陈惠开.无源与有源滤波器-理论与应用.人民邮电出版社.1989.
    [55]郑光钦.全能混合电路OrCAD PSpice A/D V9.中国铁道出版社.2000.
    [56][美]阿瑟·B·威廉斯,喻春轩等译.《电子滤波器设计手册》电子工业出版社,1986.
    [57]陆坤.电子设计技术.电子科技大学出版社.1997
    [58]郑敬等.一种简单有效的导联脱落检测电路.中国医疗器械杂志,1992年,16卷.
    [59]顾滨等.单片微计算机原理、开发及应用.北京:高等教育出版社.2000.
    [60]宗孔德,胡广书.数字信号处理.北京:清华大学出版社.1987
    [61]丁玉美.数字信号处理.西安电子科技大学出版社
    [62]曹细武,史亚军,邓亲恺等.微型心电、呼吸监护系统的研制.中国医疗器械 杂志,2001.
    [63]12-Bit 100 KSPS A/D Converter. AD1674.
    [64]HM6264 Series 8K X 8bit CMOS SRAM.
    [65]窦振中.单片机外围器件实用手册一存储器分册.北京航空航天大学出版社1998
    [66]AT29LV040.Atme1 Corporation 2001
    [67]北京精电蓬远显示技术有限公司.内藏KSO1O8B/HD61202控制器图形液晶显示模块使用手册.
    [68]杨振江.智能仪器与数据采集系统中的新器件及应用.西安电子科技大学出版社.2001
    [69]姜峰.单片机控制液晶模块实时显示动态波形.微计算机应用.Vol.22.No.1 Jan.,2001
    [70]李维提.液晶显示器应用技术.北京邮电学院出版社.1997
    [71]罗乐.液品模块应用中动态波形显示的软件实现.计算机应用.Vol.23.Dec.2003
    [72]Maxim Product Selector Guide, 2000, May, 61-63
    [73]邱庆军,蒋景英,虞启琏.QRS波检测方法的回顾与新进展.中国医疗器械杂志,1999,23(6):25-32
    [74]P. S. Hamilton, W. J. Tompkins. Quantitive Investigation of QRS Detection Rules Using the MIT/BIH Arrhythmia Database. IEEE trans Biomed Eng, 1986,33(12):1157—1165
    [75]N.V. Thakor. Estimation of QRS Complex Power Spectra for Design of a QRS Filter. IEEE trans On Biomedical Engineering, 1984, 31(11):702-705
    [76]李兰玉.一种性能优良的QRS检测电路.中国医疗器械杂志,2000,6(16):341
    [77]W P. Holsinger, et al. A QRS detection method. IEEE Trans on BME,1971,(18):212
    [78]M. L. Ahlstrom. Automated high-speed analysis of Holter tapes with microcomputer.IEEE Trans on BME, 1983,(30):651
    [79]J. Pan. A real-time QRS detection algorithm. IEEE Trans On BME, 1985,(32):230
    [80]K. Bertuwe, H. Carsten, O. Reinhold. The Principles of Software QRS Detection. IEEE Engineering In Medicine and Biology, 2002,(1):42-57
    [81]F. E Brekelmans, De Val C D R. A QRS Detection Scheme for Multi-channel ECG devices. Comput Cardio.IEEE compute, 1982, 11(6):39-44
    [82]C.L. Chung, K.P. Lin, T.H. Tao, et al. Validation of Automated Arrhythmia Detection for Holter ECG. Proceedings-20t" annual international conference, IEEE/EMBS, 1998:100—103
    [83]杨福生,吕扬生.生物医学信号处理和识别.天津:天津科技翻译出版公司,1997:378~4_52
    [84]费保蔚.心电信号数字滤波处理方法.中国医疗器械志,1996,20(5):262
    [85]董绍平,陈世耕.数字信号处理基础.哈尔滨:哈尔滨工业大学出版,1996:20-37
    [86]胡广书.数字信号处理理论算法与实现.第六版.北京:清华大学出版社,2001:263-297
    [87]龙兴明,周静.心电信号预处理中基于MATLAB的陷波器设计.重庆师范学院学报,2003(6):54-68
    [88]Levkov. Subtraction of SOHz interference from the electrocardiogram, Med &Biol&Comput, 2001, 22:371-373
    [89]黄宛.临床心电图学.北京:人民卫生出版社,1989:10-23
    [90]范晓东,朱泽煌.动态心电图ST-T段参数测量方法.生物医学工程学杂志,1997,14(1),51—53
    [91]SimonHaykin.AdaptiveFilterTheory.EnglewoodCliffs(NJ):Prentice2HallInc, 1996.338~444.
    [92]王宏禹,邱天爽.自适应噪声抵消与时间延迟估计.大连:大连理工大学出版社,1999.70~95
    [93]李刚.自适应相干模板法在心电图机中应用的一种改进算法.信号处理.2002(3)244—248

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700