TL;DR
This paper presents a flexible, modular, and robust control system for the IsoDAR accelerator, built using EPICS, React Automation Studio, and custom Arduino drivers. It aims to provide a scalable solution for both large facilities and smaller university labs, enabling quick setup of control systems with off-the-shelf components and retaining upgradeability.
What Problem Does This Paper Address?
Large-scale accelerator facilities typically rely on the open-source EPICS (Experimental Physics and Industrial Control System) software, often supported by dedicated development teams. However, smaller laboratories, particularly at universities, often face challenges when implementing control systems. They may resort to commercial software like LabView or develop entirely custom, homebrewed solutions. These approaches can become cumbersome and difficult to scale as the number of controlled devices grows. The paper addresses this gap by proposing a control system that leverages the power of EPICS while being accessible and adaptable for smaller labs with limited resources, using readily available hardware like Arduinos.
Methods
The core of the proposed control system is a combination of three key components:
- EPICS (Experimental Physics and Industrial Control System): This serves as the backbone, acting as the bridge between hardware and the user interface. EPICS is a widely adopted standard in accelerator control due to its scalability and ability to support various protocols.
- React Automation Studio (RAS): This is a scalable platform that provides a comprehensive suite for instrumentation control. RAS integrates EPICS, logging, alarm handling, and a React-based GUI. It offers containerized services, enabling deployment on various machines and providing remote access and monitoring.
- Custom Arduino Drivers (libcom1): To bridge the gap between off-the-shelf microcontrollers like Arduinos and EPICS, the authors developed a custom communication protocol called
libcom1. This protocol standardizes serial communication for Arduino-based devices, allowing them to communicate directly with EPICS Input/Output Controllers (IOCs). Thelibcom1library is implemented in C++ header files and integrates with the Arduino IDE.
The integration of libcom1 into EPICS involves a minor modification to the Stream Device package to correctly parse data from devices using this protocol.
Datasets
Not discussed in the paper. The paper focuses on the system architecture and implementation rather than training or evaluating on specific datasets.
Key Insights and Ideas
- Democratizing Accelerator Control: The primary insight is the successful integration of a powerful, industry-standard control system (EPICS) with low-cost, readily available hardware (Arduinos) and a modern, scalable software suite (RAS). This significantly lowers the barrier to entry for smaller labs and educational institutions.
- Modularity and Expandability: The system's design emphasizes modularity, allowing for easy addition of new devices and components. This is crucial for projects like IsoDAR, which are expected to grow over time.
- Standardized Communication for Microcontrollers: The
libcom1protocol provides a much-needed standardized way for microcontrollers to interface with EPICS, simplifying development and reducing custom coding efforts. - Web-Based, Real-Time Interface: RAS's React-based GUI offers a modern, responsive, and real-time interface accessible from any web browser, enhancing user experience and remote monitoring capabilities.
- Integrated Data Logging and Alarm Handling: The inclusion of built-in data logging (using HDF5) and alarm management within RAS streamlines operational monitoring and troubleshooting.
Key Results
The paper demonstrates the successful implementation of this control system for the MIST-1 ion source experiment at MIT. Key results include:
- Functional Control System: The system effectively controls various devices, including power supplies, ion gauges, thermocouples, interlocks, and valves, as evidenced by the MIST-1 ion source experiment.
- Demonstrated Data Logging: The data logger successfully recorded source parameters during a filament heating test, which were then plotted and analyzed.
- Ease of Deployment: The authors provide instructions and tutorials, making the setup and deployment of this system accessible for educational purposes and DIY projects.
- Scalability for Future Projects: The system is designed to be expanded to serve the entire IsoDAR accelerator complex, indicating its robust scalability.
Limitations and Future Work
- Limitations:
- The current RAS implementation is primarily supported on Linux, although instructions for Windows Subsystem for Linux (WSL-2) are available.
- While the paper highlights the ease of use, developing familiarity with the individual tools (EPICS, RAS, libcom1) may require some time.
- Future Work:
- The system is intended to be expanded to include a radiofrequency quadrupole linear accelerator and eventually a full cyclotron.
- The authors emphasize the potential for this framework to be used in educational settings, such as lab courses or DIY projects, and have made their code and tutorials freely available on GitHub.
Summary updated