| Algorithm 1 PI control method with HGSO parameter regulator |
| Import: trajectory points Output: PI parameters and tracking trajectory Initialization: Initialize HGSO parameters, , , (about PI controller parameters ), , , , etc. using Equation (17) and Equation (18) () while t < the maximum number of iterations do Set the obtained by HGSO to PI parameters for solving joint angles according to the part of PI controller. Complete the evaluation of the current by Equation (24). for each search gas particles do Update the position information using Equation (21). for end Update Henry’s coefficient of each gas type clusters using Equation (19). Update solubility of each gas using Equation (20) Select the poor particles according to Equation (22) by . Reset the position of these worst particles by Equation (19) to Equation (21). t = t + 1 while end return (The final optimized parameters ) |