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

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and implementation of two-wheeled self-balancing mobile robot control system based on STM32-MAT and Android

Wenzheng Zhai, Liangwei Dong
Journal of Measurements in Engineering
Advanced Sensor and Control Systems
article

Design and implementation of two-wheeled self-balancing mobile robot control system based on STM32-MAT and Android

Wenzheng Zhai, Liangwei Dong
article en

Abstract

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.

Journal of Measurements in EngineeringVol. 13(3)
Government of Jiangsu Province, Qinglan Project of Jiangsu Province of China
Openalex Percentile: Top 83%
Advanced Sensor and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.