automation of software production process for multiple

Post on 28-May-2022

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

The Continuous Integration servicefor the control system software

for the cryogenics of the LHC tunnel

Continuous Integration for non-LHC cryogenic controls projects

TUPHA006

The development of process control systems for the cryogenicinfrastructure at CERN is based on an automatic software generationapproach. The overall complexity of the systems, their frequent evolution aswell as the extensive use of databases, repositories, commercial engineeringsoftware and CERN frameworks have led to further efforts towardsimproving the existing automation based software production methodology.

A large number of process control system upgrades have beensuccessfully performed for the Cryogenics in the LHC Tunnel, applying theContinuous Integration practice integrating all software production tasks,tools and technologies. The production and maintenance of the controlsoftware for multiple cryogenic applications have become more reliablewhile significantly reducing the required time and effort. This concept hasbecome a guideline for development of process control software for newcryogenic systems at CERN.

This publication presents the software production methodology, as wellas the summary of several years of experience with the enhancedautomated control software production, already implemented for thecryogenics of the LHC Tunnel and the CERN cryogenic test facilities.

The automation of the software production process in CERN cryogenics has become an essential part of the creation of thenecessary software for the control applications. The results and expectative of the update have shown that the time and resourcesneeded to implement it were more than worthy to obtain a system which is better configurable, faster and more reliable than theprevious one. The necessity of the maintenance and updates of the different components of the Continuous Integrations service isovershadowed by the benefits the system provides.

Thanks to its modularity, it can be configured to be adapted to different types of applications and even cope with differentversions simultaneously. That way it is possible to modify and test an application while generating a working version of theinstalled software. The rise of the speed gained increasing the number of machines and optimizing them allow a faster errordetection within the programming code reducing the time to get a working application. It also improved quality assurance of thecontrol applications produced. Human error is minimized while launching the different jobs of the Continuous Integration serviceas all of them are already predefined. All the benefits combined permitted to evolve from maintaining 18 applications to 49 withpossibility to be increased in the near future.

Introducing the Continuous Integration(CI) methodology to the development of thesoftware for the cryogenics of the LHCTunnel had significant impact on thesoftware development process and theresult. The CI system improved qualityassurance of the process and allowed toenter the second run of the LHC acceleratorwith very reliable application software for18 critically important control systems forcryogenics. Also, it let engagning in the Run2 of the LHC accelerator with an improveddevelopment environment, leading to moreefficient and secure development process.

- First experienceThe first use of CI systems for a non-LHC Siemens applicationwas in 2015 and concerned the 10 horizontal magnet testbenches (cryogenic feedboxes - CFBs) in the CERN’s magnettest facilities (SM18). The similarities between those 10 controlsystems lead to develop CI System based on the existing onefor the LHC tunnel. Consequently, those applications weredeployed taking benefits of CI tools (time and effort reduction,reliability improvement, update propagation ease, etc).- Cryo-apps set of toolsFollowing the successful use of CI for the SM18 CFBs andexperience gained during work on the LHC Tunnel, a system(named Cryo-apps) was developed in order to facilitate theproduction of new applications. This system consists of a set ofCI tools for automatic and standardized development ofSiemens PLC applications.- Wide use of Cryo-apps for Siemens applicationsThe first projects using Cryo-apps were the High Field Magnet(HFM) and ClusterD - the new magnet test stations for SM18test hall – in 2016. Since then, it became a standard and hasbeen successfully used for several projects of different size andimportance.

- FunctionalityThe possibility to easily parametrize the whole build chain andlet selecting a repository branch, opened a simple way to buildthe applications using different versions of the UCPC framework.- OptimizationsUsing RAM-disk for building SIMATIC PLC projects improvedperformance of the CI system. The average time to compile twoapplications for a single sector of the LHC (ARC and LSS) was 3h,with RAM-disks - around 1h.- GainsThe use of improved CI system allowed to build up an efficientworkflow for developing large scale control applications and thusto reduce time and efforts - and therefore human resourcesrequired. In a way, they were replaced by a larger pool of workernodes of the build system.

Automation of software production processfor multiple cryogenic control applications

Cz. Fluder, V. Lefebvre, M. Pezzetti, A. Tovar-Gonzalez, CERN, Geneva, SwitzerlandP. Plutecki, T. Wolak, AGH University of Science and Technology, Kraków, PolandCzeslaw.Fluder@cern.ch

top related