中文题目:基于单片机的输液监控系统设计外文题目:DESIGNOFINFUSIONMONITORINGSYSTEMBASEDONSINGLECHIP毕业设计(论文)共69页(其中:外文文献及译文23页)图纸共1张完成日期2013年6月答辩日期2013年6月I摘要输液是医院常用的治疗手段,传统输液过程中存在着输液速度不精确、需要人工监护等弊端。本文的目的就是设计一种输液监控系统以解决此问题。本文设计的输液监控系统,实现了对输液速度的检测与控制,实现了对储液瓶中液面体积的检测报警,并且动态显示输液速度。使用者可以通过PC设置输液速度,系统将自动对输液速度进行控制。此外系统还实现了多机通信,即一个主站控制多个从站和主从机之间的数据传输。当输液结束或输液速度发生异常时,从站使用发光二极管和蜂鸣器进行报警,并将报警信号通过串行口传送至主站,主站通过监控软件和蜂鸣器实现声光报警。在整体方案设计中,在保证设计系统能达到的使用要求的精度和稳定度的前提下,考虑到系统的轻便性、实用性、可靠性,对电路系统进行了优化。本设计基本完成了预想功能,并指明了以后的研究方向和工作重点。关键词:单片机;PID;步进电机;CAN总线;PCIIAbstractTransfusioncommonlyusedastreatmentinhospital,butthereweresomeproblems,suchasinaccurate,needtransfusionofartificialguardianship,etc.Thegoalistodesignatransfusionmonitoringsysteminordertosolvethoseproblems.Theinfusionmonitoringsystemdesignbythispaper,actualizetheinfusionrateoftest,thecontrolofreservoirfluidbottlevolumedetectionalarmanddynamicdisplayoftransfusionspeed.UserscanthroughthePCtocontroltransfusionspeed.Besidesthesystemalsoactualizemulti-machinecommunication,thatis,amasterstationtocontrolmultiplemachinesfromastationandthemaster.slavedatatransmissionbetween.Whentheinfusionendorinfusionspeedabnormal,slavelight—emittingdiodesandbuzzertoalarm,andwillalarmsignalsthroughserialtransmissiontothemaster,stoodbymonitoringsoftwarerealizationandbuzzersound-lightalarm.Intheoverallprogramdesign,inensuringtheuseofdesignsystemstoachievetherequiredaccuracyandstabilityofthepremise,takingintoaccountthesystem’sportability,practicality,reliability,electricalsystemswereoptimized.Finally,theinfusionmonitoringsystemdesignbythispaper,andpointoutfutureresearchdirectionsandpriorities.Keywords:singlechip;PID;StepperMotor;CanBus;PC目录前言...........................................................................................................................21概述.......................................................................................................................21.1本设计研究的现状............................................................................................21.2本设计研究的意义............................................................................................31.3本设计主要工作内容........................................................................................42输液监控系统总体方案.......................................................................................52.1系统需求分析....................................................................................................52.2系统方案论证与比较........................................................................................52.2.1控制方案比较.................................................................................................52.2.2点滴检测方案.................................................................................................62.2.3剩余液体检测方案.........................................................................................62.2.4速度控制方案..................................................................................................72.2.5电机选择及控制方案......................................................................................72.2.6主从机通信方案..............................................................................................82.3系统总体框图..................................................................................................102.4小结..................................................................................................................113系统从站的硬件设计.........................................................................................123.1从站系统框图与核心部分电路图...................................................................123.2从站系统各单元设计.......................................................................................133.2.1点滴信号检测单元........................................................................................133.2.2键盘及显示单元............................................................................................163.2.3电源单元........................................................................................................183.2.4声光报警单元................................................................................................193.3通信电路硬件设计及其工作原理...................................................................193.4小结...................................................................................................................214输液监控系统下位机软件设计.........................................................................224.1下位机的软件系统的总体设计.......................................................................224.2下位机系统各软件模块的设计.......................................................................224.2.1主模块............................................................................................................234.2.2液滴计数模块................................................................................................234.2.3查询液滴有无及液滴过慢时的报警模块程序设计....................................244.2.4通信程序模块程序设计................................................................................255输液系统上位机软件设计.....................