节点文献

基于C/S模式的三容水箱远程实验系统的设计与实现

Client/Server-Based Remote Control Research and Design for Three-Tank Water Control System

【作者】 陈洁

【导师】 彭辉;

【作者基本信息】 中南大学 , 通信与信息系统, 2008, 硕士

【摘要】 远程控制系统是计算机通信技术在控制学科的重要应用,它能实现资源共享,在线监测,故障诊断等功能,具有广阔的前景。文章以三容水箱液位控制系统为对象,以构建方便简单的网络实验室为目的,结合远程控制技术,VC++面向对象技术,采用Client/Server(C/S)模式,实现了对三容水箱的远程控制。该系统的硬件由远程控制计算机、因特网、主控计算机和三容液位控制系统等组成,软件由远程控制软件和本地控制程序组成。论文的主要内容如下:首先介绍了远程实验系统的研究背景和研究意义,结合国内外发展现状和应用情况,确定了主要研究任务。通过对C/S与Browser/Server(B/S)两种体系结构进行分析比较,提出了采用C/S模式设计三容水箱远程实验系统。阐述了基于TCP/IP协议套接口的特点,指出了适合用于处理大量数据的字节流套接口是该系统的主要网络编程接口。然后对远程实验系统的软件设计过程和设计方法进行了详细的说明,本系统以VC++6.0软件为基础,利用Winsocket完成了客户端和控制服务器端的通信程序设计,实现了基于C/S结构的三容水箱远程控制系统。客户端主要完成连接服务器、用户登录、向服务器发布控制指令、参数设置、接收服务器传送过来的数据和曲线显示等功能;服务器端主要完成指令接收、数据库和控制算法实现等功能。系统以SQL Server2000为数据库管理软件,结合ActiveX Data Obiects(ADO)技术实现对数据库的访问。最后通过对系统进行多次实验,调试和修改程序,完成了三容水箱远程实验系统的联机实验并取得了预期的结果。试验结果证明了该方案的有效性与可行性。

【Abstract】 Remote control experiment system is an important application of computer communication technology in the technology of control; it takes good advantage of the limited resource into full use which is with extensive foreground. The article designs a primary remote experimental system of Three-tank water control system and realizes it. The hardware of the system is composed of remote control computer, internet, computer, host computer and three-tank water control system, etc; the software is composed of remote control software and local control program.The article first introduces the research background and significance of remote control experimental system, and it identifies its main researching task combined with the technology’s state of development and application home and abroad. Then, the article proposes that the three-tank water long-distance control system should adopt C/S mode after comparing and analyzing the C/S and B/S mode. Next the author describes the feature of Winsocket based upon TCP/IP Protocol, and indicates that the byte stream socket which suits for disposing large amounts of data is the main network programming interface for the system to program the network long-distance control software.The system is based on Vc++6.0 software, and it makes use of Winsocket to accomplish the communicator design of the client and the control server, and it realizes the three-tank water remote control system based on the C/S structure. The client mainly functions as user’s logging on, experiment bespoke, sending order to server, parameter setting, sending and receiving the data from the server and graphic displaying, etc; while the server mainly functions as instruction receiving, data real-time control, the realization of control algorithm, etc. The system uses SQL Server2000 as the managing software of data base, visits the data base with VC, and connects the database with ADO technology.The article makes a clear explanation to the process of the software design and the method of the control system. It goes through many times of experimenting, program debugging and modifying and it accomplishes the three-tank water remote control system and realizes the expectant outcome. The experiment proves the effectiveness of the project, and points out the ways in which the system should improve in the future.

  • 【网络出版投稿人】 中南大学
  • 【网络出版年期】2009年 01期
  • 【分类号】TP273.5
  • 【被引频次】4
  • 【下载频次】211
节点文献中: 

本文链接的文献网络图示:

本文的引文网络