摘要
为对心脏疾病患者进行实时心率监测,提出一种心率检测方法。采用STM32单片机作为控制芯片,传感器采用SON1205心率传感器。首先将心率信号输出成对应的方波,将此方波输入到单片机处理,然后通过设计的心率检测算法得出心率,再经过滤波算法处理,得到准确的心率,最后通过LabVIEW软件进行仿真实验,得到心率波形。实验结果表明,与高精度测量仪器相比,该方法误差值最多不超过3,准确率达到96%以上。基于STM32的心率检测方法性能稳定,数据可靠,可用于日常心率检测。
In order to achieve real-time heart rate monitoring for patients with heart disease,a heart rate detection method is proposed.The STM32 single-chip microcomputer is used as the control chip,and the sensor adopts the SON1205 heart rate sensor.Firstly,the heart rate signal is output into a corresponding square wave,and the square wave is input to the single-chip processing,then the heart rate is obtained through the designed heart rate detection algorithm and processed by the filtering algorithm to get accurate heart rate.Finally LabVIEW software is used to carry out simulation experiments to get heart rate waveform.The experimental results show that compared with high-precision measuring instruments,the error value of this method is no more than 3,and the accuracy is as high as 99%.The heart rate detection method based on STM32 has stable performance and reliable data,which can be used in daily heart rate detection.
作者
夏卓
王亚刚
XIA Zhuo;WANG Ya-gang(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《软件导刊》
2020年第7期81-84,共4页
Software Guide
基金
国家自然科学基金项目(61074087)。