Design of Semi-Physical Real-Time Simulation System for UAV Based on xPC

This paper introduces the composition of the UAV simulation system, uses MATLAB/Simulink to build the model of UAV system, and then generates an executable program from model through rapid prototyping technology, and loads the executable program onto the xPC target. And Simulation console based on xPC Target API was built to control and monitor the simulation. Finally, after the UAV semi-physical simulation system is completed, the real-time and semi-physical simulation tests of the system are carried out. Test results show that the simulation system is reliable and stable, and the overall development time is short.