中文

Journal of Intelligent Agricultural Mechanization ›› 2023, Vol. 4 ›› Issue (3): 32-41.DOI: 10.12398/j.issn.2096-7217.2023.03.004

Previous Articles     Next Articles

Simulation research on cooperative flight model of UAV formation based on ROS and PX4

LU Mengyuan1(), WANG Tianyi1,2(), CHEN Xinchang3, ZHANG Yuzhuo1, GONG Zeqi4, ZHANG Xingshan1   

  1. 1.College of Engineering,China Agricultural University,Beijing 100083,China
    2.College of Agricultural Unmanned System,China Agricultural University,Beijing 100193,China
    3.College of Mechanical & Electrical Engineering,Henan Agricultural University,Zhengzhou 450053,China
    4.Aerospace Information research Institute,Chinese Academy of Sciences,Beijing 100094,China
  • Received:2023-05-12 Revised:2023-07-24 Online:2023-08-15 Published:2023-08-15
  • Corresponding author: WANG Tianyi

Abstract:

With the continuous development of information and intelligent manufacturing technology, agriculture has entered the era of intelligent and automated production. Unmanned smart farms, as an important direction of modern agricultural development, are facing opportunities and challenges. As one of the key supporting technologies for unmanned farms, unmanned aerial vehicle (UAV) swarm flight control technology provides crucial technical support for agricultural production in fields such as field inspection, livestock management, and irrigation control. This study aimed to analyze the data interaction methods of various components in UAV swarm simulation flight control, establish and optimize a multi-rotor UAV swarm flight simulation environment to meet the application requirements of UAV swarm flight control in unmanned smart farms. In this paper, by analyzing the interaction logic among the ROS system, PX4 flight controller, MAVROS communication module, and Gazebo simulation environment in UAV swarm simulation flight control, we built a multi-rotor UAV swarm flight simulation environment based on the open-source XTDone simulation platform. We also realized model construction and flight control of UAV swarm based on the ROS system, PX4 flight controller, and Gazebo. Furthermore, using a laser radar to collect environmental information, we optimized software algorithms in the ROS distributed framework, achieving simultaneous localization and mapping (SLAM) based on scan matching algorithm and navigation based on optimal path planning algorithm. Theoretical simulation and experimental results demonstrated that the platform had advantages such as open-source, low cost, scalability, and modularity. The constructed simulation environment can achieve UAV swarm flight control, construction of 2D maps in enclosed environments, and autonomous navigation flight. Analysis revealed that the unit flight accuracy of the UAV swarm under this simulation platform was approximately 76%, and the regression model constructed from cumulative flight distance and flight error had an R2 of 0.830 9. The research results demonstrated the feasibility of using UAV formation collaborative flight operations to meet the common agricultural operation needs in unmanned smart farms, demonstrated the application effect and advantages of UAV formation in unmanned smart farms, and provided technical ideas for deep optimization of simulation flight environments and expansion of modern agricultural production application scenarios. It also showed certain reference value and reference value in research and practice in related fields.

Key words: unmanned farm, drone formation, data exchange, flight control, laser SLAM, navigation