Skip to content Skip to navigation

OpenStax CNX

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

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

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

What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

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.
  • NSF Partnership display tagshide tags

    This module is included inLens: NSF Partnership in Signal Processing
    By: Sidney Burrus

    Click the "NSF Partnership" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • National Instruments display tagshide tags

    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.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • Lens for Engineering

    This module is included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

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. E-mail the author

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.

Download the source code for the Ball and Beam 3D Simulation here. This VI was created in LabVIEW 8.2 using the 3D Picture Control Toolit add-on which is not a supported feature.

NEW: If you find value in this 3D demo, please take some time to build on my work by updating it to support the new supported 3D Picture Control tool now shipping within LabVIEW. Then post it to Connexions!

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

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

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

What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks