A packet-level digital hardware twin for commissioning megahertz diagnostic edge AI and plasma control system integration in tokamaks
Semin Joung, Abhilasha Dave, Luca Scomparin, Filipp Khabanov, Zheng Yan, Benedikt Geiger, George McKee, Ryan N. Coffee, David R. Smith
Abstract
High-bandwidth plasma diagnostics increasingly provide inputs to machine learning and signal-processing algorithms intended for real-time tokamak control, but the complete path from diagnostic sampling to control-system handoff is difficult to commission because of their sampling rates. We develop a packet-level digital hardware twin for the megahertz diagnostic edge-AI architecture. The simulator represents a 64-channel, 1 MHz beam emission spectroscopy (BES) diagnostic embedded in a 96-channel dual-carrier acquisition system, two 48-channel streams with SPAD0 sample counters, 10 GbE Hardware UDP transport, packet loss and network jitter, FPGA parsing and dual-carrier alignment, causal preprocessing and edge inference, a compact Ethernet result packet, receiver-side shared state, and a 1 kHz PCS-like control cycle. Binary UDP payloads and PCAP files are generated rather than emulating transport only at the array level. With a baseline of 20 samples per packet, each carrier generates 50,000 packets s and 100 MB s of user payload. A 110 ms reference run produces 11,000 HUDP packets; an intentionally dropped 20-sample packet is detected by the sample-counter continuity logic and invalidates the two overlapping 128-sample inference windows without silent interpolation. For valid windows, the configured engineering latency model gives a median last-input-to-shared-memory latency of 91.6 us and a 99th percentile of 108.1 us. A separate operating-system loopback test sends binary FPGA-result datagrams through a UDP receiver into POSIX shared memory and preserves packet sequence and CRC for 20/20 packets. Interactive GUI interfaces expose timing, packetization, network faults, inference thresholds, and control-state inspection. The framework provides a reproducible environment for testing diagnostic-to-accelerator interfaces and fail-safe behavior for deployment on fusion devices.
Create a lesson
Related papers
Embedded Trigger Control System for Wave--Plasma Interaction Experiments in Large Volume Plasma Device
Shared title terminology · P. K. Srivastav, Deepak Rajpurohit, A. K. Sanyasi et al.
How zonal states beat-driven by Alfven eigenmodes stabilize micro-turbulence in tokamak plasmas
Shared title terminology · Liu Chen, Zhiyong Qiu, Tiancheng Liu et al.
DIVO: a direct divertor configuration plasma start-up scheme aimed at tokamak fusion reactors
Shared title terminology · Wenbin Liu, Jinping Qian, Long Zeng et al.
Kinetic-Ballooning and Resistive X-Point Dynamics in Quasicontinuous Exhaust Tokamak Plasmas
Shared title terminology · Kaiyu Zhang, Wladimir Zholobenko, Andreas Stegmeir et al.
Impurity turbulent transport and its role in driving zonal flows in tokamak plasmas
Shared title terminology · Yuesong Li, Zihao Wang, Haochuan Wang et al.
Multi-dimensional kinetic modeling of laser-plasma instabilities by a Vlasov-Maxwell system
Shared title terminology · Y. Chen, D. J. Liu, X. D. Cao et al.