Please wait a minute...
浙江大学学报(工学版)  2022, Vol. 56 Issue (12): 2321-2329    DOI: 10.3785/j.issn.1008-973X.2022.12.001
机械工程     
基于多种群竞争松鼠搜索算法的机械臂时间最优轨迹规划
赵业和1,2(),刘达新1,2,刘振宇1,2,*(),谭建荣1,2
1. 浙江大学 计算机辅助设计与图形学国家重点实验室,浙江 杭州 310027
2. 设计工程及数字孪生浙江省工程研究中心,浙江 杭州 310027
Time-optimal trajectory planning of manipulator based on multi-group competition squirrel search algorithm
Ye-he ZHAO1,2(),Da-xin LIU1,2,Zhen-yu LIU1,2,*(),Jian-rong TAN1,2
1. State Key Laboratory of CAD & CG, Zhejiang University, Hangzhou 310027, China
2. Engineering Research Center for Design Engineering and Digital Twin of Zhejiang Province, Hangzhou 310027, China
 全文: PDF(1645 KB)   HTML
摘要:

针对传统智能优化算法在机械臂关节空间进行时间最优轨迹规划应用中存在的寻优效率低、优化结果全局性和稳定性差的问题,提出新的机械臂时间最优轨迹规划方法. 在建立机械臂关节空间内的时间最优轨迹规划模型时考虑位置约束,根据输入的关节点列,使用S形曲线估算时间的取值区间,对生成算法的所有个体进行多种群竞争迭代,得出机械臂关节空间轨迹规划的时间最优解. 与不同算法的仿真对比试验结果表明,所提方法较传统的优化算法具有更高的寻优效率和更好的优化全局性;所提方法的稳定性好,其多次优化结果的方差相较单种群算法低3个数量级.

关键词: 关节空间轨迹规划松鼠搜索算法多项式插值机械臂    
Abstract:

Aiming at the problems of low optimization efficiency, poor global and stability of optimization results in the application of traditional intelligent optimization algorithms to time-optimal trajectory planning of manipulator in the joint space, a new time-optimal trajectory planning method for manipulator was proposed. The position constraints were considered when the time-optimal trajectory planning model in the joint space of the manipulator was established. According to the input joint point sequence, an S-shaped curve was used to estimate the time interval, and all the individuals in the algorithm were generated to perform multi-group competition iterations. After that, the time-optimal solution of trajectory planning of manipulator in the joint space was obtained. Results of simulation comparison experiments with different algorithms show that the proposed method has higher optimization efficiency and better global optimization than the traditional optimization algorithms. Also, the proposed method has good stability. The variance of its multiple optimization results can be 3 orders of magnitude lower than that of the single population algorithm.

Key words: joint space    trajectory planning    squirrel search algorithm    polynomial interpolation    manipulator
收稿日期: 2022-01-19 出版日期: 2023-01-03
CLC:  TP 242  
基金资助: 国家重点研发计划资助项目(2019YFB1312600);浙江省重点研发计划资助项目(2021C01008)
通讯作者: 刘振宇     E-mail: zhaoyehe@zju.edu.cn;liuzy@zju.edu.cn
作者简介: 赵业和(1998—),男,硕士生,从事机器人与智能制造研究. orcid.org/0000-0001-9793-9716. E-mail: zhaoyehe@zju.edu.cn
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
作者相关文章  
赵业和
刘达新
刘振宇
谭建荣

引用本文:

赵业和,刘达新,刘振宇,谭建荣. 基于多种群竞争松鼠搜索算法的机械臂时间最优轨迹规划[J]. 浙江大学学报(工学版), 2022, 56(12): 2321-2329.

Ye-he ZHAO,Da-xin LIU,Zhen-yu LIU,Jian-rong TAN. Time-optimal trajectory planning of manipulator based on multi-group competition squirrel search algorithm. Journal of ZheJiang University (Engineering Science), 2022, 56(12): 2321-2329.

链接本文:

https://www.zjujournals.com/eng/CN/10.3785/j.issn.1008-973X.2022.12.001        https://www.zjujournals.com/eng/CN/Y2022/V56/I12/2321

图 1  松鼠搜索算法的流程图
图 2  多种群竞争策略示意图
图 3  多种群竞争松鼠搜索算法解决时间最优轨迹规划问题流程图
图 4  机械臂实物图
i αi?1/(°) ai?1/mm di/mm θi/(°)
1 0 0 249 0
2 90 0 0 0
3 90 0 264 0
4 ?90 0 0 0
5 90 0 243 0
6 ?90 0 0 ?90
7 ?90 90 80 ?90
表 1  机械臂的D-H参数
图 5  有无位置约束的轨迹优化结果对比
点列 I/(°)
关节1 关节2 关节3 关节4 关节5 关节6 关节7
0 0 70 0 70 ?20 ?40 0
1 40 ?5 ?90 60 40 20 60
2 160 65 ?10 20 5 ?60 120
3 50 ?10 ?70 90 ?60 20 ?30
4 ?25 50 ?25 40 150 ?70 60
5 ?120 ?40 ?75 90 ?5 ?130 ?50
表 2  机械臂的关节位置序列
图 6  松鼠搜索算法的适应度变化曲线
图 7  遗传算法的适应度变化曲线
图 8  多种群竞争松鼠搜索算法的适应度变化曲线
图 9  机械臂的关节运动轨迹图像
点数 $ {t_{{\text{GA}}}} $/s ${t_{{\text{SSA}}}}$/s ${t_{{\text{MSSA}}}}$/s ${I_{{\text{SSA}}}}$/% ${I_{{\text{MSSA}}}}$/%
7 13.432 6 12.569 5 12.522 8 6.425 4 6.773 1
8 15.252 4 13.771 7 13.646 7 9.708 0 10.527 5
9 16.566 1 15.763 8 15.049 4 4.843 0 9.155 4
10 18.014 9 16.847 9 16.171 5 6.478 0 10.232 6
11 19.629 1 17.713 9 17.505 1 9.756 9 10.820 7
12 21.862 3 19.590 9 18.928 4 10.389 6 13.419 9
13 23.129 3 20.932 9 19.766 9 9.496 2 14.537 4
14 24.193 2 22.209 0 21.256 7 8.201 5 12.137 7
15 26.475 5 23.676 0 22.580 1 10.573 9 14.713 2
16 30.319 4 27.810 1 25.683 9 8.276 2 15.288 9
17 33.922 3 30.674 3 29.208 6 9.574 8 13.895 6
18 34.506 4 31.016 3 30.525 7 10.114 4 11.536 1
19 36.061 2 33.230 9 32.802 3 7.848 6 9.037 1
20 39.790 4 36.577 9 34.787 0 8.073 6 12.574 4
表 3  不同路径点数下各算法得到的插值时间对比
算法 $\overline T$/s ${S^2}$/s2
GA 11.671 2 0.019 6
SSA 11.119 6 0.018 0
MSSA 11.049 4 8.5×10?5
表 4  不同算法优化结果的稳定性对比
1 约翰 J. 克雷格. 机器人学导论(原书第4版)[M]. 贠超, 王伟, 译. 北京: 机械工业出版社, 2018: 144-161.
2 居鹤华, 付荣 基于GA的时间最优机械臂轨迹规划算法[J]. 控制工程, 2012, 19 (3): 472- 477
JU He-hua, FU Rong Time-optimal trajectory planning algorithm based on GA for manipulator[J]. Control Engineering of China, 2012, 19 (3): 472- 477
doi: 10.3969/j.issn.1671-7848.2012.03.026
3 LIU C, CAO G H, QU Y Y, et al An improved PSO algorithm for time-optimal trajectory planning of Delta robot in intelligent packaging[J]. The International Journal of Advanced Manufacturing Technology, 2020, 107: 1091- 1099
doi: 10.1007/s00170-019-04421-7
4 HUANG P F, XU Y S. PSO-based time-optimal trajectory planning for space robot with dynamic constraints [C]// 2006 IEEE International Conference on Robotics and Biomimetics. Kunming: IEEE, 2006: 1402-1407.
5 GASPARETTO A, ZANOTTO V Optimal trajectory planning for industrial robots[J]. Advances in Engineering Software, 2010, 41 (4): 548- 556
doi: 10.1016/j.advengsoft.2009.11.001
6 朱世强, 刘松国, 王宣银, 等 机械手时间最优脉动连续轨迹规划算法[J]. 机械工程学报, 2010, 46 (3): 47- 52
ZHU Shi-qiang, LIU Song-guo, WANG Xuan-yin, et al Time-optimal and jerk-continuous trajectory planning algorithm for manipulators[J]. Journal of Mechanical Engineering, 2010, 46 (3): 47- 52
doi: 10.3901/JME.2010.03.047
7 殷凤健, 梁庆华, 程旭, 等 基于时间最优的机械臂关节空间轨迹规划算法[J]. 机械设计与研究, 2017, 33 (5): 12- 15
YIN Feng-jian, LIANG Qing-hua, CHENG Xu, et al Research on mechanical arm joint space trajectory planning algorithm based on optimal time[J]. Machine Design and Research, 2017, 33 (5): 12- 15
doi: 10.13952/j.cnki.jofmdr.2017.0183
8 汪婷, 罗欣 一种六轴机械臂时间最优轨迹规划方法[J]. 工业控制计算机, 2021, 34 (4): 66- 69
WANG Ting, LUO Xin A time-optimal trajectory planning method for manipulators[J]. Industrial Control Computer, 2021, 34 (4): 66- 69
doi: 10.3969/j.issn.1001-182X.2021.04.027
9 ZHAO J, ZHU X J, SONG T J Serial manipulator time-jerk optimal trajectory planning based on hybrid IWOA-PSO algorithm[J]. IEEE Access, 2022, 10: 6592- 6604
doi: 10.1109/ACCESS.2022.3141448
10 ZHANG L H, WANG Y, ZHAO X Y, et al Time-optimal trajectory planning of serial manipulator based on adaptive cuckoo search algorithm[J]. Journal of Mechanical Science and Technology, 2021, 35: 3171- 3181
doi: 10.1007/s12206-021-0638-5
11 XIDIAS E K Time-optimal trajectory planning for hyper-redundant manipulators in 3D workspaces[J]. Robotics and Computer-Integrated Manufacturing, 2018, 50: 286- 298
doi: 10.1016/j.rcim.2017.10.005
12 YU X L, DONG M S, YIN W M Time-optimal trajectory planning of manipulator with simultaneously searching the optimal path[J]. Computer Communications, 2022, 181: 446- 453
doi: 10.1016/j.comcom.2021.10.005
13 ZHANG T, ZHANG M H, ZOU Y B Time-optimal and smooth trajectory planning for robot manipulators[J]. International Journal of Control, Automation and Systems, 2021, 19: 521- 531
doi: 10.1007/s12555-019-0703-3
14 MA J W, GAO S, YAN H T, et al A new approach to time-optimal trajectory planning with torque and jerk limits for robot[J]. Robotics and Autonomous Systems, 2021, 140: 103744
doi: 10.1016/j.robot.2021.103744
15 PALLESCHI A, HAMAD M, ABDOLSHAH S, et al Fast and safe trajectory planning: solving the Cobot performance/safety trade-off in human-robot shared environments[J]. IEEE Robotics and Automation Letters, 2021, 6 (3): 5445- 5452
doi: 10.1109/LRA.2021.3076968
16 GAO M Y, DING P, YANG Y X. Time-optimal trajectory planning of industrial robots based on particle swarm optimization [C]// 2015 Fifth International Conference on Instrumentation and Measurement, Computer, Communication and Control (IMCCC). Qinhuangdao: IEEE, 2015: 1934-1939.
17 石川, 赵彤, 叶佩青, 等 数控系统S曲线加减速规划研究[J]. 中国机械工程, 2007, (12): 1421- 1425
SHI Chuan, ZHAO Tong, YE Pei-qing, et al Study on S-shape curve acceleration and deceleration control on NC system[J]. China Mechanical Engineering, 2007, (12): 1421- 1425
doi: 10.3321/j.issn:1004-132X.2007.12.009
[1] 丁孺琦,李望笃,李刚,胡国良. 基于最小流量的液压机械臂冗余分解[J]. 浙江大学学报(工学版), 2022, 56(9): 1882-1890.
[2] 丁萌,顾秀涛,郑先杰,郭毓. 基于模糊补偿的连续型空间机械臂预定时间控制[J]. 浙江大学学报(工学版), 2022, 56(6): 1175-1180.
[3] 金丁灿,蒋君侠,来建良,金杰峰,吴德慧,沈琛林,宋文博. 后处理全齿轮传动机械臂的设计[J]. 浙江大学学报(工学版), 2022, 56(5): 864-872.
[4] 宋晓晨,姚骁帆,叶尚军. 基于伪谱法的小型超音速无人机轨迹优化[J]. 浙江大学学报(工学版), 2022, 56(1): 193-201.
[5] 蒋君侠,掌新辕,陶邦明,董群. 基于被动柔顺机理的电机遥操作更换机构设计和实验[J]. 浙江大学学报(工学版), 2021, 55(5): 855-865.
[6] 李琳,薛泽浩,蔡蒂,张铁. 管道内壁四足爬壁机器人的运动学与步态规划[J]. 浙江大学学报(工学版), 2021, 55(12): 2286-2297.
[7] 王泽胜,李研彪,罗怡沁,孙鹏,陈波,郑航. 七自由度冗余混联机械臂的动力学分析[J]. 浙江大学学报(工学版), 2020, 54(8): 1505-1515.
[8] 徐彦,方琴,张超,李鸿巍. 气动软体自折叠机械臂的驱动和负载性能[J]. 浙江大学学报(工学版), 2020, 54(2): 398-406.
[9] 吴爱国,吴绍华,董娜. 机械臂非奇异快速终端滑模模糊控制[J]. 浙江大学学报(工学版), 2019, 53(5): 862-871.
[10] 秦超, 梁喜凤, 路杰, 彭明, 金超杞. 七自由度番茄收获机械手的轨迹规划与仿真[J]. 浙江大学学报(工学版), 2018, 52(7): 1260-1266.
[11] 王扬威, 兰博文, 刘凯, 赵东标. 形状记忆合金丝驱动的柔性机械臂建模与实验[J]. 浙江大学学报(工学版), 2018, 52(4): 628-634.
[12] 王晨学, 平雪良, 徐超. 解决约束平面偏移问题的机械臂闭环标定[J]. 浙江大学学报(工学版), 2018, 52(11): 2110-2119.
[13] 王明斗, 陶建峰, 覃程锦, 刘成良. 空间余量最优的拼装机轨迹规划[J]. 浙江大学学报(工学版), 2017, 51(3): 453-460.
[14] 陈鹏, 项基, 韦巍. 基于GWLN方法的冗余机械臂关节力矩约束控制[J]. 浙江大学学报(工学版), 2017, 51(1): 68-74.
[15] 潜龙昊, 胡士强, 杨永胜. 多节双八面体变几何桁架臂逆运动学解析算法[J]. 浙江大学学报(工学版), 2017, 51(1): 75-81.