摘要
网络实验室(NETLAB)是基于Internet的远程实验平台,整个实验室基于双C/S架构,由客户端、服务器端、控制端三部分组成,具有良好的扩展性、安全性和稳定性,允许多用户、多实验同时进行。目前已能提供5大类,20组80多个电气工程学科具体实验,所有实验都基于真实物理设备。
本文对网络实验室DSP(Digital Signal Processor,DSP)类实验系统的设计开发和网络实验室实时性问题进行了研究。随着DSP技术的广泛应用,高等院校普遍开设了DSP技术课程,开发基于NETLAB的DSP类实验正是满足对实验设备的需求;网络实验室的实时性决定了实验效果,实时性越高,实验效果越接近传统实验方式。
本文分为5部分。
第一部分介绍了国内外虚拟实验室的研究现状,阐述了选题背景及意义。
第二部分网络实验室的设计,包括总体设计框架、客户端框架功能、部分实验内容。
第三部分在分析DSP类实验的开发特点的基础上,设计并成功开发基于TMS320LF2407的DSP实验系统,并提出了一些在设计开发中所遇到问题的解决方法。
第四部分对网络实验室实时性问题作了研究。网络的实时性问题一直是热点、难点问题,很难找到一种具有通用性的解决办法,本章根据网络实验室的具体情况,有针对性地提出了一些具体解决方法,并在直流电机实验设计中得到了实证。
第五部分对全文进行了总结,对网络实验室后续建设提出了一些建议。
NETLAB is a remote virtual laboratory based on Internet. It adopts the double C/S structure with three sites: client site, server site and control site. Multi-user can do different experiments at the same time via NETLAB. It is flexible and robust. NETLAB provides over 80 experiments, which can be divided into five categories and 20 experiment groups, for E.E. students. All these experiments are based on real physical equipments.
This thesis focuses on the design and development of the DSP (Digital Signal Processor) experiment system and the research on the real-time performance of the NETLAB. With the extensive application of DSP technology, most of colleges and universities provide related courses of DSP, and developing the DSP experiment system in NETLAB is to meet the needs of laboratory equipments. The Real-time performance of NETLAB determines the effect of experiment. The higher real-time performance it has, the better effects the experiments will have.
This thesis includes five parts.
The first part introduces the concept and current research situation of virtual laboratories, and the meaning and backdrop of NETLAB.
The second part describes the design of NETLAB, including the overall framework, the client framework features, and its experiments.
The third part analyses the development features of the DSP experiment system in NETLAB firstly, and then illustrates the design and development of DSP experiment system based on TMS320LF2407 processor. The solutions about the problems occurred during the project development are also mentioned.
The fourth part focuses on the research of the real-time performance of NETLAB. How to improve the real-time performance of network is always hot and a difficult issue and it is difficult to propose a universal method to solve the problem. The solutions to improve the real-time performance are referred according to the situation of the NETLAB, and are applied to the DC motor experiment system successfully.
The fifth part summarizes the thesis and gives some advice for the future development of NETLAB.
引文
[1]马幼捷,安小东,周雪松.电气工程虚拟实验技术研究[J].电测与仪表,2006,43(5);1-4.
[2]http;//netlab.zju.edu.cn/labl.htm
[3]Aktan,B.,Bohus,C.A.,Crowl,L.A.,Shor,M.H.,1996.Distance learning applied to control engineering laboratories.IEEE Transactions on Education,39(3);320-326.
[4]Guimares,E.G.,Maffeis,A.T.,Pinto,R.P.et al.2003.REAL-a virtual laboratory built from software components.Proceedings of the IEEE,91(3);440-448.
[5]Sanchez,J.,Morilla,F,Dormido,S.et al.2002.Virtual and remote control labs using Java;a qualitative approach.Control Systems Magazine,IEEE,22(2);8-20.
[6]http;//ilab.mit.edu/
[7]http;//bic.beckman.uiuc.edu/
[8]http;//vlab.ee.nus.edu.sg/vlab/
[9]丁晓红,唐祯安.远程虚拟电子实验室的实现技术研究[D].大连理工大学,2003.
[10]贾群,朱秋萍,李永茂,等.基于DCOM技术的网络虚拟实验系统[J].武汉大学学报(理学版),2001,47(3);381-384.
[11]欧阳星明,姚小龙,谢欣荣.网络虚拟实验室的设计与实现[J].计算机工程,2004,30(2);185-116.
[12]林群.基于Internet的电工电子网络实验室[D].杭州;浙江大学,2004.
[13]Billaud,M.,Zimmer,T.,Geoffroy,D.,Danto,Y.,Effinger,H.,Seifert,W.,Martinez,J.,Gomez,F.,Real measures,Virtual instruments.Proceedings of the Fourth IEEE International Caracas conference on Devices,Circuits and Systems,2002.
[14]Chi Chung Ko,Yuan Zhuang,Jianping Chen,A Web-based virtual laboratory on a frequency modulation experiment.IEEE Transactions on Systems,Man and Cybernetics,2001,31(3);295-303
[15]Bottazzi,S.,Reggiani,M.,Amoretti,M.,A software framework based on real-time CORBA for telerobotic systems,IEEE/RSJ International Conference on Intelligent Robots and System,2002,3(30);3011-3017
[16]缪学勤.论六种实时以太网的通信协议[J].自动化仪表,2005,26(4);1-6.
[17]Albu,M.M.,Holbert,K.E.,Heydt,G.T.,Grigorescu,S.D.,Trusca,V.,Embedding remote experimentation in power engineering education,IEEE Transaction on Power Systems,2004,19(1);139-143.
[18]Turon,R.,Picos,R.,Roea M.,Isern,E.,Gareia-Moreno,E.,Labdileit;electronic instrumentation laboratory through Interact.Proceedings of the Fifth IEEE International Caracas Conference On Devices,Circuits and Systems,2004;147-151
[19]Irawan,R.,Ooi,M.m Yeung,G.,et al,A virtual laboratory experience based on a double tank apparatus Proceedings of the 40th IEEE conference on Decision and Control,2001.
[20]Jost,R.J.,Simulating a laboratory experience for an on-line EMC course.International on Electromagnetic Compatibility,2004.
[21]Huan-Wen Tzeng,The design of pedagogical agent for distance virtual experiments,31~(st)Annual Frontiers in Education Conference,2001.
[22]Fieldly,T.A.,Shur,M.S.,Shen,H.,Ytterdal,T.,AIM-Lab;a system for remote characterization of electronic devices and circuits over Internet.Proceedings of the 2000 Third IEEE International Caracas Conference on Devices,Circuits and Systems,2000.
[23]Gomez,F.J.,Cervera,M.,Martinez,J.,2000.A World Wide Web based architecture for the implementation of a virtual laboratory.Proceedings of the 26th Euromicro Conference,p.56-61 vol.2
[24]Gustavsson,I.,2002.Remote laboratory experiments in electrical engineering education.Proceedings of the Fourth IEEE International Caracas Conference on Devices,Circuits and Systems,p.I025-1 -1025-5
[25]Muzak,G.,Cavrak,I.,Zagar,M.,2000.The virtual laboratory project.Information Technology Interfaces,2000.ITI 2000.Proceedings of the 22nd International Conference on,19.241-246.
[26]孙志海,朱善安.基于Internet的51单片机实验系统[J].实验室研究与探索,2006,25(2);189-200.
[7]Dixon,W.E.,Dawson,D.M.,Costic,B.T.,et al,2002.A MATLAB-based control systems laboratory experience for undergraduate students;toward standardization and shared resources.IEEE Transactions on Education,45(3);218-226.
[28]曾昭健,毛韬,朱善安,武和雷.串行引导加载技术在DSP网络实验系统中的应用[J].机电工程,2007,24(8);17-19.
[29]Corradini,M.L.,Ippoliti,G.,Leo,T.,et al,2001.An Internet based laboratory for control education.Proceedings of the 40th IEEE Conference on Decision and Control,p.2833 - 2838 vol.3.
[30]Martinez-Garcia,J.C.,Garrido,R.,2001.Mechatronics hands-on training through the development of an Internet-based automatic control laboratory.Proceedings of the 2001 IEEE International Conference on Control Applications,p.131 - 134
[31]Texas Instruments.TMS320C2x/C2xx/C5x Optimizing C Compiler User's Guide[EB/OL].1999.
[32]Texas Instruments.TMS320C 1 x/C2x/C2xx/C5x Assembly Language Tools[EB/OL].1995.
[33]梅亮,林辉.TMS320F2812代码在线升级的研究与设计[J].电气传动,2006,36(7);62-64.
[34]徐勋光.一种基于PC主机的DSP自举引导和通信设计[J].微型机与应用,2004,(8);18-20.
[35]郭建昌,王克家,赵福昌.通过EEP并口实现增强型HPI-8自举引导[J].应用科技,2005,32(7);1-3.
[36]王威,缪学勤.试论工业以太网实时通信技术[J].自动化仪表,2003,24(2);1-4.
[37]阎磊,朱善安.基于TCP/IP协议的虚拟电工电子网络实验室[J].江南大学学报,2005(3);276-279
[38]阎磊.基于TCP/IP协议的虚拟电工电子网络实验室[D].浙江大学,2005.
[39]刘和平,严利平,张学锋,等.TMS320LF240x DSP结构、原理及应用[M].北京;北京航空航天大学出版社,2003.
[40]龚建伟,熊光明.Visual C++/Turbo C串口通信编程实践[M].北京;电子工业出版社,2005.
[41]谢希仁.计算机网络;第四版[M].北京;电子工业出版社,2003.
[42]http;//www.ni.com/academic/
[43]Microsoft Corporation,2003,Visual Studio.NET MSDN.