Development of a self-driving RC car with lane-keeping system using a pure pursuit controller
Abstract
The development of autonomous vehicles is crucial for enhancing driving safety, comfort, and efficiency. This research presents the design of a self-driving Remote Controlled (RC) car at a 1:10 scale, equipped with a lane-keeping system and a pure pursuit controller. The primary objective is to evaluate the effectiveness of integrating computer vision techniques with trajectory tracking control to maintain lane stability. Lane detection was achieved using a sliding windows algorithm, while polynomial fitting estimated the lane centerline. A stereo camera provided spatial perception, capturing images that were processed to determine the steering angle needed to minimize deviation between the lookahead point and the viewpoint of the vehicle. Experimental results show that the system-maintained lane position with minimal deviation, achieving an average steering angle of 90.44° on straight paths, 65.4° on right turns, and 113.1° on left turns. These results demonstrate the feasibility of combining vision-based lane detection with a pure pursuit controller to improve path-tracking accuracy and stability in autonomous vehicles.
Keywords
Full Text:
PDFReferences
I. Kotseruba and J. K. Tsotsos, “Attention for Vision Based Assistive and Automated Driving: A Review of Algorithms and Datasets,†IEEE Transactions on Intelligent Transportation Systems, vol. 23, pp. 19907– 19928, Nov. 2022.
R. Brooks, “A robust layered control system for a mobile robot,†IEEE Journal on Robotics and Automation, vol. 2, no. 1, pp. 14–23, 1986.
M. Buehler, K. Iagnemma, and S. Singh, The DARPA Urban Challenge: Autonomous Vehicles in City Traffic. Springer Tracts in Advanced Robotics, Springer Berlin Heidelberg, 2009.
E. Yurtsever, J. Lambert, A. Carballo, and K. Takeda, “A survey of autonomous driving: Common practices and emerging technologies,†IEEE access, vol. 8, pp. 58443–58469, 2020.
B. Paden, M. Cˇ a´p, S. Z. Yong, D. Yershov, and E. Frazzoli, “A survey of motion planning and control techniques for self driving urban vehicles,†IEEE Transactions on Intelligent Vehicles, vol. 1, no. 1, pp. 33–55, 2016.
Z. Wang, K. Sun, S. Ma, L. Sun, W. Gao, and Z. Dong, “Improved linear quadratic regulator lateral path tracking approach based on a real time updated algorithm with fuzzy control and cosine similarity for autonomous vehicles,†Electronics, vol. 11, no. 22, p. 3703, 2022.
E. Alcala, V. Puig, J. Quevedo, T. Escobet, and R. Comasolivas, “Autonomous vehicle control using a kinematic lyapunov based technique with LQR LMI tuning,†Control Engineering Practice, vol. 73, pp. 1–12, 2018.
X. Fan, J. Wang, H. Wang, L. Yang, and C. Xia, “LQR trajectory tracking control of unmanned wheeled tractor based on improved quantum genetic algorithm,†Machines, vol. 11, no. 1, 2023.
C. Hu, R. Wang, F. Yan, and N. Chen, “Should the desired heading in path following of autonomous vehicles be the tangent direction of the desired path?,†IEEE Transactions on Intelligent Transportation Systems, vol. 16, no. 6, pp. 3084–3094, 2015.
J. Chen, W. Zhan, and M. Tomizuka, “Autonomous driving motion planning with constrained iterative LQR,†IEEE Transactions on Intelligent Vehicles, vol. 4, no. 2, pp. 244–254, 2019.
K. Lee, S. Jeon, H. Kim, and D. Kum, “Optimal Path Tracking Control of Autonomous Vehicle: Adaptive Full State Linear Quadratic Gaussian (LQG) Control,†IEEE Access, vol. 7, pp. 109120–109133, 2019.
P. Stano, U. Montanaro, D. Tavernini, M. Tufo, G. Fiengo, L. Novella, and A. Sorniotti, “Model predictive path tracking control for automated road vehicles: A review,†Annual Reviews in Control, 2022.
S. Cheng, L. Li, X. Chen, J. Wu, and H. d. Wang, “Model predictive control based path tracking controller of autonomous vehicle considering parametric uncertainties and velocity varying,†IEEE Transactions on Industrial Electronics, vol. 68, no. 9, pp. 8698–8707, 2021.
C. E. Beal and J. C. Gerdes, “Model Predictive Control for vehicle stabilization at the limits of handling,†IEEE Transactions on Control Systems Technology, vol. 21, no. 4, pp. 1258–1269, 2013.
N. Guo, X. Zhang, Y. Zou, B. Lenzo, and T. Zhang, “A computationally efficient path following control strategy of autonomous electric vehicles with yaw motion stabilization,†IEEE Transactions on Transportation Electrification, vol. 6, no. 2, pp. 728–739, 2020.
K. Berntorp, R. Quirynen, T. Uno, and S. D. Cairano, “Trajectory tracking for autonomous vehicles on varying road surfaces by friction adaptive nonlinear Model Predictive Control,†Vehicle System Dynamics, vol. 58, no. 5, pp. 705–725, 2020.
P. Falcone, H. Eric Tseng, F. Borrelli, J. Asgari, and D. Hrovat, “MPC based yaw and lateral stabilisation via active front steering and braking,†Vehicle System Dynamics, vol. 46, no. S1, pp. 611–628, 2008.
Y. Xu, W. Tang, B. Chen, L. Qiu, and R. Yang, “A Model Predictive Control with preview follower theory algorithm for trajectory tracking control in autonomous vehicles,†Symmetry, vol. 13, no. 3, p. 381, 2021.
Z. He, L. Nie, Z. Yin, and S. Huang, “A two layer controller for lateral path tracking control of autonomous vehicles,†Sensors, vol. 20, no. 13, p. 3689, 2020.
H. Zhou, J. Gao, and H. Liu, “Vehicle speed preview control with road curvature information for safety and comfort promotion,†Proceedings of the Institution of Mechanical Engineers, Part D: Journal of Automobile Engineering, vol. 235, no. 6, pp. 1527–1538, 2021.
B. Ren, H. Chen, H. Zhao, and L. Yuan, “MPC based yaw stability control in in wheel motored ev via active front steering and motor torque distribution,†Mechatronics, vol. 38, pp. 103–114, 2016.
Q. Yao, Y. Tian, Q. Wang, and S. Wang, “Control strategies on path tracking for autonomous vehicle: State of the art and future challenges,†IEEE Access, vol. 8, pp. 161211–161222, 2020.
N. S. Abu, W. M. Bukhari, M. Adli, S. N. Omar, and S. A. Sohaimeh, “A comprehensive overview of classical and modern route planning algorithms for self driving mobile robots,†Journal of Robotics and Control (JRC), vol. 3, no. 5, pp. 666–678, 2022.
N. Hassan and A. Saleem, “Analysis of Trajectory Tracking Control Algorithms for Wheeled Mobile Robots,†in 2021 IEEE Industrial Electronics and Applications Conference (IEACon), (Penang, Malaysia), pp. 236–241, IEEE, Nov. 2021.
A. Biswas, M. A. O. Reon, P. Das, Z. Tasneem, S. M. Muyeen, S. K. Das, F. R. Badal, S. K. Sarker, M. M. Hassan, S. H. Abhi, M. R. Islam, M. F. Ali, M. H. Ahamed, and M. M. Islam, “State of the Art Review on Recent Advancements on Lateral Control of Autonomous Vehicles,†IEEE Access, vol. 10, pp. 114759–114786, 2022.
Z. Zhu, X. Tang, Y. Qin, Y. Huang, and E. Hashemi, “A survey of lateral stability criterion and control application for autonomous vehicles,†IEEE Transactions on Intelligent Transportation Systems, pp. 1–18, 2023.
Y. Cao, W. ShangGuan, B. Cai, L. Chai, and W. Qiu, “Predictive trajectory planning for on road autonomous vehicles based on a spatiotemporal risk field,†IEEE Intelligent Transportation Systems Magazine, vol. 15, no. 1, pp. 400–420, 2023.
J. Jiang and A. Astolfi, “Lateral control of an autonomous vehicle,†IEEE Transactions on Intelligent Vehicles, vol. 3, no. 2, pp. 228–237, 2018.
S. Xu and H. Peng, “Design, analysis, and experiments of preview path tracking control for autonomous vehicles,†IEEE Transactions on Intelligent Transportation Systems, vol. 21, no. 1, pp. 48–58, 2020.
S. Feraco, A. Bonfitto, N. Amati, and A. Tonoli, “Combined lane keeping and longitudinal speed control for autonomous driving,†in International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, vol. 59216, p. V003T01A018, American Society of Mechanical Engineers, 2019.
M. Samuel, M. Mohamad, M. Hussein, and S. M. Saad, “Lane keeping maneuvers using Proportional Integral Derivative (PID) and model predictive control (MPC),†Journal of Robotics and Control (JRC), vol. 2, no. 2, pp. 78–82, 2021.
X. Shi, H. Wang, L. Chen, X. Sun, C. Yang, and Y. Cai, “Robust path tracking control of distributed driving six wheel steering commercial vehicle based on coupled active disturbance rejection,†IEEE Transactions on Vehicular Technology, pp. 1–13, 2023.
H.g. Kim, J. Myoung, S. Lee, K.m. Park, and D. Shin, “Design of ai powered hybrid control algorithm of robot vehicle for enhanced driving performance,†IEEE Embedded Systems Letters, pp. 1–1, 2023.
D. Li, D. Zhao, Q. Zhang, and Y. Chen, “Reinforcement learning and deep learning based lateral control for autonomous driving [application notes],†IEEE Computational Intelligence Magazine, vol. 14, pp. 83–98, May 2019.
L. Liu, M. Xue, N. Guo, Z. Wang, Y. Wang, and Q. Tang, “Investigating the path tracking algorithm based on bp neural network,†Sensors, vol. 23, no. 9, 2023.
H.L. Tran and T.V. Dang, “An ultra fast semantic segmentation model for amr’s path planning,†Journal of Robotics and Control (JRC), vol. 4, no. 3, pp. 424–430, 2023.
X. Zhou, Z. Wang, H. Shen, and J. Wang, “Robust adaptive path tracking control of autonomous ground vehicles with considerations of steering system backlash,†IEEE Transactions on Intelligent Vehicles, vol. 7, no. 2, pp. 315–325, 2022.
T. Li, H. Ren, and C. Li, “Intelligent electric vehicle trajectory tracking control algorithm based on weight coefficient adaptive optimal control,†Transactions of the Institute of Measurement and Control, p. 01423312221141591, 2023.
X. Zhou, H. Shen, Z. Wang, H. Ahn, and J. Wang, “Driver centric lane keeping assistance system design: A noncertainty equivalent neuro adaptive control approach,†IEEE/ASME Transactions on Mechatronics, 2023.
A. Ubaidillah and H. Sukri, “Application of odometry and dijkstra algorithm as navigation and shortest path determination system of warehouse mobile robot,†Journal of Robotics and Control (JRC), vol. 4, no. 3, pp. 413–423, 2023.
E. Alcala´, V. Puig, J. Quevedo, and U. Rosolia, “Autonomous racing using linear parameter varying Model Predictive Control (LPV MPC),†Control Engineering Practice, vol. 95, p. 104270, 2020.
J. Betz, H. Zheng, A. Liniger, U. Rosolia, P. Karle, M. Behl, V. Krovi, and R. Mangharam, “Autonomous Vehicles on the Edge: A Survey on Autonomous Vehicle Racing,†IEEE Open Journal of Intelligent Transportation Systems, vol. 3, pp. 458–488, 2022.
N. Horri, O. Haas, S. Wang, M. Foo, and M. S. Fernandez, “Mode switching control using lane keeping assist and waypoints tracking for autonomous driving in a city environment,†Transportation Research Record, vol. 2676, no. 3, pp. 712–727, 2022.
D. J. Kim, Y. W. Jeong, and C. C. Chung, “Lateral Vehicle Trajectory Planning Using a Model Predictive Control Scheme for an Automated Perpendicular Parking System,†IEEE Transactions on Industrial Electronics, vol. 70, pp. 1820–1829, Feb. 2023.
R. C. Coulter, “Implementation of the pure pursuit path tracking algorithm,†Tech. Rep. CMU RI TR 92 01, Carnegie Mellon University, Pittsburgh, PA, January 1992.
S. Thrun, M. Montemerlo, H. Dahlkamp, D. Stavens, A. Aron, J. Diebel,P. Fong, J. Gale, M. Halpenny, G. Hoffmann, K. Lau, C. Oakley, M. Palatucci, V. Pratt, P. Stang, S. Strohband, C. Dupont, L.E. Jen drossek, C. Koelen, C. Markey, C. Rummel, J. van Niekerk, E. Jensen, P. Alessandrini, G. Bradski, B. Davies, S. Ettinger, A. Kaehler, A. Nefian, and P. Mahoney, Stanley: The Robot That Won the DARPA Grand Challenge, pp. 1–43. Berlin, Heidelberg: Springer Berlin Heidelberg, 2007.
M. O’Kelly, H. Zheng, D. Karthik, and R. Mangharam, “F1tenth: An open source evaluation environment for continuous control and reinforcement learning,†in Proceedings of the NeurIPS 2019 Competition and Demonstration Track (H. J. Escalante and R. Hadsell, eds.), vol. 123 of Proceedings of Machine Learning Research, pp. 77–89, PMLR, 08–14 Dec 2020.
V. S. Babu and M. Behl, “f1tenth.dev an open source ros based f1/10 autonomous racing simulator,†in 2020 IEEE 16th International Conference on Automation Science and Engineering (CASE), pp. 1614– 1620,2020.
DOI: http://dx.doi.org/10.30811/jpl.v23i4.6664
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Ciptaan disebarluaskan di bawah Lisensi Creative Commons Atribusi-BerbagiSerupa 4.0 Internasional .
Alamat Surat :
Politeknik Negeri LhokseumaweJl. Banda Aceh-Medan Km 280
Buketrata, Lhokseumawe, 24301, Aceh, Indonesia
























