Route planning and task allocation method for plant protection UAV in multiple operation areas
By determining the optimal heading angle and using the particle swarm optimization algorithm in plant protection UAV route planning, the problem of failing to effectively consider battery capacity and drug load in the existing technology is solved, and more efficient route planning and task allocation are achieved. , significantly reducing time and energy consumption and improving operating efficiency.
Patent Information
- Application Number
- CN202210461590.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-04-28
AI Technical Summary
Existing route planning and task allocation methods for plant protection UAVs fail to effectively consider UAV battery capacity and maximum drug load, resulting in low operating efficiency, high number of return flights, high battery consumption, and unscientific task allocation, making it difficult to achieve plant protection efficiency. Efficiency advantages of human-machine swarms.
The multi-operation area plant protection UAV route planning and task allocation method is used to determine the optimal heading angle, optimize sub-task allocation based on the particle swarm method, and combine the line scan method and the particle swarm optimization algorithm to optimize route planning and task division, and reduce returns. times and energy consumption.
In scenarios with large operating areas and multiple drones, time consumption is reduced by 60.32% and energy consumption by 32.42%. Compared with traditional methods, operating efficiency is improved and battery consumption is reduced.
Smart Images

Figure CN114967764B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of smart planting, and in particular to a route planning and task allocation method for a plant protection UAV in multiple operation areas. Background Art
[0002] Low-altitude pesticide application by plant protection drones is a new pesticide application technology that adapts to the development of modern agriculture in my country. Drone plant protection operations have the advantages of adjustable height, strong vertical penetration of fog flow, and high operating efficiency. In actual production operations, plant protection drone operations are generally carried out by flight teams, and the operating efficiency of the flight teams is affected by route planning and task allocation in the operating area.
[0003] The route planning of plant protection UAVs is a full coverage path planning problem, based on the cattle plowing reciprocating method, and the optimization objectives include minimum operation time, minimum energy consumption, minimum number of turns, minimum redundant coverage, etc. At present, few studies have comprehensively considered the relationship between the size of the field area and the UAV battery, maximum drug load and other factors, which may lead to a short operation time of the UAV in the field, but a long round-trip flight time for replenishment and a large number of replenishment, thereby reducing the overall operation efficiency. And through field research, it was found that in actual operation production, battery loss is an important part of the operation loss of the flight spraying team. Reducing the number of battery charging times can reduce battery loss. Therefore, reducing the time consumption of plant protection UAVs in a single operation area and reducing battery consumption can improve the operation efficiency of the flight spraying team and reduce operation costs.
[0004] At present, the research on the allocation of plant protection tasks mainly adopts the following two ideas: (1) Unit operation area method: each operation area is regarded as a subtask. (2) Unit area method: a unit operation area is determined according to experience, and the operation area is divided into one or more subtasks based on the unit operation area. The sorting and allocation of subtasks can adopt intelligent heuristic algorithms. At present, in the research on subtask division, the battery capacity or maximum drug load of the plant protection UAV is not considered, resulting in unscientific subtask division, and a lack of accurate calculation of the time and energy consumption of the subtask. Therefore, the task allocation strategy is difficult to give full play to the efficiency advantages of the plant protection UAV swarm.
[0005] In summary, the current research on route planning in the operation area of plant protection UAVs rarely considers the return time and number of times, resulting in low operating efficiency in actual operations. The research on plant protection task allocation lacks the precise division of subtasks and the calculation of subtask time and energy consumption, resulting in "high efficiency for a single machine and low efficiency for a fleet of drones". Summary of the invention
[0006] In response to the problems raised in the background technology, the present invention takes into account the time consumption of plant protection operations, round-trip supply flights, and the supply process, plans the routes within the operation area, draws on the plant protection task division method, comprehensively considers the battery capacity and drug carrying capacity of the UAV, and proposes a route planning and task allocation algorithm that reduces the time consumption of plant protection operations and reduces battery loss and is adaptable to multiple operation areas.
[0007] Technical solution:
[0008] A method for route planning and task allocation of a plant protection UAV in multiple operating areas, comprising the following steps:
[0009] S1. Determine the optimal heading angle;
[0010] S2, dividing the subtasks based on the optimal heading angle;
[0011] S3. Use the particle swarm method to optimize the subtask allocation and output the final subtask.
[0012] Preferably, in S1, the optimal heading angle is obtained by solving the optimal function:
[0013] Taking operation time as optimization objective, the optimal function is:
[0014] min z=T
[0015] The constraints include:
[0016]
[0017]
[0018]
[0019]
[0020] The meanings of the letters in the formula are shown in the following table:
[0021]
[0022] Preferably, the optimal function is solved to obtain an array of heading angles, and the angle in the array corresponding to the minimum total operation time is found as the heading angle.
[0023] Preferably, S2 comprises:
[0024] S2-1, input the course angle from 0-180 degrees in steps of 10, and use the line scanning method to obtain the number of routes, operation time, energy consumption and number of return trips in the operation area. Determine the course angle with the goal of minimizing the number of return trips and the time and energy consumption;
[0025] S2-2, based on the spray width of the drone, obtain the number of routes;
[0026] S2-3. Based on the drone battery consumption rate en_cons, pesticide consumption rate dr_cons, the drone's maximum battery capacity ET, and maximum pesticide load DT, solve the drone's subtasks, subtask energy and time consumption, and then solve the subtask allocation.
[0027] Specifically, in S2-1, the line scanning method is used to obtain the route of the target plot.
[0028] Specifically, in S2-2, the line scanning method is used to obtain the number of routes of the target plot.
[0029] Specifically, in S2-3, based on the drone battery consumption rate en_cons, the pesticide consumption rate dr_cons, the drone's maximum battery capacity ET, and the maximum pesticide load DT, the specific steps of solving the drone subtasks, subtask energy and time consumption, and then solving the subtask allocation are:
[0030] S2-3-1. Calculate the energy consumption E of the plant protection UAV from taking off from the supply point to the starting point of the route start , UAV flight length X start ; At this time, the energy consumption E = E start , flight distance length X = X start ;
[0031] S2-3-2, starting from the first route j=1, i=1, calculate the energy E of route i in sequence i and pesticide consumption i And the flight length of plant protection operation X i , E=E+E i , E i =dis(X i )*en_cons; Pesticide spraying amount D = D + D i , D i =dis(X i )*dr_cons,X=X+X i , j = j + 1; where dis(X i ) represents the length of route i;
[0032] S2-3-3. If E exceeds 80% of the maximum battery capacity ET or D is greater than the maximum payload DT of the drone, then E = EE i , D=DD i ,X=XX i ; Take route i to route j-1 as a subtask; the energy consumption of the subtask is E=E+dis(x j-1)*en_cons is the energy consumption of the subtask, en_cons represents the battery consumption rate of the drone; D is the pesticide spraying amount of the subtask, and the time consumption is T = (X + dis (x j-1 )) / dr_cons, dr_cons represents the pesticide consumption rate during UAV plant protection operation; otherwise, continue with (2); where, dis(x j-1 ) represents the distance from route j-1 to the supply point;
[0033] S2-3-4, i=j, j=j+1; repeat this process until all routes are traversed and return to the supply point.
[0034] Specifically, in S3, the specific steps of optimizing subtask allocation using the particle swarm method are as follows:
[0035] S3-1, initialize the population, randomly initialize the speed and position of the particles, where c1 and c2 are learning factors;
[0036] S3-2, according to the optimal function min z = T t Calculate the fitness of each particle according to v i =v i +c1*rand(0,1)*(pbest i -x i )+c2*rand(0,1)*(gbest i -x i ) to optimize the particle velocity, where: v i is the current velocity of the particle, x i is the current position of the particle, pbest i is the best position of a single particle, gbest i is the best particle position in the particle swarm;
[0037] S3-3, according to x i =x i +v i Update the position of particles;
[0038] S3-4, repeatedly iterate S3-2 and S3-3 until the number of iterations or the minimum value between generations is reached and the loop ends.
[0039] Beneficial effects of the present invention
[0040] Aiming at the operation mode of the flying defense team of multiple plant protection drones in multiple operation areas, the present invention proposes a route planning method that comprehensively considers the time consumption of drone plant protection operations, supply round trips, and supply processes. Taking the route as the basic unit, the subtasks are divided based on the battery capacity and maximum drug load of the plant protection drone as constraints. In terms of task allocation, the particle swarm method is used to allocate tasks with the minimum total operation time as the optimization goal.
[0041] The method of the present invention has the best advantages in the calculation examples of large-area operation areas and multiple drones, reducing the time consumption by 60.32% and 5.06% compared with the unit operation area method, and reducing the energy consumption by 32.42% and 11.07% compared with the unit area method. The method of the present invention has advantages in time and energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 The overall process diagram of the present invention is
[0043] Figure 2 Flowchart of path planning and task division between operation areas considering the minimum number of return flights
[0044] Figure 3 The flight path and return point planning based on the method of the present invention for scenario 1
[0045] Figure 4 The flight path and return point planning based on the method of the present invention for scenario 2 DETAILED DESCRIPTION
[0046] The present invention will be further described below in conjunction with embodiments, but the protection scope of the present invention is not limited thereto:
[0047] Combination Figure 1 The present invention proposes a multi-operation area plant protection UAV route planning and task allocation method, which includes the following steps:
[0048] S1. Determine the optimal heading angle;
[0049] S2, dividing the subtasks based on the optimal heading angle;
[0050] S3. Use the particle swarm method to optimize the subtask allocation and output the final subtask.
[0051] 1. Task allocation model for plant protection drones
[0052] The optimal heading angle in S1 is obtained based on the plant protection UAV task allocation model, which is designed based on the following conditions:
[0053] 1) The drone takes off from the supply point and returns to the supply point after completing a single operation.
[0054] 2) Each drone is of the same model, with the same maximum pesticide load, battery capacity, and battery consumption rate.
[0055] 3) The location and shape of each working area are known, assuming that there are no obstacles in the field.
[0056] 4) The location of the supply point remains fixed.
[0057] 5) All operation area blocks have the same operation priority.
[0058] 6) The coordination waiting time during the replenishment process of multiple plant protection drones is not considered.
[0059] 1.1 Model Assumptions
[0060] Assume that the operation task T consists of N operation area blocks, which can be divided into V subtasks to be performed by a single aircraft at a time, with battery capacity and drug load as constraints. The entire flight defense team has K plant protection drones, that is, at most K aircraft are involved in plant protection operations.
[0061] 1.2 Model establishment
[0062] min z=T t (1)
[0063] The energy consumption of the plant protection UAV is positively correlated with the flight time, and the operation time of the flight defense team is a more important factor in actual operation. Therefore, the present invention selects the operation time as the optimization target. In formula (1), z represents the optimization target.
[0064] T t =∑ i∈V (X i +len i ) / dt i +C (2)
[0065] Formula (2) indicates that the total operation time includes the plant protection operation time, the round-trip replenishment flight time, and the time consumed during the replenishment process. According to experience, C is generally selected as 30s.
[0066]
[0067] Formula (3) indicates that each unit operation area is only visited once.
[0068]
[0069] Formula (4) indicates that the energy consumption of the subtask operation of the UAV must meet the battery capacity limit of the UAV.
[0070]
[0071] Formula (5) shows that the pesticide consumption of the UAV subtask meets the maximum pesticide load limit of the UAV.
[0072] The symbols of formula (1)-(5) are explained in Table 1:
[0073] Table 1 Related symbols and their meanings
[0074]
[0075] 2 Route planning and task allocation algorithm for plant protection drone swarms in multiple operating areas
[0076] The route and task allocation algorithm for plant protection UAV swarms that is suitable for multiple operating areas is used to realize the subtask division in S2, which mainly includes the following three parts: route planning within the operating area, subtask division method considering the battery capacity and maximum drug load of the UAV, and plant protection task allocation.
[0077] 2.1 Route planning and subtask division method for operation area based on supply consumption
[0078] At present, the heading optimization method for convex polygonal plots is generally optimized by the minimum span method. This method is suitable for route planning in the operation area that can be completed by the UAV in a single time. For the operation area with a larger area, this method may have a long field transfer time, which will lead to longer operation time.
[0079] The present invention is based on the scan line filling method, traverses the routes under all heading angles, and calculates the total operation time, energy and pesticide consumption respectively. In order to ensure that the aircraft can return to the supply point smoothly, the energy consumption in the plant protection operation exceeds 80% of the battery capacity and needs to return. At this time, two situations may occur:
[0080] (1) There is one or several headings under which the plant protection UAV can complete the plant protection operation task in a single time. If there is only one heading angle, then this heading angle is the route planning angle for the operation area. If there are multiple route angles, the heading angle with the shortest sum of the field operation time and the return time after the operation is completed is selected as the route planning angle for the operation area.
[0081] (2) The plant protection drone cannot complete the plant protection task at one time at any angle. At this time, it is necessary to comprehensively consider the battery capacity and maximum drug load of the plant protection drone and find the drone's return point. The present invention searches for the return point based on a single route. The starting point and return point of each subtask are at the edge of the operation area. The method for determining the return point is described as follows:
[0082] The specific steps to solve the subtask allocation are:
[0083] S2-3-1. Calculate the energy consumption E of the plant protection UAV from taking off from the supply point to the starting point of the route start, UAV flight length X start ; At this time, the energy consumption E = E start , flight distance length X = X start ;
[0084] S2-3-2, starting from the first route j=1, i=1, calculate the energy E of route i in sequence i and pesticide consumption i And the flight length of plant protection operation X i , E=E+E i , E i =dis(X i )*en_cons; Pesticide spraying amount D = D + D i , D i =dis(X i )*dr_cons,X=X+X i , j = j + 1; where dis(X i ) represents the length of route i;
[0085] S2-3-3. If E exceeds 80% of the maximum battery capacity ET or D is greater than the maximum payload DT of the drone, then E = EE i , D=DD i ,X=XX i ; Take route i to route j-1 as a subtask; the energy consumption of the subtask is E=E+dis(x j-1 )*en_cons is the energy consumption of the subtask, en_cons represents the battery consumption rate of the drone; D is the pesticide spraying amount of the subtask, and the time consumption is T = (X + dis (x j-1 )) / dr_cons, dr_cons represents the pesticide consumption rate during UAV plant protection operation; otherwise, continue with (2); where, dis(x j-1 ) represents the distance from route j-1 to the supply point;
[0086] S2-3-4, i=j, j=j+1; repeat this process until all routes are traversed and return to the supply point.
[0087] The algorithm flow chart is as follows Figure 2 As shown. This method can be used to obtain the subtask starting point, subtask energy, time, and pesticide consumption set E, T, and D of the plant protection UAV at each heading angle. Among all heading angles, the heading angle with the smallest time consumption is selected as the route planning angle of the plot, and then the scan line filling method is used to plan the route of the operation area.
[0088] 2.2 Task segmentation and allocation method based on improved particle swarm optimization
[0089] After calculating the time, energy and pesticide consumption of each subtask. Since all plots have the same priority, the order of plot operations is sorted according to the principle of proximity. Affected by the shape of the operation area and the spray width of the plant protection drone, the time and energy consumption of each subtask may not be the same. Therefore, the task division problem is transformed into an array segmentation problem, that is, given an array with m elements, where m is the number of subtasks, the array is divided into n sub-arrays, and n is the maximum number of drones in the flight defense team. The array content is the subtask time consumption, and each sub-array is summed up to form a new array sum, so that the segmentation method with the smallest max(sum) is used.
[0090] The specific steps of using particle swarm method to optimize subtask allocation are as follows:
[0091] S3-1, initialize the population, randomly initialize the speed and position of the particles, where c1 and c2 are learning factors;
[0092] S3-2, according to the optimal function min z = T t Calculate the fitness of each particle according to v i =v i +c1*rand(0,1)*(pbest i -x i )+c2*rand(0,1)*(gbest i -x i ) to optimize the particle velocity, where: v i is the current velocity of the particle, x i is the current position of the particle, pbest i is the best position of a single particle, gbest i is the best particle position in the particle swarm;
[0093] S3-3, according to x i =x i +v i Update the position of particles;
[0094] S3-4, repeatedly iterate S3-2 and S3-3 until the number of iterations or the minimum value between generations is reached and the loop ends.
[0095] 3 Simulation Analysis
[0096] 3.1 Description of UAV and terrain parameters
[0097] The present invention refers to the operation mode of Nanjing Aijin Plant Protection Flying Team. The plant protection UAV used in the team has a flight time of 20 minutes. When the battery power is less than 20%, the UAV returns to a fixed supply point. The flight speed of the UAV operation and supply is 4m / s, and the operating width is 2m. The maximum drug load of the UAV is 10L, and the spraying volume of the UAV is 1L / mu. The time for the UAV to replace the battery and replenish the liquid medicine at the supply point is 30 seconds. According to the flight team's operating experience, when the operating area is regular in shape and has a large length and width, the plant protection UAV can operate for about 10 mu in a single flight.
[0098] The working field of the present invention is a simulated field. The size and shape of the field have a great influence on the working efficiency of the plant protection drone group. Therefore, the field area refers to the provisions of the high-standard farmland construction general rules for grid fields and strip fields, and the small area working area is determined to be about 1 mu, and the large area working area is about 15 to 100 mu. The working area is abstracted into a two-dimensional plane, the vertex coordinates of the working area are known, and the position coordinates of the supply point are assumed to be [0, 0]. Among them, the three working areas with larger areas are regarded as scene 1, and their vertex coordinates are irregular shapes of ([0, 0], [100, 0], [200, 100], [0, 200]), trapezoidal working areas of ([0, 220], [180, 220], [180, 500], [75, 520], [0, 300]), and rectangular working areas of [200, 220], [400, 220], [400, 320], [200, 320]. The four smaller work areas are called scene 2, whose vertex coordinates are respectively a parallelogram of ([0, 0], [50, 0], [60, 60], [10, 60]), a triangle work area of ([100, 0], [180, 0], [150, 60]), a trapezoidal work area of ([30, 100], [50, 100], [100, 100], [90, 140], [40, 140]), and a parallelogram work area of ([120, 100], [170, 100], [160, 140], [110, 140]). The shapes of the work areas of scene 1 and scene 2 are as follows: Figure 3 and Figure 4 As shown (Note: the origin on the route is the unmanned flight return point, and the area between the two return points is a subtask of the drone), where 1 represents the unit plot method, b the unit area method, and c represents the method of the present invention.
[0099] 3.2 Route planning and task allocation for plant protection drone swarms
[0100] In terms of the route planning of the UAV operation area, the method of the present invention and the shortest operation time method are used to plan the routes of the operation areas in scene 1 and scene 2 respectively. Assuming that each operation area is operated by a single UAV, Table 2 statistics the total time consumption difference of the plant protection operation time, return time and replenishment time in each plot of land for the routes planned based on the method of the present invention and the shortest field operation time method.
[0101] Table 2 Heading angles planned by the method of the present invention and the method with the minimum time
[0102]
[0103] Based on the path planning method of the present invention, the task allocation method proposed in the present invention is compared with two traditional methods: (1) unit operation area allocation method: each operation area is assigned to a single drone, and (2) unit area allocation method: each drone is responsible for an area of 7,000m 2 Plant protection tasks in the operation area. In both cases, the battery power of the plant protection drone is less than 20%, or the carried liquid medicine is consumed, and the drone returns to the supply point.
[0104] The method of the present invention and the traditional method are discussed using plant protection drone flight teams of different sorties. The hardware configuration of the flight team is as follows:
[0105] (1) Assuming that there are 6 UAVs and 2 supply vehicles in the aerial defense team, and each supply vehicle can serve 3 UAVs, the time and energy consumption of task allocation using the method of the present invention and the traditional method are shown in Table 3.
[0106] Table 3 Time and energy consumption of three UAVs for operation and task allocation
[0107]
[0108] (2) Assuming that there are 4 UAVs and 2 supply vehicles in the aerial defense team, and each supply vehicle can serve 2 UAVs, the time and energy consumption of task allocation using the method of the present invention are shown in Table 4.
[0109] Table 4 Time and energy consumption of 4 UAVs for operation and task allocation
[0110]
[0111] The area of the working area in scenario 1 is relatively large, with a single working area of about 15 to 100 mu. The area of the working area in scenario 2 is relatively small, with a single working area of about 1 mu. Both scenarios incorporate working areas of various convex polygonal shapes into the scenes. From the perspective of the number of task divisions, since the method of the present invention considers reducing the number of returns to the supply station in the path planning within the working area, the multi-area route planning and task allocation method in both scenarios reduces the number of task divisions compared to the two traditional methods, thereby reducing the working time of a single field.
[0112] In terms of subtask division, the method of the present invention takes into account the battery and maximum drug load of the plant protection drone to determine the return point of the plant protection drone. Using the subtask division and task allocation method proposed in the present invention, Figure 3 and Figure 4 The comparison is made in terms of time and energy consumption respectively. Since the method of the present invention combines the shape of the operating area and the actual battery capacity and maximum drug load of the plant protection drone, it avoids the unnecessary returns caused by the empirical determination of the unit operating area. As can be seen from the figure, the method of the present invention has advantages in 4, 6 plant protection drones, large areas, and small areas of operation, and is more advantageous in scenarios with large operating areas and a large number of drones. Among them, when 6 drones were performing scene 1 operations, in terms of time consumption, the unit operating area method was reduced by 60.32%, and the method of the present invention was 6.31% lower than the unit area method. In terms of energy consumption, the method of the present invention was reduced by 32.42%, and the method of the present invention was 11.83% lower than the unit area method. In the operation scenario of a small operating area, due to the limited amount of work in the operating area, the improvement in the operating efficiency of the method of the present invention and the unit area method is limited.
[0113] 3.3 Discussion
[0114] The present invention discusses the route planning and subtask division and allocation based on the minimum number of return flights. From the perspective of route planning, field research has found that the number of times the battery of a drone is charged is an important factor affecting the service life of the drone, and battery loss is also an important part of the operating cost of the flight defense team. The drone route planning of the present invention is based on the line scanning method, and on the basis of reducing the number of return flights, the optimization method is to minimize the operation and return time.
[0115] In terms of subtask allocation, the present invention discusses the problem of flight defense task allocation for large and small farmlands in the operation scenario of the flight defense team. The present invention considers the path planning and task allocation problems in the field to reduce the overall time and energy consumption of the flight defense team. The present invention uses a calculation method to refine the task allocation method, divides the subtasks according to the route planning results and the endurance and drug load of the plant protection drone, accurately calculates the time and energy consumption of each subtask, and uses a heuristic algorithm to allocate subtasks to each aircraft in the flight defense team. The method of the present invention can obtain less time and energy consumption than the subtask allocation method of the prior art.
[0116] 4 Conclusion
[0117] Aiming at the operation mode of the flying defense team of multiple plant protection drones in multiple operation areas, the present invention proposes a route planning method that comprehensively considers the time consumption of drone plant protection operations, supply round trips, and supply processes. Taking the route as the basic unit, the subtasks are divided based on the battery capacity and maximum drug load of the plant protection drone as constraints. In terms of task allocation, the particle swarm method is used to allocate tasks with the minimum total operation time as the optimization goal.
[0118] The method of the present invention has the best advantages in the calculation examples of large-area operation areas and multiple drones, reducing the time consumption by 60.32% and 5.06% compared with the unit operation area method, and reducing the energy consumption by 32.42% and 11.07% compared with the unit area method. The method of the present invention has advantages in time and energy consumption.
[0119] The specific embodiments described in the present invention are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the attached claims.
Claims
1. A method for route planning and task allocation of plant protection drones in multiple operating areas, characterized in that It includes the following steps: S1. Determine the optimal heading angle; solve the optimal function, obtain the heading angle array, and find the angle in the array that corresponds to the minimum total operation time as the optimal heading angle; Taking operation time as optimization objective, the optimal function is: minz=T The constraints include: Where: T represents the total operation time, unit S; len i represents the length of the plant protection operation path in the subtask, unit m; dt i represents the flight speed of the UAV, unit m / s; C represents the time for the UAV to ascend, descend, replace the battery, and replenish the liquid medicine, unit S; x ijk represents the decision variable, taking 1 when the path (i, j) is visited by the UAV k, otherwise taking 0; x i represents the length from the return point of the subtask to the supply point, unit m; en_cons represents the battery consumption speed of the UAV, unit mah / m; q i represents the pesticide consumption speed during the plant protection operation of the UAV, unit L / S; E k represents the maximum battery capacity of the UAV, unit mah; Q k represents the total maximum drug loading capacity of the UAV, unit L; K represents the set of UAVs K = {k丨1, 2, ……, m}; V represents the set of divided subtasks; S2. Divide subtasks based on the optimal heading angle; including: S2-1, input the course angle from 0-180 degrees in steps of 10, and use the line scanning method to obtain the number of routes, operation time, energy consumption and number of return trips of the operation site; determine the course angle with the goal of minimizing the number of return trips and the time and energy consumption; S2-2, based on the spray width of the drone, the number of routes is obtained using the line scanning method; S2-3, based on the drone battery consumption rate en_cons, pesticide consumption rate dr_cons, the drone's maximum battery capacity ET, and the maximum pesticide load DT, solve the drone's subtasks, subtask energy and time consumption, and then solve the subtask allocation; the specific steps are: S2-3-1. Calculate the energy consumption E of the plant protection UAV from taking off from the supply point to the starting point of the route start , UAV flight length X start ; At this time, the energy consumption E = E start , flight distance length X = X start ; S2-3-2, starting from the first route j=1, i=1, calculate the energy E of route i in sequence i and pesticide consumption i And the flight length of plant protection operation X i , E=E+E i , E i =dis(X i )*en_cons; Pesticide spraying amount D = D + D i , D i =dis(X i )*dr_cons,X=X+X i , j = j + 1; where dis(X i ) represents the length of route i; S2-3-3. If E exceeds 80% of the maximum battery capacity ET or D is greater than the maximum payload DT of the drone, then E = EE i , D=DD i ,X=XX i ; Take route i to route j-1 as a subtask; the energy consumption of the subtask is E=E+dis(x j-1 )*en_cons is the energy consumption of the subtask, en_cons represents the battery consumption rate of the drone; D is the pesticide spraying amount of the subtask, and the time consumption is T = (X + dis (x j-1 )) / dr_cons, dr_cons represents the pesticide consumption rate during UAV plant protection operation; otherwise, continue with (2); where, dis(x j-1 ) represents the distance from route j-1 to the supply point; S2-3-4, i=j, j=j+1; repeat this process until all routes are traversed and return to the supply point; S3. Use the particle swarm method to optimize the subtask allocation and output the final subtask; the specific steps are: S3-1, initialize the population, randomly initialize the speed and position of the particles, where c1 and c2 are learning factors; S3-2, according to the optimal function minz = T t Calculate the fitness of each particle according to v i =v i +c1*rand(0,1)*(pbest i -x i )+c2*rand(0,1)*(gbest i -x i ) to optimize the particle velocity, where: v i is the current velocity of the particle, x i is the current position of the particle, pbest i is the best position of a single particle, gbest i is the best particle position in the particle swarm; S3-3, according to x i =x i +v i Update the position of particles; S3-4, repeatedly iterate S3-2 and S3-3 until the number of iterations or the minimum value between generations is reached and the loop ends.
Citation Information
Patent Citations
Automatic planning method for flight path of unmanned helicopter for spraying pesticide in farmland operation area
CN103699135A
Drone spraying planning method
CN109090076A
Plant protection machine full-autonomous operation path planning method
CN111487989A
Multi-operation plant protection unmanned aerial vehicle path planning method based on improved ant colony algorithm
CN113703488A
Unmanned aerial vehicle hierarchical path planning method under multi-target constraint
CN113985922A
