Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Discrete Stochastic State-Space (External) (Control Design Toolkit)

LabVIEW Control Design Toolkit 3.0 Help
August 2007

NI Part Number:
370853D-01

»View Product Info

Simulates a discrete-time stochastic state-space system model using externally-generated noise or disturbances.

You can use the CD Correlated Gaussian Random Noise VI to generate samples of the noise vectors.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
InitializeIs TRUE if you want to restart the calculation from any initial values you provide. Initialize is FALSE if you do not want to restart this function. The default value is FALSE.
Input u(k)Specifies the control action this function applies to the model. If you specify a vector of zeros for Input u(k) or do not wire a value to this parameter, this function does not apply a control action.
Stochastic State-Space ModelSpecifies a mathematical representation of a stochastic system. You can construct a stochastic state-space model using the CD Construct Stochastic Model VI.
Initial State x(0)Specifies the initial state of the model. If you do not specify a value for this parameter, this function assumes an initial state of 0.
error inDescribes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
Process Noise w(k)Specifies the process noise vector.
Measurement Noise v(k)Specifies the measurement noise vector.
ParametersLists all the parameters associated with this function. Select a parameter from this list to configure the parameter. When you select a parameter, the parameter and its associated Parameter source control appear in the Parameter Information section of the configuration dialog box.
PreviewDisplays a graphical preview, if available, of the function output or configuration.
Parameter InformationContains the parameters you can configure for this function. You must select a parameter from the Parameters list to make that parameter and its associated Parameter source control visible in the Parameter Information section of the configuration dialog box.
Parameter SourceSpecifies whether you configure this parameter using the Configuration Dialog Box or a Terminal on the block diagram. The default value is Configuration Dialog Box. If you select Terminal, LabVIEW displays an input for that parameter on the block diagram, and you can wire values to that input to configure this function programmatically. If you select Configuration Dialog Box, LabVIEW removes that input from the block diagram. You then must set the value for this parameter inside the configuration dialog box.

Block Diagram Inputs

ParameterDescription
InitializeIs TRUE if you want to restart the calculation from any initial values you provide. Initialize is FALSE if you do not want to restart this function. The default value is FALSE.
Input u(k)Specifies the control action this function applies to the model. If you specify a vector of zeros for Input u(k) or do not wire a value to this parameter, this function does not apply a control action.
Stochastic State-Space ModelSpecifies a mathematical representation of a stochastic system. You can construct a stochastic state-space model using the CD Construct Stochastic Model VI.
Initial State x(0)Specifies the initial state of the model. If you do not specify a value for this parameter, this function assumes an initial state of 0.
error inDescribes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
Process Noise w(k)Specifies the process noise vector.
Measurement Noise v(k)Specifies the measurement noise vector.

Block Diagram Outputs

ParameterDescription
Output y(k)Returns the values of the model output(s) at time k. The length of this vector is equal to the number of model outputs.
State x(k+1)Returns the values of the model state(s) at time k + 1. The length of this vector is equal to the number of model states.
State x(k)Returns the values of the model state(s) at time k. The length of this vector is equal to the number of model states.
error outContains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

Discrete Stochastic State-Space (External) Details

This function adapts to changes in the Stochastic State-Space Model as long as the model dimensions do not change. Therefore, you can use this function to simulate linear time-variant (LTV) stochastic state-space models.

Use the CD Correlated Gaussian Random Noise VI to generate external random samples of Gaussian-distributed noise vectors. You can use this VI and the Process Noise w(k) and Measurement Noise v(k) inputs of the Discrete Stochastic State-Space function to simulate the following conditions:

  • Deterministic systems excited by deterministic disturbance vectors w(k) and v(k).
  • Stochastic systems excited by stochastic noise vectors w(k) and v(k). These stochastic noise vectors can be zero-mean or nonzero-mean, stationary or nonstationary, and can have any density distribution.
  • Deterministic or stochastic systems excited by w(k) and v(k), where one of these vectors is a deterministic disturbance and the other is a stochastic noise.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit