Professional Documents
Culture Documents
Original papers
a r t i c l e i n f o a b s t r a c t
Article history: Route planning in agricultural fields is a major challenge closely related to the amount of inputs con-
Received 18 March 2016 sumed and the associated soil compaction. Current approaches primarily focus on reducing the travelled
Received in revised form 6 June 2016 distances (i.e., the trajectories that vehicles have to cover to carry out the task) and generally do not con-
Accepted 14 June 2016
sider other optimization criteria such as input costs (e.g., fuel, herbicides, labor). Furthermore, although
Available online 22 June 2016
few approaches consider more than one vehicle, none of them takes into consideration vehicles with dif-
ferent characteristics, such as different speeds or different turning radii, and some variabilities of the field
Keywords:
such as the weed distribution have not been studied yet. All these factors affect the cost of routes to be
Route planning in agricultural scenarios
Route planning for autonomous vehicle
followed to accomplish agricultural tasks such as site-specific treatments. In this context, this study pro-
fleets poses a very general approach to optimize the routes that considers: (1) different criteria such as the trav-
Precision agriculture elled distance, the time required to perform the task and the input costs, even simultaneously, (2)
Site-specific applications vehicles with different features (e.g., working speeds, both intra and inter-crop, turning radii, fuel con-
Combinatorial optimization problem sumptions, tank capacities and spraying costs), (3) the variability of the field and (4) the possibility of
Simulated annealing tank refilling.
The proposed approach has special relevance for route planning in site-specific herbicide applications.
This case requires a tank on board the vehicle to store an agrochemical product, and its capacity must be
considered because it affects the routes to be followed, specifically in those cases in which the tank capac-
ity may not be sufficient to treat the entire field even when working in cooperation with other vehicles. In
such cases, refilling (i.e., a round trip to the refilling depot) may be essential despite the extra cost
involved in this operation.
The proposed approach was validated by solving several illustrative problems. The results showed that
the proposed route planner covers a broad range of agricultural situations and that the optimal routes
may vary considerably depending on the features of the fleet vehicles, the variability of the field and
the optimization criteria selected. Finally, a comparative study against other well-known agricultural
planners was carried out, yielding routes that improved those produced by the reference approaches.
2016 Elsevier B.V. All rights reserved.
1. Introduction ing the driver rather than generating the routes to be followed.
Indeed, most of these systems allow setting the route for a vehicle
The use of sensors, robotized equipment and computational either manually or using a predefined pattern line (TopCon System
systems integrated on board agricultural machinery is becoming 350, 2016), and allow supervising/controlling the vehicle trajectory
more common (Mulla, 2013; Mousazadeh, 2013). One current using an integrated auto-steering system to achieve total coverage
research area within this topic concerns the planning of the routes of an area while avoiding overlaps. Additionally, these systems are
that vehicles must follow to efficiently complete their tasks. Many usually able to supervise whether other aspects of the task are
commercial systems can be found on the market to help farmers being performed as expected, e.g. if the flow rate is consistent with
address this issue (TopCon products, 2016; Trimble, 2016; John specifications during spraying (TopCon System 350, 2016).
Deere, 2016). However, they generally focus on guiding/supervis- However, they are not capable to automatically generate a route
that considers the field characteristics, the specifications of the
Corresponding author. task and the vehicles features but rather delegate this responsibil-
E-mail addresses: jesus.conesa@csic.es (J. Conesa-Muoz), jose.bengochea@csic. ity to the farmers. In other words, given some initial and final posi-
es (J.M. Bengochea-Guevara), dionisioandujar@hotmail.com (D. Andujar), angela. tions for a tractor with a spray boom, the vehicles corresponding
ribeiro@csic.es (A. Ribeiro).
http://dx.doi.org/10.1016/j.compag.2016.06.012
0168-1699/ 2016 Elsevier B.V. All rights reserved.
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 205
Nomenclature
turning radius (i.e., the radius of the smallest circular turn it can promising results. However, real situations, such as agrochemical
make) and a distribution map of the weed patches, the currently tanks with different capacities for each vehicle or the different fuel
available commercial systems are not able to calculate the vehicle consumptions of each vehicle, were not addressed in that study.
trajectory to minimize distance, time, fuel or maneuvers while pre- Concerning the agrochemical tank of a vehicle, it is important to
cisely spraying herbicide on the weeds. note that its capacity and the field variability may affect the routes
Conversely, academic studies that have been published to date (Oksanen and Visala, 2009; Jensen et al., 2015). Thus, depending on
do address the routing problem. The usual approach of these works the weed distribution and the available agrochemical, the fleet
consist in dividing the field into smaller pieces (usually tracks) and deployment may vary to avoid refilling operations, for example,
then finding the optimal order to connect them (Stoll et al., 2003; by sending the vehicles with greater amount of agrochemical to
Tax et al., 2006; Oksanen and Visala, 2009), visiting each piece those areas that require larger amounts. Moreover, in these situa-
exactly once and avoiding overlaps and vehicle collisions inside tions, depot location influences the cost of the routes.
each track. Thus, the routing problem can be expressed as a com- As mentioned, most previous works divide the field into non-
binatorial optimization problem in which the optimal order to con- overlapping pieces and try to find the best sequence to cover them
nect all of the tracks must be found. Most approaches that have by using graphs where the vertices represent the field pieces and
been proposed to solve this problem use the distance as the opti- the costs of the edges are the shortest distances to travel among
mization criterion, and the minimum turning radii of the vehicles them. Then, methods generate the shortest route to visit all the
must therefore be considered to achieve realistic results (Bochtis vertices by using some graph theory search method usually based
and Vougioukas, 2008); however, in agricultural tasks, other crite- on greedy algorithms that do not guarantee to produce optimal
ria should be considered, such as the time required to accomplish routes in general, although they may yield solutions in a very short
the task and the inputs required (e.g., fuel, herbicide). Saving time time. Unfortunately these solutions may be very far from the opti-
directly affects the task cost due to the hourly wage of the workers mal trajectories. In contrast, metaheuristic algorithms can provide
in charge of the task (Pedersen et al., 2006), and saving inputs also optimal or at least near optimal results if they run long enough.
reduces the task cost while simultaneously reducing the environ- Metaheuristic approaches have already been used for planning
mental influence (Berny, 2007). Some of the proposed approaches routes in agricultural fields (Hameed et al., 2011), but considering
consider time as a criterion to be optimized (Srensen and Nielsen, only a vehicle and without taking into account the crop variability
2005; Bochtis et al., 2010), expressing it as a function of the dis- and/or charging tasks.
tance travelled and the type of turning performed; however, they This paper presents a very general approach to agricultural
do not take into consideration the difference between the working route planning taking into consideration relevant route planning
speed (i.e., the required speed within the crop) and the typical free aspects such as several vehicles, several optimization criteria, dif-
speed in the crop headlands. ferent vehicles characteristics, field variability distributions and
An interesting approach is the use of several vehicles working the possibility of refilling. The study was developed in the context
simultaneously to perform a task. This strategy presents several of the European project RHEA (FP7-NMP 245986, RHEA project,
advantages, such as the reduction of the task time and the soil 2014). The primary aim of RHEA was the development of a fleet
compaction when the vehicles are small-medium sized, in addition of autonomous robots with different capabilities that were able
to being more fault-tolerant because vehicle failure can be com- to collaboratively perform site-specific weed treatment. Thus, the
pensated for by other vehicles that can assume the work of the proposed study particularizes the tests and some aspects in site-
inoperative unit. The problem becomes harder because not only specific weed treatments, although the approach is general and
the optimal routes must be found, how to distribute the vehicles could be applied for other site-specific treatment such as variable
to achieve the task cooperatively must be also planned. Accord- rate applications of nitrogen and phytosanitary products.
ingly, Edwards et al. (2015) addressed the planning problem for a The proposed planner expresses the route problem as a combi-
fleet of homogeneous vehicles (i.e., vehicles with the same charac- natorial optimization problem and tackles it by a metaheuristic
teristics, such as working speed and turning radius) and obtained search such as simulated annealing (Kirkpatrick and Vecchi, 1983).
206 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220
Finally, in the results section, the proposed approach is com- routing applications for robotic platforms (Tavares et al., 2011;
pared against the results obtained by the Hameeds (Hameed Miao and Tian, 2013). The SA method works by emulating the
et al., 2011) and Bochtis (Bochtis and Vougioukas, 2008) physical process whereby a solid is slowly cooled such that when
approaches. Additionally, the results of some illustrative tests per- its structure is eventually frozen, it has a minimum-energy con-
formed for a broad range of typical agricultural situations are also figuration. Extrapolating this behavior to a computational search,
presented. the algorithm generates iteratively new random solutions always
selected if they are superior to the previous explored solutions
and, in otherwise, they are accepted depending on a temperature
2. Materials and methods
parameter which decreases over time. In other words, the higher
temperature, the higher probability of accepting newer worse solu-
2.1. Problem definition
tions. Accepting worse solutions allows the algorithm to avoid
local minima and, in this manner, to have a chance of exploring
In a treatment context, an agricultural vehicle carries a tool that
the entire solution space.
simultaneously covers a set of contiguous crop rows, hereinafter
Because better solutions replace previous worse solutions, it is
called track. Considering that the fleet must cover each track
expected that the algorithm converges to the best solutions. Thus,
exactly once to avoid redundant treatment and soil compaction,
after some amount of time, which depends on the size of the search
and the vehicles can only turn on the crop headlands, the agricul-
space, the solutions that are found are typically near the optimum
tural route planning problem to fully cover a field can be separated
solution.
into two stages: one to divide the field into parallel tracks using the
Additionally, to avoid stagnation at local minima when the tem-
crop direction and the working tool length, and the other to obtain
perature is low, a reannealing behavior can be included in the
the optimal track sequence that may be interspersed with trips to
method to increase the temperature and, consequently, getting a
the depot, that is, to determine the track sequence that optimizes
more randomly search that mitigates the effects of local minima
some criterion such as the travelled distance, the input consumed
(Ingber, 1989).
or the time required to perform the task.
Because each track must be covered exactly once, the track
2.2.1. Solution representation
sequences can be represented as permutations of the set T [ S that
As explained above, the solution to this problem is composed of
contains all of the tracks ti e T of the field and some separator ele-
two parts: track permutation and refilling. The permutation is
ments si e S to differentiate the tracks covered by each vehicle of
divided by separator elements si e S into as many parts as there
the fleet. Exactly n 1 extra elements si are contained in S, where
are vehicles in the fleet. The first part contains the tracks in charge
n is the number of vehicles in the fleet. In addition to the track cov-
of the first vehicle, the second part contains the tracks of the sec-
erage order, consumable refills (i.e., fuel, herbicide, etc.) must also
ond vehicle, and so on. The order in which each vehicle covers its
be considered, because if a vehicle does not have a tank with a suf-
tracks is defined by the order in which the tracks appear in the per-
ficient capacity to treat all of its assigned tracks, it will need to tra-
mutation from the left to the right.
vel to the depot for refilling. In practice, refilling can be performed
Refilling can be implemented, as explained above, by a binary
only during a transition between tracks, therefore, in addition to
vector or a refill mask with as many elements as there are track
the coverage permutation, it is necessary to include some addi-
transitions in the permutation to indicate whether a vehicle must
tional information in the solution to establish whether a refill is
refill or not. However, because the number of transitions varies
required during the transition between two tracks. Mathemati-
with the number of vehicles used, the length of this string may
cally, this problem can be expressed by Eq. (1):
change depending on the routes represented. To address this prob-
x argminx f x 1 lem a refill mask with as many elements as tracks is used instead of
carrying a mask with as many elements as transitions. Then, the
where f(x) is the objective function that assesses the cost of the meaning of each element bi (see Section 2.1) must be redefined
routes associated with a solution x that consists of the pair (r, b). as follows: a value of 1 indicates that a vehicle must go to the depot
In this study, r is a permutation of the set T [ S, and b is a binary just after leaving track ti and before going to the next track, and a
vector or mask, b e {0, 1}m, where m is the number of track transi- value of 0 indicates that a vehicle must go directly to the next track
tions in r, and x denotes the solution that minimizes the evaluated after leaving track ti. Additionally, bi for the last track of a route
criterion. If bi is 0, then no trip to the depot occurs during transition does not represent any transition and is thus not considered. With
i; otherwise, a trip must occur. Transition i represents the route this representation strategy, the length of the string is constant and
travelled from track tr(i) to track tr(i+1). thus easily integrated within any optimization method.
Fig. 1 shows an example of routes that have been codified,
2.2. Proposed method where the field is composed of 10 tracks (||T|| = 10) and the fleet
contains 4 vehicles (||S|| = 3), although vehicle 2 does not appear
The problem investigated in this study consists of determining in the solution (i.e., it is not in charge of any track). The starting
the optimal route to cover all of the tracks required and determin- positions of the vehicles are known in advance and the type of turn
ing which transitions require a visit to the depot to refill; thus, the to travel from one track to the next is defined by the minimum
problem can be expressed in terms of a combinatorial optimization turning radius of the vehicle and the distance between the middle
and can be described as an extension of the well-known CVRP NP- points of the tracks (i.e., the same distance as the track width)
Hard problem (Gutin and Punnen, 2002), where tracks are visited based on a study by Bochtis and Vougioukas (2008). The refill vec-
instead of customers, treatment is supplied instead of goods, vehi- tor indicates that depot visits must occur after the third and sixth
cles can have different features and visits to the depot to refill are tracks (note that the third and sixth vector b components are set to
allowed. As a consequence, it might be suitable to approach this 1); however, refilling must not be considered after the sixth track
problem using probabilistic methods, such as meta-heuristics, because it is the last track covered by vehicle 3.
which are widely used to address combinatorial optimizations The minimum turning radius and track width used in Fig. 1 are
(Blum and Roli, 2003). The simulated annealing method (SA) 3 and 4 m, respectively. Note that the tracks are composed of 4
(Kirkpatrick and Vecchi, 1983) is a commonly used meta- streets that are 1-m wide; thus, the vehicles cover 4 streets each
heuristic algorithm for solving this type of problems, including in time they move down a track.
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 207
where fd(x), fI(x) and ft(x) denote the distance, the input cost and the
time consumed by all vehicles in the fleet, respectively, for a solu-
tion x; and gd(xi), gI(xi) and gt(xi) are the distance, the input cost
and the time consumed only by vehicle vi e V, respectively, to com-
plete its part of the solution (xi).
To evaluate gd(xi), gI(xi) and gt(xi), the minimum machinery
operations required to accomplish solution xi are calculated.
Because each of these operations has a known associated cost in
terms of any of the objectives considered, it is possible to calculate
the objective values using Eqs. (5)(7):
X
kOk
g d xi mj cdij 5
j1
For clarity, the field shown in Fig. 1 is a regular field (i.e., all of X
kOk
the tracks start at the same y-coordinate and have the same length) g t xi mj ctij 7
j1
with a constant crop direction; however, the approach and solution
representation are also valid for non-regular fields even with vari- where mj is the number of minimum machinery operations of type
able crop directions and composed of several parcels, such as those
oj e O required by solution xi. Additionally, cdij , cIij and ctij denote the
in Fig. 2 because the problem, which is implicit in both situations,
costs of operation oj for the ith vehicle in terms of distance, input
can be generalized to determine the optimal order to cover the
cost and time, respectively. Using this approach, it is easy to update
tracks with interspersed refills regardless of the track outline. In
the system by considering new objectives because only the costs of
non-rectangular fields (Fig. 2a), the area must be split into variable
the operations for the new objective must be included since most
lengths and curved tracks (Fig. 2b), and the length of the transi-
objective functions fit either Eq. (3) (i.e., summation) or Eq. (4)
tions between two tracks or between a track and the depot must
(i.e., maximum).
be calculated using more general Dubins curves (Shkel and
The minimum machinery operations oj e O considered in this
Lumelsky, 2001) rather than the equations proposed by other
study include vehicle start-up operations, inter-track movements,
approaches more appropriate to regular fields (Bochtis and
intra-track movements, task operations and refills. Thus, each time
Vougioukas, 2008).
a new vehicle is used in the solution, a vehicle start-up operation is
registered, therefore the number of start-up operations is equal to
2.2.2. Objective functions
the number of vehicles used in the solution. The inter-track and
Objective functions are used to evaluate how well a solution per-
intra-track movements are operations that involve, by definition,
forms in terms of some specific criterion (i.e., an objective) and yield
a 1-m movement on the crop headlands and inside a track, respec-
a value, which is typically known as the objective value or cost that
tively, and thus coincide with the distances (in meters) travelled on
measures the aptness of a solution. The objectives or criteria consid-
the headlands and inside the crop. Movements in the headlands
ered in this study are the distance travelled, the input cost (i.e., the
and inside the crop are separately considered because they are
money spent on herbicide and fuel) and the spent time (i.e., the time
usually performed at different speeds. The number of task opera-
that it takes the fleet to complete the given agricultural task). The
tions equals the number of times that a working tool is used; for
first two objectives are calculated as the sum of the travelled dis-
example, in a selective spraying task, it is the number of times that
tances and the sum of the input costs incurred by each vehicle
the spraying boom is activated, which is related to the amount of
(Eqs. (2) and (3), respectively). Conversely, the task time is defined
agrochemical spent. Finally, a refill consists of waiting for some
as the maximum task time spent by each vehicle (Eq. (4)) because
time duration at a depot while the vehicles tank is refilled with
the vehicles can work in parallel:
herbicide, fuel or any input required to accomplish the agricultural
X
kVk task.
f d x g d xi 2 To calculate the costs of the minimum machinery operations,
i1
the amount of resources spent must be considered. For example,
X
kVk
Table 1 shows the type of resources related to a spraying treatment
f I x g I xi 3
operation. Once the number of operations to be executed and their
i1
cost is known, the exact costs of using the fleet can be calculated.
f t x max g t xi 4
16i6kVk Finally, in certain cases, several criteria should be minimized
simultaneously. To address several objectives using the SA method,
be activated or deactivated, and the refill modification types stud- 3.2.1. Test 1. Minimizing the distance travelled in the crop headlands
ied were the direct inversion and random operation, both already using different turning radii
described in Section 2.2.3. Fig. 3 shows the results obtained by test- The first test consisted of minimizing the distance travelled in
ing four possible combinations 10 times for 1 min for a typical dis- the crop headlands (i.e., only the distance travelled in transitions).
tance optimization problem. The optimum value was estimated to The distance objective function (Eq. (2)) was used in conjunction
be approximately 150 m. The best combination found was the one with the costs shown in Table 2 to measure the distances travelled
associated to the options no repair and random operation as the in the crop headlands to perform the operations. Vehicle startup
refill modification type; thus, those options were selected as the and spraying do not require moving the vehicle; thus, their costs
standard configuration and used to test the approach in the next were adjusted to 0. Inter-track and intra-track movement opera-
sections. tions, by definition, involve traveling 1 m. However, because we
wanted to minimize only the distance travelled in the crop head-
lands, the intra-track cost was set to 0. In this first test, the same
vehicle with different turning radii (e.g., 1, 3 and 4 m) was used
3.2. Illustrative problems to completely cover the field without performing any treatment
operation. Fig. 4 shows the different routes obtained as a function
To corroborate the versatility and good performance of the pro- of the turning radii considered.
posed approach, the SA method was tested by simulating some As shown in Fig. 4, a larger turning radius implies longer turns
agricultural scenarios which represent different route planning and thus longer trajectories because the vehicle must skip more
problems. The idea was to test the method for different fleet con- tracks to avoid O turns (i.e., turns that look like a bulb) longer than
Q
figurations (different number of vehicles, different turning radii, turns (i.e., turns that look like a semicircle) (Bochtis and
tank capacities, etc.) and different optimization criteria, and to ver- Vougioukas, 2008). For the 1-m turning radius the shortest turn
ify whether the routes obtained were consistent with those allows moving from a track to the contiguous one, thus the trajec-
expected. For most of the tests the vehicles had to perform a tory covers the tracks sequentially. The shortest turn with a 3-m
site-specific herbicide spraying to treat the weeds in the field. radius skips one track, thus all of the maneuvers except one skip
The weed distribution was known in advance and stored into a one track. Finally the shortest turn with a 4-m radius implies skip-
map in matrix form. Each matrix cell corresponded to a treatment ping two tracks. In this case the trajectory always skips these two
unit of the field and its infestation state. The vehicles had to cover tracks but one.
the field using one dose of herbicide in the cells labeled as infested. Table 3 shows the distances and the solutions obtained. In this
All of the fields used in the tests had 30 tracks and were rectangu- case the solutions are composed of only the permutations, in other
lar; all of the tracks had the same length. The tracks contained 4 words there is no refill mask in the solution because no tank was
streets that were 0.75-m wide (typical inter-row distance in maize used.
fields); thus, the vehicles bars were assumed to be 3 m and to con-
tain 4 independent valves (one per street) in such a way that it is
3.2.2. Test 2. Minimizing input cost or/and required time for a fleet of
possible to open/close them selectively to spray only desired areas.
homogeneous vehicles
All of the tests were run for no more than 1 min and the starting
This test shows how the proposed approach can address several
point of each vehicle was at the beginning of the first track on
similar vehicles with several criteria and how the optimum solu-
the upper crop headland (i.e., top left corner) or the depot, which
tions may significantly differ based on the criterion used in each
was located at point (15, 26).
case. A fleet of 5 vehicles was used to fully cover a field while
simultaneously spraying herbicide on weeds. The approach was
tested by determining the routes that minimized the following cri-
Table 2 teria: (a) the input costs, in particular those related to the use of
Assumed costs for test 1. herbicide and fuel (Eq. (3)); (b) the time required to accomplish
the agricultural task (Eq. (4)); and (c) both criteria concurrently
Costs of elementary operations
(Eq. (8)). Table 4 shows the features of the vehicles, assuming an
Startup Inter-track movement Intra-track Spraying (1
average consumption of fuel and herbicide of a typical agricultural
(1) (1 m) movement (1 m) cell/dose)
vehicle. Similarly, the time to complete the agricultural task was
0 1 0 0
calculated by assuming an adequate speed during spray
210 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220
Fig. 4. Routes obtained for test 1 with a turning radius of (a) 1 m, (b) 3 m and (c) 4 m.
Table 3
Distances travelled using different turning radii.
Radius (m) Distance travelled in crop headlands (m) Solution (i.e., track order)
1 120.11 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
3 281.99 (1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2)
4 412.51 (1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 30, 27, 24, 21, 18, 15, 12, 9, 3, 6, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29)
treatments. Additionally, assuming that field was divided into cide required and its cost can be easily calculated as a proportional
2400 cells of 0.75 cm 0.75 cm according to the weed map and estimation based on the cost of treating an entire field
that each spraying operation treats one cell, the amount of herbi- (Conesa-Muoz and Ribeiro, 2012). The refill cost is based on the
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 211
Table 4
Features of the vehicles used for test 2.
Fig. 5. Routes obtained to minimize the following criteria: (a) input cost; (b) required time; and (c) both criteria simultaneously.
212 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220
time required to fill the vehicles tank. Fig. 5 shows the different Table 6
routes obtained based on the minimization criterion. Weed Costs obtained by the proposed approach for test 2. The asterisk denotes the optimal
cost for each criterion.
patches are shown in green and covered a total of 720 cells (i.e.,
30% of the field); thus, a total of 720 doses were required to treat Solutions optimized for Input cost () Required time (s) Both ()
the entire field. Input-cost criterion 4.59 376.59 7.41
When the goal is to minimize the input cost (Fig. 5a), a vehicle Task-time criterion 5.48 87.38 6.14
is used only if it can cover the field without stopping to refill (i.e., Both criteria 5.01 129.11 5.98
Table 5
Plans identified by the proposed approach for test 2. The solutions show only the track order and the distribution among vehicles because no refilling occurs in all three cases.
Fig. 6. Routes obtained for test 3 to minimize the (a) input cost, (b) task time and (c) both criteria simultaneously.
Table 7
Plans (track order and refill vector) identified by the proposed approach for test 3.
Solution optimized for Solution (i.e., track order and refill vector)
Input-cost criterion (18, 20, 22, 17, 12, 16, 21, 15, 4, 6, 3, 1, 9, 11, 13, 10, 8, 7, 5, 2, 14, 19, 23, 25, 30, 28, 26, 29, 27, 24|, |, |, |, )
(1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
Task-time criterion (10, 12, 17, 21, 29|8, 7, 9, 11, 14, 16, 20|15, 22, 24, 26, 28, 30|1, 2, 4, 6, 13, 19|3, 5, 18, 23, 25, 27)
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
Both criteria (1, 2, 4, 6, 13, 19|15, 22, 24, 26, 28, 30|8, 7, 9, 11, 14, 16, 20|3, 5, 18, 23, 25, 27|10, 12, 17, 21, 29)
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
214 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220
Table 8 Table 9
Costs obtained by the proposed approach for test 3. The asterisk denotes the optimal Assumed costs in time during move operations in test 4 for each vehicle.
cost for each criterion.
Vehicle Speed Inter-track movement Intra-track movement
Solutions optimized for Input cost () Required time (s) Both () (km/h) (1 m) (1 m)
Input-cost criterion 4.84 1191.65 13.78 1 12 0.30 s 0.30 s
Task-time criterion 5.56 94.63 6.27 2 10 0.36 s 0.36 s
Both criteria 5.56 94.63 6.27 3 8 0.45 s 0.45 s
4 6 0.60 s 0.60 s
5 4 0.90 s 0.90 s
Table 6; this is due to the refill operations and the additional dis-
tances travelled to/from the depot.
An extra test was performed with the homogeneous fleet to but rather treat 9, 7, 6, 5 and 3 tracks, respectively, in such a way
determine whether a high refill cost could compensate for the star- that the faster vehicles cover more tracks (Fig. 8b).
tup cost, making it more profitable to use more vehicles in test 3a. Finally, when both criteria are considered simultaneously, as in
Thus, the refill cost was changed to 0.2 , which is the same cost as the previous cases, the solution involves most of the vehicles but
the startup operation. The solution obtained involved more than not all of them because time has a strong influence on the total
one vehicle (Fig. 7) with a total cost of 5.73 , whereas the solution cost. The two slowest vehicles were not used. Tables 10 and 11
that involves only one vehicle would have a cost of 6.04 . The show the routes and costs of each solution.
track order in this case is (3, 5, 2, 6, 4, 1|13, 15, 22, 26, 24|
10, 12, 21, 27, 29, 30|7, 9, 14, 16, 18|8, 11, 19, 17, 20, 23, 25, 28). A 3.2.5. Test 5. Minimizing time for a fleet of homogeneous fleet in a field
refill still appears, but it is in a transition near the depot and allows divided into three parcels
the rest of the fleet to have more comfortable dose margins and This test was designed to show how the proposed approach
shorter transitions, reducing the overall cost. addresses fields divided into different parcels. Tracks in this case
Finally, all of the vehicles used in this test could be changed for are not always contiguous. A fleet of 3 homogeneous vehicles
any other in the fleet because they all have the same characteris- was used in this trail. Their starting point was the depot and the
tics. Several tests were performed that validated this point. optimization criterion was the time. The three parcels were
designed to have the same size and the depot was taken equidis-
3.2.4. Test 4. Minimizing input cost, required time and both criteria for tant from them all, in such way that each vehicle covered one par-
a fleet of heterogeneous vehicles (i.e., different working speeds) cel (see Fig. 9). The vehicles had a turning radius small enough
The current test is similar to test 2 but considers the case where (1.5 m) to allow them directly move from a track to the contiguous
vehicles in the fleet have different features, i.e., different working one, otherwise, the turning maneuvers could have unbalanced the
speeds. The test must be understood as a theoretical situation, routes length, and the distribution would have not been so precise
because vehicles working speeds are usually determined by the and clear to study the approach behavior.
treatment. The test is supposed to be an advanced scenario with
old and modern vehicles that perform at different speeds. The 3.3. Comparison with other route planning approaches
operation costs are the same as those considered in test 2 except
for the cost of moving operations, as shown in Table 9. Fig. 8 shows The proposed approach was compared against another well-
the routes obtained for each considered criterion. known approaches, (Bochtis and Vougioukas, 2008; Hameed
The routes that minimize the input cost (Fig. 8a) are, as et al., 2011), that provided enough data in their studies (field con-
expected, those which minimize the travelled distances (Fig. 5a), tour coordinates and/or input/output track points) to reproduce
but in this case the solution involves the use of vehicle 2. the planning scenarios. Both reference planners were only able to
When the goal is to obtain the routes that minimize the time optimize for 1 vehicle and without considering variability, refilling
required to perform the task, all of the vehicles are used, as in pre- and tanks, so our proposed planner was particularized to perform
vious tests, but the vehicles do not treat the same number of tracks in this conditions too.
Fig. 7. Routes obtained for test 3a with a higher refill cost (0.2 ).
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 215
Fig. 8. Routes obtained for test 4 to minimize (a) input cost, (b) task time and (c) both criteria simultaneously.
Table 10
Plans identified by the proposed approach for test 4. The solutions show only the track order and the distribution among vehicles because no refill occurs in all three cases.
Table 11 were 40-m long; and the third field had 12 tracks that were 70-m
Costs obtained by the proposed approach for test 4. The asterisk denotes the optimal long. The input tracks included the 20th, 1st and 2nd tracks,
cost for each criterion.
respectively, and the output tracks included the 18th, 12th and
Solutions optimized for Input cost () Required time (s) Both () 1st tracks, respectively. The track width for the three fields was
Input-cost criterion 4.59 268.59 6.60 3 m and the turning radius of the vehicle was 2.5 m.
Task-time criterion 5.44 74.30 6.00 Table 12 summarizes the results obtained by Bochtis and
Both criteria 5.00 92.10 5.69 Vougioukas (2008) and the proposed approach. All of the solutions
(see Table 13) found by the proposed approach outperformed the
Bochtis routes by up to 17% (distances travelled on headlands).
Fig. 11 shows the routes identified by each approach for each small
The Bochtis approach was tested in 4 fields. The first had 8 field.
tracks with a width of 2.89 m and a length of 30 m. In this case a The proposed approach was also compared against the
tractor with a turning radius of 3.5 m was employed. The solution approach presented in Hameed et al. (2011), which also uses a
obtained by Bochtis (Fig. 10a) was r = (1, 4, 7, 3, 6, 8, 5, 2) with a metaheuristic method. In this work, the authors propose a genetic
total distance travelled of 335.767 m and a distance travelled on algorithm to (1) determine the best crop direction to establish the
headlands of 95.767 m, whereas the solution obtained by the pro- field, and (2) obtain the shortest track sequence for a single vehicle.
posed approach in this study (Fig. 10b) was r = (1, 4, 7, 3, 6, 2, 5, 8) Since the crop direction is an input parameter in the current work,
with a total distance travelled of 334.439 m and a distance trav- the comparison was only related to the track sequence optimiza-
elled on headland of 94.439 m. Note that the improvement is due tion stage. One of the tests considered in Hameeds study showed
to the smaller distance travelled in the headlands, since the dis- enough information about the vehicle and the field to replicate the
tance travelled inside of the tracks cannot be reduced. experiment conditions. For this test, the field was composed of 37
The other three fields considered in Bochtis study were part of tracks with a width of 9 m and had an irregular shape; additionally
a larger route planning project, where the best sequence of tracks the vehicle had a turning radius of 6 m. Furthermore, the input and
to cover each of the three fields is determined; however, unfortu- output points of the tracks were not provided by the paper and in
nately, the travelled distances and the shortest routes to connect consequence were extracted carefully from the actual field location
the fields are not provided. Therefore, it is not possible to replicate by using Google Maps. Despite this manual process, the total tracks
the same experiment. Nevertheless, the routes for each field are length provided by Hameed (6684 m) was nearly the same of the
provided, and thus, each field can be considered individually for extracted field (6700.13 m) and both shapes matched very
comparison purposes. It is important to highlight that the individ- precisely.
ual planning for each field does not guarantee the optimization of The solution obtained by Hameed (Fig. 12a) was r =
the overall distance because the input and output tracks obtained (12, 8, 6, 9, 1, 3, 5, 2, 4, 7, 11, 10, 18, 23, 20, . . .
when route planning in isolation may not be the optimal routes to 19, 17, 21, 24, 22, 16, 13, 14, 15, 25, 31, 29, 32, 30, 27, 28, 26, 36, 3-
connect the three fields. To overcome this issue, the input and out- 4, 33, 35, 37) with a total distance travelled of 7918.13 m and a dis-
put tracks obtained in Bochtis study were considered as fixed tance travelled on headlands of 1218.00 m, whereas the solution
points; thus, the proposed approach was used to optimize the obtained by the proposed approach (Fig. 12b) was r =
order of the internal tracks of each small field. The first field had (29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 2, 4, 6, 8, 10, 12, 1-
20 tracks that were 80-m long; the second field had 12 tracks that 4, 16, 18, 20, 22, 24, 26, 28, 30, . . . 31, 33, 32, 34, 35, 37, 36) with a
Fig. 9. Routes obtained for test 5 with a fleet of 3 vehicles and a field of 3 parcels.
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 217
Fig. 10. Solution obtained for the first field proposed in the Bochtis work: (a) Bochtis route and (b) the proposed approach route.
total distance travelled of 7661.60 m and a distance travelled on crop, and considering the working tools width, route planning was
headlands of 961.47 m, outperforming the Hameeds approach by expressed mathematically as a combinatorial optimization prob-
up to 21%. Moreover, Hameeds work indicates that the same field lem where the optimal order to cover the tracks of the field and
was route planned using the Bochtis approach and the distance the optimal transitions for refilling are identified.
travelled on headlands was 1017 m, therefore, the proposed The optimization method used was a simulated annealing algo-
approach also outperforms Bochtis results. rithm that was configured to calculate the optimal solution by test-
ing various possible configurations as rapidly as possible. The
configuration that exhibited the best performance was selected
4. Conclusions to validate the approach. In other words, the approach was vali-
dated by solving several illustrative problems and evaluating the
A very general approach to address a broad range of agricultural reasoning behind each result. The validation tests showed that
route planning problems has been proposed and developed in this the optimal routes may vary considerably depending on the fea-
study. The proposed approach addresses route planning with more tures of the fleet vehicles, the variability of the field, the need of
than one vehicle, with the same or different features, taking into refilling and the optimization criteria selected.
consideration the variability of the field (e.g., weed patches distri- Additionally, some tests were conducted to compare the pro-
bution), limited tank capacities and the possibility of refilling, and posed approach to other approaches reported in the literature. To
is able to optimize for different criteria, even simultaneously. The accomplish this, it was necessary to particularize the proposed
proposed study particularizes the tests and some aspects in site- approach to optimize the travelled distance using only one vehicle.
specific weed treatments, although the approach is general and The proposed approach outperformed Bochtis approach by up to
could be applied for other site-specific treatment such as variable 17% and Hameeds approach by 21% (in terms of the distance trav-
rate applications of nitrogen and phytosanitary products. elled on headlands).
Assuming that a crop can ideally be split into as many parallel Finally, the method presented in this article did not consider
tracks in the crop row direction as are required to cover the entire terrain elevation maps and accurate fuel consumption, this issue
could be improved by using the model presented in Gonzalez-de-
Table 12
soto et al. (2015). Additionally, the proposed approach could be
Results obtained by Bochtis approach and the proposed approach of this study. extended to address the following: (a) unusual but real cases, such
as those where transitions do not fit into Dubins curves (Shkel and
Bochtis approach Proposed approach
Lumelsky, 2001), which includes the case where the shortest tran-
Field Total Headland Total Headland sition crosses through the field (see Fig. 13a); and (b) cases where
distance (m) distance (m) distance (m) distance (m)
fields are composed of several crops connected by roads. To effec-
1 335.767 95.767 334.439 94.439 tively plan routes through a field like this, the transitions between
2.1 1835.916 235.916 1835.491 235.491
the tracks of different parcels following the existing inter-track
2.2 656.451 176.451 626.027 146.027
2.3 1006.451 166.451 985.602 145.602 roads must be considered (Fig. 13b).
Table 13
Solutions obtained by Bochtis approach and the proposed approach of this study.
Field Bochtis solution track order Proposed approach solution track order
1 (1, 4, 7, 3, 6, 8, 5, 2) (1, 4, 7, 3, 6, 2, 5, 8)
2.1 (20, 17, 14, 11, 8, 12, 9, 3, 6, 2, 5, 1, 4, 7, 10, 13, 16, 19, 15, 18) (20, 17, 14, 11, 8, 5, 2, 6, 3, 1, 4, 7, 10, 13, 9, 12, 16, 19, 15, 18)
2.2 (1, 5, 11, 7, 3, 9, 2, 6, 10, 4, 8, 12) (1, 4, 10, 7, 3, 6, 2, 5, 8, 11, 9, 12)
2.3 (2, 6, 10, 4, 8, 12, 9, 3, 7, 11, 5, 1) (2, 5, 3, 6, 9, 12, 10, 7, 11, 8, 4, 1)
218 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220
Fig. 11. Comparison of the (a, c, e) routes identified by the Bochtis approach (Bochtis and Vougioukas, 2008) and the (b, d, f) routes identified by the proposed approach.
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 219
Fig. 12. Comparison of (a) the routes obtained by Hameeds approach (Hameed et al., 2011) and (b) the routes obtained by the proposed approach.
(a) (b)
Fig. 13. (a) Shortest transitions across a crop; and (b) a field composed of several crops.
220 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220