Control of a Mobile Line-Following Robot Using Neural Networks

This work aims to develop and compare the performance of a line-following robot using both neural networks and classical controllers such as Proportional–Integral–Derivative (PID). Initially, the robot’s infrared sensors were employed to follow a line using a PID controller. The data from this metho...

Full description

Saved in:
Bibliographic Details
Main Authors: Hugo M. Leal, Ramiro S. Barbosa, Isabel S. Jesus
Format: Article
Language:English
Published: MDPI AG 2025-01-01
Series:Algorithms
Subjects:
Online Access:https://www.mdpi.com/1999-4893/18/1/51
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832589412703141888
author Hugo M. Leal
Ramiro S. Barbosa
Isabel S. Jesus
author_facet Hugo M. Leal
Ramiro S. Barbosa
Isabel S. Jesus
author_sort Hugo M. Leal
collection DOAJ
description This work aims to develop and compare the performance of a line-following robot using both neural networks and classical controllers such as Proportional–Integral–Derivative (PID). Initially, the robot’s infrared sensors were employed to follow a line using a PID controller. The data from this method were then used to train a Long Short-Term Memory (LSTM) network, which successfully replicated the behavior of the PID controller. In a subsequent experiment, the robot’s camera was used for line-following with neural networks. Images of the track were captured, categorized, and used to train a convolutional neural network (CNN), which then controlled the robot in real time. The results showed that neural networks are effective but require more processing and calibration. On the other hand, PID controllers proved to be simpler and more efficient for the tested tracks. Although neural networks are very promising for advanced applications, they are also capable of handling simpler tasks effectively.
format Article
id doaj-art-86e69400275d413eb0c16c220c6750bc
institution Kabale University
issn 1999-4893
language English
publishDate 2025-01-01
publisher MDPI AG
record_format Article
series Algorithms
spelling doaj-art-86e69400275d413eb0c16c220c6750bc2025-01-24T13:17:37ZengMDPI AGAlgorithms1999-48932025-01-011815110.3390/a18010051Control of a Mobile Line-Following Robot Using Neural NetworksHugo M. Leal0Ramiro S. Barbosa1Isabel S. Jesus2Department of Electrical Engineering, Institute of Engineering—Polytechnic of Porto (ISEP/IPP), 4249-015 Porto, PortugalDepartment of Electrical Engineering, Institute of Engineering—Polytechnic of Porto (ISEP/IPP), 4249-015 Porto, PortugalDepartment of Electrical Engineering, Institute of Engineering—Polytechnic of Porto (ISEP/IPP), 4249-015 Porto, PortugalThis work aims to develop and compare the performance of a line-following robot using both neural networks and classical controllers such as Proportional–Integral–Derivative (PID). Initially, the robot’s infrared sensors were employed to follow a line using a PID controller. The data from this method were then used to train a Long Short-Term Memory (LSTM) network, which successfully replicated the behavior of the PID controller. In a subsequent experiment, the robot’s camera was used for line-following with neural networks. Images of the track were captured, categorized, and used to train a convolutional neural network (CNN), which then controlled the robot in real time. The results showed that neural networks are effective but require more processing and calibration. On the other hand, PID controllers proved to be simpler and more efficient for the tested tracks. Although neural networks are very promising for advanced applications, they are also capable of handling simpler tasks effectively.https://www.mdpi.com/1999-4893/18/1/51AGVrobotRaspbotPIDLSTMCNN
spellingShingle Hugo M. Leal
Ramiro S. Barbosa
Isabel S. Jesus
Control of a Mobile Line-Following Robot Using Neural Networks
Algorithms
AGV
robot
Raspbot
PID
LSTM
CNN
title Control of a Mobile Line-Following Robot Using Neural Networks
title_full Control of a Mobile Line-Following Robot Using Neural Networks
title_fullStr Control of a Mobile Line-Following Robot Using Neural Networks
title_full_unstemmed Control of a Mobile Line-Following Robot Using Neural Networks
title_short Control of a Mobile Line-Following Robot Using Neural Networks
title_sort control of a mobile line following robot using neural networks
topic AGV
robot
Raspbot
PID
LSTM
CNN
url https://www.mdpi.com/1999-4893/18/1/51
work_keys_str_mv AT hugomleal controlofamobilelinefollowingrobotusingneuralnetworks
AT ramirosbarbosa controlofamobilelinefollowingrobotusingneuralnetworks
AT isabelsjesus controlofamobilelinefollowingrobotusingneuralnetworks