Design and implementation of two-wheeled self-balancing mobile robot control system based on STM32-MAT and Android
A two-wheeled self-balancing mobile robot (TWBMR) represents a complex motion control system characterized by multi-variable, nonlinear, high-order, strong-coupling dynamics, and intrinsic instability. Aiming at the complexity of system development, this paper proposes an embedded software development approach based on model-based design (MBD) using Matlab/Simulink. By integrating a control strategy that combines a digital motion processing (DMP) attitude solver with a PID control algorithm, and leveraging the Android platform along with a Bluetooth communication module for online parameter tuning, effective self-balancing control of the TWBMR is achieved. Experimental results demonstrate that the system exhibits high accuracy in Bluetooth-based data transmission and reception, excellent control precision, robust system stability, and rapid time response. The main contribution of this paper is to make focus on concretely building a unique model architecture of the TWBMR control system able to implement all the major aspects of MBD methodology such as executable requirements and Processor-In-the Loop (PIL) simulation modes, verification and automatic code generation. It is a great advantage to develop the system faster and more efficiently, shorten the prototyping process.
Authors
- Wenzheng Zhai (ORCID: https://orcid.org/0000-0003-2944-1670)
- Liangwei Dong
Publication Details
- Journal
- Journal of Measurements in Engineering
- Published
- 2025-06-29
- DOI
- https://doi.org/10.21595/jme.2025.24881
- Primary Topic
- Advanced Sensor and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Government of Jiangsu Province
- Qinglan Project of Jiangsu Province of China