Next Article in Journal
High-Order Sliding Mode Control for Three-Joint Rigid Manipulators Based on an Improved Particle Swarm Optimization Neural Network
Next Article in Special Issue
Cloud-Edge-Terminal-Based Synchronized Decision-Making and Control System for Municipal Solid Waste Collection and Transportation
Previous Article in Journal
An Algebraic Characterization of Prefix-Strict Languages
Previous Article in Special Issue
A Multi-Period Vehicle Routing Problem for Emergency Perishable Materials under Uncertain Demand Based on an Improved Whale Optimization Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multi-AGV Flexible Manufacturing Cell Scheduling Considering Charging

1
School of Economics and Management, Xi’an University of Technology, Xi’an 710048, China
2
International Business School, Shaanxi Normal University, Xi’an 710048, China
3
Centre for Digital Transformation, Indian Institute of Management Ahmedabad, Vastrapur 380015, India
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(19), 3417; https://doi.org/10.3390/math10193417
Submission received: 22 August 2022 / Revised: 11 September 2022 / Accepted: 17 September 2022 / Published: 20 September 2022

Abstract

:
Because of their flexibility, controllability and convenience, Automated Guided Vehicles (AGV) have gradually gained popularity in intelligent manufacturing because to their adaptability, controllability, and simplicity. We examine the relationship between AGV scheduling tasks, charging thresholds, and power consumption, in order to address the issue of how AGV charging affects the scheduling of flexible manufacturing units with multiple AGVs. Aiming to promote AGVs load balance and reduce AGV charging times while meeting customer demands, we establish a scheduling model with the objective of minimizing the maximum completion time based on process sequence limitations, processing time restrictions, and workpiece transportation constraints. In accordance with the model’s characteristics, we code the machine, workpiece, and AGV independently, solve the model using a genetic algorithm, adjust the crossover mutation operator, and incorporate an elite retention strategy to the population initialization process to improve genetic diversity. Calculation examples are used to examine the marginal utility of the number of AGVs and electricity and validate the efficiency and viability of the scheduling model. The results show that the AVGs are effectively scheduled to complete transportation tasks and reduce the charging wait time. The multi-AGV flexible manufacturing cell scheduling can also help decision makers to seek AGVs load balance by simulation, reduce the charging times, and decrease the final completion time of manufacturing unit. In addition, AGV utilization can be maximized when the fleet size of AGV is 20%-40% of the number of workpieces.

1. Introduction

An AGV is a transport vehicle that can navigate autonomously and carry out spontaneous or controlled transportation along a prescribed route [1]. It assists intelligent factories to realize workpiece production tasks under the condition of unmanned driving. In order to efficiently use AGVs to participate in intelligent operations, it is necessary to integrate information such as processes, equipment, and workpieces into workshop scheduling. This kind of scheduling is actually the Flexible Job-Shop Scheduling Problem (FJSP) that has evolved from the traditional Job-Shop Scheduling (JSP). There is an exceptionally rich domain of research that covers many aspects of AGV scheduling and proposes numerous approaches. The majority of interest in AGV scheduling stems from its potential impact in practice by increasing efficiency and lowering costs. However, due to its complexity and numerous features, it remains a challenging problem [2]. The literature review and discussion in this paper are limited to the number of available AGVs, the power threshold, and the charging time in AGV and machine task scheduling issues with single or multiple objectives AGVs. The scheduling optimization problem of AGVs is the primary focus of related research. Fu et al. [3] elaborated the analysis process, scheduling rules and optimization methods for the AGV scheduling optimization problem. Bilge and Ulusoy [4] proposed a pseudo-polynomial-time algorithm to obtain optimal machine and vehicle schedules. Abdelmaguid et al. [5] studied a hybrid genetic algorithm approach to schedule the machines and used a heuristic technique to obtain a vehicle assignment. The authors addressed the operations scheduling and provided the vehicle assigning heuristic with a starting time for each operation, as well as its predecessor operation in the job sequence. Zhang et al. [6] proposed a mixed integer linear programming model for the joint production and transportation scheduling in flexible manufacturing system (FMS) without considering the transportation tasks associated with each job from the lower and upper area to the machine. Fontes and Homayouni [7] established a new mixed integer linear programming model to solve the joint production transportation scheduling problem, which integrated the machine scheduling problem and the AGV scheduling problem, and used two sets of chain decision strategies (machine and AGV). Using the hybrid taboo bat algorithm, Yonglai et al. [8] carried out in-depth analysis on AGV material distribution scheduling and provided an effective solution for workshop material distribution scheduling by multiple AGVs under certain constraints. In addition, Liu et al. [9] also adopted the improved pollen algorithm to study the co-integration AGV manufacturing unit scheduling problem. Regarding the average delay in flexible manufacturing units with AGVs, Heger [10,11] studied the dynamic priority assignment rules of AGVs using sorting and routing rules. Xu and Guo [12] discussed the multi-objective and multi-dimensional green scheduling method of FMS with AGV by means of the evolutionary algorithm of segmented coding, and Zhang et al. [13] studied the AGV allocation problem for mixed-flow assembly lines considering the load capacity of AGVs. Umar et al. [14] considered the path conflict problem of AGV during transportation, and solved the problem with an improved genetic algorithm, but the algorithm has a long running time and low efficiency. Mousavi et al. [15] compared the genetic algorithm with the particle swarm algorithm that combined the multi-objective AGV scheduling in order to solve the proposed model in the flexible manufacturing system, which was different from the conventional intelligent algorithm Nouri et al. [16] proposed; a hybrid meta-heuristic algorithm based on the clustering multi-agent model, which simultaneously scheduled the machines and AGVs, treated AGVs as special machines for coding. Zhang et al. [17] proposed a two-stage solution approach and a particle sworn optimization method to solve an energy-efficient path planning model of a single-load AGV. The authors analyzed the AGV energy consumption characteristics by motion state and vehicle structure, where it was found that energy consumption was an independent optimization objective in AGV path planning.
The above research has effectively advanced the exploration of AGVs’ participation in intelligent job scheduling. However, there are relatively few studies on the AGV charging problem in the workshop scheduling problem in the existing literature, and only a few experts and scholars have discussed the related issues. A typical example was given by Dehnavi et al. [18], who studied the optimization problem of AGV charging station location in manufacturing units through GAMES simulation. Zhengfeng and Yangyang [19] studied the job-shop workshop scheduling problem under the consideration of multiple charging AGVs. Wang et al. [20] studied an AGV scheduling method that integrated AGV energy consumption and workshop complexity. However, this type of research adopted the AGV to perform a task and then returned immediately, and did not perform the task continuously. This was not in line with the reality that the AGV could continue to perform transportation multiple times after being charged that directly affected the determination of the number and scale of AGVs in the workshop, their work efficiency, and its evaluation. Fazlollahtabar and Saidi-Mehrabad [21] examined literature related to different methodologies to optimize AGV systems for the problems of scheduling and routing at manufacturing, distribution, trans-shipment, and transportation systems. The authors categorized the methodologies into simulation studies, metaheuristic techniques, artificial intelligent, exact, and heuristics mathematical methods. Further, De Ryck et al. [22] overviewed a number of AGV-related control algorithms and techniques that were employed in not only the early stages of AGVs, but also the algorithms and techniques used in the most recent AGV-systems, as well as the algorithms and techniques with high potential.
Extant literature shows that experts and scholars have fully realized the significant role played by intelligent robots in the manufacturing industry, and have carried out research on the scheduling problem of flexible manufacturing cells with AGVs. The model realizes the solution to the problem and optimizes the scheduling optimization objective. However, the charging ability and continuous working ability of AGVs are rarely addressed in the model in literature. In particular, most of the existing literature assumes that the charging process is completed immediately and there is no waiting. Moreover, the selection of AGVs to transport workpieces is based purely on the customer’s demand for completion time without regard to AGV priority, resulting in load imbalance in AGVs. Therefore, the calculation result is quite different from the actual scheduling AGV result, and sometimes a part of the workpieces cannot be completed according to customer demands. The load imbalance even caused some AGVs not to undertake any transportation tasks, but some AGVs are always in the working state. Then, the core question of research is: how to schedule AGVs to balance the distribution of transportation tasks and minimize the maximum completion time, while meeting customer demands, and considering the charging process and waiting time of AGVs?
Aiming to seek the marginal utility and load balance of AGV with charging, this paper studies the allocation and handling process scheduling problems of AGVs on the basis of FJSP. The AGV comprehensively considers factors such as workpiece scheduling, transportation task scheduling, scheduling priority, and charging constraints, to build models, and we solve these through genetic algorithms and complete use of AGV capabilities to obtain optimal production efficiency. To achieve this objective, we describe the problem and its formulation in Section 2. Further, algorithm development and solutions are given in Section 3. Section 4 presents numerical experiments followed by conclusion and future remarks in Section 5.

2. Mathematical Modelling

2.1. Problem Description

Given the number of machines, workpieces, and customer demands, the multi-AGV flexible manufacturing cell scheduling model explores the optimal distribution of multiple AGVs with charging, so as to complete all the processing tasks and minimize the final completion time of the manufacturing unit. In the model, AGVs must transport workpiece to machine according to the corresponding handling procedure. The total time consumption includes not only AGV transportation time and machine processing time, but also AGV charging time and waiting time. The problem of charging multiple AGVs in FJSP can be described as: there are n workpieces to be machined in a machining cell, expressed as J = { J 1 , J 2 , J 3 , , J n } , each workpiece J i ( J i J ) has p ( p 1 ) different machining operations. Each operation O i j can be machined by an optional set of machines, the processing time of it is different for different operations O i ( O i O ) of each workpiece. The processing time of the same process varies with the change of the machine, and the processing sequence of the workpiece has been specified in the process route file in advance. Workpiece J i contains p + 1 handling procedures T i j , and the distance between each processing machine is measured by the AGV travel time. In the course of processing, k AGV handling robots R = R 1 , R 2 , , R k take out the workpiece blanks from the loading station and transport the workpiece J to m different machines M = M 1 , M 2 , , M m for processing until the last process of the workpiece is completed, and the AGV transports the processed workpiece to the unloading station. The AGV charging method is to stay and charge at the charging station. The charging time cannot be ignored; it affects the final scheduling decision. Therefore, the charging time is taken into account in the AGV’s handling time. The issues that need to be considered are the selection of the processing machine where the process is located, the sequence of each process in the machine, and the AGV allocation problem that considers charging. In order to build a multi-AGV flexible manufacturing cell scheduling model with charging, this paper introduces the symbol definitions in Table 1, and assumes the following conditions:
(1) The machine follows the principle of first-come, first-served. Each machine can process only one workpiece at a time, and each AGV can transport only workpiece for one operation at a time; (2) Each machine and workpiece have the same priority except for user requirements, and the processing and AGV transport process are uninterrupted; (3) There is a workpiece buffer area next to each machine. Ignoring the workpiece congestion, the buffer capacity is unlimited; (4) Ignore the time the AGV takes to load and unload workpieces in the warehouse or machine buffer; (5) Initially, the AGV position and the initial workpiece position are located in the loading station, and the workpieces that have completed all processes are placed in the unloading station; (6) If two adjacent processes of the same workpiece are in the same machine, the AGV handling resources will not be occupied; (7) The AGV handling speed remains unchanged during transportation, is not affected by the load, and does not consider path conflicts; (8) The difference between power consumption of the AGV with or without a load is not considered, the unit power consumption is fixed; and (9) After the AGV completes the handling of a process, if the power is less than the threshold, it returns to the charging pile for charging. When the power is greater than the threshold and meets the AGV to perform the handling task, it waits for the next handling task. The following table provides symbols that satisfy assumptions and model requirements.
Table 1. Symbol definitions.
Table 1. Symbol definitions.
SymbolDescription
M l , l { 1 , 2 , , m } Indicates the l -th processing machine, and the total number of processing machines is m .
R r , r { 1 , 2 , , k } Indicates the r -th AGV, the total number of AGV is k .
J i , C i , i { 1 , 2 , , n } Indicates the i -th workpiece and the time of completion, and the total number of workpiece is n .
O i j , j { 1 , 2 , , p } Indicates the j -th processing operation of the i -th workpiece, and the maximum number of operations of the workpiece is p .
T i j Indicates the j -th delivery operation by AGV of the i -th workpiece, and the maximum transportation process of the workpiece is p + 1 .
t i j s , t i j e Machining process O i j start time and end time.
τ j e Latest finish time of the j -th processing operation required by customer.
T l i j The processing time of the process O i j in the processing machine M l .
R r a b l e , R r a c t u a l Available time and actual power of the r -th AGV.
T r p o s M i j The time from the current position of the r -th AGV to the machine M i j ( M i j M l ) where O i j is located.
T r p o s O i j Δ The time from the current position of the r -th AGV to loading station Δ where workpiece for O i j is located.
T r O i j Δ The wait time of the r -th AGV at loading station Δ for O i j .
R r t o t a l The actual total travel time of the AGV to complete the transportation task (load + no load).
R r i j s , R r i j e , R r i j AGV start time, completion time, and time consumption of the transportation process T i j .
U max , U r t Maximum load of AGV, and the load of the r -th AGV at time t .
{ U r 1 , U r 2 , , U r h }
{ U r t 1 , U r t 2 , , U r t h }
The transportation load sequences completed by the r -th AGV, and the completion time sequences of the corresponding transportation load.
E r t , E c o n s u m p t i o n The battery power of the r -th AGV at time t , AGV energy consumption per unit time.
E max , E min Battery maximum power, the minimum power that AGV can continue to work.
There are multiple AGVs in the manufacturing unit, and they stop working when the power stored in their batteries is exhausted, they are then required to be charged again. Therefore, it is necessary to define the available time parameters of the AGVs to ensure that when the AGVs are dispatched for handling, the AGVs are in the available state, not the charging state. The driving path of the AGV can be divided into three sections: the no-load time to the task location; the waiting time when waiting for the task profile to complete the previous process; and the time for the loaded profile to go to the destination machine. The waiting time is sometimes 0. Because the calculation of AGV power consumption is based on the driving power consumption, it is necessary to define the three states of AGV driving. The sum of the above three parts is the total time R r i j required to complete the task. In the case when waiting time is 0, there is R r i j = R r t o t a l .
Due to the flexibility of selecting machines for processing in FJSP, the decision variable P i j M l needs to be set. It means assigning machine M l to complete the machining work of O i j . Similarly, the handling task needs to assign one AGV from multiple AGVs to perform the task, so it is also necessary to define decision variables to specify the AGV to perform the work. The specific decision variable symbols and meanings are as follows:
i j i j M = 1 , O i j   is   machined   on   the   same   machine   before   O i j 0 , e l s e
i j i j R = 1 , T i j   is   being   transported   by   the   same   AGV   before   T i j 0 , e l s e
P i j M l = 1 , Operation   O i j   is   processed   on   machine   M l 0 , e l s e
P i j R r = 1 , Conveying   process   T i j   is   transported   by   AGV ( R r ) 0 , e l s e

2.2. Model Formulations

The multi-AGV flexible manufacturing cell scheduling considering charging problem is actually a typical Flexible Job-shop Scheduling Problem. Because of the continuity of the system, it is not suitable to be solved by Mixed Integer Linear Programming or Multi-stage Stochastic Programming. Considering the complexity of Deep Q-learning in the calculation of partial derivatives, we employed Multivariate Nonlinear Programming, so as to comprehensively describe system constraints and process status. The scheduling objective is to minimize the maximum time cost of production. The completion time of the last process of the workpiece is t i p e , then the objective function that can be expressed as:
f = m i n ( m a x ( 1 i n C i ) )
The flexible manufacturing cell scheduling constraints considering multi-AGV charging are:
C i t i p s + T l i j + T r l U , R r i ( j + 1 ) s t i j s + T l i j , t i ( j + 1 ) s R r i j s + R r i j
i j i j M l + i j i j M l = 1 , M l ( M 1 , M 2 , , M m ) P i j M l = 1
t i j s + T l i j t i j s + ( 1 i j i j M l ) × Q , P i j M l × P i j M l × ( t i j s + T l i j ) t i j s + i j i j M l × Q
i j i j R r + i j i j R r = 1
R r i j s + R r i j R r i j s + ( 1 i j i j R r ) × Q , P i j R r × P i j R r × ( R r i j s + R r i j ) t i j s + i j i j R r × Q
R r ( R 1 , R 2 , , R k ) P i j R r = 1
R r i j s = max R r a b l e + T r p o s M i ( j 1 ) , t i ( j 1 ) e
R r i j e = R r i j s + R r i j
R r i j = T a g v × ( R r a b l e + T r p o s M i ( j 1 ) t i ( j 1 ) e ) + T r O i j Δ + T r M i ( j 1 ) M i j T a g v = 1 , R r a b l e + T r p o s M i ( j 1 ) < t i ( j 1 ) e 0 , else
R r t o t a l = T r p o s O i j Δ + T r O i j Δ + T r Δ M i j
R r a c t u a l = E max ( R r t o t a l × E a v e r a g e ) , R r c t = ( E max R r a c t u a l ) / E v
Θ r = Θ × 1 U r t h t U r h + 1 × E r t E max E min
Ω r = Ω × T r O i j Δ × τ j e × E max E min E r t
t i j e τ j e , t i j s R r i j e , U r t U max
E r t E max , E r t E min
[ ( R r i j s ( r R r ) ) ( ¬ R r i j s ( r R r ) ) ] [ ¬ r r ( T r O i j Δ = T r O i j Δ ) ]
i { 1 , 2 , , n } , j { 1 , 2 , , p } , r { 1 , 2 , , k }
In the above inequalities and equations, constraint (2) represents the process sequence constraint of the same workpiece, which means that the maximum completion time of the workpiece is jointly constrained by the start processing time of the last process, the processing time, and the AGV handling time, and the AGV start handling time must be greater than the completion time of the previous process. Equation (3) represents the constraints of processing machine resources, requiring that one machine can process only one workpiece at a time, and the workpiece can be allocated to only one machine for processing. Here, Q is a positive integer that represents the elasticity of the system. Equation (4) indicates that the two machining processes on the same machine satisfy the sequence relationship. Equations (5)–(12) represent the AGV resource constraints, where Equation (5) indicates that an AGV can handle only one workpiece at a time, and Equation (6) indicates that the two handling processes completed by the same AGV satisfy the sequence relationship. Equation (7) means that a workpiece can be transported by only one AGV at a time. Equation (8) indicates that the start time of the AGV is constrained by the available time of the AGV, the time from the AGV to the processing equipment of the previous process, and the completion time of the previous process of the workpiece. Formula (9) indicates that the completion time of the AGV handling task is constrained by the time when the AGV starts to transport and the time from the current position to the processing machine. Equation (10) indicates that the actual transportation time is constrained by the available time of the AGV, the current position of the AGV, the start position of the transportation, and the completion time of the previous process. Equation (11) represents the constraint on the total transportation time of the AGV. Equation (12) represents the constraint on the actual power of the AGV and the charging time of the AGV. Equation (13) represents the priority of selecting the AGV, which is composed of two parts, one is the load size of the completed task, and the other is the current power situation. To achieve load balancing, the AGV with sufficient power and small historical load is preferentially selected to undertake transportation task.   Θ is a constant for equivalent conversion. Equation (14) represents the priority of the AGV loading workpiece for O i j . The AGV with earlier completion time and arrival time, and smaller power, has a higher priority for loading workpiece and a lower wait time. Here, Ω is a constant for equivalent conversion. Equation (15) indicates the time constraint and load constraint of any processing operation required by the customer. Equation (16) indicates the power constraint on which the AGV can continue to work. Equation (17) indicates the constraint to avoid deadlocks. The AGV must exclusively serve the operation O i j in order. At the same time, only one AGV can serve one operation, and only one AGV can pick up workpiece for an operation from loading station. Equation (18) are the space sizes of all entities in the system.

3. Solution Algorithms

The scheduling problem of flexible manufacturing units with AGVs considering charging can be divided into three sub-problems, namely, assigning processes to machines, sequencing processes assigned to each machine, and AGV allocation for transportation tasks. Ant Colony Algorithm, Gray Wolf Algorithm, and Deep Learning Network, is applied to obtain optimal strategy, but all of these received local solutions. However, Genetic Algorithm is more inclined to global search, which can quickly retrieve all feasible solutions and prevent the convergence of local optimal solutions too fast. Thus, aiming at the above three problems, this paper introduces the elite retention strategy and uses the genetic algorithm to solve it. First, all feasible solutions are divided into three segments of chromosomes: process, machine, and the AGV, then the population is obtained after initialization, and then decoding is performed after performing crossover and mutation. Finally, the fitness value is calculated to complete the selection until it reaches the threshold of the number of iterations. The core algorithm part is as follows.

3.1. Coding and Initialization

3.1.1. Encoding Operation

The genetic algorithm involves three segments of chromosome coding: process coding, machine coding, and AGV coding. The process code describes the sequence of the production process, and its gene length is L 1 = i = 1 n ( P i + 1 ) . The machine code indicates the processing machine where the process of each workpiece is located, and the length of the gene string is L 2 = i = 1 n P i . The AGV code corresponds to the task code, and the length of the gene string is the length of the AGV task code string. For example, in the code shown in Figure 1, process codes are sorted from left to right, the first number 3 represents the first process of workpiece No. 3, and the fourth number 2 represents the workpiece No. 2. The fifth number 3 of the machine code indicates that the second process of the workpiece No. 2 is processed by machine No. 3, and the tenth number 4 indicates that the unloading task is virtualized by the virtual equipment, that is, the unloading station. The fourth number of the AGV code is 1. The fourth task representing the process code, that is, the second process of workpiece No. 2, is transported by the AGV numbered 1. If the handling process is assigned to the corresponding AGV code, a sequence with process handling will be generated: ( O 31 , M 3 , T 1 03 ) , ( O 11 , M 1 , T 2 01 ) , ( O 21 , M 2 , T 2 02 ) , The corresponding handling time series is [1, 1, 3].

3.1.2. Initialization Operation

During initialization, depending upon the requirement of minimizing the maximum completion time, the machine with the shortest processing time is selected with a probability of 0.2, and the AGV code is initialized according to the principle of uniform distribution to balance the usage efficiency of the AGV and avoid idleness. After obtaining the fitness according to the objective function, the roulette method is used to select individuals from the population of size N . The probability that individual i can be retained for the next generation is related to the fitness value f i , and the probability is p i = f i / i = 1 N f i . In addition, considering that after a series of genetic manipulations in the parent generation, individuals with high fitness have a certain probability of being eliminated, which may lead to a decrease in the average fitness of the group. To this end, we use an elite retention strategy to ensure the top 10% of the parent population do not participate in crossover and mutation. When there are multiple optimal solutions at the same time, the overall handling time of the AGV is used as the second evaluation criterion to calculate the total running time i = 1 k R r t o t a l of the AGV. The individuals are sorted in sequence according to formula: F = F + 0.0001 × i = 1 k R r t o t a l , and the individual with the smallest AGV total running time is taken as the optimal solution. After participating in the crossover mutation, a new species population of size P excepting the elite is generated, and then 10% of the worst solutions are replaced with the optimal solution stored by the parent population to maintain the next generation of the parent population and ensure excellent genetic continuity and diversity.

3.2. Crossover and Mutation Operations

3.2.1. Crossover Operation

The interleaving operation of the process code uses the POX method. Select all processes for a certain workpiece from the parent P1, keep the positions of all processes of the workpiece unchanged on the chromosome, and keep them separate from the child individual C1. Randomly generate the parent P2, and encode the parent individual P2. (Except for the process selected in the previous step). Fill in the blank positions of C1 in turn. Similarly, the corresponding parts of P1 and P2 are combined in order to obtain the offspring individual C2. As shown in Figure 2a, all processes of workpiece 3 in the parent P1 are randomly selected and inherited to the offspring C1, and are kept in the position in the gene string remains unchanged. Then, all the processes of the parent P2, except for workpiece 3, are sequentially filled in the remaining gene string vacancies of the offspring C1 to form a complete offspring C1. Similarly, the remaining parts of P1 and P2 can be merged. The offspring C2 is obtained. The crossover selection of machine gene strings is operated using the Multi-point Preservative Crossover (MPX) method, which is used for machine crossover for chromosome process assignment, and the process order is reserved for the offspring, as shown in Figure 2b. For the parent gene string P1 And P2, the randomly generated 0_1 sequence, exchange the genes located at positions 2, 5, 6, 8, and 12, of the chromosome, and cross to generate offspring C1 and C2, that is, 1 corresponds to the same position of the parent P1 and P2 and the rest of the positions remain unchanged. The crossover of the AGV gene string is consistent with the MPX crossover method of the machine gene string. As shown in Figure 2c, the genes at positions 3, 6, 8, 10, and 12 are exchanged.

3.2.2. Mutation Operation

For process code, the extended insertion mutation method is adopted, that is, a gene at a given position is randomly selected in the chromosome encoded by the process, and it is randomly inserted into another position in the chromosome under the constraint that the sequence of processes of the same workpiece is fixed. The sequence of the gene after the insertion is set back one space. As shown in Figure 2d, insert the second process of workpiece No. 3 at chromosome position 6 of parent P1 into the second process of workpiece No. 2 at chromosome position 4, the second process of workpiece 2 originally at position 4. The process needs to be moved one bit backwards. As shown in Figure 2e, the mutation operation of the machine code randomly selects one of the two machine codes, and selects the machine with the shortest processing time in the machine group. The gene at position 7 is replaced, that is, the processing machine of the first process of workpiece 3 is replaced, and the original processing machine No. 3 and processing time 5 are mutated into processing machine No. 2 and processing time 3. The AGV coding mutation operation is the same as the machine coding. For example, the AGV No. 1 at position 6 in the parent P1 chromosome is randomly selected according to the probability, and replaced by AGV No. 2, and the feasible solution progeny C1 for handling the AGV is obtained.

3.3. Fit Function and Decoding

The fitness function solved by the genetic algorithm for scheduling of multi-AGV flexible manufacturing units considering charging is f = m a x ( 1 i n C i ) , the maximum completion time. The smaller the f is, the better is the individual. The decoding operation of chromosomes is actually the process of converting chromosomes into feasible solutions for scheduling, which can obtain the process profile, the machine used in the process and its processing time, the AGV trolley transported, and its handling time, etc.
Step 1: Select a process chromosome from the process and machine code in turn to judge the task type, convert it into the corresponding process O i j ; the machine M l corresponding to the process; the corresponding processing time T l i j and the completion time t i ( j 1 ) e of the previous process O i ( j 1 ) in the machine.
Step 2: Obtain the transportation task sequence T i j , and the transportation start point (L or machine), end point (U or machine) and transportation time.
Step 3: Read the AGV chromosome code in sequence, obtain the AGV status information, and assign the handling tasks to the corresponding AGVs in sequence.
Step 4: Calculate the time T r p o s M i ( j 1 ) from the AGV to the starting point of the handling task and the time R r i j s when the transportation starts, update time R r i j it takes for the AGV to handle the j process of Profile i , and calculate the total transportation time R r t o t a l , current actual power R r a c t u a l , and available time R r a b l e for the AGV to perform each handling task.
Step 5: Based on the AGV status information, see whether the actual power of the AGV is less than the threshold; if it is less than the threshold, it will be charged at the loading station L, and calculate the charging time R r c t , and then update the available time R r a b l e of the AGV.

4. Analysis of Examples

In order to verify the performance of the model and the algorithm, genetic algorithm and MATLAB programming are used to solve the FJSP 10×8 problem, FJSP 15×8 problem and FJSP 25 × 8 problem. We conduct hyper-parameter fine-tuning by GeatPy. Based on Values Exchanged Recombination and Mutation for Binary Chromosomes, the automated machine learning method is applied to obtain the optimal crossover and mutation operation probabilities. With the constructed field vector, objective vector, and fitness vector, we use the Elite Copy Selection method for fitness selection, and use the constraint violation value matrix to store the degree of individual violation constraints. After 1628 times evolution by Evolution Tracker, we acquire the parameters, as shown in Table 2. In addition, to reduce the problem scale, the maximum battery power is set to 100, the power threshold to 10, the number of charging piles to 1, the power consumption per unit time to 2, and the AGV charging rate to 6.

4.1. Analysis of Results

According to the conversion time of 1:5, that is, one unit of time represents 5 min, we input the resource list and routing list according to the customer order. The final completion time of the manufacturing unit is optimally 227.5 min, which is about 3.79 h. The specific experimental results are shown in Figure 3. The black line in the figure is the driving path of AGV No. 1, and the red line is the driving path of AGV No. 2. The maximum completion time of the 10 × 8 scale case is a minimum of 45.5. The final completion time is measured by AGV removing all the workpieces. The production planning department can determine an appropriate time for different batches of production orders and draw actual schedules according to the scheduling plan. In the 10 × 8 calculation example, the two AGVs did not reach the power threshold, so the charging state wherein the AGV cannot be used does not appear in the Gantt chart. However, after the AGV completes the previous task and the handling time is greater than 90 units of time, it will fall below the power threshold and shall need to stop work for charging. In the case of 15 × 8 scale, the two AGVs reached the power threshold once and in the case of 20 × 8 scale, the two AGVs reached the power threshold twice. In both cases, the charging wait time is 0 and all transportation tasks are completed. However, in the 25 × 8 scale case, the charging wait time is 6 with all tasks completed. AGV1 reached the power threshold three times, and AGV2 reached the power threshold twice in this case. It means that the AGVs need to be recharged five times in total, which takes 438.06 units of time. Here, the current powers of AGVs when they go to charge are 11.25, 12.08, 12.67, 12.90, and 13.04, respectively. Although the current powers of the AGVs are higher than the minimum power E min , they have to be charged because they cannot complete a single transportation task. Obviously, the larger the number of transportation tasks for workpieces, the more AGV charging times, and the longer the waiting time. From the perspective of AGV load, AGV1 and AGV2 each completed 17 transportation tasks in the case 10 × 8 scale, that is, the load balance ratio reaches the optimal state of value of 0. The load balance ratio is defined as ( Ψ max Ψ min ) / Ψ a v g . Here, Ψ max , Ψ min and Ψ a v g are the maximum, minimum, and average number of tasks completed by AGVs. As for the cases of 15 × 8 scale, 20 × 8 scale, and 25 × 8 scale, the load balance ratios are all less than 0.100, which are 0.074, 0.057, and 0.071, respectively. This shows that our model can effectively avoid AGV resource waste while meeting customer demands.
In general, the final completion time of manufacturing unit increases with the size of the problem. As shown in Table 3, when the number of AGVs is sufficient, the completion time grows in proportion to the problem scale. On average, for every 10 additional customer demands, the completion time increases by no more than 40 according to calculation examples. In contrast, if the number of AGVs is too small, the completion time will increase extremely with problem scale, and even some demands cannot be accomplished on time, as shown in the data marked with “*” in Table 3. Only if the AGVs exceeds 4 can all the problems of different scales from 20 × 8 to 100 × 8 be solved. Obviously, increasing the number of AGVs will improve the ability to solve problems. As the amount of AGVs increases exponentially, the completion time first decreases rapidly and then becomes stable. For example, in the case of 80 × 8 scale problem, when the number of AGVs is doubled from 1 to 32 successively, the completion time is improved by 128.57, 85.46, 50.07, 24.45, and 21.49, respectively. This shows that blindly increasing AGVs cannot significantly improve the scheduling effect, but will cause part of the AGVs to be idle. It can be found that when the number of AGVs exceeds 1/5 of the scale of workpieces, the improvement space of completion time is very small. In this case, each additional AGV reduces the completion time by a maximum of 3.17 unites. In order to obtain a more reasonable AGV fleet size, the marginal utility of the AGV is discussed in Section 4.2.

4.2. AGV Marginal Utility

The number of AGVs is closely related to transportation allocation, and it also has a greater impact on optimization goals. Usually, the AGV is subject to transportation constraints and a dedicated AGV is equipped for various workpieces, but it may increase the cost of the enterprise. In order to deeply study the marginal utility of AGVs, this paper selects 10 × 8 examples, takes different numbers of AGVs, and calculates the data 10 times. The results are shown in Table 4. When its number is about 20% of the number of workpieces, the optimization effect is prominent and appears as an inflection point. On the contrary, the optimization effect gradually decreases. The reason for the inflection point is that when the AGV input is less than 20% of the number of workpieces, the turnover between the AGV and workpiece is complicated, and the AGV needs more. It takes at least 15 units of time to charge during the next shutdown. It can be seen that AGV transportation and charging greatly affects production efficiency. When the number of AGVs is greater than 80% of the number of workpieces, although a better solution is achieved, the optimal performance remains unchanged and the economic cost increases. Enterprises can assign AGVs according to the economic situation of the workshop and planning of the completion time. As shown in Table 3 and Table 4, when the number of AGVs is greater than 2/5 of the number of workpieces, the marginal utility by increasing the AGV is less than 2.5. It means that when the AGV is 40% of the workpieces, the optimal schedule is almost reached and it is uneconomical to increase the number of AGVs again. Thus, according to the results of different scales and considering the fixed cost of AGVs, it is recommended that the number of AGVs should account for 20–40% of the scale of the workpieces, and the marginal utility is the most reasonable.

4.3. AGV Load and Charging

In order to verify the optimization of our model on the charging process and load balance, we conducted experiments in the case of 100 × 8 scale. The rapid increase in the scale of the problem makes it difficult to complete all transportation tasks when AGVs are insufficient. As shown in Table 5, while the number of AGVs is 1 and 2, respectively, 4 customer demands and 3 customer demands are uncompleted on time. Until the AGV exceeds 4, all the workpiece transportation tasks can be effectively completed. Thereafter, as the number of AGVs increases, the total charging times decreases almost exponentially and the waiting time drops sharply. When all transportation tasks are completed, the average wait time remains between 4 and 6. This indicates that the AVGs are effectively scheduled to accomplish all tasks, while maximizing the reduction of charging times and charging wait time. Especially when the AGVs exceeds 8, the charging times tend to be flat, and the utility brought by increasing AGV is not obvious. From the perspective of the AGV load, the load balance ratio is always less than 0.25, which means that the difference between the maximum and minimum load is less than 1/4 of the average load. This indicates that the loads of different AGVs are similar and tend to be balanced. In addition, the load balance ratio shows a bell-shaped trend of increasing first and then decreasing. The inflection point occurs when AGVs is 8, where the minimum load of AGVs changes by 20.7% and the maximum load of AGVs changes by only 17.3%. It means that when the charging times of AGVs do not decrease dramatically, the loads of AGVs will gradually become balanced based on scheduling priority. Furthermore, the rational load balance of AGVs is achieved when the charging times remains stable (the number of AGVs is greater than 12). That is, when considering charging, multi-AGV flexible manufacturing cell scheduling can assist decision makers to select a reasonable number of AGVs through simulation to meet the needs of all customers, reduce the charging times, and promote load balance.

5. Conclusions

AGVs are powered by batteries, they move along the planned path, and have automatic guidance equipment such as magnetic strips, rails, or lasers, which can assist the workshop to complete a series of transportation tasks, providing a strong support for intelligent manufacturing enterprises to reduce the time consumption of the production process. Considering the influence of the available number of AGVs, the power threshold, and the charging time in the workshop scheduling, we adopted minimization of the maximum completion time as the optimization objective, and have constructed a multi-AGV flexible manufacturing unit scheduling model considering charging. The genetic algorithm was used to solve the problem, and the optimized process arrangement, the AGV driving path, and the scheduling plan after the AGV reached the power threshold were obtained, which further confirmed the impact of AGV transportation and charging on production efficiency. Compared with the models given in the literature [18,19], our model more comprehensively considers the charging time and charging waiting. The AGV scheduling priority is also designed to drive AGV load balance. The AGV with earlier completion time, arrival time, and smaller power, has a higher priority for loading workpiece and a lower wait time. To achieve load balancing, the AGV with sufficient power and a small historical load is preferentially selected to undertake the transportation task. After analyzing the marginal utility of the AGV under different problem scales, the results shows that the AGVs are effectively scheduled to complete transportation tasks, while reducing the charging times and charging wait time. It is clear that AGV utilization can be maximized when the number of AGV scales is 20–40% of the number of workpieces. Furthermore, the scheduling model of multi-AGV flexible manufacturing cell when considering charging can help decision makers minimize the maximum completion time by simulation, and seek load balance, while meeting customer demands. The limitations of the model research in this paper are as follows: (1) considering the complexity of research caused by diverse workpiece weights, we ignored the time-consuming differences generated by AGV loads in order to simplify model building; and (2) the objective function focuses on the final completion time cost of manufacturing unit without considering the fixed cost of the AGV. Therefore, future research can try to establish a multi-objective nonlinear programming model including time cost and fixed cost, and discuss the influence of different loads on AGV power consumption.

Author Contributions

Conceptualization, J.L. and W.C.; methodology, W.C.; software, W.C.; validation, J.L. and W.C.; formal analysis, J.L. and W.C.; investigation, W.C.; resources, W.C.; data curation, W.C.; writing—original draft preparation, W.C.; writing—review and editing, J.L., K.K.L. and B.R.; visualization, W.C.; supervision, K.K.L. and B.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The program code and data that support the plots discussed within this paper are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lacomme, P.; Larabi, M.; Tchernev, N. Job-shop based framework for simultaneous scheduling of machines and automated guided vehicles. Int. J. Prod. Econ. 2013, 143, 24–34. [Google Scholar] [CrossRef]
  2. Wu, N.; Zhou, M. Modeling and deadlock control of automated guided vehicle systems. IEEE/ASME Trans. Mechatron. 2004, 9, 50–57. [Google Scholar]
  3. Fu, J.; Zhang, H.; Zhang, J.; Jiang, L. Review on AGV Scheduling Optimization. J. Syst. Simul. 2020, 32, 1664. [Google Scholar]
  4. Bilge, Ü.; Ulusoy, G. A time window approach to simultaneous scheduling of machines and material handling system in an FMS. Oper. Res. 1995, 43, 1058–1070. [Google Scholar] [CrossRef]
  5. Abdelmaguid, T.F.; Nassef, A.O.; Kamal, B.A.; Hassan, M.F. A hybrid GA/heuristic approach to the simultaneous scheduling of machines and automated guided vehicles. Int. J. Prod. Res. 2004, 42, 267–281. [Google Scholar] [CrossRef]
  6. Zhang, Q.; Manier, H.; Manier, M.A. A genetic algorithm with tabu search procedure for flexible job shop scheduling with transportation constraints and bounded processing times. Comput. Oper. Res. 2012, 39, 1713–1723. [Google Scholar] [CrossRef]
  7. Fontes, D.; Homayouni, S.M. Joint production and transportation scheduling in flexible manufacturing systems. J. Glob. Optim. 2019, 74, 879–908. [Google Scholar] [CrossRef]
  8. Yonglai, W.; Wei, L.; Yanyan, L. Research on AGV Material Delivery Scheduling Problem Based on Hybrid Tabu Bat Algorithm. Modul. Mach. Tool Autom. Manuf. Tech. 2018, 1, 145–149. [Google Scholar]
  9. Liu, E.H.; Yao, X.F.; Tao, T.; Jin, H. Improved flower pollination algorithm for job shop scheduling problems integrated with AGVs. Comput. Integr. Manuf. Syst. 2019, 25, 2219–2236. [Google Scholar]
  10. Heger, J.; Voss, T. Reducing mean tardiness in a flexible job shop containing AGVs with optimized combinations of sequencing and routing rules. Procedia CIRP 2019, 81, 1136–1141. [Google Scholar] [CrossRef]
  11. Heger, J.; Voß, T. Dynamic priority based dispatching of AGVs in flexible job shops. Procedia CIRP 2019, 79, 445–449. [Google Scholar] [CrossRef]
  12. Xu, W.; Guo, S. A multi-objective and multi-dimensional optimization scheduling method using a hybrid evolutionary algorithms with a sectional encoding mode. Sustainability 2019, 11, 1329. [Google Scholar] [CrossRef]
  13. Zhang, L.; Hu, Y.; Guan, Y. Research on hybrid-load AGV dispatching problem for mixed-model automobile assembly line. Procedia CIRP 2019, 81, 1059–1064. [Google Scholar] [CrossRef]
  14. Umar, U.A.; Ariffin, M.K.A.; Ismail, N.; Tang, S.H. Hybrid multiobjective genetic algorithms for integrated dynamic scheduling and routing of jobs and automated-guided vehicle (AGV) in flexible manufacturing systems (FMS) environment. Int. J. Adv. Manuf. Technol. 2015, 81, 2123–2141. [Google Scholar] [CrossRef]
  15. Mousavi, M.; Yap, H.J.; Musa, S.N.; Tahriri, F.; Md Dawal, S.Z. Multi-objective AGV scheduling in an FMS using a hybrid of genetic algorithm and particle swarm optimization. PLoS ONE 2017, 12, e0169817. [Google Scholar] [CrossRef] [PubMed]
  16. Nouri, H.E.; Driss, O.B.; Ghédira, K. Simultaneous scheduling of machines and transport robots in flexible job shop environment using hybrid metaheuristics based on clustered holonic multiagent model. Comput. Ind. Eng. 2016, 102, 488–501. [Google Scholar] [CrossRef]
  17. Zhang, Z.; Wu, L.; Zhang, W.; Peng, T.; Zheng, J. Energy-efficient path planning for a single-load automated guided vehicle in a manufacturing workshop. Comput. Ind. Eng. 2021, 158, 107397. [Google Scholar] [CrossRef]
  18. Dehnavi, A.S.; Sabaghian, A.; Fazli, M. A Job shop scheduling and location of battery charging storage for the automated guided vehicles (AGVs). J. Optim. Ind. Eng. 2019, 12, 121–129. [Google Scholar]
  19. Zhengfeng, L.; Yangyang, L. Research on job shop scheduling with multiple AGVs considering charging. Comput. Integr. Manuf. Syst. 2021, 27, 2872–2879. [Google Scholar]
  20. Wang, F.; Zhang, Y.; Su, Z. A novel scheduling method for automated guided vehicles in workshop environments. Int. J. Adv. Robot. Syst. 2019, 16, 1729881419844152. [Google Scholar] [CrossRef]
  21. Fazlollahtabar, H.; Saidi-Mehrabad, M. Methodologies to optimize automated guided vehicle scheduling and routing problems: A review study. J. Intell. Robot. Syst. 2015, 77, 525–545. [Google Scholar] [CrossRef]
  22. De Ryck, M.; Versteyhe, M.; Debrouwere, F. Automated guided vehicle systems, state-of-the-art control algorithms and techniques. J. Manuf. Syst. 2020, 54, 152–173. [Google Scholar] [CrossRef]
Figure 1. Individual coding gene string.
Figure 1. Individual coding gene string.
Mathematics 10 03417 g001
Figure 2. Chromosome crossover operation and mutation operation. (a) POX crossover operation of process code; (b) MPX interleaving operation of machine code; (c) MPX crossover operation of AGV code; (d) Mutation operation of process code; (e) Mutation operation of machine code.
Figure 2. Chromosome crossover operation and mutation operation. (a) POX crossover operation of process code; (b) MPX interleaving operation of machine code; (c) MPX crossover operation of AGV code; (d) Mutation operation of process code; (e) Mutation operation of machine code.
Mathematics 10 03417 g002
Figure 3. FJSP Gantt chart with 2 AGVs.
Figure 3. FJSP Gantt chart with 2 AGVs.
Mathematics 10 03417 g003
Table 2. The parameters of the algorithm model.
Table 2. The parameters of the algorithm model.
ParametersValues
maximum battery power100
power threshold10
power consumption2
AGV charging rate6
population size100
iteration threshold10,000
mutation probability0.208
crossover probability0.846
Table 3. Final completion time under different scales of problem and number of AGVs.
Table 3. Final completion time under different scales of problem and number of AGVs.
Number of AGVsScale of FJSP Problem
10 × 820 × 830 × 840 × 850 × 860 × 870 × 880 × 890 × 8100 × 8
166.47148.50215.09 *282.54 *367.97 *436.58 *487.95 *580.10 *778.69 *990.64 *
245.50102.60148.75199.63238.43 *287.11 *342.72 *451.53 *581.27 *751.48 *
440.5083.75126.28178.41212.57268.36314.48366.07427.50 *627.31 *
835.5078.15113.60151.66184.41235.08264.19316.00372.09554.80
1634.0070.30105.35142.17175.85215.50251.34291.55341.18460.75
3234.0070.30105.35142.17175.85215.50251.34270.06312.30448.95
“*” means some demands cannot be accomplished on time.
Table 4. AGV marginal utility.
Table 4. AGV marginal utility.
Number of AGVs12345678910
AGV/workpiece
(percentage)
10%20%30%40%50%60%70%80%90%100%
Final completion time66.4745.5043.0040.5038.5037.0036.0035.5034.0034.00
Marginal utility20.972.502.502.001.501.000.500.500
Table 5. AGV load and charging.
Table 5. AGV load and charging.
Number of AGVs124681012141618
Total waiting time for
charging
421.28109.4657.8838.6121.0515.2011.928.9000
Total charging times of AGVs 4523148632220
Maximum load of AGVs36218613298816955484339
Minimum load of AGVs36217611482655747423835
Average load of AGVs36218112191726052454036
Load balance ratio0.0000.0550.1490.1770.2210.1990.1550.1330.1240.110
Uncompleted demands on time4310000000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, J.; Cheng, W.; Lai, K.K.; Ram, B. Multi-AGV Flexible Manufacturing Cell Scheduling Considering Charging. Mathematics 2022, 10, 3417. https://doi.org/10.3390/math10193417

AMA Style

Li J, Cheng W, Lai KK, Ram B. Multi-AGV Flexible Manufacturing Cell Scheduling Considering Charging. Mathematics. 2022; 10(19):3417. https://doi.org/10.3390/math10193417

Chicago/Turabian Style

Li, Jianxun, Wenjie Cheng, Kin Keung Lai, and Bhagwat Ram. 2022. "Multi-AGV Flexible Manufacturing Cell Scheduling Considering Charging" Mathematics 10, no. 19: 3417. https://doi.org/10.3390/math10193417

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

Article Metrics

Back to TopTop