Ball and Beam JavaScript Simulation Applet HTML5
This simulation (link here) shows a ball balanced on a beam. The beam is controlled by a motor, and adjusts accordingly to the ball's location.
The graph on the left shows the actual ball and beam, while the graph on the right shows the graphs of velocity (green), x-position (blue), reference position of the beam (red), and the angle between the beam and the horizontal (magenta) against time.
Do play around with adjusting the different parameters with the sliders and see their effects on the system.
The graph on the left shows the actual ball and beam, while the graph on the right shows the graphs of velocity (green), x-position (blue), reference position of the beam (red), and the angle between the beam and the horizontal (magenta) against time.
Do play around with adjusting the different parameters with the sliders and see their effects on the system.