1
|
Wei Y, Forelli RF, Hansen C, Levesque JP, Tran N, Agar JC, Di Guglielmo G, Mauel ME, Navratil GA. Low latency optical-based mode tracking with machine learning deployed on FPGAs on a tokamak. THE REVIEW OF SCIENTIFIC INSTRUMENTS 2024; 95:073509. [PMID: 38980128 DOI: 10.1063/5.0190354] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Received: 12/05/2023] [Accepted: 06/18/2024] [Indexed: 07/10/2024]
Abstract
Active feedback control in magnetic confinement fusion devices is desirable to mitigate plasma instabilities and enable robust operation. Optical high-speed cameras provide a powerful, non-invasive diagnostic and can be suitable for these applications. In this study, we process high-speed camera data, at rates exceeding 100 kfps, on in situ field-programmable gate array (FPGA) hardware to track magnetohydrodynamic (MHD) mode evolution and generate control signals in real time. Our system utilizes a convolutional neural network (CNN) model, which predicts the n = 1 MHD mode amplitude and phase using camera images with better accuracy than other tested non-deep-learning-based methods. By implementing this model directly within the standard FPGA readout hardware of the high-speed camera diagnostic, our mode tracking system achieves a total trigger-to-output latency of 17.6 μs and a throughput of up to 120 kfps. This study at the High Beta Tokamak-Extended Pulse (HBT-EP) experiment demonstrates an FPGA-based high-speed camera data acquisition and processing system, enabling application in real-time machine-learning-based tokamak diagnostic and control as well as potential applications in other scientific domains.
Collapse
Affiliation(s)
- Y Wei
- Department of Applied Physics and Applied Mathematics, Columbia University, New York, New York 10027, USA
| | - R F Forelli
- Real-time Processing Systems Division, Fermi National Accelerator Laboratory, Batavia, Illinois 60510, USA
- Department of Electrical and Computer Engineering, Lehigh University, Bethlehem, Pennsylvania 18015, USA
| | - C Hansen
- Department of Applied Physics and Applied Mathematics, Columbia University, New York, New York 10027, USA
| | - J P Levesque
- Department of Applied Physics and Applied Mathematics, Columbia University, New York, New York 10027, USA
| | - N Tran
- Real-time Processing Systems Division, Fermi National Accelerator Laboratory, Batavia, Illinois 60510, USA
- Department of Electrical and Computer Engineering, Northwestern University, Evanston, Illinois 60208, USA
| | - J C Agar
- Department of Mechanical Engineering and Mechanics, Drexel University, Philadelphia, Pennsylvania 19104, USA
| | - G Di Guglielmo
- Department of Electrical and Computer Engineering, Northwestern University, Evanston, Illinois 60208, USA
- Microelectronics Division, Fermi National Accelerator Laboratory, Batavia, Illinois 60510, USA
| | - M E Mauel
- Department of Applied Physics and Applied Mathematics, Columbia University, New York, New York 10027, USA
| | - G A Navratil
- Department of Applied Physics and Applied Mathematics, Columbia University, New York, New York 10027, USA
| |
Collapse
|
2
|
Seo J, Kim S, Jalalvand A, Conlin R, Rothstein A, Abbate J, Erickson K, Wai J, Shousha R, Kolemen E. Avoiding fusion plasma tearing instability with deep reinforcement learning. Nature 2024; 626:746-751. [PMID: 38383624 PMCID: PMC10881383 DOI: 10.1038/s41586-024-07024-9] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/12/2023] [Accepted: 01/03/2024] [Indexed: 02/23/2024]
Abstract
For stable and efficient fusion energy production using a tokamak reactor, it is essential to maintain a high-pressure hydrogenic plasma without plasma disruption. Therefore, it is necessary to actively control the tokamak based on the observed plasma state, to manoeuvre high-pressure plasma while avoiding tearing instability, the leading cause of disruptions. This presents an obstacle-avoidance problem for which artificial intelligence based on reinforcement learning has recently shown remarkable performance1-4. However, the obstacle here, the tearing instability, is difficult to forecast and is highly prone to terminating plasma operations, especially in the ITER baseline scenario. Previously, we developed a multimodal dynamic model that estimates the likelihood of future tearing instability based on signals from multiple diagnostics and actuators5. Here we harness this dynamic model as a training environment for reinforcement-learning artificial intelligence, facilitating automated instability prevention. We demonstrate artificial intelligence control to lower the possibility of disruptive tearing instabilities in DIII-D6, the largest magnetic fusion facility in the United States. The controller maintained the tearing likelihood under a given threshold, even under relatively unfavourable conditions of low safety factor and low torque. In particular, it allowed the plasma to actively track the stable path within the time-varying operational space while maintaining H-mode performance, which was challenging with traditional preprogrammed control. This controller paves the path to developing stable high-performance operational scenarios for future use in ITER.
Collapse
Affiliation(s)
- Jaemin Seo
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
- Department of Physics, Chung-Ang University, Seoul, South Korea
| | - SangKyeun Kim
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
- Princeton Plasma Physics Laboratory, Princeton, NJ, USA
| | - Azarakhsh Jalalvand
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
| | - Rory Conlin
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
- Princeton Plasma Physics Laboratory, Princeton, NJ, USA
| | - Andrew Rothstein
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
| | - Joseph Abbate
- Princeton Plasma Physics Laboratory, Princeton, NJ, USA
- Department of Astrophysical Sciences, Princeton University, Princeton, NJ, USA
| | | | - Josiah Wai
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
| | - Ricardo Shousha
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA
- Princeton Plasma Physics Laboratory, Princeton, NJ, USA
| | - Egemen Kolemen
- Department of Mechanical and Aerospace Engineering, Princeton University, Princeton, NJ, USA.
- Princeton Plasma Physics Laboratory, Princeton, NJ, USA.
| |
Collapse
|
3
|
Knapp PF, Lewis WE. Advanced data analysis in inertial confinement fusion and high energy density physics. THE REVIEW OF SCIENTIFIC INSTRUMENTS 2023; 94:061103. [PMID: 37862494 DOI: 10.1063/5.0128661] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Received: 09/29/2022] [Accepted: 05/17/2023] [Indexed: 10/22/2023]
Abstract
Bayesian analysis enables flexible and rigorous definition of statistical model assumptions with well-characterized propagation of uncertainties and resulting inferences for single-shot, repeated, or even cross-platform data. This approach has a strong history of application to a variety of problems in physical sciences ranging from inference of particle mass from multi-source high-energy particle data to analysis of black-hole characteristics from gravitational wave observations. The recent adoption of Bayesian statistics for analysis and design of high-energy density physics (HEDP) and inertial confinement fusion (ICF) experiments has provided invaluable gains in expert understanding and experiment performance. In this Review, we discuss the basic theory and practical application of the Bayesian statistics framework. We highlight a variety of studies from the HEDP and ICF literature, demonstrating the power of this technique. Due to the computational complexity of multi-physics models needed to analyze HEDP and ICF experiments, Bayesian inference is often not computationally tractable. Two sections are devoted to a review of statistical approximations, efficient inference algorithms, and data-driven methods, such as deep-learning and dimensionality reduction, which play a significant role in enabling use of the Bayesian framework. We provide additional discussion of various applications of Bayesian and machine learning methods that appear to be sparse in the HEDP and ICF literature constituting possible next steps for the community. We conclude by highlighting community needs, the resolution of which will improve trust in data-driven methods that have proven critical for accelerating the design and discovery cycle in many application areas.
Collapse
Affiliation(s)
- P F Knapp
- Sandia National Laboratories, Albuquerque, New Mexico 87185, USA
| | - W E Lewis
- Sandia National Laboratories, Albuquerque, New Mexico 87185, USA
| |
Collapse
|