基于改进TSO_DWA算法的割草机局部避障OA
Local Obstacle Avoidance of Lawn Mower Based on Improved TSO_DWA Algorithm
针对传统动态窗口法(DWA)在密集障碍物区域和直线移动障碍物区域存在难以选取最优路径和生成路径不平滑等问题,提出了一种基于改进金枪鱼算法(TSO)觅食行为的DWA优化方法,以实现割草机的局部路径避障.首先,用Fuch无限折叠混沌法初始化金枪鱼群初始位置,来提升算法寻求最优解的搜索效率,其遍历性可有效避免传统随机初始化陷入局部最优的问题;其次,利用学习率ρ调节DWA算法权重系数的更新步长,强化路径寻优能力,并增加扰动项r和扰动系数σ,提高寻求最优权重系数的速度,减小航向角权重系数在复杂环境中占比不变导致路径不平滑的影响;最后,用改进后的评价函数对选取路径进行评价计算得分,对比迭代次数和评价得分,从而确定最优轨迹.仿真试验和草地试验表明:在仿真环境中,TSO_DWA算法在密集障碍物区域和直线移动障碍物区域能规划出更平滑、合理的运动路径;在草地和行人场景中,割草机具备自主导航能力,且定位误差与最大跟踪误差均小于等于 0.16 m,满足实际需求.
Aiming at the problems that the traditional Dynamic Window Approach(DWA)encountered difficulty in selec-ting the optimal path and generated non-smooth trajectories in areas with dense obstacles and regions with linearly moving obstacles,an improved DWA algorithm optimized by Tuna Swarm Optimization(TSO)foraging behavior was proposed for robotic lawn mower local path planning.Firstly,the initial positions of the tuna swarm were initialized using Fuch infinite folding chaos to enhance the search efficiency for optimal solutions.Its ergodicity could effectively avoid the problem of traditional random initialization falling into local optimum.Secondly,a learning rate ρ regulated the update step size of DWA's weight coefficients to strengthen path optimization,where perturbation terms r and coefficients σ were introduced to accelerate the convergence of optimal weights,and reduce the influence of the heading angle weight coefficient on the unsmooth path caused by the constant proportion of the heading angle weight coefficient in the complex environment.Fi-nally,the enhanced evaluation function scored candidate paths,and the optimal trajectory is determined by comparing iteration counts and evaluation scores.Simulation experiments and grassland experiments demonstrated that in the simula-tion environment,the TSO-DWA algorithm could plan a smoother and more reasonable motion path in the dense obstacle area and the linear moving obstacle area.In the grassland and pedestrian scenes,the mower had autonomous navigation ability,with the positioning error and the maximum tracking error≤0.16 m,which met the actual needs.
Xu Zhenghuan;Zhang Yepeng;Yang Guangyou
School of Mechanical Engineering,Hubei University of Technology,Wuhan 430068,ChinaSchool of Mechanical Engineering,Hubei University of Technology,Wuhan 430068,ChinaSchool of Mechanical Engineering,Hubei University of Technology,Wuhan 430068,China
农业科技
割草机局部避障改进TSO_DWA算法轨迹优化
lawn moverlocal obstacle avoidanceimproved TSO_DWA algorithmtrajectory optimization
《农机化研究》 2026 (4)
214-224,11
湖北省科技厅科研计划项目-省自然基金重点项目(ZXKY20230448)
评论