Intelligent planning method for cooperative path of vehicle and unmanned aerial vehicle

By introducing the mixed integer linear programming model and reinforcement learning optimization algorithm into the collaborative delivery path planning of drones and vehicles, the problems of low path planning efficiency and poor parameter adaptability in the existing technology are solved, and efficient and adaptable collaboration is achieved. Delivery routing solutions.

CN118747568APending Publication Date: 2024-10-08HEFEI UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410879443.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The existing collaborative delivery path planning algorithm between drones and vehicles is inefficient and cannot meet the time requirements of customized services. It also has poor parameter adaptability and is difficult to adapt to complex or dynamic scenarios.

Method used

A mixed integer linear programming model is used, combined with greedy algorithm, tabu search algorithm and genetic algorithm, and cross-mutation parameters are optimized through reinforcement learning to generate a target genetic algorithm to adapt to specific scenarios, satisfy time window constraints and endurance time constraints, and optimize vehicle and autonomous driving. Human-machine collaborative delivery path.

Benefits of technology

It improves the efficiency and adaptability of collaborative delivery paths between vehicles and drones, and can adapt to customized scenarios to meet the time requirements of complex or dynamic problems and achieve ideal delivery paths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747568A_ABST
    Figure CN118747568A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle and unmanned aerial vehicle cooperative path intelligent planning method, and relates to the technical field of path planning, and the method comprises the steps: obtaining task parameters, and setting a target constraint condition containing a time window constraint; constructing a vehicle-machine cooperative distribution model; generating an initial solution set through a greedy algorithm; fusing a tabu search algorithm and a genetic algorithm to determine a first genetic algorithm; adjusting the first genetic algorithm based on a reinforcement learning algorithm to obtain a target genetic algorithm; and determining a cooperative distribution path of the vehicle and the unmanned aerial vehicle through a target genetic algorithm. According to the method, the time requirement commonly existing in the in-vehicle cooperative distribution customization service is fully considered, and the customized in-vehicle cooperative distribution model is constructed to optimize resource distribution; when a complex or dynamic problem is processed, the target genetic algorithm can automatically find parameter configuration adapting to a specific problem, manual adjustment is not needed, and the method can be adaptive to a customized scene of collaborative distribution of a specific vehicle and an unmanned aerial vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to a method for intelligently planning a collaborative path between a vehicle and an unmanned aerial vehicle. Background Art

[0002] As an emerging delivery method, drone delivery has many advantages over traditional truck delivery. Drone flight is not restricted by road conditions and geographical conditions, and can effectively expand the efficiency of space use. However, drones have problems such as small cargo capacity, limited range, and susceptibility to interference. Drones alone cannot meet the needs of modern logistics. To this end, the drone and vehicle collaborative delivery model can be used for logistics transportation. The vehicle carries one or more drones, and the drones are used in scenarios such as terminal delivery and instant delivery. The vehicle can serve as a "mobile warehouse" for drones while transporting large goods, which can complement the advantages of vehicles and drones and make logistics delivery more efficient.

[0003] In related technologies, research on path planning for collaborative delivery between drones and vehicles can summarize the problem from aspects such as application scenarios, objective functions, and solution algorithms, so as to analyze the delivery path problem and realize the hierarchical distribution of materials; however, the vehicle-machine collaborative delivery model considers the problem in a relatively one-sided way, the parameters set in the solution algorithm are fixed, the algorithm solution efficiency is low, and it cannot solve the time requirement problem commonly existing in customized services. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a method for intelligent planning of collaborative paths between vehicles and UAVs, which solves the problem that the parameters of genetic algorithms have poor adaptability and are difficult to meet the time requirements commonly found in customized collaborative delivery tasks.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a method for intelligently planning a collaborative path between a vehicle and a drone, the path optimization method comprising:

[0007] Obtain the task parameters to be analyzed in the path optimization task, and set the target constraint conditions with time window constraints to meet the time requirements of the customized scenario; the task parameters include drone information, vehicle information, customer demand information and road network information;

[0008] Based on the target constraints, a vehicle-machine collaborative distribution model is constructed with the goal of minimizing the time it takes for at least one of the vehicle and the drone to return to the physical warehouse. The vehicle-machine collaborative distribution model is a mixed integer linear programming model.

[0009] Solve the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set;

[0010] The preset taboo search algorithm and the preset genetic algorithm are integrated to determine a first genetic algorithm;

[0011] Based on a preset reinforcement learning algorithm, the crossover mutation parameters in the first genetic algorithm are adjusted to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario;

[0012] The initial solution set is used as the initial population of the target genetic algorithm. The vehicle-machine collaborative delivery model is solved by the target genetic algorithm to determine the collaborative delivery path of vehicles and drones.

[0013] According to a first aspect of an embodiment of the present application, the time window constraint includes a first time window constraint and a second time window constraint, and the two correspond to a vehicle and a drone, respectively; the first time window constraint satisfies the expression:

[0014]

[0015] In the formula, i and j represent nodes, t j represents the time when the vehicle arrives at node j, N0 = {0, 1, ..., c} and represents the set of nodes that the vehicle may leave, C represents the set of all customers and satisfies: C = {1, 2, ..., c};

[0016] e j and l j Represents the two endpoints of the j-node time window, x ij is the decision variable. When the vehicle moves from node i to node j, x ij Take 1, when the vehicle does not move from node i to node j, x ij Take 0;

[0017] The second time window constraint satisfies the expression:

[0018]

[0019] In the formula, k represents the node, N + ={1, 2, ..., c+1} and represents the node group that the vehicle may visit during driving, t′ j represents the time when the drone arrives at node j, and C′ represents the subset of customers that may be served by drones and satisfy: P is a set of tuples and includes i, j, k;

[0020] y ijk is the decision variable. When the UAV is launched from node i and serves node j and then returns to node k, y ijk Take 1, if the drone does not launch from node i and serve node j before returning to node k, y ijkTake 0.

[0021] According to a first aspect of an embodiment of the present application, based on a preset reinforcement learning algorithm, a crossover mutation parameter in a first genetic algorithm is adjusted to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario, including:

[0022] The number of reinforcement learning iterations is set to 1 and the Q table is initialized. Based on the first population of the first generation in the first genetic algorithm, the first state corresponding to the first population is calculated;

[0023] Randomly select and execute a first action from the action set corresponding to the first state in the Q table, and transmit a first crossover probability and a first mutation probability corresponding to the first state to the first genetic algorithm to perform initial optimization on the crossover and mutation parameters in the first genetic algorithm;

[0024] Calculating a second population based on the first crossover probability and the first mutation probability, and determining a second state corresponding to the second population and a reward value corresponding to the second state;

[0025] According to a preset action selection strategy, a second action is selected from the action set corresponding to the second state, and executed, and a second crossover probability and a second mutation probability corresponding to the second state are transmitted to the first genetic algorithm, so as to optimize the crossover and mutation parameters in the first genetic algorithm again;

[0026] A preset Q-learning strategy is used to calculate a target Q value corresponding to the second state, and the Q table is updated based on the target Q value;

[0027] When the updated Q table corresponds to a preset maximum number of iterations, determining the current genetic algorithm as the target genetic algorithm;

[0028] When the updated Q table does not correspond to the preset maximum number of iterations, the iterative calculation of the reinforcement learning is continued.

[0029] According to the first aspect of the embodiment of the present application, the target constraint condition also includes a drone endurance time constraint; the vehicle-machine collaborative delivery model is solved by a preset greedy algorithm to generate an initial solution set, including:

[0030] Read node information from preprocessed task parameters to generate a target node set; the node information includes node numbers, node coordinates, inter-node distances, service time, and time windows of all nodes;

[0031] Determine the service order of the nodes in the target node set based on a preset sequence coding method, and use a preset 0-1 coding method to determine whether each node in the target node set is served by a drone or a vehicle, thereby obtaining first coding information;

[0032] Traverse the nodes in the first coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, and determine whether the service time meets the time window constraint, and return the corresponding penalty value;

[0033] When the current total flight time of the UAV does not exceed the UAV endurance time constraint, the last node of the UAV path is moved back to the starting point to obtain the initial UAV path;

[0034] The remaining nodes except the first and last nodes in the initial UAV path are removed from the vehicle's to-be-visited list to determine the first initial vehicle path;

[0035] When all nodes to be visited are completely traversed, the first initial vehicle path and the initial drone path are output as the initial solution set;

[0036] When all nodes to be visited have not been completely traversed, the last node of the first initial vehicle path is moved back to the starting point to obtain a second initial vehicle path, and the set of the second initial vehicle path and the initial drone path is output as an initial solution set.

[0037] According to the first aspect of the embodiment of the present application, when the current total flight time of the drone exceeds the drone endurance time constraint, before moving the last node of the drone path back to the starting point to obtain the initial drone path, the vehicle and drone collaborative path intelligent planning method further includes:

[0038] Through the sequential coding method and the 0-1 coding method, the node information to be visited is re-determined at least once, and a traversal analysis is performed until it is determined that the current total flight time of the drone does not exceed the drone endurance time constraint.

[0039] According to a first aspect of an embodiment of the present application, by using a sequential encoding method and a 0-1 encoding method, the node information to be visited is re-determined at least once, and a traversal analysis is performed, including:

[0040] Add visited tags to the nodes currently traversed by the drone to generate service path information;

[0041] Based on the service path information, adjusting the first coding information by a sequential coding method and a 0-1 coding method to generate second coding information;

[0042] Traverse the nodes in the second coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, and determine whether the service time meets the time window constraint, and return the corresponding penalty value;

[0043] Determine whether the current total flight time of the drone exceeds the drone endurance time constraint.

[0044] According to a first aspect of an embodiment of the present application, the target constraint condition further includes a vehicle behavior constraint, a drone behavior constraint, and a vehicle-drone mutual constraint; wherein the vehicle behavior constraint satisfies the expression:

[0045]

[0046] In the formula, i, j, h, l and k represent nodes, x hi 、x lk 、x hk 、x jk and 0jk are decision variables. When the vehicle moves from node h to node i, x hi Take 1, when the vehicle does not move from node h to node i, x hi Take 0;

[0047] When the vehicle moves from node , to node k, x lk Take 1, when the vehicle does not move from node l to node k, x lk Take 0;

[0048] In the case where the vehicle moves from node h to node k, x hk Take 1, when the vehicle does not move from node h to node k, x hk Take 0;

[0049] In the case where the vehicle moves from node j to node k, x jk Take 1, when the vehicle does not move from node j to node k, x jk Take 0;

[0050] If the vehicle starts from the warehouse, visits node j and then returns to node k, then y 0jk Take 1, otherwise y 0jk Take 0.

[0051] According to a first aspect of an embodiment of the present application, the drone behavior constraint satisfies the expression:

[0052]

[0053] The mutual constraints between vehicles and drones include access order constraints and time consistency constraints; among them, the access order constraints satisfy the expression:

[0054]

[0055] In the formula, u k is the order in which the vehicle visits node k, u i is the order in which the vehicle visits node i, u j is the order in which vehicles visit node j, p 0j=1 means node 0 must be the starting node in the vehicle route, p ij and p ji are all decision variables; in the case where the vehicle traverses node i before traversing node j, p ij Take 1, if the vehicle has not traversed node i before traversing node j, p ji Take 0; if the vehicle traverses node j before traversing node i, p ij Take 1, if the vehicle has not traversed node j before traversing node i, p ji Take 0.

[0056] According to a first aspect of an embodiment of the present application, the time consistency constraint satisfies the expression:

[0057]

[0058]

[0059] Where, t i is the time it takes for the vehicle to reach node i, t′ i is the time when the UAV arrives at node i, t k is the time when the vehicle arrives at node k, t′ k is the time when the drone arrives at node k, M is a sufficiently large number, and M is greater than or equal to the last time when the drone and truck return to the warehouse.

[0060] In a second aspect, an embodiment of the present application provides a vehicle and drone collaborative path intelligent planning system, the path optimization system comprising a setting module, a construction module, a generation module, a fusion module, an adjustment module and a solution module; wherein the setting module is used to obtain task parameters to be analyzed in the path optimization task, and set target constraint conditions containing time window constraints to meet the time requirements of customized scenarios; wherein the task parameters include drone information, vehicle information, customer demand information and road network information;

[0061] The construction module is used to construct a vehicle-machine collaborative distribution model based on target constraints and with the goal of minimizing the time for at least one of the vehicle and the drone to return to the physical warehouse; wherein the vehicle-machine collaborative distribution model is a mixed integer linear programming model;

[0062] The generation module is used to solve the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set;

[0063] The fusion module is used to fuse the preset taboo search algorithm and the preset genetic algorithm to determine the first genetic algorithm;

[0064] The adjustment module is used to adjust the crossover and mutation parameters in the first genetic algorithm based on a preset reinforcement learning algorithm to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario;

[0065] The solution module is used to use the initial solution set as the initial population of the target genetic algorithm, solve the vehicle-machine collaborative delivery model through the target genetic algorithm, and determine the collaborative delivery path of vehicles and drones.

[0066] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the method for intelligent planning of collaborative paths between vehicles and UAVs in the aforementioned first aspect is implemented.

[0067] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a program or instruction. When the program or instruction is executed by a processor, the vehicle and drone collaborative path intelligent planning method in the aforementioned first aspect is implemented.

[0068] This application provides a method for intelligent planning of collaborative paths between vehicles and drones. Compared with the prior art, it has the following beneficial effects:

[0069] The present application sets target constraint conditions containing time window constraints, fully considers the time requirements commonly present in the customized service of vehicle-machine collaborative delivery, and constructs a customized vehicle-machine collaborative delivery model to optimize resource allocation; when solving the vehicle-machine collaborative delivery model, the present application introduces a taboo search algorithm to merge with a preset genetic algorithm to generate a first genetic algorithm; and further introduces a reinforcement learning algorithm to optimize the crossover mutation parameters in the first genetic algorithm to generate a target genetic algorithm, so that the target genetic algorithm has high parameter adaptability. When dealing with complex or dynamic problems, the target genetic algorithm can automatically find parameter configurations that are suitable for specific problems. Without manual adjustment, it can adapt to the customized scenario of specific vehicle and drone collaborative delivery, and solve and determine the ideal vehicle and drone collaborative delivery path. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0071] Figure 1 It is a flowchart of a method for intelligently planning a collaborative path between a vehicle and a drone provided in an embodiment of the present application;

[0072] Figure 2 yes Figure 1 An exemplary flow chart of S130;

[0073] Figure 3 It is a structural diagram of a vehicle and unmanned aerial vehicle collaborative path intelligent planning system provided in an embodiment of the present application;

[0074] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0075] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0076] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0077] The embodiment of the present application provides a method for intelligent planning of collaborative paths between vehicles and drones, thereby solving the problem that the parameters of genetic algorithms have poor adaptability and are difficult to meet the time requirements commonly found in customized collaborative delivery tasks, and realizing adaptive adjustment of the target genetic algorithm for scenarios requiring specific positioning and precise transportation.

[0078] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:

[0079] As an emerging delivery tool, drones have received extensive attention. Compared with traditional truck delivery, drone delivery has many advantages. Drone flight is not restricted by road conditions and geographical conditions, and can effectively expand the efficiency of space use. However, drones still have shortcomings such as small cargo capacity, limited range, and susceptibility to interference. Using them alone cannot meet the needs of modern logistics. Based on this, using drones and ground vehicles to complete delivery together can enable drones to reduce the delivery tasks of trucks within their capabilities, making logistics delivery more efficient and economically more advantageous. The combined delivery of vehicles and drones has a good application prospect. Collaborative delivery of vehicles and drones is a relatively common mode. Vehicles carry one or more drones. Drone delivery is suitable for scenarios such as terminal delivery and instant delivery. Vehicles can serve as "mobile warehouses" for drones while transporting large goods, which can complement the advantages of vehicles and drones to make logistics delivery more efficient.

[0080] In the related technologies, the research on the path planning of drone and vehicle collaborative delivery can summarize the problems from the aspects of application scenarios, objective functions, and solution algorithms to analyze the delivery path problem; by taking the shortest running time for all vehicles to return to the warehouse as the goal, a vehicle-machine collaborative delivery model is constructed; by solving the vehicle-machine collaborative delivery model, the optimal vehicle-drone collaborative delivery path can be obtained. However, the path planning of drones and vehicles does not take into account customized delivery services, the vehicle-machine collaborative delivery model considers the problem in a relatively one-sided way, the parameters set in the solution algorithm are fixed, and the algorithm solution efficiency is low, which cannot solve the time requirement problem that is common in customized services.

[0081] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0082] The following first introduces a vehicle and drone collaborative path intelligent planning method provided in an embodiment of the present application.

[0083] The present application provides a flow chart of a method for intelligently planning a collaborative path between a vehicle and a drone, as shown in FIG. Figure 1 As shown, the method may include the following steps S110-S160.

[0084] S110, obtaining task parameters to be analyzed in the path optimization task, and setting target constraint conditions including time window constraints to meet the time requirements of the customized scenario; wherein the task parameters include drone information, vehicle information, customer demand information and road network information.

[0085] S120. Based on the target constraints, a vehicle-machine collaborative distribution model is constructed with the goal of minimizing the time it takes for at least one of the vehicle and the drone to return to the physical warehouse; wherein the vehicle-machine collaborative distribution model is a mixed integer linear programming model.

[0086] S130. Solve the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set.

[0087] S140: Fusing a preset taboo search algorithm and a preset genetic algorithm to determine a first genetic algorithm.

[0088] S150: Based on a preset reinforcement learning algorithm, adjust the crossover mutation parameters in the first genetic algorithm to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario.

[0089] S160. Using the initial solution set as the initial population of the target genetic algorithm, solving the vehicle-machine collaborative delivery model through the target genetic algorithm, and determining the vehicle-UAV collaborative delivery path.

[0090] In the embodiments of the present application, it can be understood that in order to determine the optimal path for the coordinated delivery of drones and vehicles, it is necessary to minimize the time spent on the entire logistics transportation process. Based on this, in the process of optimizing the path for the coordinated delivery of drones and vehicles, it is necessary to model the shortest time for at least one of the vehicles and drones to return to the physical warehouse, obtain a vehicle-machine coordinated delivery model, and set target constraints corresponding to the vehicle-machine coordinated delivery model. By solving the aforementioned vehicle-machine coordinated delivery model, a more ideal delivery path can be obtained.

[0091] Specifically, the target constraint conditions need to be constructed based on the actual task parameters to be analyzed in the path optimization task. In order to meet the common time requirements in the customized service of vehicle-machine collaborative delivery, a customized vehicle-machine collaborative delivery model is set up to optimize resource allocation. The target constraint conditions constructed in this application include time window constraints.

[0092] When solving the vehicle-machine collaborative delivery model, this application introduces a taboo search algorithm to merge with the preset genetic algorithm to generate a first genetic algorithm; and introduces a reinforcement learning algorithm to optimize the crossover mutation parameters in the first genetic algorithm to generate a target genetic algorithm, ensuring that the target genetic algorithm has high parameter adaptability. When dealing with complex or dynamic problems, the target genetic algorithm can automatically find parameter configurations that are suitable for specific problems. Without manual adjustment, it can adapt to the customized scenario of specific vehicle and drone collaborative delivery, and the target genetic algorithm has high efficiency.

[0093] In some embodiments, the time window constraint includes a first time window constraint and a second time window constraint, and the two correspond to the vehicle and the drone respectively; the first time window constraint satisfies the expression:

[0094]

[0095] In the formula, i and j represent nodes, t j represents the time when the vehicle arrives at node j, N0 = {0, 1, ..., c} and represents the set of nodes that the vehicle may leave, C represents the set of all customers and satisfies: C = {1, 2, ..., c};

[0096] e j and l j Represents the two endpoints of the j-node time window, x ij is the decision variable. When the vehicle moves from node i to node j, x ij Take 1, when the vehicle does not move from node i to node j, x ij Take 0.

[0097] The second time window constraint satisfies the expression:

[0098]

[0099] In the formula, k represents the node, N + ={1, 2, ..., c+1} and represents the node group that the vehicle may visit during driving, t′ j represents the time when the drone arrives at node j, and C′ represents the subset of customers that may be served by drones and satisfy: P is a set of tuples including i, j, k; the time window of node j is [e j , l j ];

[0100] y ijk is the decision variable. When the UAV is launched from node i and serves node j and then returns to node k, y ijk Take 1, if the drone does not launch from node i and serve node j before returning to node k, y ijk Take 0;

[0101] It should be noted that constraint (1) is the aforementioned first time window constraint, and constraint (2) is the aforementioned second time window constraint; constraint (1) means that if a vehicle serves a customer at point j, the time when the vehicle arrives at point j is constrained to be within the time window of point j; constraint (2) means that if a drone serves a customer at point j, the time when the drone arrives at point j is constrained to be within the time window of point j.

[0102] In some embodiments, please refer to Figure 2, the aforementioned target constraint condition also includes the UAV endurance time constraint; solving the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set, that is, the aforementioned S130 may specifically include the following steps:

[0103] S210, reading node information from the preprocessed task parameters to generate a target node set; the node information includes the node numbers, node coordinates, inter-node distances, service times, and time windows of all nodes.

[0104] S220. Determine the service order of the nodes in the target node set based on a preset sequential coding method, use a preset 0-1 coding method to determine whether each node in the target node set is served by a drone or a vehicle, and obtain first coding information.

[0105] S230, traverse the nodes in the first coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, and determine whether the service time meets the time window constraint, and return the corresponding penalty value.

[0106] S240: When the current total flight time of the UAV does not exceed the UAV endurance time constraint, move the last node of the UAV path back to the starting point to obtain an initial UAV path.

[0107] S250: remove the remaining nodes in the initial UAV path except the first and last nodes from the vehicle's to-be-visited list to determine a first initial vehicle path.

[0108] S260. When all nodes to be visited are completely traversed, output the first initial vehicle path and the initial drone path as an initial solution set.

[0109] S270. When all nodes to be visited have not been completely traversed, move the last node of the first initial vehicle path back to the starting point to obtain a second initial vehicle path, and output the set of the second initial vehicle path and the initial drone path as an initial solution set.

[0110] In the embodiments of the present application, it can be understood that the initial solution set needs to correspond to both the vehicle's driving path information and the drone's driving path information; in the process of planning the driving paths of vehicles and drones by solving the vehicle-machine collaborative distribution model, in order to minimize the latest time for the truck or drone to return to the warehouse, it is necessary to first determine whether each node in the target node set is served by a drone or a vehicle.

[0111] In the process of solving the vehicle-machine collaborative delivery model based on the greedy algorithm, the current total flight time of the drone is analyzed in real time considering the drone's endurance time constraint. When the current total flight time of the drone does not exceed the drone's endurance time constraint, the initial drone path can be directly determined. By judging whether all the current nodes to be visited have been completely traversed, the path corresponding to the vehicle is further processed to determine the initial solution set in combination with the initial drone path.

[0112] In some embodiments, when the current total flight time of the drone exceeds the drone endurance time constraint, before the last node of the drone path is moved back to the starting point to obtain the initial drone path, the vehicle and drone collaborative path intelligent planning method may further include:

[0113] S241. Re-determine the node information to be visited at least once through the sequential coding method and the 0-1 coding method, and perform traversal analysis until it is determined that the current total flight time of the drone does not exceed the drone endurance time constraint.

[0114] In the embodiment of the present application, it can be understood that in the process of solving the vehicle-machine collaborative delivery model based on the greedy algorithm, the drone's current total flight time is analyzed in real time considering the drone's endurance time constraint. When the drone's current total flight time exceeds the drone's endurance time constraint, it means that the drone can no longer travel to the next node.

[0115] Based on this, before determining the initial UAV path, the path planning and traversal analysis can be re-performed through the sequential coding method and the 0-1 coding method until the current total flight time of the UAV meets the constraint of not exceeding the UAV endurance time, and then the initial UAV path in the initial solution set can be determined.

[0116] In one example, the aforementioned sequential coding method and the 0-1 coding method are used to redetermine the node information to be visited at least once, and perform traversal analysis, that is, the aforementioned S241 may specifically include the following steps:

[0117] S310: Add a visited tag to the node currently traversed by the drone to generate service path information.

[0118] S320. Based on the service path information, the first coding information is adjusted by a sequential coding method and a 0-1 coding method to generate second coding information.

[0119] S330, traverse the nodes in the second coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, and determine whether the service time meets the time window constraint, and return the corresponding penalty value.

[0120] S340: Determine whether the current total flight time of the drone exceeds the drone endurance time constraint.

[0121] In some embodiments, the crossover and mutation parameters in the first genetic algorithm are adjusted based on a preset reinforcement learning algorithm to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario, that is, the aforementioned S150 may specifically include the following steps:

[0122] S410, the number of reinforcement learning iterations is set to 1 and the Q table is initialized, and based on the first population of the initial generation in the first genetic algorithm, a first state corresponding to the first population is calculated.

[0123] S420, randomly selecting and executing a first action from the action set corresponding to the first state in the Q table, and transmitting a first crossover probability and a first mutation probability corresponding to the first state to the first genetic algorithm to perform initial optimization on the crossover and mutation parameters in the first genetic algorithm.

[0124] S430: Calculate a second population based on the first crossover probability and the first mutation probability, and determine a second state corresponding to the second population and a reward value corresponding to the second state.

[0125] S440, according to a preset action selection strategy, select and execute a second action from the action set corresponding to the second state, and transmit a second crossover probability and a second mutation probability corresponding to the second state to the first genetic algorithm to optimize the crossover and mutation parameters in the first genetic algorithm again.

[0126] S450: Calculate a target Q value corresponding to the second state using a preset Q-learning strategy, and update the Q table based on the target Q value.

[0127] S460: When the updated Q table corresponds to a preset maximum number of iterations, determine the current genetic algorithm as a target genetic algorithm.

[0128] S470: When the updated Q table does not correspond to the preset maximum number of iterations, continue the iterative calculation of the reinforcement learning.

[0129] In the embodiments of the present application, it is understandable that the traditional genetic algorithm cannot automatically adjust the algorithm parameters according to the actual scenario during use, and the efficiency and accuracy of the genetic algorithm solution are insufficient; the present application determines the first genetic algorithm by integrating and improving the preset genetic algorithm through the taboo search algorithm, but the crossover mutation parameters in the first genetic algorithm still cannot achieve automatic optimization.

[0130] Based on this, the present application introduces a reinforcement learning algorithm to improve the first genetic algorithm. During the population update process, the crossover probability and mutation probability corresponding to the current state are transmitted to the first genetic algorithm to optimize the crossover and mutation parameters in the first genetic algorithm. The present application presets a maximum number of iterations to determine whether the iterative calculation of the reinforcement learning is stopped, thereby controlling the update process of the crossover and mutation parameters in the first genetic algorithm.

[0131] In one example, the aforementioned initial solution set is used as the initial population of the target genetic algorithm, the vehicle-machine collaborative delivery model is solved by the target genetic algorithm, and the vehicle-drone collaborative delivery path is determined, that is, S160 may specifically include the following steps:

[0132] S161. Set the execution parameters of the genetic algorithm, which include the maximum number of iterations N and the current number of iterations n; when initializing the initial population of the genetic algorithm, use the initial solution generated in the first stage as the initial population, and initialize the taboo table to record the solutions that have been visited.

[0133] S162, let n=n+1, determine whether n≥N is established, if so, execute S169, otherwise, execute the next step.

[0134] S163. Set the selection type. If the selection type is "rank", a roulette wheel selection method based on ranking is used. Otherwise, a roulette wheel selection operation based on fitness value is used to randomly select the parent population from the current solution.

[0135] S164. Perform a crossover operation on the parent population to generate a new offspring population by exchanging some genes of the parent; perform a mutation operation on the offspring population to increase the diversity of the population by changing some genes to obtain a mutated offspring population; compare the fitness values ​​of the mutated offspring population and select the best individual as the candidate solution.

[0136] S165. Determine whether the candidate solution satisfies that each customer point is served only once by a vehicle or a drone. If so, execute S166; otherwise, execute S167.

[0137] S166. Replace the current optimal solution with the candidate solution, update the taboo table, and return to S162.

[0138] S167. Check whether this candidate solution exists in the taboo table. If so, return to S162; otherwise, execute the next step.

[0139] S168. Take the candidate solution as the new current solution, update the taboo table, and return to S162.

[0140] S169: Output the current solution as the optimal solution, and output the total delivery time of the optimal solution.

[0141] In some embodiments, the target constraint condition further includes vehicle behavior constraint, drone behavior constraint, and vehicle-drone mutual constraint; wherein the vehicle behavior constraint satisfies the expression:

[0142]

[0143] In the formula, i, j, h, l and k represent nodes, x hi 、x lk 、x hk 、x jk and 0jk are decision variables. When the vehicle moves from node h to node i, x hi Take 1, when the vehicle does not move from node h to node i, x hi Take 0;

[0144] When the vehicle moves from node l to node k, x lk Take 1, when the vehicle does not move from node l to node k, x lk Take 0;

[0145] In the case where the vehicle moves from node h to node k, x hk Take 1, when the vehicle does not move from node h to node k, x hk Take 0;

[0146] In the case where the vehicle moves from node j to node k, x jk Take 1, when the vehicle does not move from node j to node k, x jk Take 0;

[0147] If the vehicle starts from the warehouse, visits node j and then returns to node k, then y 0jk Take 1, otherwise y 0jk Take 0;

[0148] It should be noted that formula (5) represents constraint (5), which ensures that when a vehicle arrives at a customer point, it must leave the customer point; constraints (3) and (4) ensure that when the UAV is launched and recovered at a customer point, both customer points must be on the truck path;

[0149] In some embodiments, the drone behavior constraint satisfies the expression:

[0150]

[0151] It should be noted that constraints (6) and (7) describe a certain customer point in the path. If the UAV is launched from this customer point, it must and can only serve one customer point before returning to the vehicle at the next customer point; if the UAV does not launch at this customer point, it stays on the vehicle.

[0152] In some embodiments, the mutual constraints between the vehicle and the drone include an access order constraint and a time consistency constraint; wherein the access order constraint satisfies the expression:

[0153]

[0154]

[0155] In the formula, u k is the order in which the vehicle visits node k, u i is the order in which the vehicle visits node i, u j is the order in which vehicles visit node j, p 0j =1 means node 0 must be the starting node in the vehicle route, p ij and p ji are all decision variables; in the case where the vehicle traverses node i before traversing node j, p ij Take 1, if the vehicle has not traversed node i before traversing node j, p ji Take 0; if the vehicle traverses node j before traversing node i, p ij Take 1, if the vehicle has not traversed node j before traversing node i, p ji Take 0; In addition, p 0j =1 means that in the vehicle segment, node 0 must be the starting node in the vehicle route;

[0156] It should be noted that constraint (8) means that if the UAV is launched from customer point i and collected at customer point k, then the vehicle must visit i before k; constraints (9), (10) and (11) are used to determine p ij appropriate value of .

[0157] In some embodiments, the temporal consistency constraint satisfies the expression:

[0158]

[0159] Where, t i is the time it takes for the vehicle to reach node i, t′ i is the time when the UAV arrives at node i, t k is the time when the vehicle arrives at node k, t′ kis the time when the drone arrives at node k, M is a sufficiently large number, and M is greater than or equal to the last time when the drone and truck return to the warehouse.

[0160] It should be noted that constraints (13) and (14) ensure that the vehicle and the drone have time coordination when the drone is launched from the client node i. The drone and the vehicle may leave the physical warehouse at different times. These constraints will force the vehicle and the drone to arrive at node i at the same time.

[0161] Constraints (15) and (16) indicate that when the UAV returns to the truck at node k, the truck and the UAV are time-coordinated. These constraints will force the truck and the UAV to arrive at node k at the same time.

[0162] In one example, the objective function in the vehicle-machine collaborative delivery model satisfies: Min t c+1 ; The objective function aims to minimize the latest time for the vehicle or drone to return to the physical warehouse, although t c+1 It only describes the time when the vehicle returns to the physical warehouse, but the constraints of equations (14) and (15) above ensure the consistency of the arrival time of the drone and the vehicle returning to the physical warehouse. Therefore, the objective function is equivalent to min{max{t c+1 , t′ c+1}};

[0163] In one example, the vehicle and drone arrival times are calculated as follows:

[0164]

[0165] It should be noted that constraint (17) means: if the vehicle is launched from node i, then the time it takes to reach a node j must include the travel time from i to j; constraint (18) means: if the drone is launched from node i, then the time it takes to reach a node j must include the travel time from i to j. Constraint (19) means: if the drone is retrieved by a truck at node k, then the time it takes to reach k must include the travel time from j to k; τ ij Indicates that the vehicle goes from node i∈N0 to node j∈N + Time required, τ′ ij Indicates that the drone moves from node i∈N0 to node j∈N + Time required, τ 0,c+1 ≡0; N0 = {0, 1, ..., c} represents the node group that the vehicle may leave; N + ={1, 2, ..., c+1} represents the set of nodes that the vehicle may visit during its travel.

[0166] The goal constraints also include the following expressions:

[0167]

[0168] Among them, constraint (20) requires that each customer only visits once, constraints (21) and (22) indicate that the vehicle can only depart from the physical warehouse once and return to the physical warehouse once, and constraint (23) provides the sub-path elimination constraint of the vehicle, where the continuous variable u i The boundary of is defined by constraint (24); constraint (25) indicates that the vehicle can only launch one drone to perform a delivery mission and cannot send another drone at this time.

[0169] The UAV endurance time constraint satisfies the following formula:

[0170]

[0171] Among them, E represents the flight capability of the UAV measured in time units, P is a set of tuples, including i, j, k, i, j, k must satisfy: the launch point i is not the end point, the service point j∈{C′: j≠i}; the rendezvous point k∈{N + : k≠j, k≠i}; travel time τ′ ij +τ′ jk ≤E; Constraint (26) ensures that the drone service meets the flight time limit.

[0172] The present application also provides a vehicle and drone collaborative path intelligent planning system 500, please refer to Figure 3 , the system 500 may specifically include:

[0173] The setting module 510 is used to obtain the task parameters to be analyzed in the path optimization task and set the target constraint conditions containing the time window constraint to meet the time requirements of the customized scenario; wherein the task parameters include drone information, vehicle information, customer demand information and road network information.

[0174] Construction module 520 is used to construct a vehicle-machine collaborative distribution model based on target constraints and with the goal of minimizing the time it takes for at least one of the vehicle and the drone to return to the physical warehouse; wherein the vehicle-machine collaborative distribution model is a mixed integer linear programming model.

[0175] The generation module 530 is used to solve the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set.

[0176] The fusion module 540 is used to fuse the preset taboo search algorithm and the preset genetic algorithm to determine the first genetic algorithm.

[0177] The adjustment module 550 is used to adjust the crossover and mutation parameters in the first genetic algorithm based on a preset reinforcement learning algorithm to obtain a target genetic algorithm so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario.

[0178] The solution module 560 is used to use the initial solution set as the initial population of the target genetic algorithm, solve the vehicle-machine collaborative delivery model through the target genetic algorithm, and determine the vehicle-drone collaborative delivery path.

[0179] According to an embodiment of the present application, any multiple modules among the setting module 510, the construction module 520, the generation module 530, the fusion module 540, the adjustment module 550 and the solution module 560 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module.

[0180] In some embodiments, the generation module 530 may specifically include:

[0181] The reading unit 531 is used to read the node information from the pre-processed task parameters and generate a target node set; the node information includes the node number, node coordinates, distance between nodes, service time and time window of all nodes.

[0182] The first determination unit 532 is used to determine the service order of the nodes in the target node set based on a preset sequential coding method, and adopts a preset 0-1 coding method to determine whether each node in the target node set is served by a drone or a vehicle, and obtain first coding information.

[0183] The first traversal unit 533 is used to traverse the nodes in the first coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, and determine whether the service time meets the time window constraint, and return the corresponding penalty value.

[0184] The node moving back unit 534 is used to move the last node of the drone path back to the starting point to obtain the initial drone path when the current total flight time of the drone does not exceed the drone endurance time constraint.

[0185] The removal unit 535 is used to remove the remaining nodes in the initial drone path except the first and last nodes from the vehicle's to-be-visited list to determine the first initial vehicle path.

[0186] The first output unit 536 is used to output a first initial vehicle path and an initial drone path as an initial solution set when all nodes to be visited are completely traversed.

[0187] The second output unit 537 is used to move the last node of the first initial vehicle path back to the starting point to obtain a second initial vehicle path when all the nodes to be visited have not been completely traversed, and output the set of the second initial vehicle path and the initial drone path as an initial solution set.

[0188] In some embodiments, the generation module 530 may further include:

[0189] The second traversal unit 538 is used to redetermine the node information to be visited at least once through the sequential coding method and the 0-1 coding method, and perform traversal analysis until it is determined that the current total flight time of the drone does not exceed the drone endurance time constraint.

[0190] In some embodiments, the second traversal unit 538 may be specifically used to:

[0191] Add visited tags to the nodes currently traversed by the drone to generate service path information;

[0192] Based on the service path information, adjusting the first coding information by a sequential coding method and a 0-1 coding method to generate second coding information;

[0193] Traverse the nodes in the second coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, and determine whether the service time meets the time window constraint, and return the corresponding penalty value;

[0194] Determine whether the current total flight time of the drone exceeds the drone endurance time constraint.

[0195] In some embodiments, the adjustment module 550 may specifically include:

[0196] A first state calculation unit 551 is used to set the number of reinforcement learning iterations to 1 and initialize the Q table, and calculate a first state corresponding to the first population based on the first population of the first generation in the first genetic algorithm;

[0197] A primary optimization unit 552 is used to randomly select and execute a first action from the action set corresponding to the first state in the Q table, and transmit a first crossover probability and a first mutation probability corresponding to the first state to the first genetic algorithm to perform primary optimization on the crossover and mutation parameters in the first genetic algorithm;

[0198] A second state calculation unit 553, used to calculate a second population based on the first crossover probability and the first mutation probability, and determine a second state corresponding to the second population, and a reward value corresponding to the second state;

[0199] A re-optimization unit 554 is used to select and execute a second action from the action set corresponding to the second state according to a preset action selection strategy, and transmit a second crossover probability and a second mutation probability corresponding to the second state to the first genetic algorithm to re-optimize the crossover and mutation parameters in the first genetic algorithm;

[0200] A Q-table updating unit 555, configured to calculate a target Q value corresponding to the second state using a preset Q-learning strategy, and update the Q-table based on the target Q value;

[0201] An algorithm determination unit 556 is used to determine the current genetic algorithm as a target genetic algorithm when the updated Q table corresponds to a preset maximum number of iterations;

[0202] The iterative calculation unit 557 is used to continue the iterative calculation of the reinforcement learning when the updated Q table does not correspond to the preset maximum number of iterations.

[0203] In some embodiments, the present application provides an electronic device, the structure diagram of the electronic device is as follows Figure 4 shown.

[0204] The electronic device may include a processor 610 and a memory 620 storing computer program instructions.

[0205] Specifically, the processor 610 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0206] The memory 620 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 620 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 620 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 620 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 620 is a non-volatile solid-state memory.

[0207] The memory 620 may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, typically, the memory 620 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it can perform the operations described in any of the vehicle and drone collaborative path intelligent planning methods in the above embodiments.

[0208] The processor 610 implements any one of the vehicle and drone collaborative path intelligent planning methods in the above embodiments by reading and executing computer program instructions stored in the memory 620.

[0209] In one example, the electronic device may further include a communication interface 630 and a bus 600. Figure 4 As shown, the processor 610, the memory 620, and the communication interface 630 are connected via a bus 600 and communicate with each other.

[0210] The communication interface 630 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0211] Bus 600 includes hardware, software or both, and the components of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 600 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0212] In addition, in combination with the vehicle and drone collaborative path intelligent planning method in the above embodiments, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the vehicle and drone collaborative path intelligent planning methods in the above embodiments is implemented.

[0213] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0214] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0215] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0216] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0217] In summary, compared with the prior art, this application has the following beneficial effects:

[0218] 1. This application sets target constraints containing time window constraints, fully considers the time requirements commonly found in customized vehicle-machine collaborative delivery services, and constructs a customized vehicle-machine collaborative delivery model to optimize resource allocation.

[0219] 2. When solving the vehicle-machine collaborative delivery model, this application introduces a taboo search algorithm to merge with the preset genetic algorithm to generate a first genetic algorithm; and further introduces a reinforcement learning algorithm to optimize the crossover mutation parameters in the first genetic algorithm to generate a target genetic algorithm, so that the target genetic algorithm has high parameter adaptability. When dealing with complex or dynamic problems, the target genetic algorithm can automatically find parameter configurations that are suitable for specific problems. Without manual adjustment, it can adapt to specific customized scenarios of vehicle and drone collaborative delivery.

[0220] 3. The combined delivery of one vehicle and one drone in this application is mainly aimed at providing more accurate and focused delivery services, and has unique advantages for scenarios that require specific positioning and precise transportation; vehicles are used to provide a safe and stable transportation environment, while drones can complete detailed and personalized delivery near the destination. The present invention can better adapt to the express delivery of special categories; through the present invention, more focused services are provided to ensure the safety of high-value items throughout the transportation process.

[0221] 4. The present invention can ensure the safe transportation of goods from the starting point to the end point. The vehicle provides a relatively stable and controllable transportation environment, and the drone can avoid ground obstacles in the air to improve accuracy. By closely coordinating vehicles and drones, the transportation efficiency of goods is improved and the potential risks of goods during transportation are reduced.

[0222] In addition to the customized delivery service field, this application can also be applied to other scenarios, as shown below:

[0223] 1. Last-mile delivery of express delivery services: In urban or rural areas, a single vehicle equipped with a single drone can be used to solve the last-mile delivery problem in express delivery services. The vehicle carries a large amount of goods, and the drone can quickly take the package from the vehicle and deliver it accurately to the destination.

[0224] 2. Emergency rescue and material transportation in special environments: In harsh or difficult-to-reach environments, such as high altitude areas or disaster sites, the present invention can provide emergency rescue materials or medical emergency equipment. Vehicles can transport more rescue materials, while drones can quickly deliver emergency materials to specific areas.

[0225] 3. Rural area services: This invention can solve the problem of material transportation in rural areas. Vehicles are responsible for carrying large amounts of goods, and drones can quickly deliver items to specific locations in the village.

[0226] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for intelligent path planning for cooperation between vehicles and unmanned aerial vehicles, characterized in that: include: Obtain the task parameters to be analyzed in the path optimization task, and set the target constraint conditions containing the time window constraint to meet the time requirements of the customized scenario; wherein the task parameters include drone information, vehicle information, customer demand information and road network information; Based on the target constraint conditions, a vehicle-machine collaborative distribution model is constructed with the goal of minimizing the time for at least one of the vehicle and the drone to return to the physical warehouse; wherein the vehicle-machine collaborative distribution model is a mixed integer linear programming model; Solving the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set; The preset taboo search algorithm and the preset genetic algorithm are integrated to determine a first genetic algorithm; Based on a preset reinforcement learning algorithm, the crossover and mutation parameters in the first genetic algorithm are adjusted to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario; The initial solution set is used as the initial population of the target genetic algorithm, and the vehicle-machine collaborative delivery model is solved by the target genetic algorithm to determine the vehicle-unmanned aerial vehicle collaborative delivery path.

2. The method for intelligently planning a collaborative path between a vehicle and an unmanned aerial vehicle according to claim 1, wherein: The time window constraint includes a first time window constraint and a second time window constraint, and the two correspond to vehicles and drones respectively; the first time window constraint satisfies the expression: In the formula, i and j represent nodes, t j represents the time when the vehicle arrives at node j, N0 = {0, 1, ..., c} and represents the set of nodes that the vehicle may leave, C represents the set of all customers and satisfies: C = {1, 2, ..., c}; e j and l j represents the two endpoints of the j-node time window, x ij is the decision variable. When the vehicle moves from node i to node j, x ij Take 1, when the vehicle does not move from node i to node j, x ij Take 0; The second time window constraint satisfies the expression: In the formula, k represents the node, N + = {1, 2, ..., c+1} and represents the node group that the vehicle may visit during driving, t′ j represents the time when the drone arrives at node j, and C′ represents the subset of customers that may be served by drones and satisfy: P is a set of tuples and includes i, j, k; y ijk is the decision variable. When the UAV is launched from node i and serves node j and then returns to node k, y ijk Take 1, if the drone does not launch from node i and serve node j before returning to node k, y ijk Take 0.

3. The method for intelligently planning a collaborative path between a vehicle and an unmanned aerial vehicle according to claim 1 or 2, characterized in that: The preset reinforcement learning algorithm is based on which the crossover and mutation parameters in the first genetic algorithm are adjusted to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario, including: The number of reinforcement learning iterations is set to 1 and the Q table is initialized, and based on the first population of the first generation in the first genetic algorithm, a first state corresponding to the first population is calculated; Randomly selecting and executing a first action from the action set corresponding to the first state in the Q table, and transmitting a first crossover probability and a first mutation probability corresponding to the first state to the first genetic algorithm to perform initial optimization on the crossover and mutation parameters in the first genetic algorithm; Calculating a second population based on the first crossover probability and the first mutation probability, and determining a second state corresponding to the second population and a reward value corresponding to the second state; According to a preset action selection strategy, a second action is selected from the action set corresponding to the second state, and executed, and a second crossover probability and a second mutation probability corresponding to the second state are transmitted to the first genetic algorithm, so as to optimize the crossover and mutation parameters in the first genetic algorithm again; Calculate a target Q value corresponding to the second state using a preset Q-learning strategy, and update the Q table based on the target Q value; When the updated Q table corresponds to a preset maximum number of iterations, determining the current genetic algorithm as the target genetic algorithm; When the updated Q table does not correspond to the preset maximum number of iterations, the iterative calculation of the reinforcement learning is continued.

4. The method for intelligent planning of a collaborative path between a vehicle and an unmanned aerial vehicle according to claim 1 or 2, characterized in that: The target constraint condition also includes a UAV endurance time constraint; the vehicle-machine collaborative delivery model is solved by a preset greedy algorithm to generate an initial solution set, including: Reading node information from the preprocessed task parameters to generate a target node set; the node information includes node numbers, node coordinates, inter-node distances, service times, and time windows of all nodes; Determine the service order of the nodes in the target node set based on a preset sequence coding method, and use a preset 0-1 coding method to determine whether each node in the target node set is served by a drone or a vehicle, thereby obtaining first coding information; Traverse the nodes in the first coded information in order, record the service time corresponding to the node, update the vehicle position and the drone position, determine whether the service time satisfies the time window constraint, and return the corresponding penalty value; When the current total flight time of the UAV does not exceed the UAV endurance time constraint, the last node of the UAV path is moved back to the starting point to obtain an initial UAV path; Removing the remaining nodes except the first and last nodes in the initial UAV path from the vehicle's to-be-visited list to determine a first initial vehicle path; When all nodes to be visited are completely traversed, outputting the first initial vehicle path and the initial drone path as an initial solution set; When all nodes to be visited have not been completely traversed, the last node of the first initial vehicle path is moved back to the starting point to obtain a second initial vehicle path, and the set of the second initial vehicle path and the initial drone path is output as an initial solution set.

5. The method for intelligently planning a collaborative path between a vehicle and an unmanned aerial vehicle according to claim 4, wherein: In the case where the current total flight time of the drone exceeds the drone endurance time constraint, before the last node of the drone path is moved back to the starting point to obtain the initial drone path, the vehicle and drone collaborative path intelligent planning method further includes: By using the sequential encoding method and the 0-1 encoding method, the node information to be visited is re-determined at least once, and a traversal analysis is performed until it is determined that the current total flight time of the drone does not exceed the drone endurance time constraint.

6. The method for intelligently planning a collaborative path between a vehicle and an unmanned aerial vehicle according to claim 5, characterized in that: The step of re-determining the node information to be accessed at least once by the sequential encoding method and the 0-1 encoding method, and performing traversal analysis, includes: Add visited tags to the nodes currently traversed by the drone to generate service path information; Based on the service path information, adjusting the first coding information by the sequential coding method and the 0-1 coding method to generate second coding information; Traversing the nodes in the second coded information in order, recording the service time corresponding to the nodes, updating the vehicle position and the drone position, and determining whether the service time satisfies the time window constraint, and returning a corresponding penalty value; Determine whether the current total flight time of the drone exceeds the drone endurance time constraint.

7. The vehicle and drone collaborative path intelligent planning method according to claim 2, characterized in that: The target constraints also include vehicle behavior constraints, drone behavior constraints, and vehicle-drone mutual constraints; wherein the vehicle behavior constraints satisfy the expression: In the formula, i, j, h, l and k represent nodes, x hi 、x lk 、x hk 、x jk and 0jk are decision variables. When the vehicle moves from node h to node i, x hi Take 1, when the vehicle does not move from node h to node i, x hi Take 0; When the vehicle moves from node l to node k, x lk Take 1, when the vehicle does not move from node l to node k, x lk Take 0; In the case where the vehicle moves from node h to node k, x hk Take 1, when the vehicle does not move from node h to node k, x hk Take 0; In the case where the vehicle moves from node j to node k, x jk Take 1, when the vehicle does not move from node j to node k, x jk Take 0; If the vehicle starts from the warehouse, visits node j and then returns to node k, then y 0jk Take 1, otherwise y 0jk Take 0; The UAV behavior constraints satisfy the expression: The mutual constraints between the vehicle and the drone include access order constraints and time consistency constraints; wherein the access order constraints satisfy the expression: In the formula, u k is the order in which the vehicle visits node k, u i is the order in which the vehicle visits node i, u j is the order in which vehicles visit node j, p 0j =1 means node 0 must be the starting node in the vehicle route, p ij and p ji are all decision variables; in the case where the vehicle traverses node i before traversing node j, p ij Take 1, if the vehicle has not traversed node i before traversing node j, p ji Take 0; if the vehicle traverses node j before traversing node i, p ij Take 1, if the vehicle has not traversed node j before traversing node i, p ji Take 0; The temporal consistency constraint satisfies the expression: Where, t i is the time it takes for the vehicle to reach node i, t′ i is the time when the UAV arrives at node i, t k is the time when the vehicle arrives at node k, t′ k is the time when the drone arrives at node k, M is a sufficiently large number, and M is greater than or equal to the last time when the drone and truck return to the warehouse.

8. A vehicle and drone collaborative path intelligent planning system, characterized in that: include: A setting module is used to obtain the task parameters to be analyzed in the path optimization task and set the target constraint conditions containing the time window constraint to meet the time requirements of the customized scenario; wherein the task parameters include drone information, vehicle information, customer demand information and road network information; A construction module is used to construct a vehicle-machine collaborative distribution model based on the target constraint condition and with the goal of minimizing the time for at least one of the vehicle and the drone to return to the physical warehouse; wherein the vehicle-machine collaborative distribution model is a mixed integer linear programming model; A generation module, used to solve the vehicle-machine collaborative delivery model through a preset greedy algorithm to generate an initial solution set; A fusion module, used for fusing a preset taboo search algorithm and a preset genetic algorithm to determine a first genetic algorithm; An adjustment module, used to adjust the crossover and mutation parameters in the first genetic algorithm based on a preset reinforcement learning algorithm to obtain a target genetic algorithm, so that the parameter configuration of the target genetic algorithm is adapted to a specific customized scenario; The solution module is used to use the initial solution set as the initial population of the target genetic algorithm, solve the vehicle-machine collaborative delivery model through the target genetic algorithm, and determine the vehicle-unmanned aerial vehicle collaborative delivery path.

9. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the method for intelligent planning of collaborative paths between vehicles and unmanned aerial vehicles as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the vehicle and unmanned aerial vehicle collaborative path intelligent planning method as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Multi-modal collaborative distribution scheduling system and method

    CN120387762A