Proposing Two Neural Networks Structures for Enhancing Laser Sensor Distance Accuracy
Main Article Content
Abstract
The precision of distance measurement using a laser sensor significantly influences robot motion accuracy, localization, and obstacle avoidance. The present study proposes two artificial neural network (ANN) structures to enhance distance measurement accuracy using experimental data from a laser sensor. Both ANN structures are synthesized using the Multi-Layer Perceptron (MLP) model with different activation functions. The first structure utilizes the Rectified Linear Unit (ReLU), while the second employs the Hyperbolic Tangent function. Each ANN receives two inputs: the data has been gotten from laser sensor type VL53L0X and real measurements. The laser sensor is sensitive only to two colors (white and gray); as such, the gray and white obstacles are used. The ANNs are trained based on a dataset of 600 samples, with 80 percent for training, 20 percent for validation, and 20 percent for the testing. Measurement accuracy is evaluated with a Mean Squared Error (MSE) metric. The results based on the ReLU activation function showed higher accuracy than those with Tanh for the two colored objects. An ANN structure based on the ReLU function can be trained efficiently and accurately, making it suitable for robotic applications.
Article Details
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
THIS IS AN OPEN ACCESS ARTICLE UNDER THE CC BY LICENSE http://creativecommons.org/licenses/by/4.0/
How to Cite
References
Shero FF, Al-Ani GS, Khadim EJ, Khaleel HZ. Assessment of Linear Parameters of Electrohysterograph (EHG) in Diagnosis of True Labor. Annals of Tropical Medicine and Public Health 2020; 23(4): 139-147.
Khaleel HZ, Humaidi AJ. Towards Accuracy Improvement in Solution of Inverse Kinematic Problem in Redundant Robot: A Comparative Analysis. International Review of Applied Sciences and Engineering 2024; 15(2): 242-251.
Krautkrämer J, Krautkrämer H. Ultrasonic Testing of Materials. 4th ed., Springer-Verlag: Berlin; 2013.
Khaleel HZ, Ahmed AK, Al-Obaidi AS, Luckyardi S, Al Husaeni DF, Mahmod RA, Humaidi AJ. Measurement Enhancement of Ultrasonic Sensor Using Pelican Optimization Algorithm for Robotic Application. Indonesian Journal of Science and Technology 2024; 9(1): 145-162.
Kiss LM, Pintér JM, Kósa B, Markó B, Veres L. Calibration of Particle Sensor with Neural Network Algorithm. Pollack Periodica 2024; 19(2): 112-117.
Gyongy I, Erdogan AT, Dutton NA, Martín GM, Gorman A, Mai H, Della Rocca FM, Henderson RK. A Direct Time-of-Flight Image Sensor with In-Pixel Surface Detection and Dynamic Vision. IEEE Journal of Selected Topics in Quantum Electronics 2023; 30(1): 3800111.
Laković N, Brkić M, Batinić B, Bajić J, Rajs V, Kulundžić N. Application of Low-Cost VL53L0X ToF Sensor for Robot Environment Detection. 18th International Symposium INFOTEH-JAHORINA (INFOTEH) 2019; 1-4.
Komarizadehasl S, Mobaraki B, Ma H, Lozano-Galant JA, Turmo J. Low-Cost Sensors Accuracy Study and Enhancement Strategy. Applied Sciences 2022; 12(6): 3186.
Komarizadehasl S, Mobaraki B, Lozano-Galant JA, Turmo J. Practical Application of Low-Cost Sensors for Static Tests. XV International Conference on Durability of Building Materials and Components (DBMC 2020) 2020; 1711-1718.
Durão MI. Analysis of a ToF Sensor for Applications in Touchless Interfaces. M.Sc. Thesis, Faculty of Engineering of the University of Porto; 2022.
Tsuji S. String-Like Time of Flight Sensor Module for a Collaborative Robot. IEEJ Transactions on Electrical and Electronic Engineering 2023; 18(10): 1576-1582.
Rizaldy MF, Anifah L. Distance Detection in the Sport of Petanque Using the VL53L0X Time-of-Flight. Indonesian Journal of Electrical and Electronics Engineering 2023; 6(2): 1-10.
Wijaya AP, Tamami N, Oktavianto H. Surface 3D Scanner Using Time of Flight Ranging Sensor with Cylindrical Coordinate System. Jurnal Teknik Mesin dan Mekatronika 2022; 7(1): 35-50.
Komarizadehasl S, Turmo J, Mobaraki B, Lozano-Galant JA. Bridge Maintenance, Safety, Management, Life-Cycle Sustainability and Innovations. 1st ed., CRC Press: London; 2021.
Rusdiawan A, Alamsyah SA, Peni H, Supriyanto C. Push up Monitoring System Using ESP32 for Real-Time Performance Analysis. ASEAN Journal of Sport for Development and Peace 2024; 3(2): 123-132.
Nawaf SF. Investigation the Performance of Electro-Optical AC Voltage LiNbO3 Sensor Based on Pockels Effect. Tikrit Journal of Engineering Sciences 2014; 21(3): 32-37.
Rahman A. Precision and Accuracy of Ultrasonic and Infrared Laser ToF IoT Sensors. Journal of Informatics and Telecommunication Engineering 2025; 8(2): 219-226.
Farej ZK, Abdul-Hameed AM. Performance Evaluation of IEEE 802.15.4 Based Wireless Sensor Network for Small-Scale Application. Tikrit Journal of Engineering Sciences 2017; 24(3): 26-33.
Święcki M, Szymelewicz J, Matusiewicz J, Grądzki R. Tests of Useful Field of View of Laser Sensors Used in Autonomous Nano Sumo Robots. Tikrit Journal of Engineering Sciences 2021; 10(8): 414-421.
Saraubon K, Limthanmaphon B. IoT Telemonitoring System for COVID-19 Quarantine. TEM Journal 2021; 10(1): 105-112.
Komarizadehasl S. Development of Low-Cost Sensors for Structural Health Monitoring Applications. Ph.D. Thesis, Polytechnic University of Catalonia (UPC); 2022.
Boesl U. Time-of-Flight Mass Spectrometry: Introduction to the Basics. Mass Spectrometry Reviews 2017; 36(1): 86-109.
Farooq A, Alquaity AB, Raza M, Nasir EF, Yao S, Ren W. Laser Sensors for Energy Systems and Process Industries: Perspectives and Directions. Progress in Energy and Combustion Science 2022; 91: 100997.
Akbar LA, Purnomo DM, Putra RA, Hatmojo RB, Mulyasih H, Nugroho YS. Method Development of Measuring Depth of Burn Using Laser Ranging in Laboratory Scale. Journal of Advanced Research in Fluid Mechanics and Thermal Sciences 2020; 7(2): 268-274.
Abiodun OI, Jantan A, Omolara AE, Dada KV, Mohamed NA, Arshad H. State-of-the-Art in Artificial Neural Network Applications: A Survey. Heliyon 2018; 4(11): e00938.
Radulović D, Negovanović D. Gait Speed Prediction Based on Walking Parameters Using MLPRegressor. Student Scientific Conference RiSTEM 2021; 13-18.
Idris I. Python Data Analysis Cookbook. 1st ed., Packt Publishing Ltd: Birmingham; 2016.
Li X, Hu Z, Huang X. Combine ReLU With tanh. 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC) 2020; 51-55.
Daubechies I, DeVore R, Foucart S, Hanin B, Petrova G. Nonlinear Approximation and (Deep) ReLU Networks. Constructive Approximation 2022; 55(1): 127-172.
He J, Li L, Xu J, Zheng C. ReLU Deep Neural Networks and Linear Finite Elements. arXiv preprint arXiv:1807.03973 2018.
Khaleel RZ, Khaleel HZ, Abdullah Al-Hareeri AA, Mahdi Al-Obaidi AS, Humaidi AJ. Improved Trajectory Planning of Mobile Robot Based on Pelican Optimization Algorithm. Journal Européen des Systèmes Automatisés 2024; 57(4): 268-274.
Oleiwi SZ, Khaleel HZ, Khaleel RZ, Msallam MM, Humaidi AJ. Smart IoT Irrigation System Using PID-PSO Optimization Method. Advances in Technology and Innovation 2026; 11(1): 70-78.
Singh SP, Sharma SC. A Novel Energy Efficient Clustering Algorithm for Wireless Sensor Networks. Engineering, Technology & Applied Science Research 2017; 7(4): 1775-1780.
Tsmots I, Teslyuk V, Opotyak Y, Rabyk V. Intelligent Motion Control System for the Mobile Robotic Platform. 7th International Conference on Computational Linguistics and Intelligent Systems (COLINS-2023) 2023; 555-569.
Pleterski J, Škulj G, Esnault C, Puc J, Podržaj P. Miniature Mobile Robot Detection Using an Ultra-Low Resolution Time-of-Flight Sensor. IEEE Transactions on Instrumentation and Measurement 2023; 72: 5028009.
Khaleel HZ, Abdulkareem N, Khaleel RZ, Jumaa SS, Abduljabbar IA, Raheem FA, Challoob AF, Humaidi AJ. Optimization IoT Waterproof Temperature Sensor Readings Using PSO. 2025 IEEE 13th Conference on Systems, Process & Control (ICSPC) 2025; 170-174.
Khaleel HZ, Oleiwi BK. Design and Implementation Low Cost Smart Cleaner Mobile Robot in Complex Environment. Mathematical Modelling of Engineering Problems 2024; 11(10): 2869-2877.
Khaleel HZ, Oleiwi BK. Ultrasonic Sensor Decision-Making Algorithm for Mobile Robot Motion in Maze Environment. Bulletin of Electrical Engineering and Informatics 2024; 13(1): 109-116.
Humaidi AJ, Kadhim TM, SH, Ibraheem IK, Azar AT. A Generic Izhikevich-Modelled FPGA-Realized Architecture: A Case Study of Printed English Letter Recognition. 24th International Conference on System Theory, Control and Computing (ICSTCC) 2020; 825-830.
Humaidi AJ, Kadhim TM. Spiking Versus Traditional Neural Networks for Character Recognition on FPGA Platform. Journal of Telecommunication, Electronic and Computer Engineering 2018; 10(3): 109-115.
Humaidi AJ, Kadhim TM. Recognition of Arabic Characters Using Spiking Neural Networks. International Conference on Current Trends in Computer, Electrical, Electronics and Communication (CTCEEC) 2017; 7-11.
Al-Jodah A, Abbas SJ, Hasan AF, Humaidi AJ, Al-Obaidi S, Al-Qassar AA, Hassan RF. PSO-Based Optimized Neural Network PID Control Approach for a Four Wheeled Omnidirectional Mobile Robot. International Review of Applied Sciences and Engineering 2023; 14(1): 58-67.
Ziad H, Al-Dujaili A, Humaidi AJ. Electrical Faults Classification in Permanent Magnet Synchronous Motor Using ResNet Neural Network. International Review of Applied Sciences and Engineering 2024; 15(3): 355-364.
Mansoor MI, Tuama HM, Humaidi AJ. Application of Correlation-Based Recurrent Neural Network in Porosity Prediction for Petroleum Exploration. Engineering Research Express 2024; 7(1): 015241.
Hasan MY, Kadhim DJ, Humaidi AJ. Prediction of Electricity-Consumption and Residential Bills Based on Artificial Neural Network. International Review of Applied Sciences and Engineering 2025; 16(1): 142-152.
Jawad A, Petunin SM, Humaidi AJ. Multi-Robot Task Allocation Based on an Automatic Clustering Strategy Employing an Enhanced Dynamic Distributed PSO. International Review of Applied Sciences and Engineering 2025; 16(2): 210-221.