A Two-Wheel Mobile Robot Platform for Simulating and Understanding Spacecraft Attitude Dynamics and Control
DOI:
https://doi.org/10.15282/mekatronika.v7i1.12151Keywords:
Spacecraft Attitude Control, PID Controller, Reaction Wheels, Particle Swarm Optimization (PSO), Two-Wheeled Mobile RobotAbstract
This study investigates the design and simulation of spacecraft attitude control using a two-wheeled robot as a model. Spacecraft attitude control is a complex system requiring precision in maintaining the orientation of a spacecraft relative to a desired reference frame. However, due to its complexity, it is challenging to understand the system dynamics directly. Thus, this research simulates spacecraft attitude control by mimicking the system behavior using a two-wheeled, Arduino-based mobile robot. The primary objective is to develop a control system that reads gyroscope data and adjusts the motor speeds to replicate spacecraft stabilization through reaction wheels. Additionally, a PID controller is implemented to control the robot wheel's speed to simulate the operation of reaction wheels. The platform and model were designed using Arduino and tested with system identification techniques. The motor's RPM and transfer function were modeled to analyze and fine-tune the PID controller, which significantly enhanced the system's performance. A Particle Swarm Optimization (PSO) method was used to determine the optimal PID parameters, improving system stability and precision in the movement. The results indicated that the system achieved stability with less than 10% steady-state error, minimal overshoot, and fast settling times, thus demonstrating effective attitude control through PID regulation. The system exhibited the ability to adjust the motor speed based on the yaw angle, thereby simulating the torque-free motion typical of spacecraft. This study demonstrates how combining theoretical modeling, simulation, and hardware implementation can simplify the understanding of spacecraft attitude control.
References
[1] Wertz, J. R. (Ed.). (2012). Spacecraft attitude determination and control (Vol. 73). Springer Science & Business Media.
[2] Marcel J. Sidi, “Cambridge Aerospace Series 7 General editors Spacecraft Dynamics and Control,” 1997. doi: https://doi.org/10.1017/CBO9780511815652.
[3] T. S. Abdel Aziz, G. I. Salama, M. S. Mohamed, and S. Hussein, “Efficient machine learning based techniques for fault detection and identification in spacecraft reaction wheel,” Aerospace Systems, Dec. 2024, doi: 10.1007/s42401-024-00322-0.
[4] M. Bassetto, G. Mengali, and A. A. Quarta, “Drag sail attitude tracking via nonlinear control,” Acta Astronaut, vol. 225, pp. 845–856, Dec. 2024, doi: 10.1016/j.actaastro.2024.09.046.
[5] W. Wu, Z. Jin, and A. Zeya, “Attitude estimation using an adaptive generalized complementary filter,” Measurement, vol. 251, p. 117265, 2025, doi: https://doi.org/10.1016/j.measurement.2025.117265.
[6] S. Barman and M. Sinha, “A Novel Nonsingular Fast Fixed-Time Sliding Mode Control and Its Application to Satellite Attitude Control,” International Journal of Robust and Nonlinear Control, vol. 35, pp. 2184–2198, 2025, doi: https://doi.org/10.1016/j.ast.2024.109746.
[7] T. Saito, T. Kuwahara, Y. Saito, and Y. Sato, “Guidance strategies for controlled Earth reentry of small spacecraft in low Earth orbit,” Acta Astronaut, vol. 229, pp. 684–697, 2025, doi: https://doi.org/10.1016/j.actaastro.2024.12.054.
[8] M. Shafiq and I. Ahmad, “A novel fixed-time smooth synchronization controller for stabilizing chaotic spacecraft formation,” Alexandria Engineering Journal, vol. 117, pp. 577–592, 2025, doi: https://doi.org/10.1016/j.aej.2024.12.076.
[9] M. Seddighi and M. Jafari-Nadoushan, “Designing a concurrent detumbling and redirection mission for asteroid mining purposes via optimization,” Astrodynamics, Dec. 2024, doi: 10.1007/s42064-024-0213-9.
[10] B. C. . Kuo and Farid. Golnaraghi, Automatic control systems. John Wiley & Sons, 2003.
[11] Kennedy, J. and Eberhart, R. (1995) Particle Swarm Optimization. Proceedings of the IEEE International Conference on Neural Networks, 4, 1942-1948.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 The Author(s)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.