Enabling Integrated AI Control on DIII-D: A Control System Design with State-of-the-art Experiments
Andrew Rothstein, Hiro Joseph Farre-Kaga, Jalal Butt, Ricardo Shousha, Keith Erickson, Takuma Wakatsuki, Azarakhsh Jalalvand, Peter Steiner, Sangkyeun Kim, Egemen Kolemen
TL;DR
The paper presents PACMAN, a modular, real-time framework for Prediction And Control using MAchiNe learning, implemented on the DIII-D tokamak to enable end-to-end ML-driven control experiments. By separating diagnostic inputs, model computations, controllers, and actuation post-processing across a three-level design, PACMAN achieves scalable, fault-tolerant operation that can integrate diverse ML models (RL, survival models, RC networks) and standard controllers (PID, FSM, MPC). Five experimental deployments demonstrate the framework's versatility, including RL-based beta_N/ITB control, TM suppression with ECCD, ELM prediction, AE suppression, and latent-space MPC for profile control, with cycle times from sub-ms to tens of ms. The work provides design principles and an appendix with practical planning guidance to extend PACMAN to future diagnostics, actuators, and hardware accelerators, signaling a path toward broader adoption of integrated ML control in fusion devices.
Abstract
We present the design and application of a general algorithm for Prediction And Control using MAchiNe learning (PACMAN) in DIII-D. Machine learing (ML)-based predictors and controllers have shown great promise in achieving regimes in which traditional controllers fail, such as tearing mode free scenarios, ELM-free scenarios and stable advanced tokamak conditions. The architecture presented here was deployed on DIII-D to facilitate the end-to-end implementation of advanced control experiments, from diagnostic processing to final actuation commands. This paper describes the detailed design of the algorithm and explains the motivation behind each design point. We also describe several successful ML control experiments in DIII-D using this algorithm, including a reinforcement learning controller targeting advanced non-inductive plasmas, a wide-pedestal quiescent H-mode ELM predictor, an Alfvén Eigenmode controller, a Model Predictive Control plasma profile controller and a state-machine Tearing Mode predictor-controller. There is also discussion on guiding principles for real-time machine learning controller design and implementation.
