Motion System of a Four-Wheeled Robot Using a PID Controller Based on MPU and Rotary Encoder Sensors

Muhamad Rian Sagita, Alfian Ma’arif, Furizal Furizal, Chokri Rekik, Wahyu Caesarendra, Rania Majdoubi

Abstract


This research addresses the challenge of developing an effective motion system for a four-wheeled omnidirectional robot configured with wheels at a 45-degree angle, allowing for holonomic movement—motion in any direction without changing orientation. In this system, inverse kinematics calculates each wheel's angular velocity to optimize movement. PID control is implemented to stabilize motor speeds, while odometry guides and determines the robot’s position using initial and target coordinates. The robot operates on a 12-volt power supply and two STM32F103C microcontrollers, utilizing an MPU6050 sensor to maintain orientation and optical rotary encoders for accurate positional tracking. Experimental results demonstrate that the robot achieves optimal motion on x and y axes with PID settings of kP = 0.8, kI = 1.0, and kD = 0.08. This configuration yields a rise time of 0.95 seconds, overshoot of 7.36%, and steady-state error of -0.5 RPM at a setpoint of 350 RPM. Using odometry, the robot successfully navigates various movement patterns with average position errors of 1.2% on the x-axis and 1.6% on the y-axis for rectangular patterns, 2.1% on the x-axis and 2.2% on the y-axis for zig-zag patterns, and 1.75% on the x-axis and 1.15% on the y-axis for triangular patterns. The MPU6050 sensor maintains orientation with an error of 0.65% in triangular patterns and 0.85% in rectangular patterns. Through inverse kinematics, PID control, and sensor integration, the robot reliably follows designated coordinate points.

Keywords


Four-Wheeled Robot Motion System, Omnidirectional Wheeled Robot, Inverse Kinematics, Odometry

Full Text:

PDF

References


M. Bjelonic, V. Klemm, J. Lee, and M. Hutter, “A Survey of Wheeled-Legged Robots,” Robotics in Natural Setting, pp. 83–94, 2023, https://doi.org/10.1007/978-3-031-15226-9_11.

L. Tagliavini, G. Colucci, A. Botta, P. Cavallone, L. Baglieri, and G. Quaglia, “Wheeled Mobile Robots: State of the Art Overview and Kinematic Comparison Among Three Omnidirectional Locomotion Strategies,” Journal of Intelligent & Robotic Systems, vol. 106, no. 3, p. 57, 2022, https://doi.org/10.1007/s10846-022-01745-7.

H. Taheri and C. X. Zhao, “Omnidirectional mobile robots, mechanisms and navigation approaches,” Mechanism and Machine Theory, vol. 153, p. 103958, 2020, https://doi.org/10.1016/j.mechmachtheory.2020.103958.

M. Ben-Ari and F. Mondada, “Elements of robotics,” Springer International Publishing, 2018, https://doi.org/10.1007/978-3-319-62533-1.

D. Rotondo, V. Puig, F. Nejjari and J. Romera, "A Fault-Hiding Approach for the Switching Quasi-LPV Fault-Tolerant Control of a Four-Wheeled Omnidirectional Mobile Robot," IEEE Transactions on Industrial Electronics, vol. 62, no. 6, pp. 3932-3944, 2015, https://doi.org/10.1109/TIE.2014.2367002.

A. Krishnan and P. Sudarshan, "Self-Localization and Waypoints following of Holonomic Three Wheeled Omni-Directional Mobile Robot," 2021 IEEE International Conference on Distributed Computing, VLSI, Electrical Circuits and Robotics (DISCOVER), pp. 253-258, 2021, https://doi.org/10.1109/DISCOVER52564.2021.9663644.

D. U. Rijalusalam and I. Iswanto, “Implementation Kinematics Modeling and Odometry of Four Omni Wheel Mobile Robot on The Trajectory Planning and Motion Control Based Microcontroller,” Journal of Robotics and Control (JRC), vol. 2, no. 5, pp. 448-455, 2021, https://doi.org/10.18196/jrc.25121.

E. Savaee and A. Rahmani Hanzaki, “A New Algorithm for Calibration of an Omni-Directional Wheeled Mobile Robot Based on Effective Kinematic Parameters Estimation,” Journal of Intelligent & Robotic Systems, vol. 101, no. 2, p. 28, 2021, https://doi.org/10.1007/s10846-020-01296-9.

H. P. Oliveira, A. J. Sousa, A. P. Moreira and P. J. Costa, “Modeling and Assessing of Omni-Directional Robots with Three and Four Wheels,” Contemporary Robotics - Challenges and Solutions, 2009, https://doi.org/10.5772/7796.

A. Sofwan, H. R. Mulyana, H. Afrisal and A. Goni, "Development of Omni-Wheeled Mobile Robot Based-on Inverse Kinematics and Odometry," 2019 6th International Conference on Information Technology, Computer and Electrical Engineering (ICITACEE), pp. 1-6, 2019, https://doi.org/10.1109/ICITACEE.2019.8904418.

L. O. M. Idris, S. A. D. Prasetyowati, I. M. I. Subroto, “Forward and Inverse Kinematic on Wheeled Soccer Robot,” Journal of Telematics and Informatics, vol. 6, no. 4, pp. 258-268, 2019, http://dx.doi.org/10.12928/jti.v6i4.

H. P. Oliveira, A. J. Sousa, A. P. Moreira, and P. J. Costa, “Dynamical models for omni-directional robots with 3 and 4 wheels,” Proceedings of the Fifth International Conference on Informatics in Control, Automation and Robotics - Volume 2: ICINCO, pp. 189-196, 2008, https://doi.org/10.5220/0001489201890196.

R. T. Yunardi, D. Arifianto, F. Bachtiar, and J. I. Prananingrum, “Holonomic Implementation of Three Wheels Omnidirectional Mobile Robot using DC Motors,” Journal of Robotics and Control (JRC), vol. 2, no. 2, pp. 65-71, 2021, https://doi.org/10.18196/jrc.2254.

M. Fiedeń and J. Bałchanowski, “A Mobile Robot with Omnidirectional Tracks—Design and Experimental Research,” Applied Sciences, vol. 11, no. 24, p. 11778, 2021, https://doi.org/10.3390/app112411778.

J. Palacín, D. Martínez, E. Rubies, and E. Clotet, “Suboptimal Omnidirectional Wheel Design and Implementation,” Sensors, vol. 21, no. 3, p. 865, 2021, https://doi.org/10.3390/s21030865.

M. R. Azizi, A. Rastegarpanah, and R. Stolkin, “Motion Planning and Control of an Omnidirectional Mobile Robot in Dynamic Environments,” Robotics, vol. 10, no. 1, p. 48, 2021, https://doi.org/10.3390/robotics10010048.

M. Kamaludin and W. S. Aji, “Manuver Robot Manual Menggunakan PID pada Robot Manual KRAI 2018,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 1, no. 3, p. 91, 2019, https://doi.org/10.12928/biste.v1i3.978.

M. B. Alatise and G. P. Hancke, "A Review on Challenges of Autonomous Mobile Robot and Sensor Fusion Methods," IEEE Access, vol. 8, pp. 39830-39846, 2020, https://doi.org/10.1109/ACCESS.2020.2975643.

C. S. Tan, R. Mohd-Mokhtar and M. R. Arshad, "A Comprehensive Review of Coverage Path Planning in Robotics Using Classical and Heuristic Algorithms," IEEE Access, vol. 9, pp. 119310-119342, 2021, https://doi.org/10.1109/ACCESS.2021.3108177.

P. K. Panigrahi and S. K. Bisoy, “Localization strategies for autonomous mobile robots: A review,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 8, pp. 6019–6039, 2022, https://doi.org/10.1016/j.jksuci.2021.02.015.

K. H. Ng, C. F. Yeong, E. L. M. Su and A. R. Husain, "Implementation of cascade control for wheeled mobile robot straight path navigation," 2012 4th International Conference on Intelligent and Advanced Systems (ICIAS2012), pp. 503-506, 2012, https://doi.org/10.1109/ICIAS.2012.6306067.

I. Rifajar and A. Fadlil, “The Path Direction Control System for Lanange Jagad Dance Robot Using the MPU6050 Gyroscope Sensor,” International Journal of Robotics and Control Systems, vol. 1, no. 1, pp. 27–40, 2021, https://doi.org/10.31763/ijrcs.v1i1.225.

A. Febriawan and W. S. Aji, “Rotating Control on Robots Indonesian Abu Robot Contest with PID and IMUBNO055 Controls,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 2, no. 1, p. 14, 2020, https://doi.org/10.12928/biste.v1i3.987.

K. -C. Chang et al., "Shortest Distance Maze Solving Robot," 2020 IEEE International Conference on Artificial Intelligence and Information Systems (ICAIIS), pp. 283-286, 2020, https://doi.org/10.1109/ICAIIS49377.2020.9194913.

J. -X. Zhang and G. -H. Yang, "Low-Complexity Tracking Control of Strict-Feedback Systems With Unknown Control Directions," IEEE Transactions on Automatic Control, vol. 64, no. 12, pp. 5175-5182, 2019, https://doi.org/10.1109/TAC.2019.2910738.

I. Carlucho, M. D. Paula, G. G. Acosta, “Double Q-PID algorithm for mobile robot control,” Expert Systems with Applications, vol. 137, pp. 292-307, 2019, https://doi.org/10.1016/j.eswa.2019.06.066.

Y. Zhao, J. Wang, G. Cao, Y. Yuan, X. Yao and L. Qi, "Intelligent Control of Multilegged Robot Smooth Motion: A Review," IEEE Access, vol. 11, pp. 86645-86685, 2023, https://doi.org/10.1109/ACCESS.2023.3304992.

J. Carpentier and P.-B. Wieber, “Recent Progress in Legged Robots Locomotion Control,” Current Robotics Reports, vol. 2, no. 3, pp. 231–238, 2021, https://doi.org/10.1007/s43154-021-00059-0.

T. Mikolajczyk et al., “Recent Advances in Bipedal Walking Robots: Review of Gait, Drive, Sensors and Control Systems,” Sensors, vol. 22, no. 12, p. 4440, 2022, https://doi.org/10.3390/s22124440.

G. Singh and V. K. Banga, “Kinematics and trajectory planning analysis based on hybrid optimization algorithms for an industrial robotic manipulators,” Soft computing, vol. 26, no. 21, pp. 11339–11372, 2022, https://doi.org/10.1007/s00500-022-07423-y.

I. Doroftei and B. Stirbu, “Design, modeling and control of an omni-directional mobile robot,” Solid State Phenomena, vol. 166–167, pp. 173–178, 2010, https://doi.org/10.4028/www.scientific.net/SSP.166-167.173.

M. Hijikata, R. Miyagusuku, and K. Ozaki, “Wheel Arrangement of Four Omni Wheel Mobile Robot for Compactness,” Applied Sciences, vol. 12, no. 12, p. 5798, 2022, https://doi.org/10.3390/app12125798.

H. Hadfield, L. Wei, and J. Lasenby, “The Forward and Inverse Kinematics of a Delta Robot,” Advances in Computer Graphics, pp. 447-458, 2020, https://doi.org/10.1007/978-3-030-61864-3_38.

H. Ye, D. Wang, J. Wu, Y. Yue, and Y. Zhou, “Forward and inverse kinematics of a 5-DOF hybrid robot for composite material machining,” Robotics and Computer-Integrated Manufacturing, vol. 65, p. 101961, 2020, https://doi.org/10.1016/j.rcim.2020.101961.

N. T. Dantam, “Robust and efficient forward, differential, and inverse kinematics using dual quaternions,” The International Journal of Robotics Research, vol. 40, no. 10-11, pp. 1087-1105, 2021, https://doi.org/10.1177/0278364920931948.

Kok Seng Chong and L. Kleeman, "Accurate odometry and error modelling for a mobile robot," Proceedings of International Conference on Robotics and Automation, vol. 4, pp. 2783-2788, 1997, https://doi.org/10.1109/ROBOT.1997.606708.

G. -S. Cai, H. -Y. Lin and S. -F. Kao, "Mobile Robot Localization using GPS, IMU and Visual Odometry," 2019 International Automatic Control Conference (CACS), pp. 1-6, 2019, https://doi.org/10.1109/CACS47674.2019.9024731.

A. J. Moshayedi, A. Abbasi, L. Liao and S. Li, "Path planning and trajectroy tracking of a mobile robot using bio-inspired optimization algorithms and PID control," 2019 IEEE International Conference on Computational Intelligence and Virtual Environments for Measurement Systems and Applications (CIVEMSA), pp. 1-6, 2019, https://doi.org/10.1109/CIVEMSA45640.2019.9071596.

R. P. Borase, D. K. Maghade, S. Y. Sondkar, and S. N. Pawar, “A review of PID control, tuning methods and applications,” International Journal of Dynamics and Control, vol. 9, no. 2, pp. 818–827, 2021, https://doi.org/10.1007/s40435-020-00665-4.

S. A. Al-Samarraie and I. I. Gorial, “Assessment of FLC, PID, Nonlinear PID, and SMC Controllers for Level Stabilization in Mechatronic Systems,” Journal of Robotics and Control (JRC), vol. 5, no. 6, pp. 1845–1861, 2024, https://doi.org/10.18196/jrc.v5i6.23639.

J. Zhang and L. Guo, "Theory and Design of PID Controller for Nonlinear Uncertain Systems," IEEE Control Systems Letters, vol. 3, no. 3, pp. 643-648, 2019, https://doi.org/10.1109/LCSYS.2019.2915306.

A. Ianni and N. Rossi, “SIR-PID: A Proportional–Integral–Derivative Controller for COVID-19 Outbreak Containment,” Physics, vol. 3, no. 3, pp. 459–472, 2021, https://doi.org/10.3390/physics3030031.

A. Eltayeb, G. Ahmed, I. H. Imran, N. M. Alyazidi, and A. Abubaker, “Comparative Analysis: Fractional PID vs. PID Controllers for Robotic Arm Using Genetic Algorithm Optimization,” Automation, vol. 5, no. 3, pp. 230–245, 2024, https://doi.org/10.3390/automation5030014.

R. C. Chourasia, N. Verma, P. Singh, and S. Kant, “Speed Control of DC Motor using PID Controller,” Global Journal of Technology and Optimization, vol. 13, no. 1, pp. 1–4, 2022, https://www.hilarispublisher.com/open-access/speed-control-of-dc-motor-using-pid-controller-76415.html.

F. F. Rahani and P. A. Rosyady, “Quadrotor Altitude Control using Recurrent Neural Network PID,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 5, no. 2, pp. 279–290, 2023, https://doi.org/10.12928/biste.v5i2.8455.

O. Dogru et al., “Reinforcement learning approach to autonomous PID tuning,” Computers & Chemical Engineering, vol. 161, p. 107760, 2022, https://doi.org/10.1016/j.compchemeng.2022.107760.

A. Ma’Arif, H. Nabila, Iswanto, and O. Wahyunggoro, “Application of Intelligent Search Algorithms in Proportional-Integral-Derivative Control of Direct-Current Motor System,” Journal of Physics: Conference Series, vol. 1373, no. 1, 2019, https://doi.org/10.1088/1742-6596/1373/1/012039.

M. Bodson, "Speed Control for Doubly Fed Induction Motors With and Without Current Feedback," IEEE Transactions on Control Systems Technology, vol. 28, no. 3, pp. 898-907, 2020, https://doi.org/10.1109/TCST.2019.2898372.

S. Balamurugan and A. Umarani, "Study of Discrete PID Controller for DC Motor Speed Control Using MATLAB," 2020 International Conference on Computing and Information Technology (ICCIT-1441), pp. 1-6, 2020, https://doi.org/10.1109/ICCIT-144147971.2020.9213780.

M. A. Shamseldin, “Design of Auto-Tuning Nonlinear PID Tracking Speed Control for Electric Vehicle with Uncertainty Consideration,” World Electric Vehicle Journal, vol. 14, no. 4, p. 78, 2023, https://doi.org/10.3390/wevj14040078.

X. Miao, C. Hu, and Y. Qiao, “A Novel Two Variables PID Control Algorithm in Precision Clock Disciplining System,” Electronics, vol. 13, no. 19, p. 3820, 2024, https://doi.org/10.3390/electronics13193820.

Z. Bingul and K. Gul, “Intelligent-PID with PD Feedforward Trajectory Tracking Control of an Autonomous Underwater Vehicle,” Machines, vol. 11, no. 2, p. 300, 2023, https://doi.org/10.3390/machines11020300.

K. Mohamed, K. Sayed, and A. Kassem, “Analysis, Performance Improvement and Control Design of Heliostat System Based on Fractional Order PID Controller,” Sohag Engineering Journal, 2024, https://doi.org/10.21608/sej.2024.275518.1056.

S. A. Khomami and S. Shamekhi, “Persian sign language recognition using IMU and surface EMG sensors,” Measurement, vol. 168, p. 108471, 2021, https://doi.org/10.1016/j.measurement.2020.108471.

I. Miftahussalam, E. S. Julian, K. Prawiroredjo, and E. Djuana, “Wheelchair control system with hand movement using accelerometer sensor,” Microelectronic Engineering, vol. 278, p. 112018, 2023, https://doi.org/10.1016/j.mee.2023.112018.

A. A. Rafiq, W. N. Rohman, and S. D. Riyanto, “Development of a Simple and Low-cost Smartphone Gimbal with MPU-6050 Sensor,” Journal of Robotics and Control (JRC), vol. 1, no. 4, pp. 136-140, 2020, https://doi.org/10.18196/jrc.1428.

L. R. K. and V. Vijayaraghavan, “A Self-Powered, Real-Time, NRF24L01 IoT-Based Cloud-Enabled Service for Smart Agriculture Decision-Making System,” Wireless Personal Communications, vol. 124, no. 1, pp. 207–236, 2022, https://doi.org/10.1007/s11277-021-09462-4.

W. Li, W. Wei and C. Chuixin, "Design of Wireless Wind Control Cooling System Based on nRF24L01," 2021 IEEE International Conference on Information Communication and Software Engineering (ICICSE), pp. 327-330, 2021, https://doi.org/10.1109/ICICSE52190.2021.9404144.

Azhari, T. I. Nasution, S. H. Sinaga, and Sudiati, “Design of Monitoring System Temperature And Humidity Using DHT22 Sensor and NRF24L01 Based on Arduino,” Journal of Physics: Conference Series, vol. 2421, no. 1, p. 012018, 2023, https://doi.org/10.1088/1742-6596/2421/1/012018.

Y. Kang, Y. Xu, Y. Wang, Y. Wu, and Q. Tan, “Underground transient electromagnetic real-time imaging system for coal mine water disasters,” Measurement, vol. 203, p. 111709, 2022, https://doi.org/10.1016/j.measurement.2022.111709.

I. Yashan, I. Bekh, and S. Mamilov, “Developing hardware and software complex for monitoring the relative level of Co in the human exhalation,” AIP Conference Proceedings, p. 090017, 2023, https://doi.org/10.1063/5.0148002.




DOI: https://doi.org/10.59247/csol.v2i2.150

Refbacks

  • There are currently no refbacks.


Copyright (c) 2024 Muhamad Rian Sagita, Alfian Ma’arif, Furizal Furizal, Chokri Rekik, Wahyu Caesarendra, Rania Majdoubi

 

Control Systems and Optimization Letters
ISSN: 2985-6116
Website: https://ejournal.csol.or.id/index.php/csol
Email: alfian_maarif@ieee.org
Publisher: Peneliti Teknologi Teknik Indonesia
Address: Jl. Empu Sedah No. 12, Pringwulung, Condongcatur, Kec. Depok, Kabupaten Sleman, Daerah Istimewa Yogyakarta 55281, Indonesia