基于QTP-PSO算法的机械臂轨迹优化

Trajectory optimization of the robotic arm based on the QTP-PSO algorithm

  • 摘要: 针对机械臂轨迹规划过程中存在的轨迹耗时长、稳定性差等问题,提出一种以时间最优为目标,采用量子隧穿扰动策略粒子群(quantum tunneling perturbation strategy particle swarm optimization, QTP-PSO)算法的机械臂轨迹优化方法。首先,建立数学模型对传统粒子群算法的三种权重系数进行改进,根据搜索进程和适应度函数自动调整,提高算法的搜索效率。其次,在粒子位置更新过程中引入量子隧穿扰动策略,帮助粒子跳出次优解。再次,通过3-5-3多项式对机械臂轨迹进行插值;在速度约束条件下,利用改进后算法对轨迹进行优化。最后,利用Matlab进行仿真并利用机械臂进行实际焊接实验。实验结果表明,与传统PSO算法相比,QTP-PSO算法在收敛速度和适应度方面有明显提升;利用QTP-PSO算法优化轨迹插值时间后整体运动时长为1.528 s,对比优化前缩短约49.1%。焊接速度、质量和美观度与优化前相比均有所提升。改进后算法在保证约束条件的基础上有效提高了机械臂的工作效率和稳定性。

     

    Abstract: Aiming at the problems of long trajectory time-consuming and poor stability in the trajectory planning process of the robotic arm, a robotic arm trajectory optimisation method with the objective of time-optimisation and using the quantum tunneling perturbation strategy particle swarm optimization (QTP-PSO) algorithm is proposed. Firstly, a mathematical model is established to improve the three kinds of weight coefficients of the traditional particle swarm algorithm, which are automatically adjusted according to the search process and the fitness function to improve the search efficiency of the algorithm. Secondly, a quantum tunnelling perturbation strategy is introduced in the particle position updating process to help the particles jump out of the suboptimal solution. Thirdly, the trajectory of the robotic arm is interpolated by 3-5-3 polynomials, and the trajectory is optimised using the improved algorithm under the velocity constraints. Finally, Matlab is used to simulate and conduct real welding experiments using the robotic arm. The experimental results show that compared with the traditional PSO algorithm, the convergence speed and fitness of QTP-PSO algorithm are significantly improved. After optimizing the trajectory interpolation time by using QTP-PSO algorithm, the overall motion time is 1.528 s, which is about 49.1% shorter than before optimization. The welding speed, quality and aesthetics are improved compared with those before optimisation. The improved algorithm effectively improves the working efficiency and stability of the robotic arm on the basis of ensuring the constraints.

     

/

返回文章
返回