Skip to content Skip to navigation

Connexions

You are here: Home » Content » Interactive Ball and Beam Experiment

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • National Instruments

    This module is included in aLens by: National Instruments

    Comments:

    "This module shows an example second order system where the plant model and the controller of the system are simulated in using the LabVIEW Simulation Module. LabVIEW's 3D Picture Control is used […]"

    Click the "National Instruments" link to see all content affiliated with them.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Interactive Ball and Beam Experiment

Module by: Erik Luther

Summary: The ball and beam experiment represents a simple second order system. This system is easily simulated using four states, but is more difficult to implement in real-life because not all necessary variables are easily observed. This simulation assumes all four states are easily observed and the system is linear throught the operating region. The plant model and the controller of the system are simulated in LabVIEW using the LabVIEW Simulation Module.

The ball and beam experiment is built with two moving parts, the ball and a beam, typically having a track so to limit the balls movement to one dimension along the beam. A motor is used to change the angle of the beam from the center. Both the angel of the beam and the position of the ball must be measured. The state space model utilizes all four states for control of the model. Those include the x position of the ball, the velocity of the ball, the angle of the bar and the angular velocity of the bar. The controller makes use of these values to derive an error signal used for feedback.

Figure 1: LabVIEW Interactive Ball and Beam Experiment
Interactive Ball and Beam Experiment
Interactive Ball and Beam Experiment (Ball-Beam-stable.gif)

The Ball and Beam source code can be downloaded here: Ball and Beam Simulation VI

Figure 2: This LabVIEW VI utilizes the LabVIEW Simulation module to simulate the controller effects on the Ball and Beam plant model.
Ball and Beam VI Block Diagram
Ball and Beam VI Block Diagram (ball-beam-bd.JPG)

This VI was created with LabVIEW 8.20 and the LabVIEW Simulation Module 8.20.

Reference: Solution to the Ball and Beam Problem Using the State-space Design Method by William C. Messner, Carnegie Mellon University and Dawn Tilbury, University of Michigan

Comments, questions, feedback, criticisms?

Send feedback