Integrated Mechatronic Design, PID Motion Control, and Experimental Evaluation of an Autonomous Line-Following Unmanned Ground Vehicle

Authors

  • Izabo Abigo

Keywords:

Arduino, Line-following robot, Low-cost robotics, Motor speed control, PID control, Unmanned ground vehicle

Abstract

Unmanned ground vehicles (UGVs) built on low-cost, open-source microcontroller platforms provide an accessible route for teaching and testing closed-loop control concepts before they are applied to larger autonomous systems. This study reports the design, construction, and control of a small line-following UGV built around an Arduino microcontroller, dual infrared line sensors, an L298-type dual H-bridge motor driver, two coupled direct-current gear motors, and a Bluetooth communication module for manual override. A proportional-integral-derivative (PID) controller corrects the vehicle's lateral deviation from a marked path by adjusting the differential speed of the two drive wheels, and a Simulink/MATLAB speed-loop model illustrates the role of the three PID terms. The vehicle was run on a fixed test track in four scenarios: line tracking on a straight section, negotiation of a bend, recovery after an induced sideways displacement, and Bluetooth manual override. In each run, the vehicle detected and followed the marked line, re-acquired it within about one vehicle length after momentary loss at the sharpest turns, returned to it after displacement, and handed control cleanly between autonomous and operator-directed modes. The results show that a low-cost, off-the-shelf build with a simple PID loop and a wireless override link is sufficient for reliable line following on a bench-scale track, and that it provides a practical platform for teaching closed-loop control and for later supervised-autonomy studies.

Published

2026-11-05

Issue

Section

Articles