Ball-on-Sphere System MapleSim Model - Ball-on-Sphere System S-Function - MapleSim Model Gallery

Ball-on-Sphere System

This model is a control laboratory experiment, called the ball-on-sphere system. This system consists of a sphere, two motors, and two friction wheels. On the top of the sphere, a small ball is balanced by rolling the sphere along each of two horizontal axes through friction wheels driven by motors. Control of this system is a challenging task because of inherent nonlinearity, instability, and underactuation. A LQR stabilizing control law is obtained based on linearized system model. To examine the performance of the control strategy in the presence of disturbance, in the simulation two impulsive disturbances are added to the position of the ball (impulsive disturbance is indicated by “disturbance”). As shown, the control system recovers from the impulsive disturbances. The control law is implemented on an experimental apparatus. The video of both the animation and the experiment show that the system performs well even with disturbance. A good agreement between the simulation and the experimental results is also obtained.

This model was developed and the experiment was conducted by Chien-Chen Huang, Yen-Hsiang Huang, and Ming-Tzu Ho at the Department of Engineering Science of National Cheng Kung University, Taiwan.

See this model in action!

This model is currently not available for instant download. Contact us to arrange a short, live demonstration with a MapleSim product expert, where you will:

  • See how this model operates
  • Learn how it was developed
  • Discover how it can be modified to fit your requirements


Request an S-Function

MapleSim Models can be readily exported as royalty-free S-functions. To request the S-function corresponding to this model, please fill in the form below.

Model: Ball-on-Sphere System

Submitting form...

Thank you for requesting the S-Function. Your request has been received and you can expect to hear from us shortly. Close Window
Oops! There was a problem. Try again later Close Window
Model Images
  • model The model schematic of the system
  • 3d Animation of the simulation result
MapleSim Video
Video not available in this browser.
Simulink is a registered trademark of The MathWorks, Inc.