Next Article in Journal
Spatial Distribution of Soil Macroelements, Their Uptake by Plants, and Green Pea Yield under Strip-Till Technology
Next Article in Special Issue
Seedling-YOLO: High-Efficiency Target Detection Algorithm for Field Broccoli Seedling Transplanting Quality Based on YOLOv7-Tiny
Previous Article in Journal
Trend Prediction of Vegetation and Drought by Informer Model Based on STL-EMD Decomposition of Ha Cai Tou Dang Water Source Area in the Maowusu Sandland
Previous Article in Special Issue
Precision Operation Technology and Intelligent Equipment in Farmland
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Task Allocation of Multi-Machine Collaborative Operation for Agricultural Machinery Based on the Improved Fireworks Algorithm

1
School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
2
Key Laboratory of Modern Agricultural Equipment and Technology, Ministry of Education, Jiangsu University, Zhenjiang 212013, China
*
Author to whom correspondence should be addressed.
Agronomy 2024, 14(4), 710; https://doi.org/10.3390/agronomy14040710
Submission received: 12 March 2024 / Revised: 23 March 2024 / Accepted: 27 March 2024 / Published: 28 March 2024

Abstract

:
Currently, the multi-machine collaboration of agricultural machinery is one of the international frontiers and a topic of research interest in the field of agricultural equipment. However, the multi-machine cooperative operation of agricultural machinery is mostly limited to the research on task goal planning and cooperative path optimization of a single operation. To address the mentioned shortcomings, this study addresses the problem of multi-machine cooperative operation of fertilizer applicators in fields with different fertility and fertilizer cooperative distribution of fertilizer trucks. The research uses the task allocation method of a multi-machine cooperative operation of applying fertilizer-transporting fertilizer. First, the problems of fertilizer applicator operation and fertilizer truck fertilizer distribution are defined, and the operating time and the distribution distance are used as optimization objectives to construct functions to establish task allocation mathematical models. Second, a Chaos–Cauchy Fireworks Algorithm (CCFWA), which includes a discretized decoding method, a population initialization with a chaotic map, and a Cauchy mutation operation, is developed. Finally, the proposed algorithm is verified by tests in an actual scenario of fertilizer being applied in the test area of Jimo District, Qingdao City, Shandong Province. The results show that compared to the Fireworks Algorithm, Genetic Algorithm, and Particle Swarm Optimization, the proposed CCFWA can address the problem of falling into a local optimum while guaranteeing the convergence speed. Also, the variance of the CCFWA is reduced by more than 48% compared with the other three algorithms. The proposed method can realize multi-machine cooperative operation and precise distribution of seeds and fertilizers for multiple seeding-fertilizer applicators and fertilizer trucks.

1. Introduction

Currently, multi-machine collaboration of agricultural machinery is one of the main research topics in the field of agricultural machinery and, thus, has attracted much attention internationally. Reasonably arranging the cooperative operation of multiple agricultural machinery or multiple types of agricultural machinery, that is, realizing a multi-machine cooperative operation of agricultural machinery, can be an important way to reduce the cost and increase the efficiency of agricultural machinery [1,2,3].
The existing research on the multi-machine cooperative problem of agricultural machinery mainly addresses two aspects: path planning [4,5] and task allocation [6,7]. Cao et al. used time windows to detect different types of conflicts after planning the path to address the problem of path conflicts in multi-machine cooperative path planning of agricultural machinery [8]. Shi et al. used unmanned aerial vehicles (UAVs) to collect field information, which was then used to detect field obstacles and assist agricultural machinery in avoiding field obstacles [9]. Zhai et al. performed path planning for master-slave agricultural machinery, where the paths for slave operations were formulated based on the relative distances of the master and slave and the turning states to avoid collisions [10]. Jiang et al. proposed an adaptive immune following algorithm based on the immune algorithm and artificial fish swarm algorithm to assign fields with a different amount of work to the agricultural machinery group [11]. Wang et al. divided the path planning methods between the fields into several categories according to the positional relationship between the fields and assigned the fields to the agricultural machinery group accordingly [12,13]. Gong et al. divided a field into multiple areas according to the obstacles in the field and then allocated these areas to the agricultural machinery group [14]. However, the aforementioned studies have mainly focused on the collaboration of the agricultural machinery group and multi-machine cooperative algorithms [15,16].
Unlike the literature mentioned above, this study investigates the problem of multi-machine cooperative operation, where multiple fertilizer applicators apply fertilizer to fertility fields and fertilizer trucks work together to transport the fertilizer. The size and fertility of different fields are different [17,18,19]; the lower the fertility of the field, the greater the amount of applied fertilizer and the lower the speed of the fertilizer applicator will be. Also, fertilizers are distributed by a fertilizer truck on time to the corresponding turnrow according to the operating process of fertilizer applicators, causing the cooperative problem of various agricultural machinery and different types of agricultural machinery. This type of problem involves many factors and has a complex model, so establishing an optimization model of the multi-machine cooperative operation of applying fertilizer-transporting fertilizer, as well as designing the corresponding algorithms with strong solving ability, has been the main challenge.
Aiming at the above problem, this study considers the actual operation mode and fertilizer distribution mode comprehensively to sort out the cooperative problem and constructs the objective functions with the operating time of fertilizer applicators and the distribution distance of the fertilizer truck as optimization objectives. In addition, an improved fireworks algorithm is proposed to solve the task allocation problem of fertilizer applicators and fertilizer distribution of the fertilizer truck.

2. Materials and Methods

2.1. Problem Description

2.1.1. Task Allocation of Multi-Machine Cooperative Operation of Fertilizer Applicators

(1)
Characteristics of fertilizer applicator operation scenario
Common full-coverage operation methods for agricultural machinery include reciprocating and spiral methods, but the reciprocating method provides more coverage in comparison. Consider a field  T j , which is a rectangular field with four vertex coordinates denoted as  x T j 1 , y T j 1 x T j 2 , y T j 2 x T j 3 , y T j 3 , and  x T j 4 , y T j 4 , as shown in Figure 1. The fertilizer applicator enters from a certain vertex, performs the reciprocating operation, and then, after operating the current column, turns around to operate the next column until the field is fully operated. The length of each column is  l T j , and the field width is  d T j .
(2)
Description of task allocation problem of fertilizer applicators
Multiple fields require fertilizer application, and the agricultural cooperative has many fertilizer applicators that can be used for applying fertilizer. The fields are assigned to different fertilizer applicators, and their operation sequences are predefined. As shown in Figure 2, there are 10 fields in total. The operation route of a certain fertilizer applicator to complete the assigned fields is garage→1→2→7→3→5→garage. The fertilizer applicator operates in a reciprocating method on the field, as shown in field 5 in Figure 2.
Considering the actual situation, different fields require different amounts of fertilizer due to different fertility conditions, and fields with a large amount of fertilizer have low operating speeds of fertilizer applicators. Moreover, when a fertilizer applicator’s operating time is close to the maximum operating time, the fertilizer applicator will return to the garage and continue to operate the next day.
There are multiple fertilizer applicators for applying fertilizer to multiple fields, and the main goal is to minimize the final total completion time of all fertilizer applicators. Based on the existing information on fertilizer applicators and fields, the task allocation scheme of fertilizer applicators can be designed, including the fields of each fertilizer applicator, the order in which the fields are operated, and the number of days of operation.
For the convenience of research, this study makes the following assumptions for the considered problem:
  • According to the amount of applied fertilizer, the fields are classified into several categories, including positive large, positive small, medium, negative small, and negative large, which correspond to different operating speeds of fertilizer applicators;
  • All fields can be fertilized by any one fertilizer applicator, and the speed of the fertilizer applicator is inversely proportional to the amount of fertilizer applied to the field;
  • Each field can only be fertilized by one fertilizer applicator;
  • The daily working hours of a fertilizer applicator shall not exceed the specified time;
  • All fertilizer applicators start from the garage every day and return to the garage after the operation is completed or after the specified number of working hours;
  • The completion of the field work represents the end of the task.

2.1.2. Fertilizer Distribution of Fertilizer Truck

The fertilizer used by all fertilizer applicators is transported by a fertilizer truck to the specified entrance of each field and then applied by each fertilizer applicator in each field. As mentioned before, a fertilizer truck starts every working day from the garage, then puts the fertilizer at the field entrance that needs to be operated on that day, and finally returns to the garage.
In actual situations, the amount of fertilizer transported by a fertilizer truck is limited, and a single transport might not be able to meet the amount of fertilizer required for all fields that need to be operated on that day. Therefore, multiple transports are required until all the fertilizer has been transported to the designated locations. When a fertilizer truck is dispatched in the morning, it is necessary to transport the fertilizer required for the first working field of each fertilizer applicator and then transport the fertilizer required for the remaining working fields. In the afternoon, the procedure is the same; first, it is necessary to transport the fertilizer required for the first working field of each fertilizer applicator in the afternoon and then transport the fertilizer required for the remaining fields.
Only one fertilizer truck transports the fertilizer that needs to be applied on a certain day. Aiming at the goal of the shortest total distance of a fertilizer truck, the number of times the fertilizer truck transports fertilizer on a specific day, the amount of fertilizer transported each time, and the distance traveled by the fertilizer truck is obtained based on the information on the fields and the fertilizer truck.

2.2. Model Construction

2.2.1. Task Allocation Model for Multi-Machine Collaborative Operation of Fertilizer Applicators

For the task allocation problem of multi-machine collaborative operation of fertilizer applicators, where there are  m  fertilizer applicators and  n  fields, the objective model of the problem is established considering the number of operation days and daily working hours of fertilizer applicators, to minimize the total completion time. The objective function of the model is expressed as follows:
f = m i n i = 1 m j = 1 H i t w i j + m h m a x H d + t w d
H d = max 1 < i < m H i min 1 < i < m H i
t w d = max 1 < i < m j = 1 H i t w i j min 1 < i < m j = 1 H i t w i j
where  f  is the cost of multi-machine collaborative operation of fertilizer applicators;  h m a x  is the maximum number of working hours of a fertilizer applicator per day;  H i  is the number of operational days of fertilizer applicator  A i t w i j  is the number of working hours of a fertilizer applicator  A i  on a day  j H d  is the difference between the maximum and minimum operational days of different fertilizer applicators;  t w d  is the difference between the maximum and minimum total working hours of different fertilizer applicators.
In this study, the total working hours of all fertilizer applicators are used as a criterion for judging the cost. The penalty function  m h m a x H d  is introduced to prevent a large difference in the number of operational days of different fertilizer applicators, where the penalty variable  H d  represents the difference between the maximum and minimum operational days of different fertilizer applicators, and  m h m a x  is the penalty coefficient that denotes the maximum possible total working hours of all the fertilizer applicators in a day. Further, a penalty variable  t w d , which represents the difference between the maximum and minimum total working hours of different fertilizer applicators, is also introduced to ensure that the total working hours of different fertilizer applicators do not differ significantly and to avoid an increase in the idle rate of the fertilizer applicators.
According to the operation sequence  T 1 , T 2 , , T r  of a fertilizer applicator  A i , the number of operational days and the number of daily working hours of fertilizer applicator  A i  can be obtained. The time when fertilizer applicator  A i  continuously completes operation sequence  T 1 , T 2 , , T p , s 1 , s 2  is recorded as  t i , T p , s 1 , s 2 , where  T 1 , T 2 ,  represent the field with an operational sequence  1 , 2 , T p  represents the field where the continuous operation is terminated;  s 1  and  s 2  are the distances from the normal entrance of field  T 1  and field  T p , representing the positions where the fertilizer applicator enters field  T 1  and leaves field  T p , respectively. The last exit position of a fertilizer applicator needs to be on the same side as a specified entrance or exit position on every operational day.
(1)
Daily operational fields and sequences
To determine the daily operational sequence of a fertilizer applicator  A i , the following symbols are defined:
T p + 1  is the next operational field after field  T p d T p  is the width of field  T p d T p + 1  is the width of field  T p + 1 d i  is the operational width of a fertilizer applicator  A i t i , T p , s 1 , d T p  is the time consumed by fertilizer applicator  A i  to work continuously until it completely finishes field  T p  and returns to the garage;  t i , T p + 1 , s 1 , d T p + 1  is the time consumed by fertilizer applicator  A i  to work continuously until it completely finishes field  T p + 1  and returns to the garage;  t i , T p + 1 , s 1 , k d i  is the time consumed by fertilizer applicator  A i  to work continuously until it completes  k  columns of field  T p + 1  and returns to the garage, where  k = 1 , 2 , , d T p + 1 d i , and  ·  is the upwards rounding symbol.
When the condition of  t i , T p , s 1 , d T p < h m a x < t i , T p + 1 , s 1 , d T p + 1  is satisfied, there are four possible cases:
  • t i , T p + 1 , s 1 , d i > h m a x ;
  • t i , T p + 1 , s 1 , d i < h m a x < t i , T p + 1 , s 1 , 2 d i  and a fertilizer applicator  A i  leaving field  T p + 1  is on the other side of the specified entrance or exit point;
  • t i , T p + 1 , s 1 , d i < h m a x < t i , T p + 1 , s 1 , 2 d i  and a fertilizer applicator  A i  leaving field  T p + 1  is on the side of a specified entrance or exit point;
  • t i , T p + 1 , s 1 , k d i < h m a x < t i , T p + 1 , s 1 , k + 1 d i , k   2 .
In Cases 1 and 2, the operational sequence is  T 1 , T 2 , , T p , s 1 , d T p , whereas in Cases 3 and 4, if a fertilizer applicator  A i  that leaves a field  T p + 1  is on the side other than that of the specified entrance or exit point, then the operational sequence is  T 1 , T 2 , , T p + 1 , s 1 , k 1 d i ; if a fertilizer applicator  A i  that leaves a field  T p + 1  is on the side of the specified entrance or exit point, then the operational sequence is  T 1 , T 2 , , T p + 1 , s 1 , k d i .
(2)
The continuous operating time of fertilizer spreader  A i
The time  t i , T p , s 1 , s 2  required for a fertilizer applicator  A i  to complete an operational sequence  T 1 , T 2 , , T p , s 1 , s 2  continuously consists of three parts:
  • Travel time  t i 1  of fertilizer applicator  A i  on the road;
  • Time of field linear operation of fertilizer applicator  A i , which is labeled as time  t i 2 ;
  • Field turnaround time  t i 3  of fertilizer applicator  A i .
t i , T p , s 1 , s 2 = t i 1 + t i 2 + t i 3
t i 1 = S i v i
t i 2 = j = 1 n N i j l T j v w j x 1 A i , j
t i 3 = j = 1 n N i j 1 t t i x 1 A i , j
where  S i  is the total travel distance of a fertilizer applicator  A i  on the road, as shown in Equation (8);  N i j  is the number of columns of a fertilizer applicator  A i  operating on a field  T j , as shown in Equation (9);  v w j  is the speed of a fertilizer applicator operating on a field  T j , as shown in Equation (10);  v i  is the speed of a fertilizer applicator  A i  on the road;  l T j  is the length of a field  T j t t i  is field turnaround time of a fertilizer applicator  A i x 1 A i , j = 1  represents that the field  T j  is the operational field of a fertilizer applicator  A i , and  x 1 A i , j = 0  represents other situations.
The total travel distance  S i  of a fertilizer applicator  A i  on the road is calculated as follows:
S i = j = 1 n s 1 A i , T j x 2 A i , j + j = 1 n s 2 A i , T j x 3 A i , j   + k = 1 n l = 1 n s A i , T k T l x 4 A i , k l
where  s 1 A i , T j  is the distance of a fertilizer applicator  A i  from the garage to the entrance of a field  T j s 2 A i , T j  is the distance of a fertilizer applicator  A i  from the end position of a field  T j  to the garage;  s A i , T k T l  is the distance of a fertilizer applicator  A i  from a field  T k  to the field  T l x 2 A i , j = 1  represents that the field  T j  is the first operational point of fertilizer applicator  A i , and  x 2 A i , j = 0  represents other situations;  x 3 A i , j = 1  represents that the field  T j  is the last operational point of fertilizer applicator  A i , and  x 3 A i , j = 0  represents other situations;  x 4 A i , k l = 1  represents that the fields  T k  and  T l  are the operating points of fertilizer applicator  A i  in the order of allocation, and  x 4 A i , k l = 0  represents other situations.
The number of columns  N i j  where a fertilizer applicator  A i  operates on a field  T j  is obtained as follows:
N i j = d T j d i , j 1 , p         d T j s 1 d i , j = 1 s 2 d i , j = p                        
where  ·  is the upwards rounding symbol;  1  is the serial number of the first operational field;  p  is the serial number of the last operational field;  d T j  is the width of a field  T j d i  is the working width of a fertilizer applicator  A i .
The speed  v w j  of a fertilizer applicator operating on a field  T j  is expressed as follows:
v w j = i = 1 5 v w g i g T j , i
where  v w g i  is the working speed of a fertilizer applicator  A i  under the field classification into positive large, positive small, medium, negative small, and negative large fields;  g T j , i = 1  represents that the field  T j  belongs to the  i th classification among the five classifications, and  g T j , i = 0  represents other situations.
(3)
Distance from garage to the field and between the fields
The distance between the garage and the  n  fields is represented by a square matrix  D d  of order ( n + 1 ) with a diagonal of zero, as shown in Equation (11), where the first row (column) represents the garage, and rows (columns) from the second row (column) to the last row (column) represent  n  fields.
D d = d 1 , 1 d 1 , n + 1 d n + 1 , 1 d n + 1 , n + 1
d i + 1 , j + 1 = d g a r a g e , T j , ( i = 0 , j = 1 , 2 , , n ) d T i , T j , ( i ,   j = 0 , 1 , , n   a n d   i j )
where  d g a r a g e , T j  is the distance from garage to field  T j d T i , T j  is the distance from field  T i  to field  T j .
It is stipulated that the entrance and exit of a garage denote the intersection points, and the entrance and exit of a fertilizer applicator in the field are divided into two situations:
  • The two vertices of the field are on the roadside, and the other two vertices are not on the roadside. As shown in Figure 3, for the two fields, it is stipulated that the left point of the two points on the roadside, like point  p 1  or  p 3 , represents the entrance of a fertilizer applicator, and the point on the right, like point  p 2  or  p 4 , denotes the exit of the fertilizer applicator;
  • The four vertices of the field are all on the roadside. As shown in Figure 4, it is stipulated that the left point of the upper two points, like point  p 1  or  p 3 , represents the entrance of a fertilizer applicator, and the point on the right, like point  p 2  or  p 4 , is the exit of the fertilizer applicator.
The distance between the garage and  n  fields, from one place to the other, can be obtained by calculating the distance from its exit to the entrance of the other places using the Dijkstra algorithm.
There are three special situations in the process of distance calculation:
  • As shown in Figure 3, fields  T i  and  T j  are connected to each other on the opposite side of the entrance or exit side of the two fields. The distance from field  T i  to field  T j  is the distance from the point  p 6  on the right side of the connected side of field  T i  to the point  p 7  on the left side of the connected side of field  T j ; similarly, the distance from field  T j  to field  T i  is the distance from the point  p 8  on the right side of the connected side of field  T j  to the point  p 5  on the left side of the connected side of field  T i ;
  • As shown in Figure 4, the opposite side of the entrance or exit side of field  T i  is on the same road as the entrance or exit side of field  T j . The distance from field  T i  to field  T j  represents the distance from the point  p 6  on the right side of the opposite side of the entrance or exit side of field  T i  to the point  p 3  on the left side of the entrance or exit side of field  T j ;
  • As shown in Figure 4, the opposite side of the entrance or exit side of field  T i  is on the same road as the entrance or exit side of field  T j . The distance from field  T j  to field  T i  denotes the distance from the point  p 4  on the right side of the entrance or exit side of field  T j  to the point  p 5  on the left side of the opposite side of the entrance or exit side of field  T i .
As given in Equation (13), a square matrix of order  n + 1  is used to represent the classification of situations from one location to another.
G = g 1 , 1 g 1 , n + 1 g n + 1 , 1 g n + 1 , n + 1
g i j = 0 , ( Normal   situation ) 1 , S i t u a t i o n 1                       2 , ( Situation   2 )                       3 , ( Situation   3 )                       , i , j = 1 , 2 , , n + 1
The distance of a fertilizer applicator  A i  from a garage to the field  T j  defined by Equation (8) is calculated as follows:
s 1 A i , T j = d 1 , j + 1 + s 1
when a fertilizer applicator completes a field and is positioned on the opposite side of the entrance or exit side, it is necessary to add the field length to the distance between the two points. For the convenience of calculations, this study uses  x i j  to denote the side where a fertilizer applicator  A i  enters field  T j  and  y i j  to denote the side where the fertilizer applicator  A i  is located when it completes the operation task on field  T j ; “1” represents the specified entrance or exit side, and “0” denotes the other side.
y i j = x i j + N i j % 2
where  %  is the modulus operator.
The distance of a fertilizer applicator  A i  from a field  T j  to the garage defined in Equation (8) is calculated as follows:
s 2 A i , T j = d j + 1 , 1 + y i j 1 l T j d T j s 2
Similarly, the distance of a fertilizer applicator  A i  from a field  T k  to the field  T l  is calculated as follows:
For  g k + 1 , l + 1 = 0 , the calculation formula is as follows:
s A i , T k T l = d k + 1 , l + 1 + y i k 1 l T k x i l = 1
For  g k + 1 , l + 1 = 1 , the calculation formula is as follows:
s A i , T k T l = d k + 1 , l + 1 + y i k l T k x i l = 0
For  g k + 1 , l + 1 = 2 , the calculation formula is as follows:
s A i , T k T l = d k + 1 , l + 1 + y i k l T k x i l = 1
Finally, for  g k + 1 , l + 1 = 3 , the calculation formula is as follows:
s A i , T k T l = d k + 1 , l + 1 + y i k 1 l T k x i l = 0

2.2.2. Fertilizer Distribution Model of Fertilizer Truck

The operational field of a fertilizer truck defined for a specific day can be divided into four parts as follows. The first operational field of a fertilizer applicator in the morning is the first part; the remaining field of the fertilizer applicator in the morning is the second part; the first operation field of the fertilizer applicator in the afternoon is the third part; however, if the first operation field in the afternoon is finished in the morning, this part is regarded as the second part; the remaining field of the fertilizer applicator in the afternoon is the fourth part.
The transportation sequence of a fertilizer truck on a specific day is expressed by  T 1 , T 2 , , T p , and the maximum amount of fertilizer transported by the fertilizer truck is denoted by  F m a x . Based on this, the number of transportations of the fertilizer truck and the distance of each transportation can be obtained. Assume that  F T k  represents the amount of fertilizer that the fertilizer truck needs to transport to complete sequence  T 1 , T 2 , , T k  at one time, and  F T k + 1  is the amount of fertilizer that the fertilizer truck needs to transport to complete sequence  T 1 , T 2 , , T k + 1  at one time. When  F T k < F m a x < F T k + 1 , a sequence  T 1 , T 2 , , T k  is a transportation task, and so on, until all fields are completed.
As mentioned above, one fertilizer truck completes a transportation sequence. Taking the shortest total travel distance of a fertilizer truck as the optimization goal, the model of the considered problem is constructed, and the model objective function is defined as follows:
f = i = 1 N t d w i
where  d w i  is the travel distance of a fertilizer truck in the  i th transportation process;  N t  is number of transportations of a fertilizer truck;  f  is the cost for a fertilizer truck to complete the entire transportation sequence.
The amount of fertilizer required for each field is defined by Equation (23). Based on the amount of fertilizer for each field, which is necessary to complete all transportation tasks, the number of transportations of a fertilizer truck and the transportation sequence of each transportation can be obtained.
A f j = l T j d T j d T j   i = 1 5 a f g i g T j , i
where  A f j  is the amount of fertilizer applied to a field  T j l T j  is the length of a field  T j d T j  is the distance from the position where a fertilizer applicator leaves a field  T j  to the normal entrance of the field  T j d T j  is the distance from the position where a fertilizer applicator enters a field  T j  to the normal entrance of the field  T j a f g i  is the unit amount of fertilizer of the fields under the field classifications into positive large, positive small, medium, negative small, and negative large fields;  g T j , i  is classification of a field  T j .
According to the operation sequence of a fertilizer truck and the entrance of each field, the distance traveled by the fertilizer truck to complete a certain transportation sequence  d t  can be calculated as follows:
d t = s T j y 1 T j + s T j y 2 T j + k = 1 n l = 1 n s T k T l y 3 T k T l
where  s T j  is the distance between the garage and the entrance of a field  T j s T k T l  is the distance between the entrances of fields  T k  and  T l y 1 T j = 1  represents that the field  T j  is the first transportation point of a fertilizer truck, and  y 1 T j = 0  represents other situations;  y 2 T j = 1  represents that the field  T j  is the last transportation point of a fertilizer truck, and  y 2 T j = 0  represents other situations;  y 3 T k T l = 1  represents that the fields  T k  and  T l  are the transportation points of a fertilizer truck according to the distribution order, and  y 3 T k T l = 0  represents other situations.
The fertilizer stacking point on each field is specified as the entrance of a fertilizer applicator on that field under normal conditions; the shortest transportation distance of a fertilizer truck between the fertilizer stacking point on each field and the garage is represented by a symmetric square matrix  D d  of order  n + 1 , with a diagonal of zero, which can be computed by the Dijkstra algorithm as follows:
D d = d 1 , 1 d 1 , n + 1 d n + 1 , 1 d n + 1 , n + 1
d i + 1 , j + 1 = d g a r a g e , T j , ( i = 0 , j = 1 , 2 , , n ) d T i , T j , ( i ,   j = 1 , 2 , , n )
where  d g a r a g e , T j  is the distance between the garage and field  T j d T i , T j  is the distance from field  T i  to field  T j .

2.3. Improved Fireworks Algorithm

The traditional fireworks algorithm mainly includes three parts: explosion operator, mutation operator, and selection operator. The fireworks algorithm regards the location of each firework as a feasible solution to the problem. The explosion operator, where each firework has a different explosion radius with a different number of generated sparks, can be used to balance the global and local searches. The explosion operator defines that each firework, in a different explosion radius, generates a different number of new sparks. The better the fitness of the fireworks is, the smaller the explosion radius will be, and the more sparks will be generated by the explosion so as to conduct a local search. The worse the fitness of the fireworks is, the larger the explosion radius will be, and the fewer the sparks that will be generated by the explosion so as to conduct a global search [20]. As shown in Equations (27) and (28), the explosion radius and the number of generated sparks can be calculated. Further, the mutation operator selects fireworks randomly and performs Gaussian mutation on their random dimensions to increase population diversity. Finally, the selection operator mostly uses roulette for population selection.
R i = R m a x f X i min 1 < j < N f X j + ε i = 1 N f X i min 1 < j < N f X j + ε
Q i = Q m a x max 1 < j < N f X j f X i + ε i = 1 N max 1 < j < N f X j f X i + ε
where  X i  is the  i th firework;  f X i  is the fitness of the firework  X i R i  is the explosion radius of the firework  X i Q i  is the number of generated sparks;  R m a x  is the maximum explosion radius of the firework  X i Q m a x  is the maximum number of generated sparks;  N  is the number of populations;  ε  is a minimum value.
The new sparks generated in the explosion and mutation processes might be out of the specified boundary range in some dimensions, so they have to be cross-border processed. The cross-border process of a generated spark  Y i  is defined as follows:
Y i k = L u m o d Y i k L u , L u L l , Y i k > L u                     L l + m o d L l Y i k , L u L l , Y i k < L l                         Y i k , L l < Y i k < L u                                                                                                  
where  Y i k  is the  k th dimension of a spark  Y i L u  is the maximum boundary limit;  L l  is the minimum boundary limit;  m o d ·  is subtraction operator.
The fireworks algorithm can search for more solutions in the solution space through the explosion operator and has better global search capabilities. It often achieves better solutions than other optimization algorithms in large-scale problems.
The traditional fireworks algorithm generates different numbers of sparks within different explosion radius according to the different fitness of the fireworks, which can better balance global search and local search [21]. However, it also has the problem, like other swarm intelligent algorithms, that it is easy to fall into a local optimal [22].
Aiming at the problem that the traditional fireworks algorithm can easily fall into a local optimal solution, this paper proposes the following improvement.

2.3.1. Coding and Discretized Decoding

The traditional fireworks algorithm is a continuous optimization algorithm, and its solution space is a continuous variable. The solutions to the task allocation problem of fertilizer applicators and the fertilizer distribution problem of fertilizer trucks are discrete values. Thus, it is necessary to use a discretized decoding method to decode and obtain possible solutions to the task allocation problem and fertilizer distribution problem.
(1)
Multi-Machine Cooperative Operation Task Allocation of Fertilizer Applicators
Assume that  m  is the number of fertilizer applicators and  n  is the number of fields where fertilizer needs to be applied. By means of real number coding, each individual is an n-dimensional real number vector, and each element of the vector takes values from the range of  0 , m .
Further,  n  element positions of the individual vector represent  n  fields where fertilizer needs to be applied. An element from the range of  0 , 1  indicates that the field is operated by fertilizer applicator  A 1 , and an element from the range of  k 1 , k  indicates that the field is operated by a fertilizer applicator  A k . The element size represents the order of the operation of the corresponding field.
Table 1 shows an example of encoding and decoding with two fertilizer applicators and five fields. A five-dimensional real number vector is generated during coding, and the element size is in the range of  0 , 2 . The element positions correspond to five fields, and the elements in intervals  0 , 1  and  1 , 2  represent the operations conducted by fertilizer applicators  A 1  and  A 2 , respectively. The numerical size of an element represents the order of operation of an application fertilizer.
(2)
Fertilizer Distribution of Fertilizer Truck
As mentioned above, one fertilizer truck delivers fertilizer to  n  fields, and fields in the model of the fertilizer distribution problem of a fertilizer truck are divided into four parts, having the number of fields of  n 1 n 2 n 3 , and  n 4 . The coding method proposed to solve the problem model is shown in Figure 5.
In the coding process, the four regions correspond to the four types of fields, and each coding number has a value between 0 and 1. In the decoding process, the locations of the elements in each part correspond to the number of fields in each part arranged from small to large, and the order of the size of several numbers in each part represents the delivery order of fertilizer.

2.3.2. Chaos Initialization

In the traditional fireworks algorithm, fireworks are generated by random initialization. In this way, the location of fireworks will be unevenly distributed in the solution space, which can reduce the stability and accuracy of the algorithm. However, applying chaotic mapping to the population initialization can increase population diversity.
Chaotic mapping creates a sequence of chaotic variables generated by a simple deterministic system, which is used to replace the random number generator. The generated chaotic variables have the characteristics of nonlinearity, ergodicity, and randomness. In the intelligent optimization algorithm, chaotic mapping can often achieve better results than the random number generator.
Currently, there are many types of chaotic mapping methods. However, due to the strong ergodicity property, the logistic mapping method is selected in this study. The standard logistic mapping is defined as follows:
z k + 1 = μ z k 1 z k
where  z k  is the  k th chaotic variable, and  z 0 0 , 0.25 , 0.5 , 0.75 , 1 μ  is parameter  μ 0 , 4 , and its value in this study is set to four.
The sequence of chaotic variables obtained using Equation (30) can be used to initialize the population of the Chaos–Cauchy Fireworks Algorithm (CCFWA) using certain mapping rules. The mapping method of the chaotic variable sequence to the solution space is given by Equation (31).
X i k = b l + z i k b u b l
where  X i k  is the  k th dimension of fireworks  X i b l  is the lower boundary of the solution space;  b u  is the upper boundary of the solution space;  z i k  is the  k th chaotic variable of the chaotic variable sequence corresponding to fireworks  X i .

2.3.3. Cauchy Mutation

The traditional fireworks algorithm adopts the Gaussian mutation method, which has a short mutation step size and good local search ability. However, when an individual falls into a local optimum, it is difficult for the algorithm to exit the local optimum. Therefore, the Cauchy mutation method is considered in this study. Compared to the Gaussian mutation method, the Cauchy mutation method has a larger mutation step size, which can increase the population diversity, improve the global search ability of the algorithm, and prevent the algorithm from falling into the local optimum. The algorithm uses the Cauchy mutation spark instead of the Gaussian mutation spark. The Cauchy mutation spark  Y i  generated by fireworks  X i  is expressed as follows:
Y i k = X i k + C a u c h y 0 , 1
where  C a u c h y 0,1  is the Cauchy distribution with the position and scale parameters of 0 and 1, respectively.
The generated Cauchy variant sparks also need to be cross-border processed using the cross-border process strategy.

2.3.4. CCFWA Process

In this paper, a fireworks algorithm based on discretized decoding, chaotic initialization, and Cauchy mutation is proposed, and its flowchart is shown in Figure 6.

3. Results and Discussion

3.1. Validation Experiment on Task Allocation Problem of Multi-Machine Cooperative Operation of Fertilizer Applicators

The Fireworks Algorithm (FWA), Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and the proposed CCFWA were used to solve the problem. Genetic Algorithm and Particle Swarm Optimization are two commonly used task allocation algorithms [23,24].
The experiment was conducted in a test area in Jimo District, Qingdao City, Shandong Province, where the number of fertilizer applicators was 3, the number of fields was 25, and the maximum working time of each fertilizer applicator was 8 h per day. The distribution of the fields is shown in Figure 7.
The parameters of fertilizer applicators are shown in Table 2. The operational speed of each fertilizer applicator was in the range of 4–8 km/h. The operational speed of the fertilizer applicator on each field was determined by the fertility classification of the field.
The field parameters are shown in Table 3, where two important parameters, the length and width of each field, can be seen.
The information on field fertility, fertilizer application amount, and operation speed is presented in Table 4. The unit fertilizer application amount corresponding to the five field classifications of positive large, positive small, medium, negative small, and negative large fertility decreased sequentially, so the corresponding operational speed of the fertilizer applicator on the field increased sequentially and had the value of 4, 5, 6, 7, and 8 km/h, respectively.
Experiment 1: For the above-mentioned algorithms, using their simulation results, the graph of the number of iterations and the best fitness value were obtained, and their final fitness values and performances were compared. The parameter settings of the algorithms are shown in Table 5. The initial population size of all the four algorithms was set to 100, and the remaining parameters were selected from their common value range.
The comparison results of the fitness value of the four algorithms are shown in Figure 8, where it can be seen that the GA was prone to premature convergence and fell into a local optimum. Compared with the GA, the PSO could break through the local optimum in the early stage, but it could still fall into a local optimum in the middle and later stages. The FWA had a fast convergence speed in the early stage and could break through a local optimum, but there was still the possibility of falling into a local optimum in the middle and late stages. The proposed CCFWA could continuously break through the local optimum in the middle and late stages while ensuring the convergence speed, achieving better global search ability than the other algorithms. Among the four algorithms, the final fitness value of the CCFWA was the best.
Experiment 2: This experiment was conducted to verify the ability of the proposed CCFWA to solve the task allocation problem of fertilizer applicators. The FWA, GA, PSO, and CCFWA algorithms were run 20 times each. Statistical analysis was carried out using four evaluation indicators: average value, variance, minimum value, and maximum value.
The statistical results of the minimum cost of the four algorithms are shown in Table 6, and from the perspective of the mean value, the four algorithms arranged in order of effectiveness were the CCFWA, FWA, PSO, and GA. The variance of the proposed CCFWA was much smaller than those of the other three algorithms, showing a reduction of 48%, 141%, and 139%, respectively. Considering comprehensively, the CCFWA could provide a better and more stable solution than the other three algorithms.
Table 7 shows the optimal results obtained among the 20 results of the CCFWA, including the number of working days, daily working time, working route, and the position of the last field when the working process was finished (i.e., the distance between the ending position and the normal entrance of the field). For fertilizer applicator 1, in the results on the first day, 9→17→10 means that the operation route was from the garage through fields 9, 17, and 10 to the garage; 124 m means that the position of the fertilizer applicator leaving field 10 was 124 m from the entrance of field 10; 7.738 h means that the operating time of the fertilizer applicator was 7.738 h. The results obtained for the next few days were the same. On each day, the position of the fertilizer applicator entering the first field was determined by the departure position on the previous day, except that the position of the fertilizer applicator entering the first field on the first day was the entrance position of the field. If the departure position on the previous day was not the exit position of the field, the entry position was the departure position of the field, but if it was the exit position of the field, the entry position was the entrance position of the next field.

3.2. Verification Experiment on Fertilizer Distribution Problem of Fertilizer Truck

In this experiment, the best result obtained by the CCFWA in Experiment 2 was used as input, and the fertilizer truck could transport up to 2 tons of fertilizer at a time; these data were used to determine the number of times per day the fertilizer trucks transported fertilizers along with the order of each transport.
The best results obtained by the CCFWA are shown in Table 7 and Table 8. Table 8 shows the daily amount of fertilizer used in each field during the four-day fertilization operation.
Table 9 presents the fertilizer distribution scheme obtained by the CCFWA. Since there were not many fields that needed to be transported every day, an optimal allocation scheme could be obtained by the exhaustive method, and the optimal result obtained by the exhaustive method was consistent with the result obtained by the CCFWA. However, the exhaustive method is time-consuming and labor-intensive. When the number of fields to be transported increases every day, the time required for solving the fertilizer distribution scheme by the exhaustive method increases exponentially, making it difficult to obtain the solution. Therefore, using the proposed CCFWA to solve the fertilizer distribution problem considered in this study is more effective and convenient.

4. Conclusions

This study considers the situation of different fertility of fields in practical operation scenarios, which leads to different operation speeds of fertilizer applicators in the field, and addresses the problem of multi-machine cooperative operation of fertilizer applicators and cooperative distribution of fertilizers from a fertilizer truck in fields with different fertility. To solve the considered problem, this study proposes the CCFWA, which improves some of the operations of the traditional fireworks algorithms. The verification experiments show that the CCFWA has better solution quality compared to the traditional FWA, PSO algorithm, and GA in task allocation of multi-machine cooperative operation of fertilizer applicators, and the variance is reduced by 48%, 141%, and 139%, respectively, with a higher stability of the solution. In addition, by using the proposed CCFWA, the problem of cooperative distribution of fertilizer from a fertilizer truck can be solved in a more effective and convenient way compared to the FWA, PSO algorithm, and GA. Finally, the proposed CCFWA can realize multi-machine cooperative operation of fertilization task allocation of fertilizer applications and cooperative distribution of fertilizer from a fertilizer truck, according to multiple fertility fields.
However, this paper only studies the problem of multi-machine collaboration of fertilizer applicators and cooperative distribution of fertilizer from a fertilizer truck in the fertilization process. Multi-machine collaboration of agricultural machinery in other agricultural production processes has not been explored, such as multi-machine collaboration of harvesters and cooperative transportation of grain trucks in the harvesting process. For the problem of multi-machine collaboration for agricultural machinery in other processes, it is necessary to establish appropriate problem models and solution methods based on the characteristics of the problem in future research.

Author Contributions

Conceptualization, S.Z. and H.M.; Methodology, S.Z., B.W. and H.M.; Formal analysis, S.Z. and S.P.; Data Curation, B.W. and S.P.; Investigation, S.P., Y.Y. and E.W.; Software, S.Z. and Y.Y.; Validation, S.Z. and E.W.; Writing—Original Draft Preparation, S.Z. and B.W.; Writing—Review and Editing, S.Z., B.W. and H.M.; Supervision, H.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Major Science and Technology Project of Xinjiang Uygur Autonomous Region of China (2022A02005).

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Li, S.C.; Zhang, M.; Wang, N.; Cao, R.Y.; Zhang, Z.Q.; Ji, Y.H.; Li, H.; Wang, H. Intelligent scheduling method for multi-machine cooperative operation based on NSGA-III and improved ant colony algorithm. Comput. Electron. Agric. 2023, 204, 107532. [Google Scholar] [CrossRef]
  2. Ma, L.; Xin, M.; Wang, Y.J.; Zhang, Y. Dynamic Scheduling Strategy for Shared Agricultural Machinery for On-Demand Farming Services. Mathematics 2022, 10, 3933. [Google Scholar] [CrossRef]
  3. Chen, C.; Hu, J.P.; Zhang, Q.K.; Zhang, M.; Li, Y.B.; Nan, F.; Cao, G.Q. Research on the Scheduling of Tractors in the Major Epidemic to Ensure Spring Ploughing. Math. Probl. Eng. 2021, 2021, 3534210. [Google Scholar]
  4. Liang, Y.J.; Yang, L.L.; Xu, Y.Y.; Chen, Z.B.; Feng, Y.R.; Wu, C.C. Dynamic path planning method for multiple unmanned agricultural machines in uncertain scenarios. Trans. Chin. Soc. Agric. Eng. (Trans. CSAE) 2021, 37, 1–8, (In Chinese with English Abstract). [Google Scholar]
  5. Cao, R.Y.; Li, S.C.; Ji, Y.H.; Xu, H.Z.; Zhang, M.; Li, M.Z. Multi-machine Cooperation Task Planning Based on Ant Colony Algorithm. Trans. Chin. Soc. Agric. Mach. 2019, 50, 34–39, (In Chinese with English Abstract). [Google Scholar]
  6. Liang, Z. Optimization of agricultural machinery task scheduling algorithm based on multiobjective optimization. J. Sens. 2022, 1, 5800332. [Google Scholar]
  7. Cao, R.Y.; Li, S.C.; Ji, Y.H.; Zhang, Z.Q.; Xu, H.Z.; Zhang, M.; Li, M.Z.; Li, H. Task assignment of multiple agricultural machinery cooperation based on improved ant colony algorithm. Comput. Electron. Agric. 2021, 182, 105993. [Google Scholar] [CrossRef]
  8. Cao, Y.R.; Guo, Y.N.; Zhang, Z.Q.; Li, S.C.; Zhang, M.; Li, H.; Li, M.Z. Global path conflict detection algorithm of multiple agricultural machinery cooperation based on topographic map and time window. Comput. Electron. Agric. 2023, 208, 107773. [Google Scholar] [CrossRef]
  9. Shi, M.; Feng, X.; Pan, S.; Song, X.; Jiang, L. A Collaborative Path Planning Method for Intelligent Agricultural Machinery Based on Unmanned Aerial Vehicles. Electronics 2023, 12, 3232. [Google Scholar] [CrossRef]
  10. Zhai, Z.Q.; Wang, X.Q.; Wang, L.; Zhu, Z.X.; Du, Y.F.; Mao, E.R. Collaborative Path Planning for Autonomous Agricultural Machinery of Master Slave Cooperation. Trans. Chin. Soc. Agric. Mach. (Trans. CSAE) 2021, 52, 542–547, (In Chinese with English Abstract). [Google Scholar]
  11. Jiang, Y.L.; Li, X.Y.; Yang, Z.; Zhang, X.T.; Wu, H.F. An adaptive immune-following algorithm for intelligent optimal schedule of multiregional agricultural machinery. Int. J. Intell. Syst. 2022, 37, 9404–9423. [Google Scholar] [CrossRef]
  12. Wang, M.; Zhao, B.; Liu, Y.C.; Wang, F.Z.; Wei, L.G.; Fang, X.F. Static Task Allocation for Multi-machine Cooperation Based on Multi-variation Group Genetic Algorithm. Trans. Chin. Soc. Agric. Mach. 2021, 52, 19–28, (In Chinese with English Abstract). [Google Scholar]
  13. Wang, M.; Zhao, B.; Liu, Y.C.; Wang, F.Z.; Wei, L.G.; Fang, X.F. Dynamic task allocation method for the same type agricultural machinery group. Trans. Chin. Soc. Agric. Eng. (Trans. CSAE) 2021, 37, 199–210, (In Chinese with English Abstract). [Google Scholar]
  14. Gong, J.L.; Wang, W.; Zhang, Y.F.; Yu, L.B. Cooperative working strategy for agricultural robot groups based on farmland environment. Trans. Chin. Soc. Agric. Eng. 2021, 37, 11–19, (In Chinese with English Abstract). [Google Scholar]
  15. Wang, N.; Yang, X.; Wang, T.H.; Xiao, J.X.; Zhang, M.; Wang, H.; Li, H. Collaborative path planning and task allocation for multiple agricultural machines. Comput. Electron. Agric. 2023, 213, 108218. [Google Scholar] [CrossRef]
  16. Wu, X.; Bai, J.; Hao, F.; Cheng, G.; Tang, Y.; Li, X. Field Complete Coverage Path Planning Based on Improved Genetic Algorithm for Transplanting Robot. Machines 2023, 11, 659. [Google Scholar] [CrossRef]
  17. Scharf, P.C.; Kitchen, N.R.; Sudduth, K.A.; Davis, G.; Hubbard, V.C.; Lory, J.A. Field-scale variability in optimal nitrogen fertilizer rate for corn. Agron. J. 2005, 97, 452–461. [Google Scholar] [CrossRef]
  18. Dai, Q.; Fletcher, J.J.; Lee, J.G. Incorporating Stochastic Variables in Crop Response Models: Implications for Fertilization Decisions. Am. J. Agric. Econ. 1993, 75, 377–386. [Google Scholar] [CrossRef]
  19. Zhang, J.; Guerrero, A.; Mouazen, A.M. Simulation of variable-rate manure application under different application scenarios. Soil Tillage Res. 2022, 221, 105416. [Google Scholar] [CrossRef]
  20. Pei, Y.; Zheng, S.; Tan, Y.; Takagi, H. Effectiveness of approximation strategy in surrogate-assisted fireworks algorithm. Int. J. Mach. Learn. Cybernet. 2015, 6, 795–810. [Google Scholar] [CrossRef]
  21. Sun, Y.-F.; Wang, J.-S.; Song, J.-D. An Improved Fireworks Algorithm Based on Grouping Strategy of the Shuffled Frog Leaping Algorithm to Solve Function Optimization Problems. Algorithms 2016, 9, 23. [Google Scholar] [CrossRef]
  22. Wei, W.; Ouyang, H.; Li, S.; Zhao, X.; Zou, D. A modified fireworks algorithm with dynamic search interval based on closed-loop control. Math. Comput. Simulat. 2022, 200, 329–360. [Google Scholar] [CrossRef]
  23. Han, S.; Fan, C.; Li, X.; Luo, X.; Liu, Z. A modified genetic algorithm for task assignment of heterogeneous unmanned aerial vehicle system. Meas. Control 2021, 54, 994–1014. [Google Scholar] [CrossRef]
  24. Wang, J.F.; Jia, G.W.; Lin, J.C.; Hou, Z.X. Cooperative task allocation for heterogeneous multi-UAV using multi-objective optimization algorithm. J. Cent. South Univ. 2020, 27, 432–448. [Google Scholar] [CrossRef]
Figure 1. Operation mode diagram of a fertilizer applicator.
Figure 1. Operation mode diagram of a fertilizer applicator.
Agronomy 14 00710 g001
Figure 2. Schematic diagram of the fertilizer applicators operating in the order of distribution.
Figure 2. Schematic diagram of the fertilizer applicators operating in the order of distribution.
Agronomy 14 00710 g002
Figure 3. Schematic diagram of two vertices of a field on the roadside.
Figure 3. Schematic diagram of two vertices of a field on the roadside.
Agronomy 14 00710 g003
Figure 4. Schematic diagram of four vertices of a field on the roadside.
Figure 4. Schematic diagram of four vertices of a field on the roadside.
Agronomy 14 00710 g004
Figure 5. Coding method proposed to solve the fertilizer distribution problem.
Figure 5. Coding method proposed to solve the fertilizer distribution problem.
Agronomy 14 00710 g005
Figure 6. CCFWA flowchart.
Figure 6. CCFWA flowchart.
Agronomy 14 00710 g006
Figure 7. Schematic diagram of the experimental field.
Figure 7. Schematic diagram of the experimental field.
Agronomy 14 00710 g007
Figure 8. Comparison of fitness values of the four algorithms.
Figure 8. Comparison of fitness values of the four algorithms.
Agronomy 14 00710 g008
Table 1. Encoding and decoding examples.
Table 1. Encoding and decoding examples.
Coding0.351.321.270.651.51
Element position (corresponding to each field)12345
Fertilizer applicator   A 1   A 2   A 2   A 1   A 2
Order of operations   A 1 , 1   A 2 , 2   A 1 , 1   A 1 , 2   A 2 , 3
Table 2. Parameters of fertilizer applicators.
Table 2. Parameters of fertilizer applicators.
Fertilizer Applicator NumberWorking Width (m)Working Speed (km/h)Speed on the Road (km/h)Turning Time (h)
12.44–8100.005
22.14–8100.004
31.84–8100.003
Table 3. Parameters of fields displayed in Figure 7.
Table 3. Parameters of fields displayed in Figure 7.
Field NumberWidth (m)Length (m)Area (m2)
126018046,800
220018036,000
321018037,800
411218020,160
516018028,800
629015043,500
721015031,500
827015040,500
98018014,400
1012418022,320
116818012,240
1222018039,600
1317218030,960
1415018027,000
1517018030,600
1617018030,600
1732015048,000
1824015036,000
1924015036,000
2021015031,500
2120015030,000
2225015037,500
2321015031,500
2419017032,300
2520017034,000
Table 4. Field classification parameters.
Table 4. Field classification parameters.
Field ClassificationFieldWorking Speed of Fertilizer Applicator (km/h)Unit Fertilization Amount (kg/hm2)
Positive large1, 2, 3, 44230
Positive small5, 6, 7, 8, 9, 10, 115215
Medium12, 13, 14, 15, 16, 17, 186200
Negative small19, 20, 21, 227185
Negative large23, 24, 258170
Table 5. Algorithm parameter settings.
Table 5. Algorithm parameter settings.
AlgorithmParameter Settings
FWAPopulation size: 100; Maximum explosion radius: 1000; Maximum number of sparks: 2000; Number of variation sparks: 60
GAPopulation size: 100; Crossover probability: 0.8; Mutation probability: 0.1
PSOPopulation size: 100; Inertia weight: 0.8; Self-learning factor: 0.5; Group learning factor: 0.5
CCFWAThe same parameters as for the FWA
Table 6. Comparison of statistical results of the algorithms.
Table 6. Comparison of statistical results of the algorithms.
StatisticFWAGAPSOCCFWA
Mean value85.52287.78986.91985.004
Variance0.1730.2800.2820.117
Minimum value84.74186.58085.54484.440
Maximum value86.45588.74588.08785.793
Table 7. Optimal results of the CCFWA.
Table 7. Optimal results of the CCFWA.
Fertilizer Applicator NumberDaily Working Situation
1234
19→17→1015→14→132→33→12
124 m172 m168 m220 m
7.738 h7.697 h7.998 h4.714 h
219→16→77→6→44→120→11
105 m54.6 m260 m68 m
7.991 h7.960 h7.589 h4.425 h
35→88→21→25→2222→24→2318
230.4 m79.2 m210 m240 m
7.996 h7.996 h7.984 h4.170 h
Table 8. The amount of fertilizer required by each field every day.
Table 8. The amount of fertilizer required by each field every day.
Field NumberDaily Fertilization Amount (kg)
Day 1Day 2Day 3Day 4
10010760
2008280
300695.5173.9
40226237.60
5619.2000
60935.300
7338.6338.600
8743127.700
9309.6000
10479.9000
11000263.2
12000792
130619.200
14054000
15061200
16612000
17960000
18000720
19666000
20000582.8
21055500
220219.84740
2300535.50
2400549.10
25057800
Table 9. The fertilizer truck distribution scheme solved by the CCFWA.
Table 9. The fertilizer truck distribution scheme solved by the CCFWA.
Statistic1234
Transport order19→19→57→8→15→144→22→23→20→11→12
28→166→4→1324→1——
317→10→722→25→213→23——
Transport distance (m)15734737070709490
2602034846070——
3402466207760——
Total transport distance (m) 15,77817,47420,900
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhu, S.; Wang, B.; Pan, S.; Ye, Y.; Wang, E.; Mao, H. Task Allocation of Multi-Machine Collaborative Operation for Agricultural Machinery Based on the Improved Fireworks Algorithm. Agronomy 2024, 14, 710. https://doi.org/10.3390/agronomy14040710

AMA Style

Zhu S, Wang B, Pan S, Ye Y, Wang E, Mao H. Task Allocation of Multi-Machine Collaborative Operation for Agricultural Machinery Based on the Improved Fireworks Algorithm. Agronomy. 2024; 14(4):710. https://doi.org/10.3390/agronomy14040710

Chicago/Turabian Style

Zhu, Suji, Bo Wang, Shiqi Pan, Yuting Ye, Enguang Wang, and Hanping Mao. 2024. "Task Allocation of Multi-Machine Collaborative Operation for Agricultural Machinery Based on the Improved Fireworks Algorithm" Agronomy 14, no. 4: 710. https://doi.org/10.3390/agronomy14040710

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop