基于改进PSO算法的洗漱盆清洗机械臂轨迹规划与仿真控制平台研究
Research on trajectory planning and simulation control platform for sink-cleaning robotic arm based on improved PSO algorithm
摘要 针对现有大语言模型(large language model,LLM)驱动的机械臂控制平台无法灵活处理笛卡儿空间多点任务、缺乏轨迹时间全局优化能力的问题,搭建了一体化机械臂仿真控制平台,并提出了基于改进粒子群优化(particle swarm optimization,PSO)算法的时间最优轨迹规划方法.该平台采用模块化分层架构,集成人机交互、环境感知、智能决策、轨迹规划与运动执行五大模块,可实现自然语言指令到平滑轨迹的自动转换.同时,平台采用改进阻尼最小二乘法提升机械臂逆运动学求解的稳定性,通过五次多项式插值保证轨迹平滑,并利用自适应惯性权重与动态学习因子改进PSO算法,在关节速度、加速度约束下实现多段轨迹的全局时间最优规划.最后,设计了3种洗漱盆清洗路径以开展仿真实验,并结合自然语言指令解析测试对平台的交互能力进行验证.结果表明:与固定时间分配方法相比,改进PSO算法可使机械臂的总运动时间缩短34.0%~49.6%,且清洗路径越复杂,优化效果越显著;优化后机械臂的轨迹连续平滑、无突变,且末端定位误差均小于1 cm;LLM交互模块对自然语言指令的解析成功率为100%,验证了平台从自然语言到平滑轨迹的端到端转换能力.所搭建的一体化仿真控制平台可实现兼顾关节运动学约束与柔顺清洗作业要求的轨迹规划,为家用清洁机器人的智能运动规划提供了有效技术方案.
Abstract:
To address the problems that existing robotic arm control systems driven by large language models(LLMs)cannot flexibly handle multi-point tasks in Cartesian space and lack global trajectory time optimization capability,an integrated robotic arm simulation control platform is built,and a time-optimal trajectory planning method based on the improved particle swarm optimization(PSO)algorithm is proposed.This platform adopted a modular hierarchical architecture,integrating five modules including human-computer interaction,environmental perception,intelligent decision,trajectory planning and motion execution.It could achieve the automatic conversion from natural language instructions to smooth trajectories.Meanwhile,the improved damping least squares method was used to improve the stability of inverse kinematics solution for robotic arms,and the quintic polynomial interpolation was utilized to ensure trajectory smoothness.The PSO algorithm was improved with adaptive inertia weights and dynamic learning factors,enabling the global time-optimal planning of multi-segment trajectories under joint velocity and acceleration constraints.Finally,three sink-cleaning paths were designed to conduct simulation experiments,and extra natural language parsing tests were supplemented to verify the interaction performance of the platform.The results showed that compared with the fixed time allocation method,the improved PSO algorithm could reduce the total motion time of the robotic arm by 34.0%to 49.6%.The optimized trajectory of the robotic arm was continuous and smooth without sudden changes,and the end positioning error was less than 1 cm.The success rate of natural language instruction parsing of the LLM interactive module was 100%,which verified the end-to-end conversion capability of the platform from natural language to smooth trajectory.The integrated simulation control platform can achieve trajectory planning that takes into account both joint kinematics constraints and compliant cleaning operation requirements,providing an effective technical solution for the intelligent motion planning of domestic cleaning robots.
刊 名 工程设计学报 ISTICPKU
年,卷(期): 2026, 33(5)
分类号: TP242
机标分类号: TP242 TH122 TP391.41
在线出版日期: 2026年11月9日
基金项目: 230038001:安庆师范大学校企合作横向科研项目,