Abstract
At present, the commonly used task scheduling methods of automated guided vehicle do not fully consider the influence of power consumption, the workshop environment, and other factors, resulting in the disparity between scheduling methods and practical applications. This article contributes to filling this gap by modifying the model and algorithm that can meet the real-time application in the factory. First, a scheduling model is established according to both the number of depots and the automated guided vehicle’s battery consumption, so that the result of task allocation is more reasonable. Then, according to the area, distribution, shape characteristics of obstacles, and the number of depots contained in the environment, this article derives a new coefficient which is constructed as the weighted value of the distance between workstations to improve the robustness of the model. Finally, the modified genetic algorithm is used to obtain the scheduling results. The simulation results show the effectiveness and the rationality of the proposed method.
Introduction
Automated guided vehicles (AGVs) are driverless mobile vehicles that enable the minimization of human–labor interventions on tedious, time-consuming, and sometimes hazardous jobs. 1 With the development of the trackless AGV, many of today’s logistics and manufacturing processes rely on the use of multiple automated guided vehicle (multi-AGV) systems. 2 In order to make multi-AGV systems fully perform, the key issues to be solved involve task scheduling and path planning for all AGVs.
Scheduling is concerned with the allocation of limited resources to tasks over time and is a decision-making process that links the operations, time, cost, and overall objectives of the company. 3 Especially in the flexible manufacturing system(FMS), the FMS performance increases by better coordination and scheduling of its components like AGV. 4 –6 However, the scheduling problem is an Non-deterministic Polynomial (NP)-hard problem. 7 Most of the existing studies use powerful heuristic algorithms 8 –10 or Petri net methods 11 to solve these problems. Besides, the multi-AGV scheduling problem is always presented by an undirected graph and its solution is obtained by searching this graph for an optimum route satisfying the related constraints. 12 Most of the versions of the problem assume that each AGV runs at a fixed route between the workstations. However, in the actual workshop environment, in order to avoid obstacles, the AGV’s route is more complicated, which leads these versions to have poor applications.
Furthermore, after assigning tasks to all AGVs, each AGV needs path planning to complete the delivery task. It is true that the path planning aims to find a collision-free path from a start location to a target location while optimizing one or more objectives like path length, smoothness, and safety at a time. 13 However, path planning and scheduling problems are usually studied separately. This is because integrated scheduling and path planning form a very challenging NP optimization problem. 14 In recent years, Xidias and his coworkers 12,15,16 utilized the concept of Bump-surfaces 17 to solve this integration problem. There is a drawback which shows the computational time will increase significantly when the number of workstation exceeds 15, although these researches perform a global search of the solution space in order to ensure an optimal scheduling and path planning for the set of AGVs.
In practical application, manufacturing enterprises are facing fierce market competition and an urgent need to improve efficiency. Therefore, whenever the order is issued, the scheduling result should be allocated quickly. To meet the real-time requirements, this article adopts the method, which firstly calculates the scheduling results and then plans the path. Compared with the integrated approach, this method is not able to increase the time complexity of the algorithm, but it lacks application in different environments. To address the above concerns, this article derives a map complexity coefficient which is regarded as the weighted value of the distance between workstations according to the given 2-D environment. In addition, the battery charge of the AGV is also an important constraint for task allocation. If proper battery management is used in the multi-AGV system, the system cost can be reduced, and the system efficiency can be improved. 18 However, many studies do not consider the AGV’s battery charge and that leads to impracticable scheduling models. 19 Therefore, the scheduling model of this article considers this constraint and performs the task allocation according to the remaining battery charge of each AGV. Then, a modified GA is proposed to calculate this scheduling model. In the path planning stage, a prioritized planning algorithm 20 is introduced to assign priorities according to the battery charge (the lower the charge is, the higher the priority is). The AGV is run according to the avoidance rules of the prioritized planning algorithm.
The novelties of this article lie in the following: Unlike the traditional AGV scheduling model, this article optimizes the power consumption of the AGV as a target, considering whether the remaining battery charge of the AGV meets the scheduling task requirements. By proposing the map complexity coefficient to improve the scheduling model, the scheduling results are more suitable for actual factory applications. In view of the two factory environments of multi-depot and single depot, genetic algorithms are modified to obtain the optimal solutions of the two models.
The rest of the article is organized as follows. The problem statement and mathematical formulation are described in the second section; the third section illustrates the modifications of the genetic algorithm; the fourth section presents briefly the path planning algorithm; the experimental results are given in the fifth section; the sixth section concludes the article.
Problem statement and mathematical formulation
Facility layout
A workshop equipped with multi-AGV scheduling system should include N workstations, M AGVs (N > M), and some obstacles (shelves, machine tools, walls, etc.). This article considers the situation of AGVs going to and from a single depot and multiple depots. As shown in Figure 1, case one is a 2-D environment that contains only one depot. Case two is a 2-D environment with multiple depots.

2-D workshop environment diagrams: (a) case 1 and (b) case 2.
In Figure 1, the gray areas are obstacles, and the blue areas are the depots (AGV starting point), the green area is the battery charging area of AGV (the top left corner of case one is both the depot and the charging area), and the purple areas are the workstations. The assumptions are as follows: – Each AGV has to start from its starting depot and return to the same depot after completing the task. – When the delivery task is finished, AGV will go to the charging area, if the power is below a threshold. – Only one AGV passes through each workstation (except the starting point). – The number of AGVs (or depots) is less than the number of workstations. – For the workshop with multiple depots, each depot only sends one AGV at a task.
Model derivation
Based on the existing mathematical model,
21
the following improvements are made: (a) constructing a map complexity coefficient as a weighted value of the distance between workstations; (b) the objective function gives priority to the solutions with the minimum total power consumption of all AGVs and then selects the scheme that minimizes the makespan, (c) considering the power consumption of AGV. The improvement model is as follows: 1. Notations
2. Variables
3. Objective function
4. Requirements
where ε is a map complexity coefficient, which is discussed in section “The derivation of the map complexity coefficient.” γ is a power consumption coefficient corresponding to the path. According to the type of batteries used, charging methods, charge rate, application, manufacturer, and assignments the vehicles perform, AGV battery-run-time and battery-charging-time can be defined. In order to adapt to any kind of battery, charging method, a coefficient
In the above model, equations (1), (2), (5), (6), and (7) are adopted from the existing model. 21 The scheduling problem is a combinatorial optimization problem, which has many feasible solutions. In this model, it gives priority to the solutions with the minimum total power consumption of all AGVs and then selects the scheme that minimizes the makespan, so the multi-objective optimization function is used. Since the amount of power consumption is related to the run-time of the AGV, minimizing the makespan is equivalent to minimizing the maximum power consumption of the AGV. For example, there are three AGV-assigned tasks. Assuming that both schemes satisfy 60% of the total power consumption, that is, the three AGV power consumptions of scheme one are 16%, 15%, and 29%, respectively. The second scheme is 17%, 18%, 25%. Because the maximum power consumption of AGV in the second scheme is 25%, which is lower than 29% in scheme one, the second option is the final result.
Requirement (5) specifies that each AGV starts from the starting depot “0,” all workstations can only be accessed once by an AGV. Requirement (6) shows that any arc starts from the starting depot. Requirement (7) implies that any arc ends with the starting depot. Requirement (8) make sure the assigned AGV has enough battery charge to do the job.
However, the above formulas apply to case 1 of Figure 1. For multiple depots, the following improvements should be made to constraints (5) to (7).
wherein requirements (9) and (10) show that each AGV starts from its own depot. After the delivery task is completed, requirement (11) represents that if AGV battery power is low (below
The derivation of the map complexity coefficient
In most of the existing scheduling model, there is no obstacle in the workshop. However, when there are obstacles (static or dynamic) in the environment, the actual routes are complicated. In order to calculate more accurately during the scheduling, it is necessary to construct the ε.
In the actual workshop environment, most of the obstacles are some regular objects, such as shelves, machine tools, boxes, and so on. The area, distribution, and shape characteristics of these objects in the workshop are the important factors of the workshop environment complexity. This article is based on these factors to derive the map complexity coefficient. Therefore, ε should satisfy the condition of
The first factor to affect the AGVs’ route is the area of obstacles. As shown in Figure 2, the different area of the obstacles, the AGV driving route will be affected.

The impact of the area of an obstacle: (a) small area and (b) large area of the obstacle.
Therefore, the following formula can be derived according to the area proportion of the obstacles in the environment.
where
Although the area of obstacles is an important parameter, the difference of obstacle distribution in the workshop will also have a great impact. As shown in Figure 3, the area proportion of the obstacles in the map is equal, but the routes of AGV are different.

The impact of obstacle distribution: (a) dispersed distribution of obstacles and (b) concentrated distribution of obstacles.
From Figure 3 we can see that although the area of obstacles is the same, the result of equation (12) cannot adapt to the two situations at the same time. To address this problem, the map can be evenly divided into lots of small pieces to calculate the area of obstacles in each small piece and then calculate the standard deviation σ of these areas, which can reflect the obstacle distribution degree (to improve the calculation accuracy, map division number should not be too small). As shown in Figure 4, the map is equally divided into 25 blocks using a series of equidistant lines (blue straight lines)

The method of divide.
Therefore, equation (12) is changed to
where e is a natural constant.
In addition, the shape characteristics of obstacles cannot be ignored. Because some kinds of obstacle reduce the passages of AGV, this situation will still increase the detour degree of AGV. Figure 5 provides a clearer illustration of this problem.

The impact of the shape characteristics of the obstacle: (a) discontinuous obstacle and (b) continuous obstacle.
As shown in Figure 5, for longer or wider obstacles, some passages in the middle, it can facilitate the driving of AGV. If there are fewer passages, the detour degree will increase. In this case, we define these obstacles as follows: if an obstacle is in the driving area of AGV, and the dimension of the obstacle exceeds a certain length in the direction of X-axis or Y-axis, it cannot provide a driving passage for the AGV, then it is regarded as a “continuous obstacle.” For accurate calculation, this article stipulates that if the obstacle size exceeds one-third of the length of the workshop in either the X-axis or the Y-axis, this obstacle is one continuous obstacle. If it exceeds two-thirds, then this obstacle will be regarded as two continuous obstacles.
Formula (13) is updated to
where μ is the number of continuous obstacles.
The above content has analyzed the impact of obstacles in the environment map in detail, but some workshop environments only arrange one depot as the starting point of AGV, while others arrange multiple depots. Figure 6 shows the situations of AGV travelling to and from the same starting point and multiple starting points. The green lines and the red lines, respectively, represent the routes of two different AGVs. When the environment contains multiple depots, in order to save the AGV’s battery power, each AGV preferentially selects a station closer to it for material distribution.

The impact of the number of depots: (a) the environment with one depot and (b) the environment with one depots.
In order to make formula (14) adapt to the above two situations, the following improvements are made to formula (14)
In formula (15), when the number of depots (d) is 1, the result is equal to formula (14). As the number of depots increases, the value of the equation will be reduced gradually, so formula (15) is a more general form of formula (14). Finally, we define equation (15) as a calculation formula for map complexity.
The modified genetic algorithm
In this article, the GA is used to calculate the model. A typical genetic algorithm includes genetic coding, selection action, crossover operation, and mutation operation. Considering the constraint of AGVs’ battery consumption, this article has made some improvements in GA. First of all, for the workshop environment with a single depot, the new constraint is to judge whether the decoded scheduling results match to meet the battery power of each AGV. Therefore, we have added an operation to judge the obtained result (operation 1):
Step 1. Input: the maximum allowable power consumption of each AGV (
Step 2. Decode: the current chromosomal corresponding results (
Step 3. Sort the results of steps 1 and 2 in ascending order, respectively:
Step 4. If
From the above steps, the process of energy consumption judgement is obtained. After adding this process to the genetic algorithm, the flowchart as shown in Figure 7(a).

Flowcharts of GA. GA: genetic algorithm.
Then, for the workshop with multiple depots, after the task is completed, each AGV should return to their own depots when the electricity is sufficient. If the electricity is lower than the threshold value of
Step 1. Input: The initial battery charge of each AGV (
Step 2. Decode: the final chromosomal corresponding results (
Step 3. For
The algorithm flowchart, in this case, is shown in Figure 7(b).
Path planning
After calculating the scheduling task of AGVs, a reasonable path planning for AGV should be carried out to ensure that AGV can perform the task efficiently. At present, the main path planning methods are divided into coupled and decoupled methods. The coupled approaches are able to find the optimal solution, 22,23 but their worst-case time complexity grows exponentially with the number of AGVs involved in the conflict. However, decoupled approaches can meet real-time applications. Among them, a prioritized planning 24 is widely used for multi-AGV path planning. And Čáp proposed revised prioritized planning. 20 In prioritized planning, each AGV is assigned a unique priority and the algorithm proceeds sequentially from the highest priority AGV to the lowest priority one. In each iteration, one of the AGVs plans its trajectory such that it avoids the higher priority AGVs. And, the revised version of prioritized planning in which a trajectory for each AGV is sought so that both (a) start position of all lower priority AGVs are avoided and (b) conflicts with higher priority AGVs are avoided.
This article uses this revised prioritized planning algorithm to simulate the path planning of AGV, but the algorithm does not discuss the priority assignment method of AGV. Therefore, this article assigns priority based on AGV residual power (
Experimental results and discussion
Analysis of proposed method validity
Three characteristic case studies were conducted to demonstrate the performance of the proposed method. As shown in Figure 8, map 1 represents an environment where the distribution of obstacles is chaotic and scattered. However, in most workshop environments, the layout is usually arranged according to the production process, which means that obstacles are usually distributed in a straight line. Therefore, map 2 and map 3 represent the common workshop environment. The simulations were implemented in MATLAB and run on a Core i3-2120 CPU 3.30GHz PC. First, according to different workshop environments, the improved genetic algorithm is used to calculate the model established in section “Problem statement and mathematical formulation,” and then the corresponding grid map 25 is established. Finally, the actual route and power consumption are simulated with path planning and compared with the energy consumption calculated by the model.

Three 2-D environment maps.
In all cases, the grid size of all maps is set to 30 × 30, and the population size of GA is 200. Map 1 and map 2 have the same obstacle area. However, the distribution of obstacles is scattered in map 1, and map 2 has the greatest number of continuous obstacles. Map 3 has the largest obstacle area, but there are some discontinuous obstacles. As shown in Figure 8, “S1, S2…” represents different workstations. Each environment compares the difference between a single depot and a multi-depot. In the environment of a single depot, the depot is placed in the top left corner of the map. In a multi-depot environment, there are four depots are arranged at the edges of the map.
Test 1: The workshop layout is shown in map 1 of Figure 8: a 2-D indoor environment contacting many scattered obstacles with 15 workstations. Four AGVs are requested to deliver materials to the workstations. Wherein, the initial battery charge of 3-AGV is
The scheduling routes of test 1.
AGV: automated guided vehicle.
In the above result, “D” represents the depot and “C” represents the charging area. The actual routes based on this assignment is shown in Figure 9, in which the red curve is the route of 1-AGV, the blue curve is the 2-AGVs’ route, the purple curve is 3-AGV, and the green belongs to 4-AGV. The power consumption calculated in the model and actual consumption after path planning are recorded in Table 2.

The actual routes of test 1.
Electricity consumption results of test 1.
AGV: automated guided vehicle.
In the case of the single depot, the total consumption of electricity (the sum of all AGV power consumption) calculated without the map complexity coefficient (
Test 2: Let the industrial facility with the layout shown in map 2 of Figure 8. There are 11 stations. The initial values are the same as for test 1. There are more continuous obstacles, so the map 2 coefficients of single depot and multi-depot are
The scheduling results of test 2.
AGV: automated guided vehicle.
The actual path planning is performed by all AGV according to the scheduling results, which is shown in Figure 10. The comparison results of electricity consumption are recorded in Table 4.

The actual routes of test 2.
Electricity consumption results of test 2.
AGV: automated guided vehicle.
In the case of the single depot, the actual total power consumption calculated by path planning is 52.95%. The result without
Test 3: The last experiment with 12 stations is shown in map 3 of Figure 8. There are some discontinuous obstacles, which can provide passages for AGVs. Therefore, the map complexity coefficients of map 3 are
The scheduling results of test 3.
AGV: automated guided vehicle.

The actual routes of test 3.
Electricity consumption results of test 3.
AGV: automated guided vehicle.
In the case of the single depot of this test, the actual total electricity consumption is 51.81%. The result without
As one can see from the above examples, the developed scheduling method is quite reasonable and practicable for managing a fleet of AGVs. Note that, this method can accurately predict the power consumption of AGVs, and effectively allocate task or charging routes for AGVs.
Comparison with the algorithm
Furthermore, to reflect the importance of adding operation 1 and operation 2 in GA, this section compares the standard GA with the modified GAs that were illustrated in Figure 7. The GA control parameter settings are population size = 80 and the maximum number of generations = 500.
First, in the workshop environment with a single depot, arranging 5 AGVs to transport the materials, of which four AGVs have initial battery energy of 10% and another charge of 30%. The result of the standard GA is shown in case 1 of Figure 12, and the result of the GA with operation 1 is shown in case 2.

The scheduling results of GA and GA with operation 1. GA: genetic algorithm.
As can be seen from Figure 12, the standard GA calculates that the power consumption of two routes has exceeded 10%, but there is only one AGV with more than 10% battery energy. The GA with operation 1 avoids such unreasonable results.
Next, in the workshop environment with multiple depots, arranging 4 AGVs with 20% battery charge to transport the materials. The value of the charge threshold of each AGV is set at 10%. The result of the standard GA is shown in case 1 of Figure 13, and the result of the GA with operation 2 is shown in case 2.

The scheduling results of GA and GA with operation 2. GA: genetic algorithm.
As is shown in Figure 13, the GA with operation 2 can identify the AGV with lower power after the task is completed and assign it to the charging area.
Overall, the modifications of GA proposed in this article can obtain more reasonable scheduling results to ensure that the AGV have enough power to complete the task.
Conclusions
This article presented a new scheduling method for determining routes for multi-AGVs moving in 2-D workshop environments with a different number of depots. The scheduling model gives priority to the solutions with the minimum total power consumption of all AGVs and then selects the scheme that minimizes the makespan. To improve the multi-AGV scheduling method more practicable, a map complexity coefficient is derived according to the obstacles and depots’ number in the workshop. Then a modified GA is applied to the scheduling model to search for the reasonable routes. Experiments have shown good performance for this method. The method can make the scheduling results more practical without increasing the time complexity of the algorithm.
In the future, we plan to study extensions of the presented map complexity coefficient in a 3-D environment and consider the load capacity of AGV.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This research is partly supported by the Common Key Technological Innovation Specialities of Key Industries of Chongqing Tongnan District Science and Technology Commission (Tk-2018-08), the National Natural Science Foundation of China (No. 51605064) and the Science and Technology Research Project of Chongqing Municipal Education Commission (No. KJ1600443).
