Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2024, Vol. 45 ›› Issue (3): 585-593.DOI: 10.11996/JG.j.2095-302X.2024030585

Previous Articles     Next Articles

Deadlock determination for digital twin workshops based on Petri nets and Banker’s algorithm

YANG Yifeng(), CHEN Yazhou(), CHEN Yiming, LIN Xiaochuan, WANG Hongxing   

  1. College of Marine Equipment and Mechanical Engineering, Jimei University, Xiamen Fujian 361021, China
  • Received:2023-12-31 Accepted:2024-01-24 Online:2024-06-30 Published:2024-06-12
  • Contact: CHEN Yazhou (1972-), associate professor, Ph.D. His main research interests cover digital design and digital manufacturing, digital twin. E-mail:yazhouchen@jmu.edu.cn
  • About author:

    YANG Yifeng (1999-), master student. His main research interests cover digital workshop and digital twin. E-mail:2923153290@qq.com

  • Supported by:
    Xiamen Science and Technology Subsidy Project(2022CXY03005);Key Project of Fujian Provincial Science and Technology Programme(2018H0024);Educational Research Project for Young and Middle-aged Teachers in Fujian Province(JAT231646)

Abstract:

Unreasonable resource allocation or process arrangement in the workshop production process can lead to deadlock phenomenon, resulting in the inability to continue production and greatly reducing workshop production efficiency. To address the above problems, the theories of Petri net and Banker’s algorithm were integrated to classify the deadlock formation conditions into four kinds: mutual exclusion waiting, possession waiting, cyclic waiting, and inalienability. On the basis of these four conditions, deadlocks were classified into four different manifestations, namely resource allocation deadlock, process order deadlock, collaborative object deadlock, and dynamic resource deadlock. Determining the existence of deadlocks using Banker’s algorithm, and determining the specific location of deadlocks in the workshop using the time accessibility analysis method, the deadlock recovery strategies under different forms of deadlocks were established. The proposed method was integrated into the workshop digital twin system using software such as Tina and Unity 3D, thus achieving the workshop process deadlock monitoring and prediction functions. Finally, the production process of precision stamping parts in a certain workshop was verified as an example, and the results demonstrated that the proposed method could effectively achieve real-time monitoring and efficient prediction of the production process.

Key words: production workshop, Petri nets, Banker’s algorithm, deadlocks, monitoring, deadlock recovery

CLC Number: