Font Size: a A A

Design And Implementation Of 3D Experiment Based On Automatic Test Virtual Platform

Posted on:2022-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:X D GuanFull Text:PDF
GTID:2518306524479714Subject:Instrument Science and Technology
Abstract/Summary:PDF Full Text Request
In recent years,universities have adopted many programs to alleviate the contradiction between the number of students and the number of experimental equipment.With the continuous development of information teaching,universities use computer development programs to simulate the experiment process,and have developed related virtual experiments to replace traditional experiments.In this context,this paper designs a virtual experiment based on a 3D engine,does not rely on the built-in functions of traditional testing software,and independently develops various functions of the 3D experiment.Compared with the traditional two-dimensional virtual simulation experiment,this experiment not only simulates the experimental process,but also has a good sense of reality and immersion.Finally,the experiment is published on the Internet,so that users can operate the experiment without being restricted by time and space.First of all,this article determines the development software as 3dsMax and Unity3D according to the experimental needs.In 3dsMax,the oscilloscope,signal generator,computer and related experimental environment are modeled separately,and the designed model is almost the same as the real model.Finally,import the model into Unity3D and set up the experimental environment.Secondly,this article determines the experimental development framework.Abandon the traditional Unity3D development idea,this article adopts the multi-module architecture idea development,respectively designed the experimental login module,instrument generation module,connection module,instrument panel module and camera management module,using the master management module GameManager(master control)The script manages each module.Make the project code less coupled,and facilitate the expansion of this experiment in the future.The two-dimensional surface drawing controls required for the experiment are designed,which can display the waveform well.According to the waveform formula,the waveform data generation and processing module is designed,and the generated waveform information is transmitted through the message center module.Then this article simulates the programming system of pulse waveform experiment based on UGUI(graphical programming interface)in Unity3D.The master control script manages the script input of each panel,and compares the correctness of the input of the user's program control instructions through string simulation.Through multi-script control comparison,it is judged whether the command combination input by the user is correct,and finally the waveform and measurement parameters are displayed,which simulates the flow of pulse waveform experiment programming.Finally,this article uses WebGL(Web Graphics Library)technology to publish experiments,and reduces the consumption of experimental resources through methods such as scene and lighting optimization.Package the project into WebGL format and publish it to the Tomcat server.Users can access and operate the experiment through a browser.After testing,the experiment runs smoothly on the browser.Compared with the traditional two-dimensional virtual experiment,this experiment enables users to produce a more realistic operating experience while simulating the corresponding experimental process.
Keywords/Search Tags:3D development, Virtual test experiment, Managers Of Manager framework, Control instruction programming
PDF Full Text Request
Related items