Journals of Accelerator Conferences Website (JACoW)
JACoW
is a publisher in Geneva, Switzerland that publishes the
proceedings of accelerator conferences held around the world
by an international collaboration of editors.
| URL | https://doi.org/10.18429/JACoW-ICALEPCS2025-THBR004 |
|---|---|
| Title | EBPFCat - an open source EtherCAT implementation for experimental control |
| Authors |
|
| Abstract | EtherCAT has become a popular communication protocol for controlling equipment in large facilities. Although it is an open standard that can be used on common hardware, commercial solutions on specialized hardware are usually employed. Here we introduce EBPFCat, a fully open-source implementation of the EtherCAT protocol that can be used on any modern Linux system without the need to write kernel modules. In EBPFCat, non-time-critical parts are implemented in Python, while real-time performance and reliability are ensured through the use of EBPF, a virtual machine embedded within the Linux kernel. EBPFCat contains a code generator that allows EBPF programs to be generated directly from Python without the need of separate compilation tools. These programs are verified for correctness by the Linux kernel and executed therein, allowing for feedback bandwidths exceeding 10 kHz. The EBPF code generator is a generic solution that can also be used for unrelated EBPF programs. EBPFCat is a standalone project that operates independently of any specific high-level control system. Nevertheless, it has already been integrated into Karabo*, the control system used at the European XFEL. We show applications for a large variety of control problems, from simple vacuum systems to intricate feedback loops for motion control. |
| Paper | download: THBR004.pdf |
| Cite | BibTeX, LaTeX, Text/Word, RIS, EndNote |
| Conference | 20th Int. Conf. Accel. Large Exp. Phys. Control Syst. (ICALEPCS'25) |
| Series | |
| Location | Chicago, IL, USA |
| Date | 20-26 Sep 2025 |
| Publisher | JACoW Publishing, Geneva, Switzerland |
| Editorial Board | Kent Wootton (ANL), Jeffery Biss (FNAL), Gustavo Bruno (ANL), Jeff Kirchman (ANL), Kelly Jaje (ANL), Denise Skiadopoulos (ANL), SuYin Grass Wang (ANL) |
| Online ISBN | 978-3-95450-255-4 |
| Online ISSN | 2226-0358 |
| Received | 05 September 2025 |
| Revised | 23 September 2025 |
| Accepted | 28 October 2025 |
| Issued | 25 November 2025 |
| DOI | 10.18429/JACoW-ICALEPCS2025-THBR004 |
| Pages | 1387-1391 |
| Copyright | Published by JACoW Publishing under the terms of the Creative Commons Attribution 4.0 license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI. |