CN110765620B - Aircraft visual simulation method, system, server and storage medium - Google Patents
Aircraft visual simulation method, system, server and storage medium Download PDFInfo
- Publication number
- CN110765620B CN110765620B CN201911029189.6A CN201911029189A CN110765620B CN 110765620 B CN110765620 B CN 110765620B CN 201911029189 A CN201911029189 A CN 201911029189A CN 110765620 B CN110765620 B CN 110765620B
- Authority
- CN
- China
- Prior art keywords
- view
- aircraft
- dynamic
- coordinates
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 65
- 230000000007 visual effect Effects 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000006243 chemical reaction Methods 0.000 claims abstract description 20
- 238000009877 rendering Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 238000013079 data visualisation Methods 0.000 claims description 4
- 238000013500 data storage Methods 0.000 claims 1
- 230000010365 information processing Effects 0.000 claims 1
- 238000005094 computer simulation Methods 0.000 abstract description 2
- 238000012800 visualization Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 11
- 230000000694 effects Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012876 topography Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000005286 illumination Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000007654 immersion Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000010612 desalination reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention relates to the field of computer simulation, and discloses an aircraft simulation method, an aircraft simulation system, a server and a storage medium. In the invention, the method comprises the following steps: acquiring pose information of a target aircraft, wherein the pose information comprises position coordinates of the target aircraft; determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model; searching a dynamic view corresponding to the virtual coordinates in a preset target view database and playing the dynamic view, wherein the target view database comprises dynamic views corresponding to all the virtual coordinates in the three-dimensional scene model. According to the method, the pose information of the target aircraft is obtained in real time, the corresponding virtual position in the three-dimensional scene is obtained through conversion, the dynamic view corresponding to the virtual position is called, visual simulation of the aircraft is achieved, an operator can intuitively see the actual flight state of the aircraft, and the method has the characteristics of high instantaneity and visualization.
Description
Technical Field
The embodiment of the invention relates to the field of computer simulation, in particular to an aircraft visual simulation technology.
Background
With the development of scientific technology, aircrafts play a wide variety of roles in the fields of agriculture, commerce, military and national defense. However, due to the characteristics of high manufacturing cost, easy damage, high requirement on field test environment and the like, the research and development of the aircraft are restricted to a certain extent. Often for newly developed aircraft, the practical feasibility of the aircraft is often not directly verified due to practical environmental constraints. The simulation technology is widely applied in the control field, and the feasibility simulation of the newly developed aircraft can be performed by using the simulation platform.
The inventor finds that at least the following problems exist in the prior art: the simulation result of the traditional digital simulation is usually digital simulation data and a simulation curve, and the actual flight state of the aircraft cannot be comprehensively and intuitively reflected, so that the control performance of the current aircraft control system is difficult to intuitively judge.
Disclosure of Invention
The embodiment of the invention aims to provide an aircraft visual simulation method, an aircraft visual simulation system, a server and a storage medium, which generate a vivid visual image in real time so as to comprehensively and intuitively check the actual flight state of an aircraft.
In order to solve the technical problems, the embodiment of the invention provides an aircraft visual simulation method, which comprises the following steps: acquiring pose information of a target aircraft, wherein the pose information comprises position coordinates of the target aircraft; determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model; searching a dynamic view corresponding to the virtual coordinates in a preset target view database and playing the dynamic view; the target view database comprises dynamic views corresponding to virtual coordinates in the three-dimensional scene model.
The embodiment of the invention also provides an aircraft visual simulation system, which comprises: the system comprises an information acquisition module, a coordinate conversion module and a view generation module; an information acquisition module: the method comprises the steps of acquiring pose information of a target aircraft, wherein the pose information comprises position coordinates of the target aircraft; the coordinate conversion module is used for responding to the pose information of the aircraft and acquiring virtual coordinates corresponding to the flying coordinate positions in a preset three-dimensional scene model; the view generation module is used for calling a dynamic view corresponding to the virtual coordinate from a preset target view database; and the view display module is used for playing the dynamic view.
The embodiment of the invention also provides a server, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the aircraft visual simulation method described above.
The invention also provides a computer readable storage medium storing a computer program which when executed by a processor implements the aircraft visual simulation method described above.
Compared with the prior art, the method and the device for achieving the visual control of the aircraft control system have the advantages that the flight track data of the target aircraft are received in real time, the virtual coordinates corresponding to the coordinate positions of the target aircraft are determined in the preset three-dimensional scene model, and the corresponding dynamic views are searched in the preset target view library for playing according to the virtual coordinates, so that the view point positions can be dynamically updated, the real views corresponding to the appointed scenes outside the aircraft can be drawn in real time, operators can feel the visual changes of the external views of the aircraft caused by the changes of the gestures and the speeds in the flight process, the visual influences caused by the changes of the different scenes, and the control performance of the current aircraft control system is intuitively judged.
In addition, determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model includes: and converting the position coordinates into corresponding virtual coordinates according to a preset coordinate conversion strategy. And converting the position and posture information of the aircraft under the coordinate system based on the earth coordinate system or by taking the aircraft as the origin coordinate system into the aircraft coordinate under the three-dimensional scene coordinate system, and determining the reference value of the subsequent call view database so as to ensure the accuracy of the subsequent call of the dynamic view.
In addition, before acquiring pose information of the target aircraft, the method comprises the following steps: acquiring a preset scene requirement; and converting the scene requirement into a scene parameter according to a preset parameter conversion strategy. The method comprises the steps of obtaining preset scene requirements, converting the scene requirements into view parameters required by three-dimensional scene modeling, and processing and optimizing the view parameters to meet the requirements of the three-dimensional scene modeling, so that the three-dimensional scene which is called later meets the requirements of users.
In addition, searching the dynamic view corresponding to the virtual coordinates in a preset target view database and playing the dynamic view, including: acquiring a dynamic view corresponding to the virtual coordinates; rendering the dynamic view according to the view parameters so that the rendered dynamic view meets the scene requirement; and playing the rendered dynamic view. And rendering is carried out according to the visual parameters, so that the generated dynamic visual is more vivid, and the immersive experience is further ensured to be brought to the clients.
In addition, the pose information further includes a pose view angle of the target aircraft, the target view database includes dynamic views of different view angles, the dynamic views corresponding to the virtual coordinates are searched in a preset target view database, and the dynamic views are played, including: searching a dynamic view corresponding to the virtual coordinates and the gesture visual angle in a target view database and playing the dynamic view. By providing dynamic views of multiple views, a richer experience is brought to the user.
In addition, the pose information further includes a flight pose of the target aircraft, and after searching a dynamic view corresponding to the virtual coordinates in a preset target view database and playing the dynamic view, the method includes: analyzing and processing the pose information to generate two-dimensional parameters, and visually displaying the two-dimensional parameters; wherein the two-dimensional parameters include: aircraft trajectory and planar position. The specific digital result and the plan view are generated for the user to check and study, so that the user can know the flight data more accurately.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings.
FIG. 1 is a flow chart of an aircraft visual simulation method in accordance with a first embodiment of the invention;
FIG. 2 is a flow chart of an aircraft visual simulation in accordance with a second embodiment of the invention;
FIG. 3 is a view of an aircraft visual simulation result in accordance with a second embodiment of the present invention;
FIG. 4 is a flow chart of an aircraft visual simulation in accordance with a third embodiment of the present invention;
FIG. 5 is an aircraft visual simulation system in a fourth embodiment in accordance with the invention;
fig. 6 is a schematic diagram of a structure of a server according to a fifth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present invention, and the embodiments can be mutually combined and referred to without contradiction.
A first embodiment of the invention relates to an aircraft visual simulation method. The specific flow is shown in figure 1.
Step 101: pose information of a target aircraft is obtained, wherein the pose information comprises position coordinates of the target aircraft.
Specifically, in order to ensure real-time performance, the pose information of the simulated aircraft sent by the upper computer of the platform is received through the high-speed reflection memory; the pose information of the aircraft comprises position coordinates of the aircraft, and three parameters of longitude, latitude and altitude of the aircraft in the position coordinates are absolute position coordinates of the aircraft, and the absolute position coordinates are determined on an earth coordinate system with the earth as a center. In practical applications, because the obtained pose information of the target aircraft is obtained under different coordinate systems, the obtained pose information of the target aircraft needs to be converted in the subsequent view simulation.
In one example, the high-speed reflective memory board card can be used for communication, an optical fiber is used as a transmission cable, and the flight pose information such as longitude and latitude of the aircraft transmitted by the upper computer of the platform is received, wherein the target aircraft can be simulated by a simulink model.
Step 102: and determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model.
Specifically, the position coordinates of the aircraft obtained in step 101 are values in a coordinate system with the earth as a center, and when the corresponding view is generated, the simulation is performed by using a coordinate system in a three-dimensional scene, wherein the coordinate system in the three-dimensional scene is three axes of a three-dimensional coordinate system with the emission point of the aircraft as an origin and the three directions of the north, the east and the tangential plane of the earth as three axes. Therefore, the obtained position coordinates of the target aircraft need to be converted, and virtual coordinates in a preset three-dimensional scene model are correspondingly obtained, namely, the position coordinates are converted into corresponding virtual coordinates according to a preset coordinate conversion strategy.
In practical application, an open source graphic engine or a three-dimensional game engine can be adopted for development, such as Unity3D software, wherein a preset coordinate conversion strategy is set in the Unity3D software, and a researcher in the field can directly acquire and use the acquired position data of the target aircraft, specifically, the acquired position data of the target aircraft is subjected to proper scaling treatment and converted into position and posture data in a Unity3D coordinate system.
The preset three-dimensional scene model can be developed in advance by using three-dimensional modeling software, such as 3ds Max software development, the generated three-dimensional scene model is stored into a fbx file format supported by Unity3D (a file format of the three-dimensional model), the generated fbx file format is imported into Unity3D, coordinate point unification, coordinate axis unification and other editing work is performed, and then the generated fbx file is stored into a prefab file for repeated calling and use in a visual database. In practical application, a pre-stored three-dimensional scene model of a scene database is established, firstly, the position, the range, the attribute and the like of the model are determined according to application requirements of each scene, the planning work of the model is completed, then, the required original data source is determined and obtained according to the model planning, and the original data source is processed and optimized to meet the modeling requirement. And importing the original data source into a database modeling tool to complete the establishment and synthesis of the site model, importing the established visual database into a visual simulation environment to verify whether the visual simulation environment can meet the requirements of the functions and performances specified by the system, and if the visual simulation environment does not meet the requirements, revising the model by using the modeling tool again until the requirements are met.
Step 103: searching a dynamic view corresponding to the virtual coordinates in a preset target view database and playing the dynamic view.
Specifically, a preset target view database stores dynamic views corresponding to each virtual coordinate in the three-dimensional scene model. And (3) inquiring a view database according to the virtual coordinates obtained by conversion in the step (102), comparing the virtual coordinates with the coordinates of the preset three-dimensional scene one by one, and calling the corresponding dynamic view in the target view database when the virtual coordinates are consistent with the coordinate values corresponding to the three-dimensional scene of the view database.
After the corresponding dynamic view is acquired, digital video information is generated and converted into an optical image which can be perceived by human eyes, and when the view is displayed, some necessary optical devices are generally used to increase the quality and fidelity of the image. The performance of the visual display system influences the reality of the visual system to a great extent and even influences the whole visual simulation effect. The technical indexes such as the angle of view, brightness, contrast and the like are mainly determined by the part of the system, and the depth sense and the immersion sense of the system are directly influenced.
In practice, the corresponding display mode may be selected according to a simulation scene or the like. For example, four modes including Virtual image display, spherical real image display, plate type display, and Virtual Reality (VR) display can be selected. The virtual image display is formed by utilizing the principle of infinite imaging of a spherical reflector, and comprises a projector, a rear projector and a spherical collimating mirror, an operator can see a virtual image of a visual image through the collimating mirror, the depth sense of the image presented by the virtual image display technology is strong, but the vertical viewing angle is smaller and is generally about 45 degrees due to the limitation of a hardware structure; the depth sense of the spherical screen real image display image is weaker than that of the virtual image display, but the pilot's angle of view is ensured to be large enough, and the spherical screen real image display image has higher image definition; the plate type display is generally realized by splicing a plurality of display screens, and can be output by a projector, so that the field of view range can be enlarged to a very high degree, and the image is relatively clear, but gaps exist among the plates, and the visual effect is affected; VR displays are displayed in a manner of imaging by using wearable VR glasses or helmets, and have a large angle of view and low cost.
Therefore, according to the first embodiment of the invention, through receiving the flight track data of the target aircraft in real time, determining the virtual coordinates corresponding to the coordinate positions of the target aircraft in the preset three-dimensional scene model, searching the corresponding dynamic view in the preset target view library for playing according to the virtual coordinates, so that the viewpoint positions can be dynamically updated, the real scenes corresponding to the appointed scene outside the aircraft can be drawn in real time, and displayed, and operators can feel the visual influence caused by the change of the external vision of the aircraft along with the change of the gesture and the speed in the flight process.
A second embodiment of the invention relates to an aircraft visual simulation method. The second embodiment is substantially the same as the first embodiment, and the main improvement is that: in the second embodiment of the invention, the preset scene requirement is acquired before the pose information of the target aircraft is acquired, the scene requirement is converted into the view parameter according to the preset parameter conversion strategy, and the view parameter is acquired to meet the requirement of three-dimensional scene modeling, so that the subsequently called three-dimensional scene is ensured to meet the user requirement. In addition, pose information is analyzed and processed to generate two-dimensional parameters and visually display, and a specific digital result and a plan view are generated to enable a user to check and study, so that the user can know flight data more accurately.
The specific flow of the visual simulation method of the aircraft according to the second embodiment of the invention is shown in fig. 2, and specifically comprises the following steps:
step 201: and acquiring a preset scene demand, and converting the scene demand into a view parameter according to a preset parameter conversion strategy.
Specifically, a preset scene requirement corresponding to the operation of the aircraft is obtained, the scene requirement mainly comprises corresponding position information, a visual field range, topography, landforms and the like, the obtained preset scene requirement is analyzed according to a preset parameter conversion strategy, and corresponding view parameters such as position information, a region range, texture attributes and the like of the model are generated.
Step 202: pose information of the target aircraft is obtained, wherein the pose information comprises position coordinates of the target aircraft.
Step 203: and determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model.
Step 202 and step 203 are the same as step 101 and step 102, and are not described in detail here.
Step 204: acquiring a dynamic view corresponding to the virtual coordinates, and rendering the dynamic view according to the view parameters; and playing the rendered dynamic view.
Specifically, the view database includes a three-dimensional scene model corresponding to the aircraft, the view database is queried according to the virtual coordinates obtained in step 203, the virtual coordinates are compared with coordinates of a preset three-dimensional scene one by one, and when the virtual coordinates are consistent with the coordinates corresponding to the three-dimensional scene of the view database, the corresponding dynamic view is called in the target view database. And then rendering the obtained dynamic view according to the view parameters obtained in the step 201, adopting a database paging scheduling strategy during rendering, calling the scene data of the corresponding area in real time according to the viewpoint requirement, and transmitting the video information obtained after rendering to the optical equipment for demonstration and playing.
In yet another example, the Unity3D plugin tools WorldComponer and TerratInComponer may be used to render the authoring. The World Composer generates real topography by importing real map satellite data, and on the basis, the Terrain Composer is used for carrying out beautifying work such as texture adding, topography and the like on the topography, besides, a loader (a Shader used for defining a mode of calculating and outputting images by graphic hardware) is programmed by a loader Lab (a packaging interface of a Unity3D to loader language for compiling loader scripts in a Unity development environment) through a Unity3D loader Lab, so that a volume cloud effect is realized, and a high-altitude flight scene of a target aircraft is simulated.
The rendering operation is actually performed, so that the ambient light, the visibility, the horizon and the like can be rendered, and the sense of reality experience is enhanced. Specifically, the ambient light can be set and simulated in the Unity3D software, the light source comprises sunlight, a point light source and the like, the illumination and the angle of the light source are controllable, and the illumination angle change effect of the light source is reflected in a visual picture; the corresponding visibility can be set according to different scenes, and when the corresponding coordinate positions are changed, the visibility change and the influence on all the features on the visual picture can be displayed; besides, the horizon line under all ambient illumination conditions can be simulated, and all features on the view can show a desalination effect related to the distance. Through realizing the setting, the dynamic view has more sense of depth and sense of immersion.
Step 205: and analyzing and processing the pose information to generate two-dimensional parameters, and visually displaying the two-dimensional parameters.
Specifically, the obtained pose information of the target aircraft is analyzed, and the running track of the target aircraft and the real-time plane position in the map are generated by a two-dimensional plane. The experimenter can further use the two-dimensional parameters for the performance research of the target aircraft.
The results in this embodiment are shown in the figure, and include the dynamic view, the plane position of the aircraft, the moving track, and the corresponding pose parameter information.
In practical application, operators can conduct real-time parameter adjustment in the simulation process, and influence of different parameter changes of the aircraft on the model and the control algorithm is studied.
In the embodiment, the preset scene requirement is acquired and converted into the view parameter required by the three-dimensional scene modeling, and the view parameter is processed and optimized to meet the requirement of the three-dimensional scene modeling, so that the three-dimensional scene which is called later meets the requirement of a user; and the corresponding dynamic view is called through the virtual coordinates obtained through processing, the dynamic view is rendered according to the view parameters and then played, the visualization of the flight process of the target aircraft is realized, and the intuitiveness of the simulation result is enhanced. In addition, the specific digital result and the plan view are generated for the user to check and study, so that the user can know the flight data more accurately. The method in the second embodiment of the invention can improve the simulation reliability of the initial development stage of the flight control system of the aircraft and shorten the research period.
A third embodiment of the invention relates to an aircraft visual simulation method. The third embodiment is substantially the same as the first embodiment, and the main improvement is that: in the third embodiment of the invention, the pose information further comprises the pose view angles of the target aircraft, the target view library comprises dynamic views with different view angles, the dynamic views corresponding to the virtual coordinates and the pose view angles are searched in the target view database, and the dynamic views are played, so that a richer experience is brought to a user by providing the dynamic views with various view angles.
Step 301: and acquiring pose information of the target aircraft, wherein the pose information comprises position coordinates and a pose visual angle of the target aircraft.
Specifically, in order to ensure real-time performance, the pose information of the simulated aircraft sent by the upper computer of the platform is received through the high-speed reflection memory; the pose information of the aircraft comprises position coordinates of the aircraft and attitude view angles of the aircraft, wherein three parameters of longitude, latitude and altitude of the aircraft in the position coordinates are absolute position coordinates of the aircraft, the absolute position coordinates are determined on an earth coordinate system taking the earth as an origin, the attitude view angles of the aircraft are determined by the parameters of yaw angle, pitch angle and roll angle of the aircraft, and the origin of the coordinate system of the three parameters moves along with the aircraft on the aircraft. In the embodiment of the invention, the coordinate system of the vision system takes the emission point as the origin, and the three directions of the north, the east and the normal direction of the tangential plane of the earth of the emission point are 3 coordinate axes of the three-dimensional rectangular coordinate system, so in practical application, the obtained pose information of the target aircraft is obtained under different coordinate systems, and the obtained pose information of the target aircraft needs to be converted in the subsequent vision simulation.
In one example, the pose information of the aircraft transmitted by the upper computer of the platform can be received by the high-speed reflective memory board communication and using an optical fiber as a transmission cable, wherein the target aircraft can be simulated by a simulink model.
Step 302: and determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model. This step is the same as step 101 and will not be described here again.
Step 303: searching a dynamic view corresponding to the virtual coordinates and the gesture visual angle in a target view database and playing the dynamic view.
Specifically, the preset target view database stores dynamic views corresponding to each virtual coordinate in the three-dimensional scene model, the view database is queried according to the virtual coordinates obtained by processing in step 303, the virtual coordinates are compared with the coordinates of the preset three-dimensional scene one by one, and the corresponding dynamic views are called in the target view database according to the attitude view parameters of the flying. The obtained dynamic view is converted into video information and transmitted to optical equipment for demonstration and playing, and three-dimensional attitude monitoring of the target aircraft can be achieved.
In practical application, the three-dimensional monitoring function is developed based on the input system interface provided by the Unity3D, and the monitoring view angle can be freely switched by clicking a mouse to drag and scroll a pulley or using a corresponding case in a keyboard. When the view is displayed, the display can also comprise a flight view angle, a free view angle and the like, and the display is more diversified.
According to the third embodiment of the invention, the position and the flight attitude of the aircraft in the simulation process can be visually displayed, so that simulation testers can find problems in time.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A fourth embodiment of the invention relates to an aircraft visual simulation system, as shown in fig. 4, comprising: an information acquisition module 401, a coordinate conversion module 402, a view generation module 403 and a view display module 404; the information acquisition module 401: the method comprises the steps of acquiring pose information of a target aircraft, wherein the pose information comprises position coordinates of the target aircraft; the coordinate conversion module 402 is configured to obtain virtual coordinates corresponding to the coordinate positions of the flight in a preset three-dimensional scene model in response to pose information of the aircraft; the view generation module 403 is configured to retrieve a dynamic view corresponding to the virtual coordinate from a preset target view database and play the dynamic view, that is, determine a scene display relationship, which scenes need to be displayed, which scenes do not need to be displayed, and a detail level of scene display; and the view display module 404 is used for playing the dynamic view.
In one example, an aircraft visual simulation system may further add: a scene parsing module 405 and a data visualization module 406. Scene parsing module 405: the method is used for constructing and maintaining the logical relation of the three-dimensional scene, and corresponding view parameters are generated by analyzing the construction requirement of the three-dimensional scene, namely, determining which elements of which scenes need to be displayed and the detail degree of scene display. The data visualization module 406 is configured to display the running track of the target aircraft and the pose value of the target aircraft in a two-dimensional scene, so as to flexibly select and customize the displayed elements and the display method.
In another example, an aircraft visual simulation system may further add: the view switching module 407. The pose information of the target aircraft acquired in the information acquisition module 401 further includes a pose view angle of the aircraft; the view switching module 407 is configured to obtain a corresponding aircraft attitude view according to the view switching instruction, and switch a corresponding dynamic view.
In practical application, the workflow of the visual simulation system specifically includes: logging in the system, entering a take-off scene, and waiting for starting of an external simulation host. And detecting data communication and receiving simulation data sent by the simulation host. Analyzing simulation data, switching stage visual angles such as take-off, flying, landing and the like according to height information, and the method comprises the following steps: the first stage, the visual simulation system displays the process of taking off the aircraft from the height of 0 m according to the input parameters; in the second stage, the vision system displays the process of third-order separation of the aircraft after the simulation host sends a separation instruction in the ascending process of the aircraft according to the input parameters; the third stage, the vision system displays the plane flying process of the aircraft according to the input parameters, and the flying track and the flying gesture parameters are displayed in a curve form on the interface; and in the fourth stage, the vision system displays the landing process of the aircraft according to the input parameters until the flying height is 0 m. And (5) ending the visual simulation process and automatically storing simulation data. According to the embodiment of the invention, the simulation result is displayed in a three-dimensional dynamic picture manner in the aircraft dynamic view system, so that the simulation result has a more visual expression effect, and an operator can more conveniently judge the control performance of the aircraft control system.
It is to be noted that, in this embodiment, the aircraft visual simulation system includes an information acquisition module 401, a coordinate conversion module 402, a visual generation module 403, and a visual display module 404, which are examples of a system corresponding to the first embodiment, and this embodiment may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, a detailed description is omitted here. Accordingly, the related art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units that are not so close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
A fifth embodiment of the invention relates to a server, as shown in fig. 6, comprising at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, the instructions being executable by the at least one processor 501 to enable the at least one processor 501 to perform the aircraft visual simulation method described above.
Where the memory 502 and the processor 501 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors 501 and the memory 502. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.
Claims (8)
1. An aircraft view simulation method, comprising:
acquiring a preset scene requirement;
converting the scene requirement into a scene parameter according to a preset parameter conversion strategy;
acquiring pose information of a target aircraft, wherein the pose information comprises position coordinates and a pose view angle of the target aircraft, wherein the position coordinates are absolute position coordinates determined by a coordinate system taking the earth as an origin, and the pose view angle is a view angle determined by a coordinate system taking an emission point of the aircraft as an origin;
determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model through coordinate conversion, wherein the coordinate system of the three-dimensional scene model is a coordinate system taking an emission point of an aircraft as an origin;
inquiring a preset view database, comparing the virtual coordinates with the coordinates of the three-dimensional scene model, and calling a corresponding dynamic view from the view database according to the attitude view angle of the aircraft when the virtual coordinates are consistent with the coordinates corresponding to the three-dimensional scene model;
rendering the retrieved dynamic view according to the view parameters, and playing the rendered dynamic view.
2. The aircraft view simulation method according to claim 1, wherein the determining virtual coordinates corresponding to the position coordinates in a preset three-dimensional scene model includes:
and converting the position coordinates into corresponding virtual coordinates according to a preset coordinate conversion strategy.
3. The aircraft view simulation method according to claim 1, wherein the pose information further includes a pose view angle of the target aircraft, the target view database includes dynamic views of different view angles, and the searching in a preset target view database for the dynamic view corresponding to the virtual coordinates and playing the dynamic view includes:
searching a dynamic view corresponding to the virtual coordinate and the gesture visual angle in the target view database and playing the dynamic view.
4. The aircraft visual simulation method according to claim 1, wherein the pose information further includes a flight pose of the target aircraft, and the searching for the dynamic visual corresponding to the virtual coordinates in a preset target visual database and playing the dynamic visual includes:
analyzing and processing the pose information to generate two-dimensional parameters, and visually displaying the two-dimensional parameters; wherein the two-dimensional parameters include: aircraft trajectory and planar position.
5. An aircraft vision simulation system, comprising: the system comprises a scene analysis module, an information acquisition module, a coordinate conversion module, a view data storage module, a view generation module and a view display module;
the scene analysis module is used for: the method comprises the steps of acquiring a preset scene demand, and converting the scene demand into a view parameter according to a preset parameter conversion strategy;
the information acquisition module is used for: the method comprises the steps of acquiring pose information of a target aircraft, wherein the pose information comprises position coordinates and a pose view angle of the target aircraft, the position coordinates are absolute position coordinates determined by a coordinate system taking the earth as an origin, and the pose view angle is a view angle determined by a coordinate system taking an emission point of the aircraft as the origin;
the coordinate conversion module is used for responding to pose information of the aircraft and obtaining virtual coordinates corresponding to the flying coordinate positions in a preset three-dimensional scene model, wherein the coordinate system of the three-dimensional scene model is a coordinate system taking the emission points of the aircraft as the origin;
the view generation module is used for inquiring a preset view database, comparing the virtual coordinates with the coordinates of the three-dimensional scene model, and calling a corresponding dynamic view from the view database according to the attitude view angle of the aircraft when the virtual coordinates are consistent with the coordinates corresponding to the three-dimensional scene model;
the visual display module is used for rendering the called dynamic visual according to the visual parameters and playing the rendered dynamic visual.
6. The aircraft view simulation system of claim 5, further comprising: the system comprises a view switching module and a data visualization module;
the view switching module is used for acquiring a corresponding aircraft attitude view angle according to the view angle switching instruction and switching a corresponding dynamic view;
and the data visualization module is used for carrying out visual display on the two-dimensional parameters generated by the pose information processing.
7. A server, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the aircraft visual simulation method of any one of claims 1 to 4.
8. A computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the aircraft view simulation method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911029189.6A CN110765620B (en) | 2019-10-28 | 2019-10-28 | Aircraft visual simulation method, system, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911029189.6A CN110765620B (en) | 2019-10-28 | 2019-10-28 | Aircraft visual simulation method, system, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110765620A CN110765620A (en) | 2020-02-07 |
CN110765620B true CN110765620B (en) | 2024-03-08 |
Family
ID=69334317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911029189.6A Active CN110765620B (en) | 2019-10-28 | 2019-10-28 | Aircraft visual simulation method, system, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110765620B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111650953B (en) * | 2020-06-09 | 2024-04-16 | 浙江商汤科技开发有限公司 | Aircraft obstacle avoidance processing method and device, electronic equipment and storage medium |
CN112000369B (en) * | 2020-08-10 | 2023-04-25 | 蒲雨彤 | Mechanical arm simulation method |
CN112233245A (en) * | 2020-09-16 | 2021-01-15 | 哈尔滨新光光电科技股份有限公司 | Non-delay visual real-time simulation method and system |
CN112270751A (en) * | 2020-10-29 | 2021-01-26 | 久瓴(上海)智能科技有限公司 | Agriculture and forestry operation scene display method and device, terminal and storage medium |
CN112484715A (en) * | 2020-11-17 | 2021-03-12 | 中煤航测遥感集团有限公司 | Helicopter navigation method, three-dimensional scene image generation method, device and equipment |
CN113051776B (en) * | 2021-04-25 | 2023-12-05 | 电子科技大学 | Satellite attitude and orbit simulation system and method based on Unity3D |
CN114171186B (en) * | 2021-12-06 | 2022-08-05 | 北京诺亦腾科技有限公司 | X-ray machine simulation method, device, equipment and computer readable storage medium |
CN114220316B (en) * | 2022-01-06 | 2023-12-12 | 北京中航科电测控技术股份有限公司 | Universal flight simulator vision system |
CN116564159A (en) * | 2023-07-07 | 2023-08-08 | 中国科学院长春光学精密机械与物理研究所 | Photoelectric measurement and control equipment tracking operation simulation training system and method |
CN116723303B (en) * | 2023-08-11 | 2023-12-05 | 腾讯科技(深圳)有限公司 | Picture projection method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101118622A (en) * | 2007-05-25 | 2008-02-06 | 清华大学 | Minisize rudders three-dimensional track emulation method under city environment |
CN103093047A (en) * | 2013-01-12 | 2013-05-08 | 天津大学 | Typical aircraft visual simulation system |
WO2017128934A1 (en) * | 2016-01-29 | 2017-08-03 | 成都理想境界科技有限公司 | Method, server, terminal and system for implementing augmented reality |
CN108604151A (en) * | 2015-12-01 | 2018-09-28 | 量子界面有限责任公司 | Using 2D constructions, find a view using true or Virtual Controller, using preview and agglomerate recording controller implements the based drive systems, devices and methods of 3D controls |
CN109074750A (en) * | 2016-05-23 | 2018-12-21 | 英特尔公司 | Flight management and control to unmanned vehicle |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10852838B2 (en) * | 2014-06-14 | 2020-12-01 | Magic Leap, Inc. | Methods and systems for creating virtual and augmented reality |
-
2019
- 2019-10-28 CN CN201911029189.6A patent/CN110765620B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101118622A (en) * | 2007-05-25 | 2008-02-06 | 清华大学 | Minisize rudders three-dimensional track emulation method under city environment |
CN103093047A (en) * | 2013-01-12 | 2013-05-08 | 天津大学 | Typical aircraft visual simulation system |
CN108604151A (en) * | 2015-12-01 | 2018-09-28 | 量子界面有限责任公司 | Using 2D constructions, find a view using true or Virtual Controller, using preview and agglomerate recording controller implements the based drive systems, devices and methods of 3D controls |
WO2017128934A1 (en) * | 2016-01-29 | 2017-08-03 | 成都理想境界科技有限公司 | Method, server, terminal and system for implementing augmented reality |
CN109074750A (en) * | 2016-05-23 | 2018-12-21 | 英特尔公司 | Flight management and control to unmanned vehicle |
Non-Patent Citations (1)
Title |
---|
陆慧娟,高波涌,周国裕,沈军.飞行安全及事故分析的三维仿真模拟系统的研究.计算机应用.2005,(08),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110765620A (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110765620B (en) | Aircraft visual simulation method, system, server and storage medium | |
US11763474B2 (en) | Method for generating simulated point cloud data, device, and storage medium | |
CN113485392B (en) | Virtual reality interaction method based on digital twins | |
US10255726B2 (en) | Systems and methods for augmented reality representations of networks | |
CN110531960A (en) | For being developed in real world by virtual world, the System and method for of digital practical application formula is tested and disposed | |
Shan et al. | Research on landscape design system based on 3D virtual reality and image processing technology | |
US7239311B2 (en) | Global visualization process (GVP) and system for implementing a GVP | |
CN112560137B (en) | Multi-model fusion method and system based on smart city | |
CN107248194A (en) | A kind of CAE data three-dimensionals based on cloud computing show exchange method | |
CN112528508B (en) | Electromagnetic visualization method and device | |
KR20210042278A (en) | Method and apparatus for generating information, electronic device, storage medium and program | |
CN115082632A (en) | Two-dimensional and three-dimensional integrated GIS system based on WebGL and application | |
CN112023400B (en) | Altitude map generation method, device, equipment and storage medium | |
CN112053440A (en) | Method for determining individualized model and communication device | |
CN115410441A (en) | Multi-person parachuting simulation training system, method and storage medium | |
CN116778038A (en) | Animation editor and animation design method based on three-dimensional map visualization platform | |
CN116012483A (en) | Image rendering method and device, storage medium and electronic equipment | |
US20210042022A1 (en) | Configuring objective-effectuators for synthesized reality settings | |
CN111488696A (en) | Building data processing method and system based on BIM and VR | |
CN114022637A (en) | High-fidelity visual simulation system and method for deep space exploration landmark navigation | |
WO2022061824A1 (en) | Methods, apparatuses and computer medium for radio signal simulation | |
CN117197408B (en) | Automatic avoiding method, device, medium and equipment for label based on osgEarth D simulation environment | |
KR20140073176A (en) | Flight simulator apparatus providing instructor screen based on satellite image | |
US20240169568A1 (en) | Method, device, and computer program product for room layout | |
EP4414835A1 (en) | Integration framework for two-dimensional and three-dimensional elements in an artificial reality environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Building 4, No. 3533 Hechuan Road, Minhang District, Shanghai, 201103 Applicant after: Shanghai Keliang Information Technology Co.,Ltd. Address before: Room 201, building 6, 829 Yishan Road, Xuhui District, Shanghai 200233 Applicant before: SHANGHAI KELIANG INFORMATION ENGINEERING Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |