基于单片机的脉搏测试仪的设计
基于单片机的脉搏测试仪的设计(论文10000字)
摘 要
本课题设计了一种基于51单片机的脉搏测试仪。系统以STC89C51单片机为核心,传感器由发光二极管和光敏三极管组成,通过这种传感器采集脉搏信号,将脉搏信号转化为电信号。并利用单片机系统内部定时器来计算时间,由光敏三极管感应产生脉冲,单片机通过对脉冲累加得到脉搏跳动次数,时间由定时器定时而得。系统运行中显示次数和时间,最终显示一分钟的脉搏次数,并播报。
本文从硬件系统和软件系统分别对该设计进行了介绍。首先介绍脉搏测试仪的系统设计方案,接着对系统的硬件电路进行了详细的分析,其中主要包含了各模块电路的方案选择和具体电路工作原理的讲解。然后,介绍了软件系统的主要组成部分,这部分主要是对系统流程图的介绍。最后就是对系统软硬件的调试过程的进行叙述。
关键词:脉搏测试仪,STC89C51单片机,光电传感器
Pulse tester based on single-chip system
Abstract
In this paper we design a pulse test instrument based on 51 single chip microcomputer and infrared light emitting diode and photo transistor as sensors, Through the sensor acquisition pulse signal, the pulse signal is converted into electrical signals,and calculates time with using of the Internal timer. The sensor produces pulse and the single-chip microcomputer gets the frequency by accumulating the pulses, and the timer obtains the time. The system could display the frequency and time of the pulse during operation. It can also show the total number when it stops and speech measured data. After testing, the system works well and meets the design requirements.
[版权所有:http://DOC163.com]
In this paper, from two aspects of hardware and software of the design are introduced. First of all,This paper introduces the system design scheme of pulse tester, and then on the system hardware circuit are analyzed in detail, which mainly contains the components selection and the interpretation of specific circuit. Then,this paper introduces the main part of the software system, this part is mainly to the system flow chart is introduced.The next step is to for description of system hardware and software debugging process.
Keywords:Pulse measurement; STC89C51 single-chip microcomputer; photoelectric sensor
目 录
摘 要 I
Abstract II
第一章 引言 1
1.1 脉搏测试仪背景和意义 1
1.2 脉搏测试仪的发展 1
1.3 毕业设计的任务 2
第二章 系统概述 4
2.1 系统功能介绍 4 [资料来源:https://www.doc163.com]
2.2各模块简介 4
2.3本系统的特点 5
第三章 硬件电路 6
3.1信号采集模块 6
3.1.1信号采集的方案 6
3.1.2 芯片介绍 7
3.1.3信号采集的具体电路 7
3.2信号放大 8
3.2.1信号放大模块的方案 8
3.2.2 芯片介绍 9
3.2.3 具体电路 9
3.3 波形整形电路 10
3.4单片机处理电路 11
3.5显示电路模块 12
3.5.1显示电路模块的方案 12
3.5.2芯片介绍 12
3.5.3具体电路 13
3.6 语音播报电路 13
3.6.1语音播报电路设计方案 13
3.6.2芯片介绍 14
3.6.3具体电路 15
第四章 软件系统 16
4.1 主程序流程 16
[资料来源:http://www.doc163.com]
4.2 定时器中断程序流程 16
4.3 外部中断程序流程 17
4.4 显示程序流程 18
第五章 系统调试 19
结 语 22
参考文献 23
致 谢 24 [来源:http://Doc163.com]