A Rapidly Constructed HIL Simulation Platform Including Non-Manual Real-Time Simulation Software for UAV Flight Control Research
Chengfu Wu,Xiaojun DUAN,Jianan Wu,Songhui Ma
DOI: https://doi.org/10.3969/j.issn.1000-2758.2005.03.014
2005-01-01
Xibei Gongye Daxue Xuebao/Journal of Northwestern Polytechnical University
Abstract:To our best knowledge, there does not exist a real-time HIL (Hardware-In-Loop) simulation platform for UAV (Uninhabited Aerial Vehicle) flight control research that can be rapidly constructed and includes non-manual real-time simulation software. We aim to provide such a platform, because manual production of real-time simulation software is time-consuming and costly. A new real-time simulation method based on Matlab/RTW (Real-Time Workshop) and VxWorks real-time operation system is introduced. Using this method, simulation models are constructed rapidly and model parameters are adjusted on-line. In the full paper, we explain in much detail the rapid construction of a simulation hardware platform and how the optimal embedded codes of real-time simulation software are automatically generated. Here we give only a briefing. The key technology is developing simulation hardware driver, correctly configuring simulation parameters in RTW, and wrapping control algorithm by using S-function. Compared with conventional method that requires writing simulation codes manually, this method can accelerate building real-time HIL simulation platform. Using this platform, we completed HIL simulation for a certain type of small UAV, modified its control law, and tested its flight control system. By comparing simulation data with real flight data, we demonstrated that this platform has good reliability.