The "UAV Autonomous Filght Simulation Software" in this paper is a component of the "UAV Autonomous refueling system key technology research" which is special research program in Shaanxi Province Education Department platform, and is implemented by some development instruments such as Microsoft Visual Studio 2010 and OpenGL combined with data of F-16 fighter jets. The plane’s position and orient angles are calculated by simulation the UAV filght, at the same time the simulated UAV filght provides a friendly man-machine interface to operator.Firstly. the background of this project is introduced.Based on the system’s function and aim, the overall framework simulation system is established, according to the design idea, the software function modules in the simulation system are given as well. Secondly, based on the data of F-16 fighter jets include some parameter such as aerodynamical and aerodynamical moment and flight mechanics theory, the Modeling Six-Degree-of-Freedom equations of UAV are established, and which are solved by Runge-Kutta theory, and got the Real-time data curve graph of 12 variables. Thirdly, combined with the graphics related theory and simulation theory, according to the overall structure, simulation software is implemented by MFC and OpenGL, which the 3D scene and driven 3D scene are implemented by OpenGL in MFC. Fourthly, the relation and function between software modules and software module design and implementation are introduced in detail, some implementation of some key technique problems are given. At last, the results of software and the software performance testing are given.The simulation system has accomplished the development and test work. After testing, this simulation software has proved to be stable, reliable and strong scalability, and can develope two times. The works for this article has reference significance to the development of UAV. |