NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Performance-Driven Cascade Controller Tuning with Bayesian Optimization

Mohammad Khosravi, Varsha Behrunani, Piotr Myszkorowski, Roy S. Smith, Alisa Rupenyan, John Lygeros · DOI

Abstract

High-precision mechatronic systems often rely on complex cascade control architectures that are notoriously difficult to tune. This paper presents a model-free, data-efficient approach using Bayesian Optimization (BO) to jointly optimize multiple control loops. By treating the system as a black box and iteratively refining a probabilistic surrogate model, the proposed method achieves near-optimal tracking performance with significantly fewer experimental trials than traditional heuristics.

Introduction

In the realm of high-precision manufacturing, linear axis drives—such as ball-screw systems—are the backbone of production. These systems typically utilize cascade control, a nested series of feedback loops governing position, speed, and current. Traditionally, tuning these loops is a labor-intensive process. Engineers often resort to sequential tuning from the innermost loop outward, a method that is not only time-consuming but frequently results in conservative settings that fail to exploit the system's full performance potential.

Existing autotuning methods, such as relay tuning, often struggle with the intricate interactions between nested loops or require highly accurate mathematical models. Such models are difficult to maintain as mechanical wear and friction change over time. This research addresses the need for a robust, model-free optimization strategy that can find global optima for controller gains without exhaustive grid searches.

Methodology: Bayesian Optimization for Cascade Control

The core of the proposed solution is the application of Bayesian Optimization (BO) to the controller tuning problem. BO treats the tuning process as a "black-box" optimization, where the goal is to minimize a performance-based cost function $f(x)$.

The Tuning Loop

The optimization process follows an iterative cycle:

  1. Cost Function Definition: Performance is quantified as a weighted sum of overshoot, settling time, steady-state error, and the Integral of Time-weighted Absolute Error (ITAE).
  2. Surrogate Modeling: Gaussian Process Regression (GPR) is used to build a probabilistic model of the system's performance based on previous experimental data.
  3. Acquisition Function: The Gaussian Process Lower Confidence Bound (GP-LCB) balances exploration of uncertain gain regions with exploitation of known high-performance areas.
  4. Joint Optimization: Unlike sequential methods, BO tunes position and speed loop parameters ($K_p, K_v, K_i$) simultaneously, accounting for their interdependencies.
The proposed Bayesian Optimization framework for automated controller tuning.

Experimental Validation and Benchmarking

The methodology was validated through both high-fidelity numerical simulations of a ball-screw system and real-time experiments on a physical linear motion stage. The experimental setup utilized a permanent magnet AC motor controlled by a Sigmatek PLC.

Key Results

The BO algorithm demonstrated remarkable efficiency and precision:

  • Rapid Convergence: In physical experiments, the algorithm converged to optimal parameters in just 18 iterations.
  • Superior Tracking: The BO-tuned controller significantly outperformed manual "nominal" tuning, reducing position overshoot and achieving faster settling times.
  • Benchmarking: Simulation results showed that BO achieved a cost score (4586) nearly identical to an exhaustive grid search (4557), while vastly outperforming classical methods like Ziegler-Nichols (28434) and Relay Tuning (23396).
Comparative performance of various tuning methods in simulation, showing the superiority of the performance-based BO approach.

Discussion and Future Directions

A primary insight from this work is that joint tuning of all parameters simultaneously avoids the sub-optimal local minima inherent in sequential tuning. Furthermore, BO’s inherent robustness to measurement noise, such as resolver jitter, makes it particularly suitable for real-world industrial environments.

Despite its success, some challenges remain. Current implementations require predefined "safe" gain ranges to ensure stability during the exploration phase. Future work will focus on "Safe BO" techniques that incorporate stability constraints directly into the acquisition function. Additionally, as the number of iterations grows, the computational cost of GPR increases, suggesting a need for sparse GP approximations in extended tuning sessions.

Conclusion

This paper demonstrates that Bayesian Optimization offers a powerful, data-efficient alternative to traditional controller tuning. By automating the search for optimal gains in a model-free manner, manufacturers can achieve higher precision and better disturbance rejection with minimal manual intervention.

Summary updated

BibTeX
@article{khosravi2020performance,
  author = {Mohammad Khosravi and Varsha Behrunani and Piotr Myszkorowski and Roy S. Smith and Alisa Rupenyan and John Lygeros},
  title = {{Performance-Driven Cascade Controller Tuning with Bayesian Optimization}},
  journal = {IEEE Trans. Industrial Electronics},
  year = {2020},
  doi = {10.1109/tie.2021.3050356},
}
Figure