Design of hardware-in-the-loop simulation system based on Pixhawk flight control system
Pixhawk flight control has been widely applied in the field of civilian unmanned aerial vehicle(UAV).In or-der to realize hardware-in-the-loop simulation function on Pixhawk flight control system to verify the flight control performance,a quadrotor UAV hardware-in-the-loop simulation system based on Pixhawk flight control system is designed.By constructing a quadrotor airframe model,the model outputs position and attitude data driven by motor speed signals.The position and attitude data are transmitted to the flight control system and reconstructed into the analog sensor data.The flight control system processes the sensor data and outputs the motor speed signal to drive the UAV model to fly.In the experiment,the same route is used for simulation flight and real flight,and the corre-lation coefficient of the data of the two flight modes are calculated.The coefficient is generally higher than 0.85,indicating that a more realistic simulation effect is obtained.
unmanned aerial vehicle(UAV)simulationhardware-in-the-loopPixhawk flight control sys-temvirtual sensor