This is a model of Quanser's ball and beam module which consists of a track on which the metal ball is free to roll. One side of the beam is attached to a lever arm which is coupled to and rotates with a motor. By controlling the positing of the motor, the beam angle is adjusted to balance the ball to the desired position. Two PD controllers are used to control 1) the angle and 2) the ball position along the beam.