Abstract:It is crucial to achieve safe and efficient multi-target waypoint operation of crop protection drones in complex environments of mountainous orchards, reduce energy consumption of drone operations, and implement reasonable path planning. Addressing the issues of low efficiency, convoluted search paths, and slow convergence speed in traditional seagull optimization algorithm (SOA). A 3D path planning method was designed based on the improved seagull optimization algorithm (PSOA). Firstly, based on the actual scene of mountainous orchards, the vertex coordinates of the fruit tree canopy were obtained and a three-dimensional orchard model was established. Then, an energy loss model for rotary wing unmanned aerial vehicles was established in the three-dimensional path planning of a single work area to evaluate and optimize flight path performance, in order to achieve the most energy-efficient three-dimensional path planning. Finally, in response to the problem of seagull optimization algorithm easily getting stuck in local optima and slow convergence speed, the Lévy flight mechanism was introduced to expand the search range, the adaptive control factor was used to improve the search ability, and the elite retention strategy was applied to maintain population diversity, in order to obtain the globally optimal three-dimensional flight path. Comparative verification of benchmark test functions showed that PSO outperformed other mainstream optimization algorithms in terms of convergence accuracy, convergence speed, and stability. The simulation results of the experimental field showed that compared with traditional SOA, the PSO algorithm reduced the total path length by 48.74%, the total turning angle by 24.36%, the expected energy consumption by 49.10%, the expected operation time by 33.3%, and significantly reduceds the number of dangerous nodes. This method can optimize the operation path based on the crown vertex position of fruit trees and the energy consumption characteristics of drones, providing an effective solution for the three-dimensional path planning problem of crop protection drones in mountainous orchards.