LLM-based PID controller optimization
This study explores the application of Large Language Models (LLMs) to optimize Proportional-Integral-Derivative (PID) controller parameters, aiming to automate a process traditionally reliant on manual, iterative tuning. Conventional methods often depend on heuristics and trial-and-error, requiring significant time and expertise. To address this, an LLM-based approach was developed that iteratively adjusts controller gains using real-time system feedback, substantially reducing the need for manual input. An adaptive tuning strategy, featuring predefined modes and levels of aggressiveness, was designed to balance response speed, minimize overshoot, and ensure system stability. The method was validated through computer simulations across a range of carefully selected process models and benchmarked against state-of-the-art expert-driven tuning techniques, demonstrating its effectiveness in reducing tuning time according to the selected mode while maintaining or improving system robustness. Results showed that LLMs, without additional model fine-tuning and guided solely by prompt engineering, can effectively optimize PID parameters. These findings demonstrate the promise of LLM-driven methods for advancing automation in PID controller tuning.
Authors
- Kamenko Ilija (ORCID: https://orcid.org/0000-0003-3352-7637)
- Velimir Čongradac (ORCID: https://orcid.org/0000-0002-2246-8945)
- Slobodan Ilić (ORCID: https://orcid.org/0000-0002-3413-1936)
Institutions
- University of Novi Sad (RS)
Publication Details
- Published
- 2025-06-16
- DOI
- https://doi.org/10.23919/splitech65624.2025.11091752
- Primary Topic
- Advanced Control Systems Design
- Type
- article
- Field-Weighted Citation Impact
- 0.00