Research on trajectory planning of drill rig manipulator based on improved particle swarm optimization
-
摘要: 钻车机械手是防突防冲钻车的重要装置,关系着钻车是否可以正常钻进及真正实现无人化。为确保钻车机械手快速、准确、平稳运行,其轨迹规划优化尤为重要。现有钻车机械手轨迹规划存在阶次较高、优化算法易早熟等问题。针对上述问题,提出了一种基于改进粒子群(PSO)算法的钻车机械手时间最优轨迹规划方法。首先,利用标准Denavit−Hartenberg(D−H)构建钻车机械手三维模型,通过蒙特卡洛法得到钻车机械手的工作空间,从工作空间中选取4个途径点作为插值点。然后,为了使钻车机械手能够快速平稳地到达指定位置,在关节空间中采用3−5−3分段多项式插值构造其轨迹。最后,通过改进PSO算法对构造的轨迹进行时间最短优化,得到钻车机械手的时间最优轨迹规划。Matlab仿真结果表明:基于改进PSO算法的钻车机械手时间最优轨迹规划方法可以在保证钻车机械手各关节运行平稳的同时,使运行时间从3.1685 s减少到2.3854 s,整体运行时间较优化前减少约25%,提高了机械手的工作效率。Abstract: The manipulator is an important device of anti-outburst and anti-impact drill rig, which is related to whether the drill rig can drill normally and truly realize unmanned operation. In order to ensure the rapid, accurate and stable operation of the drill rig manipulator, the trajectory planning optimization is particularly important. There are some problems in the existing trajectory planning of drill rig manipulator, such as higher order, prematurity of optimization algorithm and so on. In order to solve the above problems, a time optimal trajectory planning method of drill rig manipulator based on improved particle swarm optimization ( PSO) algorithm is proposed. Firstly, the 3D model of the drill rig manipulator is constructed by using the standard Denavit-Hartenberg ( D-H), and the workspace of the manipulator is obtained by Monte Carlo method, and four path points are selected as interpolation points from the workspace. Secondly, in order to make the manipulator reach the specified position quickly and smoothly, the trajectory of the manipulator is constructed by using 3-5-3 piecewise polynomial interpolation in the joint space. Finally, by the improved PSO algorithm, the constructed trajectory is optimized in the shortest time, and the optimal trajectory planning of the drill rig manipulator is obtained. The Matlab simulation results show that the time optimal trajectory planning method of the drill rig manipulator based on improved PSO algorithm can not only ensure the smooth operation of each joint of the drill rig manipulator, but also reduce the running time from 3.168 5 s to 2.385 4 s, reduce the overall running time by about 25% compared with that before optimization, and improve the efficiency of the manipulator.
-
表 1 机械手D-H参数
Table 1. D−H parameters of manipulator
关节 θf /(°) df /mm af /mm αf /(°) 关节变量范围/(°) 1 θ1 267 0 0 [−127.5,127.5] 2 θ2 702 0 −90 [0,60] 表 2 笛卡尔空间路径
Table 2. Cartesian space path
mm 抓杆点 路径点1 路径点2 放杆点 (0,704,267) (−277,653,267) (−460,548,267) (−657,−328,267) 表 3 关节空间的角度插值点
Table 3. Angle interpolation points in joint space
关节位置 关节1 关节2 β0 0 0 β1 0.4012 0 β2 0.6978 0 β3 2.0410 0 表 4 各关节优化结果
Table 4. Optimization results of each joint
s 关节 运行时间 tj1 tj2 tj3 关节1 0.6487 0.3919 1.3448 关节2 0 0 0 -
[1] 卢新明,阚淑婷. 煤矿动力灾害本源预警方法关键技术与展望[J]. 煤炭学报,2020,45(增刊1):128-139.LU Xinming,KAN Shuting. Key technology and prospect of the original source early warning method for coal mine dynamic disaster[J]. Journal of China Coal Society,2020,45(S1):128-139. [2] 国家煤矿安全监察局. 煤矿机器人重点研发目录[EB/OL]. [2021-08-13]. https://www.chinamine-safety.gov.cn/zfxxgk/fdzdgknr/tzgg/201901/t20190109_349156.shtml.National Coal Mine Safety Supervision Bureau. Catalogue of key research and development of coal mine robots [EB/OL]. [2021-08-13]. https://www.chinamine-safety.gov.cn/zfxxgk/fdzdgknr/tzgg/201901/t20190109_ 349156.shtml. [3] 付荣,居鹤华. 基于粒子群优化的时间最优机械臂轨迹规划算法[J]. 信息与控制,2011,40(6):802-808.FU Rong,JU Hehua. Time-optimal trajectory planning algorithm for manipulator based on PSO[J]. Information and Control,2011,40(6):802-808. [4] HUANG Junsen,HU Pengfei,WU Kaiyuan,et al. Optimal time-jerk trajectory planning for industrial robots[J]. Mechanism and Machine Theory,2018,121:530-544. doi: 10.1016/j.mechmachtheory.2017.11.006 [5] 韩顺杰,单新超,于爱君,等. 基于改进粒子群算法的工业机器人轨迹规划[J]. 制造技术与机床,2021(4):9-14.HAN Shunjie,SHAN Xinchao,YU Aijun,et al. Industrial robot trajectory planning based on improved PSO algorithm[J]. Manufacturing Technology & Machine Tools,2021(4):9-14. [6] 陈晗,李林升. 基于复合形法的时间最优机械臂轨迹规划[J]. 机械传动,2019,43(3):72-75.CHEN Han,LI Linsheng. Trajectory planning of time optimal manipulator based on complex method[J]. Mechanical Transmission,2019,43(3):72-75. [7] 乐英,岳艳波. 六自由度机器人运动学仿真及轨迹规划[J]. 组合机床与自动化加工技术,2016(4):89-92.YUE Ying,YUE Yanbo. The kinematics simulation and trajectory planning of six-DOF robot[J]. Modular Machine Tool & Automatic Manufacturing Technique,2016(4):89-92. [8] 王学琨,李刚,周东凯,等. 基于DE的时间最优6−DOF机械臂轨迹规划算法[J]. 计算机仿真,2015,32(8):332-337. doi: 10.3969/j.issn.1006-9348.2015.08.072WANG Xuekun,LI Gang,ZHOU Dongkai,et al. Time-optimal trajectory planning algorithm based on DE for 6-DOF manipulator[J]. Computer Simulation,2015,32(8):332-337. doi: 10.3969/j.issn.1006-9348.2015.08.072 [9] 赵明辉. 双臂并联煤矸石分拣机器人及其轨迹规划研究[J]. 工矿自动化,2020,46(9):57-63.ZHAO Minghui. Research on dual-arm parallel coal gangue sorting robot and its trajectory planning[J]. Industry and Mine Automation,2020,46(9):57-63. [10] 郭锐,石月,李永涛,等. 液压凿岩机器人机械臂轨迹规划研究[J]. 中国工程机械学报,2021,19(4):289-294.GUO Rui,SHI Yue,LI Yongtao,et al. Research on trajectory planning of hydraulic rock drilling robot manipulator[J]. Chinese Journal of Construction Machinery,2021,19(4):289-294. [11] 徐尤南,刘志强,陈洁. 基于粒子群算法的码垛机器人时间轨迹优化研究[J]. 华东交通大学学报,2021,38(3):75-81.XU Younan,LIU Zhiqiang,CHEN Jie. Time trajectory optimization of palletizing robot based on particle swarm optimization[J]. Journal of East China Jiaotong University,2021,38(3):75-81. [12] 赵丽娟,张海宁,岳海涛,等. 滚筒螺旋叶片的激光熔覆中机械臂路径轨迹研究[J]. 煤炭学报,2020,45(增刊2):1041-1051.ZHAO Lijuan,ZHANG Haining,YUE Haitao,et al. Path and trajectory of manipulator in laser cladding of shearer blade[J]. Journal of China Coal Society,2020,45(S2):1041-1051. [13] 王晓丽,侯媛彬,王涛. 基于VC++的工业机器人轨迹规划研究[J]. 工矿自动化,2009,35( 5):34-37.WANG Xiaoli,HOU Yuanbin,WANG Tao. Research on trajectory planning of industrial robot based on VC++[J]. Industry and Mine Automation,2009,35( 5):34-37. [14] 李小为,胡立坤,王琥. 速度约束下PSO的六自由度机械臂时间最优轨迹规划[J]. 智能系统学报,2015,10(3):393-398.LI Xiaowei,HU Likun,WANG Hu. PSO-based time optimal trajectory planning for six degrees of freedom robot manipulators with speed constraints[J]. CAAI Transactions on Intelligent Systems,2015,10(3):393-398. [15] 黄超,茅健,马丽,等. 基于改进粒子群算法的时间最优机械臂轨迹规划[J]. 上海工程技术大学学报,2020,34(3):238-246.HUANG Chao,MAO Jian,MA Li,et al. Time-optimal trajectory planning for manipulator based on improved particle swarm optimization algorithm[J]. Journal of Shanghai University of Engineering Science,2020,34(3):238-246. [16] SHI Yannan,QI Penglei,LIU Yang,et al. Channel modeling and optimization of leaky coaxial cable network in coal mine based on state transition method and particle swarm optimization algorithm[J]. IEEE Access,2021,9:86889-86898. doi: 10.1109/ACCESS.2021.3088842