arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Keyi Xing

52 papers · 1996–2024

1996: 21997: 11998: 01999: 12000: 02001: 02002: 12003: 02004: 02005: 02006: 32007: 22008: 12009: 12010: 12011: 32012: 12013: 42014: 52015: 22016: 52017: 12018: 62019: 42020: 22021: 12022: 12023: 12024: 3
1996peak 6 in 20182024

Frequent co-authors

Papers

showing 1–25 of 52 RSS

Deadlock avoidance policy for Petri-net modeling of flexible manufacturing systems with shared resources

Keyi Xing, Baosheng Hu, Haoxun Chen

Computational Theory and Mathematics · IEEE Transactions on Automatic Control · · cited 263× · DOI ↗ · more like this ·

Multiple products through a flexible manufacturing system (FMS) with limited resources can lead to deadlock. In this paper, the authors study the problem of deadlock avoidance by using the Petri net (PN) model for FMSs and introducing the concept of deadlock structure. The necessary and sufficient conditions to prevent deadlock are characterized. The authors use a state feedback restriction policy which prevents some enabled transitions from firing for avoiding deadlock in the system. In particular, when the number of any key kind of resources is greater than one, this policy is minimally restrictive and allows the maximal use of resources in the system. The authors present the PN realization of these restriction policies when the closed-loop system can be modeled by a live PN. The restriction policies can be easily implemented. An example is provided for illustration.

Optimal Petri-Net-Based Polynomial-Complexity Deadlock-Avoidance Policies for Automated Manufacturing Systems

Keyi Xing, Meng Chu Zhou, Huixia Liu +1 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics - Part A Systems and Humans · · cited 187× · DOI ↗ · more like this ·

Even for a simple automated manufacturing system (AMS), such as a general single-unit resource allocation system, the computation of an optimal or maximally permissive deadlock-avoidance policy (DAP) is NP-hard. Based on its Petri-net model, this paper addresses the deadlock-avoidance problem in AMSs, which can be modeled by systems of simple sequential processes with resources. First, deadlock is characterized as a perfect resource-transition circuit that is saturated at a reachable state. Second, for AMSs that do not have one-unit resources shared by two or more perfect resource-transition circuits that do not contain each other, it is proved that there are only two kinds of reachable states: safe states and deadlock. An algorithm for determining the safety of a new state resulting from a safe one is then presented, which has polynomial complexity. Hence, the optimal DAP with…

Deadlock-Free Genetic Scheduling Algorithm for Automated Manufacturing Systems Based on Deadlock Control Policy

Keyi Xing, Libin Han, MengChu Zhou +1 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Part B (Cybernetics) · · cited 135× · DOI ↗ · more like this ·

Deadlock-free control and scheduling are vital for optimizing the performance of automated manufacturing systems (AMSs) with shared resources and route flexibility. Based on the Petri net models of AMSs, this paper embeds the optimal deadlock avoidance policy into the genetic algorithm and develops a novel deadlock-free genetic scheduling algorithm for AMSs. A possible solution of the scheduling problem is coded as a chromosome representation that is a permutation with repetition of parts. By using the one-step look-ahead method in the optimal deadlock control policy, the feasibility of a chromosome is checked, and infeasible chromosomes are amended into feasible ones, which can be easily decoded into a feasible deadlock-free schedule. The chromosome representation and polynomial complexity of checking and amending procedures together support the cooperative aspect of genetic search for…

Resource-Transition Circuits and Siphons for Deadlock Control of Automated Manufacturing Systems

Keyi Xing, MengChu Zhou, Feng Wang +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics - Part A Systems and Humans · · cited 132× · DOI ↗ · more like this ·

The resource-transition circuit ( RTC) and siphon are two different structural objects of Petri nets and used to develop deadlock control policies for automated manufacturing systems. They are related to the liveness property of Petri net models and thus used to characterize and avoid deadlocks. Based on them, there are two kinds of methods for developing deadlock controllers. Such methods rely on the computation of all maximal perfect RTCs and strict minimal siphons (SMSs), respectively. This paper concentrates on a class of Petri nets called a system of simple sequential processes with resources, establishes the relation between two kinds of control methods, and identifies maximal perfect RTCs and SMSs. A graph-based technique is used to find all elementary RTC structures. They are then used to derive all RTCs. Next, an iterative method is developed to recursively construct all…

Deadlock-Free Scheduling of Automated Manufacturing Systems Using Petri Nets and Hybrid Heuristic Search

Jianchao Luo, Keyi Xing, MengChu Zhou +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 88× · DOI ↗ · more like this ·

This paper focuses on the deadlock-free scheduling problem of automated manufacturing systems with shared resources and route flexibility, and develops novel scheduling methods by combining deadlock control policies and hybrid heuristic search. Place-timed Petri nets are used to model the systems and find a feasible sequence of firing transitions in the built model such that the firing time of its last transition is as small as possible. Based on the reachability graph of the net and a minimum processing time matrix, new heuristic and selection functions are designed to guide search processes. The proposed hybrid heuristic search is based on state space exploration and hence suffers from the state space explosion problem. In order to reduce the explored space, the search is restrained within a limited local search window. By embedding the deadlock-avoidance policies into the search…

Transition Cover-Based Robust Petri Net Controllers for Automated Manufacturing Systems With a Type of Unreliable Resources

Yanxiang Feng, Keyi Xing, Zhenxin Gao +1 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 66× · DOI ↗ · more like this ·

So far, the majority of deadlock control policies for automated manufacturing systems (AMSs) are based on the assumption that no resource fails; while for AMSs with unreliable resources, the main concerns are deadlock avoidance problems. This paper focuses on the robust deadlock prevention problem for AMSs with a type of unreliable resources, and assumes that at most one of unreliable resources fails at a time. Petri net is introduced to model the considered AMS. Deadlock can be characterized in terms of maximal perfect resource transition-circuits (MPRT-circuits). To develop robust Petri net deadlock controllers with small structures for the system, a new concept of strong transition covers is presented, which is a special kind of transition covers. By designing a control place with a proper control variable to each MPRT-circuit in the strong transition cover, a 1-robust Petri net…

Transition Cover-Based Design of Petri Net Controllers for Automated Manufacturing Systems

Huixia Liu, Keyi Xing, MengChu Zhou +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 66× · DOI ↗ · more like this ·

In automated manufacturing systems (AMSs), deadlock problems must be well solved. Many deadlock control policies, which are based on siphons or Resource-Transition Circuits (RTCs) of Petri net models of AMSs, have been proposed. To obtain a live Petri net controller of small size, this paper proposes for the first time the concept of transition covers in Petri net models. A transition cover is a set of Maximal Perfect RTCs (MPCs), and the transition set of its MPCs can cover the set of transitions of all MPCs. By adding a control place with the proper control variable to each MPC in an effective transition cover to make sure that it is not saturated, it is proved that deadlocks can be prevented, whereas the control variables can be obtained by linear integer programming. Since the number of MPCs in an effective transition cover is less than twice that of transition vertices, the…

Deadlock Prevention for Flexible Manufacturing Systems via Controllable Siphon Basis of Petri Nets

Huixia Liu, Keyi Xing, Weimin Wu +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 59× · DOI ↗ · more like this ·

Siphons are a kind of special structural objects in a Petri net, and plays a key role in synthesizing a live Petri net controller for flexible manufacturing systems. In order to obtain a small size Petri net controller, this paper introduces the concept of a controllable siphon basis. It then proves that a live Petri net controller can be established by adding a control place and related arcs to each strict minimal siphon (SMS) in a controllable siphon basis. The initial markings of control places are determined by an integer linear program. The number of control places in the obtained controllers is the same as the number of SMSs in the controllable siphon basis, while the latter is no more than that of the activity places in a Petri net model. An algorithm for constructing a controllable siphon basis is proposed, and a new deadlock prevention policy based on it is established. A few…

Robust deadlock avoidance policy for automated manufacturing system with multiple unreliable resources

Jianchao Luo, Zhiqiang Liu, Shuogang Wang +1 more

Computational Theory and Mathematics · IEEE/CAA Journal of Automatica Sinica · · cited 48× · DOI ↗ · more like this ·

This work studies the robust deadlock control of automated manufacturing systems with multiple unreliable resources. Our goal is to ensure the continuous production of the jobs that only require reliable resources. To reach this goal, we propose a new modified Banker’s algorithm ( MBA ) to ensure that all resources required by these jobs can be freed. Moreover, a Petri net based deadlock avoidance policy ( DAP ) is introduced to ensure that all jobs remaining in the system after executing the new MBA can complete their processing smoothly when their required unreliable resources are operational. The new MBA together with the DAP forms a new DAP that is robust to the failures of unreliable resources. Owing to the high permissiveness of the new MBA and the optimality of the DAP, it is tested to be more permissive than state-of-the-art control policies.

Robust supervisory control policy for avoiding deadlock in automated manufacturing systems with unreliable resources

Hao Yue, Keyi Xing, Zhi Hu

Computational Theory and Mathematics · International Journal of Production Research · · cited 47× · DOI ↗ · more like this ·

Developing effective supervisory control policies that guarantee deadlock-free operations for automated manufacturing systems (AMSs) has been an active area of research for the past two decades or so. A great deal of work has been done for the systems with reliable resources; while only a few works are about unreliable resources. This paper addresses the robust deadlock supervisory control problem in AMSs with multiple unreliable resources. The objective is to develop a robust supervisory control policy for AMS under which the system can continue producing all part types not requiring any of the failed resources without manual intervention. Our policy is made up of a modified Banker’s Algorithm and a set of remaining resource capacity constraints. A state is feasible if and only if it satisfies both of them. By using the improved version of the existing Banker’s Algorithm, our control…

Robust Deadlock Prevention for Automated Manufacturing Systems With Unreliable Resources by Using General Petri Nets

Yanxiang Feng, Keyi Xing, MengChu Zhou +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 42× · DOI ↗ · more like this ·

Recently, the problem of robust control for automated manufacturing systems (AMSs) with unreliable resources receives increasing attentions. Almost all the existing related works are only concerned with the failure-prone AMSs in which each part stage utilizes only one unit of resources. While, in real-world AMS, it is often necessary to use multiple units of different resources to complete a part. This paper focuses on the robust control of such complex AMSs with a type of unreliable resources. General Petri nets are used to model all the behavior of such AMSs. By adding a control place to the Petri net models for each considered siphon, we develop robust deadlock controllers for the considered AMS. Such a robust controller ensures that the parts of all types can be processed continuously through any of its processing routes, even if one of the unreliable resources fails. Finally, some…

Modified Dynamic Programming Algorithm for Optimization of Total Energy Consumption in Flexible Manufacturing Systems

Xiaoling Li, Keyi Xing, MengChu Zhou +2 more

Computational Theory and Mathematics · IEEE Transactions on Automation Science and Engineering · · cited 41× · DOI ↗ · more like this ·

Based on the Petri net (PN) models of the flexible manufacturing systems (FMSs), this paper focuses on solving the scheduling problem of minimizing the total energy consumption of FMSs. In the view of different energy consumption rates of resources under different working statuses, two energy consumption functions are considered. The dynamic programming (DP) models of the scheduling problems based on PNs are established, where a reachable marking of a PN model, start processing time vector, route vector, and the transition sequence leading to the reachable marking from the initial one, is regarded as a state, and the Bellman equation is based on transition firing. For small-size scheduling problems, their optimal solutions can be obtained by the presented DP algorithm. However, it is difficult to solve larger-scale ones since the number of explored states increases exponentially with…

Deadlock-Free Scheduling of Flexible Assembly Systems Based on Petri Nets and Local Search

Jianchao Luo, Zhiqiang Liu, MengChu Zhou +1 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 40× · DOI ↗ · more like this ·

Deadlock-free scheduling and control is critical for optimizing the performance of flexible assembly systems (FASs). Based on the Petri net models of FASs, this paper integrates a deadlock prevention policy with local search and develops a novel deadlock-free scheduling algorithm. A solution of the scheduling problem is coded as a chromosome representation that is a permutation with repetition of parts. By using the deadlock prevention policy, a repairing algorithm (RA) is developed to repair unfeasible chromosomes. A perturbation strategy based on estimation of distribution algorithm is developed to escape from local optima. Moreover, to improve population diversity, an acceptance criterion (AC) based on Pareto dominance is proposed. The chromosome representation, RA, perturbation strategy, and AC together support the cooperative aspect of local search for scheduling problems strongly.

Deadlock-free genetic scheduling for flexible manufacturing systems using Petri nets and deadlock controllers

Libin Han, Keyi Xing, Xiao Chen +2 more

Computational Theory and Mathematics · International Journal of Production Research · · cited 39× · DOI ↗ · more like this ·

In this paper, a new deadlock-free scheduling method based on genetic algorithm and Petri net models of flexible manufacturing systems is proposed. The optimisation criterion is to minimise the makespan. In the proposed genetic scheduling algorithm, a candidate schedule is represented by a chromosome that consists of two sections: route selection and operation sequence. With the support of a deadlock controller, a repairing algorithm is proposed to check the feasibility of each chromosome and fix infeasible chromosomes to feasible ones. A feasible chromosome can be easily decoded to a deadlock-free schedule, which is a sequence of transitions without deadlocks. Different kinds of crossover and mutation operations are performed on two sections of the chromosome, respectively, to improve the performance of the presented algorithm. Computational results show that the proposed algorithm can…

Liveness Analysis and Deadlock Control for Automated Manufacturing Systems With Multiple Resource Requirements

Yanxiang Feng, Keyi Xing, MengChu Zhou +1 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 35× · DOI ↗ · more like this ·

This paper focuses on the liveness analysis and deadlock control for automated manufacturing systems (AMSs) with multiple resource requirements. Such an AMS is modeled by a class of generalized Petri nets called systems of simple sequential processes with multiple resources (S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sup> PMR). It is shown that a deadlock of the considered AMSs can be characterized by the saturation of a structural object in S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sup> PMR, called perfect resource transition-circuit (PRT-circuit). As a consequence, an S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sup> PMR is live if and only if no PRT-circuit is saturated at any reachable marking. To ensure the system…

Robust supervisory control for avoiding deadlocks in automated manufacturing systems with one specified unreliable resource

Hao Yue, Keyi Xing

Computational Theory and Mathematics · Transactions of the Institute of Measurement and Control · · cited 34× · DOI ↗ · more like this ·

The design of supervisory controllers to resolve any deadlock issue in automated manufacturing systems (AMSs) has attracted the efforts of many researchers. A great deal of work, which assumes that allocated resources do not fail, has been done, while only a few works pay attention to the existence of unreliable resources in AMSs. In this paper, we focus on the robust supervisory control for avoiding deadlocks in AMSs, each of which has one specified unreliable resource. We develop a robust supervisory control policy under which the system can continue producing without manual intervention in the face of the unreliable resource’s failure and recovery. Our policy consists of a modified Banker’s Algorithm and the available resource constraints. After proving the correctness of our policy, we show that there are more reachable states under our policy than the existing one. Therefore, our…

Scheduling of Flexible Manufacturing Systems Subject to No-Wait Constraints via Petri Nets and Heuristic Search

Xinnian Wang, Keyi Xing, Yanxiang Feng +1 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 25× · DOI ↗ · more like this ·

This article addresses the scheduling problem of deadlock-prone flexible manufacturing systems subject to no-wait constraints for the first time, and develops a new scheduling algorithm based on the place-timed Petri net (PN) model and heuristic search. The considered problem can be solved by two procedures: 1) timetabling and 2) sequencing. The timetabling is to translate a given job sequence into a feasible schedule that satisfies the deadlock-free and no-wait constraints. A novel timetabling algorithm based on the controlled PN model is then proposed for solving it. The goal of sequencing is to find a job sequence so that the makespan of the corresponding schedule is the minimum. To this end, a hybrid heuristic search (HHS) is developed by combining the A* algorithm and dynamic window. Two new heuristic functions are designed to guide the search, and the dynamic window is used to…

Robust supervisory control policy for automated manufacturing systems with a single unreliable resource

Jianchao Luo, Keyi Xing, Yunchao Wu

Computational Theory and Mathematics · Transactions of the Institute of Measurement and Control · · cited 24× · DOI ↗ · more like this ·

Over the past two decades, the development of supervisory controllers that guarantee deadlock-free operation for automated manufacturing systems (AMSs) has been an active area of research. Most work to date assumes that the system resources are reliable. This paper focuses on the robust supervisory control problem of AMSs with a single unreliable resource. Our objective is to develop a robust supervisory control policy under which the system can continue producing in the face of the unreliable resource’s failure or recovery. To do so, we integrate an optimal deadlock avoidance policy based on a Petri net with a modified Banker’s Algorithm and present a novel robust supervisory control policy. It is proven to be of polynomial complexity and more permissive than two existing policies. Also, experimental results on a set of AMSs generated randomly indicate its superiority over all other…

Supervisory Control of Deadlock-Prone Production Systems With Routing Flexibility and Unreliable Resources

Hao Yue, Keyi Xing, Hesuan Hu +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 23× · DOI ↗ · more like this ·

It has been an active research area to develop robust supervisory control policies for production systems with unreliable resources. So far, most methods for robust deadlock resolution apply only to systems without flexible routes, where each processing step of any part type requires a unique prespecified resource. In this paper, we address deadlock avoidance control problem in production systems with both failure-prone resources and flexible routings, which allow that a part has options when deciding the resource acquisition at each step. This paper presents properties that a controller with robustness must satisfy. Specifically, at any system reachable state, neither the failed resources nor part instances trapped in these resources should have too much detrimental effect on the other portions of the system. Thus, the full range of part types' production could be assured at all time.…

Deadlock Prevention Controller for Automated Manufacturing Systems Modeled by S<sup>4</sup>PR

Yanxiang Feng, MengChu Zhou, Feng Tian +2 more

Computational Theory and Mathematics · IEEE Transactions on Systems Man and Cybernetics Systems · · cited 18× · DOI ↗ · more like this ·

This article focuses on the problem of deadlock for sequential automated manufacturing systems (AMSs) that allow for the general resource allocation and flexible routings. A class of Petri nets, systems of sequential systems with shared resources (S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> PR), are used to model these considered AMSs. Our previous work has showed that deadlocks in S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> PR are characterized by saturated perfect activity-circuit (PA-circuit). In this article, we divide all saturable PA-circuits into two categories: 1) dependent and 2) independent. An algorithm is proposed to compute all independent saturable PA-circuits. We prove that by adding a monitor for each independent PA-circuit to ensure that it is not…

Structural Liveness Analysis of Automated Manufacturing Systems Modeled by S<sup>4</sup>PRs

Yanxiang Feng, Keyi Xing, MengChu Zhou +2 more

Computational Theory and Mathematics · IEEE Transactions on Automation Science and Engineering · · cited 17× · DOI ↗ · more like this ·

This paper presents a liveness analysis method for sequential automated manufacturing systems (AMSs), which can be modeled by a class of Petri nets named systems of sequential systems with shared resources (S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> PR). We show that deadlocks in S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> PR can be characterized by the saturation of its structural object named a perfect activity circuit (PA-circuits). Thus, S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> PR is live if and only if no PA-circuits in it is saturated at all reachable states. A PA-circuits of an S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> PR may not be…

Robust deadlock control for automated manufacturing systems with a single type of unreliable resources

Yunchao Wu, Keyi Xing, MengChu Zhou +2 more

Computational Theory and Mathematics · Advances in Mechanical Engineering · · cited 16× · DOI ↗ · more like this ·

In automated manufacturing systems, resource failures are often inevitable. They reduce the number of available resources and may cause some processing routes of parts to halt and sometimes the whole system to shutdown. This article focuses on the robust deadlock control problem in automated manufacturing systems with multiple resource failures. To obtain such a robust controller, we first put forward a new concept of blocked states of automated manufacturing systems. From such a state, the production of some part types through one of their routes is blocked as caused by resource failures, and only after some failed resources are repaired, these parts can resume their normal processing. Then, these blocked states are characterized in terms of emptied siphons caused by resource failures. In order to prevent the system from deadlocks and blocked states, a robust controller is proposed by…

State Space-Based Hybrid Heuristic Search Algorithm for Scheduling Deadlock-Prone Automated Manufacturing Systems

Xiaoling Li, MengChu Zhou, Keyi Xing +1 more

Computational Theory and Mathematics · IEEE Transactions on Automation Science and Engineering · · cited 11× · DOI ↗ · more like this ·

This work addresses the scheduling problem of deadlock-prone automated manufacturing systems (AMSs) modeled by a class of Petri nets called systems of simple sequential processes with resources (S <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$^{3}$</tex-math> </inline-formula> PRs), and proposes a novel hybrid heuristic search (HHS) algorithm to minimize the makespan. First, based on place-timed Petri net models of AMSs, a timed state space (TSS) composed of timed states is defined. TSS-based breadth-first search and A <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$^{\ast}$</tex-math> </inline-formula> algorithms are developed, through which the optimal solutions for small-scale problems can be obtained. Then, in…

Deadlock and Blockage Control of Automated Manufacturing Systems with an Unreliable Resource

Jianchao Luo, Keyi Xing, MengChu Zhou

Computational Theory and Mathematics · Asian Journal of Control · · cited 11× · DOI ↗ · more like this ·

Abstract This work studies the deadlock and blockage control problem of an automated manufacturing system (AMS) with a single unreliable resource. It aims to develop a robust control policy to ensure that AMS can produce all parts in the absence of resource failures, and when the unreliable resource fails, the system can continuously produce all parts that do not require the failed resource. To this end, we divide the system into two regions, continuous and non‐continuous, based on whether all parts in them can be produced continuously or not. For the non‐continuous region, dominating region constraints are established to ensure that all parts in it do not block the production of parts in the continuous region, and an optimal deadlock avoidance policy based on a Petri net model is introduced to guarantee its deadlock‐free operation. For the continuous region, we configure a resource…

Optimal Liveness Petri Net Controllers with Minimal Structures for Automated Manufacturing Systems

Keyi Xing, Baosheng Hu

Computational Theory and Mathematics · · cited 11× · DOI ↗ · more like this ·

This paper considers deadlock avoidance problems for manufacturing systems with flexible routings. Based on system Petri net (PN) models, this paper proposes for the first time the concept of perfect resource-transition circuits (PRTC). The system liveness is characterized as no PRTCs can reach saturated states. PRTC-based methods for designing deadlock avoidance PN controllers/supervisors are presented. For systems without center resources, the presented controller is optimal, and more, if every elementary maximal PRTC can also reach its saturated state, then the controllers structure is minimal. For a system with center resources, the system PN model is first reduced so that the reduced PN model doesn't contain center resources and hence has optimal deadlock avoidance PN controller. Then the controlled reduced PN model can be used as a supervisor for the system liveness.