{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,28]],"date-time":"2026-02-28T06:47:59Z","timestamp":1772261279044,"version":"3.50.1"},"reference-count":34,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2025,1,17]],"date-time":"2025-01-17T00:00:00Z","timestamp":1737072000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>This work aims to develop and compare the performance of a line-following robot using both neural networks and classical controllers such as Proportional\u2013Integral\u2013Derivative (PID). Initially, the robot\u2019s 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\u2019s 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.<\/jats:p>","DOI":"10.3390\/a18010051","type":"journal-article","created":{"date-parts":[[2025,1,17]],"date-time":"2025-01-17T11:24:56Z","timestamp":1737113096000},"page":"51","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Control of a Mobile Line-Following Robot Using Neural Networks"],"prefix":"10.3390","volume":"18","author":[{"given":"Hugo M.","family":"Leal","sequence":"first","affiliation":[{"name":"Department of Electrical Engineering, Institute of Engineering\u2014Polytechnic of Porto (ISEP\/IPP), 4249-015 Porto, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7410-8872","authenticated-orcid":false,"given":"Ramiro S.","family":"Barbosa","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, Institute of Engineering\u2014Polytechnic of Porto (ISEP\/IPP), 4249-015 Porto, Portugal"},{"name":"GECAD\u2014Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development, ISEP\/IPP, 4249-015 Porto, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7545-5822","authenticated-orcid":false,"given":"Isabel S.","family":"Jesus","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, Institute of Engineering\u2014Polytechnic of Porto (ISEP\/IPP), 4249-015 Porto, Portugal"},{"name":"GECAD\u2014Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development, ISEP\/IPP, 4249-015 Porto, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2025,1,17]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"399","DOI":"10.35940\/ijsce.E3583.1112522","article-title":"A Review on Machine Learning and It\u2019s Algorithms","volume":"12","author":"Jain","year":"2022","journal-title":"Int. J. Soft Comput. Eng."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"420","DOI":"10.1007\/s42979-021-00815-1","article-title":"Deep Learning: A Comprehensive Overview on Techniques, Taxonomy, Applications and Research Directions","volume":"2","author":"Sarker","year":"2021","journal-title":"SN Comput. Sci."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"ref_4","first-page":"5","article-title":"AGV (automated guided vehicle) robot: Mission and obstacles in design and performance","volume":"12","author":"Moshayedi","year":"2019","journal-title":"J. Simul. Anal. Nov. Technol. Mech. Eng."},{"key":"ref_5","first-page":"53","article-title":"A Bluetooth and Vision Controlled Automatic Guided Vehicle","volume":"3","author":"Wong","year":"2022","journal-title":"Emerg. Adv. Integr. Technol."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Lin, K., Chen, H., Li, G., Tu, J., and Huang, S. (2019, January 20\u201322). Automatic Guided Vehicle with Artificial Intelligence Navigation. Proceedings of the 2019 IEEE International Conference On Consumer Electronics\u2014Taiwan (ICCE-TW), Taiwan, China.","DOI":"10.1109\/ICCE-TW46550.2019.8991803"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"9279","DOI":"10.1109\/TCYB.2021.3113804","article-title":"A Multimodal Perception-Driven Self Evolving Autonomous Ground Vehicle","volume":"52","author":"Roche","year":"2022","journal-title":"IEEE Trans. Cybern."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Aryanti, A., Wang, M., and Muslikhin, M. (2024). Navigating Unstructured Space: Deep Action Learning-Based Obstacle Avoidance System for Indoor Automated Guided Vehicles. Electronics, 13, Available online: https:\/\/api.semanticscholar.org\/CorpusID:267145921.","DOI":"10.3390\/electronics13020420"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Li, X., Rao, W., Lu, D., Guo, J., Guo, T., Andriukaitis, D., and Li, Z. (2023). Obstacle Avoidance for Automated Guided Vehicles in Real-World Workshops Using the Grid Method and Deep Learning. Electronics, 12, Available online: https:\/\/api.semanticscholar.org\/CorpusID:264328025.","DOI":"10.3390\/electronics12204296"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"012008","DOI":"10.1088\/1742-6596\/2320\/1\/012008","article-title":"The Method for Automatic Adjustment of AGV\u2019s PID Based on Deep Reinforcement Learning","volume":"2320","author":"Chen","year":"2022","journal-title":"J. Phys. Conf. Ser."},{"key":"ref_11","first-page":"1936","article-title":"Neural Network Driven Automated Guided Vehicle Platform Development for Industry 4.0 Environment","volume":"28","author":"Simon","year":"2021","journal-title":"Teh.-Vjesn.-Tech. Gaz."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"3296874","DOI":"10.1155\/2017\/3296874","article-title":"A Review of Deep Learning Methods and Applications for Unmanned Aerial Vehicles","volume":"2017","author":"Carrio","year":"2017","journal-title":"J. Sens."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"41","DOI":"10.21595\/rsa.2021.22109","article-title":"Positioning algorithm for AGV autonomous driving platform based on artificial neural networks","volume":"1","author":"Gut","year":"2021","journal-title":"Robot. Syst. Appl."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Xue, H., Hein, B., Bakr, M., Schildbach, G., Abel, B., and Rueckert, E. (2022). Using Deep Reinforcement Learning with Automatic Curriculum earning for Mapless Navigation in Intralogistics. arXiv, Available online: https:\/\/api.semanticscholar.org\/CorpusID:247058694.","DOI":"10.3390\/app12063153"},{"key":"ref_15","unstructured":"(2024, November 20). Raspbot Repository. Available online: http:\/\/www.yahboom.net\/study\/Raspbot."},{"key":"ref_16","unstructured":"(2025, January 13). TTmotors. Available online: https:\/\/www.ttmotor.com\/10-20mm\/."},{"key":"ref_17","unstructured":"(2025, January 13). Einstronic. Available online: https:\/\/einstronic.com\/product\/sg90-micro-servo-motor\/."},{"key":"ref_18","unstructured":"(2024, November 20). Raspberry Pi Hardware. Available online: https:\/\/www.raspberrypi.com\/products\/."},{"key":"ref_19","unstructured":"(2025, January 13). NVIDIA. Available online: https:\/\/www.nvidia.com\/en-eu\/geforce\/graphics-cards\/30-series\/rtx-3060-3060ti\/."},{"key":"ref_20","unstructured":"(2025, January 13). AMD. Available online: https:\/\/www.amd.com\/en\/support\/downloads\/drivers.html\/processors\/ryzen\/ryzen-3000-series\/amd-ryzen-7-3700x.html#amd_support_product_spec."},{"key":"ref_21","unstructured":"(2024, December 18). Anaconda Enterprise 4 Repository. Available online: https:\/\/docs.anaconda.com\/anaconda-repository\/."},{"key":"ref_22","unstructured":"Zhang, A., Li, M., Smola, A.J., and Lipton, Z. (2023). Dive into Deep Learning, Cambridge University Press. Available online: https:\/\/D2L.ai."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"012016","DOI":"10.1088\/1757-899X\/344\/1\/012016","article-title":"Design and Simulation of a PID Controller for Motion Control Systems","volume":"344","author":"Abdullahi","year":"2018","journal-title":"Iop Conf. Ser. Mater. Sci. Eng."},{"key":"ref_24","unstructured":"Tehrani, K., and Mpanda, A. (2024, October 13). PID Control Theory. Available online: https:\/\/api.semanticscholar.org\/CorpusID:9908243."},{"key":"ref_25","unstructured":"Inc, M. (2024, March 12). AVR221: Discrete PID Controller on tinyAVR and megaAVR Devices. Available online: https:\/\/www.ni.com\/docs\/en-US\/bundle\/labview\/page\/fuzzy-controllers.html."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"220","DOI":"10.1016\/j.isatra.2015.01.006","article-title":"Genetic optimization of fuzzy fractional PD+I controllers","volume":"Volume 57","author":"Jesus","year":"2015","journal-title":"ISA Transactions"},{"key":"ref_27","unstructured":"Dorf, R.C., and Bishop, R.H. (2022). Modern Control Systems, Pearson Education. [14th ed.]."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Aboelhassan, A., Abdel-Geliel, M., Zakzouk, E., and Galea, M. (2020). Design and Implementation of Model Predictive Control Based PID Controller for Industrial Applications. Energies, 13, Available online: https:\/\/api.semanticscholar.org\/CorpusID:230600853.","DOI":"10.3390\/en13246594"},{"key":"ref_29","unstructured":"\u00c5str\u00f6m, K.J., and H\u00e4gglund, T. (1995). PID Controllers: Theory Design and Tuning, ISA Press."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long Short-Term Memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_31","unstructured":"(2024, December 26). colah\u2019s Blog: Understanding LSTM Networks. Available online: https:\/\/colah.github.io\/posts\/2015-08-Understanding-LSTMs\/."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Sak, H., Senior, A., and Beaufays, F. (2014). Long short-term memory recurrent neural network architectures for large scale acoustic modeling. arXiv.","DOI":"10.21437\/Interspeech.2014-80"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"53","DOI":"10.1186\/s40537-021-00444-8","article-title":"Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions","volume":"8","author":"Alzubaidi","year":"2021","journal-title":"J. Big Data"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"488","DOI":"10.54660\/anfo.2022.3.4.18","article-title":"Convolutional Neural Network (CNN): A comprehensive overview","volume":"3","author":"Upreti","year":"2022","journal-title":"Int. J. Multidiscip. Res. Growth Eval."}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/1\/51\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,8]],"date-time":"2025-10-08T10:31:06Z","timestamp":1759919466000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/1\/51"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,1,17]]},"references-count":34,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,1]]}},"alternative-id":["a18010051"],"URL":"https:\/\/doi.org\/10.3390\/a18010051","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,1,17]]}}}