Abstract:A multi-robot system often needs to change the robot's behavior in response to dynamic environments, particularly in the field of multiple tasks in sustainable agriculture. Dynamic task allocation is therefore an essential requirement to improve the overall system performance for the same group type of multiple agricultural machineries. However, some challenges remained on the agricultural machinery group to efficiently determine the task assignments under local observations in some unexpected conditions. In this study, a dynamic task allocation strategy was proposed for the same type of agricultural machinery group using an improved Contract Net Protocol (CNP). A cost function was established for the task assignment and performance using the maximum operating time in the longest machinery, the fuel consumption, and the distance on the road of the agricultural machinery group. A path planning was developed to combine the straight and the bypass in the field operation for the single and adjacent fields using the highest efficiency of agricultural machinery. A task bidding was constructed for the cost function of agricultural machinery referring to the CNP bidding process. Some specific approaches were utilized in the improved CNP to balance tasks with fewer server calculations, communication time, and non-operational distances, ranging from the selection of tenderee, the setting of the bidding threshold and the task redistribution for successful bidder to the task exchange between agricultural machinery. A systematic simulation of dynamic task allocation was carried out for the newly added tasks and the failure of agricultural machinery, where the operating time was taken as the operating cost, while the agricultural machinery with different performances was taken as the same group. A field experiment was implemented on the multi-machine cooperative dynamic task allocation at different times, where different numbers of tasks were used as original tasks, while some were used as new tasks in the newly added tasks. All tasks were selected as the original tasks in the failure of agricultural machinery. The simulated results showed that in the case of newly added tasks, the improved NCP performed 0.83%-8.05% lower than the traditional CNP, while the number of communications with the server was reduced by 80%-85%. In the case of failure of agricultural machinery, the improved NCP performed 1.77%-12.89% lower than the traditional CNP, while the number of communications with the server was reduced by 77.4%. The simulated data demonstrated that the improved NCP behaved a much better performance on the multi-machine cooperative dynamic task allocation, compared with the traditional NCP. Finally, the seeding operational data of a farm was selected to verify in the Hinggan League of Inner Mongolia of western China. The operation day was selected with the case of newly added tasks. A multi-machine cooperative dynamic task allocation was also performed on the improved CNP at various moments of task allocation on the daily operation. A systematic analysis was made to compare the work time of that day before and after dynamic task assignment using the improved CNP. Specifically, the improved CNP reduced the cost by 30.20%-34.09% under different times of dynamic task allocation, indicating a better performance and higher efficiency in the dynamic task allocation for precision agricultural production.