You are on page 1of 17

Computers and Electronics in Agriculture 127 (2016) 204220

Contents lists available at ScienceDirect

Computers and Electronics in Agriculture


journal homepage: www.elsevier.com/locate/compag

Original papers

Route planning for agricultural tasks: A general approach for fleets of


autonomous vehicles in site-specific herbicide applications
Jesus Conesa-Muoz, Jos Mara Bengochea-Guevara, Dionisio Andujar, Angela Ribeiro
Centre for Automation and Robotics (CSIC-UPM), Ctra. Campo Real Km 0.2, 28500 Arganda del Rey, Madrid, Spain

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

Symbols ti ith track of the field


b refill binary vector T set of tracks
cdij , cIij , ctij costs of operation oj for the ith vehicle in terms of dis- V set of vehicles
tance, input cost and time, respectively x generic solution
fd(x), fI(x), ft(x) distance, input cost and time consumed by all x optimum solution
vehicles in the fleet, respectively, for a solution x O-turn turn maneuver of type O
gd(xi), gI(xi), gt(xi) distance, input cost and time consumed only by
vehicle vi e V, respectively, to complete its part of the Acronyms
solution (xi) CVRP capacited vehicle routing problem
mi number of minimum machinery operations of type oi Mix-opt mix-operator. Operator that combines other reference
oi operation of ith type operators
O set of different machinery operations RHEA robot fleets for highly effective agriculture (European
Q Q
-turn turn maneuver of type project)
r permutation of the tracks in the field SA simulated annealing
si separator element in r that separates the tracks in
charge of the vehicles i and i + 1
S set of separator elements

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

Fig. 1. Routes associated with the permutation r = (3, 7, 9, 10, |, |, 8, 4, 6, |, 5, 1, 2) X


kOk

and the refill mask b = (0, 0, 1, 0, 0, 1, 0, 0, 0, 0). g I xi mj  cIij 6


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,

Fig. 2. (a) Non-rectangular fields and (b) definition of tracks in them.


208 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220

Table 1 1 is changed to a position of 0. The change-refill option swaps a


Resources that must be considered in a spraying treatment operation. value of 0 into a value of 1.
Operation Distance Fuel Herbicide Input Time Both approaches were tested several times, selecting the option
costa that showed the best results on average for configuring the SA
Start-up U U U method, as explained in the results section.
Inter-track movement U U U U Regardless of the approach selected for modifying the refill
(1 m) mask, the new solution may not be valid due to the tank capacity
Intra-track movement U U U U
(1 m)
of a vehicle (i.e., one or more of the vehicles will not have sufficient
Spraying (1 dose) U U resources to complete its route given the new refill mask). In this
Refill U U U case, the solution may be repaired by including additional refills
a at any random position before a tank becomes empty. Repairing
Input cost is the combination of the amounts of both fuel and herbicide
consumed. solutions requires additional computation time but guarantees
building feasible solutions; thus, this method may be profitable
in practice. Additionally, the SA method is usually initialized with
a linear combination has been proposed (Eq. (8)), where wI and wt a random solution that may also not be feasible; in this case, it is
are weights assigned to the input cost and the task time, respec- always repaired, guaranteeing that the optimization algorithm
tively. This strategy requires that the spent time be expressed in works with a feasible solution.
monetary terms:
3. Results and discussion
f x wI  f I x wt  f t x 8
With this formulation, collisions among vehicles are avoided The SA algorithm was implemented in Matlab, taking advantage
inside of the tracks because each track is visited by only one of of the optimization toolbox provided by this platform, and the
the vehicles; however, collisions may occur on the crop headlands experiments were conducted on an Intel Core i5-2500 CPU @
because these areas are shared by all vehicles. A first approach 3.30 GHz with 4 GB RAM.
could lead to considering such situations in the objective functions
and penalizing solutions that contain collisions, but this would sig- 3.1. SA configuration
nificantly increase the computation time of the functions because
the position of each vehicle would need to be checked and com- To achieve the best SA performance some configuration vari-
pared to the locations of the other vehicles in each instant. Addi- ables must be set properly. These variables are the initial temper-
tionally, there is no guarantee that collisions actually occur at the ature and the time to reanneal.
instants predicted by the solutions because, as shown experimen- As explained in Section 2.2, the temperature T is a global, time-
tally, the rough conditions of the terrain hinder the accurate main- varying parameter that controls the evolution of the exploration of
tenance of the theoretical working speeds; thus, it is likely that the the search space; it decreases with time and affects the probability
vehicles will not be in the expected locations at the expected time. of accepting inferior solutions. This probability is equal to the for-
These small deviations in the reference speed, which do not  
mula exp  dE T
, where x0 is the new solution, x is the current solu-
involve a lack of precision in the execution of the tasks, can cause tion, and dE = f(x0 )  f(x) is the difference between the objective
collisions in the shared areas. Thus, another more realistic and reli- values of the solutions obtained by the functions explained in Sec-
able approach must be used; more specifically, vehicles in the fleet tion 2.2. If x0 is worse solution than x, dE is always positive (if the
should be equipped with mechanisms to detect and avoid obsta- optimization is a minimization) and the probability tends to
cles, for example, using an overall supervision system that con- approach 0 as the difference increases.
stantly monitors their trajectories, avoiding potential collisions The SA method was set to manage relatively large changes with
by pausing and resuming the vehicles involved (Conesa-Muoz a probability of 0.5 when the temperature is at its peak (i.e.,
et al., 2015).
T  log0:5
dE
for a large difference dE) to skip strong local minima.
The size of a change depends on the units of the problem; thus,
2.2.3. Generating new solutions an estimation of the optimum value was used as a reference to
To generate the tracks for new solutions, the SA algorithm uses determine the scale of the changes. Any change greater than twice
the mix-opt operator (Conesa-Muoz et al., 2016). This operator the estimation was considered to be large. Thus, the initial temper-
estimation x
exploits some common operators used in combinatorial routing ature is defined as T  2 log0:5
for any problem.
problems, such as relocate (Affenzeller et al., 2009), or-opt (Or, The time to reanneal is the time that the algorithm may perform
1976), swap (Oliver et al., 1987), 2-opt (Lin, 1965), cut inversion without obtaining a better solution until the temperature is
(Larraaga et al., 1999) and LSM (Or, 1976). The operator combines increased to restart the search at another point in the space. A
them and then is able to effectively swap, relocate and invert some low value might lead to an excessively random search (i.e., an
elements of the original permutation to generate a new track insufficient amount of time would be allowed to appropriately
sequence. Conversely, to determine the refilling portion of a new explore each part of the space), whereas a high value would lead
solution, two approaches are tested. The first consists of selecting to slow convergence. The time to reanneal also depends on the size
a random element of the binary vector and inverting the associated of the problem: a longer time duration typically yields a larger
value so that a refill is added if the selected element contains a 0 or region of the space that must be explored before reannealing
removed if it contains a 1; this is called the direct inversion option. occurs. Thus, the time to reanneal was set to be a quarter of the
The second approach, named random operation, consists of ran- number of tracks in the problem in units of seconds.
domly selecting one of the following alternatives: (a) adding a new Some configurations were tested before using the proposed
refill; (b) removing an existing refill; or (c) changing the refill. method to identify which options accelerate the convergence as
When a new refill is selected, a position of 0 is changed to a posi- much as possible. The options tested were the repair solution pos-
tion of 1; when removing an existing refill is selected, a position of sibility and the refill modification type. The repair solution could
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 209

Fig. 3. Average results for each tested option of the SA algorithm.

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.

Operation costs Turning radius (m) Tank capacity (cells/doses)


Startup (1) Inter-track Intra-track Spraying Refill
movement movement (1 cell/dose)
(1 m, 10 km/h) (1 m, 6 km/h)
t (s) (103) t (s) (103) t (s) (102) t (s) t (s)
0.2 0 0.96 0.36 0.96 0.6 0.51 0 0.0 120 3 720

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

it must be equipped with a tank with a capacity of at least 720


doses of treatment) because the launching of a new vehicle rep-
resents an additional cost. Additionally, all possible solutions
involve the same amount of herbicide and are independent of 3.2.3. Test 3. Minimizing input cost, required time and both criteria for
the vehicle considered because the same spraying cost has been a fleet of homogeneous vehicles with small tanks
assumed for all vehicles, and the routes must ensure the coverage In the previous test the vehicles had a tank capacity that was
of all of the tracks exactly once. Therefore, the problem is reduced sufficiently large to treat the entire field without needing to refill.
to determining the routes that minimize the fuel consumption, When the tanks have an insufficient capacity to cover the entire
which is similar to that proposed in the previous section. How- field, solutions are expected to involve refills or more than one
ever, the solution shown in Fig. 4b differs from the solution vehicle. The current test was designed to study how the tank
shown in Fig. 5a, although the fields have the same size and dis- capacity of the vehicles used can affect the routes obtained by
tribution, and the vehicle has the same turning radius (3 m); this the proposed approach. Consequently, the tank capacities were
difference occurs because the initial positions of the vehicles are set to store only 144 doses (i.e., one-fifth of what the crop field
different in the two cases. The distance travelled in the solution required). The remaining variables were set to the same values
shown in Fig. 5a would be 296.096 m, whereas if the tracks order as those used in the previous test.
of the solution represented in Fig. 4b had been used but starting Fig. 6a shows the best route found when the goal is to minimize
from the new initial position, the distance travelled would have the input cost. It is shown that refill operations appeared after
been 300.272 m. tracks 1, 2, 7, 15 and 17. There could have been one fewer refill
Many attempts were made, and the results obtained were expected because the initial tank plus 4 refills are sufficient to
always identical but showed a different vehicle of the fleet each cover the entire field; however, because some round trips to the
time because all of the vehicles have the same features; thus, the depot would have been from/to very distant tracks, which would
cost is not affected by the choice of vehicle. require larger distances and higher fuel costs, another refill is more
When the goal is to minimize the time required to perform the profitable because significantly reduces the round trip distances, as
task, the optimal solution involves all of the vehicles (Fig. 5b) to shown in Fig. 6a. A solution involving more vehicles could also be a
parallelize the task execution as much as possible. good option to avoid refills, but this type of solution has a higher
Finally, when the goal is to simultaneously minimize the input cost because 0.2 is assumed to start a vehicle, and 0.0 is the cost
costs and time the solution lies somewhere between the two pre- to fill a tank.
vious solutions (Fig. 5c). For example, the optimal solution in this The distribution of the tracks is not similar to that obtained in
case uses 3 vehicles because the required time converted into test 2 (Fig. 5b) because the distribution of the doses must be exact
Euros (see Eq. (8)) can significantly increase the cost, whereas (i.e., 144) and equal to the maximum tank capacity, which was not
using two extra units decreases the time by at least 66.67%. the case in test 2.
Weights wI and wt in Eq. (8) have been considered to be equal to Finally, when the goal is to concurrently minimize both criteria,
1 and 27/3600, respectively. To estimate the value of coefficient the routes generated (Fig. 6c) uses all of the vehicles to avoid refill
wt, the typical hourly wage of an agricultural worker, who is in this operations, even if there are startup operations with a cost of 0.2
case in charge of controlling the fleet, is estimated as 27 /h each. The time penalty for refilling (120 s) is quite high when con-
 
(Pedersen et al., 2006). verted to Euros (0.9 ), as described by Eq. (8) 120  360027
0:9 .
Tables 5 and 6 show the routes and costs obtained by the solu- This is the same solution that was obtained when the goal was
tions shown in Fig. 5. Note that each of the three solutions is the to minimize the required time except for the vehicles that are
best result for each of the optimization criteria. The costs are low changed for new vehicles because they are homogeneous. This is
because the field evaluated is small (i.e., 1350 m2); a larger field due to the fact that the time has a very strong impact on the both
would increase the costs. For example, if the results of this study criterion.
were extrapolated to a typical commercial field of approximately Regarding the previous tests, many attempts were made and
20 ha, the costs when optimizing the input costs, the required the results obtained were always identical but involved different
time and both criteria concurrently would be approximately vehicles of the fleet because each vehicle has the same features;
607 , 2 h and 17 min and 669 , respectively, and for larger fields thus, the cost is not affected by the choice of vehicle.
of approximately 100 ha, 3100 , 11 h and 40 min and 3415 , Tables 7 and 8 show the routes and costs obtained in the solu-
respectively. tions found. Note that the costs are higher than those shown in

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.

Solution optimized for Solution (i.e., track order)


Input-cost criterion (6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 4, 2, |, |, |, |)
Task-time criterion (5, 7, 9, 11, 13, 15, 17|20, 22, 26, 28, 30|16, 18, 23, 25, 27, 29|10, 12, 14, 19, 21, 24|8, 6, 3, 1, 4, 2)
Both criteria (5, 3, 1, 2, 4, 6, 8, 10, 7, 9, |, |, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29|12, 14, 16, 18, 20, 22, 24, 26, 28, 30|)
J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220 213

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.

Solution optimized for Solution (i.e., track order)


Input-cost criterion (0, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 4, 2|, |, |)
Task-time criterion (13, 16, 18, 20, 22, 24, 26, 28, 30|17, 19, 21, 23, 25, 27, 29|2, 4, 7, 9, 11, 15|6, 8, 10, 12, 14|5, 3, 1)
Both criteria (8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30|11, 13, 15, 17, 19, 21, 23, 25, 27, 29|6, 9, 7, 5, 3, 1, 4, 2, |, |)
216 J. Conesa-Muoz et al. / Computers and Electronics in Agriculture 127 (2016) 204220

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

Acknowledgments John Deere. <http://www.deere.com/wps/dcom/en_CAF/products/equipment/


agricultural_management_solutions/guidance_systems/guidance_
systems.page> (Accessed March 17, 2016).
The Spanish Government and the European Union have pro- Kirkpatrick, S., Vecchi, M.P., 1983. Optimization by simulated annealing. Science
vided full and continuing support of this research work through 220 (4598), 671680.
Larraaga, P., Kuijpers, C.M.H., Murga, R.H., Inza, I., Dizdarevic, S., 1999. Genetic
projects AGL2014-52465-C4-3-R and UE - CP - IP245986 2
algorithms for the travelling salesman problem: a review of representations and
(RHEA). operators. Artificial Intell. Rev. 13 (2), 129170.
Lin, S., 1965. Computer solutions of the traveling salesman problem. Bell Syst. Tech.
J. 44 (10), 22452269.
References
Miao, H., Tian, Y.C., 2013. Dynamic robot path planning using an enhanced
simulated annealing approach. Appl. Math. Comput. 222, 420437.
Affenzeller, M., Wagner, S., Winkler, S., Beham, A., 2009. Genetic algorithms and Mousazadeh, H., 2013. A technical review on navigation systems of agricultural
genetic programming: modern concepts and practical applications. CRC Press. autonomous off-road vehicles. J. Terrramech. 50 (3), 211232.
Berny, P., 2007. Pesticides and the intoxication of wild animals. J. Vet. Pharmacol. Mulla, D.J., 2013. Twenty five years of remote sensing in precision agriculture: key
Ther. 30 (2), 93100. advances and remaining knowledge gaps. Biosyst. Eng. 114 (4), 358371.
Blum, C., Roli, A., 2003. Metaheuristics in combinatorial optimization: overview and Oksanen, T., Visala, A., 2009. Coverage path planning algorithms for agricultural
conceptual comparison. ACM Comput. Surv. (CSUR) 35 (3), 268308. field machines. J. Field Robotics 26 (8), 651668.
Bochtis, D.D., Vougioukas, S.G., 2008. Minimising the non-working distance Oliver, I.M., Smith, D., Holland, J.R., 1987. Study of permutation crossover operators
travelled by machines operating in a headland field pattern. Biosyst. Eng. 101 on the traveling salesman problem. In: Genetic Algorithms and Their
(1), 112. Applications: Proceedings of the Second International Conference on Genetic
Bochtis, D.D., Srensen, C.G., Green, O., Moshou, D., Olesen, J., 2010. Effect of Algorithms. Massachusetts Institute of Technology, Cambridge, MA, July 2831,
controlled traffic on field efficiency. Biosyst. Eng. 106 (1), 1425. 1987.
Conesa-Muoz, J., Ribeiro, A., 2012. An evolutionary approach to optimally Or, I., 1976. Traveling Salesman-type Combinatorial Problems and Their Relation to
distributing a fleet of robots for weed control in arable crops based on the Logistics of Regional Blood Banking. Xerox University Microfilms.
economical costs. In: Mildorf, T., Charvat, K., Jr. (Eds.), ICT for Agriculture, Rural Pedersen, S.M., Fountas, S., Have, H., Blackmore, B.S., 2006. Agricultural robots
Development and Environment: Where We Are? Where We Will Go? Czech system analysis and economic feasibility. Precision Agric. 7 (4), 295308.
Centre for Science and Society, Prague, Czech Republic, pp. 280299. RHEA Project, 20102014. <http://www.rhea-project.eu/> (Accessed March 17,
Conesa-Muoz, J., Gonzalez-de-Soto, M., Gonzalez-de-Santos, P., Ribeiro, A., 2015. 2016).
Distributed multi-level supervision to effectively monitor the operations of a Shkel, A.M., Lumelsky, V., 2001. Classification of the Dubins set. Robotics
fleet of autonomous vehicles in agricultural tasks. Sensors 15 (3), 54025428. Autonomous Syst., 179202
http://dx.doi.org/10.3390/s150305402. Srensen, C.G., Nielsen, V., 2005. Operational analyses and model comparison of
Conesa-Muoz, J., Pajares, G., Ribeiro, A., 2016. Mix-opt: a new route operator for machinery systems for reduced tillage. Biosyst. Eng. 92 (2), 143155.
optimal coverage path planning for a fleet in an agricultural environment. Stoll, A., Stafford, J., Werner, A., 2003. Automatic operation planning for GPS-guided
Expert Syst. Appl. 54, 364378. http://dx.doi.org/10.1016/j.eswa.2015.12.047. machinery. In: Precision Agriculture: Papers From the 4th European Conference
Edwards, G., Jensen, M.A.F., Bochtis, D.D., 2015. Coverage planning for capacitated on Precision Agriculture, Berlin, Germany, 1519 June 2003. Wageningen
field operations under spatial variability. Int. J. Sustain. Agric. Manage. Inf. 1 (2), Academic Publishers, pp. 657664.
120129. Tax, M., Soures, P., Frayssinet, H., Cordesses, L., 2006. Path planning for complete
Gonzalez-de-Soto, M., Emmi, L., Garcia, I., Gonzalez-de-Santos, P., 2015. Reducing coverage with agricultural machines. In: Field and Service Robotics. Springer
fuel consumption in weed and pest control using robotic tractors. Comput. Berlin Heidelberg, pp. 549558, January.
Electron. Agric. 114, 96113. Tavares, R.S., Martins, T.C., Tsuzuki, M.S.G., 2011. Simulated annealing with adaptive
Gutin, G., Punnen, A.P., (Eds.), 2002. The Traveling Salesman Problem and Its neighborhood: a case study in off-line robot path planning. Expert Syst. Appl. 38
Variations, vol. 12. Springer Science & Business Media. (4), 29512965.
Hameed, I.A., Bochtis, D.D., Sorensen, C.G., 2011. Driving angle and track sequence TopCon products, 2016. <http://ag.topconpositioning.com/ag-products/guidance-
optimization for operational path planning using genetic algorithms. Appl. Eng. systems> (Accessed March 17, 2016).
Agric. 27 (6), 10771086. TopCon System 350, 2016. <http://ag.topconpositioning.com/ag-products/
Ingber, L., 1989. Very fast simulated re-annealing. Math. Comput. Model. 12 (8), guidance-systems/system-350> (Accessed March 17, 2016).
967973. Trimble, 2016. <http://www.trimble.com/Agriculture/gnss-systems.aspx>
Jensen, M.F., Bochtis, D., Srensen, C.G., 2015. Coverage planning for capacitated (Accessed March 17, 2016).
field operations, Part II: optimisation. Biosyst. Eng. 139, 149164.

You might also like