Mixed reality simulation positioning method, device and equipment for simulation training
Through UWB positioning and 3D modeling technology, high-precision positioning and virtual simulation in complex training environments are achieved, solving the problem of inaccurate positioning in existing technologies, improving the authenticity of training and the accuracy of evaluation, and providing a basis for simulation Training provides an efficient and safe solution.
Patent Information
- Application Number
- CN202410853151.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Existing mixed reality simulation technology is difficult to achieve high-precision, high-real-time, and highly controllable positioning in complex training environments, resulting in reduced training realism and inaccurate evaluation.
UWB positioning technology is used to collect high-precision coordinate information of real training characters, and a virtual simulation environment is constructed through three-dimensional modeling technology to simultaneously display the displacement trajectories of virtual characters and real characters in real time, and provide evaluation results combined with data analysis.
It achieves high-precision positioning and real evaluation in complex training environments, improves the authenticity of training and the accuracy of evaluation, and provides a new, efficient and safe way for simulation training.
Smart Images

Figure CN118400692B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mixed reality simulation technology, and in particular to a mixed reality simulation positioning method, device and equipment for simulation training. Background Art
[0002] In the field of simulation training, mixed reality simulation technology can improve training efficiency and quality by virtual simulation of the environment, roles, equipment, etc., real-time data monitoring, and providing evaluation plans and operation guidance. This technology can be applied to various business scenarios and various types of equipment, such as mechanical equipment, electronic equipment, transportation vehicles, aircraft, etc.
[0003] However, with the increasing complexity of modern training scenarios, the increasing number of training objects, and the increasingly sophisticated requirements for the training process, general mixed reality training is gradually unable to fully meet the training requirements of high precision, high real-time, and high controllability. Especially in large and complex training environments, due to the large, complex and changeable terrain, general mixed reality simulation technology cannot accurately locate according to the real environment, which greatly reduces the realism of the training and makes it impossible for evaluators to conduct real and effective evaluation of simulated training through macro simulation scenarios. Summary of the invention
[0004] The main purpose of the present invention is to provide a mixed reality simulation positioning method, device and equipment for simulation training, aiming to solve at least one of the above-mentioned problems.
[0005] To achieve the above object, the present invention provides a mixed reality simulation positioning method for simulation training, comprising:
[0006] Collecting UWB positioning information of a real training person, and converting the UWB positioning information to obtain coordinate information;
[0007] Construct and display a three-dimensional virtual simulation training environment model of the real training environment;
[0008] Synchronously displaying the displacement trajectories of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information;
[0009] The UWB training data of the real training person and the simulation training data in the three-dimensional virtual simulation training environment model are collected, and data analysis is performed based on the UWB training data and the simulation training data.
[0010] In some embodiments, collecting UWB positioning information of a real training person and converting the UWB positioning information to obtain coordinate information includes:
[0011] Deploy several UWB base stations based on a realistic training environment;
[0012] Place UWB tags on real training figures;
[0013] Turning on a UWB controller, and configuring a base station ID and base station location parameters of the UWB base station and a tag ID of the UWB tag based on the UWB controller;
[0014] Collecting UWB positioning information of the real training person based on the configured UWB base station and the UWB tag;
[0015] The UWB positioning information is converted into three-dimensional space to obtain coordinate information for the simulation program.
[0016] In some embodiments, the collecting the UWB positioning information of the real training person based on the configured UWB base station and the UWB tag includes:
[0017] Obtaining a flight time based on a time interval between message transmissions by the UWB base station and the UWB tag;
[0018] Obtaining the distance between the UWB base station and the UWB tag according to the spatial data conversion algorithm and the flight time;
[0019] Obtaining the actual position of the UWB tag according to a three-sided positioning algorithm and the distance between the UWB base station and the UWB tag;
[0020] The UWB positioning information of a real training person carrying the UWB tag in a real training environment is determined according to the actual position of the UWB tag.
[0021] In some embodiments, the step of constructing and displaying a three-dimensional virtual simulation training environment model of a real training environment includes:
[0022] Collect photographic scan data of the real training environment;
[0023] Based on the photographed scanning data, the three-dimensional modeling software performs geometric creation, shape cutting, detail deformation, material setting, texture production, and light and shadow effect debugging to obtain a three-dimensional model;
[0024] Create a simulation program with the simulation engine as the core;
[0025] The three-dimensional model is imported into the simulation program to construct and display a three-dimensional virtual simulation training environment model.
[0026] In some embodiments, the importing of the three-dimensional model into the simulation program to construct and display a three-dimensional virtual simulation training environment model includes:
[0027] Creating a scenario based on the simulation program;
[0028] Importing the three-dimensional model into the simulation program;
[0029] A model building operation is performed within the scene based on the simulation program to obtain a three-dimensional virtual simulation training environment model; wherein the model building operation includes creating a camera, setting a camera perspective, debugging lighting effects, debugging shadow effects, baking an environment scene, setting a focus anchor point, mouse control events, keyboard control events, perspective zoom control, perspective translation control, virtual character generation, and virtual character movement;
[0030] The three-dimensional virtual simulation training environment model is displayed.
[0031] In some embodiments, the three-dimensional virtual simulation training environment model includes multiple training environment visualization interaction functions; wherein the training environment visualization interaction function includes a three-dimensional model dynamic rendering function, a three-dimensional model dynamic perspective rotation function, a three-dimensional model dynamic perspective zoom function and a three-dimensional character generation and movement function.
[0032] In some embodiments, synchronously displaying the displacement trajectories of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information includes:
[0033] Transmitting the coordinate information of the UWB tag to the simulation program in real time;
[0034] Identify the ID information of the UWB tag;
[0035] Creating a virtual character in the three-dimensional virtual simulation training environment model according to the ID information of the UWB tag;
[0036] The coordinate information is bound to the virtual character to synchronously display the displacement trajectory of the virtual character and the real training person in the three-dimensional virtual simulation training environment model.
[0037] In some embodiments, the collecting of the UWB training data of the real training person and the simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data, includes:
[0038] Collecting UWB training data of the real training person;
[0039] Collecting simulation training data in the three-dimensional virtual simulation training environment model;
[0040] Performing data cleaning, data conversion, data integration and data reduction on the UWB training data and the simulation training data to obtain sorted training data;
[0041] The organized training data is subjected to data dynamic analysis and data result evaluation to obtain analysis and evaluation results, and the analysis and evaluation results are displayed in the form of a UI interface.
[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes a mixed reality simulation positioning device for simulation training, comprising:
[0043] A UWB positioning module is used to collect UWB positioning information of a real training person and convert the UWB positioning information to obtain coordinate information;
[0044] A virtual simulation module, used to construct and display a three-dimensional virtual simulation training environment model of a real training environment;
[0045] A synchronous display module, used for synchronously displaying the displacement tracks of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information;
[0046] The analysis and evaluation module is used to collect the UWB training data of the real training person and the simulation training data in the three-dimensional virtual simulation training environment model, and perform data analysis based on the UWB training data and the simulation training data.
[0047] In addition, to achieve the above-mentioned purpose, the present invention also proposes an electronic device, which includes: a memory, a processor, and a mixed reality simulation positioning program for simulation training stored in the memory and run on the processor, and the mixed reality simulation positioning program for simulation training is configured to implement the mixed reality simulation positioning method for simulation training as described above.
[0048] The present invention provides a mixed reality simulation positioning method for simulation training, including: collecting UWB positioning information of a real training person, and converting the UWB positioning information to obtain coordinate information; constructing and displaying a three-dimensional virtual simulation training environment model of a real training environment; synchronously displaying the displacement trajectory of a virtual character and a real training person in the three-dimensional virtual simulation training environment model according to the coordinate information; collecting UWB training data of the real training person and simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data. In the present invention, UWB positioning technology, three-dimensional modeling technology and mixed reality technology are combined, and high-precision coordinate information of a real training person is collected in real time through UWB positioning technology, and the coordinate information of the real training person is displayed in real time in the three-dimensional virtual simulation training environment model that restores the real training environment after spatial coordinate conversion, so as to realize real-time mapping and positioning of the real training person in a virtual scene, thereby achieving the purpose of intuitively, scientifically and instantly monitoring and managing real simulation training through virtual simulation technology, and providing a new, efficient and safe training method for simulation training. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present invention;
[0050] Figure 2 It is a flow chart of an embodiment of a mixed reality simulation positioning method for simulation training of the present invention;
[0051] Figure 3 A schematic diagram of the overall technical architecture involved in the embodiment of the present invention;
[0052] Figure 4 It is a schematic diagram of the overall implementation process involved in the embodiment of the present invention;
[0053] Figure 5 A schematic diagram of a UWB positioning arrangement involved in an embodiment of the present invention;
[0054] Figure 6 A schematic diagram of the UWB positioning distance difference involved in the embodiment of the present invention;
[0055] Figure 7 A schematic diagram of the TWR algorithm principle involved in the embodiment of the present invention;
[0056] Figure 8 A schematic diagram of the principle of a three-sided positioning algorithm according to an embodiment of the present invention;
[0057] Fig. 9 Constructing a flow chart for a three-dimensional model simulation program involved in an embodiment of the present invention;
[0058] Fig.10 This is a structural block diagram of an embodiment of a mixed reality simulation positioning device for simulation training according to the present invention.
[0059] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0062] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0063] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present invention.
[0064] like Figure 1As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM memory) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0065] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0066] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a mixed reality simulation positioning program for simulation training.
[0067] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the electronic device, and the electronic device calls the mixed reality simulation positioning program for simulation training stored in the memory 1005 through the processor 1001, and executes the mixed reality simulation positioning method for simulation training provided in an embodiment of the present invention.
[0068] The present invention provides a mixed reality simulation positioning method, device and equipment for simulation training.
[0069] The embodiment of the present invention provides a mixed reality simulation positioning method for simulation training, referring to Figure 2 , Figure 2 The present invention is a flowchart of an embodiment of a mixed reality simulation positioning method for simulation training.
[0070] like Figure 2 As shown, the mixed reality simulation positioning method for simulation training includes:
[0071] Step S100: collecting UWB positioning information of a real training person, and converting the UWB positioning information to obtain coordinate information;
[0072] Step S200: constructing and displaying a three-dimensional virtual simulation training environment model of a real training environment;
[0073] Step S300: synchronously displaying the displacement trajectories of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information;
[0074] Step S400: collecting UWB training data of the real training person and simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data.
[0075] It should be noted that the execution subject in this embodiment may be an electronic device, which may be a computer device with data processing functions, or other devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment, a computer device is used as an example for explanation.
[0076] It can be understood that, in this embodiment, Figure 3 The mixed reality simulation positioning technology based on real positioning that can be used for simulation training is described as an example. In this embodiment, the mixed reality simulation positioning method for simulation training adopts UWB mixed reality simulation positioning technology, such as Figure 3 As shown, with UWB positioning technology as the core, 3D modeling technology as the basis, and mixed reality technology as the carrier, UWB positioning technology is used to collect high-precision position information of characters in real time. Based on virtual simulation technology and combined with UWB precise positioning technology, the problem that traditional simulation training cannot perform real positioning in complex environments is solved, and a true combination of virtual and real is achieved, so that the training process can be truly and effectively reflected in the simulation scene, thereby improving the real training effect and realizing a scientific training evaluation method.
[0077] In one embodiment, UWB positioning information of a real training person is collected, and the UWB positioning information is converted to obtain coordinate information, including: arranging a plurality of UWB base stations based on a real training environment; arranging UWB tags on the real training person; turning on a UWB controller, and configuring a base station ID and base station location parameters of the UWB base station and a tag ID of the UWB tag based on the UWB controller; collecting the UWB positioning information of the real training person based on the configured UWB base station and the UWB tag; and performing three-dimensional space conversion processing on the UWB positioning information to obtain coordinate information for a simulation program.
[0078] It should be noted that UWB (Ultra Wideband) positioning technology is also called ultra-wideband positioning technology. Different from traditional communication technology, UWB positioning technology does not need to use the carrier in the traditional communication system, but transmits data by sending and receiving extremely narrow pulses with nanoseconds or less, thus having a bandwidth of the order of GHz. Compared with traditional narrowband communication systems, UWB positioning technology has the advantages of strong penetration, low power consumption, good anti-multipath effect, high security, low system complexity, and can provide precise positioning accuracy. Therefore, this embodiment adopts ultra-wideband technology, which can be applied to the positioning, tracking and navigation of indoor stationary or moving objects and people, and can provide very precise positioning accuracy.
[0079] Exemplarily, UWB positioning information collection: collect real-time positioning information data of real-life characters (i.e., real-life training characters) through UWB technology, and perform three-dimensional space conversion processing on the real-time positioning information data to obtain coordinate information that can be used in the simulation program. Figure 4 As shown in the implementation process, UWB positioning information collection mainly relies on UWB base stations and UWB tags in conjunction with UWB controllers to achieve real-time positioning of real training figures in a real training environment.
[0080] Specifically, deploy UWB base stations: install a number of UWB base stations in the real training environment according to actual needs, for example, each UWB base station is no more than 10 meters apart and evenly distributed in the entire real training environment. Each UWB base station can be powered by USB or DC power. After turning on all UWB base stations, a full-range, fully covered, three-dimensional signal sending / receiving network that communicates via Wifi hotspots or Bluetooth is formed. Wear UWB tags: Place UWB tags on the trainees (real training characters). Each UWB tag has its own portable power source. Figure 5The UWB positioning layout diagram shown in the figure shows that after the UWB tag is turned on, the coordinate data of the real training person can be sent to the nearest UWB base station in real time. Among them, each UWB base station and UWB tag has a unique ID identifier, which can be used as a unique identity identifier for subsequent communications. Turn on the UWB controller: configure relevant positioning information, including but not limited to the base station ID, tag ID, and base station location parameters.
[0081] It should be noted that the base station ID and tag ID can be customized in the UWB controller as needed, and the location information of the UWB base station needs to first determine an origin UWB base station, that is, the initial UWB base station, and set the coordinates of the initial UWB base station to the origin coordinates, that is, (0, 0, 0). Other UWB base stations can be set according to their distance from the initial UWB base station's X-axis, Y-axis, and Z-axis. For example, the X-axis represents the horizontal distance, the Y-axis represents the height, and the Z-axis represents the vertical distance.
[0082] In one example, the UWB positioning information of the real training person is collected based on the configured UWB base station and the UWB tag, including: obtaining the flight time based on the time interval for the UWB base station and the UWB tag to transmit messages; obtaining the distance between the UWB base station and the UWB tag based on a spatial data conversion algorithm and the flight time; obtaining the actual position of the UWB tag based on a three-sided positioning algorithm and the distance between the UWB base station and the UWB tag; and determining the UWB positioning information of the real training person carrying the UWB tag in a real training environment based on the actual position of the UWB tag.
[0083] Specifically, after UWB positioning is turned on, each UWB base station will receive the positioning information sent by the UWB tag, and calculate the actual position of the UWB tag based on the spatial data conversion algorithm (such as the TWR positioning algorithm), so as to collect the positioning information of the person carrying the UWB tag in real time in the training environment. Figure 6 The schematic diagram of UWB positioning distance difference is shown. The spatial data conversion algorithm (such as TWR positioning algorithm) is a two-way ranging method. The round-trip flight time (TOF) between the UWB tag and the UWB base station is used to calculate the distance between the UWB tag and the UWB base station, and the position of the UWB tag is calculated by the three-sided positioning algorithm. Here, the UWB tag and the UWB base station are required to have the ability to send and receive signals at the same time. In the measurement, both signals must be received and sent. By calculating the time interval between the UWB tag and the UWB base station sending and receiving messages, the distance between the UWB tag and the UWB base station can be measured.
[0084] For example, Figure 7 The schematic diagram of TWR positioning algorithm is shown in the figure. Indicates the time interval between the UWB base station sending a message to the UWB tag and receiving a reply message from the UWB tag; Indicates the delay between the UWB tag receiving the UWB base station message and sending the reply message to the UWB base station; Indicates the flight time of the message between the UWB base station and the UWB tag.
[0085] Specifically, the UWB base station first sends a message to the UWB tag and records the timestamp at that time. After the UWB tag receives the message sent by the UWB base station, it records the timestamp of the UWB tag at that time, and then delays Send a reply message to the UWB base station and record the timestamp of sending. After receiving the message, the UWB base station records the timestamp of receiving. The time interval is calculated through the timestamps of sending and receiving messages of the UWB base station and the UWB tag, and the average round-trip flight time is obtained. The flight time between the UWB base station and the UWB tag is:
[0086]
[0087] because and They are all calculated based on the clocks of the UWB base station and the UWB tag. The local clock error can be offset, but there is a small clock offset between the UWB base station and the UWB tag. Assume that the clock offsets of the UWB base station and the UWB tag are and , so the flight time will be The flight time error generated by the unilateral two-way ranging method is:
[0088]
[0089] Understandably, the message flight time It includes the time when the UWB base station loads and sends data, and the time when the UWB tag receives the message sent by the UWB base station. The smaller the distance, the more accurate the distance measurement. After obtaining the distance between the UWB base station and the UWB tag by the unilateral two-way ranging method, the location of the UWB tag can be determined by the three-sided positioning algorithm. The three-sided positioning algorithm requires at least three UWB base stations to determine the location of the tag. The principle of the three-sided positioning algorithm is: three UWB base stations and one UWB tag are located in the same plane, and the three UWB base stations are not collinear. Figure 8 As shown in the figure, three intersecting circles are drawn with the coordinates of the three UWB base stations as the center and the distances from the three UWB base stations to the UWB tags as the radius. The intersection point is the coordinate of the UWB tag. The formula for calculating the coordinate position of the UWB tag is:
[0090]
[0091] In this embodiment, the key technology of this embodiment is to collect UWB positioning information through UWB positioning technology. UWB positioning technology includes UWB positioning electronic base station, UWB positioning electronic tag, UWB control software and TWR space positioning algorithm, etc. Through the coordination of software and hardware and the combination of algorithms of UWB positioning technology, accurate positioning of training personnel (real training figures) in local space can be achieved.
[0092] In one embodiment, a three-dimensional virtual simulation training environment model of a real training environment is constructed and displayed, including: collecting photographic scanning data of the real training environment; performing geometric creation, shape cutting, detail deformation, material setting, texture production, and light and shadow effect debugging based on the photographic scanning data based on three-dimensional modeling software to obtain a three-dimensional model; creating a simulation program with a simulation engine as the core; importing the three-dimensional model into the simulation program to construct and display the three-dimensional virtual simulation training environment model.
[0093] It should be noted that the development of three-dimensional modeling and computer graphics technology promotes and complements each other. With the development of technologies such as virtual reality (VR), augmented reality (AR) and mixed reality (MR), three-dimensional modeling and computer graphics technology also pay more attention to real-time interaction and immersive experience. Three-dimensional modeling and computer graphics technology can be used to interact with virtual scenes and models more naturally, and obtain a more realistic sensory experience. Mixed reality technology is a new digital interaction method based on computer vision, graphics and other technologies. It combines the real world and the virtual world to create a new sense of reality. Mixed reality technology has been widely used in games, tourism, education, medical and other fields. With the continuous upgrading of hardware equipment and continuous optimization of software, mixed reality technology has made significant progress. In this embodiment, a simulation environment is generated based on three-dimensional modeling and computer graphics technology, and a three-dimensional model of a 1:1 restoration of a real training site is constructed. A mainstream simulation engine such as Unity3d or UE4 is used as a simulation program, and the prepared three-dimensional model of the real training site is imported into the simulation program to obtain a three-dimensional virtual simulation training environment model and display it.
[0094] Specifically, collect the shooting and scanning data of the real training environment: conduct on-site shooting or scanning of the real training environment, collect and organize the shooting and scanning data of the training environment, and prepare for 3D modeling. The shooting and scanning data include but are not limited to the plane shape, three-dimensional shape, plane layout, three-dimensional size and facility details of the environment. Use 3D modeling software (such as 3DMax or Maya and other 3D modeling software) to make a 1:1 restored 3D model. The production process includes processes such as geometry creation, shape cutting, detail deformation, material setting, texture production, and light and shadow effect debugging.
[0095] In one example, the three-dimensional model is imported into the simulation program to construct and display a three-dimensional virtual simulation training environment model, including: creating a scene based on the simulation program; importing the three-dimensional model into the simulation program; performing a model construction operation based on the simulation program in the scene to obtain a three-dimensional virtual simulation training environment model; wherein the model construction operation includes creating a camera, setting a camera perspective, debugging lighting effects, debugging shadow effects, baking an environment scene, setting a focus anchor point, mouse control events, keyboard control events, perspective zoom control, perspective translation control, virtual character generation, and virtual character movement; and displaying the three-dimensional virtual simulation training environment model.
[0096] Specifically, refer to Fig. 9 As shown in the flowchart of building a 3D model simulation program, after the 3D model is made, it is necessary to create a simulation program with mainstream simulation engines such as Unity3d or UE4 as the core, and import the 3D model into the simulation program to build an interactive virtual simulation environment model, namely a 3D virtual simulation training environment model. Among them, the 3D virtual simulation training environment model includes multiple training environment visualization interaction functions; among them, the training environment visualization interaction function includes a 3D model dynamic rendering function, a 3D model dynamic perspective rotation function, a 3D model dynamic perspective zoom function, and a 3D character generation and movement function.
[0097] For example, according to actual needs, visualization and interactive functions of the training environment can be realized, including dynamic rendering of three-dimensional models, dynamic perspective rotation of three-dimensional models, dynamic perspective scaling of three-dimensional models, and generation and movement of three-dimensional characters.
[0098] In one embodiment, the displacement trajectories of the virtual character and the real training character are synchronously displayed in the three-dimensional virtual simulation training environment model according to the coordinate information, including: transmitting the coordinate information of the UWB tag to the simulation program in real time; identifying the ID information of the UWB tag; creating a virtual character in the three-dimensional virtual simulation training environment model according to the ID information of the UWB tag; binding the coordinate information to the virtual character to synchronously display the displacement trajectories of the virtual character and the real training character in the three-dimensional virtual simulation training environment model.
[0099] Exemplarily, the UWB positioning information is synchronized, and the collected UWB positioning information is transmitted to the simulation program in real time through UDP collaborative communication. After receiving the UWB positioning information, the simulation program synchronously displays the displacement trajectory of the real training character in the virtual environment. It should be noted that the UWB positioning information refers to the real-time positioning information data of the real character (i.e., the real training character) collected through UWB technology, and the coordinate information available in the simulation program is obtained by performing three-dimensional space conversion processing on the real-time positioning information data.
[0100] Specifically, since the virtual training environment model (three-dimensional virtual simulation training environment model) is made according to the real training environment in 1:1, and the UWB positioning information is the coordinate information available to the simulation program after the TWR space algorithm conversion, the simulation program identifies the identity of the UWB tag according to the ID information of the UWB tag after receiving the coordinate information of the UWB tag, and creates a corresponding virtual character in the simulation training environment (three-dimensional virtual simulation training environment model) according to its identity. The positioning information is directly assigned and bound to the coordinate information of the virtual character, so that the position movement of the virtual character in the simulation training environment and the position movement of the real character (real training person) are completely consistent and synchronized.
[0101] It is understandable that in order to enable the UWB positioning information to be sent to the simulation program in real time, a Socket communication module based on the UDP / IP network protocol can be used. Specifically, it is necessary to set up the Socket communication module in the UWB controller and the simulation program respectively, formulate a unified data standard format, and communicate through a wired or wireless network connection, so as to realize the synchronous communication function of the UWB positioning information. Here, the unified data standard format is shown in Table 1 below:
[0102] Table 1
[0103]
[0104] In this embodiment, the method adopts UWB mixed reality simulation positioning technology for simulation training. The UWB mixed reality simulation positioning technology for simulation training takes UWB positioning technology as the core, three-dimensional modeling technology as the basis, and mixed reality technology as the carrier. The high-precision position information of the character is collected in real time through the UWB base station. After the three-dimensional space coordinate conversion, the positioning information of the character in reality is displayed in real time in a 1:1 restored three-dimensional modeling virtual scene, realizing the real-time mapping and positioning of the character in the virtual scene, and the real movement of the character can be displayed in real time in the simulation program, thereby achieving the purpose of intuitively, scientifically and instantly monitoring and managing reality simulation training through virtual simulation technology.
[0105] In one embodiment, UWB training data of the real training character and simulation training data in the three-dimensional virtual simulation training environment model are collected, and data analysis is performed based on the UWB training data and the simulation training data, including: collecting UWB training data of the real training character; collecting simulation training data in the three-dimensional virtual simulation training environment model; performing data cleaning, data conversion, data integration and data reduction on the UWB training data and the simulation training data to obtain organized training data; performing data dynamic analysis and data result evaluation on the organized training data to obtain analysis and evaluation results and displaying the analysis and evaluation results in the form of a UI interface.
[0106] It should be noted that the goal of simulation training is mainly to improve the skills, abilities or reaction speed of the participants, and how to ensure the quality of training and improve the training effect is the core purpose. In this embodiment, not only can the positioning information of the virtual character be observed in real time, but also auxiliary training functions such as general training process monitoring and data analysis can be realized. Real-time display of the real movement of the character in the simulation program, training process monitoring and data analysis: by collecting and organizing training data, real-time monitoring (display) of training information, dynamic analysis of data information, and result evaluation of data information can be realized.
[0107] Specifically, on the basis of step S300, by collecting various data information required for training monitoring and analysis, the dynamic data information and the analysis and evaluation results of the information are displayed in real time in the simulation program for real-time monitoring and analysis. In practical applications, in order to realize training process monitoring and data analysis, it is necessary to set functional modules such as training data acquisition module, training process monitoring module, training behavior special effect module, and training data analysis module in the simulation program.
[0108] Exemplarily, the training data collection module is used to collect data during the training process. Data collection includes but is not limited to the following two methods: for example, collecting (receiving) external data information through Socket communication, mainly including UWB base station information, UWB tag information, UWB displacement data, UWB trajectory information, etc.; for example, collecting real-time operation data inside the simulation program, mainly including character virtual operation information, character voice communication information, character virtual interaction information, etc. All collected data are stored locally in .json format for subsequent viewing and analysis.
[0109] Exemplarily, the training process monitoring module is used to refresh and dynamically display important training process data in real time. The monitored data is based on the collected data and is displayed in the simulation program through the UI interface so that observers can instantly and intuitively understand various training information. The monitored and displayed data include but are not limited to the current area of the character, the time taken for the character to train, the character's running speed, the character's movement trajectory, the training completion progress, and the current training situation.
[0110] Exemplarily, the training behavior effects module adopts a character behavior mapping mechanism based on the collected character data information. By analyzing the character's displacement speed, frequency and other data, it dynamically analyzes and determines the character's current state and behavior, and then reflects it into the corresponding virtual character's behavior action animation. The achievable reflected behavior animation includes but is not limited to character walking, character running, character jumping, character squatting, and character interaction and other behavior effects.
[0111] Exemplarily, the training data analysis module is used to further organize, count and analyze the collected training data. The training data analysis module mainly includes two parts: data processing and data analysis. Among them, data processing: preliminary integration and organization of data through data cleaning, data conversion, data integration and data reduction, so that non-standard training process data meets the format and requirements required for subsequent analysis. Data analysis: various types of data are analyzed reasonably and efficiently through statistics, data visualization, formula calculation and other methods, so that various data are presented to the user side in an intuitive and effective way, so that users can understand and master the training process, and provide reference analysis. Here, the analysis results can be displayed in the form of a UI interface, and the display form of the analysis results includes but is not limited to bar charts, pie charts, trend charts, bar charts, curve charts and line charts.
[0112] The present embodiment provides a mixed reality simulation positioning method for simulation training, including: collecting UWB positioning information of a real training person, and converting the UWB positioning information to obtain coordinate information; constructing and displaying a three-dimensional virtual simulation training environment model of a real training environment; synchronously displaying the displacement trajectory of a virtual character and a real training person in the three-dimensional virtual simulation training environment model according to the coordinate information; collecting UWB training data of the real training person and simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data. In the present embodiment, UWB positioning technology, three-dimensional modeling technology and mixed reality technology are combined, and high-precision coordinate information of real training persons is collected in real time through UWB positioning technology, and the coordinate information of real training persons is displayed in real time in the three-dimensional virtual simulation training environment model that restores the real training environment after spatial coordinate conversion, so as to realize real-time mapping and positioning of real training persons in virtual scenes, thereby achieving the purpose of intuitively, scientifically and instantly monitoring and managing real simulation training through virtual simulation technology, and providing a new, efficient and safe training method for simulation training.
[0113] In addition, an embodiment of the present invention also proposes a storage medium, on which a mixed reality simulation positioning program for simulation training is stored. When the mixed reality simulation positioning program for simulation training is executed by a processor, the steps of the mixed reality simulation positioning method for simulation training as described above are implemented.
[0114] Reference Fig.10 , Fig.10 This is a structural block diagram of an embodiment of a mixed reality simulation positioning device for simulation training according to the present invention.
[0115] like Fig.10 As shown, the mixed reality simulation positioning device for simulation training includes:
[0116] The UWB positioning module 10 is used to collect the UWB positioning information of the real training person and convert the UWB positioning information to obtain coordinate information;
[0117] A virtual simulation module 20, used to construct and display a three-dimensional virtual simulation training environment model of a real training environment;
[0118] A synchronous display module 30, used for synchronously displaying the displacement tracks of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information;
[0119] The analysis and evaluation module 40 is used to collect the UWB training data of the real training person and the simulation training data in the three-dimensional virtual simulation training environment model, and perform data analysis based on the UWB training data and the simulation training data.
[0120] In this embodiment, the device adopts UWB mixed reality simulation positioning technology for simulation training, which realizes the instant virtual mapping of real positioning information, thereby achieving a mixed reality simulation training effect of reality mapping virtual and virtual controlling reality, allowing users to experience real training while performing efficient and accurate real-time monitoring, real-time control, real-time interaction, evaluation and analysis and other simulation training functions through virtual simulation technology.
[0121] It should be noted that the technical details that are not described in detail in the embodiment of the mixed reality simulation positioning device for simulation training can be found in the mixed reality simulation positioning method for simulation training as described above provided in any embodiment of the present invention, and will not be repeated here.
[0122] It is understandable that the method or the device described in this embodiment adopts the UWB mixed reality simulation positioning technology for simulation training. The method or the device can be used independently as a mixed reality training software when executed, or as one of the instance function modules of a large training platform, with independence, compatibility and strong scalability. Especially in terms of interaction and training functions, corresponding extended functions can be formulated according to different training services. For example, for scenarios such as the interaction of training equipment or the use of equipment, the interaction information and status information of the training equipment can be obtained in real time through network communication, so that the interaction situation and information status of the training equipment can be fully simulated through a three-dimensional model in the simulation program, so that the real situation of the operation and use of the training equipment during the training process can be monitored and analyzed in the first time, and the equipment use process can also be obtained through later data analysis. Whether it is correct, etc. By adopting the above-mentioned embodiment scheme of the present application, the simulation training will be more real, accurate, safe and intelligent, and the training effect of the real training environment can be monitored in the simulation program, which improves the authenticity and real-time nature of the training, and at the same time, a more reasonable training evaluation analysis can be achieved.
[0123] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0124] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0125] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0126] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0128] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A mixed reality simulation positioning method for simulation training, characterized in that: include: Collecting UWB positioning information of a real training person, and converting the UWB positioning information to obtain coordinate information; Construct and display a three-dimensional virtual simulation training environment model of the real training environment; Synchronously displaying the displacement trajectories of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information; Collecting UWB training data of the real training person and simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data; Among them, constructing and displaying a three-dimensional virtual simulation training environment model of a real training environment includes: collecting shooting and scanning data of the real training environment; performing geometric body creation, shape cutting, detail deformation, material setting, texture production, and light and shadow effect debugging based on the shooting and scanning data based on a three-dimensional modeling software to obtain a three-dimensional model; creating a simulation program with a simulation engine as the core; importing the three-dimensional model into the simulation program to construct and display the three-dimensional virtual simulation training environment model; Among them, importing the three-dimensional model into the simulation program to construct and display a three-dimensional virtual simulation training environment model includes: creating a scene based on the simulation program; importing the three-dimensional model into the simulation program; performing a model construction operation based on the simulation program in the scene to obtain a three-dimensional virtual simulation training environment model; wherein the model construction operation includes creating a camera, setting a camera perspective, debugging lighting effects, debugging shadow effects, baking an environment scene, setting a focus anchor point, mouse control events, keyboard control events, perspective zoom control, perspective translation control, virtual character generation, and virtual character movement; and displaying the three-dimensional virtual simulation training environment model.
2. The method according to claim 1, characterized in that The collecting of UWB positioning information of the actual training person and converting the UWB positioning information to obtain coordinate information includes: Deploy several UWB base stations based on a realistic training environment; Place UWB tags on real training figures; Turning on a UWB controller, and configuring a base station ID and base station location parameters of the UWB base station and a tag ID of the UWB tag based on the UWB controller; Collecting UWB positioning information of the real training person based on the configured UWB base station and the UWB tag; The UWB positioning information is converted into three-dimensional space to obtain coordinate information for the simulation program.
3. The method according to claim 2, characterized in that The collecting of UWB positioning information of the real training person based on the configured UWB base station and the UWB tag includes: Obtaining a flight time based on a time interval between message transmissions by the UWB base station and the UWB tag; Obtaining the distance between the UWB base station and the UWB tag according to the spatial data conversion algorithm and the flight time; Obtaining the actual position of the UWB tag according to a three-sided positioning algorithm and the distance between the UWB base station and the UWB tag; The UWB positioning information of a real training person carrying the UWB tag in a real training environment is determined according to the actual position of the UWB tag.
4. The method according to claim 1, characterized in that The three-dimensional virtual simulation training environment model includes multiple training environment visualization interaction functions; among them, the training environment visualization interaction function includes a three-dimensional model dynamic rendering function, a three-dimensional model dynamic perspective rotation function, a three-dimensional model dynamic perspective zoom function and a three-dimensional character generation and movement function.
5. The method according to claim 1, characterized in that The method of synchronously displaying the displacement trajectories of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information includes: Transmitting the coordinate information of the UWB tag to the simulation program in real time; Identify the ID information of the UWB tag; Creating a virtual character in the three-dimensional virtual simulation training environment model according to the ID information of the UWB tag; The coordinate information is bound to the virtual character to synchronously display the displacement trajectory of the virtual character and the real training person in the three-dimensional virtual simulation training environment model.
6. The method according to any one of claims 1 to 5, characterized in that The collecting of the UWB training data of the real training person and the simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data, includes: Collecting UWB training data of the real training person; Collecting simulation training data in the three-dimensional virtual simulation training environment model; Performing data cleaning, data conversion, data integration and data reduction on the UWB training data and the simulation training data to obtain sorted training data; The organized training data is subjected to data dynamic analysis and data result evaluation to obtain analysis and evaluation results, and the analysis and evaluation results are displayed in the form of a UI interface.
7. A mixed reality simulation positioning device for simulation training, characterized in that: include: A UWB positioning module is used to collect UWB positioning information of a real training person and convert the UWB positioning information to obtain coordinate information; A virtual simulation module, used to construct and display a three-dimensional virtual simulation training environment model of a real training environment; A synchronous display module, used for synchronously displaying the displacement tracks of the virtual character and the real training person in the three-dimensional virtual simulation training environment model according to the coordinate information; An analysis and evaluation module, used for collecting UWB training data of the real training person and simulation training data in the three-dimensional virtual simulation training environment model, and performing data analysis based on the UWB training data and the simulation training data; Among them, constructing and displaying a three-dimensional virtual simulation training environment model of a real training environment includes: collecting shooting and scanning data of the real training environment; performing geometric body creation, shape cutting, detail deformation, material setting, texture production, and light and shadow effect debugging based on the shooting and scanning data based on a three-dimensional modeling software to obtain a three-dimensional model; creating a simulation program with a simulation engine as the core; importing the three-dimensional model into the simulation program to construct and display the three-dimensional virtual simulation training environment model; Among them, importing the three-dimensional model into the simulation program to construct and display a three-dimensional virtual simulation training environment model includes: creating a scene based on the simulation program; importing the three-dimensional model into the simulation program; performing a model construction operation based on the simulation program in the scene to obtain a three-dimensional virtual simulation training environment model; wherein the model construction operation includes creating a camera, setting a camera perspective, debugging lighting effects, debugging shadow effects, baking an environment scene, setting a focus anchor point, mouse control events, keyboard control events, perspective zoom control, perspective translation control, virtual character generation, and virtual character movement; and displaying the three-dimensional virtual simulation training environment model.
8. An electronic device, characterized in that: The electronic device includes: a memory, a processor, and a mixed reality simulation positioning program for simulation training stored in the memory and executable on the processor, wherein the mixed reality simulation positioning program for simulation training is configured to implement the mixed reality simulation positioning method for simulation training as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Reinsman motion posture capturing and three-dimensional reconstruction system based on inertial sensing technology
CN107330967A
