您好,欢迎访问三七文档
当前位置:首页 > 临时分类 > 基于单片机和VB的多点温度监控系统设计
基于单片机和VB的多点温度监控系统设计(二)-上位机设计院系自动化学院专业自动化班级5407202学号200504072064姓名姚维丹指导教师王昱负责教师王昱沈阳航空工业学院2009年6月沈阳航空工业学院毕业设计(论文)-I-摘要温度是一个基本的物理量,它是工农业生产过程中最普遍、最主要的工艺参数之一,实时精确的温度监控是产品质量的重要保证。随着现代科技的发展,电子计算机已越来越多地应用于温度的监控中。本文针对下位机多点温度测控系统的各点温度值,通过VB建立一个温度信息管理系统。详细阐述了系统的设计方法及功能。实现了与温度测控电路进行实时数据通信,完成温度信息的上传和温度设定值的下传功能。采用Access设计数据库,记录用户信息和温度信息。用VB连接数据库,完成温度信息的查询、显示、趋势图、报表生成等功能。达到了实时记录温度信息,定时传送温度设定值的技术指标要求。该多点监控系统拥有良好的人机界面,通用性好,操作简单、方便、易于实现温度的集中监控和管理等特点,具有较广泛的应用前景。关键词:VB;数据库;温度;监控沈阳航空工业学院毕业设计(论文)-II-AbstractTemperatureisafundamentalphysicalquantity,itisoneofthemostgeneralandimportantprocessparametersinindustrialandagriculturalproduction.Accuratereal-timetemperaturemonitoringisanimportantguaranteeforthequalityofproducts.Withthedevelopmentofmodernscienceandtechnology,electroniccomputerhasbeenusedintemperaturemonitoringfrequently.Therefore,inthispaperaninformationmanagementsystemoftemperatureisestablishedformulti-pointtemperaturemonitoringsystembyVB.Thedesignmethodsandfunctionsofthesystemisilluminatedindetail.Thesystemhasnotonlyachievedreal-timedatacommunicationwithtemperaturemonitoringandcontrolcircuitsbutalsoaccomplishedthetransferoftemperatureinformationandtemperaturesettings.Anaccessdatabaseisusedtorecordusers’informationandtemperatureinformation.UsingVBtoconnecttothedatabasethesystemhasmanyfunctionssuchasthequery,display,trend,reportgenerationandsoon.Thetechnicaltargetoftherecord,thetransmissionofreal-timetemperatureinformationandthetemperaturesettingsisalsoachieved.Themulti-pointtemperaturemonitoringsystemhasgoodhuman-computerinterface,goodcommon,simpleandconvenientoperation.Itiseasytoimplementcentralizedmonitoringandmanagementofthetemperature.Thesystemhasaveryextensiveapplicationprospect.Keywords:VB;database;temperature;monitoring沈阳航空工业学院毕业设计(论文)-III-目录第1章绪论.........................................................................................................................11.1课题背景....................................................................................................................11.2多点温度监控系统发展现状....................................................................................11.3课题研究内容及技术指标........................................................................................41.4本文安排....................................................................................................................5第2章多点温度监控系统总体方案的设计.....................................................................62.1系统描述....................................................................................................................62.2总体方案设计............................................................................................................62.3课题主要技术指标....................................................................................................7第3章VB与单片机通信的建立......................................................................................83.1串行通信及RS—232总线.......................................................................................83.1.1串行通信..............................................................................................................83.1.2RS-232总线标准................................................................................................103.2VisualBasic6.0中的串行通信控件MSComm.......................................................113.2.1MSComm控件处理通信的方式.......................................................................123.2.2MSComm控件的常用属性...............................................................................123.2.3MSComm控件的使用.......................................................................................143.3PC机与AT89S51单片机的通信............................................................................153.3.1硬件连接线路....................................................................................................153.3.2通信协议............................................................................................................153.3.3VB程序编制......................................................................................................16第4章多点温度信息管理系统.......................................................................................194.1多点温度信息管理系统功能..................................................................................194.2数据库的设计..........................................................................................................204.2.1Access数据库的设计.........................................................................................204.2.2VB操作Access数据库的方法.........................................................................214.2.3数据库的生成....................................................................................................22沈阳航空工业学院毕业设计(论文)-IV-4.3应用程序的设计......................................................................................................224.3.1用户登陆模块设计............................................................................................234.3.2系统功能模块设计..........................................................
本文标题:基于单片机和VB的多点温度监控系统设计
链接地址:https://www.777doc.com/doc-5143886 .html