Research Article

Route planning and obstacle avoidance using Q-Learning in MATLAB

Kaiyuan Lu*
Ritsumeikan University

* Corresponding author: [email protected]

Abstract

Recently, autonomous navigation has become important for many applications like self-driving cars, delivery drones, and robots. These domains are typically characterized by issues in planning an efficient route and object avoidance. Therefore, the paper describes work that utilizes Q-Learning as a means of reinforcement learning for autonomous navigation in terrain based on grid representations. Q-Learning allows an agent to acquire optimal signals in terms of strategy without the need for awareness of the surrounding environment. MATLAB was employed for the construction of the Q-Learning algorithm, as it was necessary to execute, evaluate, and simulate the algorithm in a controlled setting. In this study, the agent was tested in other environments of varying sizes (10×10, 15×15, and 20×20) populated with randomly generated obstacles. Benchmark values such as average path length, number of collisions and convergence speed were observed as a measure of the agent’s performance. The analysis of the values obtained confirms that the agent is able to capture the shortest path from the starting point to the goal while avoiding the obstacles. Q-Learning is found to be flexible and effective in solving the presented navigation problems in this research. The future work would include the enhancement of the efficiency of the algorithm along with the applying of the system in dynamic and more complex scenarios, in order to solve practical problems.

Keywords: MATLAB Simulation; Q-Learning; Reinforcement Learning; Obstacle Avoidance; Autonomous Navigation.
Published: November 8, 2024
DOI: 10.54254/2755-2721/81/20241028
Volume: ACE Vol.81
pp. 112-118
Download PDF

References

  1. Watkins, C.J.C.H. and Dayan, P. (1992) Q-Learning. Machine Learning, 8(3-4): 279-292.
  2. Mnih, V., Kavukcuoglu, K., et al. (2015) Human-level Control through Deep Reinforcement Learning. Nature, 518: 529-533.
  3. Peng, J. and Williams, R.J. (1993) Efficient earning and planning within the Dyna framework. Adaptive Behavior, 1(4): 437-454.
  4. Hasselt, H. (2010) Double Q-Learning. Neural Information Processing Systems, 2613-2621.
  5. Schaul, T., Quan, J., Antonoglou, I. and Silver, D. (2015) Prioritized Experience Replay. CoRR.
  6. Sutton, R.S. and Barto, A.G. (1998) Reinforcement Learning: An Introduction, MIT Press.
  7. JKober, J. Bagnell, J.A. and Peters, J. (2013) Reinforcement learning in robotics: A survey. The International Journal of Robotics Research, 32(11): 1238-1274.
  8. Lillicrap, T.P. Hunt, J.J. Pritzel, A, et al. (2015) Continuous control with deep reinforcement learning. CoRR, abs/1509.02971.
  9. Aradi, S. (2020) Survey of Deep Reinforcement Learning for Motion Planning of Autonomous Vehicles. IEEE Transactions on Intelligent Transportation Systems, 23(2): 740-759.
  10. Gu, S.X., Holly, E., et al. (2017) Deep Reinforcement Learning for Robotic Manipulation with Asynchronous Off-Policy Updates. 2017 IEEE ICRA, Singapore, 3389-3396.