Reinforcement learning-based UAV obstacle avoidance method in dynamic environments
摘要
针对密集动态环境下无人机避障控制中动态障碍物状态预测不准确、传统避障算法环境适应性有限的问题,提出一种融合自适应卡尔曼滤波(AKF)与双延迟深度确定性策略梯度(TD3)的避障方法(AKF-TD3).首先,采用基于新息序列协方差匹配的AKF,并在线调整过程噪声协方差,以提升动态障碍物位置与速度的估计及短期预测精度;然后,将障碍物预测状态与估计误差协方差矩阵的迹共同作为强化学习观测输入,并在奖励中引入不确定性惩罚项,以约束高风险动作选择并实现前瞻性避障决策.仿真结果表明,在高动态正弦运动与随机机动障碍场景中,障碍物速度估计的平均绝对误差分别由标准卡尔曼滤波(KF)的2.45 m·s-1和3.56 m·s-1降低至0.32 m·s-1与0.43 m·s-1,收敛时间分别为0.10 s和1.93 s;在相同的噪声和参数设置下,AKF-TD3的避障成功率达到88.2%,高于动态窗口法的45.6%、标准TD3算法的71.4%及基于意图预测的模型预测控制的67.4%;其平均任务完成时间为13.6 s,相较于标准TD3算法的18.4 s缩短26.1%,并通过消融对比与观测噪声扫描实验进一步验证了不确定性惩罚项对风险敏感决策的促进作用及其在观测退化条件下的鲁棒性.
To address inaccurate state prediction of moving obstacles and limited adaptability of conventional UAV obstacle avoidance in dense dynamic environments,an obstacle-avoidance method integrating an adaptive Kalman filter(AKF)and twin delayed deep deterministic policy gradient(TD3),termed AKF-TD3,is proposed.First,an innovation-sequence covariance-matching AKF is adopted,and the process-noise covariance is adjusted online to improve the estimation and short-term prediction accuracy of obstacle position and velocity.Then,the predicted obstacle state and the trace of the estimation-error covariance matrix are jointly used as the observation input to reinforcement learning,and an uncertainty penalty term is incorporated into the reward to constrain high-risk action selection and enable predictive obstacle-avoidance decisions.Simulation results show that,in scenarios involving highly dynamic sinusoidal motion and random maneuvering obstacles,the mean absolute error of obstacle-velocity estimation is reduced from 2.45 m·s-1 and 3.56 m·s-1 by the standard Kalman filter to 0.32 m·s-1 and 0.43 m·s-1,with convergence times of 0.10 s and 1.93 s,respectively.Under the same noise and parameter settings,the obstacle-avoidance success rate of AKF-TD3 reaches 88.2%,which is higher than the 45.6%of the dynamic window approach,the 71.4%of the standard TD3 algorithm,and the 67.4%of the intent-prediction-based model predictive control;its average task completion time is 13.6 s,representing a 26.1%reduction compared with the 18.4 s of standard TD3 algorithm,and ablation studies together with an observation-noise sweep further verify the role of the uncertainty penalty in promoting risk-sensitive decisions and its robustness under degraded observation.