Author: Strangolino, G.
Paper Title Page
WEAL02 A Framework for High Level Machine Automation Based on Behavior Tree 534
 
  • G. Gaio, P. Cinquegrana, S. Krecic, G. Scalamera, G. Strangolino, F. Tripaldi, M. Trovò, L. Zambon
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  In order to carry out complex tasks on particle accelerators, physicists and operators need to know the correct sequence of actions usually performed through a large number of graphical panels. The automation logics often embedded in the GUIs prevents its reuse by other programs, thus limiting the level of automation a control system can achieve. In order to overcome this limitation we have introduced a new automation framework for shifting the logics from GUIs to server side, where simple tasks can be easily organized, inspected and stacked up to build more complex actions. This tool is based on Behavior Trees (BT) which has been recently adopted in the gaming industry for in-game AI player opponents. They are able to create very complex tasks composed by simple decoupled self-contained tasks (nodes), regardless how they are implemented. The automation framework has been deployed in the Elettra and FERMI TANGO-based control systems to implement autonomous operations. A dedicated Qt GUI and a web interface allow to inspect the BTs and dynamically go through a tree, visualize the dependencies, monitor the execution and display any running action.  
slides icon Slides WEAL02 [1.809 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-WEAL02  
About • Received ※ 08 October 2021       Revised ※ 18 October 2021       Accepted ※ 21 November 2021       Issue date ※ 08 March 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
FRAR02 canone3: A New Service and Development Framework for the Web and Platform Independent Applications* 1023
 
  • G. Strangolino, L. Zambon
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  Funding: * inspiration by Alessio Igor Bogani, Elettra, Trieste, Italy
On the wake of former web interfaces developed at ELETTRA as well as in other institutes, the service and development framework for the web and platform independent applications named PUMA has been substantially enhanced and rewritten, with the additional objectives of high availability, scalability, load balancing, responsiveness and customization. Thorough analysis of Websocket limits led to an SSE based server technology relying on channels (Nchan over NGINX) to deliver the events to the clients. The development of the latter is supported by JQuery, Bootstrap, D3js, SVG and QT and helps build interfaces ranging from mobile to dashboard. Ultimate developments led to successful load balancing and failover actions, owing to the joint cooperation of a dedicated service supervisor and the NGINX upstream module.
 
slides icon Slides FRAR02 [3.605 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-FRAR02  
About • Received ※ 08 October 2021       Revised ※ 10 November 2021       Accepted ※ 21 December 2021       Issue date ※ 01 March 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)