Optimization of PID Controller Parameters Using a Hybrid PSO Algorithm
Xia Zhang,Yue Yang
DOI: https://doi.org/10.1007/s40435-024-01455-y
2024-01-01
International Journal of Dynamics and Control
Abstract:PID controller parameter optimization is crucial for improving system stability, reliability, and responsiveness. To improve the efficiency of a PID controller, a hybrid algorithm, HPSO, based on particle swarm optimization algorithm (PSO) and simulated annealing (SA) algorithms is proposed. The HPSO algorithm is used to optimize the control parameters. Adaptive weights and dynamic learning factors are introduced to improve the global optimization ability of the PSO algorithm. The simulated annealing (SA) mechanism is incorporated into the particle swarm optimization (PSO) algorithm. The Metropolis criterion and cooling mechanism are used to guide the population to accept inferior solutions with dynamic jump probabilities, so that the algorithm can escape local optima and effectively improve its global search ability. The experimental results show that compared with the SA algorithm, basic particle swarm optimization algorithm and inertial weight coefficient particle swarm optimization algorithm, the HPSO algorithm has fast convergence speed and strong global search ability. Then, the population particles are defined using the coefficients to implement a unique fitness function, which is consistent with the control objectives of achieving fast system response while minimizing overshoot. Finally, taking a typical second-order temperature control delay system and CNC machine feed servo system as the control objects, the HPSO algorithm is compared with genetic algorithm and seeker optimization algorithm. The simulation results show that the optimized PID parameters obtained from the HPSO algorithm has low overshoot, better steady-state, and dynamic response.