基於深度強化學習之機械臂即時避碰設計
A Deep Reinforcement Learning Approach to Real-time Obstacle Avoidance Design of a Manipulator
摘要
本論文主要目的是針對協作型機械臂提出一個應用於人機協作安全之即時避障運動規劃與控制設計。我們利用一種深度強化學習(Deep Reinforcement Learning,DRL)稱為正規化優勢函數(Normal Advantage Function,NAF)的學習架構,將人工勢場法(Artificial Potential Field,APF)當作效仿的對象來設計機械臂之避碰控制。由深度強化學習訓練完成的逼近函數有APF的功能,同時避免了APF的缺點。其中所提出之工具中心點相對位置描述法(Tool Center Point Relative Location Description,簡稱:TCP Relative Location Description,TRLD)方式,可以做到無論從哪一點為起始點皆可到達隨機目標點,大量減少收斂前所需之訓練回合數。本論文所提出對於機械臂姿態(ARM pose)的描述具有機械避同態(ARM Homomorphic)的性質,克服APF潛在的困境,使得機械臂在可到達的範圍內均能夠閃避各種情境之障礙物。藉由離散式障礙物定位演算法(Discrete Obstacle Location Representation Algorithm,D-OLRA)障礙物分散式描述演算法,得到穩健的障礙物描述,數值不浮動,使避障不致於失效。本論文以新漢股份有限公司的六軸機械臂MiniBOT進行實際驗證,在一連串實體的障礙物實驗中,成功驗證所提出的方法可以讓機械臂有效地避開環境中的障礙物並安全達到目標點。
This thesis presents a real-time obstacle avoidance design of a robot arm for human-robot collaborative safety. In this design, Normal Advantage Function (NAF) was adopted to develop a model-based learning and training in the proposed Deep Reinforcement Learning (DRL) system. In the training phase, Artificial Potential Field (APF) is used as the object of imitation. It turns out that the approximation function completed by deep reinforcement learning training achieve the function of APF, but without the shortcomings of it. The proposed TCP Relative Location Description(TRLD) method can reach a random target point no matter which is the starting point, and greatly reduce the number of training rounds required before convergence. The proposed ARM Homomorphic overcome the inherent dilemma of APF, enabling the robotic arm to dodge obstacles in various situations within the reach. A novel method of Discrete Obstacle Location Representation Algorithm (D-OLRA) is developed for stable obstacle description, which facilitates real-time obstacle avoidance. A NEXCOM's six-axis robot MiniBOT is used for actual verification. In a series of experiments, it is successfully verified that the proposed method can effectively avoid obstacles in the environment and reach the goal point.