Physics
Expand the curriculum with exciting experiments in dynamics and gain insight into how modeling and simulation can enhance and strengthen understanding of physics and math concepts.
Balancing Ball
This model studies a ball rolling on top of a beam. The ball translational acceleration will be dependent on how the beam is angled. In this example, two different control schemes are studied, the PID regulator and the LQ regulator, which can be used to control the position of the ball along the beam, using the beam angle as input.
To run this example, you'll need
The latest versions of System Modeler and Mathematica.
Please make a selection:
Get afree trial Continue
with download
The Model
Gravity acts on the ball, providing a downward force that is proportional to the mass of the object. When the beam is perpendicular to the gravitational force, parallel to the ground, the normal force exactly cancels out the gravitational force and no acceleration is applied to the ball. By carefully setting the angle of the beam, the position of the ball along the beam can be controlled. The model can be used to try out different methods for controlling the position of the ball, both in simulation and with real-time connection to hardware.
Visualization
Since the model is built in SystemModeler using the MultiBody library, an animation of the model is generated automatically. Custom CAD models have been loaded onto the objects to give an accurate representation of the real-world system.
Controller Design
Use the Wolfram Language together with SystemModeler to design a controller for the hardware, based on the model.
Design & Compare
Wolfram System Modeler
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »