Control of a ball balancing robot using a standalone reinforcement learning agent

Purpose The purpose of this study is to design and evaluate a standalone reinforcement learning (RL) controller for a ball-balancing robot (ballbot). Conventional linear controllers such as proportional integral derivative (PID) or linear quadratic regulator (LQR) require simplified models that neglect nonlinear couplings, whereas nonlinear methods such as nonlinear model predictive control (NMPC) and sliding mode control impose high computational demands that hinder real-time implementation. These limitations make RL a necessary alternative, as it can directly learn robust control policies from interaction without explicit model simplification. Design/methodology/approach This study presents the development and training of a standalone RL controller to balance a ballbot using the deep deterministic policy gradient (DDPG). In addition, twin delayed deep deterministic policy gradient (TD3) algorithm is included and used in training as a comparative baseline. A high-fidelity simulation environment is constructed using NVIDIA IsaacGym, which incorporates a custom computer-aided design (CAD) model and a physics-based simulation framework that facilitates agent training. Findings Both RL algorithms successfully learn to stabilize the ballbot. However, the DDPG-based controller demonstrates superior performance in maintaining balance under external disturbances and varying ground conditions. Robustness of the trained RL agent is validated through different testing scenarios including weight perturbation, external force application and movement over nonuniform ground surfaces. In addition, a comparison with a classical PID controller is presented to highlight relative strengths and limitations. Originality/value This research introduces a novel standalone RL controller designed specifically for the ballbot system, trained in a realistic and robust simulation environment. The study highlights the potential of RL-based strategies in managing the complexities of balancing tasks for inherently unstable robotic platforms. Further originality of this work lies in the design of a task-specific reward function that integrates penalties on tilt, angular velocity and lateral drift, ensuring that the RL agent learns robust, efficient balancing strategies beyond what standard reward formulations achieve.

Authors

Institutions

Publication Details

Journal
Robotic Intelligence and Automation
Published
2026-11-26
DOI
https://doi.org/10.1108/ria-09-2025-0303
Primary Topic
Reinforcement Learning in Robotics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Control of a ball balancing robot using a standalone reinforcement learning agent

Mustafa Abdelrahman, AbdelRahman Ahmed Morsi, Abdelrahman Nashat, Mohamed Hassan
1 links
Robotic Intelligence and Automation
Reinforcement Learning in Robotics
article

Control of a ball balancing robot using a standalone reinforcement learning agent

Mustafa Abdelrahman, AbdelRahman Ahmed Morsi, Abdelrahman Nashat, Mohamed Hassan
article en

Abstract

Purpose The purpose of this study is to design and evaluate a standalone reinforcement learning (RL) controller for a ball-balancing robot (ballbot). Conventional linear controllers such as proportional integral derivative (PID) or linear quadratic regulator (LQR) require simplified models that neglect nonlinear couplings, whereas nonlinear methods such as nonlinear model predictive control (NMPC) and sliding mode control impose high computational demands that hinder real-time implementation. These limitations make RL a necessary alternative, as it can directly learn robust control policies from interaction without explicit model simplification. Design/methodology/approach This study presents the development and training of a standalone RL controller to balance a ballbot using the deep deterministic policy gradient (DDPG). In addition, twin delayed deep deterministic policy gradient (TD3) algorithm is included and used in training as a comparative baseline. A high-fidelity simulation environment is constructed using NVIDIA IsaacGym, which incorporates a custom computer-aided design (CAD) model and a physics-based simulation framework that facilitates agent training. Findings Both RL algorithms successfully learn to stabilize the ballbot. However, the DDPG-based controller demonstrates superior performance in maintaining balance under external disturbances and varying ground conditions. Robustness of the trained RL agent is validated through different testing scenarios including weight perturbation, external force application and movement over nonuniform ground surfaces. In addition, a comparison with a classical PID controller is presented to highlight relative strengths and limitations. Originality/value This research introduces a novel standalone RL controller designed specifically for the ballbot system, trained in a realistic and robust simulation environment. The study highlights the potential of RL-based strategies in managing the complexities of balancing tasks for inherently unstable robotic platforms. Further originality of this work lies in the design of a task-specific reward function that integrates penalties on tilt, angular velocity and lateral drift, ensuring that the RL agent learns robust, efficient balancing strategies beyond what standard reward formulations achieve.

Robotic Intelligence and Automation
University of Hull (GB), Assiut University (EG)
Reinforcement Learning in Robotics
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.

Laika access coming soon