1、毕业设计(论文)说明书 I 摘要摘要 在社会飞速发展的今天,人们的物质文化生活得到了极大的提高,但 同时多种疾病威胁着人们的生命; 而心脏病的发作又是人们难以预防的突 发致命疾病,所以健康也被越来越多的人所重视。本设计要解决的问题就 是可以测量心率、预防心脏病等心脏方面疾病的数字心率计。 本设计采用以 AT89S52 单片机为核心的低成本、高精度、微型化数字 显示心率计的硬件电路和软件设计方法。整个电路采用模块化设计,由主 程序、预置子程序、信号采集子程序、信号放大处理子程序、显示子程序 等模块组成。各探头的信号经单片机综合分析处理,实现心率测量的各种 功能。在此基础上设计了系统的总体方案,最
2、后通过硬件和软件实现了各 个功能模块。相关部分附有硬件电路图、程序流程图。该心率计的原理是 用红外光电传感器 OPT101 接收到人体信号,因人体信号很微弱,所以在 电路中设置了双重放大电路(主要芯片:OP07、LM324N) 。该信号经放大 整形处理后传给 A/D 转换器实现模拟信号转为数字信号,经过以上处理 后,再传给单片机 AT89S52 计算,计算完后由四位数码管显示出来。 该心率计可以简单的测量出人的心跳和人体体温, 基本实现了预定的 目标,这将大大减少病人测量心跳和体温的时间。 关键字:心率;测量; 单片机 AT89S52;转换器 毕业设计(论文)说明书 II Abstract T
3、oday in the rapid development of society, peoples material and cultural life has been greatly improved, but also a variety of diseases threatening peoples lives; and heart attack is it difficult to prevent sudden fatal disease, so health is also valued by more and more people. The design problem to
4、be solved is that you can measure heart rate, cardiac disease, heart disease and other digital heart rate meter. This design uses to AT89S52 microcontroller core, low-cost, high accuracy, digital display of heart rate meter miniaturization of hardware and software design. The probe by the single chip integrated analysis of signal processing functions to achieve heart rate measurement. On this basis, the overall design of the system program, and finally achieved through various hardware and sof