Tracking Control of Autonomous Car with Attention to Obstacle Using Model Predictive Control

Ali Fatoni, Eka Iskandar, Yasmina Alya


Previous research of MPC for path tracking and obstacle avoidance showed the car was able to evade obstacles while tracking the path but ineffectively and path tracking tests show an oscillating movement of the car. The research was done by varying cost function weights and the car was assumed to have a constant velocity. The best performance was obtained when the error weight is greater than the input weight. This research aims to use MPC for trajectory tracking and obstacle avoidance by using Linear Time Variant MPC (LTV MPC), where the trajectory tracking problem is defined by using a time-varying reference. MPC parameter is varied to find the best performing design. In the obstacle avoidance system, obstacle detection is done by measuring the distance between the instant car position and the obstacle position. While an obstacle is detected, a new lateral position constraint is calculated. Trajectory tracking tests are done using 2 types of tracks, sine wave, and lane changing. Obstacle avoidance tests are done using 1 obstacle and 2 obstacles. Results are evaluated using RMSE of car position, cost function, and the nearest distance between car and obstacle. Results show that MPC was able to evade obstacles while tracking the time-varying reference with 0.4 s delay. However, some variations were not able to meet the safe zone constraints for obstacle avoidance.

Full Text:



K. Bimbraw, “Autonomous cars: Past, present and future: A review of the developments in the last century, the present scenario and the expected future of autonomous vehicle technology,” in ICINCO 2015 - 12th International Conference on Informatics in Control, Automation and Robotics, Proceedings, 2015, vol. 1, pp. 191–198. doi: 10.5220/0005540501910198.

S. Charan and A. Srour, “Self Driving Cars,” May 2013. [Online]. Available:

S. J. Babak, S. A. Hussain, B. Karakas, and S. Cetin, “Control of autonomous ground vehicles: A brief technical review,” in IOP Conference Series: Materials Science and Engineering, Aug. 2017, vol. 224, no. 1. doi: 10.1088/1757-899X/224/1/012029.

A. Hatem, “model predictive control for path tracking and obstacle avoidance of autonomous vehicle,” sweden, 2018.

P. Corke, Robotics, Vision and Control, 1st ed., vol. 118. Cham: Springer International Publishing, 2017. doi: 10.1007/978-3-319-54413-7.

B. J. Halim, “Perancangan Sistem Autopilot dan Guidance Berbasis Model Predictive Control Sliding Curve pada Unmanned Surface Vehicle dengan Gangguan.,” 2021.

J. A. Rossiter, A First Course in Predictive Control Second Edition. 2018.

Mathworks, “Adaptive MPC,” 2018. (accessed Apr. 15, 2022).

D. Abel and A. Katriniok, LTV-MPC Approach for Lateral Vehicle Guidance by Front Steering at the Limits of Vehicle Dynamics. 2011.

L. Wang, Model Predictive Control System Design and Implementation Using MATLAB®. London: Springer London, 2009. doi: 10.1007/978-1-84882-331-0.

V. T. T. Lam, A. Sattar, L. Wang, and M. Lazar, “Fast Hildreth-based Model Predictive Control of Roll Angle for a Fixed-Wing UAV,” IFAC-PapersOnLine, vol. 53, no. 2, pp. 5757–5763, 2020, doi: 10.1016/j.ifacol.2020.12.1608.

M. Ravi Tailor and P. H. Bhathawala, “Linearization of Nonlinear Differential Equation by Taylor’s Series Expansion and Use of Jacobian Linearization Process,” International Journal of Theoretical and Applied Science, vol. 4, no. 1, pp. 36–38, May 2011, Accessed: Jun. 10, 2022. [Online]. Available:

Katsuhiko. Ogata, Modern control engineering. Prentice-Hall, 2010.

V. Turri, A. Carvalho, H. E. Tseng, K. H. Johansson, and F. Borrelli, “Linear model predictive control for lane keeping and obstacle avoidance on low curvature roads,” in 16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013), Oct. 2013, pp. 378–383. doi: 10.1109/ITSC.2013.6728261.

T. Faulwasser, “NMPC for Tracking and Path Following,” Dissertation, Guericke Universität , Magdeburg, 2012. Accessed: Jun. 13, 2022. [Online]. Available:



  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.