Air confrontation simulation platform based on unity 3D

Through the aerial adversarial simulation platform based on unity3D, using deep reinforcement learning and PID control, complex adversarial training combined with multiple drones and manned machines is realized, solving the problem of inability to conduct complex adversarial training in the existing technology, and improving simulation effect and intelligent control capabilities.

CN119516868APending Publication Date: 2025-02-25UNIV OF SCI & TECH BEIJING

Patent Information

Application Number
CN202411531088.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The existing technology cannot effectively carry out complex confrontation training combining multiple drones and manned machines, and lacks intelligent training functions, so it is impossible to use intelligent algorithms to train intelligent bodies.

Method used

It provides an air confrontation simulation platform based on unity3D, including flight controllers, data interaction modules, data analysis modules and terrain design and construction modules. It uses deep reinforcement learning models and PID control to realize intelligent control of the anti-simulated aircraft, and performs terrain editing and three-dimensional visual display through unity3D.

Benefits of technology

It realizes aerial confrontation simulation in complex three-dimensional environments, supports confrontation training combining multiple drones and manned machines, has intelligent training functions, and can conduct intelligent body training through intelligent algorithms, improving simulation effect and control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119516868A_ABST
    Figure CN119516868A_ABST
Patent Text Reader

Abstract

The invention discloses an air confrontation simulation platform based on unity 3D, which relates to the technical field of air confrontation simulation training and comprises a flight controller, a data interaction module, a data analysis module and a terrain design and construction module. Wherein the flight controller is used for controlling the flight attitude, the flight speed and the flight direction of the confrontation simulation aircraft; the data interaction module is used for obtaining the confrontation simulation control instruction through the interaction interface, sending the confrontation simulation control instruction to the confrontation simulation aircraft and returning state information; the data analysis module is used for simulating aerodynamic data in a real environment based on an aerodynamic model and calculating the motion state and the load state of the confrontation simulation aircraft and the missile in real time; and the terrain design and construction module is used for carrying out terrain editing based on unity 3D and generating an adversarial simulation terrain. The technical problem that in the prior art, confrontation training of combination of multiple unmanned aerial vehicles and manned vehicles cannot be carried out is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of aerial confrontation simulation training, and in particular to an aerial confrontation simulation platform based on Unity3D. Background Art

[0002] In the simulation platform, pilots can receive high-quality and safe training without taking the risks that may be brought by actual flight. This training method not only saves time and money, but also provides more flight scenarios and emergency simulations, helping pilots develop the ability to deal with various complex situations. At the same time, the simulation platform can also be used for aircraft design and improvement. By simulating the performance of aircraft with different parameters and configurations in various environments, it helps engineers optimize aircraft design and improve aircraft efficiency and safety. In order to ensure the accuracy and reliability of the simulation, it is necessary to continuously improve and optimize the aerodynamic model and aircraft model of the simulation platform. The realistic aerodynamic model can simulate the flight characteristics of the aircraft under various airflow conditions, including lift, drag, sideslip, etc., so that pilots can feel the real flight experience in the simulation environment. The accurate aircraft model can reflect the details of the aircraft's structure, power system, rudder control, etc., to ensure that the aircraft's motion behavior in the simulation is consistent with the actual aircraft. With the continuous advancement of technology and the development of simulation platforms, people can expect the widespread application of simulation technology in the field of flight, providing more comprehensive and efficient support for pilots and engineers, and promoting the development and innovation of the aviation field.

[0003] Patent CN117234107A discloses a multi-UAV self-organizing network simulation system and method based on Unreal Engine. The multi-UAV self-organizing network simulation system based on Unreal Engine includes: a flight simulation platform, including a scene simulation module and a network performance chart display module; a collaborative control platform, including a UAV control module, a mobile information acquisition module, and a network simulation result processing module; a network simulation platform, including a basic configuration module, a node movement module, and a network simulation module. The use of the above-mentioned multi-UAV self-organizing network simulation system and method based on Unreal Engine can solve the problem that the commonly used mobile model in flight self-organizing network simulation is difficult to describe the real movement behavior of multiple UAVs in three-dimensional complex scenes, and the commonly used network simulator is difficult to achieve ideal results in the visualization of three-dimensional and complex network simulation results. However, the UAV in this invention cannot be manually controlled by multiple people, and it may be difficult to reflect the simulation effect in a more complex and changeable simulation environment.

[0004] Patent CN117475700A discloses a UAV simulation training system based on a handheld device, including a simulation platform, a handheld display and control terminal, a data interaction module, and a video distribution module, wherein: the simulation platform is used for simulation information of the training, and the simulation information includes a three-dimensional scene image; the handheld display and control terminal receives the simulation information of the simulation platform, and controls the UAV based on the simulation information; the video distribution module distributes the three-dimensional scene image to the display of the simulation platform or the display of the handheld display and control terminal through the data interaction module; the data interaction module is used for data transmission between the above modules. It can meet the operator's needs for simulation training of small and special UAVs on the simulation training system. However, the invention cannot conduct confrontation training of multiple UAVs and manned aircraft in various quantities, and lacks the function of intelligent training, and cannot use intelligent algorithms to replace UAVs for intelligent body training. Summary of the invention

[0005] In order to solve the above technical problems existing in the prior art, an embodiment of the present invention provides an air confrontation simulation platform based on unity3D. The technical solution is as follows:

[0006] On the one hand, an air confrontation simulation platform based on unity3D is provided, including: a flight controller, a data interaction module, a data analysis module, and a terrain design and construction module; wherein the flight controller is used to control the flight attitude, flight speed and flight direction of the confrontation simulation aircraft; the data interaction module is used to obtain confrontation simulation control instructions through an interactive interface, send the confrontation simulation control instructions to the confrontation simulation aircraft, and return status information; the data analysis module is used to simulate aerodynamic data in a real environment based on an aerodynamic model, and calculate the motion state and load state of the confrontation simulation aircraft and missile in real time; the terrain design and construction module is used to perform terrain editing based on unity3D and generate confrontation simulation terrain.

[0007] Furthermore, the status information includes three-dimensional position coordinates, attitude information, speed information, radar detection information and weapon status information of the confrontation simulated aircraft.

[0008] Furthermore, the flight controller includes a bottom-level flight controller, a first flight controller and a second flight controller; wherein the bottom-level flight controller is used to control the flight attitude, flight speed and flight direction of the confrontation simulated aircraft by controlling the rudder angle of the confrontation simulated aircraft; the first flight controller is used to control the automatic flight of the confrontation simulated aircraft based on the expected speed, expected heading and deep reinforcement learning model; the second flight controller is used to control the automatic flight of the confrontation simulated aircraft based on the flight speed components in various directions in the three-dimensional coordinate system and PID control.

[0009] Furthermore, the data interaction module is also used to interact with the platform through a preset script to achieve control of the confrontation simulation aircraft, and to achieve data transmission and control through remote interaction over the network.

[0010] Furthermore, the terrain design and construction module is also used to perform custom terrain design and editing based on the unity3D map editor, or to configure the confrontation simulation terrain using preset terrain materials.

[0011] Furthermore, it also includes a visualization display module for displaying the confrontation simulation view in a preset visualization window.

[0012] Furthermore, the confrontation simulation view includes a third-person global three-dimensional view, a first-person perspective and a two-dimensional top view.

[0013] The embodiment of the present invention provides an aerial confrontation simulation platform based on Unity3D, which can realize flight simulation in a complex three-dimensional environment. It uses a mature three-dimensional game engine and combines subsequent three-dimensional environment development, controller design, communication interface design and visual display into one, so that the platform can meet the control confrontation simulation needs and alleviate the technical problem of the existing technology that it is impossible to conduct confrontation training of multiple UAVs and manned aircraft in various quantities. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0015] Figure 1 is a schematic diagram of an air confrontation simulation platform based on Unity3D provided by an embodiment of the present invention;

[0016] Figure 2 It is a schematic diagram of the architecture of a flight controller provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0018] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.

[0019] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0020] Figure 1 FIG. 1 is a schematic diagram of an air confrontation simulation platform based on Unity3D according to an embodiment of the present invention. Figure 1 As shown, the platform includes: a flight controller 10 , a data interaction module 20 , a data analysis module 30 , and a terrain design and construction module 40 .

[0021] Specifically, the flight controller 10 is used to control the flight attitude, flight speed and flight direction of the countermeasure simulated aircraft.

[0022] The data interaction module 20 is used to obtain the confrontation simulation control instruction through the interaction interface, send the confrontation simulation control instruction to the confrontation simulation aircraft, and return status information.

[0023] Specifically, the status information includes the three-dimensional position coordinates, attitude information, speed information, radar detection information and weapon status information of the countermeasure simulated aircraft.

[0024] The data analysis module 30 is used to simulate aerodynamic data in a real environment based on an aerodynamic model, and calculate the motion state and load state of the simulated aircraft and missile in real time.

[0025] Specifically, the data analysis module 30 simulates the flight trajectory and state of the aircraft and missile by loading the aerodynamic model.

[0026] The terrain design and construction module 40 is used to edit the terrain based on unity3D and generate adversarial simulation terrain.

[0027] Preferably, the terrain in the embodiment of the present invention includes mountain terrain, jungle terrain, urban terrain and sea terrain.

[0028] Figure 2 FIG. 1 is a schematic diagram of the architecture of a flight controller provided according to an embodiment of the present invention. Figure 2 As shown, the flight controller 10 includes a bottom flight controller 11 , a first flight controller 12 and a second flight controller 13 .

[0029] Specifically, the bottom flight controller 11 is used to control the flight attitude, flight speed and flight direction of the countermeasure simulated aircraft by controlling the rudder angle of the countermeasure simulated aircraft;

[0030] A first flight controller 12, used to control the automatic flight of the adversarial simulated aircraft based on a desired speed, a desired heading and a deep reinforcement learning model;

[0031] The second flight controller 13 is used to control the automatic flight of the countermeasure simulated aircraft based on the components of the flight speed in each direction in the three-dimensional coordinate system and PID control.

[0032] In the embodiment of the present invention, there are three types of flight controllers 10, which are mainly used for intelligent body control and can be freely selected according to actual use needs. All controllers are based on the underlying flight controller 11, among which the first flight controller 12 is obtained through deep reinforcement learning training based on the underlying flight controller 11, and the desired speed and desired heading can be input to control the automatic flight of the aircraft; the second flight controller 13 uses PID control based on the underlying flight controller 11, and the speed components in various directions in the three-dimensional coordinate system can be input to control the automatic flight of the aircraft.

[0033] In an optional implementation provided by an embodiment of the present invention, the instructions output by the flight controller 10 include aileron instructions, elevator instructions, rudder instructions and throttle instructions.

[0034] In an optional implementation provided by an embodiment of the present invention, the status information returned by the platform includes aircraft status information: altitude, pitch angle, roll angle, heading angle, sideslip angle, angle of attack, longitude, latitude, aircraft mass, moment of inertia, linear velocity, acceleration, roll rate, pitch rate, yaw rate, altitude change rate, load factor, number of remaining missiles, number of remaining bullets, locked target number, and whether it is locked; missile status information: missile launching aircraft number, missile target number, longitude, latitude, altitude, speed, and distance to the target.

[0035] Specifically, the data interaction module 20 is also used to interact with the platform through a preset script to realize the control of the confrontation simulation aircraft, and to realize data transmission and control through remote interaction over the network.

[0036] Preferably, the preset scripts include C++ scripts and Python scripts.

[0037] In the embodiment of the present invention, the data interaction module 20 includes network communication processing, designing a network online communication interface, and an interface for interacting with the local machine, interacting various parameters in the platform environment through these interfaces, passing control instructions through the interface and returning status information. The air confrontation simulation platform provided by the embodiment of the present invention obtains the status information of the aircraft and controls the aircraft through the data interaction module 20, obtains the control parameters of manual control or script control, and converts them into actual flight actions of the aircraft through the data interaction module 20.

[0038] Specifically, the terrain design and construction module 40 is also used to perform custom terrain design and editing based on the unity3D map editor, or to configure the confrontation simulation terrain using preset terrain materials.

[0039] Specifically, Figure 1 As shown, the air confrontation simulation platform based on Unity3D provided by the embodiment of the present invention further includes a visualization display module 50 for displaying a confrontation simulation view in a preset visualization window.

[0040] Preferably, the confrontation simulation view includes a third-person global three-dimensional view, a first-person perspective and a two-dimensional top view.

[0041] In an optional implementation provided by an embodiment of the present invention, the user creates a room in the platform to perform basic settings, including setting the number of aircraft, the type of agent to be used, and the control mode; and selects the aircraft model to be used in the aircraft selection interface, selects to use the map to load the scene, enters the aircraft generation location or randomly generates it, and starts initialization. Finally, the simulation interface is displayed in real time.

[0042] Among them, the real-time simulation interface includes: the third-person global three-dimensional view, that is, the spectator view, which can freely adjust the viewing position and observe all units and viewing angles in the environment; the first-person perspective, which can watch the first-person perspective of the aircraft and display some status information of the aircraft, such as speed, mounted weapon information, radar information, etc. At the same time, it can display a two-dimensional overhead view, which can display the position of each aircraft on the two-dimensional map and the terrain in real time.

[0043] Among them, initialization requires input of the initial state information of the aircraft. It can be initialized by running C++ or python scripts, or by manually entering initialization data or directly using the default initialization data.

[0044] The initialization data includes: the initial longitude, initial latitude, initial altitude, initial heading angle, initial pitch angle, initial roll angle, initial speed, initial fuel volume, initial number of bombs and bomb types of each aircraft.

[0045] From the above description, it can be seen that the embodiment of the present invention provides an air confrontation simulation platform based on Unity3D, and the technologies that can be implemented include:

[0046] Terrain construction: Use the Unity3D map editor to independently design and construct the terrain, and configure the terrain into the platform environment.

[0047] Aerodynamic model loading: Load the aerodynamic model into the platform environment and use algorithms to simulate the real environment.

[0048] Aircraft status information acquisition and control: The aircraft status information is acquired through the communication module in the platform, and the control instructions are transmitted to the aircraft.

[0049] Built-in drone agent control: Add an agent model trained by deep reinforcement learning to the platform, and you can choose to use the agent as needed. The agent can autonomously control the aircraft and select strategies and actions based on real-time status.

[0050] Aircraft and missile motion simulation: The real-time position and status of aircraft and missiles are calculated through the data analysis module in the platform to realize the motion simulation and control of aircraft and missiles.

[0051] 3D visualization: Through the visualization module of the platform, the confrontation process is visualized in the visualization window, including: the first-person view of the operating aircraft, the freely switchable third-person 3D view of the overall map, as well as aircraft selection, map selection, and user room interface. Multiple perspective interfaces can be displayed on multiple monitors at the same time.

[0052] The embodiment of the present invention provides an air confrontation simulation platform based on unity3D, which can realize air confrontation simulation in a complex three-dimensional environment, including simulation demonstration of maneuvers, missiles, bullets, and terrain, and can render a three-dimensional visualization interface, display the simulation effect in real time on the interface, and have multiple viewing angles that can be displayed on multiple displays at the same time. In addition, C++ or python algorithms can be used to control the aircraft, support high time speed, and use algorithms for intelligent agent training.

[0053] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0054] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0055] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0056] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An air confrontation simulation platform based on unity3D, characterized in that: include: Flight controller, data interaction module, data analysis module, terrain design and construction module; among them, The flight controller is used to control the flight attitude, flight speed and flight direction of the countermeasure simulated aircraft; The data interaction module is used to obtain the confrontation simulation control instruction through the interactive interface, send the confrontation simulation control instruction to the confrontation simulation aircraft, and return status information; The data analysis module is used to simulate aerodynamic data in a real environment based on an aerodynamic model, and calculate the motion state and load state of the confrontation simulation aircraft and missile in real time; The terrain design and construction module is used to edit the terrain based on unity3D and generate adversarial simulation terrain.

2. The air confrontation simulation platform based on unity3D according to claim 1, characterized in that: The state information includes the three-dimensional position coordinates, attitude information, speed information, radar detection information and weapon state information of the confrontation simulated aircraft.

3. The air confrontation simulation platform based on unity3D according to claim 1, characterized in that: The flight controller includes a bottom flight controller, a first flight controller and a second flight controller; wherein, The bottom flight controller is used to control the flight attitude, flight speed and flight direction of the confrontation simulated aircraft by controlling the rudder angle of the confrontation simulated aircraft; The first flight controller is used to control the automatic flight of the adversarial simulated aircraft based on the expected speed, the expected heading and the deep reinforcement learning model; The second flight controller is used to control the automatic flight of the confrontation simulation aircraft based on the components of the flight speed in each direction in the three-dimensional coordinate system and PID control.

4. The air confrontation simulation platform based on unity3D according to claim 1, characterized in that: The data interaction module is also used to interact with the platform through a preset script to realize control of the confrontation simulation aircraft, and to realize data transmission and control through remote interaction over the network.

5. The air confrontation simulation platform based on unity3D according to claim 1, characterized in that: The terrain design and construction module is also used for custom design and editing of terrain based on the unity3D map editor, or for configuring the confrontation simulation terrain using preset terrain materials.

6. The air confrontation simulation platform based on unity3D according to claim 1, characterized in that: It also includes a visualization display module for displaying the confrontation simulation view in a preset visualization window.

7. The air confrontation simulation platform based on unity3D according to claim 6, characterized in that: The confrontation simulation view includes a third-person global three-dimensional view, a first-person perspective and a two-dimensional top view.

Citation Information

Patent Citations

  • Multi-unmanned aerial vehicle ad hoc network simulation system and method based on unreal engine

    CN117234107A

Cited By

  • Simulation training system for manned-unmanned aerial vehicle cooperative control

    CN120260391A