Leveraging the Data-Event-Action model, the Digital Twin's virtual mirror can be effectively realized. However, the DT system for a manufacturing cell should transcend mere behavior replication, functioning also as a strategic simulator. The purpose of simulating manufacturing cell is to gain an understanding of the current state of the units and to further analyze and predict whether the subsequent production processes will meet the production schedule on time. What is the production capacity of the cell? What will be the asset utilization rate in the future? Do different execution rules have an impact on the production process, and so on? The above-mentioned questions can be addressed with the assistance of dynamic simulation analysis and forcasting based on real-time cell status.
The primary limitation of traditional simulations is their lack of real-time capability, which hinders their ability to promptly simulate and analyze future performance indicators of the manufacturing cell based on current production data. Yet the ability to optimize these indicators in the future is a critical issue of concern to managers. The limited data integration between traditional simulation systems and manufacturing execution control systems often results in simulations that rely on historical or artificially generated data. This phenomenon significantly reduces the credibility of simulation results. To address this issue, this paper proposes the use of actual real-time data based on digital twin environment, geared towards the future production load of manufacturing cell, to conduct genuine dynamic simulation.
4.1Data Integration during Dynamic Simulation Time Zone
Performance analysis of the manufacturing cell largely depends on the statistical evaluation of process data. However, the DT system is not the actual execution control system of the cell. Instead, the Manufacturing Execution System(MES) primarily focuses on the control of the production process and often does not need to pay attention to numerous tedious asset assessment data, such as the actual mileage of transport vehical, the frequency of tool changes in the central tool magazine, the cumulative waiting time of trays in the pallet warehouse and so on. These types of data can be easily obtained in a twin environment. Therefore, before conducting simulations, it is necessary to use the required simulation window time to integrate production tasks, manufacturing process data from the unit manufacturing execution system with the assets assessment information recorded in the DT, forming the input foundational data source and initializing the dynamic simulation environment, as shown in Fig. 4
4.2Simulation Strategies for Different Objects
After configuring the initial environment, the simulate execution involves a loop consisting of two steps. The first step is to analyze cell performance to identify areas of dissatisfaction and potential improvements. The second step is to adjust strategies based on the assessment of cell performance, conducting simulations to provide forecasts for the cell performance.
The key aspect here is the adjustment of strategies, as the manufacturing process can be influenced by various unforeseen circumstances, such as equipment failures, changes in production schedules, and revisions to manufacturing processes. Additionally, the goals that the cell needs to achieve may also change at different stages. For example, approaching the delivery deadline may require the primary goal to be timely completion, while in a stable process with batch production, the goal may shift towards improving production efficiency and reducing manufacturing costs. Therefore, in response to such changes and to achieve specific goals, it is necessary to adjust the strategies of the cell’s resources.
The overall operation logic of the cell can consist of the operation strategy of multiple asset objects. When adjusting the operation strategy of the cell, on the basis of the formulated strategy for different objects, the production and manufacturing process of the cell can be optimized through the combination of strategies, so as to improve the performance of the cell and achieve different goals. Table 1 outlines distinct operational strategies tailored to various production conditions, each specifically designed to optimize the performance of different components within the manufacturing cell.
Table 1
Simulation Strategies for Different Objects
Strategy ID | Strategy name | Description |
---|
① | Pallet Storage Position Locked | The storage location of the pallet is bound to the pallet ID and cannot be stored randomly. |
② | Pallet Stores Sequentially | Pallet will be stored according to open spot sequentially. |
③ | Pallet Stores in Closest Open Spot | When an AGV transports a pallet to the storage, it will select the closest open spot based on current AGV’s own position. |
④ | 5-axis Machine Tool Can Process 4-axis Parts | When the idle time of the 5-axis machine tool exceeds more than half of its working time, while the tasks on the 4-axis machine tool are overloaded, in order to ensure production schedule and balance machine utilization, the five-axis machine can be assigned the task of machining four-axis parts. |
⑤ | 5-axis Machine Tool Can NOT Process 4-axis Parts | Five-axis machine tools can only process five-axis parts even it is idle. |
⑥ | Machining task can not switch to the replaced machine tools. | When the machining task is assigned to certain machine tool, it can not be switched to another machine tool even it is the same type. |
⑦ | Machining task can switch to some replaced machine tool | When the machining task is assigned to certain machine tool, it can be switched to another machine tool even it is the same type. |
⑧ | Workpiece unload rull with operator on duty | When operators are on duty, the machined workpiece is prioritized and sent to the unloading position instead of the pallet storage. |
⑨ | Workpiece unload rull without operator on duty | When the cell is unmanned, the loading and unloading station is locked and the machined workpiece should be sent to the pallet storage. |
⑩ | Shortest path for AGV | AGVs will execute optimization algorithms based on the pending destinations in the tasklist, thereby reducing redundant paths and obtaining the shortest route. |
⑪ | AGV strictly follows the tasklist | The AGV strictly follows the order of destinations and cannot skip any destination. |
… | … | … |
For the simulation strategies in the above table, mathematical modeling is carried out separately, and the algorithm formulas are shown below by setting \(\:{Str}_{i}\) as the strategy: |
Strategy ①-③ means that the AGV should store the pallet in certain position according to the strategy option. The formula is:
$$\:AGV\_PalletDestination(TaskID)=\left\{\begin{array}{c}Pallet(Allocated\_StoreID)\begin{array}{cc}&\:\begin{array}{cc}&\:\end{array}\begin{array}{cc}&\:\end{array}\begin{array}{ccc}&\:&\:\end{array}\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:{\:\:\:\:\:\:\:\:Str}_{1}=1\end{array}\\\:Pallet\left\{Min\left(StoreID\right)\right\},StoreID\in\:\left({State(StoreID}_{i}\right)=\text{I}\text{S}\text{O}\text{P}\text{E}\text{N})\begin{array}{cc}&\:\:\:\:\:\:\:\:\:{Str}_{2}=1\end{array}\\\:Pallet\left\{MinLength\left(StoreID\right)\right\},StoreID\in\:\left({State(StoreID}_{i}\right)=\text{I}\text{S}\text{O}\text{P}\text{E}\text{N})\:{\:\:Str}_{3}=1\end{array}\right.$$
1
Here, \(\:MinLength\left(StoreID\right)\) is the closest spot to store the pallet which\(\:\:\)can be calculated with the formula:
$$\:MinLength\left(StoreID\right)=Min[PathFind\left({AGV}_{pos},{\:StoreID}_{i}\right]$$
2
And where \(\:{AGV}_{pos}\) is the AGV current position and \(\:i=\text{1,2},\dots\:\:\text{M}\text{a}\text{x}\text{i}\text{m}\text{u}\text{m}\:\text{s}\text{t}\text{o}\text{r}\text{a}\text{g}\text{e}\).
Strategy ④-⑦ represents whether or how the machine tool can be replaced. The formula is shown as following:
$$\:\left\{\begin{array}{c}\begin{array}{cc}{Mac}_{4axis}\left({TaskList}_{j}\right)\underrightarrow{switch}\:{Mac}_{5axis}\left({TaskList}_{k}\right)&\:{Str}_{3}=4\:and\:{RTO}_{IdelTime}\left({Mac}_{5axis}\right)\ge\:50\%\end{array}\\\:\begin{array}{cc}{Mac}_{4axis}\left({TaskList}_{j}\right)\underrightarrow{No\:switch}{Mac}_{5axis}\left({TaskList}_{k}\right)&\:{Str}_{3}=5\:and\:{RTO}_{IdelTime}\left({Mac}_{5axis}\right)\le\:50\%\end{array}\\\:\begin{array}{c}\begin{array}{cc}{Mac}_{iaxis}\left({TaskList}_{j}\right)\underrightarrow{switch}\:{Mac}_{iaxis}\left({TaskList}_{k}\right)&\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:{Str}_{3}=6\end{array}\\\:\begin{array}{cc}{Mac}_{iaxis}\left({TaskList}_{j}\right)\underrightarrow{\:No\:\:switch}\:{Mac}_{iaxis}\left({TaskList}_{k}\right)&\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:{\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:Str}_{3}=7\end{array}\end{array}\end{array}\right.$$
3
Where \(\:{Mac}_{4axis}\left({TaskList}_{j}\right)\:\) represents Task j in 4-axis machine tool, and \(\:{RTO}_{IdelTime}\left({Mac}_{5axis}\right)\) means the idle time ratio of 5-axis machine tool.
Strategies ⑧-⑨ dictate that when an operator is online, machined parts are prioritized for transfer to the loading and unloading station. Conversely, when the station is unmanned, it is locked, and parts are directed to storage, awaiting shipment to the next process. The condition formula is:
$$\:\left\{\begin{array}{c}{Machine{d}_{Workpiece}}_{i}\left(Destination\right)={StoreID}_{i}\:\:{State(StoreID}_{i})=ISOPEN\:and\:OperatorISOFF\\\:{Machine{d}_{Workpiece}}_{i}\left(Destination\right)=LU\_Station\:\:State\left(L{U}_{Station}\right)=ISOPEN\:and\:OperatorISON\end{array}\right.$$
Where \(\:{Machine{d}_{Workpiece}}_{i}\left(Destination\right)\) represents the destination place for the machined \(\:{wokpiece}_{i}\), and the boolean constants \(\:\text{O}\text{p}\text{e}\text{r}\text{a}\text{t}\text{o}\text{r}\text{I}\text{S}\text{O}\text{F}\text{F}\) and \(\:\text{O}\text{p}\text{e}\text{r}\text{a}\text{t}\text{o}\text{r}\text{I}\text{S}\text{O}\text{N}\) show that the operator is online or not, \(\:LU\_Station\) is the loading and unloading station.
Strategy ⑩ involves optimizing the AGV's task list based on destination points, utilizing a genetic algorithm to determine the shortest transportation path within the model:
$$\:\left\{\begin{array}{c}\text{m}\text{i}\text{n}\sum\:_{i=1}^{nTask}length\left({d}_{i}\right)\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\\\:length\left({d}_{i}\right)=Distance\left({Task}_{i+1}\right)-Distance\left({Task}_{i}\right)\end{array}\right.\:\:\:\:$$
4
Where \(\:{Task}_{i}\:is\:the\:set\:of\:AG{V}^{{\prime\:}}s\:task\:list\).
Strategy ⑪ limits the adjustment of AGV tasks and following the principle of "first in, first out", which means the pending tasks cannot be adjusted.
It is obvious that the above strategies can also be expanded according to actual needs
4.3Combination of Multi-Object Simulation Strategies
In manufacturing cell composed of numerous manufacturing resources, it is often necessary to optimize the execution strategies of multiple resource objects and obtain appropriate combination strategies based on current production progress and assets status. This approach allows for the combined optimization of the cell's execution efficiency, enabling it to adapt to the current manufacturing conditions. This capability represents one of the most significant advantages of utilizing a Digital Twin in manufacturing cells.
Here the strategies are selected and combined based on the principles of mutual exclusion and independence, as shown in Fig. 5.
There are four strategy modules for storage, machine tool, operator and AGV. The strategies in same colour belone to same group. These strategies are independent of each other in different group, while the strategies within the group are mutually exclusive. It means in each group, just one strategy can be selected. This approach allows for flexible addition of policies within the group, flexible addition of policy groups, and even the addition of policy modules. Ensure that the simulation system can be expanded in a timely manner according to actual needs
Therefore, before executing the simulation, it is necessary to select strategies for each independent strategy module. For example, selecting strategies ①+④+⑦+⑨+⑩, and conducting simulations based on the current manufacturing situation, observing the impact of the selected strategy on the production of the cell. And based on the simulation results, it is possible to realiz the production status in future which may help to make appropriate decisions.