内容发布更新时间 : 2024/12/25 23:08:27星期一 下面是文章的全部内容请认真阅读。
河 南 科 技 学 院 2014届本科毕业论文(设计)
论文(设计)题目:无人监守点滴自动监控系统的
设计
学生姓名:
所在学院:
所学专业:电气工程及其自动化
导师姓名:
完成时间:2014年5月18日
无人监守点滴自动监控系统的设计
摘要
静脉输液是常用的医疗手段之一,传统输液过程中存在着输液容易异常,需要人工监护等弊端。因此,本文设计了无人监守点滴自动监控系统以解决此问题。系统以AT89S53单片机为下位机核心,上位机和CAN总线组成有线监控系统,实现主机对从机的控制。从机通过外围电路检测储液瓶中液面高度和液体点滴速度,并通过控制步进电机实现对输液速度的控制。当输液结束或输液速度发生异常时,发光二极管和蜂鸣器进行报警,并将报警信号通过串行口传送至主站。
关键词:无人监守,自动监控,单片机,CAN总线
DESIGN OF AUTOMATIC MONITORING SYSTEM FOR
UNATTENDED DRIPS
Abstract
Intravenous infusion is one of the commonly means used in medical, there is some abnormalities in tradition infusion and require manual monitoring and other defects. Therefore, we designed the unmanned automatic drip guard monitoring system to solve this problem. This system based on AT89S53 MCU as the core of the next crew, consisting of PC and CAN bus cable monitoring system, from the control of the host machine. From the machine through the external circuit to detect liquid level reservoir bottle and liquid drop, and achieve control of the infusion rate by controlling the stepper motor. When the end of the infusion or infusion rate abnormal, LEDs and buzzer alarm, and the alarm signal is sent via the serial port to the main station.
Key Words: Unmanned, Automatic Monitor, MCU, CAN bus
目录
1 绪论 ............................................................................................................................ 1
1.1 研究背景及意义 .............................................................................................. 1 1.2 国内外发展和研究现状 .................................................................................. 1 2 系统总体方案 ............................................................................................................ 2
2.1 系统设计方案 .................................................................................................. 2
2.1.1 控制系统方案 ........................................................................................ 2 2.1.2 点滴检测方案 ........................................................................................ 3 2.1.3 液位监测方案 ........................................................................................ 3 2.1.4 滴速控制方案 ........................................................................................ 3 2.1.5 电机选择方案 ........................................................................................ 3 2.1.6 主从通信方案 ........................................................................................ 4 2.2 系统硬件结构 .................................................................................................. 4 3 系统从站硬件设计 .................................................................................................... 5
3.1 从站硬件系统框图 .......................................................................................... 5 3.2 从站系统各单元设计 ...................................................................................... 5
3.2.1 点滴信号检测单元 ................................................................................ 6 3.2.2 点滴信号整形单元 ................................................................................ 7 3.2.3 液位检测单元 ........................................................................................ 7 3.2.4 键盘控制电路 ........................................................................................ 8 3.2.5 声光报警单元 ........................................................................................ 9 3.2.6 电源电路单元 ...................................................................................... 10 3.3 通信电路单元 ................................................................................................ 11
3.3.1 CAN总线适配芯片连接电路 ............................................................. 11 3.3.2 通信接口电路 ...................................................................................... 12
4 系统软件设计 .......................................................................................................... 12
4.1 从站软件系统总体设计 ................................................................................ 13 4.2 从站各模块软件设计 .................................................................................... 13
4.2.1 主控模块 .............................................................................................. 13 4.2.2 键盘控制模块 ...................................................................................... 14 4.2.3 点滴速度监测模块 .............................................................................. 17 4.2.4 电机控制模块 ...................................................................................... 19 4.2.5 报警模块 .............................................................................................. 20