室內機器人的影像導向自動巡航控制、軌跡規劃與機器學習模擬
Image Guiding Automatic Cruise Control, Path Planning and Machine Learning Simulation of Indoor Mobile Robot
摘要
在現代製造業的動態環境中,機器人生態系統的整合對於提高生產力、效率和安全性至關重要。本論文探討了自主室內移動機器人可能的實現方式,該機器人能夠進行路徑和速度規劃,並根據有關跟隨物體身份的特定命令跟隨其他機器人或人類。移動機器人的首要任務是辨識要跟隨的物體。物體辨識雖然是一項強大且不斷發展的技術,但也存在一些局限性,例如照明條件的變化、遮蔽、複雜的背景、環境適應、有限的訓練資料等等。為了減輕這些限制,我們開發了使用二維碼(QRCode)的標記系統供機器人跟隨。透過為機器人或工人配備帶有二維碼(QRCode)的特殊配件,識別過程變得更加簡單,使機器人能夠輕鬆對標記進行識別及解碼。來自標記解碼後的指令使機器人能夠跟隨目標機器人或工人。
本文詳細介紹了用於識別標記物件之影像處理演算法的步驟,並實現透視 N 點投影以獲得其相對於機器人相機的姿態。本研究採用二輪差動驅動機器人作為跟隨之機器人,以確保在給定特定路徑和速度規劃命令的地圖上實現平滑且無加速度凸波之軌跡。對機器人的運動學方程式以及所採取路徑的動力學進行了廣泛的分析和推導,並使用基於傳統理論之PID控制。本論文中也討論了精密測量和導致定位和軌跡運動誤差的內部及外部因素。再來,本論文中使用雙延遲深度確定性策略梯度(Twin Delayed Deep Deterministic Policy Gradient, TDDPG)強化學習方法,主體(agent)是透過考慮各樣可能情形的模擬環境之獎勵函數模型進行訓練,此模型包含機器人動力學、其環境以及上述討論中各種可能誤差。我們開發了 Real-2-Sim 軟體來模擬機器人在即時環境中的行為,並使用不同初始誤差因素以進行訓練。實驗驗證了可能的 TDPG 演算法,突顯了該方法對於最優控制的有效性。這項研究透過深入了解製造環境中機器人生態系統的控制策略和實際實現,並在對誤差變化進行建模時深入了解各種硬體限制,為該領域做出了貢獻。
本文詳細介紹了用於識別標記物件之影像處理演算法的步驟,並實現透視 N 點投影以獲得其相對於機器人相機的姿態。本研究採用二輪差動驅動機器人作為跟隨之機器人,以確保在給定特定路徑和速度規劃命令的地圖上實現平滑且無加速度凸波之軌跡。對機器人的運動學方程式以及所採取路徑的動力學進行了廣泛的分析和推導,並使用基於傳統理論之PID控制。本論文中也討論了精密測量和導致定位和軌跡運動誤差的內部及外部因素。再來,本論文中使用雙延遲深度確定性策略梯度(Twin Delayed Deep Deterministic Policy Gradient, TDDPG)強化學習方法,主體(agent)是透過考慮各樣可能情形的模擬環境之獎勵函數模型進行訓練,此模型包含機器人動力學、其環境以及上述討論中各種可能誤差。我們開發了 Real-2-Sim 軟體來模擬機器人在即時環境中的行為,並使用不同初始誤差因素以進行訓練。實驗驗證了可能的 TDPG 演算法,突顯了該方法對於最優控制的有效性。這項研究透過深入了解製造環境中機器人生態系統的控制策略和實際實現,並在對誤差變化進行建模時深入了解各種硬體限制,為該領域做出了貢獻。
In the dynamic environment of modern manufacturing industries, integration of robot ecosystem has become essential to enhance productivity, efficiency and safety. This thesis explores the possible implementation of an autonomous indoor mobile robot capable of path and velocity planning and also following its other counterparts or humans based on specific commands regarding the following object’s identity. The primary task of the mobile robot is to recognize the object to be followed. Object recognition though a powerful and evolving technology has several limitations like variability in lighting conditions, occlusion, complex backgrounds, domain adaptations, limited training data and many others. In order to mitigate these limitations, a marker based QRCode system has been developed for the robot to follow. By equipping robots or human worker with special suits bearing QRCodes, the recognition process becomes significantly more straightforward, enabling the robot to easily identify and decode the markers. A decoded instruction signal from the marker then enables the robot to follow it.
This thesis details a step by step procedure in explaining the image processing algorithm for recognizing the marker based object and implement a perspective N point projection to obtain its pose relative to the robot’s camera. A differential drive robot is employed as the follower robot to ensure a smooth and jerk free trajectory over a map given specific path and velocity planning commands. The kinematic equations of the robot along with the dynamics of the path to be taken are extensively analyzed and derived, thus implementing a traditional PID control based control theory for the task. Precision measurements and internal/external factors causing error in localization and trajectory movement have been extensively discussed. Furthermore, a Twin Delayed Deep Deterministic Policy Gradient (TDDPG) agent is trained with a comprehensive scenario of an integrated reward function modelled on the robot’s dynamics, its environment along with the various possible error estimation discussed. A Real-2-Sim software has been developed to imitate the behavior of the robot on a real time environment stating different error factors have been initialized for training. Experiments validate the possible TDDPG algorithm, highlighting the effectiveness of this approach for optimal control. This research contributes to the field by providing insights into control strategies and practical implementations for robotic ecosystems in manufacturing settings with a deep insight to various hardware limitations while modelling error variations.
This thesis details a step by step procedure in explaining the image processing algorithm for recognizing the marker based object and implement a perspective N point projection to obtain its pose relative to the robot’s camera. A differential drive robot is employed as the follower robot to ensure a smooth and jerk free trajectory over a map given specific path and velocity planning commands. The kinematic equations of the robot along with the dynamics of the path to be taken are extensively analyzed and derived, thus implementing a traditional PID control based control theory for the task. Precision measurements and internal/external factors causing error in localization and trajectory movement have been extensively discussed. Furthermore, a Twin Delayed Deep Deterministic Policy Gradient (TDDPG) agent is trained with a comprehensive scenario of an integrated reward function modelled on the robot’s dynamics, its environment along with the various possible error estimation discussed. A Real-2-Sim software has been developed to imitate the behavior of the robot on a real time environment stating different error factors have been initialized for training. Experiments validate the possible TDDPG algorithm, highlighting the effectiveness of this approach for optimal control. This research contributes to the field by providing insights into control strategies and practical implementations for robotic ecosystems in manufacturing settings with a deep insight to various hardware limitations while modelling error variations.