NXT Ballbot (Self-Balancing Robot On A Ball) Controller Design

NXT Ballbot Model-Based Design based on Embedded Coder Robot NXT.
Updated 28 Apr 2009

View License

NXT Ballbot is a LEGO Mindstorms NXT version of Ballbot that is developed by Ralph Hollis at Carnegie Mellon University. The Ballbot is designed to balance itself on its single spherical wheel while traveling about. Please refer the following URL to know more detailed information about Ballbot.


This demo presents sample models and documents describe the following contents.

How to Build NXT Ballbot
Mathematical Dynamics Model of NXT Ballbot
Controller Design for Balance and Drive Control
NXT Ballbot Model Illustration
Simulation and Experimental Results

You can simulate NXT Ballbot model and generate controller program that can be executed on the NXT. Furthermore, you can watch movies of NXT Ballbot simulation and control experiment at the following URL.


This demo requires Embedded Coder Robot NXT Demo as MBD environment. You need to download it from the following URL before trying this demo.


LEGO(R) is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this demo. LEGO(R) and Mindstorms(R) are registered trademarks of The LEGO Group.

Cite As

Yorihisa Yamamoto (2024). NXT Ballbot (Self-Balancing Robot On A Ball) Controller Design (https://www.mathworks.com/matlabcentral/fileexchange/23931-nxt-ballbot-self-balancing-robot-on-a-ball-controller-design), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes