Since 18 of December 2019 conferences.iaea.org uses Nucleus credentials. Visit our help pages for information on how to Register and Sign-in using Nucleus.

13–17 May 2019
Daejeon, Republic of Korea
Europe/Vienna timezone
Meeting Material is now available and accessible from the left-menu

Standardization of software device driver implementation for data acquisition and timing devices in ITER CODAC Core System: Nominal Device Support

16 May 2019, 13:30
2h 30m
Daejeon, Republic of Korea

Daejeon, Republic of Korea

Board: P/4-5
Poster Data Acquisition and Signal Processing Poster

Speaker

Mr Miguel Astrain (Universidad Politécnica de Madrid)

Description

The standardization of device driver’s implementation in distributed control systems is essential to reduce the development and integration effort. Nowadays, there are multiple distributed control systems and high-level applications used in the scientific community. Due to the lack of standardization in the interfaces with the device drivers, it is required to integrate each hardware device separately in each control system. However, a clear model of how different software applications should manage the device drivers could reduce development efforts and ease the maintainability of such complex systems. The Nominal Device Support initiative is an open source project, promoted initially by Cosylab, for the standardization of data acquisition and timing devices. The first implementations of NDS (version 1.x and 2.x) were oriented to simplify the implementation of EPICS device supports. NDS v3 is more ambitious and is built as an abstraction layer for any control system or software application.
This work is focused on the third version of NDS which distinguishes two main software elements needed to develop a NDS Device Driver. First, NDS-Core provides a hierarchical tree organization of the so-called nodes. Along with this work, most potential applications have been identified, defining a set of nodes for such applications with the aim of providing a common skeleton that eases the drivers development and unifies styles. Thus, every node is matched to specific hardware functionality by means of its predefined NDS Process Variables (NDS-PVs) that support the configuration, operation, and monitoring of the hardware. NDS device drivers are libraries built using NDS-Core, and the NDS-PVs defined in the nodes act as interface between the device drivers and the control system.
On the next layer, the NDS-Control System Interface loads the driver’s libraries and manages the interactions with the control system. Current development provides an EPICS interface and a simulated Control System interface for testing purposes, although it could be extended to support interfaces with other frameworks (MARTe, TANGO, ITER Real-Time Framework, etc). The NDS-EPICS interface uses the EPICS asynDriver module.
NDS offers several advantages. Firstly, the use of a unique NDS-EPICS interface for all the device drivers simplifies the development and maintenance and reduces to the minimum user effort in the EPICS/asynDriver development. Secondly, NDS-core provides a node structure traced to common hardware functionality, saving development time and increasing the homogeneity of drivers. Finally, the possibility of reusing the same NDS device driver with different software applications or control systems shall be highlighted, as it effectively reduces development and integration costs.
Currently, NDS approach is used in ITER for diagnostic applications, and different NDS Device Drivers have been implemented for data acquisition and timing cards available in the ITER fast controller hardware catalog for PXIe (PXIe6683 PTP timing card, X-Series multifunctional DAQ Devices and FlexRIO/NI5761) and MTCA (PTM1588) form factors.

Primary author

Prof. Mariano Ruiz (Universidad Politecnica de Madrid)

Co-authors

Dr Javier Moreno (GMV Aerospace and Defence S.A.U.) Mr de Gracia Alberto (Universidad Politecnica de Madrid) Dr Stefano Melis (GMV Aerospace and Defence S.A.U.) Dr Sergio Esquembri (Universidad Politécnica de Madrid) Dr Diego Sanz (GMV Aerospace and Defence S.A.U.) Mr Miguel Astrain (Universidad Politécnica de Madrid) Mr Ralph Lange (ITER International Organization)

Presentation materials