Analysis and Control of Partially Observed Discrete-Event Systems via Positively Constructed Formulas
Abstract
:1. Introduction
- Large block data structures for representing formulas and inference rules;
- Absence of necessity to remove existence quantifiers with a skolemization procedure, which decreases the complexity of the inference;
- Compatibility with application-specific heuristics and general logical inference control heuristics;
- Clarity of the logical inference, which helps to find formalization errors;
- Support for the equality predicate;
- Modifiability of semantics to support nonclassical logics.
2. The PCF Calculus
2.1. The PCF Language
- and are ∃–PCF and ∀–PCF, respectively.
- If is a set of ∀–PCFs, then is a ∃–PCF.
- If is a set of ∃–PCFs, then is a ∀–PCF.
- Any ∃–PCF or ∀–PCF is a PCF.
2.2. The Inference Rule
3. Checking Observability of a Regular Language
3.1. Partially Observable DESs
3.2. Checking Observability via PCFs
4. Conflict Extracting
5. Controlled System Design
6. The Prover for Refutation PCFs
6.1. Question Selection Strategies
- Is the question a goal? Goal questions are scored highest because answering them terminates the inference.
- How many steps ago in the inference was the question answered for the last time? The most distant questions are scored the highest. Such an approach provides a high level of diversity by restricting the usage of the same question several times in a row.
- How many times has the question been answered before? Questions with the lowest value are scored the highest.
- What is the level of the question branching? The ones with the lowest value are scored the highest.
6.2. Answer Selection Strategies
6.3. Evaluated Terms and Commands
- Evaluated function ++ —concatenation of lists and ;
- Evaluated predicate a \in —the membership of element a to list ;
- Evaluated predicate \subseteq —whether is a sublist of ;
- Evaluated function sort()—sorting list items in ascending order;
- Computed function dedup()—deletion of repeating elements of the list;
6.4. Complexity Evaluation
7. Case Study
7.1. Problem Statement
- —reference path following;
- —detouring the detected obstacle from its left sid;
- —detouring the detected obstacle from its right side;
- —navigation to the reference path;
- —searching for an obstacle on the left;
- —searching for an obstacle on the right;
- —wrong position diagnosing;
- —computing a new path.
7.2. System Constraints and Analysis
7.3. Simulation Results
8. Discussion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
PCF | Positively constructed formula |
ATP | Automated theorem proving |
DES | Discrete event system |
SCT | Supervisory control theory |
CNF | Conjunctive normal form |
EFA | Extended finite automaton |
LTL | Linear time temporal logic |
CTL | Computational trees logic |
FOF | First-order formula |
FOL | First-order logic |
SCOP | Supervisory control and observation problem |
BSCOP | Basic supervisory control and observation problem |
ID | Identifier |
References
- Cassandras, C.G.; Lafortune, S. Introduction to Discrete Event Systems; Springer: Cham, Switzerland, 2021. [Google Scholar] [CrossRef]
- Lafortune, S. Discrete Event Systems: Modeling, Observation, and Control. Annu. Rev. Control Robot. Auton. Syst. 2019, 2, 141–159. [Google Scholar] [CrossRef]
- Seatzu, C.; Silva, M.; van Schuppen, J.H. (Eds.) Control of Discrete-Event Systems; Springer: London, UK, 2013. [Google Scholar] [CrossRef]
- Ramadge, P.J.; Wonham, W.M. Supervisory control of a class of discrete event processes. SIAM J. Control Optim. 1987, 25, 206–230. [Google Scholar] [CrossRef]
- Dai, X.; Jiang, L.; Zhao, Y. Cooperative exploration based on supervisory control of multi-robot systems. Appl. Intell. 2016, 45, 18–29. [Google Scholar] [CrossRef]
- Lopes, Y.K.; Trenkwalder, S.M.; Leal, A.B.; Dodd, T.J.; Groß, R. Supervisory control theory applied to swarm robotics. Swarm Intell. 2016, 10, 65–97. [Google Scholar] [CrossRef]
- Hill, R.C.; Lafortune, S. Scaling the formal synthesis of supervisory control software for multiple robot systems. In Proceedings of the 2017 American Control Conference (ACC), Seattle, WA, USA, 24–26 May 2017; pp. 3840–3847. [Google Scholar] [CrossRef]
- Wonham, W.M.; Cai, K. Supervisory Control of Discrete-Event Systems; Springer International Publishing: Cham, Switzerland, 2019. [Google Scholar]
- Wonham, W.; Cai, K.; Rudie, K. Supervisory control of discrete-event systems: A brief history. Annu. Rev. Control 2018, 45, 250–256. [Google Scholar] [CrossRef]
- Hales, T.; Adams, M.; Bauer, G.; Dang, T.D.; Harrison, J.; Hoang, L.T.; Kaliszyk, C.; Magron, V.; Mclaughlin, S.; Nguyen, T.T.; et al. A formal proof of the kepler conjecture. Forum Math. Pi 2017, 5, e2. [Google Scholar] [CrossRef]
- Klein, G.; Andronick, J.; Elphinstone, K.; Heiser, G.; Cock, D.; Derrin, P.; Elkaduwe, D.; Engelhardt, K.; Kolanski, R.; Norrish, M.; et al. SeL4: Formal Verification of an Operating-System Kernel. Commun. ACM 2010, 53, 107–115. [Google Scholar] [CrossRef]
- Gonthier, G. Formal Proof—The Four-Color Theorem. Not. Am. Math. Soc. 2008, 11, 1382–1393. [Google Scholar]
- Leroy, X. Formal Verification of a Realistic Compiler. Commun. ACM 2009, 52, 107–115. [Google Scholar] [CrossRef]
- Karpas, E.; Magazzeni, D. Automated planning for robotics. Annu. Rev. Control Robot. Auton. Syst. 2020, 3, 417–439. [Google Scholar] [CrossRef]
- Zombori, Z.; Urban, J.; Brown, C.E. Prolog technology reinforcement learning prover. In Proceedings of the International Joint Conference on Automated Reasoning, Paris, France, 1–4 July 2020; Springer: Cham, Switzerland, 2020; pp. 489–507. [Google Scholar]
- Schader, M.; Luke, S. Planner-Guided Robot Swarms. In Proceedings of the International Conference on Practical Applications of Agents and Multi-Agent Systems, L’Aquila, Italy, 7–9 October 2020; Springer: Cham, Switzerland, 2020; pp. 224–237. [Google Scholar]
- Li, W.; Miyazawa, A.; Ribeiro, P.; Cavalcanti, A.; Woodcock, J.; Timmis, J. From Formalised State Machines to Implementations of Robotic Controllers. In Distributed Autonomous Robotic Systems: The 13th International Symposium; Groß, R., Kolling, A., Berman, S., Frazzoli, E., Martinoli, A., Matsuno, F., Gauci, M., Eds.; Springer International Publishing: Cham, Switzerland, 2018; pp. 517–529. [Google Scholar] [CrossRef]
- Vassilyev, S.N. Machine synthesis of mathematical theorems. J. Log. Program. 1990, 9, 235–266. [Google Scholar] [CrossRef]
- Davydov, A.; Larionov, A.; Cherkashin, E. On the calculus of positively constructed formulas for automated theorem proving. Autom. Control Comput. Sci. 2011, 45, 402–407. [Google Scholar] [CrossRef]
- Cherkashin, E.A.; Postoenko, A.; Vassilyev, S.N.; Zherlov, A. New Logics for Intelligent Control. In Proceedings of the Twelfth International Florida Artificial Intelligence Research Society Conference, Orlando, FL, USA, 1–5 May 1999; Kumar, A.N., Russell, I., Eds.; AAAI Press: Washington, DC, USA, 1999; pp. 257–261. [Google Scholar]
- Zherlov, A.K.; Vassilyev, S.N.; Fedosov, E.A.; Fedunov, B.E. Intelligent Control of Dynamic Systems; Fizmatlit: Moscow, Russia, 2000. (In Russian) [Google Scholar]
- Vassilyev, S.; Galyaev, A. Logical-optimization approach to pursuit problems for a group of targets. Dokl. Math. 2017, 95, 299–304. [Google Scholar] [CrossRef]
- Vassilyev, S.; Ponomarev, G. Automation methods for logical derivation and their application in the control of dynamic and intelligent systems. Proc. Steklov Inst. Math. 2012, 276, 161–179. [Google Scholar] [CrossRef]
- Larionov, A. Bootfrost. Available online: https://github.com/snigavik/bootfrost (accessed on 26 April 2024).
- Klein, G.; Andronick, J.; Keller, G.; Matichuk, D.; Murray, T.; O’Connor, L. Provably trustworthy systems. Philos. Trans. R. Soc. Math. Phys. Eng. Sci. 2017, 375, 20150404. [Google Scholar] [CrossRef] [PubMed]
- Davydov, A.; Larionov, A.; Nagul, N.V. The construction of controllable sublanguage of specification for DES via PCFs based inference. In Proceedings of the 2nd International Workshop on Information, Computation, and Control Systems for Distributed Environments, ICCS-DE 2020, Irkutsk, Russia, 6–7 July 2020; Bychkov, I., Tchernykh, A., Eds.; CEUR-WS.org: Aachen, Germany, 2020. CEUR Workshop Proceedings. Volume 2638, pp. 68–78. [Google Scholar]
- Cho, H.; Marcus, S.I. Supremal and maximal sublanguages arising in supervisor synthesis problems with partial observations. Math. Syst. Theory 1989, 22, 177–211. [Google Scholar] [CrossRef]
- Inan, K. An algebraic approach to supervisory control. Math. Control Signals Syst. 1992, 5, 151–164. [Google Scholar] [CrossRef]
- Rudie, K.; Murray Wonham, W. The infimal prefix-closed and observable superlanguange of a given language. Syst. Control Lett. 1990, 15, 361–371. [Google Scholar] [CrossRef]
- Feng, L.; Wonham, W.M. TCT: A computation tool for supervisory control synthesis. In Proceedings of the 2006 8th International Workshop on Discrete Event Systems, Ann Arbor, MI, USA, 10–12 July 2006; pp. 388–389. [Google Scholar]
- Lafortune, S. Desuma. Available online: https://gitlab.eecs.umich.edu/wikis/desuma (accessed on 15 April 2024).
- Ricker, L.; Lafortune, S.; Genc, S. DESUMA: A Tool Integrating GIDDES and UMDES. In Proceedings of the 2006 8th International Workshop on Discrete Event Systems, Ann Arbor, MI, USA, 10–12 July 2006; pp. 392–393. [Google Scholar] [CrossRef]
- Åkesson, K.; Fabian, M.; Flordal, H.; Vahidi, A.; Malik, R. Supremica. Available online: https://supremica.org/ (accessed on 5 April 2024).
- Malik, R.; Åkesson, K.; Flordal, H.; Fabian, M. Supremica–An Efficient Tool for Large-Scale Discrete Event Systems. IFAC-PapersOnLine 2017, 50, 5794–5799. [Google Scholar] [CrossRef]
- Åkesson, K.; Flordal, H.; Fabian, M. Exploiting modularity for synthesis and verification of supervisors. IFAC Proc. Vol. 2002, 35, 175–180. [Google Scholar] [CrossRef]
- Brandin, B.; Malik, R.; Malik, P. Incremental verification and synthesis of discrete-event systems guided by counter examples. IEEE Trans. Control Syst. Technol. 2004, 12, 387–401. [Google Scholar] [CrossRef]
- Mohajerani, S.; Malik, R.; Fabian, M. A Framework for Compositional Synthesis of Modular Nonblocking Supervisors. IEEE Trans. Autom. Control 2014, 59, 150–162. [Google Scholar] [CrossRef]
- Larionov, A.; Davydov, A.; Cherkashin, E. The method for translating first-order logic formulas into positively constructed formulas. Softw. Syst. 2019, 4, 556–564. [Google Scholar] [CrossRef]
- Larionov, A.; Davydov, A.; Cherkashin, E. The calculus of positively constructed formulas, its features, strategies and implementation. In Proceedings of the 2013 36th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 20–24 May 2013; pp. 1023–1028. [Google Scholar]
- Sutcliffe, G. The TPTP Problem Library and Associated Infrastructure. From CNF to TH0, TPTP v6.4.0. J. Autom. Reason. 2017, 59, 483–502. [Google Scholar] [CrossRef]
- Ulyanov, S.; Bychkov, I.; Maksimkin, N. Event-Based Path-Planning and Path-Following in Unknown Environments for Underactuated Autonomous Underwater Vehicles. Appl. Sci. 2020, 10, 7894. [Google Scholar] [CrossRef]
- Bychkov, I.; Ulyanov, S.; Nagul, N.; Davydov, A.; Kenzin, M.; Maksimkin, N. Hierarchical event-based control of multi-robot systems in unstructured environments. J. Phys. Conf. Ser. 2021, 1864, 012001. [Google Scholar] [CrossRef]
- Lapierre, L.; Soetanto, D. Nonlinear path-following control of an AUV. Ocean Eng. 2007, 34, 1734–1744. [Google Scholar] [CrossRef]
- Yan, Z.; Li, J.; Zhang, G.; Wu, Y. A Real-Time Reaction Obstacle Avoidance Algorithm for Autonomous Underwater Vehicles in Unknown Environments. Sensors 2018, 18, 438. [Google Scholar] [CrossRef] [PubMed]
- Dubins, L.E. On Curves of Minimal Length with a Constraint on Average Curvature, and with Prescribed Initial and Terminal Positions and Tangents. Am. J. Math. 1957, 79, 497–516. [Google Scholar] [CrossRef]
- Kostylev, D.; Tolstikhin, A.; Ulyanov, S. Development of the complex modelling system for intelligent control algorithms testing. In Proceedings of the 2019 42nd International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 20–24 May 2019; pp. 943–948. [Google Scholar] [CrossRef]
- Geng, X.; Ouyang, D.; Han, C. Verifying Diagnosability of Discrete Event System with Logical Formula. Chin. J. Electron. 2020, 29, 304–311. [Google Scholar] [CrossRef]
- Reijnen, F.F.; Erens, T.R.; van de Mortel-Fronczak, J.M.; Rooda, J.E. Supervisory controller synthesis and implementation for safety PLCs. Discret. Event Dyn. Syst. 2022, 32, 115–141. [Google Scholar] [CrossRef]
- Seow, K.T. Supervisory Control of Fair Discrete-Event Systems: A Canonical Temporal Logic Foundation. IEEE Trans. Autom. Control 2021, 66, 5269–5282. [Google Scholar] [CrossRef]
- Thistle, J.G.; Wonham, W.M. Control problems in a temporal logic framework. Int. J. Control 1986, 44, 943–976. [Google Scholar] [CrossRef]
- Rawlings, B.C.; Lafortune, S.; Ydstie, B.E. Supervisory Control of Labeled Transition Systems Subject to Multiple Reachability Requirements via Symbolic Model Checking. IEEE Trans. Control Syst. Technol. 2020, 28, 644–652. [Google Scholar] [CrossRef]
- Jiang, S.; Kumar, R. Supervisory Control of Discrete Event Systems with CTL* Temporal Logic Specifications. SIAM J. Control Optim. 2006, 44, 2079–2103. [Google Scholar] [CrossRef]
- Aucher, G. Supervisory Control Theory in Epistemic Temporal Logic. In Proceedings of the International Conference on Autonomous Agents and Multi-Agent Systems, Paris, France, 5–9 May 2014; Volume 1. [Google Scholar]
- Ritsuka, K.; Rudie, K. Do what you know: Coupling knowledge with action in discrete-event systems. Discret. Event Dyn. Syst. 2023, 33, 257–277. [Google Scholar] [CrossRef]
Additions into the Base | ||||||||
---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | ||||||
3 | u | 1 | 1 | 1 | 2 | , | ||
4 | u | 1 | 1 | 1 | 2 | 2 | , | |
4 | u | 2 | 1 | 2 | 2 | 2 | , | |
4 | v | 1 | 2 | 2 | 3 | 3 | , | |
4 | v | 2 | 2 | 2 | 3 | 3 | , | |
3 | v | 2 | 1 | 1 | 3 | , | ||
5 | a | 3 | 1 | 1 | ||||
6 | a | 3 | 1 | 1 | ⌀ |
Additions | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a | 3 | 1 | 1 | 2 | 1 | 1 | v | ||||||
a | 2 | 1 | 1 | 1 | 1 | 1 | v | u |
Base Atoms Used | s | q | Additions | ||||
---|---|---|---|---|---|---|---|
1 | u | 2 | |||||
2 | v | 3 | |||||
3 | a | 4 | |||||
4 | c | 5 | |||||
4 | b | 2 |
Base Atoms Used | s | q | Additions | ||||
---|---|---|---|---|---|---|---|
1 | u | 2 | |||||
2 | v | 3 | |||||
3 | a | 4 | |||||
4 | c | 5 | |||||
5 | d | 1 |
Name | Triggering Condition | Description |
---|---|---|
eOLN | The obstacle detected on the left is near | |
eOLNF | The obstacle detected on the left is not far | |
eNOL | There are no obstacles on the left | |
eORN | The obstacle detected on the right is near | |
eORNF | The obstacle detected on the right is not far | |
eNOR | There are no obstacles on the right | |
eON | The detected obstacle is near | |
eOF | The detected obstacle is far | |
eEAP | The robot has reached the end of the avoidance path | |
eRPR | The robot has reached the reference path | |
eAL1 | eOLNF and (eORN ∨ eON) | The robot detours the obstacle from the left |
eAL2 | eEAP ∨ eOLNF | The robot detours the obstacle from the left |
eAL3 | (eOLNF ∨ eNOL) and (eORN ∨ eON) | The robot detours the obstacle from the left |
eAL4 | eON ∨ eOLNF | The robot detours the obstacle from the left |
eAR1 | eORNF and (eOLN ∨ eOLNF ∨ eON) | The robot detours the obstacle from the right |
eAR2 | eEAP ∨ eORNF | The robot detours the obstacle from the right |
eAR3 | (eORNF ∨ eNOR) and (eOLN ∨ eON) | The robot detours the obstacle from the right |
eAR4 | eON ∨ eOLRF | The robot detours the obstacle from the right |
eRPF | The reference path is found | |
ePC | The path is corrected | |
eER | An error has occured | |
eNPR | A new path is required | |
eNPC | A new path has been computed | |
eOL | The obstacle is lost |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 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
Davydov, A.; Larionov, A.; Nagul, N. Analysis and Control of Partially Observed Discrete-Event Systems via Positively Constructed Formulas. Computation 2024, 12, 95. https://doi.org/10.3390/computation12050095
Davydov A, Larionov A, Nagul N. Analysis and Control of Partially Observed Discrete-Event Systems via Positively Constructed Formulas. Computation. 2024; 12(5):95. https://doi.org/10.3390/computation12050095
Chicago/Turabian StyleDavydov, Artem, Aleksandr Larionov, and Nadezhda Nagul. 2024. "Analysis and Control of Partially Observed Discrete-Event Systems via Positively Constructed Formulas" Computation 12, no. 5: 95. https://doi.org/10.3390/computation12050095
APA StyleDavydov, A., Larionov, A., & Nagul, N. (2024). Analysis and Control of Partially Observed Discrete-Event Systems via Positively Constructed Formulas. Computation, 12(5), 95. https://doi.org/10.3390/computation12050095