Unmanned Air Vehicles(UAV) training simulator which provides pilots with alternant environment can advance operators' skills, estimate flight qualities if corresponding mathematical models are installed in it, and reduce unnecessary flight costs.The design and realization of flight simulation system in Unmaned Air Vehicles (UAV) training simulator is researched in this paper. Software programming and all kinds of simulation functions are accomplished which include different flight mode simulation, mode-switch, flight track simulation, trouble simulation and so on. This system which communicates with other systems through serial ports receives and implements remote orders from ground station, and simulation results are transmitted back simultaneity.In order to realize the whole system, this article has accomplished works as follows: Firstly, according to dynamic analysis of UAV and in-out characteristics of implementing organs, the little perturbation equations are established, and then corresponding mathematical models are confirmed based on which UAV's flight control system is established. Secondly, according to the requirement of flight quality of fixed wing (8785C), the longitudinal, lateral, directional, velocity and altitude holding channels' control laws are designed with root locus method, and digital simulation which is the academic foundation of semi-physical is carried out in Matlab environment. Thirdly, for the purpose of strong real-time simulation, timing interrupt and serial communication are implemented through analyzing hardware structure. Fourthly, blocking implement in the software programing is discussed in the foundation of digital simulation according to the reliability. Processes of programming which involved hardware are introduced. Flow charts of main parts of the software are presented.After these works as above, semi-physical simulation is carried out in the environment of training simulator, the results of semi-physical simulation and digital simulation are compared, which fully verified the software is valid and reliable. |