Supervisory Control of Automated Manufacturing Systems Based on State-Tree Structures
Abstract
:1. Introduction
2. Concepts and Terminologies
2.1. Sts Model
2.1.1. State-Tree
- X is a structured state set, of which the number is limited;
- is a particular state which is named the root state;
- is the type function;
- is the expansion function, where , and ;
2.1.2. Holon
- X is the non-null state set, organized as the nonintersecting combination of and , which are the external and internal state set;
- is the event set, which is structured as the nonintersecting combination of and , which are the boundary and internal event set, i.e., ; the event set can also be seen as , where is the uncontrollable event set and is the controllable event set;
- The transition structure is a partial function; this shows the transition between the states in the holon;
- is the initial state set;
- is the terminal state set.
2.1.3. State-Tree Structures
- is a state-tree.
- is a set of holons which can be matched to OR superstate of , in which a is an OR superstate and is the matching objective for holon, which is to say, portrays the dynamics among units of a as well as the transitions between the upper holon and .
- is the event set which consists of all events that happens in , in which represented the internal event set of .
- is the transition function, in which stands for the set of sub-state-trees of . This is the global transition function, which is different from δ.
- is the initial sub-state-tree.
- is the marker sub-state-tree set.
2.2. Predicate
- is the root state;
- ;, where , , and represent the components 0, 1, and 2 of , respectively. This means that there are three states in machine which represent the state “Idle”, “Work”, and “Breakdown”;, where , , and represent the components 0, 1, and 2 of , respectively, which represent the state “Idle”, “Work”, and “Breakdown” of machine .
- , implying that and work concurrently;, implying that the states , , and are mutually exclusive, i.e., the system can only reach one state at a time; and, which means the exact states for each machine.
- The event set ;
- and ;
- ,,, and.
- ,
- , which stands for the initial state-tree, that is, is at state 0 and is at 0;
- , and
- the transition function Δ is detailed by,,,,,,,, and….
3. Control Functions for Predicates
- Show that . For , , which implies that . Thus, .
- Prove that . For , or . This means that .
- with α is enabled at and satisfying P.
- since γ is eligible at but neither or satisfies P.
- Similarly, .
4. SFBC under Reachability, Coreachablity, and Weak Controllability
4.1. The Reachability and Coreachablity
- ;
- ;
- ;
- ;
- No other basic state-tree b satisfies .
- Prove . If for any state-tree b, . This implies that there exists , and . Thus,
- Prove . If for any state-tree b, . This implies that there exists with . Considering the definition of reachability predicate, , , , …, . Thus,
Algorithm 1: The SFBC f under reachability. |
- ;
- ;
- There is no other basic-state-tree b that satisfy ;
- ;
- ;
- ;
- ;
- No other basic state-tree b satisfies .
- Prove . If for any state-tree b, . This implies that there exists , . Thus,
- Prove . If for any state-tree b, . This implies that there exists with . According to the definition of coreachability predicate, , , , …, . Thus,
Algorithm 2: The SFBC f under coreachability. |
- ;
- ;
- ;
- ;
- Similarly, no other basic-state-tree b satisfies .
4.2. Sfbc under Weakly Controllability
Algorithm 3: The SFBC of any event under controllability |
- Since , ;
- For , , ;
- For , , ;
- And for , , ;
5. Nonblocking Sfbc for Sts
- ; and
- .
- 1.
- If , K is coreachable (i.e., ). For any , we need to prove .
- According to the definition of the coreachability predicate, if , , obviously.
- If , there must exists . This implies that and . Iteratively, a string can be obtained, which makes hold. Thus, .
It is proved that if , K is coreachable. - 2.
- If , K is weakly controllable. To prove this, should be discussed. For any , , which means that . Thus, . Thus, K is proved to be weakly controllable.
Algorithm 4: The SFBC f under controllability and coreachability. |
- 1.
- For predicate P, compute the SFBC f under weak controllability by analyzing the SFBC of the uncontrollable events, iteratively, to ensure that the uncontrollable event is not disabled;
- 2.
- Then, compute the SFBC under coreachability by revising the SFBC of any events which cannot lead the system to the marked state-tree;
- 3.
- If the SFBC of any event is not revised, go to Step 4; if not, back to Step 1;
- 4.
- Finally, compute the SFBC under reachability by revising the SFBC of any events which cannot reached by the initial state-tree.
- 1.
- Compute the SFBC according to Algorithm 3;
- For , ;
- .
- Compute the coreachable SFBC for each σ as follows:
- For , ;
- For , ;
- For ;
- For ;
- For ;
- ;
- No other state-tree satisfies ;
- 2.
- Compute the SFBC according to Algorithm 3;
- For , ;
- ;
- Compute the coreachable SFBC for each σ; it is obvious that . The iteration stops.
- 3.
- Compute the reachable SFBC f for each σ as follows:
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- No other basic-state-tree b satisfies .
- Definition 1 is proposed to define the SFBC of an event for a predicate and Example 2 illustrates this definition;
- Proposition 1 shows the relation between the SFBC for two subpredicates of P;
- Propositions 2 and 3 show the reasonability of Algorithm 1, which is proposed to compute the SFBC under reachability, and Example 3 explains each step of Algorithm 1;
- Propositions 4 and 5 show the reasonability of Algorithm 2, which is proposed to compute the SFBC under coreachability, and Example 4 explains each step of Algorithm 2;
- Propositions 6 and 7 show the reasonability of Algorithm 3, which is proposed to compute the SFBC under weak controllability, and Example 5 explains each step of Algorithm 3;
- Propositions 8 and 9 show the reasonability of Algorithm 4, which is proposed to compute the SFBC under weak controllability and coreachability, and Example 6 explains each step of Algorithm 4; the computation of Algorithm 4 requires the results of Algorithms 1–3, and by Algorithm 4, the control functions of the supervisory control problem can be obtained.
6. Examples
6.1. Transfer Line
6.2. Small Factory
- ;
- implies that and ;
- For event 1, , , , and ;For event 2, and ;For event 3, and ;For event 4, , , , and ;
- According to Algorithm 4, the nonblocking SFBC f can be got by
- -
- Under weak controllability, since , ;and for other event , ;
- -
- Under coreachability,
- -
- It is easy to find that the SFBC satisfies the weakly controllability and coreachability. The iteration stops.
- -
- Under reachability, similar to the calculation of coreachability, can be computed.
6.3. Guide Way
- event 11 in Figure 10 stands for the first “·”, which means passing the guideway between A and station 1;
- event 13 in Figure 10 stands for the second “·”, which means passing the guideway between station 1 and 2;
- event 10 in Figure 10 stands for the third “·”, which means passing the guideway between station 2 and 3;
- event 15 in Figure 10 stands for the forth “·”, which means passing the guideway between station 3 and 4;
- event 12 in Figure 10 stands for the fifth “·”, which means passing the guideway between station 4 and B.
7. Discussion
- The specification is explicitly saying that the dangerous situation (to be prohibited) is whenever the system is in a certain state. This specification can be denoted by the illegal state-trees. Such as, in Example 1, if the two machines, and , are not allowed to occur at the same time. The specification can be written as with , and the SFBC of events wrt. P can be obtained according to Definition 2. Then, the supervisor (shown by the control functions) can be computed by Algorithm 4.
- The specification can be put into the STS model as a holon. For example, in Small Factory, the specification is written as holon , which implicitly describes the control part: not allowing 3 to occur at state 0. Moreover, to avoid the buffer overflow, the event 2 is not allowed to occur at state 1. Thus, the illegal state-tree is and . The SFBC of events with respect to P can be obtained according to Definition 2. Then, the supervisor (shown by the control functions) can be computed by Algorithm 4.
- Moreover, the specification can be directly denoted by the SFBC which means some events disabled at state-trees. For example, in Small Factory, to avoid the buffer overflow, the event 2 is not allowed to occur at state 1. Thus, the SFBC of 2 can be written as . The SFBC of events with respect to P can be achieved according to Definition 2. Then, the control functions can be computed by Algorithm 4.
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Li, Z.W.; Zhou, M.C. Deadlock Resolution in Automated Manufacturing Systems: A Novel Petri Net Approach; Springer Science Business Media: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
- Reveliotis, S.; Nazeem, A. Deadlock avoidance policies for automated manufacturing systems using finite state automata. Form. Methods Manuf. 2018, 169–196. [Google Scholar]
- Fanti, M.P.; Zhou, M.C. Deadlock control methods in automated manufacturing systems. IEEE Trans. Syst. Man Cyber. 2004, 34, 5–22. [Google Scholar] [CrossRef]
- Wu, N.Q.; Zhou, M.C. Deadlock resolution in automated manufacturing systems With robots. IEEE Trans. Autom. Sci. Eng. 2007, 4, 474–480. [Google Scholar] [CrossRef]
- He, Z.; Ma, Z.; Li, Z.W.; Giua, A. Parametric transformation of timed weighted marked graphs: Applications in optimal resource allocation. IEEE/CAA J. Autom. Sinica 2020, 8, 179–188. [Google Scholar] [CrossRef]
- He, Z.; Li, Z.W.; Giua, A. Performance optimization for timed weighted marked graphs under infinite server semantics. IEEE Trans. Autom. Control 2018, 63, 2573–2580. [Google Scholar] [CrossRef]
- He, Z.; Ma, Z.; Tang, W. Performance safety enforcement in strongly connected timed event graphs. Automatica 2021, 128, 109605. [Google Scholar] [CrossRef]
- He, Z.; Li, Z.W.; Giua, A. Cycle time optimization of deterministic timed weighted marked graphs by transformation. IEEE Trans. Control Syst. Technol. 2017, 25, 1318–1330. [Google Scholar] [CrossRef] [Green Version]
- He, Z.; Li, Z.W.; Giua, A. Optimization of deterministic timed weighted marked graphs. IEEE Trans. Autom. Sci. Eng. 2017, 14, 1084–1095. [Google Scholar] [CrossRef] [Green Version]
- He, Z.; Ma, Z.Y. Performance safety enforcement in stochastic event graphs against boost and slow attacks. Nonlinear Anal. Hybrid Syst. 2021, 41, 101057. [Google Scholar] [CrossRef]
- Yan, L.Y. State-Based Control of Discrete-Event Systems with Observational Abstraction. Master’s Thesis, University of Toronto, Toronto, ON, Canada, 2011. [Google Scholar]
- Wang, X.; Li, Z.W.; Wonham, W.M. Dynamic multiple-period reconfiguration of real-time scheduling based on timed DES supervisory control. IEEE Trans. Ind. Inf. 2015, 12, 101–111. [Google Scholar] [CrossRef]
- Wang, X.; Khemaissia, I.; Khalgui, M.; Li, Z.W.; Wonham, W.M. Dynamic low-power reconfiguration of real-time systems with periodic and probabilistic tasks. IEEE Trans. Autom. Sci. Eng. 2014, 12, 258–271. [Google Scholar] [CrossRef]
- Wonham, W.M. Supervisory Control of Discrete-Event Systems. 2015. Available online: http://www.control.toronto.edu/DES (accessed on 1 July 2015).
- Wonham, W.M.; Ramadge, P.J. On the supremal controllable sublanguage of a given language. SIAM J. Control Optim. 1987, 25, 637–659. [Google Scholar] [CrossRef]
- Wonham, W.M.; Ramadge, P.J. Supervisory control of a class of discrete event processes. SIAM J. Control Optim. 1987, 25, 206–230. [Google Scholar]
- Ma, C.; Wonham, W.M. Nonblocking supervisory control of state tree structures. IEEE Trans. Autom. Control 2006, 51, 782–793. [Google Scholar] [CrossRef]
- Ma, C.; Wonham, W.M. Control of state tree structures. In Proceedings of the 11th Mediterranean Conference on Control and Automation, Rhodes, Greece, 18–20 June 2003. [Google Scholar]
- Harel, D. Statecharts: A visual formalism for complex systems. Sci. Comput. Program. 1987, 8, 231–274. [Google Scholar] [CrossRef] [Green Version]
- Ma, C.; Wonham, W.M. STSLib and its application to two benchmarks. In Proceedings of the 9th International Workshop on Discrete Event System (WODES’08), Gothenburg, Sweden, 28–30 May 2008; pp. 119–124. [Google Scholar]
- Mirenadi, S.; Lennartson, B. Symbolic on-the-fly synthesis in supervisory control theory. IEEE Trans. Control Syst. Technol. 2016, 24, 1705–1716. [Google Scholar] [CrossRef]
- Mirenadi, S.; Lennartson, B.; Akesson, K. A BDD-based approach for modelling plant and supervisor by extended finite automata. IEEE Trans. Control Syst. Technol. 2012, 20, 1421–1435. [Google Scholar] [CrossRef] [Green Version]
- Gu, C.; Wang, X.; Li, Z.W. Synthesis of supervisory control with partial observation on normal state-tree structures. IEEE Trans. Automa. Sci. Eng. 2018, 16, 984–997. [Google Scholar] [CrossRef]
- Gu, C.; Wang, X.; Li, Z.W.; Wu, N.Q. Supervisory control of state-tree structures with partial observation. Inf. Sci. 2018, 465, 523–544. [Google Scholar] [CrossRef]
- Wang, D.G.; Wang, X.; Li, Z.W. Nonblocking supervisory control of state-tree structures with conditional-preemption matrices. IEEE Trans. Ind. Inf. 2019, 16, 3744–3756. [Google Scholar] [CrossRef]
- Jiao, T.; Gan, T.; Xiao, G.; Wonham, W.M. Exploiting symmetry of state tree structures for discrete-event systems with parallel components. Int. J. Control 2017, 90, 1639–1651. [Google Scholar] [CrossRef]
- Wang, X.; Li, Z.W.; Wonham, W.M. Real-time scheduling based on nonblocking supervisory control of state-tree structures. IEEE Trans. Autom. Control 2020, 66, 4230–4237. [Google Scholar] [CrossRef]
- Cai, K.; Wonham, W.M. Supervisor localization of discrete-event systems based on state tree structure. IEEE Trans. Autom. Control 2013, 59, 1329–1335. [Google Scholar] [CrossRef] [Green Version]
- Dong, K.; Quan, Q.; Wonham, W.M. Failsafe mechanism design for autonomous aerial refueling using state tree structures. Unmanned Syst. 2019, 7, 261–279. [Google Scholar] [CrossRef]
- Chao, W.J.; Gan, Y.M.; Wang, Z.A.; Wonham, W.M. Decentralized supervisory control of discrete-event systems based on state tree structures. In Proceedings of the 31st Chinese Control Conference, Hefei, China, 25–27 July 2012; pp. 2184–2190. [Google Scholar]
- Chao, W.J.; Gan, Y.M.; Wang, Z.A.; Wonham, W.M. On computation of coordinator in blocking decentralized supervisory control of state tree structures. In Proceedings of the 31st Chinese Control Conference, Hefei, China, 25–27 July 2012; pp. 2157–2162. [Google Scholar]
- Chao, W.J.; Gan, Y.M.; Wang, Z.A.; Wonham, W.M. Modular supervisory control and coordination of state tree structures. Int. J. Control 2013, 86, 9–21. [Google Scholar] [CrossRef]
- Wang, X.; Moor, T.; Li, Z.W. Top-down nested supervisory control of state-tree structures based on state aggregations. IFAC-Papers OnLine 2020, 53, 11175–11180. [Google Scholar] [CrossRef]
Propositions/Definitions | Algorithms | Examples |
---|---|---|
Definition 1: SFBC of an event for predicate | Example 2 | |
Proposition 1: property of SFBC | ||
Proposition 2: reachability on SFBC; Proposition 3: the relation between reachability subpredicate of P and the SFBC | Algorithm 1 | Example 3 |
Proposition 4: coreachability on SFBC; Proposition 5: the relation between coreachability subpredicate of P and the SFBC | Algorithm 2 | Example 4 |
Proposition 6: weak controllability on SFBC; Proposition 7: the relation between weak controllability subpredicate of P and the SFBC | Algorithm 3 | Example 5 |
Proposition 8: weak controllability and coreachability on SFBC; Proposition 9: the relation between weak controllability and coreachability subpredicate of P and the SFBC | Algorithm 4 | Example 6 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gu, C.; Zhao, J.; He, Z. Supervisory Control of Automated Manufacturing Systems Based on State-Tree Structures. Symmetry 2022, 14, 1470. https://doi.org/10.3390/sym14071470
Gu C, Zhao J, He Z. Supervisory Control of Automated Manufacturing Systems Based on State-Tree Structures. Symmetry. 2022; 14(7):1470. https://doi.org/10.3390/sym14071470
Chicago/Turabian StyleGu, Chan, Junbo Zhao, and Zhou He. 2022. "Supervisory Control of Automated Manufacturing Systems Based on State-Tree Structures" Symmetry 14, no. 7: 1470. https://doi.org/10.3390/sym14071470
APA StyleGu, C., Zhao, J., & He, Z. (2022). Supervisory Control of Automated Manufacturing Systems Based on State-Tree Structures. Symmetry, 14(7), 1470. https://doi.org/10.3390/sym14071470