Design of Heterogeneous Cyber-Physical Systems Employing Category Theory
https://doi.org/10.17587/mau.23.59-67
Abstract
Heterogeneous cyber-physical control systems based on digital twins are in demand by Industry 4.0. In accordance with the contemporary systems engineering methodology, such systems are designed at the level of digital models. The paper proposes approaches to formalization and subsequent automation of solving direct and inverse problems of their design. To unify descriptions of heterogeneous components, we follow a viewpoint-based approach to architecture design recommended by the international standard ISO/IEC/IEEE 42010. Following recent trends, we employ category theory as a mathematical framework for the formal description and solution of design problems. Indeed, category theory is a branch of higher algebra specifically aimed at a unified representation of objects of different nature and relationships between them. The design space of a heterogeneous cyber-physical system is constructed as a subcategory of the multicomma category, the objects of which describe possible system architectures with a fixed structural hierarchy represented from a certain viewpoint as diagrams, and morphisms denote actions associated with the parts selection and replacement during the system design. Direct design problems consist in evaluating the properties of the system as a whole by its architecture and are solved using a universal category-theoretic construction of the colimit of the diagram. The solution of inverse problems that require finding variants of the system architecture, which are (sub-, Pareto-) optimal according to the consumer quality criteria, consists in reconstructing diagrams by their colimit edges. For such reconstruction, optimization algorithms of gradient descent type are reasonable to employ, which navigate along the system design space morphisms calculating the path by means of computer algebra. Typical techniques of assembling cyber-physical systems, such as modular composition and aspect weaving, are described in the language of category theory and illustrated. As an example, we outline the design of energy-efficient robotic production lines represented from the behavior viewpoint as discrete-event simulation models.
About the Author
S. P. KovalyovRussian Federation
Kovalyov Sergei P., Dr. Sci, Lead Scientist
Moscow, 117997
References
1. Khaitan S. K., McCalley J. D. Design techniques and applications of cyber physical systems: a survey, IEEE Systems Journal, 2015, vol. 9, no. 2, pp. 350—365.
2. Gorodetsky V. I., Laryukhin V. B., Skobelev P. O. Conceptual model of a digital platform for cyber-physical management of a modern enterprises. Part 1. Digital platform and digital ecosystem, Mekhatronika, Avtomatizatsiya, Upravlenie, 2019, vol. 20, no. 6, pp. 323—332.
3. Gorodetsky V. I., Laryukhin V. B., Skobelev P. O. Conceptual model of a digital platform for cyber-physical management of a modern enterprises. Part 2. Digital services, Mekhatronika, Avtomatizatsiya, Upravlenie, 2019, vol. 20, no. 7, pp. 387—397.
4. Kychkin A. V., Nikolaev A. V. Architecture of a cyberphysical system for the mining enterprise ventilation control based on the Internet of Things platform, Mekhatronika, Avtomatizatsiya, Upravlenie, 2021, vol. 22, no. 3, pp. 115—123.
5. Andryushkevich S. K., Kovalyov S. P., Nefedov E. Development of a power system digital twin based on an ontological model, Automation in Industry, 2020, no. 1, pp. 51—56.
6. Sun H., Ma L. Generative design by using exploration approaches of reinforcement learning in density-based structural topology optimization, Designs, 2020, vol. 4, no. 2, p. 10.
7. Rajhans A. et al. Supporting heterogeneity in cyber-physical systems architectures, IEEE Transactions on Automatic Control, 2014, vol. 59, no. 12, pp. 3178—3193.
8. Larsen P. G. et al. Integrated tool chain for model-based design of Cyber-Physical Systems: The INTO-CPS project, 2nd International Workshop on Modelling, Analysis, and Control of Complex CPS (CPS Data), 2016, pp. 1—6, doi: 10.1109/CPSData.2016.7496424.
9. Breiner S., Subrahmanian E., Jones A. Categorical foundations for system engineering, Disciplinary Convergence in Systems Engineering Research, Eds. A. Madni, B. Boehm, R. Ghanem, D. Erwin, D. Wheaton, Springer, 2018, pp. 449—463.
10. Mordecai Y., Fairbanks J. P., Crawley E. F. Categorytheoretic formulation of the model-based systems architecting cognitive-computational cycle, Applied Sciences, 2021, vol. 11, pp. 1945, doi:10.3390/app11041945.
11. Mac Lane S. Categories for the working mathematician, 2nd Ed., New York, NY, Springer, 1998.
12. Kovalyov S. P. Algebraic means of heterogeneous cyberphysical systems design, Mathematical Methods in Technics and Technologies, 2021, no. 2, pp. 144—147.
13. Kovalyov S. P. Category theory as a mathematical pragmatics of model-based systems engineering, Informatics and Applications, 2018, vol. 12, no. 1, pp. 95—104.
14. Baez J. C., Erbele J. Categories in control, Theory and Applications of Categories, 2015, vol. 30, no. 24, pp. 836—881.
15. Kovalyov S. P. Methods of the category theory in digital design of heterogeneous cyber-physical systems, Informatics and Applications, 2021, vol. 15, no. 1, pp. 23—29.
16. Kuschnerus D., Bilgic A., Musch T. Aspect-oriented data and safety modeling for cyber-physical systems in process automation, Proc. 8th European Congress on Embedded Real Time Software and Systems, Toulouse, France, 2016, available at: https://hal-irsn.archives-ouvertes.fr/ERTS2016/hal-01289440v1.
17. Aspect-Oriented Software Development. Reading: Addison Wesley, 2004, 800 p.
18. Kovalyov S. P. Semantics of aspect-oriented modeling of data and processes, Informatics and Applications, 2013, vol. 7, no. 3, pp. 70—80.
19. Requicha A. G. Representations for rigid solids: theory, methods, and systems, Journal ACM Computing Surveys, 1980, vol. 12, no. 4, pp. 437—464.
20. Prajapat N., Tiwari A. A review of assembly optimisation applications using discrete event simulation, International Journal of Computer Integrated Manufacturing, 2017, vol. 30, no. 2—3, pp. 215—228.
21. Pratt V. R. Modeling concurrency with partial orders, International Journal of Parallel Programming, 1986, vol. 15, no. 1, pp. 33—71.
22. Gross J., Chlipala A., Spivak D. I. Experience implementing a performant category-theory library in Coq, 5th Conference (International) on Interactive Theorem Proving Proceedings, Eds. G. Klein, R. Gamboa, Lecture Notes in Computer Science ser., Springer, 2014, vol. 8558, pp. 275—291.
23. Bakirtzis G., Fleming C. H., Vasilakopoulou C. Categorical semantics of cyber-physical systems theory, ACM Transactions on Cyber-Physical Systems, 2021, vol. 5, iss. 3, article no. 32, pp. 1—32.
Review
For citations:
Kovalyov S.P. Design of Heterogeneous Cyber-Physical Systems Employing Category Theory. Mekhatronika, Avtomatizatsiya, Upravlenie. 2022;23(2):59-67. (In Russ.) https://doi.org/10.17587/mau.23.59-67