Next Article in Journal
The Impact of Waxy Wheat Flour, Inulin and Guar Gum on Post-Prandial Glycaemic and Satiety Indices, Sensory Attributes and Shelf Life of Tandoori and Pita Breads
Previous Article in Journal
An Investigation of the Effects of Additives and Burning Temperature on the Properties of Products Based on Loam
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Digital Twin-Based Automated Guided Vehicle Scheduling: A Solution for Its Charging Problems

1
State Key Laboratory for Manufacturing Systems Engineering, Xi’an Jiaotong University, Xi’an 710049, China
2
Shaanxi Key Laboratory of Intelligent Robots, School of Mechanical Engineering, Xi’an Jiaotong University, Xi’an 710049, China
3
CRRC Changchun Railway Vehicles Co., Ltd., Changchun 130113, China
4
Youibot Robotics Co., Ltd., Shenzhen 518112, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Appl. Sci. 2022, 12(7), 3354; https://doi.org/10.3390/app12073354
Submission received: 22 February 2022 / Revised: 22 March 2022 / Accepted: 23 March 2022 / Published: 25 March 2022
(This article belongs to the Topic New Frontiers in Industry 4.0)

Abstract

:
Due to poor predictability of resources and difficulty in perception of task execution status, traditional Automatic Guide Vehicle (AGV) scheduling systems need a lot of extra time in the charging process. To solve this problem, a digital twin-based dynamic AGV scheduling (DTDAS) method is proposed, including four functions, namely the knowledge support system, the scheduling model, the scheduling optimization, and the scheduling simulation. With the features of virtual reality data interaction, symbiosis, and fusion from the digital twin technology, the proposed DTDAS method can solve the AGV charging problem in the AGV scheduling system, effectively improving the operating efficiency of the workshop. An AGV scheduling process in a discrete manufacturing workshop is taken as a case study to verify the effectiveness of the proposed method. The results show that, compared with the traditional AGV scheduling method, the DTDAS method proposed in this article can reduce makespan 10.7% and reduce energy consumption by 1.32%.

1. Introduction

AGV scheduling is a crucial process in manufacturing systems [1,2]. It aims at the allocation and timing management of transportation tasks to achieve goals such as reduction in completion time, energy consumption, and resource idle rate [3,4]. In recent years, AGV scheduling optimization has been continuously improved with the development of advanced methods, such as the math programming method [5], the agent-based method [6], the machine learning method [7], etc. Although these novel methods have been involved in the scheduling, the accurate description of AGV property, such as the charging process, is always ignored. However, charging process of the AGV may take several hours, which may result in serious interruption and delay of the transport tasks. So, charging behavior should be carefully considered, otherwise, the scheduling cannot be well optimized.
AGVs are normally powered by the batteries. In the actual shop flow, the AGV will break the task when the state of charge (SOC) of the battery reaches a certain threshold [8,9]. Consequently, the AGV should be charged autonomously in the nearest charging area. However, this charging mode for AGVs may be harmful to the overall performance of the system [10]. When the battery power of the an AGV drops below the threshold, the current position of the AGV can, by chance, be far away from the charging area. Charging in advance at charging area closer to the initial position could be a better decision. This would decrease the total extra travel time from the work area to the charging area. Furthermore, the AGVs are normally fully charged with long charging time. Charging a portion of the AGV may be more reasonable when a rush transportation task is needed.
Therefore, in addition to a module for allocating transport tasks, a battery management module for allocating charging tasks should also be included for a complete AGV scheduling system [11,12]. Research in the field of AGV scheduling has begun to pay attention to battery management in recent years. Kabir et al. [13] explored the production capacity of the workshop through battery management. The results showed that more frequent charging of AGVs increases the productivity of the manufacturing system significantly. Ryck et al. [10] proposed an AGV scheduling method based on the TSP (Traveling Salesman Problem) model, which acquires the optimal charging timing and time to reduce the task completion time. These studies can reduce the impact of the charging process on the execution of AGV tasks with static scheduling methods. However, scheduling systems using the static method has limited performance in a real production environment, since the status of a real production environment is changeable.
In order to improve the adaptability of the scheduling system to the environment, dynamic scheduling methods are studied. Heger et al. [4] proposed a scheduling method based on dynamic priority, which becomes the commonly used AGV dynamic scheduling method. Sahin et al. [6] proposed an agent-based dynamic scheduling method. Each agent in the system was autonomous and could negotiate and cooperate with other agents. Smolic-Rocak et al. [14] proposed a dynamic planning method for AGV based on the time window. However, these research works have some common shortcomings. Firstly, with a predefined mathematical model, these solutions cannot possibly describe the status of the AGV accurately and dynamically. Secondly, these methods cannot predict the AGV’s availability for a period of time, so a global optimal scheduling plan cannot be obtained. Hence, for the AGV scheduling considering battery management, there are still many limitations if the traditional dynamic scheduling methods are used.
Digital twin has been widely used in manufacturing in recent years [15,16], providing a new solution to the scheduling problem of the workshop. Liu et al. [17] believe that with the characteristics of virtual reality data interaction and fusion, digital twin technology can improve shop-floor performance in the scheduling decision-making process. Fang et al. [18] proposed a digital twin-based job shop scheduling method. Compared to traditional scheduling methods, it can obtain more accurate data for rescheduling and timely response to dynamic events. Zhang et al. [19] proposed a DT-enhanced dynamic scheduling method for machine task assignment. The results show that this method can reduce manufacturing time and delays. In general, the application of digital twin in manufacturing brings a chance to promote scheduling technology. On the one hand, by establishing a digital twin workshop, the working status and task progress of the physical workshop can be mapped to the virtual workshop to track and improve the production process [20]. On the other hand, the digital twin system collects a large amount of data from physical workshops and virtual workshops, which provides sufficient data support for workshop production [21]. Hence, the digital twin based dynamic scheduling system can meet the needs of real-time scheduling and strong predictability.
To utilize the advantage of the digital twin technology and solve the problems mentioned above, a digital twin-based dynamic AGV scheduling (DTDAS) method is proposed in this paper. A dynamic energy consumption model is first established to describe the latest energy consumption characteristics of AGV. The prediction method for AGV availability based on the current scheduling plan and dynamic energy consumption models is then proposed. Thirdly, a digital twin-based AGV scheduling system is constructed. The main contribution of this paper includes: (1) A proposal for an overall framework of digital twin-based dynamic AGV scheduling; (2) Exploration of the methods for building an AGV dynamic energy consumption model, and digital twin-based AGV availability prediction; (3) The building of a mathematical model of initial scheduling and charging scheduling. The proposed methods are validated by taking a batch of orders in the discrete workshop as a case study.
The structure of the article is arranged as follows. Section 2 formulates the problem of AGV scheduling. Section 3 presents the principle of the proposed DTDAS. Section 4 gives a case study to verify the proposed method. The conclusion of this article is laid down in Section 5.

2. Problem Formulations

This paper considers the AGV scheduling in in a discrete manufacturing workshop producing parts for internal combustion engines, as shown in Figure 1. The workshop includes six machines for processing parts and three AGVs for transporting parts.
The general layout of the workshop is shown in Figure 2. Here, only the AGV scheduling is considered, and the allocation of the machine has been completed by default. Therefore, each workpiece process in the processing corresponds to a unique machine. In the material storage area S, the blanks of the workpieces are initially placed. The blanks are carried by the AGV to the corresponding machine Mx after an order is placed. After several processes, the finished workpieces are transported by AGV to the parts storage area F. A simple example is shown in Figure 1. Order 1 contains two machining operations, which will be performed on M2 and M6, respectively. Consequently, three transport tasks with time-constrained are generated, Task 1 (S–M2), Task 2 (M2–M6) and Task 1 (M6–F). These three transportation tasks will be performed by AGV1, AGV2 and AGV3, respectively. The AGV will charge in the case of insufficient power before the performance of transportation tasks.
The studied dynamic scheduling problem is subjected to the following assumptions:
  • AGV’s collision and deadlock are not considered;
  • The AGV drives with the principle of the shortest path;
  • An AGV can only carry one workpiece each time;
  • AGV loading and unloading time can be ignored;
  • Charging devices are capable for all AGVs at the same time;
  • AGV cannot perform charging tasks during transportation;
  • There is no capacity limit for material storage areas and finished product storage areas;
  • The speed of the AGV remains constant during driving.

3. Principle of the Proposed DTDAS

The framework of DTDAS consists of two parts: the physical workshop and the virtual workshop. As shown in Figure 3, the two parts share data. The real-time data in the physical workshop are transmitted to the scheduling model in the virtual space. The scheduling plan generated by the virtual workshop is then sent to the physical workshop. There are four modules in the virtual space: the knowledge support module, the scheduling model module, the scheduling optimization module, and the simulation verification module. In the knowledge support module, the dynamic energy consumption model and the AGV availability prediction provide a decision basis for the scheduling model. The scheduling model includes the allocation of transportation tasks and the allocation of charging tasks. This scheduling model will be solved by the scheduling optimization algorithm. After the simulation verification, the obtained scheduling plan is sent to the execution system, assigning tasks further to the corresponding equipment.

3.1. Knowledge Support

3.1.1. AGV Dynamic Energy Consumption Model

In this article, only the unavailable state caused by insufficient power of the AGV is considered. Other reasons, such as AGV failure, are neglected. Accurate energy consumption calculation is the prerequisite for predicting the availability of the AGV in actual transportation. Therefore, a mathematical model is needed to accurately describe the energy consumption characteristics of AGVs. The traditional scheduling mechanism is also possible to establish an AGV energy consumption model with fixed parameter values. However, the battery used in the AGV system will show different energy consumption characteristics in different states [22]. It is difficult to accurately describe the energy consumption characteristics when the workshop status changes. Digital twin connected with abundant real-time data resources provides data support for the establishment of dynamic energy consumption models. This paper adopts the method of real-time data fitting, as shown in Figure 4. AGV speed, load, and battery state of charge (SOC) are taken as input. AGV’s energy consumption rate is taken as the output to establish the AGV’s energy consumption model to describe the AGV’s energy consumption characteristics at different loads and speeds. It should be noted that the SOC of the AGV battery is an estimated value obtained by current and voltage [23], which is regarded as a given value in this paper to simplify the dynamic energy consumption model. Hence, the dynamic energy consumption model can be expressed as:
μ ^ i = β m a s s i + κ v 2 + χ
μ = Δ S O C Δ t ,
e = μ μ ^ ,
where μ ^ is the estimated energy consumption rate of transport task i, mass and v represent AGV load and speed, respectively, β , κ are the correlation coefficients, χ is offset value. And μ is real-time energy consumption rate, e is the estimated error of the energy consumption rate. The symbols appearing in this paper can refer to the Appendix A.
When e is under a certain threshold, this estimation formula is maintained. When e is greater than this threshold, this formula will be replaced by the formula fitted from the latest data. This data model will provide support for the AGV availability prediction.

3.1.2. AGV Availability Prediction

During the operation of the workshop transportation system, AGV failures, AGV low battery warnings, etc., are the main reasons for delaying the production plan. The DT-based dynamic scheduling system should avoid such events from origin through prediction and status monitoring. Since the AGV failure period usually only accounts for a small part of the working cycle, this article mainly discusses the impact of the charging process on availability. The previous section describes the establishment of the AGV energy consumption model in the digital twin system. As shown in Figure 5, the model can be based on the current SOC and schedule plan to predict the electricity characteristics of AGV operation for a while in the future. Generally, AGV battery SOC dropping to 20% is considered unavailable. Then we can obtain the AGV’s availability result based on the predicted value of the AGV battery SOC, which will be used as the basis for the scheduling system to perform the charging schedule. The predicted value of the AGV battery SOC can be expressed as:
S O C p ( t ) = S O C 0 μ ^ 1 T 1 μ ^ 2 T 2 μ ^ n ( t T n )
where S O C p ( t )  is the predicted value of AGV battery SOC at time t, S O C 0 is the initial value of AGV battery SOC. T i is the time required to perform transport task i.

3.2. Scheduling Model

The scheduling model built in this article is divided into two parts: the initial scheduling part and the charging scheduling part. The initial scheduling contains two decision variables: the allocation of transportation tasks and the timing management of the transportation tasks. The charging schedule also contains two decision variables: the allocation of AGV charging tasks and the allocation of charging capacity.
The allocation of transportation tasks can be expressed as:
O i j a = 1 ,   A a   is   allocated   to   transportation   task   O i j 0 ,   else ,
The management of task execution timing can be expressed as:
O i j i j a = 1 ,   A a   is   allocated   to   O i j   then   allocated   to   O i j 0 ,   else ,
when i = i , j > j ; when i i , j p i , j p i .
The allocation of charging tasks can be expressed as:
C i j a = 1 ,   A a   performs   a   charging   task   before   O i j 0 ,   else ,
The decision on charging power can be expressed as:
S O C i j a [ 0 ,   10 ,   20 ,   ,   80 ] ,
In the initial scheduling process, reducing the makespan and the energy consumption of the AGV system is the goal. To ensure that the transportation tasks are completed as early as possible during the charging schedule without affecting the production process, we hope to arrange the charging tasks for the AGV as much as possible during the idle period of the initial scheduling plan. At the same time, the charging frequency should not be too much (It is impossible to schedule AGV charging for all idle periods), which will cause a lot of unnecessary energy consumption. As a result, we consider makespan and energy consumption as the optimization goal of the charging schedule. In fact, it is also possible to insert the charging task during the initial scheduling process, however the model of this method is more complicated, and its calculation time is unacceptable for the dynamic scheduling system.
Minimizing the makespan. Makespan means the maximum completion time, which can be expressed by:
min   MS = max ( t S O i j + t C O i j ) t S T ,
Subject to
t S O i j = O i j a ( t C A a + t C i j a + t B C i j a + t W O i j a ) , C i j a = 1 O i j a ( t C A a + t O i j a + t W O i j a ) , C i j a = 0 ,
t C i j a = t C C i j a + t M C i j a ,
t W O i j a = t S P O i j + t P O i j ( t C A a + t C i j a + t B C i j a ) ,   Case   1 t S P O i j + t P O i j ( t C A a + t O i j a ) ,   Case   2   0 ,   else   Case   1 :   C i j a = 1   & &   ( t S P O i j + t P O i j ) ( t C A a + t C i j a + t B C i j a )   Case   2 :   C i j a = 0   & &   ( t S P O i j + t P O i j t C A a + t O i j a )
t S O i j O i j i j a ( t S O i j + t C O i j + t O i j i j a ) ,   i , i n , a m ,
O i j i j a + O i j i j a 1 , i n , i   i s   n o t   e q u a l   t o   i   a t   t h e   s a m e   t i m e
t S O i j + 1 t S O i j + t C O i j + t P O i j + 1 ,   j + 1 p i ,
a m O i j a = 1 ,   i n , j p i ,
t S P O i j t S O i j 1 + t C O i j 1 ,   j = 2 , , p i ,
where Equation (10) calculates the start time of the transportation process according to whether the charging process is included before task execution. Equation (11) calculates the time taken by the AGV to perform the charging task, including the time for the AGV to go to the charging area and the time to charge in the charging area. The waiting time for the AGV to perform this transportation task is determined by Equation (12). Equations (13) and (14) ensure that the time sequence of the transportation task meets the requirements. Equation (15) ensures that from the second transportation operation of each order, the start time of the transportation task must be greater than the processing completion time of the machine. Equation (16) ensures that each transportation task will only be executed once. Equation (17) ensures that the start time of this processing operation must be greater than the end time of the previous transportation operation. Among them, the first transportation operation is transported from the material storage area to the corresponding machine, so there is no corresponding processing operation.
Minimizing the total energy consumption. Energy consumption is expressed by AGV battery SOC. The total energy consumption can be expressed by:
min   E = a = 1 s ( S O C 0 a + S O C r c a S O C f a ) ,
Subject to:
S O C r t a 20 d + ,   a m ,
0 S O C i j a 100 S O C r t a , a m ,
S O C r c a = i n j p i C i j a S O C i j a ,   a m ,
E i j a = O i j a ( μ i d l t W O i j a + μ e m p ( t M O i j a + t B O i j a ) + μ i j t C O i j ) , C i j a = 1 O i j a ( μ i d l t W O i j a + μ e m p t O i j a + μ i j t C O i j ) , C i j a = 0 ,
S O C f a = S O C 0 a + i = 1 n j = 1 p i C i j a S O C i j a i = 1 n j = 1 p i E i j a ,
μ i j = β m a s s i j + κ v 2 + χ ,
Equation (19) is the AGV real-time power soft constraint, which ensures that the AGV will not perform transportation tasks when the power is less than 20%. Where, d + is a small positive number. Equation (20) ensures that the AGV battery will not be overcharged due to each charging process. Equation (21) calculates the total power charged to Aa when completing all transportation tasks. Equation (22) calculates the total electricity consumed by Aa in the transportation operation. Equation (23) calculates the final power of Aa when all transportation tasks are completed. The energy consumption rate of AGV during transport is determined in Equation (24) for different transport operation loads.
Multi-objective evaluation. The objective function consists of two components: makespan and energy consumption, which can be expressed as:
f = δ 1 M S + δ 2 ( 1 δ 1 ) E ,
where δ 1 is the weight coefficient of MS, and δ 2 is a coefficient to adjust the two objectives in the same order of magnitude.

3.3. Scheduling Optimization

A Genetic algorithm (GA) is one of the most popular multi-objective optimization algorithms. It has the characteristics of a good optimization effect and fast convergence speed, which is an effective method to solve this kind of scheduling problem. Therefore, this paper uses GA to solve the mathematics model mentioned above.

3.3.1. Solution of the Coding

The first section is the coding of the problem’s solution. This article divides the chromosome into four segments, corresponding to the four decision variables in the model mentioned above. As shown in Figure 6, assuming that there are four orders in the scheduling that contain a total of 17 transportation operations, the entire chromosome contains 68 genes, and each gene fragment contains 17 genes. The first part reflects the transportation operation’s priority, decreasing from left to right, and the gene’s code defines transportation operations related to O 1 for each order. The genetic code is the same as their order number, so that all the genes related to O 1 operations have the code “1” and subsequently the code “2” is given to all the genes related to O 2 , and so on. So the first “1” represents O 11 and the first “2” represents O 21 . The second segment of the genetic code is the AGV number, and this genetic code defines which AGV will transport the corresponding transportation operations. The third segment represents the allocation of charging tasks, which are all Boolean variables. The last segment of the genetic code represents the amount of charge when the AGV is charging. For example, genetic number two corresponds to the transportation operation O 12 , which will be carried by the AGV numbered two. The AGV numbered two will go to the charging area to charge once before the transportation, and the charged power is 20.

3.3.2. Algorithm Configuration

Fitness function. The fitness function in this paper can be expressed as:
F = 1 / f ,
Selection. This article adopts a roulette method for individual selection to constantly increase the overall fitness of the population.
Crossover. The corresponding gene exchange between different individuals can result in illegal individuals when the chromosomes cross. At this time, the individual needs to be repaired reasonably, and the repair method can be referred to [24].
Mutation. This paper introduces shift mutation on the first gene segment of the chromosome to ensure that a legal individual is produced during the mutation process. The particular methods are presented in [25], and general methods of mutation are used for other segments.
Elitism. The best individuals will be directly transferred to the next generation of populations in the elite process.
In the initial scheduling, only the first and second segments of the chromosome are operated. In the charging scheduling, only the third and fourth segments of the chromosome are operated.

3.4. Simulation Verification

As shown in Figure 7, this module includes two parts, visualization simulation and evaluation simulation. Visualization of the scheduling process is the basic function of this module. Firstly, we build the 3D model of the AGVs and import them into Flexsim (A 3D Simulation Modeling and Analysis Software), as shown in Figure 8. Then, the process flow and data interface of the AGV are established. The Emulation module in Flexsim is used to establish the Modbus TCP Connection, as shown in Figure 9. Finally, the acquired sensor data of the physical device is transmitted to Flexsim through the network port. Consequently, AGVs and other devices perform pre-defined actions based on these real-time data.
Evaluation simulation refers to the simulation of the entire process before the scheduling plan is executed on the physical workshop. The 3D models in Flexsim can also be driven by scheduling plan tables. When a schedule plan is generated, it will first be sent to Flexsim for evaluation. In this way, we can dynamically evaluate the utilization rate of each AGV, the delivery and completion time, the delay time of each workpiece, etc. At the same time, the path conflict problem of the AGV system can also be found in the simulation. The evaluation indicators have a strong guiding significance for the execution system of the physical workshop. Simulation based on digital twins can evaluate the performance of the workshop from different scales according to the needs of users. In addition, since the model in the virtual workshop can be continuously updated based on real-time data, the simulation results can be closer to the real situation.

3.5. Dynamic Interaction Process

The overall interaction process of the proposed DTDAS is shown in Figure 10.

3.5.1. Generation of Initial Scheduling Plan

When an order arrives, its detailed information is transmitted to the scheduling layer. The scheduling layer, including the scheduling model and the corresponding optimization solution, generates an initial scheduling plan based on the established scheduling goals. This scheduling plan passes through the virtual system after the simulation and verification. If the simulation results show that the scheduling plan is unqualified, rescheduling will be triggered.

3.5.2. Energy Consumption and Availability Prediction

A lot of real-time data will be generated when the workshop execution system starts running. The knowledge system in the virtual space will analyze real-time data and historical data to establish a dynamic energy consumption model that can accurately describe the characteristics of AGV energy consumption. This model will be used to predict the battery SOC of the AGVs according to the latest scheduling plan and current AGV data. Therefore, the AGV’s availability can be obtained by executing the current scheduling plan continuously. If the availability results show that the power of some AGVs according to the current scheduling plan is not enough to complete the transportation tasks, the charging scheduling should be triggered. Otherwise, the original scheduling plan will be maintained.

3.5.3. Charging Scheduling

In order to change the original scheduling plan as little as possible, we keep the scheduling goal of this process consistent with it from the initial schedule. In this process, we will determine the timing and time of the AGV to perform the charging task. After the charging scheduling result is generated, it will be embedded in the initial scheduling plan and then simulated and verified. The obtained scheduling result including the charging task is transmitted to the execution system of the workshop.
When the scheduling plan is executed in the workshop, the data generated by various resources will be continuously monitored by the virtual system. The AGV availability prediction module in the virtual system and the energy consumption model can ensure that the scheduling system generates a reasonable charging scheduling plan and guarantees the generated scheduling plan including the charging process that can better approximate the actual status.

4. Case Study

4.1. Problem Description

In order to verify the effectiveness of the proposed DTDAS, a case experiment in a discrete manufacturing workshop was conducted. The layout of the workshop is shown in Figure 2 in Section 2. Figure 11 shows the location of the physical resources of the workshop with the coordinates of the points. It is assumed in the figure that the AGV’s initial location is in the charging area. The workshop order data involved in the experiment is shown in Appendix B. The task of this experiment consists of eight orders, 3~4 transportation operations in each order, and 29 transportation tasks in total. This batch of orders must be completed within 25 min. When the number of order transportation is p i , the number of processes is p i 1 , and the first transportation operation of each order does not have a corresponding processing operation. The detail of transportation task is also in Appendix B. It contains the loading point and delivery point of each transportation task, the quality information of the transportation task, and the processing time of the processing operation corresponding to the transportation operation. The battery initial SOC of the three AGVs is shown in Table 1. Taking into account the discharge characteristics and life characteristics of the AGV battery [8], the system limits the AGV to stop performing new tasks to charge in the charging area when the AGV battery is below 20%.
The population number of the genetic algorithm is set to 100, the number of iterations is set to 200. When solving the fitness function, the value of δ 1 is 0.64, δ 2 is 10. The relevant parameters of AGV all come from the fitting and analysis of real-time data, β is in the range of 0.27–0.45, κ is in the range of 0.25–0.3, χ is approximately 0.139. The other parameters are constant values, v is 0.5 m/s, λ is 5, μ e m p is 0.7, μ i l d is 0.139.

4.2. Results and Discussion

Figure 12 shows the initial scheduling plan generated by the scheduling system based on the order data, without considering the future availability of the AGV. In the initial scheduling plan, 29 transportation tasks were completed by three AGVs in 1448 s, which met the demand that the execution system must complete all tasks within 25 min according to the order information. Figure 13 shows the AGV power curve predicted in the virtual model when the task is executed according to the initial schedule.
It can be seen that the battery SOC of AGV3 will reach the charging threshold when the system time is close to 600 s. The AGV3 will perform the current transportation task and then go to charge. The charging process continues until the SOC reaches 100%. Figure 14 shows the evaluation results of the initial scheduling plan in Flexsim.
The evaluation results show that makespan is 2385 s when the initial scheduling plan is executed in Flexsim. Due to the charging behaviour of AGV3, the delivery time of the task is seriously delayed and cannot be meeting the delivery requirements of this batch of orders. Furthermore, it caused a serious reduction in the utilization rate of the AGVs. Therefore, the initial scheduling plan must be adjusted.
Figure 15 shows the AGV Gantt chart under different strategies. Table 2 shows the total energy consumption of the system under different scheduling strategies. Therefore, the initial scheduling plan must be adjusted. For the scenarios described above, if the traditional dynamic scheduling method is adopted, the remaining tasks are usually redistributed when the battery of the AGV3 battery is warned. The traditional scheduling system will let the AGV3 charge immediately after the current transportation task is executed. The remaining tasks will be allocated to the other two AGVs, and the scheduling results obtained are shown in Figure 15a.
As shown in Figure 15a, the traditional dynamic scheduling can respond quickly to dynamic events. It will update the scheduling plan in time when the battery of the AGV3 is insufficient and needs to be charged, which can effectively reduce the delayed time caused by a certain AGV charging. However, the scheduling makespan generated by the traditional dynamic scheduling system is 1648 s, which still cannot meet the delivery demand.
That being said, the DTDAS proposed in this paper can predict the availability of AGV. Therefore, we can use this technology to solve the problems encountered in traditional dynamic scheduling. After the initial scheduling is generated and verified, it is sent to the execution system. The execution system starts to perform tasks and continuously feeds back data to the virtual system. At the same time, the virtual system will predict the availability of the AGV in the future. After that, it will decide whether to update the scheduling plan based on the predicted results. During the execution of the initial scheduling plan, the virtual system predicts the availability result of AGV3, and this prediction result shows that the transportation system will seriously exceed the delivery time to complete this batch of tasks. Therefore, the virtual system triggers the charging schedule in advance. In the charging schedule, the AGV3 is asked to perform a short charging behaviour before performing task 2–3. After that, AGV3 will continue to perform the transportation task. The makespan using the DTDAS proposed in this paper is 1472 s, reduced by 10.7% compared with traditional dynamic scheduling. Additionally, the total energy consumption is reduced by 1.32%.
In addition, as shown in Figure 15b, the charging process of AGV 3 is inserted before the transportation task 2–3. Compared with the initial scheduling plan, the charging task triggered by the DTDAS just used the idle period of AGV 3, and the charging time is relatively short. The AGV does not have to wait until the battery is fully charged, and the power of this charging process will be determined according to the follow-up task arrangement of this AGV. It can be seen from Figure 16 that the amount of charge can just meet the needs of completing the transportation task of this batch of orders. In this way, not only can the task completion time be shortened, but it also has the effect of effectively using power resources. The scheduling plan including the charging schedule has almost no impact on the distribution of transportation tasks. The time to complete the task is almost the same as the initial scheduling. Compared with the traditional dynamic scheduling method, the DTDAS proposed in this paper can not only shorten the makespan and reduce energy consumption, but also save a lot of rescheduling computing resources.

5. Conclusions

A digital twin-based dynamic AGV scheduling (DTDAS) method has been proposed in this paper. An overall framework of DTDAS was presented first. Then the knowledge support system of DTDAS was explored. A new mathematical model of AGV scheduling was finally established. Compared to the traditional dynamic scheduling method, the proposed DTDAS can not only obtain more accurate data to support the scheduling model, but also evaluate and visualize the AGV scheduling process. Meanwhile, the battery management was integrated into the mathematical model of AGV scheduling. Hence, the presented DTDAS can reasonably arrange the charging process to effectively improve the operating efficiency of the AGV transportation system in a workshop. A case study has been carried out and compared the traditional dynamic scheduling method, and it was found that the proposed method can reduce makespan and energy consumption by 10.7% and 1.32%, respectively. In general, this paper provides a new solution to the AGV scheduling problem in discrete manufacturing workshops. The application of digital twin mainly enhances the AGV scheduling technology in two aspects, providing knowledge support before the scheduling plan is generated, and comprehensive evaluation after the scheduling plan is generated. The great potential of DTDAS has been demonstrated by considering the charging problem of AGV in a manufacturing workshop. The DTDAS can theoretically be extended to any workshop with rechargeable AGVs to improve the efficiency of the transport system. However, the dynamic events considered in this paper are not comprehensive enough. In future work, the impact of other dynamic events like AGV failures or emergency tasks that occur on the scheduling system and their corresponding scheduling strategies will be studied.

Author Contributions

Conceptualization, J.X.; methodology, J.X.; software, W.H.; validation, W.H., Z.S., B.L., K.Z. and Z.Z.; formal analysis, W.H.; investigation, J.X.; resources, Z.S., K.Z. and Z.Z.; data curation, W.H., Z.S., B.L. and Z.Z.; writing—original draft preparation, W.H.; writing—review and editing, J.X. and Z.S.; visualization, Z.S., B.L. and K.Z.; supervision, J.X. and X.M.; project administration, X.M.; funding acquisition, J.X. and X.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China (2020YFB1708400).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This work was supported by the National Key Research and Development Program of China (2020YFB1708400).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Notation

Nomenclature
M S Makespan t S O i j The time when O i j began to be transported
E The total energy consumed by all AGVs d C O i j The distance from the loading point of O i j to the unloading point of O i j
O i Order i t C O i j The time required arrive at the unloading point of O i j from the loading point of O i j
i Index of orders, i = 1, 2, 3, … t W O i j a The waiting time of A a at the loading point of O i j
n Total number of orders t S P O i j The time when the processing operation corresponding to the transportation task O i j began to be processed
p i Total number of transportation operations for each order t P O i j The time required for the processing operation corresponding to the transportation task O i j
O i j Transportation task j of order i S O C 0 a The SOC of A a at the initial moment
A a AGV numbered a S O C r t a The real-time SOC of A a
a Index of AGVs, a = 1, 2, 3, … S O C f a The SOC of A a at the final moment
M x Machine numbered x S O C r c a The charging amount of A a after completing all task
x Index of machines, x = 1, 2, 3, … E i j a The power consumed by A a in completing task O i j
C AGV recharge area C i j a A a will perform charging operation before performing O i j
S Material storage area S O C i j a The charging amount of A a in the charging operation C i j a
F Finished product storage areas t C i j a The time required for perform charging operation C i j a (Including driving time and charging time)
O i j l o a d The loading point of O i j t M C i j a The time required for A a to arrive at AGV recharge area from the current position of A a
O i j u n l o a d The unloading point of O i j d M C i j a The distance from the current position of A a to AGV recharge area
O i j a Aa is allocated to O i j t C C i j a The time required for charging in the charging operation C i j a
t S T The start running time of the system d B C i j a The distance from the AGV recharge area to the loading point of O i j
C A a The current position of A a t B C i j a The time required arrive at the loading point of O i j from AGV recharge area
t C A a The time when A a in the current position λ Charging rate of AGV
d O i j a The distance from the current position of A a to loading point of O i j μ i j Energy consumption rate coefficient under different operations
t O i j a The time required from the current position of A a to loading point of O i j m a s s i j Part quality under different operations;

Appendix B. Workshop Order Data

OrderTransportation OperationsLoading PointUnloading PointMass/kgProcessing Time/min
11SM210S:0
12M2M48M2:3
13M4F6M4:2
21SM38S:0
22M3M55M3:2
23M5M64M5:1
24M6F3M6:4
31SM210S:0
32M2M18M2:1
33M1F6M1:5
41SM210S:0
42M2M56M2:2
43M5M35M5:2
44M3F4M3:5
51SM110S:0
52M1M38M1:3
53M3F6M3:4
61SM414S:0
62M4M112M4:2
63M1M510M1:3
64M5F8M5:2
71SM615S:0
72M6M213M6:3
73M2M411M2:3
74M4F9M4:3
81SM120S:0
82M1M618M1:4
83M6M416M6:3
84M4F12M4:2

References

  1. De Ryck, M.; Pissoort, D.; Holvoet, T.; Demeester, E. Decentral task allocation for industrial AGV-systems with routing constraints. J. Manuf. Syst. 2022, 62, 135–144. [Google Scholar] [CrossRef]
  2. Witczak, M.; Majdzik, P.; Stetter, R.; Lipiec, B. A fault-tolerant control strategy for multiple automated guided vehicles. J. Manuf. Syst. 2020, 55, 56–68. [Google Scholar] [CrossRef]
  3. Murakami, K. Time-space network model and MILP formulation of the conflict-free routing problem of a capacitated AGV system. Comput. Ind. Eng. 2020, 141, 106270. [Google Scholar] [CrossRef]
  4. Heger, J.; Voss, T. Dynamic priority based dispatching of AGVs in flexible job shops. In Proceedings of the 12th CIRP Conference on Intelligent Computation in Manufacturing Engineering, Gulf of Naples, Italy, 18–20 July 2018. [Google Scholar]
  5. Miyamoto, T.; Inoue, K. Local and random searches for dispatch and conflict-free routing problem of capacitated AGV systems. Comput. Ind. Eng. 2017, 91, 1–9. [Google Scholar] [CrossRef]
  6. Sahin, C.; Demirtas, M.; Erol, R.; Baykasoğlu, A.; Kaplanoğlu, V. A multi-agent based approach to dynamic scheduling with flexible processing capabilities. J. Intell. Manuf. 2015, 28, 1827–1845. [Google Scholar] [CrossRef]
  7. Xue, T.; Zeng, P.; Yu, H. A reinforcement learning method for multi-AGV scheduling in manufacturing. In Proceedings of the 2018 IEEE International Conference on Industrial Technology (ICIT), Lyon, France, 20–22 February 2018; pp. 1557–1561. [Google Scholar]
  8. Fu, Y.; Xu, J.; Shi, M.; Mei, X. A Fast Impedance Calculation-Based Battery State-of-Health Estimation Method. IEEE Trans. Ind. Electron. 2021, 69, 7019–7028. [Google Scholar] [CrossRef]
  9. Xu, J.; Mei, X.; Wang, X.; Fu, Y.; Zhao, Y.; Wang, J. A Relative State of Health Estimation Method Based on Wavelet Analysis for Lithium-Ion Battery Cells. IEEE Trans. Ind. Electron. 2020, 68, 6973–6981. [Google Scholar] [CrossRef]
  10. De Ryck, M.; Versteyhe, M.; Shariatmadar, K. Resource management in decentralized industrial Automated Guided Vehicle systems. J. Manuf. Syst. 2019, 54, 204–214. [Google Scholar] [CrossRef]
  11. Vis, I.F. Survey of research in the design and control of automated guided vehicle systems. Eur. J. Oper. Res. 2006, 170, 677–709. [Google Scholar] [CrossRef]
  12. Le-Anh, T.; De Koster, R. A review of design and control of automated guided vehicle systems. Eur. J. Oper. Res. 2006, 171, 1–23. [Google Scholar] [CrossRef]
  13. Kabir, Q.S.; Suzuki, Y. Increasing manufacturing flexibility through battery management of automated guided vehicles. Comput. Ind. Eng. 2018, 117, 225–236. [Google Scholar] [CrossRef]
  14. Smolic-Rocak, N.; Bogdan, S.; Kovacic, Z.; Petrovic, T. Time Windows Based Dynamic Routing in Multi-AGV Systems. IEEE Trans. Autom. Sci. Eng. 2009, 7, 151–155. [Google Scholar] [CrossRef]
  15. Fei, T. Make more digital twins. Nature 2019, 7775, 490–491. [Google Scholar]
  16. Shen, W.; Hu, T.; Zhang, C.; Ma, S. Secure sharing of big digital twin data for smart manufacturing based on blockchain. J. Manuf. Syst. 2021, 61, 338–350. [Google Scholar] [CrossRef]
  17. Liu, M.; Fang, S.; Dong, H.; Xu, C. Review of digital twin about concepts, technologies, and industrial applications. J. Manuf. Syst. 2021, 58, 346–361. [Google Scholar] [CrossRef]
  18. Fang, Y.; Peng, C.; Lou, P.; Zhou, Z.; Hu, J.; Yan, J. Digital-Twin-Based Job Shop Scheduling Toward Smart Manufacturing. IEEE Trans. Ind. Inform. 2019, 15, 6425–6435. [Google Scholar] [CrossRef]
  19. Zhang, M.; Tao, F.; Nee, A. Digital Twin Enhanced Dynamic Job-Shop Scheduling. J. Manuf. Syst. 2021, 58, 146–156. [Google Scholar] [CrossRef]
  20. Negri, E.; Fumagalli, L.; Macchi, M. A Review of the Roles of Digital Twin in CPS-based Production Systems. Procedia Manuf. 2017, 11, 939–948. [Google Scholar] [CrossRef]
  21. Qi, Q.; Tao, F. Digital Twin and Big Data Towards Smart Manufacturing and Industry 4.0: 360 Degree Comparison. IEEE Access 2018, 6, 3585–3593. [Google Scholar] [CrossRef]
  22. Zhang, J.; Wang, Z.; Liu, P.; Zhang, Z. Energy consumption analysis and prediction of electric vehicles based on real-world driving data. Appl. Energy 2020, 275, 115408. [Google Scholar] [CrossRef]
  23. Xu, J.; Cao, B.; Chen, Z.; Zou, Z. An online state of charge estimation method with reduced prior battery testing information. Int. J. Electr. Power Energy Syst. 2014, 63, 178–184. [Google Scholar] [CrossRef]
  24. Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef] [Green Version]
  25. Whitley, D. A genetic algorithm tutorial. Stat. Comput. 1994, 4, 65–85. [Google Scholar] [CrossRef]
Figure 1. Discrete manufacturing workshop.
Figure 1. Discrete manufacturing workshop.
Applsci 12 03354 g001
Figure 2. The layout of the manufacturing workshop.
Figure 2. The layout of the manufacturing workshop.
Applsci 12 03354 g002
Figure 3. The framework of DTDAS.
Figure 3. The framework of DTDAS.
Applsci 12 03354 g003
Figure 4. Real-time data based AGV energy consumption model.
Figure 4. Real-time data based AGV energy consumption model.
Applsci 12 03354 g004
Figure 5. AGV Availability Prediction.
Figure 5. AGV Availability Prediction.
Applsci 12 03354 g005
Figure 6. A randomly generated chromosome and the gene segment.
Figure 6. A randomly generated chromosome and the gene segment.
Applsci 12 03354 g006
Figure 7. Simulation and Verification.
Figure 7. Simulation and Verification.
Applsci 12 03354 g007
Figure 8. AGV 3D model imported into Flexsim.
Figure 8. AGV 3D model imported into Flexsim.
Applsci 12 03354 g008
Figure 9. Emulation module and process flow configuration in Flexsim.
Figure 9. Emulation module and process flow configuration in Flexsim.
Applsci 12 03354 g009
Figure 10. The interaction process of DTDAS.
Figure 10. The interaction process of DTDAS.
Applsci 12 03354 g010
Figure 11. Coordinates of each position in the workshop.
Figure 11. Coordinates of each position in the workshop.
Applsci 12 03354 g011
Figure 12. Initial scheduling plan.
Figure 12. Initial scheduling plan.
Applsci 12 03354 g012
Figure 13. The predicted AGV SOC curve when the initial schedule is executed.
Figure 13. The predicted AGV SOC curve when the initial schedule is executed.
Applsci 12 03354 g013
Figure 14. Evaluation results of the initial scheduling plan in Flexsim.
Figure 14. Evaluation results of the initial scheduling plan in Flexsim.
Applsci 12 03354 g014
Figure 15. AGV Gantt chart under different strategies. (a) when traditional dynamic scheduling is adopted. (b) when DTDAS is adopted.
Figure 15. AGV Gantt chart under different strategies. (a) when traditional dynamic scheduling is adopted. (b) when DTDAS is adopted.
Applsci 12 03354 g015
Figure 16. The AGV SOC curve when DTDAS is adopted.
Figure 16. The AGV SOC curve when DTDAS is adopted.
Applsci 12 03354 g016
Table 1. Initial battery SOC of AGV system.
Table 1. Initial battery SOC of AGV system.
AGV NumberInitial Battery SOC (%)
180
280
330
Table 2. Total energy consumption under different scheduling plans.
Table 2. Total energy consumption under different scheduling plans.
Schedule PlanTotal Energy Consumption
Keep the initial scheduling plan87.0522
Traditional dynamic scheduling83.0553
DTDAS81.9582
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Han, W.; Xu, J.; Sun, Z.; Liu, B.; Zhang, K.; Zhang, Z.; Mei, X. Digital Twin-Based Automated Guided Vehicle Scheduling: A Solution for Its Charging Problems. Appl. Sci. 2022, 12, 3354. https://doi.org/10.3390/app12073354

AMA Style

Han W, Xu J, Sun Z, Liu B, Zhang K, Zhang Z, Mei X. Digital Twin-Based Automated Guided Vehicle Scheduling: A Solution for Its Charging Problems. Applied Sciences. 2022; 12(7):3354. https://doi.org/10.3390/app12073354

Chicago/Turabian Style

Han, Wenjie, Jun Xu, Zheng Sun, Bin Liu, Kemu Zhang, Zhaohui Zhang, and Xuesong Mei. 2022. "Digital Twin-Based Automated Guided Vehicle Scheduling: A Solution for Its Charging Problems" Applied Sciences 12, no. 7: 3354. https://doi.org/10.3390/app12073354

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