CN110825229A - System and method for simulating triaxial test based on virtual reality technology - Google Patents

System and method for simulating triaxial test based on virtual reality technology Download PDF

Info

Publication number
CN110825229A
CN110825229A CN201911062402.3A CN201911062402A CN110825229A CN 110825229 A CN110825229 A CN 110825229A CN 201911062402 A CN201911062402 A CN 201911062402A CN 110825229 A CN110825229 A CN 110825229A
Authority
CN
China
Prior art keywords
historical
experimental
input quantity
experiment
actual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911062402.3A
Other languages
Chinese (zh)
Inventor
刘聪
李锦辉
夏平均
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Graduate School Harbin Institute of Technology
Original Assignee
Shenzhen Graduate School Harbin Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Graduate School Harbin Institute of Technology filed Critical Shenzhen Graduate School Harbin Institute of Technology
Priority to CN201911062402.3A priority Critical patent/CN110825229A/en
Publication of CN110825229A publication Critical patent/CN110825229A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method, a system, a computer readable storage medium and equipment for simulating a triaxial test, which relate to the technical field of simulation experiments based on a virtual reality technology, and the method comprises the following steps: the method comprises the steps of establishing a database based on historical experiment data, establishing a virtual reality system, comprising a virtual experiment instrument, a virtual experiment scene and operations required by an experimenter based on a triaxial experiment, establishing interaction between the experimenter and the virtual experiment instrument as well as the virtual experiment scene, wherein the interaction comprises experiment interaction influencing an experiment result, the triggering of the experiment interaction is the experiment operation of the experimenter generating an actual input quantity acquired by the virtual reality system, the actual input quantity is matched with the historical experiment data in the database to obtain a corresponding actual output quantity, and the visual presentation of the actual output quantity on the virtual experiment instrument or in the virtual experiment scene is used as the feedback of the experiment interaction. The method has the advantages of bringing more real operation experience to experimenters and improving perceptual cognition.

Description

System and method for simulating triaxial test based on virtual reality technology
Technical Field
The invention relates to the technical field of simulation experiments based on virtual reality technology, in particular to a method, a system, a computer readable storage medium and equipment for simulating a triaxial test.
Background
The triaxial test, also called triaxial compression test or triaxial shear test, is a triaxial compression shear test designed based on the Mohr-Coulomb (Mohr-Coulomb) strength theory, and is mainly completed by a triaxial apparatus in practical tests or teaching.
The core of the triaxial apparatus is a triaxial pressure chamber, and is provided with an axial pressure system, a lateral pressure system and a pore water pressure measuring and reading system, a soil sample for test is cylindrical, and the soil sample is wrapped by a thin rubber membrane, so that the pore water of the soil sample is completely separated from the liquid (water) outside the membrane. Under the action of the pressure (referred to as confining pressure) around a given triaxial pressure chamber, the axial additional pressure is continuously increased until the sample is sheared, and the normal stress and the ultimate shear stress on a shearing surface are calculated by a Messaging-coulomb strength theory. The shear strength characteristics of the soil can be determined from the results of the triaxial shear test.
In the teaching of the triaxial test, two parts of theoretical teaching and experimental teaching are required to supplement each other, the latter is important for an experimenter to understand theoretical knowledge deeply, but the later is limited by an experimental instrument and an experimental field on the one hand, the experimental instrument and the experimental field in colleges and universities are limited, and the experimenter needing the experimental teaching can count hundreds of the experimenters, on the other hand, the experiment is limited by time, the experiment needs to spend a long time, a plurality of experimenters carry out the experiment in a scheduling mode, and a plurality of waiting times are needed, so that the experimental teaching and the theoretical teaching cannot be synchronized, the experimental teaching can be carried out after the theoretical teaching often appears, and the experimenters cannot understand knowledge points deeply. Moreover, the experimental apparatus depends on import and is expensive, the experimental apparatus is damaged by slight error in operation, and the colleges and universities need to bear expensive repair cost and need to wait for foreign technical experts to repair, thereby causing interruption of experimental teaching and causing bad influence.
With the development of computer technology and numerical calculation methods, the above problems are alleviated to some extent, for example, in the invention patent application with publication number CN107169236A, a virtual triaxial test simulation method based on coupling of finite elements and discrete elements is described, and a triaxial test is simulated through computer simulation, so that corresponding test results and data can be obtained.
Disclosure of Invention
The first purpose of the present invention is to provide a method for simulating a triaxial test, which can simulate a triaxial test, bring more real operation experience to an experimenter, and improve perceptual cognition.
The first object of the present invention is achieved by the following technical solutions:
a method for simulating a triaxial test comprises the following steps:
building a database based on historical experiment data recorded by performing a triaxial experiment in a real experiment scene, wherein the historical experiment data comprises historical input quantity and historical output quantity;
constructing a virtual reality system comprising: virtual experiment instrument for constructing simulation real experiment instrument, virtual experiment scene for constructing simulation real experiment scene and
the method comprises the steps of constructing interaction between an experimenter and a virtual experimental instrument and a virtual experimental scene based on operation required by a triaxial experimental experimenter, wherein the interaction comprises general interaction which does not influence an experimental result and experimental interaction which influences the experimental result, triggering of the experimental interaction is the experimental operation of the experimenter which generates actual input quantity and is obtained by a virtual reality system, matching the actual input quantity with historical experimental data in a database to obtain corresponding actual output quantity, and visually presenting the actual output quantity on the virtual experimental instrument or in the virtual experimental scene as feedback of the experimental interaction.
By adopting the technical scheme, through the virtual reality technology, the triaxial test under a real experiment scene and an experiment instrument is simulated, the test is not limited by factors such as the experiment instrument, an experiment field, time arrangement and the like, the wearable virtual reality equipment of an experimenter is immersed in a virtual reality system and can be operated and triggered to interact simultaneously, the experiment interaction is designed according to real historical experiment data, when the experimenter performs corresponding experiment operation, the actual input and output quantity generated by the experimenter is matched with the historical experiment data in a database to obtain the corresponding actual output quantity, the corresponding actual output quantity is visually presented on the virtual experiment scene and the virtual experiment instrument, the experimenter can see the same experiment phenomenon as that in the real triaxial test, the experiment instrument is operated in a laboratory like a person, the operation experience of the triaxial test is completed, and the perceptual cognition is improved.
The invention is further arranged such that the historical experimental data comprises correct data for performing correct experimental operations to obtain corresponding correct experimental results, and incorrect data for performing incorrect experimental operations to obtain corresponding incorrect experimental results.
By adopting the technical scheme, because an experimenter knows knowledge points not deeply enough, wrong experiment operation which has occurred in a real triaxial experiment can also occur when the virtual experiment is carried out, so that the collected historical experiment data contains wrong input data, and when the experimenter carries out wrong experiment operation, corresponding error phenomena can be seen in a virtual experiment instrument and a virtual experiment scene, and the same experience in the real triaxial experiment can be obtained.
The invention is further set up in that the method for obtaining the corresponding actual output quantity by matching the actual input quantity with the historical experimental data in the database comprises the following steps:
matching the actual input quantity with historical input quantity stored in a database;
if the closeness degree of the actual input quantity and a certain historical input quantity is in a preset range, taking the historical output quantity corresponding to the historical input quantity as the actual output quantity;
and if the closeness degree of the actual input quantity and any historical input quantity is not within the preset range, obtaining the actual output quantity by a new data generation method.
By adopting the technical scheme, the actual input quantity generated by an experimenter through experimental operation is various, in order to simulate a more real triaxial test and obtain a reliable experimental result, the system matches the actual input quantity with the historical input quantity of historical experimental data in the database, the historical output quantity corresponding to the historical input quantity with the matched approach degree in the preset range is used as the actual output quantity, the experimenter obtains the near-real experimental result, if the actual input quantity is not matched with the historical input quantity with the approach degree in the preset range, the actual output quantity is obtained through a new data generation method, and various experimental possibilities can be presented.
The invention is further arranged that the method for judging the closeness degree of the actual input quantity and the historical input quantity comprises the following steps: taking two previous and next historical experimental data which are closest to an actual input value, taking a difference value of historical input quantities in the two historical experimental data as a denominator, respectively taking two difference values obtained by subtracting the actual input value from the historical input quantities in the two historical experimental data and respectively taking the two difference values as a numerator and the denominator to perform division operation to obtain two calculation results, taking a minimum value of the two calculation results and comparing the minimum value with a preset range, if the minimum value is in the preset range, judging that the actual input quantity is close to the historical input quantity which obtains the minimum value, and if the minimum value is not in the preset range, not closing the actual input quantity.
By adopting the technical scheme, the approximate historical input quantity can be determined through smaller calculation quantity and simple comparison and judgment.
The invention is further configured such that the new data generation method comprises:
judging whether the soil sample selected by the experimenter has historical experimental data of the same soil sample in a database;
if the soil sample exists, calculating to obtain an actual output quantity through an interpolation algorithm according to historical experimental data and the actual input quantity of the same soil sample;
and if the actual output quantity does not exist, calculating to obtain the actual output quantity according to the summarized soil sample model and the actual input quantity.
By adopting the technical scheme, a plurality of groups of historical test data of the same soil sample present a certain functional relationship, if the actual input quantity is not matched with the approximate historical input quantity, the approximate real experimental result can be obtained and used as the actual output quantity through interpolation algorithm operation, if the soil sample selected by an experimenter lacks the historical experimental data of the same soil sample in the database, the calculation is carried out according to the summarized soil sample model and the actual input quantity, and the actual output quantity of the approximate real experimental result can be obtained as well.
The second objective of the present invention is to provide a system for simulating a triaxial test, which can simulate a triaxial test, bring a more real operation experience to an experimenter, and improve perceptual cognition.
The second object of the present invention is achieved by the following technical solutions:
a system for simulating a triaxial test, comprising:
the database is constructed on the basis of historical experiment data recorded by performing a triaxial test in a real experiment scene, and the historical experiment data comprises historical input quantity and historical output quantity;
a virtual reality system, comprising: virtual experiment instrument for simulating real experiment instrument, virtual experiment scene for simulating real experiment scene and
the interaction unit is used for constructing interaction between an experimenter and a virtual experimental instrument and a virtual experimental scene based on operation required by a triaxial experimental experimenter, wherein the interaction comprises general interaction which does not influence an experimental result and experimental interaction which influences the experimental result, the triggering of the experimental interaction is the experimental operation of the experimenter which generates actual input quantity and is obtained by a virtual reality system, the actual input quantity is matched with historical experimental data in a database to obtain corresponding actual output quantity, and the visual presentation of the actual output quantity on the virtual experimental instrument or in the virtual experimental scene is used as the feedback of the experimental interaction.
The invention is further arranged such that the historical experimental data comprises correct data for performing correct experimental operations to obtain corresponding correct experimental results, and incorrect data for performing incorrect experimental operations to obtain corresponding incorrect experimental results.
The invention further provides that the interaction unit comprises a processing unit for matching the actual input quantity with historical experimental data in a database to obtain a corresponding actual output quantity, and the processing unit is used for:
matching the actual input quantity with historical input quantity stored in a database;
if the closeness degree of the actual input quantity and a certain historical input quantity is in a preset range, taking the historical output quantity corresponding to the historical input quantity as the actual output quantity;
and if the closeness degree of the actual input quantity and any historical input quantity is not within the preset range, obtaining the actual output quantity by a new data generation method.
The present invention is further arranged such that the processing unit includes a judgment unit for judging a degree of closeness of the actual input amount to the history input amount, the judgment unit being configured to:
taking two previous and next historical experimental data which are closest to an actual input value, taking a difference value of historical input quantities in the two historical experimental data as a denominator, respectively taking two difference values obtained by subtracting the actual input value from the historical input quantities in the two historical experimental data and respectively taking the two difference values as a numerator and the denominator to perform division operation to obtain two calculation results, taking a minimum value of the two calculation results and comparing the minimum value with a preset range, if the minimum value is in the preset range, judging that the actual input quantity is close to the historical input quantity which obtains the minimum value, and if the minimum value is not in the preset range, not closing the actual input quantity.
The invention is further arranged that the processing unit comprises a new data generating unit for deriving the actual output quantity by a new data generating method, for:
judging whether the soil sample selected by the experimenter has historical experimental data of the same soil sample in a database;
if the soil sample exists, calculating to obtain an actual output quantity through an interpolation algorithm according to historical experimental data and the actual input quantity of the same soil sample;
and if the actual output quantity does not exist, calculating to obtain the actual output quantity according to the summarized soil sample model and the actual input quantity.
A third objective of the present invention is to provide a computer-readable storage medium, which can simulate a triaxial test, bring a more realistic operation experience to an experimenter, and improve perceptual cognition.
The third object of the present invention is achieved by the following technical solutions:
a computer readable storage medium comprising a program which when loaded and executed by a processor implements a method of simulating a triaxial test as described above.
A fourth object of the present invention is to provide a virtual reality device, which can simulate a triaxial test, bring a more realistic operation experience to an experimenter, and improve perceptual cognition.
The fourth object of the present invention is achieved by the following technical solutions:
a virtual reality device comprises a memory, a processor and a program which is stored on the memory and can run on the processor, wherein the program can be loaded and executed by the processor to realize the method for simulating the triaxial test.
In conclusion, the beneficial technical effects of the invention are as follows:
firstly, an experimenter can operate in a virtual reality system, visually see reliable experimental results and phenomena, obtain experimental experience like a triaxial test carried out in a real laboratory, and improve perceptual cognition;
secondly, besides the correct experiment operation, the corresponding error phenomenon can be seen when the error experiment operation is carried out;
and thirdly, combining historical experimental data, and obtaining corresponding output quantity through direct matching, interpolation algorithm calculation or soil sample structure model calculation, wherein the experimental result is reliable.
Drawings
FIG. 1 is an experimental flow chart of a triaxial test;
FIG. 2 is a flow chart of a method for simulating a triaxial test according to an embodiment of the present invention;
FIG. 3 is a first diagram of the effect of the virtual reality system according to the embodiment of the invention;
FIG. 4 is a second diagram illustrating the effects of the virtual reality system according to the embodiment of the present invention;
FIG. 5 is a flow chart of steps in constructing interactions in a virtual reality system;
fig. 6 is a schematic diagram of a system for simulating a triaxial test according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment is directed to the simulation of a triaxial test in triaxial test teaching, and mainly aims at three different test methods, namely a non-consolidation non-drainage shear test (UU test), a consolidation non-drainage shear test (CU test) and a consolidation drainage shear test (CD test) in a civil engineering test.
In a triaxial test in a real experiment scene, each relevant physical quantity at different stages of the test can be divided into an input quantity, an output quantity and a calculated quantity, and the calculated quantity is calculated according to the input quantity and the output quantity.
Taking a consolidation drainage shear test (CD test) as an example, the experimental flow chart is shown in FIG. 1, wherein:
in the saturation stage of the sample, the input quantity comprises confining pressure and back pressure, the output quantity comprises pore water pressure, and the calculated quantity is effective pressure (effective pressure = confining pressure-back pressure) and B value;
in the consolidation stage of the pattern, the input quantity comprises confining pressure, back pressure and pore water pressure before consolidation (which is the pore water pressure when the saturation stage of the pattern reaches saturation), the output quantity is the pore water pressure at the end of consolidation, consolidation change and consolidation time, and the calculated quantity is effective pressure;
in the shearing stage of the model, the input quantity is confining pressure, back pressure and axial shearing rate, the output quantity is the maximum value of fixed pore pressure, the minimum value of pore pressure, the maximum value of partial stress and the minimum value of partial stress, and the calculated quantity is effective pressure.
Referring to fig. 2, a method for simulating a triaxial test disclosed in an embodiment of the present invention includes the following steps:
s100, constructing a database based on historical experiment data recorded by triaxial experiment in a real experiment scene, wherein the historical experiment data comprises historical input quantity and historical output quantity.
Specifically, a database is built based on SQL with recorded relevant physical quantities in the triaxial test as historical experimental data, recorded input quantities as historical input quantities, and recorded output quantities as historical output quantities.
Taking a consolidation drainage shear test (CD test) as an example, 3 databases, namely a saturation database, a consolidation database and a shear database, can be respectively established according to the test steps.
The following takes part of the historical experimental data as an example:
table 1: saturated database
Figure RE-DEST_PATH_IMAGE001
Table 2: consolidated database
Figure RE-DEST_PATH_IMAGE002
Table 3: cut database
Figure RE-DEST_PATH_IMAGE003
S200, constructing a virtual reality system, comprising: constructing a virtual experiment instrument for simulating a real experiment instrument and constructing a virtual experiment scene for simulating a real experiment scene;
specifically, the modeling of the virtual reality system requires development and simulation on a 3D modeling platform.
On one hand, modeling of experimental instruments used in a triaxial test is performed to obtain a virtual experimental instrument, taking a triaxial apparatus as an example, a developer needs to use large-scale 3D modeling software for construction, for example, 3DSmax, the developer firstly needs to complete construction of each component of the triaxial apparatus, then performs custom installation through Unity3D software, and finally obtains the triaxial apparatus needed by the triaxial test through debugging. Other instruments that can use in the equal analogize experiment, like ground appearance bucket, hit appearance ware, pressure appearance ware, electronic scale, body become pipe, filter paper etc. have also included the mounting tool that the instrument installation debugging can use, like the modeling of vice etc..
On the other hand, the modeling of the virtual experiment scene for simulating the real experiment scene is also simulated by 3DSMax, so that the simulation is close to the real situation. Fig. 3 and 4 show effect diagrams of a constructed virtual experiment place and a constructed virtual experiment instrument, so that the constructed virtual reality system can enable an experimenter to feel immersed and obtain better experiment experience.
S300, based on the operation required by a triaxial test experimenter, constructing interaction of the experimenter, a virtual experimental instrument and a virtual experimental scene, wherein the interaction comprises general interaction which does not influence an experimental result and experimental interaction which influences the experimental result, the triggering of the experimental interaction is the experimental operation of the experimenter which generates an actual input quantity and is obtained by a virtual reality system, the actual input quantity is matched with historical experimental data in a database to obtain a corresponding actual output quantity, and the visual presentation of the actual output quantity on the virtual experimental instrument or in the virtual experimental scene is used as the feedback of the experimental interaction.
Specifically, the core of the construction interaction lies in the visualization of a human-computer interaction mechanism and experimental data, and in order to enable an experimenter to visually observe experimental data and phenomena in a virtual reality system and operate the whole experimental process, the whole experimental process can be developed by referring to a flow chart shown in fig. 5, and the development process comprises the following steps:
s301, realizing the arrangement of virtual experiment scenes and the free movement of characters;
as a specific implementation of S301, a file of a virtual experimental scene in 3DSmax is imported into Unity3d, where the movement of a person in the virtual experimental scene is usually triggered by using a virtual reality device worn by an experimenter as an input device, and the movement is triggered in the scene, for example, a head-mounted display and a game handle, such as a VR helmet or VR glasses, the Camera is positioned in the virtual experimental scene according to the position of the VR helmet or VR glasses in the positioning system, and the Camera is controlled by the operation of the game handle to perform a free movement of a parabola or a ray in the virtual experimental scene, so as to simulate a jump (corresponding to the parabola) or a movement (corresponding to the ray) of the person in the virtual experimental scene.
S302, freely grabbing each experimental instrument in the virtual experimental scene;
as a specific implementation of S302, the positions of the hand of the character in the virtual experimental scene and the position of the game handle in reality are adjusted, and the collision between the grasped object and the hand is detected.
S303, fixing each experimental instrument in the virtual experimental scene during installation;
as a specific implementation of S303, in the process of performing the triaxial test, the mounting and debugging of various experimental instruments and various components of the experimental instruments are involved, and the displacement of the experimental instrument or the component of the experimental instrument is limited so that the experimental instrument or the component of the experimental instrument is exactly mounted and fixed at a predetermined position when being grasped and displaced to the predetermined position, thereby simulating the mounting of the experimental equipment.
S304, completing the operation of preparing the saturated soil sample according to the prompt;
the specific implementation of S304 includes setting up the interaction of the selective sample barrel, the sample striker, the sample presser, the electronic scale, the body transformer and the filter paper, operating the components and using the installation tool to perform the interaction of the triaxial apparatus installation, selecting the counter pressure method to perform the saturated soil sample preparation, displaying the interaction of the exhaust bubble process, judging whether the saturation is reached through the reading of the volume controller, and performing the interaction of the electronic scale and the display of the pressure reading around the pore pressure.
S305, completing the operation of consolidating the soil sample according to the prompt;
as a specific implementation of S305, setting an interaction of checking whether the reading of the water measuring pipe is stable, determining a value of the consolidation coefficient, and determining whether consolidation is achieved;
s306, completing soil sample shearing operation according to the prompt;
as a specific implementation of S306, set the interaction of selecting to drain or not drain, zeroing the axial deformation reading, the pore barrier water pressure reading, setting the shear strain rate, and clicking the start button.
S307, managing the Game through the Game management;
as specific implementation of S307, interaction of outputting the system score, controlling the flow of the test, and setting the game time is set.
S308, realizing a scene starting interface and a score condition;
as a specific implementation of S301, interaction of test background introduction, test awareness, and score condition is set.
In the interactions in S301 to S308, the interaction that affects the experimental result is defined as an experimental interaction, such as an interaction related to the installation and debugging of a triaxial apparatus, an interaction related to the use and adjustment of each apparatus during the experiment, and other interactions that do not affect the experimental result are defined as a general interaction, such as the movement, jumping, and adjustment of a shot of a character in a virtual experimental scene, or a series of interactions that do not affect the experimental result.
The triggering of the experiment interaction is the experiment operation of an experimenter generating the actual input quantity, such as adjusting confining pressure and back pressure, acquired by the virtual reality system, and the feedback of the experiment interaction requires the system to match the input actual input quantity with historical experiment data in a database so as to obtain the corresponding actual output quantity, and the actual output quantity is visually presented on a virtual experiment instrument or in a virtual experiment scene. Therefore, once the experimenter performs relevant experiment operation, the system obtains and displays the effect of the actual output quantity in the virtual reality system according to the actual input and output quantity generated by the experiment operation.
The method for obtaining the corresponding actual output quantity by matching the actual input quantity with the historical experimental data in the database comprises the following steps: matching the actual input quantity with historical input quantity stored in a database;
if the closeness degree of the actual input quantity and a certain historical input quantity is in a preset range, taking the historical output quantity corresponding to the historical input quantity as the actual output quantity;
specifically, two pieces of historical experimental data which are closest to an actual input value are taken, a difference value of historical input quantities in the two pieces of historical experimental data is used as a denominator, two difference values obtained by respectively subtracting the actual input value from the historical input quantities in the two pieces of historical experimental data are respectively used as a numerator and a division operation is carried out on the numerator and the denominator to obtain two calculation results, the minimum value of the two calculation results is taken to be compared with a preset range, if the minimum value is in the preset range, the actual input quantity is judged to be close to the historical input quantity which obtains the minimum value, and if the minimum value is not in the preset range, the actual input quantity is not close to the historical input quantity.
As an arrangement of this embodiment, if the preset range is 10%, the matching condition is determined as follows: min { (X-b)/(a-b), (X-a)/(a-b) } <10%, where X is the value of the actual input amount of the user, and a, b are the historical input amounts of the previous and following two pieces of historical experimental data closest to the actual input value.
As a detailed description, the historical experimental data includes correct data for obtaining a corresponding correct experimental result by performing correct experimental operation and error data for obtaining a corresponding error experimental result by performing error experimental operation, and although the correct data is not different from the error data in a data layer, the system outputs a corresponding historical output quantity as an actual output quantity according to a historical input quantity matched with the actual input quantity, in the simulation of the triaxial test for teaching, it can be verified that an experimenter has insufficient knowledge about which knowledge point, and in the simulation experiment of the virtual reality system, the historical output quantity in the error data is also shown in the virtual reality system, for example, phenomena such as triaxial instrument explosion, water overflow and the like, so as to provide the experimenter with profound and rich cognitive perception.
And if the closeness degree of the actual input quantity and any historical input quantity is not within the preset range, obtaining the actual output quantity by a new data generation method.
Further, the new data generation method comprises: judging whether the soil sample selected by the experimenter has historical experimental data of the same soil sample in a database;
if the soil sample exists, calculating to obtain an actual output quantity through an interpolation algorithm according to historical experimental data and the actual input quantity of the same soil sample;
taking the consolidation of the sample as an example, the database contains historical data as shown in the following table:
table 4: part of the historical experimental data
Figure RE-DEST_PATH_IMAGE004
During the consolidation stage of the sample, the back pressure parameter in the experiment is kept constant at 500kPa by default, the variable is the ambient pressure input by the experimenter, when the ambient pressure input by the experimenter is 840kPa, the calculated effective pressure is =800 and 500=340kPa, and then the system will execute the following commands:
1. finding two lines of data with the nearest effective pressure of 300 and 400;
2. the following calculations are performed:
pore water pressure before consolidation:
50.55+(52.67-50.55)×(340-300)/(400-300)=51.398kPa
pore water pressure at the end of consolidation:
3.03+(3.03-2.63)×(340-300)/(400-300)=2.79kPa
solidifying and changing:
5073+(4881-5073)×(340-300)/(400-300) = 4996.2mm3
and (3) consolidation time:
12.9+(12-12.9)×(340-300)/(400-300)=12.54h
therefore, when the input quantity is the confining pressure 840kPa, the data of the input quantity, the output quantity and the calculated quantity can be obtained as follows:
Figure RE-RE-DEST_PATH_IMAGE005
and if the actual output quantity does not exist, calculating to obtain the actual output quantity according to the summarized soil sample model and the actual input quantity.
The simulation and application of the soil sample models of different soil samples in the triaxial test are recorded, the summarized soil sample models are introduced into the system, the actual input quantity is input, the actual output quantity is obtained through calculation, and the actual output quantity is not specifically developed.
In summary, the method for simulating a triaxial test provided by the embodiment of the invention simulates a simulated triaxial test through a virtual reality technology, is not limited by factors such as experimental instruments, experimental sites, time arrangement and the like, and a wearable virtual reality device of an experimenter can be immersed in a virtual reality system and can perform operation triggering interaction at the same time, wherein, the experiment interaction is designed according to the real historical experiment data, when an experimenter carries out the corresponding experiment operation, the actual output and output quantity generated by the method is matched with historical experimental data in a database to obtain corresponding actual output quantity, the visual presentation is on virtual experiment scene and virtual laboratory glassware, and the experimenter can see the experimental phenomenon the same as in the real triaxial test, obtains and operates laboratory glassware in the laboratory like oneself, accomplishes the operation experience of triaxial test, promotes perceptual cognition.
As shown in fig. 6, an embodiment of the present invention further provides a system for simulating a triaxial test, including:
the database is constructed on the basis of historical experiment data recorded by performing a triaxial test in a real experiment scene, and the historical experiment data comprises historical input quantity and historical output quantity;
a virtual reality system, comprising: virtual experiment instrument for simulating real experiment instrument, virtual experiment scene for simulating real experiment scene and
the interaction unit is used for constructing interaction between an experimenter and a virtual experimental instrument and a virtual experimental scene based on operation required by a triaxial experimental experimenter, wherein the interaction comprises general interaction which does not influence an experimental result and experimental interaction which influences the experimental result, the triggering of the experimental interaction is the experimental operation of the experimenter which generates actual input quantity and is obtained by a virtual reality system, the actual input quantity is matched with historical experimental data in a database to obtain corresponding actual output quantity, and the visual presentation of the actual output quantity on the virtual experimental instrument or in the virtual experimental scene is used as the feedback of the experimental interaction.
Further, the historical experimental data comprises correct data for obtaining corresponding correct experimental results by performing correct experimental operations, and error data for obtaining corresponding error experimental results by performing error experimental operations.
Further, the interaction unit includes a processing unit for matching the actual input quantity with historical experimental data in a database to obtain a corresponding actual output quantity, and the processing unit is configured to:
matching the actual input quantity with historical input quantity stored in a database;
if the closeness degree of the actual input quantity and a certain historical input quantity is in a preset range, taking the historical output quantity corresponding to the historical input quantity as the actual output quantity;
and if the closeness degree of the actual input quantity and any historical input quantity is not within the preset range, obtaining the actual output quantity by a new data generation method.
Further, the processing unit includes a judgment unit that judges a degree of closeness of the actual input amount to the history input amount, the judgment unit being configured to:
taking two previous and next historical experimental data which are closest to an actual input value, taking a difference value of historical input quantities in the two historical experimental data as a denominator, respectively taking two difference values obtained by subtracting the actual input value from the historical input quantities in the two historical experimental data and respectively taking the two difference values as a numerator and the denominator to perform division operation to obtain two calculation results, taking a minimum value of the two calculation results and comparing the minimum value with a preset range, if the minimum value is in the preset range, judging that the actual input quantity is close to the historical input quantity which obtains the minimum value, and if the minimum value is not in the preset range, not closing the actual input quantity.
Further, the processing unit includes a new data generating unit for obtaining an actual output quantity by a new data generating method, and is configured to:
judging whether the soil sample selected by the experimenter has historical experimental data of the same soil sample in a database;
if the soil sample exists, calculating to obtain an actual output quantity through an interpolation algorithm according to historical experimental data and the actual input quantity of the same soil sample;
and if the actual output quantity does not exist, calculating to obtain the actual output quantity according to the summarized soil sample model and the actual input quantity.
An embodiment of the present invention further provides a computer-readable storage medium, which includes a program that can be loaded and executed by a processor to implement the method for simulating a triaxial test according to the foregoing embodiment.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present invention further provides a virtual reality device, which includes a memory, a processor, and a program stored in the memory and capable of running on the processor, and the program can be loaded and executed by the processor to implement the method for simulating a triaxial test according to the above embodiment.
The embodiments of the present invention are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method for simulating a triaxial test is characterized by comprising the following steps:
building a database based on historical experiment data recorded by performing a triaxial experiment in a real experiment scene, wherein the historical experiment data comprises historical input quantity and historical output quantity;
constructing a virtual reality system comprising: virtual experiment instrument for constructing simulation real experiment instrument, virtual experiment scene for constructing simulation real experiment scene and
the method comprises the steps of constructing interaction between an experimenter and a virtual experimental instrument and a virtual experimental scene based on operation required by a triaxial experimental experimenter, wherein the interaction comprises general interaction which does not influence an experimental result and experimental interaction which influences the experimental result, triggering of the experimental interaction is the experimental operation of the experimenter which generates actual input quantity and is obtained by a virtual reality system, matching the actual input quantity with historical experimental data in a database to obtain corresponding actual output quantity, and visually presenting the actual output quantity on the virtual experimental instrument or in the virtual experimental scene as feedback of the experimental interaction.
2. The method of claim 1, wherein the historical experimental data includes correct data corresponding to correct experimental results from performing correct experimental operations and incorrect data corresponding to incorrect experimental results from performing incorrect experimental operations.
3. The method for simulating triaxial test according to claim 1 or 2, wherein the method for matching the actual input quantity with the historical test data in the database to obtain the corresponding actual output quantity comprises:
matching the actual input quantity with historical input quantity stored in a database;
if the closeness degree of the actual input quantity and a certain historical input quantity is in a preset range, taking the historical output quantity corresponding to the historical input quantity as the actual output quantity;
and if the closeness degree of the actual input quantity and any historical input quantity is not within the preset range, obtaining the actual output quantity by a new data generation method.
4. The method of claim 3, wherein the method for determining the closeness of the actual input quantity to the historical input quantity comprises: taking two previous and next historical experimental data which are closest to an actual input value, taking a difference value of historical input quantities in the two historical experimental data as a denominator, respectively taking two difference values obtained by subtracting the actual input value from the historical input quantities in the two historical experimental data and respectively taking the two difference values as a numerator and the denominator to perform division operation to obtain two calculation results, taking a minimum value of the two calculation results and comparing the minimum value with a preset range, if the minimum value is in the preset range, judging that the actual input quantity is close to the historical input quantity which obtains the minimum value, and if the minimum value is not in the preset range, not closing the actual input quantity.
5. A method for simulating a triaxial test according to claim 3, wherein the new data generating method comprises:
judging whether the soil sample selected by the experimenter has historical experimental data of the same soil sample in a database;
if the soil sample exists, calculating to obtain an actual output quantity through an interpolation algorithm according to historical experimental data and the actual input quantity of the same soil sample;
and if the actual output quantity does not exist, calculating to obtain the actual output quantity according to the summarized soil sample model and the actual input quantity.
6. A system for simulating a triaxial test, comprising:
the database is constructed on the basis of historical experiment data recorded by performing a triaxial test in a real experiment scene, and the historical experiment data comprises historical input quantity and historical output quantity;
a virtual reality system, comprising: virtual experiment instrument for simulating real experiment instrument, virtual experiment scene for simulating real experiment scene and
the interaction unit is used for constructing interaction between an experimenter and a virtual experimental instrument and a virtual experimental scene based on operation required by a triaxial experimental experimenter, wherein the interaction comprises general interaction which does not influence an experimental result and experimental interaction which influences the experimental result, the triggering of the experimental interaction is the experimental operation of the experimenter which generates actual input quantity and is obtained by a virtual reality system, the actual input quantity is matched with historical experimental data in a database to obtain corresponding actual output quantity, and the visual presentation of the actual output quantity on the virtual experimental instrument or in the virtual experimental scene is used as the feedback of the experimental interaction.
7. The system of claim 6, wherein the historical experimental data includes correct data for correct experimental operations to obtain corresponding correct experimental results and incorrect data for incorrect experimental operations to obtain corresponding incorrect experimental results.
8. A system for simulating triaxial testing according to claim 6 or 7, wherein the interaction unit comprises a processing unit for matching the actual input quantity with historical experimental data in a database to obtain a corresponding actual output quantity, the processing unit being configured to:
matching the actual input quantity with historical input quantity stored in a database;
if the closeness degree of the actual input quantity and a certain historical input quantity is in a preset range, taking the historical output quantity corresponding to the historical input quantity as the actual output quantity;
and if the closeness degree of the actual input quantity and any historical input quantity is not within the preset range, obtaining the actual output quantity by a new data generation method.
9. The system of claim 8, wherein the processing unit comprises a determining unit for determining the proximity of the actual input quantity to the historical input quantity, and the determining unit is configured to:
taking two previous and next historical experimental data which are closest to an actual input value, taking a difference value of historical input quantities in the two historical experimental data as a denominator, respectively taking two difference values obtained by subtracting the actual input value from the historical input quantities in the two historical experimental data and respectively taking the two difference values as a numerator and the denominator to perform division operation to obtain two calculation results, taking a minimum value of the two calculation results and comparing the minimum value with a preset range, if the minimum value is in the preset range, judging that the actual input quantity is close to the historical input quantity which obtains the minimum value, and if the minimum value is not in the preset range, not closing the actual input quantity.
10. A system for simulating a triaxial test according to claim 9, wherein the processing unit includes a new data generating unit for obtaining an actual output by a new data generating method, and is configured to:
judging whether the soil sample selected by the experimenter has historical experimental data of the same soil sample in a database;
if the soil sample exists, calculating to obtain an actual output quantity through an interpolation algorithm according to historical experimental data and the actual input quantity of the same soil sample;
and if the actual output quantity does not exist, calculating to obtain the actual output quantity according to the summarized soil sample model and the actual input quantity.
11. A computer-readable storage medium, comprising a program which, when loaded and executed by a processor, carries out a method of simulating a triaxial test as claimed in any one of claims 1 to 5.
12. A virtual reality device comprising a memory, a processor and a program stored on the memory and executable on the processor, the program being capable of being loaded and executed by the processor to implement a method of simulating a triaxial test as claimed in any one of claims 1 to 5.
CN201911062402.3A 2019-11-02 2019-11-02 System and method for simulating triaxial test based on virtual reality technology Pending CN110825229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911062402.3A CN110825229A (en) 2019-11-02 2019-11-02 System and method for simulating triaxial test based on virtual reality technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911062402.3A CN110825229A (en) 2019-11-02 2019-11-02 System and method for simulating triaxial test based on virtual reality technology

Publications (1)

Publication Number Publication Date
CN110825229A true CN110825229A (en) 2020-02-21

Family

ID=69552231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911062402.3A Pending CN110825229A (en) 2019-11-02 2019-11-02 System and method for simulating triaxial test based on virtual reality technology

Country Status (1)

Country Link
CN (1) CN110825229A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107170041A (en) * 2017-06-14 2017-09-15 武汉光驰教育科技股份有限公司 A kind of shared laboratory dummy emulation method and system
CN107169236A (en) * 2017-06-15 2017-09-15 中国水利水电科学研究院 A kind of virtual triaxial test emulation mode coupled based on finite element with discrete element
CN109542226A (en) * 2018-11-22 2019-03-29 国网上海市电力公司 10kV high-voltage metering cubicle final acceptance of construction simulation system and analogy method based on virtual reality technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107170041A (en) * 2017-06-14 2017-09-15 武汉光驰教育科技股份有限公司 A kind of shared laboratory dummy emulation method and system
CN107169236A (en) * 2017-06-15 2017-09-15 中国水利水电科学研究院 A kind of virtual triaxial test emulation mode coupled based on finite element with discrete element
CN109542226A (en) * 2018-11-22 2019-03-29 国网上海市电力公司 10kV high-voltage metering cubicle final acceptance of construction simulation system and analogy method based on virtual reality technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘娟 等: "虚拟现实技术在土木工程专业实习中的应用探索研究" *

Similar Documents

Publication Publication Date Title
CN108646926B (en) Machine-building mould virtual assembles training system and Training Methodology
CN107170041B (en) Shared laboratory virtual simulation method and system
Sudarmilah et al. Tech review: Game platform for upgrading counting ability on preschool children
CN107067856A (en) A kind of medical simulation training system and method
Callaghan et al. Extending the activity theory based model for serious games design in engineering to integrate analytics
EP2689409A2 (en) Immersive training environment
WO2021244667A1 (en) Ultra-real-time calculation method for axial power deviation, electronic device, and storage medium
US9472119B2 (en) Computer-implemented operator training system and method of controlling the system
Rogers The computer as an aid for exploring graphs
CN106557629A (en) A kind of high Simulation Substation protection device simulation operation training system
Cassola et al. A novel tool for immersive authoring of experiential learning in virtual reality
Panagiotopoulos et al. A web‐based educational software for structural dynamics
Dinis et al. An immersive Virtual Reality interface for Civil Engineering dissemination amongst pre-university students
Cabric et al. A predictive performance model for immersive interactions in mixed reality
CN110825229A (en) System and method for simulating triaxial test based on virtual reality technology
CN112257200A (en) Simulation method, device, system and equipment for polycrystalline silicon production scene
CN116665841B (en) Directional shooting athlete reaction training device and real-time evaluation system
CN113537724A (en) Power grid facility anti-seismic safety risk assessment method and device
Cashion et al. Optimal 3D selection technique assignment using real-time contextual analysis
WO2013134338A1 (en) Computer-based method for 3d simulation of oil and gas operations
CN110928536A (en) Graphical programming product online evaluation device, system and method
CN114417476B (en) Virtual simulation model and training system of integrated circuit packaging industrial line
RU2451982C1 (en) Method for producing effect on virtual objects
CN111968470B (en) Pass-through interactive experimental method and system for virtual-real fusion
CN113611416A (en) Psychological scene assessment method and system based on virtual reality technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221