Skip to content Skip to navigation

Connexions

You are here: Home » Content » Model Construction

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 InstrumentsAs a part of collection:"Introduction to Control Design and Simulation using LabVIEW "

    Comments:

    "This course provides a brief introduction to the Control Design Toolkit and Simulation Module within LabVIEW. It introduces basic usage and configuration of the tools."

    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.

Model Construction

Module by: Erik Luther

Model Construction Palette:

Figure 1
Figure 1 (Graphic1.png)

The VIs in this section are used to construct various types of Models like State Space, Transfer Function, and Zero-Pole-Gain.

The Construct State Space Model and Construct Transfer Function Model functions are discussed below.

CD Construct State Space Model:

Figure 2
Figure 2 (Graphic2.png)

The terminals for the function are shown above. If the Sampling Time terminal is not connected, the system is by default considered continuous. Connecting a value to Sampling Time will change the system to discrete time using the given sampling time. There are terminals for the A, B, C, and D matrices of the State Space model. Once LabVIEW creates the State-Space model (available at the output terminal), it can be used for other functions and can be converted into other forms as is discussed further in this chapter.

Here is an example of creating a State Space model. The output can be connected as input to numerous other functions in the Control Design toolkit.

Figure 3
Figure 3 (Graphic3.png)

The inputs can be either constants (on the Block Diagram) or controls (on the Front Panel). Most examples shown will use constants on the Block Diagram to make this manual more readable, however oftentimes using controls on the Front Panel will be more efficient. The constants, controls, and indicators can all be created by right-clicking on the desired terminal and selecting an option from the pop-up menu.

The many special functions and data structures used in Control Design make this a very useful shortcut for creating the correct Controls and Indicators.

Figure 4
Figure 4 (Graphic4.png)

Many Control Design functions, including Construct State-Space Model, are polymorphic. A polymorphic VI will have the additional menu structure below the icon (in this figure above, labeled Numeric). This indicates that the input to the model is going to be in a numeric form.

Also available with the same function is the ability to enter the model in Symbolic form, meaning the input has variables in it, and the value of the variables is controlled from the Front Panel. To select this option, simply click on the bottom of the icon with the operating tool and select the Symbolic option.

Note:

The symbolic option is discussed in further detail later.

CD Construct Transfer Function Model:

Figure 5
Figure 5 (Graphic5.png)

The terminals are shown above. The important terminals are the Numerator and Denominator. As in the previous case, once the model is created, it can either be displayed on the Front Panel or connected to other functions. There is also a Symbolic input option in this case, and examples of it are available in further chapters.

Example 1

Transfer Function and associated inputs for the numerator and denominator are shown below. Notice the order of the coefficients.

Figure 6
Figure 6 (Graphic6.png)

In LabVIEW, the first element of the array is the coefficient of s0, the second element is coefficient of s1, the third is coefficient of s2, and so on.

Note:

Only the State Space and Transfer function representation have been represented in the tutorial. Many other model types exist.

Comments, questions, feedback, criticisms?

Send feedback