원시데이터 수집 시스템
선정목록으로

Use of EPICS in Small Laboratories

관련 화학·수지 · (21) 에폭시수지

기본 정보

저자
  1. Junkes, Heinz — FHI, Berlin, Germany
DOI
10.18429/jacow-icalepcs2023-tumbcmo31
저널
JACOW
발행년도
2024
발행기관
–
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.18429/jacow-icalepcs2023-tumbcmo31
토픽
Carbon and Quantum Dots Applications
OpenAlex ID
W6925293278

평가 내용

관련도
관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '화학·수지 > 에폭시수지' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

For some time now, we* have also been using the EPICS** control system in small laboratories in order to be able to guarantee data recording and processing in accordance with the FAIR*** guidelines and thus to increase the overall quality of the data. It was necessary to overcome many reservations and, above all, to counter the prejudice that such systems are only suitable for large-scale installations. We are now trying to communicate the idea behind this kind of data acquisition (distributed systems, open protocols, open file formats, etc.) also in the studies of physicists, chemists and engineers and are extending our activities to universities. We also hope that in the future, users who use the individual user facilities will be able to make optimal use of the options available there. In our talk we will present the use of EPICS in small laboratories.

본문 18,754자

본문 펼치기
# USE OF EPICS IN SMALL LABORATORIES H. Junkes <sup>∗</sup>, W. Kirstaedter, A. Moshantaf, P. Oppermann <sup>1</sup> Fritz Haber Institute, Berlin, Germany A. D. Fuchs <sup>2</sup>, J. A. F. Lehmeyer <sup>2</sup>, M. Schieber <sup>3</sup>, M. Krieger, H. B. Weber Friedrich-Alexander-Universität, Erlangen-Nürnberg, Germany 1also at SLAC, Menlo Park, CA, US 2also at Humboldt-Universität zu Berlin, Germany 3also at Universität der Bundeswehr München, Germany _Abstract_ Systems such as EPICS or TANGO are well-established solutions for instrument communication and data storage at large facilities (e. g. LIGO, ITER and Diamond Light Source). While these types of control systems have many inherent benefits such as time stamping, data archiving and timing solutions, they are also complex. The initial complexity and knowledge required to set up these systems is a high barrier to entry and often hinders adoption by new research facilities. We demonstrate that such control systems can be used not only in highly sophisticated environments, but that it is possible to use and benefit from these systems in much smaller research labs and even in individual experimental setups. We present two separate use cases for which independent solutions have been developed. The first use case demonstrates the use of an open-source configurable measurement software (NOMAD CAMELS) in a home-built Hall-effect measurement setup. Local instrument communication is combined with data acquisition from the laboratory infrastructure controlled by EPICS allowing flexible implementation of measurement protocols and automated recording of FAIR-compliant data and rich metadata. The second use case presents the implementation of an all-EPICS environment in a catalysis laboratory allowing automated and standardized data acquisition and storage in a machine-readable and FAIR-compliant manner. MOTIVATION Distributed, scalable and robust systems like EPICS (Experimental Physics and Industrial Control System) [1] and TANGO (TAco Next Generation Objects) [2] proved to be beneficial and reliable for the control of large-scale facilities, e. g. synchrotrons, and are well established [3]. However, such control interfaces offer opportunities also for smaller laboratories and even standalone equipment through standardized instrument communication and automated collection of metadata. The reason why EPICS or TANGO are rarely used in small labs is mainly the lack of training, documentation and successfully demonstrated use-cases. ∗ junkes@fhi-berlin.mpg.de _NOMAD CAMELS_ The difficulties of implementing measurement and process control protocols for specialized experimental setups that enables the acquisition of FAIR data motivates the development of a software which allows the user to quickly and dynamically control measurement setups. Within the FAIRmat project we are developing the configurable measurement and experiment control system NOMAD CAMELS (or just “CAMELS”) [7]. This software aims to simplify the imple mentation of virtually any measurement and process control protocol without the needs of programming skills. A core concept is the automatic recording of data and metadata that accurately documents the experimental proce The particular challenge in research areas like experimental condensed matter physics, physical chemistry and material sciences is the heterogeneity of experiments. In these disciplines, experiments are often performed in individual and specialized ad hoc experimental setups, which offer the required flexibility. However, at the same time, in contrast to standardized equipment, such setups require the development of specialized measurement and control software tools. This is typically done by the researchers themselves and requires a deep knowledge of software development including the communication protocols of the huge number of available interfaces and instruments from various vendors and ages. This often results in redundant software development as each lab or even researcher has to (re-)write the code to implement new measurement protocols. Moreover, frequently not much attention is paid to FAIR-compliant [4] data and metadata acquisition. In fact, metadata such as instrument settings are rarely stored along with the raw data. Here, standardized control systems (e. g. EPICS or TANGO) can provide solutions when additionally equipped with user interfaces that provide a low-threshold entry. Documentation and training should enable even students at the bachelor level to implement new measurement protocols. In this paper, we report on two successfully implemented use-cases for EPICS in small laboratories developed within the FAIRmat [5] NFDI [6] consortium which serves as a blueprint. NOMAD CAMELS AND THE DEMO LAB AT FAU ERLANGEN-NÜRNBERG General TUMBCMO31 Figure 1: NOMAD CAMELS is a configurable open-source software tool for measurement, experiment and process control. It allows for configuration of virtually any measurement protocol without the needs of programming skills. CAMELS communicates with local instruments or distributed laboratory environments through community-built instrument drivers and collects all data and metadata finally stored in a structured FAIR-compliant file format. dure, including all instrument settings. The data and metadata are stored in a structured FAIR-compliant file format (cf. Fig. 1). The metadata can include links to electronic lab notebooks (ELNs), e. g. sample history, equipment, operators. A native connection to the NOMAD Oasis ELN and repository is provided. CAMELS provides a user-friendly graphical user interface (GUI), a setup wizard, and documentation so that researchers and students can easily get started in just a couple of minutes. The GUI generates Python code that interfaces with bluesky [8] to communicate with the instruments and orchestrate the measurement. CAMELS can also be used to seamlessly communicate with large-scale, distributed systems implemented with EPICS. _Using NOMAD CAMELS and EPICS in a Hall-_ _Effect Measurement Setup_ The Hall-effect measurement technique is an important characterization tool in semiconductors physics. At the Chair of Applied Physics, we use a specialized home-built setup allowing for advanced semiconductor sample and device characterization using electrical currents from the pA to the mA range in a magnetic field of approx. 0.6 T and at sample temperatures from 20 K to 700 K. An additional gate voltage source allows for Hall-effect measurements in the channel of metal oxide semiconductor field-effect transistors. The core of the setup is an Agilent E5270B multi-channel atto-level source-measure unit. Additional instruments are used for magnet and temperature control. The Hall-effect setup is embedded in our laboratory infrastructure including a vacuum system for the cryostat and cooling water for the electromagnet. The operating conditions of these systems as well as the room climate can sometimes have influence on ultra-sensitive measurements. Thus, recording of these complementary data is important in order to fully document the experiments. TUMBCMO31 We use NOMAD CAMELS for the measurement and experiment control. For instrument communication, we decided for a two-fold approach: (i) All lab infrastructure instruments (vacuum, cooling water, climate sensors) were connected to an EPICS input-output controller allowing for direct access to the measurement values via IT network. In addition, an EPICS ArchiverAppliance [9] continuously logs the lab infrastructure status enabling the researchers to monitor all parameters and their evolution over time from their desks via a graphical web interface. At the same time, NOMAD CAMELS accesses the relevant parameters via the EPICS protocol and stores them alongside with the measurement data. (ii) The dedicated instruments for the actual Hall-effect measurement are connected directly to the measurement computer running NOMAD CAMELS allowing for fast real-time measurement data recording and visualization. Here, NOMAD CAMELS uses device commands exchanged via the VISA protocol with the instruments. Table 1 summarizes the instruments used and the communication type. Table 1: Overview of the Used Devices and the Way NOMAD CAMELS Communicates with Them <u>Instrument</u> <u>Communication</u> Agilent E5270B local / GPIB NI-DAQ card local / USB Voltcraft PPS local / USB Agilent 34401A local / RS232 WIKA CPG1200 EPICS Turbovac SL80 EPICS Arduino climate sensor EPICS In conclusion, the use of NOMAD CAMELS as measurement and experiment control software gives us the following benefits: - Flexible implementation of measurement protocols including newly conceived non-standard protocols - Fast communication with local measurement instruments allowing for real-time visualization of the recorded and time-stamped measurement data - Retrieval and recording the time-stamped lab infrastructure status - Automatic storage of FAIR-compliant data and rich metadata as a complete documentation of experiments allowing for detailed data evaluation and understanding as well as reproducibility of experiments After the successful implementation of NOMAD CAMELS and EPICS in our Hall-effect measurement setup, our target is to embed all our laboratory infrastructure into the EPICS control network and using NOMAD CAMELS on all setups for measurement and process control. The combined approach of fast local communication with instruments and network access to lab infrastructure parameters is an excellent solution for small laboratories with specialized and constantly changing measurement setups and measurement General protocols as it is often found not only in condensed-matter physics. EPICS ENVIRONMENT AT CATLAB _General Setup_ The Fritz Haber Institute, the Max Planck Institute for Chemical Energy Conversion and the Helmholtz-Zentrum Berlin are building a research platform for catalysis named CaTLab [10] to achieve leaps of innovation in hydrogen research. CaTLab is intended as a bridge between pure research and industry. To solve the current challenge in catalysis research in the development of new, scalable catalysts for hydrogenbased future technologies, a better integration of theory and experiment is required. The necessary data exchange demands extensive digitization in catalysis. Experimental data must be generated reproducibly and with sufficient diversity, and must be available in machine-readable form. Artificial intelligence can then contribute to the discovery of correlations [11]. We have developed and implemented a concept for a local data infrastructure (cf. Fig. 2) for such a modern catalyst laboratory. In the field of catalysis research, handbooks are written (preferably in machine-readable form) detailing how experimental data are obtained, including the definition of benchmark catalysts. The implementation of the concept of manuals can only be realised through a fully automated system for data collection and storage. Our developed system uses EPICS for communication with devices and for data acquisition. The archiving appliance for storing time series, Phoebus for creating graphical user interfaces, Python/Bluesky/Jupyter notebooks for creating automations and evaluations, and an S3 storage system [12] for storing the complete data sets (including image data). An in-house developed data management system (“ _archive_ ” [13]) is used to document and link the metadata. This system can be seen as a kind of ELN combined with a Laboratory Information Management System (LIMS). Figure 2: A standardized system layout (here to control a Chemical Reactor) enables an infrastructure that is uniform and flexible as possible and meets today’s security requirements. Each experiment setup (comparable to beamlines at synchrotrons) is equipped with a so-called edge computer . This is usually a passively cooled computer [14] with two network interfaces and some serial ports (these are available in various expansion stages, RS232, RS485), see Table 2. Table 2: Hardware Specifications, Edge Computer <u>Component</u> <u>Purpose</u> Fanless Box PC [14] Gateway/DNS TFTP/Serial/Storage Network Switch [15] Experiment–Network/PoE Serial Device Server [16] Further serial interfaces (if required) The edge computer hosts a device IOC, CA/PVA - gateway, DHCP, DNS, NAT and thus provides the basis for a data acquisition system, see Table 3. Table 3: Software Specifications, Edge Computer <u>Component</u> <u>Purpose</u> debian/procserv OS/Start wrapper ca-gateway Channel Access gateway epics-base(7) Base software, incl. pv-access seq/sscan/calc/asyn sequencer/device interfacing StreamDevice support for stream based devices autosave/busy IOC save and restore PVs recsync/client record synchronizer motor/modbus motor support, industrial control _Data Acquisition System_ We also use components of the Bluesky [8] project for these systems. EPICS is used as control layer to allow the communication with the measurement hardware. This is realized by a device IOC running on the edge computer. The connection to the Bluesky system is made by the Ophyd layer. Ophyd can represent the hardware devices into logical Devices. Signals from Ophyd can be inserted into plans and used in the Bluesky run engine. A plan in Bluesky can consist of more then one run. A run is a sequence of instructions for controlling the instrument equipment. The Bluesky run engine can subscribe to the Databroker. While Bluesky is processing a run the Databroker is collecting the raw data and storing then in the local storage of the executing computer. Each run has a unique ID. The UID is used as a filename for the saved raw data from each run. The Databroker can be used again to read the data and export them e.g. into a pandas data frame. The data frame can be processed and analyzed to generate different types of file formats and reports. Our preferred storage file format is NeXus [17] (uses HDF5) and contains roughly 4 groups: (i) header, (ii) analysed data, (iii) raw data and (iv) a pdf. Every method has its own sub-group in the main groups. The data from each stage are saved seperately. This allows us to store General TUMBCMO31 the data according to the FAIR principles, but also to give the users the possibility to directly retrieve a PDF report, for example. All raw data collected from the experiment is also stored in a csv file. This is a convinient step to give the users the possibility to edit the data with their usual software tools. _Automated Sequencing_ To make these systems usable for users without programming and/or IT knowledge, we created a graphical method editor (with Phoebus [18]), which made it possible for users to select the methods described in the catalysis handbook and to develop a recipe from it which can be executed by a DAQ runner on the edge computer. This recipe is stored in our _archive_ along with a sample-id as a JSON script. The script can also be edited in the _archive_ . To automate the process as described above, the following Python-based components are additionally installed on the edge computer: - Meta IOC : IOC that holds machine metadata and controls the Runner, and can be controlled from any CA client like Phoebus - DAQ Runner : Gets configured by the manager and started / checked by the Meta IOC. If running, processes a time sequence of setpoints for the lab devices, while also collecting measurement data and writing it into a file. Could do more since its just a python script loaded from the _archive_ . - Manager : Loads the runner sequences from the _archive_, stores the measurement data into _“archive”_ (or also directly into the S3 storage with links for the _archive_ . It can create preliminary analysis data. In conclusion, the use of our EPICS infrastructure in the CaTLab as measurement and experiment control software gives us the following benefits: - Flexible implementation of measurement protocols including newly conceived non-standard protocols, usable by the scientists without programming - Provides open and robust interfaces so that these systems can also be programmed by scientists themselves for optimized use of experiments - Retrieval and recording the time-stamped lab infrastructure status - Automatic storage of FAIR-compliant data and rich metadata as a complete documentation of experiments allowing for detailed data evaluation and understanding as well as reproducibility of experiments After the successful implementation of these systems in CatLAB we will extend this to further chemistry departments, enabling the use of machine learning and AI-driven multimodal analysis in chemistry in the future. TUMBCMO31 ACKNOWLEDGEMENTS We acknowledge financial support by FAIRmat, which is funded by the Deutsche Forschungsgemeinschaft “DFG, German Research Foundation” – project 460197019. REFERENCES [1] https://epics-controls.org [2] https://www.tango-controls.org [3] EPICS in the Max-Planck-Society, https://epics.mpg. de [4] https://www.go-fair.org/fair-principles/ [5] https://www.fairmat-nfdi.eu/fairmat [6] https://www.dfg.de/en/research_funding/ funding_initiative/nfdi/index.html [7] NOMAD-CAMELS - Configurable Application for Mea surements, Experiments and Laboratory-Systems, https: //github.com/FAU-LAP/NOMAD-CAMELS [8] Daniel Allan, Thomas Caswell, Stuart Campbell and Mak sim Rakitin, “Bluesky’s Ahead: A Multi-Facility Collaboration for an a la Carte Software Project for Data Acquisition and Management”, _Synchrotron Radiat. News_, vol. 32, no. 2, pp. 19–22, 2019. doi:10.1080/08940886.2019.1608121 [9] https://slacmshankar.github.io/epicsarchiver_ docs/ [10] Start of CaTLab in Berlin, Germany, https://www.fhi. mpg.de/news-institute/start-of-catlab [11] Clara Patricia Marshall, Julia Schumann, and Annette Trun schke, “Achieving Digital Catalysis: Strategies for Data Acquisition, Storage and Use”, _Angewandte Chemie_, vol. 135, no. 3, p. e202302971, 2023. doi:10.1002/ange.202302971 [12] MinIO Object Storage, https://github.com/minio/ minio [13] Dokument Management System, developed at FHI, https: //github.com/fhimpg/archive [14] Jetway Fanless Intel Celeron Apollo Lake, https:// jetwaycomputer.com/JBC390F841VCC.html [15] 16 Port Gigabit Ethernet PoE+, GS116LP, https: //www.netgear.com/de/business/wired/switches/ unmanaged/gs116lp/ [16] Serial Device Server, z.B. Moxa NPort, https: //www.moxa.com/en/products/industrial-edgeconnectivity/serial-device-servers/terminalservers/nport-6400-6600-series [17] NeXus File Format, http://www.nexusformat.org [18] Phoebus framework, https://github.com/ ControlSystemStudio/phoebus General

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.