PROFINET COMMUNICATION CARD FOR THE CERN CRYOGENICS CRATE ELECTRONICS INSTRUMENTATION

Similar documents
The control system for the cryogenics in the LHC tunnel

CONTROL AND INTERLOCK SYSTEMS FOR THE LIGHT PROTOTYPE

Smart Data for. Industrial Control Systems. CERN Technical Workshop

ARES: AUTOMATIC RELEASE SERVICE

The coolest place on earth

ATLAS DCS Overview SCADA Front-End I/O Applications

INSPECTOR, A ZERO CODE IDE FOR CONTROL SYSTEMS USER INTERFACE DEVELOPMENT

Detector Control LHC

Fault Detection using Advanced Analytics at CERN's Large Hadron Collider

UNICOS* Principles and History

T HE discovery at CERN of a new particle

PROFINET and OPC UA ready for Industrie 4.0. Copenhagen, March 1 st Karsten Schneider Chairman PI (PROFIBUS & PROFINET International)

AN OVERVIEW OF THE LHC EXPERIMENTS' CONTROL SYSTEMS

JCOP FW Training Course. 30 June 4 July 2014 EN-ICE

Global Collaboration on Accelerator Operations and Experiments

Quantitative and formal methods for the industrial control systems at CERN: dreams and reality

Finding bugs in the LHC: Verification methods for PLC programs

The Compact Muon Solenoid Experiment. Conference Report. Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland

B-Scada and Security

Design specifications and test of the HMPID s control system in the ALICE experiment.

4 Access to devices. Prof. Dr. H. Kirrmann. ABB Research Centre, Baden, Switzerland

Thales PunchPlatform Agenda

PROFINET IO enabled on Cisco Industrial Ethernet 3000 Switches

Industrial system integration experts with combined 100+ years of experience in software development, integration and large project execution

JCOP Workshop III. Status of JCOP Activities. 5 th & 6 th June Wayne Salter, CERN IT-CO

Diode Array Process NIR Instrument. Reliable, Accurate, Real-time

IO-Link What is it? 2

Industrial Automation Automation Industrielle Industrielle Automation. 4 Access to devices. 4.3 OPC (Open Process Control ) 4.3.

The CERN Detector Safety System for the LHC Experiments

CTF3 BPM acquisition system

Model based soft-sensors based on OPC Unified Architecture

Sierra Radio Systems. Digital Compass. Reference Manual. Version 1.0

SOFTWARE SCENARIO FOR CONTROL SYSTEM OF INDUS-2

Diode Array 7440 T. Process NIR Instrument. Reliable, Accurate, Real-time

Engineering Note. Efficient Integration Weighing for Common PLC Systems

Overview. About CERN 2 / 11

PID auto-tuning UNICOS MOC3O02, Feedback systems & Tuning

Report. Middleware Proxy: A Request-Driven Messaging Broker For High Volume Data Distribution

PROFIBUS-DP to G-64 CONFIGURABLE INTERFACE

Introduction to PROFIBUS for Process Automation

PID tuning & UNICOS PID auto-tuning

RN-174 WiFly Super Module

Practical steps for a successful PROFIBUS. Project... Presented by:- Derek Lane Systems Manager - WAGO Ltd. The PROFIBUS Group - UK PROFIBUS

Features & Improvements CODESYS V3.5 SP13. CODESYS a trademark of 3S-Smart Software Solutions GmbH

Your Global Automation Partner. Elevating Ethernet Intelligence: Implementing Ethernet Technology in Industrial Applications. White Paper - W1004

ELECTRIC ACTUATORS with PROFINET interface

MiniDAQ1 A COMPACT DATA ACQUISITION SYSTEM FOR GBT READOUT OVER 10G ETHERNET 22/05/2017 TIPP PAOLO DURANTE - MINIDAQ1 1

Diode Array 7440 SD. Process NIR Instrument. Reliable, Accurate, Real-time

Developments on the SCADA of CERN Accelerators Vacuum

Implementing Industrial Ethernet Field Device Functionality by Using FPGAs

Short Introduction to DCS, JCOP Framework, PVSS. PVSS Architecture and Concept. JCOP Framework concepts and tools.

Integration of INTERBUS Into Profinet IO The Ideal Combination

PROFIBUS PA Fault-Finding and Maintenance Tools

Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics. SCADA System

JMobile. The X Platform Software

LTE/3G-BASED WIRELESS COMMUNICATIONS FOR REMOTE CONTROL AND MONITORING OF PLC-CONTROLLED MOBILE VACUUM DEVICES

Tomasz Włostowski Beams Department Controls Group Hardware and Timing Section. Developing hard real-time systems using FPGAs and soft CPU cores

Closed-loop Delfino Control Systems: Multiple Industrial Protocol Support using the AMIC110 Sitara Processor

FD67 QUICK START GUIDE PROFIBUS-DP

RN-174. WiSnap M2 Super Module. Features. Description. Applications. ~ page 1 ~ rn-174-ds v1.1 6/1/2011

IN a system of many electronics boards of many different

Exploiting the security extensions of next generation CPUs for cloudifying critical applications. Luigi Romano EPSILON srl

CONTROL MICROSYSTEMS Analog Input Module. Hardware Manual

Industrial IT Laboratory Work Hans-Petter Halvorsen

Potential usage of AutomationML to feed back data from the shopfloor into the digital planning models. 5th AutomationML User Conference

PLC COURSE LIST NMU TRAINING CENTRE

Control slice prototypes for the ALICE TPC detector

ICN for Cloud Networking. Lotfi Benmohamed Advanced Network Technologies Division NIST Information Technology Laboratory

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA SELECTION AND APPLICATIONS OF PROGRAMMABLE LOGIC CONTROLLERS UNIT 25 - NQF LEVEL 3

SIMATIC S7-PLCSIM Advanced V1.0. Simulation with TIA Portal V14 and PLCSIM Advanced

Modicon M580 MUCH MORE than a PLC. the first epac!

Lukasz Zwalinski PH/DT

INTEGRATION OF THE VACUUM SCADA WITH CERN S ENTERPRISE ASSET MANAGEMENT SYSTEM

Dr. Johan Åkerberg, ABB Corporate Research, Sweden, Communication in Industrial Automation

Industrial Ethernet for Proline flowmeters The system integration of the future

Process simulation as a domain- specific OPC UA information model

2008 JINST 3 S Online System. Chapter System decomposition and architecture. 8.2 Data Acquisition System

CVI Controllers - Profinet IO - Manual

Hardware Aspects, Modularity and Integration of an Event Mode Data Acquisition and Instrument Control for the European Spallation Source (ESS)

Quick Start Guide PROFINET Switch 4/8-port. Version. 1en.

PROFINET The leading communication system

Proudly present. Ethernet to the Field (APL)

Diode Array Process NIR Instrument. Reliable, Accurate, Real-time

Instrumentation and Control System

A PROPOSAL FOR MODELING THE CONTROL SYSTEM FOR THE SPANISH LIGHT SOURCE IN UML

ELEVATING ETHERNET INTELLIGENCE:

GE Intelligent Platforms. High-Performance Automation Solutions for a Connected World

Industrial Ethernet for Proline flowmeters The system integration of the future

UCOS User-Configurable Open System

Open Hardware for CERN s Accelerator Control Systems

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 4/20/2011

Product Information TBPN New Hybrid PROFINET/ PROFIsafe Block I/O Station

Workshop : Ethernet as a fieldbus Genève Friday 28th September How Ethernet becomes industrial

NEW CERN PROTON SYNCHROTRON BEAM OPTIMIZATION TOOL

Detector Control System board for FAIR. J. A. Lucio Martínez Infrastructure and Computer Systems in Data Processing (IRI) Goethe University Frankfurt

RN-171-EK Evaluation Board

White paper The future role of ethernet and the trend to decentralised control solutions

C2MON SCADA DEPLOYMENT ON CERN CLOUD INFRASTRUCTURE

Overview of the CRISP proposal

Connecting a PC Station to an S using OPC

Transcription:

doi:10.18429/jacow-icalepcs2017- PROFINET COMMUNICATION CARD FOR THE CERN CRYOGENICS CRATE ELECTRONICS INSTRUMENTATION R.K. Mastyna, J. Casas-Cubillos, E. Blanco Vinuela, N. Trikoupis, CERN, Geneva, Switzerland M. Felser, Bern University of Applied Sciences, BFH, Switzerland Abstract The ITER-CERN collaboration agreement initiated the development of a PROFINET communication interface, which may replace the WorldFIP interface in non-radiation areas. The main advantage of PROFINET is a simplified integration within the CERN controls infrastructure that is based on industrial Programmable Logic Controllers (PLCs). CERN prepared the requirements and subcontracted the design of a communication card prototype to the Bern University of Applied Sciences (BFH). The designed PROFINET card prototype uses the netx Integrated Circuit (IC) for PROFINET communication and a FPGA to collect the electrical signals from the back-panel (electrical signals interface for instrumentation conditioning cards). CERN is implementing new functionalities involving programming, automation engineering and electronics circuit design. The communication between the card and higher layers of control is based on the Open Platform Communications Unified Architecture (OPC UA ) protocol. The configuration files supporting new types of instrumentation cards, which are being developed and are compatible with the SIEMENS SIMATIC automation environment. Some minor changes to PROFINET PCB electronics card will be performed before launching a small series production. It is worth to mention that all required data calculations (for example interpolation, calibration) and protocol handling (PROFINET, OPC UA ) are performed using a multithreading application, which runs on a single netx50 chip. It allows to simplify the architecture of the control system, because there is no need for additional computing nodes in the network to execute all required calculations of the process. System Overview INTRODUCTION The control system in radiation areas is shown in Figure 1. It is based on the CRATE (equivalent to a remote IO), PLC, Front End Computer (FEC), Cryogenics Instrumentation Expert Tool Supervisory Control and Data Acquisition (CIET SCADA) and Cryogenics Supervisory Control and Data Acquisition (CRYO SCADA). CIET SCADA and CYRO SCADA are connected to the DB Log (database for data logging long term archiving and cloud data analysis). CRYO SCADA is also connected to DB Sensor (database for sensor and heater cards parameters) [1], [2], [3]. This architecture is also used in non-radiation areas. In order to simplicity the architecture the whole functionality of the FEC was moved to the crate which is now smart device able to calculate, transform the raw input data and communicate directly with the PLC (see the Figure 2). Due to the fact that the WorldFIP protocol is not recommended for new installations the Ethernet based PROFINET protocol is used. The communication between CIET SCADA and CRATE runs through OPC UA, as this protocol is going to be available in the netx51 chip. OPC UA also allows direct connection between the CRATE and cloud data analysis module. Figure 1: Current architecture overview. Figure 2: New architecture overview. 59

16th Int. Conf. on Accelerator and Large Experimental Control Systems ICALEPCS2017, Barcelona, Spain JACoW Publishing doi:10.18429/jacow-icalepcs2017- CRATE Overview The CRATE was initially developed as a radiation tolerant remote IO to be deployed in the Large Hadron Collider (LHC) tunnel at CERN. Presently more than 800 crates are operational within the LHC cryogenic control infrastructure and they provide temperature measurements with state of the art accuracy in spite of the hostile radiation environment [4]. It consists of sensor cards (for collecting raw data), heater cards (for controlling electrical heaters) and communication cards to communicate with the rest of the system [5]. It supports up to 16 sensor cards, 4 heater cards in total and each sensor card is divided into 2 sensor channels. The crate is also equipped with 2 communication cards which are the main subject of this paper (see the crate diagram in the Figure 3). The project is focused on the communication card, which is responsible for collecting and performing required calculations on measurements from the sensor cards and sending the control commands to the heater cards. The only communication interface is 100 Mbit/s Ethernet based with support of the TCP/IP and UDP/IP Socket connections. The real-time PROFINET is used for the cyclic data exchange with the industrial PLC. The configuration and parameter data as well as the diagnostic information is controlled by the CIET through the flexible OPC UA protocol. A local Webserver offers some possibilities to test and commission the CRATE without an active PLC or CIET. In order manage these tasks (especially performing calculations and simultaneous communication with several industrial protocols) the cards are equipped with a FPGA and netx50 chips. Figure 3: Overview of crate. IMPLEMENTATION The implementation of the logic which is responsible for data handling includes IT, electronics and automation development, because all these domains are required to correctly provide the CRATE device and incorporate it into the existing system. Figure 4 shows the most important technologies and tools used for the implementation of the project. 60 Automation IT Electronics Figure 4: Domains of the development. NETX50 BASED SOFTWARE OF COM- MUNICATION CARD The first version of the netx50 software was developed by Bern University of Applied Sciences. It is designed as a multithreading application and consists of several tasks: MAIN TASK manage cooperation between other tasks SPI TASK communication with the sensor and heater cards using the Serial Peripheral Interface (SPI) with the FPGA. PROFINET TASK communication with the PLC using the PROFINET protocol WEB SERVER TASK web interface for the crate SOCKET TASK communication with CIET using OPC UA protocol IO TASK handling card s general-purpose input/output (GPIO) LEDs and switches The diagram of the tasks is shown in the Figure 5. WEB- SERVER SOCKET Shared memory C++ MAIN PROFINET CRATE LOM SPI (BACK- PLANE) FPGA The software required major data handling changes, because it assumed to be identical the sizes of the data that come from all sensor cards (see Figure 6), in practice the data size depend on the type of type of card inserted. Elastic sizes are therefore implemented with the help of the unions and structures (see Figure 7 and Figure 8). Because of C VHDL (FPGA) Figure 5: Application threads diagram. IO

doi:10.18429/jacow-icalepcs2017- the fact that the netx program is written in C it is not possible to use the inheritance in a straight way. The change of the data structures is important and significant as it caused many updates in the data handling, which is present in all the tasks. This deep modification took much time and required design changes but it makes the code elastic enough for easily adding a new sensor card with totally different number of parameters, because each sensor/heater channel and sensor/heater card type is now handled independently. Figure 6: Previous (obsolete) sensor cards handling (using offsets). Figure 7: Sensor card structure description. Figure 8: New sensor cards and sensor channels handling (structures and unions). PROFINET CONFIGURATION The main task of PROFINET is to allow to the PLC to receive the input data form the CRATE and send the required output data to the CRATE. For this the Engineering tool of the controller (in our case the S7-400 PLC from Siemens ) needs to know what are the possible cards available for the CRATE and what is the amount of data provided by each type of card. The General Station Description (GSD) file has to be written in the XML format to perform the task. This allows the future users to easily use ( drag and drop or text file edition see Figure 9) modules structure and create a custom configuration (see the Figure 10). Figure 9: Structure of created crate library. Figure 10: Siemens Step 7 programming environment and CRATE configuration. The general structure GSDML file proposed by the BFH was not exactly mapping the physical configuration, was not flexible and allowed to handle only one type of card (see Figure 11). It was changed by dividing each module into 2 submodules and by replacing the default, Virtual Submodules ( inline submodule) with the classic submodules, which are not fixed (Figure 12). The submodules can now be chosen (by drag and drop or text file edition in SIMANTIC software) according to the current physical configuration. Figure 11: Obsolete sensor channel GSMDL file division. Figure 12: New sensor card GDSML file division. OPC UA COMMUNICATION In order to communicate between the netx chip and the CIET SCADA, two protocols were considered the MQ Telemetry Transport or Message Queue Telemetry Transport (MQTT) and the OPC UA [6], [7]. Finally, the OPC UA was chosen because it is easier to be incorporated into our current architecture and is a CERN supported protocol. Initially, the idea was to exchange the data directly between CRATE and CIET SCADA (this solution is shown in Figure 13), but because of the fact that LOM (Linkable 61

16th Int. Conf. on Accelerator and Large Experimental Control Systems ICALEPCS2017, Barcelona, Spain JACoW Publishing doi:10.18429/jacow-icalepcs2017- object Model) OPC UA protocol stack for netx is not available yet, the data is sent through the socket to the QUASAR server [8] which is setup on Centos 7 using CERN OpenStack (see Figure 14). The OpenStack Cloud is very convenient because it is easy accessible and available all the time without interruptions. The GNU screen program is used to keep the program running when the user logs out. In order to handle socket connection, a new module was created in the Quasar framework. The C++ Boost library was incorporated into the development and Socket and shared pointer were utilized. The OPC UA communication works in both directions - - data is sent form the crate and commands and calibration curves are sent from CIET SCADA. Figure 13: OPC UA direct communication using the LOM OPC UA protocol stack. Figure 14: OPC UA communication using the socket. 62 The direct OPC UA communication (without the help of the Quasar) is going to be used as soon as the LOM OPC UA stack is available, but it is important to mention that the whole model of data stays the same from the CIET SCADA point of view only the lower layer which is entirely in implemented in netx will be changed. INDUSTRIAL INTERNET OF THINGS AND CLOUD BASED SYSTEMS Currently cloud data analysis is performed with the help of DB Log as shown in Figure 1 and in more detailed way in Figure 15. The Logstash runs queries on DB Log database every morning, then the data is stored in the Elasticsearch cluster [9]. The data, which is collected, consists of: The number of value changes per day, for each device The number of alarms per day, for each device The number of equipment disconnections The equipment disconnection durations Finally, the data is analysed with the help of the Kibana software (Figure 16). Figure 15: Current cloud data analysis. Figure 16: Kibana analysis. The OPC UA communication gives new opportunity. CRATE gains ability to communicate directly with the cloud data analysis system as shown in Figure 2 and Figure 17. The data can be sent to the Logstash through OPC UA channel and then can analysed as before. Figure 17: Possible future direct cloud data analysis.

doi:10.18429/jacow-icalepcs2017- ELECTRONICS UPDATES The first communication card prototype can be seen in Figure 18 and it is composed of two cards connected together (named left and right). Figure 18: Communication card prototype (top/side view). It required some minor changes to consolidate the electrical layout and avoid the use of flying wires and components: Left card: connector change, addition of the 1.8 V converter, addition of the pull-up resistors (see Figure 19) Right card - addition of pull-up resistors (Figure 20) Connector Converter to 1.8V Pull-up resistors (bottom layer) Figure 19: Left communication card modifications. Pull-up reststors Figure 20: Right communication card modifications. CONCLUSION The new communication card allows to replace the WorldFIP fieldbus with PROFINET that simplifies considerably the architecture of the system in non-radiation areas. All the software updates work correctly and makes the code more flexible and easy to maintain. The GDSML structure modification allows to add new modules in a more flexible way and is also closer to the sensor cards physical configuration. The netx software and GSDML files are more flexible and open for new sensor and heater cards. The task to create OPC UA communication between CRATE and CIET SCADA using socket QUASAR was completed. This solution was successfully tested and works correctly. The data is handled in both directions and because of the fact that the QUASAR OPC UA server is set on the CERN Cloud it is available without interruptions 24 hours per day. OPC UA communication will allow CRATE to connect directly to the cloud analysis system (Logstash, Elasticsearch and Kibana). The deployment of a full functioning crate with PROFINET communication within a real cryogenic infrastructure is planned by the end of the year 2017. ACKNOWLEDGEMENTS We would like to thank ITER ("The Way" in Latin) for the support and funding of the initial development phase of the project. We thank also Benjamin Farnham, Michael Ludwig from CERN - Beams Department - Industrial Controls and Safety Group (CERN-BE-ICS) for help with the QUASAR framework and James Hamilton (CERN-BE- ICS) for help with Elastic Stack. REFERENCES [1] G. Penacoba et al., Outcome of the Commissioning of the Readout and Actuation Channels for Cryogenic of the LHC, in Proc. EPAC'08, Genova - Italy, 2008. [2] N. Vauthier et al., First Experience with the LHC instrumentation, in Conference on Cryogenic Engineering and Cryogenic Materials, Chattanooga, TN, USA, 2007. [3] P. Gomes, The control system for cryogenics in the LHC tunnel, in Proc. International Cryogenic Engineering Conference (ICEC'08), Korea, 2008. [4] J. Casas, LHC Thermometry: Laboratory Preci-sion on an Industrial Scale in a Hostile Environment: Tutorial 52, IEEE Instrumentation and Measurement Magazine 17(1), 2014. [5] J. Casas-Cubillos et al., The Radiation Tolerant Electronics for the LHC Cryogenic Controls: Basic Design and First Operational Experience, in Proc. TWEPP'08, Naxos, Greece, 2008. [6] The OPC Foundation "OPC Unified Architecture, http://opcfoundation.org/opc-ua/. [7] B. Farnham, F. Varela and N. Ziogas, Using a common collaborative approach with industrial partners to develop hardware/software interfaces for the LHC experiments controls, in Proc. ICALEPCS'17, Barcelona, Oct. 2017. [8] P. P. Nikiel, B. Farnham, S. Schlenker, C.-V. Soare, V. Filimonov and D. A. Miron, QUASAR - A generic framework for rapid development of OPC UA servers, in Proc. ICALEPCS'15,, Melbourne, Australia, 2015. [9] J. Hamiltion, B. Schofield, M. G. Berges and J.-C. Tournier, SCADA Statistics monitoring using the elastic stack (Elasticsearch, Logstash, Kibana) in Proc. ICALEPCS'17, Barcelona, Oct. 2017. 63