| This article uses visual simulation technology to model a certain type of self-propelled antiaircraft gun,helicopter and Gobi desert scene,visualize the virtual closed-loop calibration,realistically reproduce the fire control system in advance of the virtual closed-loop calibration,and the interception process of the anti-aircraft to the helicopter is a phase-closed loop.The development of the school shooting simulation system provides a certain reference.The work of this paper is mainly divided into the following parts:1.Based on the existing anti-aircraft artillery visual simulation system development experience and the research results of virtual closed-loop calibration,the overall framework of the projectile deviation visual simulation system based on Vega Prime is designed,and the simulation system functions are modularized.Processing mainly includes modules such as visual simulation,interface management,algorithm implementation and model files.2.In the virtual closed-loop calibration,the decoupling and de-biasing Kalman filtering algorithm is used to filter the target route data to reduce the error.The firing table is used to obtain the firing elements and the firing of the anti-aircraft gun in the simulation picture Angle;using the fourth-order Runge-Kutta method to solve the outer trajectory equation to obtain discrete trajectory data points for the display of the target flight effect in the simulation picture;in the projectile deviation calculation section,for the problem of discrete trajectory data points,A cubic spline curve is proposed to fit the trajectory before and after the projectile,and the coordinates of the impact point on the projectile surface are solved to reduce the error in linear and linear interpolation for the projectile deviation.Finally,it analyzes how the projectile deviation is transformed into the firing element increment which can be directly superimposed on the firing element through coordinate transformation.3.Complete the basic construction of the projectile,antiaircraft artillery,helicopter,and Gobi desert in Creator,and do map processing,and then add the DOF node according to the actual freedom of the antiaircraft artillery and the characteristics of the helicopter rotor.Finally,for the real-time terrain rendering problem,the LOD node and.vsb file format are used to optimize the Gobi Desert terrain,which reduces the size of the terrain model file and greatly improves the loading speed.4.In LynX Prime,simulation special effects such as projectile firing anti-aircraft muzzle flames,helicopter rotors and target explosions,crashes are designed.At the same time,rain and snow weather and scenes at different moments in the morning and evening are also provided to provide the initial stage for the visual simulation system.The picture also coordinates the details such as the relative position and scale between the model and the scene.VS2008 is used as the development platform of the simulation program.Based on the minimum Vega Prime structural framework based on LynX Prime,combined with the message queue,message mapping,and multi-threading mechanisms provided by the MFC class library,the route is set and The background data display and other requirements complete the design of the human-computer interaction interface.The experiment proves that after the virtual closed-loop calibration,the projectile can accurately hit the target,which verifies the feasibility of the virtual closed-loop calibration theory.At the same time,the simulation system has the advantages of simple structure,convenient operation and intuitive and realistic picture.The development of simulation provides some reference. |