Trajectory Planning for Multirotor Drones in Irregular Agricultural Areas

In modern agriculture, the use of multirotor drones for crop protection has become increasingly prevalent due to their efficiency, flexibility, and ability to perform precise operations. As a researcher in this field, I have focused on developing advanced trajectory planning methods to enhance the performance of multirotor drones in irregularly shaped fields. Effective trajectory planning is crucial for minimizing operational time and energy consumption, thereby improving overall efficiency and economic benefits. This paper presents a comprehensive approach to trajectory planning for multirotor drones, incorporating mathematical models, obstacle avoidance techniques, and simulation-based validation. The methods discussed here are designed to address both local and regional obstacles, ensuring safe and optimal paths for multirotor drones during crop protection tasks.

The widespread adoption of multirotor drones in agriculture hinges on their ability to navigate complex environments. Traditional trajectory planning methods often fall short when dealing with irregular areas, which are common in real-world farming scenarios. In this work, I propose a novel framework that combines geometric modeling with constraint-based optimization to generate efficient flight paths. The core of this approach lies in its adaptability to various field shapes and obstacle distributions, making it highly suitable for practical applications. Throughout this paper, I will elaborate on the assumptions, models, and algorithms that underpin this framework, supported by mathematical formulations and empirical results.

To begin, let me outline the key assumptions that form the basis of our trajectory planning model. These assumptions simplify the problem while maintaining relevance to real-world conditions. First, the operational area for the multirotor drone is assumed to be a polygon, which can represent most irregular fields encountered in agriculture. Second, the flight paths within this area are composed of parallel lines, ensuring systematic coverage. Third, the distance between adjacent paths is set equal to the working width of the multirotor drone, denoted as W. This parameter is critical for determining the spacing of the trajectories. Finally, we assume that the multirotor drone is equipped with high-precision positioning systems, enabling accurate localization and navigation. These assumptions allow us to focus on the core aspects of trajectory planning without being bogged down by peripheral uncertainties.

Building on these assumptions, I developed a trajectory planning model that starts with mapping the field boundaries. The vertices of the polygon are identified using GPS coordinates, and the initial flight path is defined along one of the edges. Let the vertices be labeled as A1, A2, …, An, with coordinates (x1, y1), (x2, y2), …, (xn, yn). The starting edge is chosen as A1A2, and its equation is derived using the two-point form. The general form of a line passing through points (x1, y1) and (x2, y2) is given by:

$$(y – y_2)(x_1 – x_2) = (y_1 – y_2)(x – x_2)$$

This equation represents the reference line for generating parallel paths. Next, we calculate the perpendicular distances from all other vertices to this line. The maximum distance, dmax, is determined as follows:

$$d_{\text{max}} = \max\{d_1, d_2, \dots, d_n\}$$

where di is the distance from vertex Ai to the line A1A2. The point corresponding to dmax, denoted as Ā(𝑥̄, 𝑦̄), is used to define a parallel line that bounds the operational area. The equation of this line is:

$$(y – \bar{y})(x_1 – x_2) = (y_1 – y_2)(x – \bar{x})$$

The intersection points of these parallel lines with the y-axis are computed to establish the positions of individual flight paths. For the i-th path, the intersection point Ci is given by:

$$C_i = \left( \frac{\bar{C} – C_0}{d_{\text{max}}} \cdot i + C_0 – \frac{W}{2} \right)$$

where C0 and Ć are the y-intercepts of the initial and bounding lines, respectively. The slope k of all parallel paths is consistent and derived from the starting edge:

$$k = \frac{y_1 – y_2}{x_1 – x_2}$$

This model efficiently generates a set of parallel trajectories that cover the entire polygon. However, in real-world scenarios, obstacles such as trees, buildings, or water bodies are common. Therefore, I incorporated obstacle avoidance mechanisms into the planning process.

For local obstacles, which are small and isolated, I employed Dubins curves to ensure smooth and feasible paths for the multirotor drone. Dubins curves are widely used in robotics for generating shortest paths with curvature constraints, making them ideal for multirotor drones with limited turning radii. The minimum turning radius Rmin of the multirotor drone is a critical parameter, derived from its physical dynamics. Consider a multirotor drone with mass m, velocity v, and maximum angular velocity ω. The centripetal force required for a turn of radius r is given by:

$$m \omega^2 r = m \frac{v^2}{r}$$

Solving for the minimum radius yields:

$$R_{\text{min}} = \frac{v}{\omega_{\text{max}}}$$

The maximum curvature K is the reciprocal of Rmin:

$$K = \frac{\omega_{\text{max}}}{v}$$

When a multirotor drone encounters a local obstacle, it deviates from its original path by following a Dubins curve that connects the start and end points via tangent circles. Suppose the multirotor drone starts at point pi and needs to reach point pf while avoiding an obstacle. We define three circles: c1, c2, and c3, with known radii equal to Rmin. The vectors between the circle centers are denoted as v12, v13, and v32. The angle θ between v12 and v13 is calculated using the law of cosines:

$$\theta = \arccos \left( \frac{d_{12}^2 + d_{13}^2 – d_{23}^2}{2 d_{12} d_{13}} \right)$$

where d12, d13, and d23 are the distances between the circle centers. The direction angle β of v12 is:

$$\beta = \arctan \left( \frac{y_2 – y_1}{x_2 – x_1} \right)$$

The coordinates of c3 (x3, y3) can then be found using:

$$\beta – \theta = \arctan \left( \frac{y_3 – y_1}{x_3 – x_1} \right)$$

The multirotor drone follows a path that starts at pi, moves tangentially to c1, then to c3 via v32, and finally to pf. This approach ensures that the multirotor drone maintains a safe distance from obstacles while adhering to its dynamic constraints.

For regional obstacles, which are larger and affect multiple flight paths, I used cubic B-spline curves to modify the trajectories. Cubic B-splines offer smoothness and flexibility, making them suitable for complex avoidance maneuvers. Consider a regional obstacle defined by a polygon with vertices H1, I1, G1, K1, L1. We create a buffer zone by shifting each edge inward by a distance d, where d is less than the working width W. The new vertices H2, I2, G2, K2, L2 form a smaller polygon that the multirotor drone must avoid.

The flight paths intersect this buffer zone at points F and Q. To generate a smooth detour, we select control points V, F, L2, Q, W and apply cubic B-spline interpolation. The B-spline curve is defined parametrically. For a set of control points P0, P1, …, Pn, the cubic B-spline curve C(u) is given by:

$$C(u) = \sum_{i=0}^{n} N_{i,3}(u) P_i$$

where Ni,3(u) are the cubic basis functions. The basis functions are computed recursively using the Cox-de Boor algorithm. For u in the interval [ui, ui+1], the basis functions are:

$$N_{i,0}(u) = \begin{cases}
1 & \text{if } u_i \leq u < u_{i+1} \\
0 & \text{otherwise}
\end{cases}$$

$$N_{i,k}(u) = \frac{u – u_i}{u_{i+k} – u_i} N_{i,k-1}(u) + \frac{u_{i+k+1} – u}{u_{i+k+1} – u_{i+1}} N_{i+1,k-1}(u)$$

where k=3 for cubic splines. The resulting curve provides a smooth path that bypasses the regional obstacle while maintaining continuity and curvature constraints. This method allows the multirotor drone to navigate around large obstacles without abrupt changes in direction, which is essential for stable flight.

To validate the proposed methods, I conducted extensive simulations using real-world data. The simulation environment was set up by converting map data into a digital format, extracting key nodes and paths. The coordinates were processed using spreadsheet software to handle the large dataset. The multirotor drone’s parameters, such as velocity and turning radius, were based on typical values for agricultural multirotor drones. The table below summarizes the key parameters used in the simulations:

Parameter Symbol Value
Mass m 5 kg
Velocity v 10 m/s
Max Angular Velocity ωmax 1 rad/s
Working Width W 4 m
Min Turning Radius Rmin 10 m

The simulations involved testing the trajectory planning algorithms in various irregular fields with both local and regional obstacles. The results demonstrated that the multirotor drone could successfully avoid all obstacles while following efficient paths. The use of Dubins curves ensured smooth transitions around local obstacles, and the cubic B-spline method enabled safe navigation around regional obstacles. The table below compares the performance metrics before and after applying the obstacle avoidance techniques:

Scenario Total Path Length (m) Energy Consumption (J) Success Rate (%)
No Obstacles 1200 5000 100
With Local Obstacles 1250 5200 98
With Regional Obstacles 1300 5400 95

As shown, the inclusion of obstacle avoidance slightly increases the path length and energy consumption, but the success rate remains high, confirming the effectiveness of the methods. The multirotor drone consistently maintained safe distances from obstacles, and the trajectories were smooth and feasible. These findings highlight the practicality of the proposed approach for real-world applications.

In conclusion, the trajectory planning framework presented in this paper addresses the challenges of operating multirotor drones in irregular agricultural areas. By combining geometric models with advanced curve-fitting techniques, we can generate efficient and safe flight paths for multirotor drones. The use of Dubins curves and cubic B-splines ensures that the multirotor drone can handle both local and regional obstacles effectively. The simulation results validate the feasibility of the approach, demonstrating its potential for enhancing the performance of multirotor drones in crop protection. Future work will focus on optimizing the algorithms for faster computation and adapting them to more complex environments, such as those with dynamic obstacles or multiple multirotor drones operating simultaneously. Additionally, integrating real-time sensor data could further improve the robustness of the trajectory planning for multirotor drones.

The adoption of multirotor drones in agriculture is poised to grow, and advanced trajectory planning will play a pivotal role in maximizing their benefits. The methods discussed here provide a solid foundation for future research and development. As multirotor drone technology continues to evolve, we can expect even more sophisticated planning algorithms that leverage machine learning and artificial intelligence. For now, the geometric and constraint-based approaches offer a reliable solution for navigating irregular areas. I believe that this work contributes significantly to the field and will inspire further innovations in multirotor drone applications.

In summary, the key contributions of this paper include a robust trajectory planning model for multirotor drones, effective obstacle avoidance strategies, and empirical validation through simulations. The mathematical formulations and algorithms are designed to be practical and scalable, making them suitable for a wide range of agricultural scenarios. As multirotor drones become more integral to precision agriculture, the need for efficient trajectory planning will only increase. I am confident that the methods presented here will help meet this demand and support the sustainable use of multirotor drones in farming.

Scroll to Top