Font Size: a A A

The Research Of Interactive Virtual Experimental System Based On OpenGL And Visual C++

Posted on:2012-10-12Degree:MasterType:Thesis
Country:ChinaCandidate:J L XiaFull Text:PDF
GTID:2218330362955826Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
In the teaching process of Mechanical & Electrical Transmission Control, experiment is a very important step. But the traditional experiment equipments can not perform all the experiment teaching functions, as a result of the various restrictions such as the expenses, the room, the maintenance and so on. The virtual experiment is a new technology for the experiment teaching and because of its big advantages over the traditional equipment, the virtual experiment technology has been widely used in the teaching area.While chosen the virtual experiments of Mechanical & Electrical Transmission Control as the research object and mainly researched on two experiments of them, this paper developed a virtual experiment system using OpenGL interface on Visual C++ platform. This system included the real and controllable three-dimensional environment and the softPLC platform and realized the connection of these two items, also realized on the Internet. Finally this paper developed the complete web-based virtual laboratory.First of all, this paper realized the rapid modeling of the virtual three-dimensional environment using the OpenGL technology and another modeling tool. This virtual environment could interact very well with the user by the select mode in OpenGL and on this basis the paper established the virtual dismounting-assembling system. Meanwhile, according to the characteristics of the model motion, the paper realized both the dynamic motion control and the data encapsulation of the virtual model, and also provided the uniform control interface.Secondly, the paper developed a softPLC system. This system could simulate the functions of the real PLC on the personal computer. In this system, the users could edit the PLC program which could be explained and run by the sofPLC running system. On the basis of this, the paper realized the connection between the softPLC and the virtual models by the control interface; as a result, the softPLC can control the virtual models and the experiment: the robot arm controlled by the PLC was realized.Finally, the paper studied and realized the way to send the virtual experiment system to the Internet. It compiled the virtual experiment system as the ActiveX control edition by meanings of adding single document interface into ActiveX control. The paper also analyzed the web-running mode of the ActiveX control and established the web-based virtual laboratory. According to the testing results of the virtual experiment system on the network support platform, this virtual laboratory was well running and met the requirement of the project.
Keywords/Search Tags:Virtual Experiment, softPLC, OpenGL, Visual C++, ActiveX Control
PDF Full Text Request
Related items