CN114444828A - Multi-machine cooperative dynamic task allocation method for same agricultural machine - Google Patents
Multi-machine cooperative dynamic task allocation method for same agricultural machine Download PDFInfo
- Publication number
- CN114444828A CN114444828A CN202011202172.9A CN202011202172A CN114444828A CN 114444828 A CN114444828 A CN 114444828A CN 202011202172 A CN202011202172 A CN 202011202172A CN 114444828 A CN114444828 A CN 114444828A
- Authority
- CN
- China
- Prior art keywords
- task
- machine
- agricultural
- agricultural machine
- cost
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Mining
Abstract
A multi-machine cooperative dynamic task allocation method for the same kind of agricultural machine comprises the following steps: constructing a multi-machine cooperative cost function based on the performance of the agricultural machinery and the task parameters according to the multi-machine cooperative operation scene; constructing an agricultural machinery bidding cost function and a cluster cost function after bidding completion; constructing a multi-machine collaborative dynamic task allocation system based on a remote cloud service platform and a wireless ad hoc network; and when a new task needs to be distributed, the system distributes the new task by improving a contract network algorithm to finally obtain an optimal task distribution result. The invention solves the problem of how to reasonably and dynamically allocate tasks and task execution sequences under the condition that a new task is added or an agricultural machine is out of order in the operation process of a plurality of agricultural machines of the same kind in an agricultural machine cooperative society or farm.
Description
Technical Field
The invention relates to an agricultural machinery multi-machine cooperative work task allocation technology, in particular to a same agricultural machinery multi-machine cooperative dynamic task allocation method based on an improved contract network algorithm.
Background
With the development and popularization of agricultural machinery cooperative society and farm operation modes in China, the land and agricultural machinery show a concentrated trend, the most common operation scene is that tasks and sequences are firstly distributed to specified agricultural machinery before operation, and each agricultural machinery returns to a garage after completing respective operation task. The problem that a new task is added or the agricultural machine fails is frequently caused in the multi-machine cooperative operation process of the agricultural machine, and the task to be distributed is dynamically distributed effectively in real time, so that the operation cost can be effectively reduced, and the operation time can be shortened.
The common methods for solving the dynamic task allocation comprise: firstly, using a heuristic algorithm to redistribute uncompleted tasks through a remote service platform; and secondly, realizing the redistribution of the incomplete tasks through the bidding process among agricultural machinery by using a contract network algorithm. The first method belongs to centralized task allocation, a large amount of calculation is centralized to a server, the pressure on the server is high, and the allocation effect is good; the second method belongs to distributed task allocation, wherein the task allocation is completed by utilizing the computing power of an onboard computer of each agricultural machine and the mutual communication among the agricultural machines, the time consumption is short, no pressure is applied to a server, and the allocation effect is poor. In order to reduce the calculation amount of the server and the failure probability of the server, a method capable of fully utilizing the calculation capacity of an airborne computer to realize task allocation is urgently needed in the field.
Disclosure of Invention
The invention aims to solve the technical problem of providing a multi-machine cooperative dynamic task allocation method for the same kind of agricultural machinery based on an improved contract network algorithm.
In order to achieve the above object, the present invention provides a method for multi-machine cooperative dynamic task allocation of the same kind of agricultural machine, wherein the method for multi-machine cooperative dynamic task allocation of the same kind of agricultural machine is based on an improved contract network algorithm to perform dynamic task allocation, and comprises the following steps:
s100, constructing a multi-machine cooperative cost function based on the performance of the agricultural machine and the task parameters according to a multi-machine cooperative operation scene;
s200, constructing an agricultural machinery bidding cost function and a cluster cost function after bidding is completed;
s300, constructing a multi-machine collaborative dynamic task allocation system based on a remote cloud service platform and a wireless ad hoc network;
s400, when a new task needs to be distributed, the system distributes the new task by improving a contract network algorithm, and finally an optimal task distribution result is obtained.
The method for multi-machine cooperative dynamic task allocation of the same agricultural machine comprises the following steps of:
s101, defining symbols, assuming m agricultural machinery works, using a set { a }1,…,amRepresents; the number of job tasks being n, using the set { T }1,…,TnRepresents; the performance parameter of the ith agricultural machine is expressed as ai={vwi,di,wi,vi,tti}T(i ═ 1, 2, …, m), where vwiThe average operating speed (km/h), d of the ith agricultural machineiIndicates the working width (m), w of the ith agricultural machineiRepresents the average working capacity (m) of the ith agricultural machine2/h),viRepresents the average running speed (km/h), t of the ith agricultural machine in the non-operation statetiThe average time (h) of each turn around in the ith agricultural machine operation is shown; the parameters for the jth task are expressed as: t isj={x1j,y1j,x2j,y2j,x3j,y3j,x4j,y4j,dTj,lTj,Si}T(j — 1, 2, …, n, where (x1j, y1j), (x2j, y2j), (x3j, y3j), and (x4j, y4j) respectively represent task TjCoordinates of four vertices of the plot, dTjRepresenting a task TjWidth of vertical working path, /)TjRepresenting a task TjLength of parallel working path, SjRepresenting a task TjThe area of (d);
s102, calculating the non-operation distance of each agricultural machine by adopting the following formula:
wherein, s (a)i,Tj) Indicating agricultural machinery aiTo its 1 st task TjDistance of (d); s (a)i,TjTk) Indicating agricultural machinery aiFrom jth task TjTo the kth task TkDistance of (d); s (a)i,Tl) Indicating agricultural machinery aiFrom the last task TlReturning to the garage; j, k, l ∈ {1, …, n };
s103, calculating the total time of each agricultural machine for completing tasks, wherein the total time comprises the time of the agricultural machine on the road, the time of the agricultural machine operation and the time of the agricultural machine turning around in the field;
wherein the content of the first and second substances,kijfor the ith agricultural machine to work on the jth task land,in the formulaThe value is the smallest integer which is not less than the value in the symbol and is rounded up;
and S104, calculating the distance between tasks, taking the garage as a starting point, sequentially taking n tasks as 2 nd to n +1 th points, and establishing a shortest distance matrix D which can be driven between any two points.
The method for distributing the multi-machine cooperative dynamic tasks of the same agricultural machine comprises the following steps:
wherein d isijThe shortest distance which can be traveled between the i-1 st task point and the j-1 st task point is shown, (i, j ≠ j) {2, …, n +1}, i ≠ j).
In the multi-machine cooperative dynamic task allocation method for the same agricultural machinery, if the two task points are adjacent, the shortest distance which can be traveled between the two task points is considered to be 0; if the two tasks are not adjacent, the shortest distance which can be traveled between the two task points is equal to the distance on the road between the two tasks.
The method for multi-machine cooperative dynamic task allocation of the same agricultural machinery, wherein in step 102, s (a)i,Tj)=d1,j+1,s(ai,Tl)=d1,l+1;
The mode that the agricultural machine enters the mission plot comprises entering from the road and entering from a junction of the ground, wherein x is 0 when the agricultural machine enters the mission plot from the road, and x is 1 when the agricultural machine enters the mission plot from the junction of the ground; when the agricultural machine returns to the roadside after the task is finished, y is equal to 0, and when the agricultural machine returns to the ground connection part after the task is finished, y is equal to 1;
the agricultural machine enters from the road when entering the first task land, and the position of the ith agricultural machine after the operation of the jth task land is completed is as follows: y isij=(kij+xij) % 2, wherein xijThe method is characterized in that the 'residue' is obtained for the mode that the ith agricultural machine enters the jth task land;
when d isj+1,k+1When not equal to 0, the ground of the tasks i and j are not connected, and the agricultural machinery a is usediDistance from task j to task k: s (a)i,TjTk)=dj+1,k+1+yijlTj,xik0; when d isj+1,k+1When the value is equal to 0, the tasks i and j are connected, and the agricultural machinery a is in the momentiThe distance from task j to task k is:
s(ai,TjTk)=d′j+1,k+1+|yij-1|lTj,xik=1。
in the above method for distributing multi-machine cooperative dynamic tasks of the same agricultural machine, in step 105, the operating time of the agricultural machine with the longest operating time in multi-machine cooperation is used as the cost of multi-machine cooperation:
f=max(ti)
the multi-machine cooperative objective function is to minimize the cost, namely:
min(f)=min(max(ti))
wherein f represents the multi-machine cooperative cost.
The method for multi-machine cooperative dynamic task allocation of the same agricultural machine comprises the following steps of S200:
s201, constructing an agricultural machine aiFor task TjCost function of bid:
adding task T for ith agricultural machinejTotal time of the later required work; t is tmaxThe maximum working time of the whole cluster before the bidding begins;
s202, constructing the ith agricultural machine bid-winning task TjRear entire fleet cost f ═ f + Δ fi jWherein f' is the total cost of the cluster after bidding is completed; f is the multi-machine cooperation cost before bidding.
The method for multi-machine cooperative dynamic task allocation of the same agricultural machine comprises the following steps of:
s401, determining a tender taker, and selecting normal operation agricultural machinery by a platformFor the tenderer, selecting the tenderer to minimize the communication distance in the tendering processWherein (x)i,yi) The current position of the ith agricultural machine;
s402, the tenderer sets a tendering threshold value, and the tenderer is in the process of task TjBefore bidding, the minimum cost delta f for executing the task is calculatedjAs a result of the dynamic threshold value,whereinPerforming a newly added task T for a bidderjThe cost of (d); bidder aiReceiving the bidding information and calculating the minimum cost delta f for itself to perform the taski JIf Δ fi J<ΔfjSending bid information if Δ fi J≥ΔfjIf yes, no bidding information is sent;
s403, bidding process based on contract network algorithm with threshold value;
s404, bidding the task with the smallest area of the winning bidder;
s405, executing task exchange among agricultural machines, and setting the agricultural machine i to execute a task TjDistance cost ofWherein s isi-jRemoving task T for agricultural machinery ijThe subsequent distance;
and S406, obtaining a final dynamic task allocation result.
In the above method for allocating multi-machine cooperative dynamic tasks of the same agricultural machine, the step S405 of performing task exchange between agricultural machines further includes:
s4051, calculating the maximum distance cost by the agricultural machinery i with the maximum task costAnd a corresponding task number j;
s4052, taking the agricultural machinery i as a tenderer to exchange and tender the task j;
s4053, using other normal agricultural machines as bidders, deleting tasks which are not executed by the bidders in sequence by the bidders in a deleting-inserting mode, and calculating the minimum cost of the bidders after replacement by using an inserting method;
s4054, if the cost after replacement is less than that before replacement, the task is used as bidding information;
s4055, the tenderer calculates the cost after adding each bidding task after deleting the task j in a 'delete-insert' mode, and takes the minimum cost fi kAnd a corresponding task k;
s4056, if fi k<fiThen the task j, k is swapped.
The multi-machine cooperative dynamic task allocation method for the same agricultural machine is characterized in that the multi-machine cooperative dynamic task allocation system comprises the agricultural machine, a server and a client, wherein the agricultural machine is provided with a vehicle-mounted computer, a Beidou positioning module and a wireless ad hoc network module and is used for realizing self positioning and communication with other agricultural machines; the server comprises a computing module and a storage module, wherein the storage module is used for storing the plot information and the agricultural machinery information; the client is used for selecting and sending tasks to the designated operation cluster.
The invention has the technical effects that:
the invention solves the problem of how to reasonably and dynamically allocate tasks and task execution sequences under the condition that a new task is added or an agricultural machine is out of order in the operation process of a plurality of agricultural machines of the same kind in an agricultural machine cooperative society or farm.
The invention is described in detail below with reference to the drawings and specific examples, but the invention is not limited thereto.
Drawings
FIG. 1 is a flow diagram of dynamic task allocation according to an embodiment of the present invention;
FIG. 2 is a flow chart of task exchange according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail with reference to the following drawings, which are provided for illustration purposes and the like:
referring to fig. 1, fig. 1 is a flow chart of dynamic task allocation according to an embodiment of the present invention. The invention discloses a multi-machine cooperative dynamic task allocation method for the same kind of agricultural machinery, which is used for performing dynamic task allocation based on an improved contract network algorithm and comprises the following steps:
s100, constructing a multi-machine cooperative cost function based on the performance of the agricultural machine and task parameters according to a multi-machine cooperative operation scene;
s200, establishing an agricultural machinery bidding cost function and a cluster cost function after bidding is completed;
s300, constructing a multi-machine collaborative dynamic task allocation system based on a remote cloud service platform and a wireless ad hoc network; the multi-machine collaborative dynamic task allocation system can comprise an agricultural machine, a server and a client, wherein the agricultural machine can be provided with a vehicle-mounted computer, a Beidou positioning module and a wireless ad hoc network module and is used for realizing self positioning and communication with other agricultural machines; the server comprises a computing module and a storage module, wherein the storage module is used for storing the plot information and the agricultural machinery information, and the computing module is used for realizing a computing function; the client is used for selecting and issuing tasks to a designated operation cluster;
and S400, when a new task needs to be distributed, the multi-machine collaborative dynamic task distribution system distributes the new task by improving a contract network algorithm and obtains an optimal task distribution result.
Wherein, step S100 further comprises:
step S101, defining symbols, assuming m agricultural machinery works, using set { a }1,…,amRepresents; the number of job tasks being n, using the set { T }1,…,TnRepresents; the performance parameter of the ith agricultural machine is expressed as ai={vwi,di,wi,vi,tti}T(i ═ 1, 2, …, m), where vwiThe average operating speed (km/h), d of the ith agricultural machineiIndicates the working width (m), w of the ith agricultural machineiRepresents the average working capacity (m) of the ith agricultural machine2/h),viRepresents the average running speed (km/h), t of the ith agricultural machine in the non-operation statetiThe average time (h) of each turn around in the ith agricultural machine operation is shown; the parameters for the jth task are expressed as: t isj={x1j,y1j,x2j,y2j,x3j,y3j,x4j,y4j,dTj,lTj,Si}T(j ═ 1, 2, …, n), where (x)1j,y1j)、(x2j,y2j)、(x3j,y3j) And (x)4j,y4j) Respectively represent tasks TjCoordinates of four vertices of the plot, dTjRepresenting a task TjWidth of vertical working path, /)TjRepresenting a task TjLength of parallel working path, SjRepresenting a task TjThe area of (d);
step S102, calculating the non-operation distance of each agricultural machine by adopting the following formula:
wherein, s (a)i,Tj) Indicating agricultural machinery aiTo its 1 st task TjDistance of (d); s (a)i,TjTk) Indicating agricultural machinery aiFrom jth task TjTo the kth task TkDistance of (d); s (a)i,Tl) Indicating agricultural machinery aiFrom the last task TlReturning to the garage; j, k, l ∈ {1, …, n };
step S103, calculating the total time of each agricultural machine for completing tasks, wherein the total time comprises the time of the agricultural machine on the road, the time of the agricultural machine operation and the time of the agricultural machine field turning around;
wherein the content of the first and second substances,kijfor the ith agricultural machine to work on the jth task land,in the formulaThe value is the smallest integer which is not less than the value in the symbol and is rounded up;
and step S104, calculating the distance between tasks, taking the garage as a starting point, namely a first point, and taking n tasks as 2 nd to n +1 th points in sequence, and establishing a shortest distance matrix D which can be driven between any two points.
Wherein the shortest distance matrix D is:
wherein d isijThe shortest distance which can be traveled between the i-1 st task point and the j-1 st task point is shown, (i, j ≠ j) {2, …, n +1}, i ≠ j).
If the two task points are adjacent, the shortest distance which can be traveled between the two task points is considered to be 0; if the two tasks are not adjacent, the shortest distance which can be traveled between the two task points is equal to the distance on the road between the two tasks.
In step 102 of this embodiment, s (a)i,Tj)=d1,j+1,s(ai,Tl)=d1,l+1;
The mode that the agricultural machine enters the mission plot comprises entering from the road and entering from a junction of the ground, wherein x is 0 when the agricultural machine enters the mission plot from the road, and x is 1 when the agricultural machine enters the mission plot from the junction of the ground; when the agricultural machine returns to the roadside after the task is finished, y is equal to 0, and when the agricultural machine returns to the ground connection part after the task is finished, y is equal to 1;
the agricultural machine enters from the road when entering the first task land, and the position of the ith agricultural machine after the operation of the jth task land is completed is as follows: y isij=(kij+xij) % 2, wherein xijThe method is characterized in that the 'residue' is obtained for the mode that the ith agricultural machine enters the jth task land;
when d isj+1,k+1When not equal to 0, the ground of the tasks i and j are not connected, and the agricultural machinery a is usediDistance from task j to task k: s (a)i,TjTk)=dj+1,k+1+yijlTj,xik0; when d isj+1,k+1When the value is equal to 0, the tasks i and j are connected, and the agricultural machine a is connectediThe distance from task j to task k is:
s(ai,TjTk)=d′j+1,k+1+|yij-1|lTj,xik=1。
in step 105, constructing a multi-machine cooperative cost function at the cost of the farm machine operation time with the longest multi-machine cooperative operation time: max (t)i)。
The multi-machine cooperative objective function is to minimize the cost, namely:
min(f)=min(max(ti))
wherein f represents the multi-machine cooperative cost.
In this embodiment, step S200 further includes:
step S201, constructing agricultural machinery aiFor task TjCost function of bid:
adding task T for ith agricultural machineryjTotal time of the later required work; t is tmaxThe maximum working time of the whole cluster before the bidding begins;
step S202, constructing the ith agricultural machinery bid-winning task TjThe rear whole cluster cost f ═ f + Δ fi jWherein f' is the total cost of the cluster after bidding is completed; f is the multi-machine cooperation cost before bidding.
Step S400 further includes:
step S401, determining a tenderer, selecting a normal operation agricultural machine as the tenderer by the platform, and selecting the tenderer to make the communication distance in the tendering process shortestWherein (x)i,yi) The current position of the ith agricultural machine;
step S402, the tenderer sets a tendering threshold value, and the tenderer is in the process of task TjBefore bidding, the minimum cost delta f for executing the task is calculatedjAs a result of the dynamic threshold value,whereinPerforming a newly added task T for a bidderjThe cost of (d); bidder aiReceiving the bidding information and calculating the minimum cost delta f for itself to perform the taski JIf Δ fi J<ΔfjSending bid information if Δ fi J≥ΔfjIf yes, no bidding information is sent;
step S403, bidding based on contract network algorithm with threshold value;
s404, bidding the task with the smallest area of the winning bidder;
step S405, executing task exchange among agricultural machines, and setting an agricultural machine i to execute a task TjDistance cost ofWherein s isi-jRemoving task T for agricultural machinery ijThe subsequent distance;
and step S406, obtaining a final dynamic task allocation result.
Referring to fig. 2, fig. 2 is a task exchange flow chart according to an embodiment of the present invention. In this embodiment, the step S405 of performing task exchange between agricultural machines further includes:
step S4051, calculating the maximum distance cost by the agricultural machinery i with the maximum task costAnd a corresponding task number j;
s4052, the agricultural machinery i serves as a tenderer to exchange and tender the task j;
s4053, using other normal agricultural machines as bidders, deleting tasks which are not executed by the bidders in sequence by the bidders in a deleting-inserting mode, and calculating the minimum cost of the bidders after replacement by using an inserting method;
step S4054, if the cost after replacement is less than that before replacement, the task is used as bidding information;
step S4055, the tenderer calculates the cost after adding each bidding task after deleting task j by using a 'delete-insert' mode, and takes the minimum cost fi kAnd a corresponding task k;
step S4056, if fi k<fiThen the task j, k is swapped.
The invention solves the problem of how to reasonably and dynamically allocate tasks and task execution sequences under the condition that a new task is added or the agricultural machinery has a fault in the operation process of a plurality of agricultural machinery of the same kind in an agricultural machinery cooperative society or a farm.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A multi-machine cooperative dynamic task allocation method for the same agricultural machine is characterized in that the dynamic task allocation method for the same agricultural machine is based on an improved contract network algorithm to perform dynamic task allocation, and comprises the following steps:
s100, constructing a multi-machine cooperative cost function based on the performance of the agricultural machine and the task parameters according to a multi-machine cooperative operation scene;
s200, constructing an agricultural machinery bidding cost function and a cluster cost function after bidding is completed;
s300, constructing a multi-machine collaborative dynamic task allocation system based on a remote cloud service platform and a wireless ad hoc network; and
and S400, when a new task needs to be distributed, the system distributes the new task by improving a contract network algorithm and obtains an optimal task distribution result.
2. The multi-machine cooperative dynamic task allocation method for the same agricultural machine as in claim 1, wherein the step S100 further comprises:
s101, defining symbols, assuming m agricultural machinery works, using a set { a }1,…,amRepresents; the number of job tasks being n, using the set { T }1,…,TnRepresents; the performance parameter of the ith agricultural machine is expressed as ai={vwi,di,wi,vi,tti}T(i ═ 1, 2, …, m), where vwiThe average operating speed (km/h), d of the ith agricultural machineiIndicates the working width (m), w of the ith agricultural machineiRepresents the average working capacity (m) of the ith agricultural machine2/h),viRepresents the average running speed (km/h), t of the ith agricultural machine in the non-operation statetiThe average time (h) of each turn around in the ith agricultural machine operation is shown; the parameters for the jth task are expressed as: t isj={x1j,y1j,x2j,y2j,x3j,y3j,x4j,y4j,dTj,lTj,Si}T(j — 1, 2, …, n, where (x1j, y1j), (x2j, y2j), (x3j, y3j), and (x4j, y4j) respectively represent task TjCoordinates of four vertices of the plot, dTjRepresenting a task TjWidth of vertical working path, /)TjRepresenting a task TjLength of parallel working path, SjRepresenting a task TjThe area of (d);
s102, calculating the non-operation distance of each agricultural machine by adopting the following formula:
wherein, s (a)i,Tj) Indicating agricultural machinery aiTo its 1 st task TjDistance of (d); s (a)i,TjTk) Indicating agricultural machinery aiFrom jth task TjTo the kth task TkDistance of (d); s (a)i,Tl) Indicating agricultural machinery aiFrom the last task TlReturning to the garage; j, k, l ∈ {1, …, n };
s103, calculating the total time of each agricultural machine for completing tasks, wherein the total time comprises the time of the agricultural machine on the road, the time of the agricultural machine operation and the time of the agricultural machine turning around in the field;
wherein the content of the first and second substances,kijfor the ith agricultural machine to work on the jth task land,in the formulaThe value is the smallest integer which is not less than the value in the symbol and is rounded up;
and S104, calculating the distance between tasks, taking the garage as a starting point, sequentially taking n tasks as 2 nd to n +1 th points, and establishing a shortest distance matrix D which can be driven between any two points.
3. The multi-machine cooperative dynamic task allocation method for the same agricultural machine as claimed in claim 2, wherein the shortest distance matrix D is:
4. The multi-machine cooperative dynamic task allocation method of the same agricultural machine as claimed in claim 2 or 3, wherein if two tasks are adjacent in ground, the shortest distance that can be traveled between the two task points is considered to be 0; if the two tasks are not adjacent, the shortest distance which can be traveled between the two task points is equal to the distance on the road between the two tasks.
5. The method as claimed in claim 4, wherein in step 102, s (a) isi,Tj)=d1,j+1,s(ai,Tl)=d1,l+1;
The mode that the agricultural machine enters the mission plot comprises entering from the road and entering from a junction of the ground, wherein x is 0 when the agricultural machine enters the mission plot from the road, and x is 1 when the agricultural machine enters the mission plot from the junction of the ground; when the agricultural machine returns to the roadside after the task is finished, y is equal to 0, and when the agricultural machine returns to the ground connection part after the task is finished, y is equal to 1;
the agricultural machine enters from the road when entering the first task land, and the position of the ith agricultural machine after the operation of the jth task land is completed is as follows: y isij=(kij+xij) % 2, wherein xijThe method is characterized in that the 'residue' is obtained for the mode that the ith agricultural machine enters the jth task land;
when d isj+1,k+1When not equal to 0, the ground of the tasks i and j are not connected, and the agricultural machinery a is usediDistance from task j to task k: s (a)i,TjTk)=dj+1,k+1+yijlTj,xik0; when d isj+1,k+1When the value is equal to 0, the tasks i and j are connected, and the agricultural machine a is connectediThe distance from task j to task k is:
s(ai,TjTk)=d′j+1,k+1+|yij-1|lTj,xik=1。
6. the multi-machine cooperative dynamic task allocation method for the same agricultural machine as in claim 5, wherein in step 105, a multi-machine cooperative cost function is constructed at the cost of the agricultural machine operation time with the longest multi-machine cooperative operation time: max (t)i)。
The multi-machine cooperative objective function is to minimize the cost, namely:
min(f)=min(max(ti))
wherein f represents the multi-machine cooperative cost.
7. The multi-machine cooperative dynamic task allocation method for the same agricultural machine as claimed in claim 6, wherein the step S200 further comprises:
s201, constructing an agricultural machine aiFor task TjCost function of bid:
Adding task T for ith agricultural machineryjTotal time of the later required work; t is tmaxThe maximum working time of the whole cluster before the bidding begins;
s202, constructing the ith agricultural machine bid-winning task TjThe rear whole cluster cost f ═ f + Δ fi jWherein f' is the total cost of the cluster after bidding is completed; f is the multi-machine cooperation cost before bidding.
8. The multi-machine cooperative dynamic task allocation method for the same agricultural machine as claimed in claim 7, wherein the step S400 further comprises:
s401, determining a bid inviting person, selecting a normal operation agricultural machine as the bid inviting person by the platform, and selecting the bid inviting person to ensure that the communication distance in the bid inviting process is shortestWherein (x)i,yi) The current position of the ith agricultural machine;
s402, the tenderer sets a tendering threshold value, and the tenderer is in the process of task TjBefore bidding, the minimum cost delta f for executing the task is calculatedjAs a result of the dynamic threshold value,whereinPerforming a newly added task T for a bidderjThe cost of (d); bidder aiReceiving the bidding information and calculating the minimum cost delta f for itself to perform the taski jIf Δ fi j<ΔfjSending bid information if Δ fi j≥ΔfjIf yes, no bidding information is sent;
s403, bidding process based on contract network algorithm with threshold value;
s404, bidding the task with the smallest area of the winning bidder;
s405, executing task exchange among agricultural machines, and setting the agricultural machine i to execute a task TjDistance cost ofWherein s isi-jRemoving task T for agricultural machinery ijThe subsequent route;
and S406, obtaining a final dynamic task allocation result.
9. The method for multi-machine cooperative dynamic task allocation of the same agricultural machine as in claim 8, wherein the step S405 of performing inter-agricultural-machine task exchange further comprises:
s4051, calculating the maximum distance cost by the agricultural machinery i with the maximum task costAnd a corresponding task number j;
s4052, taking the agricultural machinery i as a tenderer to exchange and tender the task j;
s4053, using other agricultural machines which normally work as bidders, deleting tasks which are not executed by the bidders in sequence by using a deleting-inserting mode, and calculating the minimum cost of the bidders after replacement by using an inserting method;
s4054, if the cost after replacement is less than that before replacement, the task is used as bidding information;
s4055, the tenderer calculates the cost after adding each bidding task after deleting the task j in a 'delete-insert' mode, and takes the minimum cost fi kAnd a corresponding task k;
s4056, if fi k<fiThen the task j, k is swapped.
10. The multi-machine cooperative dynamic task allocation method of the same agricultural machine as claimed in claim 9, wherein the multi-machine cooperative dynamic task allocation system in step S300 includes an agricultural machine, a server and a client, the agricultural machine is equipped with a vehicle-mounted computer, a beidou positioning module and a wireless ad hoc network module for realizing self-positioning and communication with other agricultural machines; the server comprises a computing module and a storage module, wherein the storage module is used for storing the land parcel information and the agricultural machinery information; the client is used for selecting and sending tasks to the designated operation cluster.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011202172.9A CN114444828A (en) | 2020-11-02 | 2020-11-02 | Multi-machine cooperative dynamic task allocation method for same agricultural machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011202172.9A CN114444828A (en) | 2020-11-02 | 2020-11-02 | Multi-machine cooperative dynamic task allocation method for same agricultural machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114444828A true CN114444828A (en) | 2022-05-06 |
Family
ID=81357121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011202172.9A Pending CN114444828A (en) | 2020-11-02 | 2020-11-02 | Multi-machine cooperative dynamic task allocation method for same agricultural machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114444828A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117621091A (en) * | 2024-01-26 | 2024-03-01 | 深圳威洛博机器人有限公司 | Gait cooperative control method and system for robot |
-
2020
- 2020-11-02 CN CN202011202172.9A patent/CN114444828A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117621091A (en) * | 2024-01-26 | 2024-03-01 | 深圳威洛博机器人有限公司 | Gait cooperative control method and system for robot |
CN117621091B (en) * | 2024-01-26 | 2024-04-09 | 深圳威洛博机器人有限公司 | Gait cooperative control method and system for robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110941251B (en) | Production control method, device, equipment and medium based on digital twin body | |
CN106448138A (en) | Optimal multi-vehicle scheduling method based on active distribution type taxi service system | |
CN105740085B (en) | Fault-tolerance processing method and device | |
CN110429973A (en) | A kind of unmanned plane and ground base station cooperated computing unloads and optimization method | |
CN106845907B (en) | Vehicle path planning method based on empire kingdom competition algorithm | |
CN110826968A (en) | Urban crowdsourcing distribution task optimal scheduling method based on path planning | |
CN110084382B (en) | Distribution network maintenance vehicle scheduling method and system | |
CN114444828A (en) | Multi-machine cooperative dynamic task allocation method for same agricultural machine | |
CN110018996A (en) | A kind of the snapshot rollback method and relevant apparatus of distributed memory system | |
CN105094970B (en) | The method of more times scheduling models of task can be divided under a kind of solution distributed system | |
CN106781447A (en) | A kind of intelligent taxi scheduling communication method | |
CN112698925B (en) | Container mixed operation processing method of server cluster | |
CN104050544A (en) | System for generating workshop working procedure plan and achieving method thereof | |
CN110992123B (en) | Order distribution method and device | |
CN104796467A (en) | Method for calculating limitation range of QoS (quality of service) optimal combined services with QoS correlations | |
CN105976093B (en) | Unmanned aerial vehicle work order distribution method and device and unmanned aerial vehicle operation system | |
CN114521002A (en) | Edge computing method for cloud edge and end cooperation | |
CN104915250B (en) | It is a kind of to realize the method for making MapReduce data localization in the industry | |
CN102509248B (en) | A kind ofly be applied to the travel Multi-Target Classification Method of forming a team and system | |
CN103729696A (en) | Jamming-gambling-based participatory type perception data system and method thereof | |
CN104933110B (en) | A kind of data prefetching method based on MapReduce | |
CN104735134B (en) | A kind of method and apparatus serviced for providing calculating | |
CN107172190B (en) | Network RTK service distribution method and system, cloud server and memory | |
CN102567118B (en) | Distributed computing system and method based on GPS operation system | |
CN115202402A (en) | Unmanned aerial vehicle cluster multi-task dynamic allocation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |