You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ensure the complete reproducibility of the optimization strategies evaluated in the AO-Controller framework, this section outlines the underlying mathematical formulations, search spaces, canonical hyperparameters, and academic references used across all six operational paradigms.
1. Cost Function (Objective Function)
All optimization algorithms (SPSA, GA, PSO, Bayes, Optuna, and RL) operate on an identical batch window of $N = 300$ error samples (defined as #Errors in the experimental setup). The common objective is to minimize system chatter and controller aggressiveness by minimizing the cumulative absolute magnitude of the computed controller output signal $u_t$:
Continuous Gymnasium space tracking three localized PID errors
Action Space (A)
$a_t = [\Delta K_p, \Delta K_i, \Delta K_d]^T$
Continuous adjustments bounded within $[-0.0005, 0.0005]^3$
Step Reward (R_t)
$R_t = -|u_t|$
Cost-driven negative penalty tracking absolute control effort
Training Budget / Setup
5,000 timesteps
Total environment interaction steps per online training sequence [19]
Learning Rate (eta)
$0.0003$
Canonical initial step optimizer Adam configuration [19]
Training Procedure
Online / Runtime
Trained dynamically on active data sliding batches [19]
Hardware Device
device="cpu"
Localized CPU constraint to ensure architecture-agnostic execution
Operational Bounds
$[0.0, 1.0]$
Environment clipping thresholds enforced on absolute active gains
3. Jitter Control & Post-Processing Safeguards
Stochastic optimizers can occasionally introduce noisy gain suggestions. To protect the physical plant from aggressive chattering and ensure closed-loop stability, every recommended parameter set passes through an intermediate Jitter Control filter:
Deadzone Threshold: Updates smaller than $\delta < 10^{-6}$ are discarded to block numerical oscillations driven by measurement background noise.
Dynamic Saturation Cap: The max rate of change between successive adjustments is clamped at $\Delta_{\text{max}} = 15%$ relative to the active value to suppress sudden actuator spikes.
Exponential Smoothing Factors: Valid filtered updates are passed through individual Exponential Moving Average (EMA) channels to ensure a bumpless transfer:
Proportional Gain Filter: $\alpha_p = 0.20$
Integral Gain Filter: $\alpha_i = 0.05$
Derivative Gain Filter: $\alpha_d = 0.40$
4. Code References (Academic Bibliography)
[14] J. Spall, "Multivariate stochastic approximation using a simultaneous perturbation gradient approximation," IEEE Transactions on Automatic Control, vol. 37, no. 3, pp. 332-341, 1992.
[15] D. E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning, 1st ed. USA: Addison-Wesley Longman Publishing Co., Inc., 1989.
[16] J. Kennedy and R. Eberhart, "Particle swarm optimization," in Proceedings of ICNN'95 - International Conference on Neural Networks, vol. 4, 1995, pp. 1942-1948.
[17] B. Shahriari, K. Swersky, Z. Wang, R. P. Adams, and N. de Freitas, "Taking the human out of the loop: A review of bayesian optimization," Proceedings of the IEEE, vol. 104, no. 1, pp. 148-175, 2016.
[18] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama, "Optuna: A next-generation hyperparameter optimization framework," in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2019, pp. 2623–2631.
[19] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, "Proximal policy optimization algorithms," arXiv preprint arXiv:1707.06347, 2017.