The invention discloses a
particle accelerator system loop parameter on-line intelligent regulation and control method and device based on a large
language model, and the method comprises the steps: obtaining the cavity operation data of a
radio frequency cavity in real time, calculating the
system state parameter of the current cavity, judging whether the
system state parameter meets an adjustment and optimization termination condition or not, and continuing if the adjustment and optimization termination condition is not met; converting the system
state parameter and the PI parameter tuning target into a structured system state description described by a
natural language, and generating a task execution cue word; analyzing a system state by using a large
language model based on the task execution cue word, and reasoning a PI parameter value; analyzing the output of the large
language model, accurately extracting PI parameter values, and performing rationality check on the accurately extracted PI parameter values; and performing application execution on the extracted PI parameter value, and repeating the tuning process until tuning is completed. Therefore, an
effective solution is provided for automatic PI parameter tuning, and the
time cost and professional skill requirements of manual debugging are remarkably reduced while the quality of tuning is ensured.