Towards Using Behavior Trees in Industrial Automation Controllers

Aleksandr Sidorenko,Mahdi Rezapour,Achim Wagner,Martin Ruskowski
2024-04-22
Abstract:The Industry 4.0 paradigm manifests the shift towards mass customization and cyber-physical production systems (CPPS) and sets new requirements for industrial automation software in terms of modularity, flexibility, and short development cycles of control programs. Though programmable logical controllers (PLCs) have been evolving into versatile and powerful edge devices, there is a lack of PLC software flexibility and integration between low-level programs and high-level task-oriented control frameworks. Behavior trees (BTs) is a novel framework, which enables rapid design of modular hierarchical control structures. It combines improved modularity with a simple and intuitive design of control logic. This paper proposes an approach for improving the industrial control software design by integrating BTs into PLC programs and separating hardware related functionalities from the coordination logic. Several strategies for integration of BTs into PLCs are shown. The first two integrate BTs with the IEC 61131 based PLCs and are based on the use of the PLCopen Common Behavior Model. The last one utilized event-based BTs and shows the integration with the IEC 61499 based controllers. An application example demonstrates the approach.
Software Engineering,Systems and Control
What problem does this paper attempt to address?
This paper discusses the use of Behavior Trees in industrial automation controllers to address the requirements of modularity, flexibility, and rapid development cycles in control software. Current Programmable Logic Controller (PLC) software falls short in these aspects, while Behavior Trees, as a new framework, can achieve modular hierarchical control structures and have better flexibility and intuitive design logic. The paper proposes integrating Behavior Trees into PLC programs to separate hardware-related functionalities and frequently changing coordinating logic, thus improving the design of industrial control software. Additionally, the paper presents several strategies for integrating Behavior Trees into PLCs based on IEC 61131 and IEC 61499, and demonstrates this approach through application examples.