View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

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

4.8 | 5 ratings Rate this file 16 Downloads (last 30 days) File Size: 11.7 MB File ID: #23931 Version: 1.0
image thumbnail

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



NXT Ballbot Model-Based Design based on Embedded Coder Robot NXT.

| Watch this File

File Information

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.


Embedded Coder Robot Nxt Demo, Nx Tway Gs (Self Balancing Two Wheeled Robot) Controller Design, and Nxt Scara (Two Link Planar Robot Arm) Controller Design inspired this file.

This file inspired Nx Tway Gs (Self Balancing Two Wheeled Robot) Controller Design.

Required Products Control System Toolbox
Simulink Coder
Embedded Coder
Simulink 3D Animation
MATLAB release MATLAB 7.5 (R2007b)
Other requirements nxtOSEK, Cygwin, GNU ARM
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
24 Mar 2016 JeongMo Kim


28 Sep 2012 vamsi krishna Mamidi

when I run your simulation I am getting the following error. Can you tell where it might be wrong 'nxt_ballbot_sfun.bat' is not recognized as an internal or external command,
operable program or batch file

Comment only
18 Sep 2012 Dominic Guri

30 Jan 2012 Lorenzo Garcia

06 Dec 2011 Saber

Saber (view profile)

13 Nov 2010 Piotr Czekalski

Great model.
Works almost perfect - I've been able to create and test one in our university's robotics lab - still need some tuning, mostly because of gyro sensor offsets I guess. Anyway very spectacular one ;-).

Thank you for sharing!

Contact us