In this investigation, ROS-based robust attitude control is designed for a two-wheeled self-balancing mobile robot (TWSBR) using the active disturbance rejection control (ADRC) technique. The designed ROS framework contemplates communication between topics for the desired robot commands and distributed framework design. This open architecture allows the integration of sensors, actuators, and processors. The architecture includes User-Friendly Interface, storage, navigation, control, and drivers. The low-cost robot was designed for educational purposes. It uses an Arduino Mega as a low-level processing unit, a Raspberry Pi 4 as a companion computer where high-level commands are processed, an MPU6050 Inertial Measurement Unit sensor, DC motors GW4058-555 with quadrature type encoder with two phases, the VNH2SP30 controller module used as the power stage and a Lithium Polymer (Li-Po) battery (11.1 V, 2200 mah) is used as the power source. The robust control algorithm is designed through the ADRC methodology based on the extended state observer (ESO). The ESO simultaneously estimates external disturbances, model uncertainties, and unmodeled dynamics such as friction, engine wear, and tire slippage. The stability of the developed controller is analyzed via the Lyapunov stability theory. Real-time experimental results are carried out under the regulation and rejection of external disturbances. The control algorithm is light and easy to implement and adjust in integrated systems with low computer resources.
This paper presents the non-linear control of an inverted pendulum type two-wheel self-balancing robot under the influence of uncertainties. Unlike most of the works in the literature, we propose a robust orientation control without resorting to linearisations around the equilibrium points or assumptions of small angles. A non-simplified nonlinear model is established in the presence of disturbance. The proposed algorithm is based on active disturbance rejection control ADRC. An extended state observer to estimate and compensate for the global disturbance is designed to assume unknown external disturbances and unmodeled dynamics. The observer is feedback along with a non-linear PID to ensure stability. The control algorithm has the property of being lightweight for possible implementation in embedded systems with low processing power.
21 September 2023 in Journal of Intelligent & Robotic Systems
In this article, a controller based on a Robot Operating System (ROS) for a two-wheeled self-balancing robot is designed. The proposed ROS architecture is open, allowing the integration of different sensors, actuators, and processing units. The low-cost robot was designed for educational purposes. It used an ESP32 microcontroller as the central unit, an MPU6050 Inertial Measurement Unit sensor, DC motors with encoders, and an L298N integrated circuit as a power stage. The mathematical model is analyzed through Newton-Euler and linearized around an equilibrium point. The control objective is to self-balance the robot to the vertical axis in the presence of disturbances. The proposed control is based on a bounded saturation, which is lightweight and easy to implement in embedded systems with low computational resources. Experimental results are performed in real-time under regulation, conditions far from the equilibrium point, and rejection of external disturbances. The results show a good performance, thus validating the mechanical design, the embedded system, and the control scheme. The proposed ROS architecture allows the incorporation of different modules, such as mapping, autonomous navigation, and manipulation, which contribute to studying robotics, control, and embedded systems.
En este artículo es presentada una plataforma experimental para el desarrollo de algoritmos de robótica, control y aprendizaje. La arquitectura propuesta basada en ROS es abierta, permitiendo la integración de diferentes sensores, unidades de procesamiento y robots. Un Controlador por Rechazo Activo de Perturbaciones (CRAP) es diseñado sobre un robot omnidireccional para validar la plataforma desarrollada. Incertidumbres paramétricas, la fricción de las ruedas sobre la superficie y las perturbaciones externas son agrupadas en una perturbación total, la cual es estimada por un Observador de Estado Extendido y y compensada mediante un término feedforward en la ley de control. El robot omnidireccional se puede comunicar a través de ROS mediante un sistema de captura de movimiento (servidor). Se presentan los resultados de las simulaciones y experimentos en tiempo real. El algoritmo de control es ligero y fácil de implementar y ajustar en sistemas embebidos con pocos recursos computacionales o de bajo costo.