LabVIEW Control Design and Simulation Module

Continuous Nonlinear Noisy Plant Function

  • Updated2023-03-14
  • 4 minute(s) read

Owning Palette: Estimation Functions

Requires: Control Design and Simulation Module

Simulates a noisy continuous nonlinear plant model.

If you use the Internal Noise instance of this function, this function generates samples of the noise vectors using the model you wire to the Noise Model input. If you use the External Noise instance of this function, you can use the CD Correlated Gaussian Random Noise VI to generate samples of the noise vectors. You also can generate samples of the noise vectors using other VIs or specify the noise vectors to be deterministic disturbances.

Refer to the LabVIEW Control Design User Manual for more information about simulating a plant model corrupted by noise.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
Polymorphic instanceSpecifies whether this function uses Internal Noise or External Noise. The default value is Internal Noise.
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.
dataSpecifies a reference to any external data that the plant model requires. This parameter is a variant. Use the To Variant function to convert LabVIEW data to variant data.
Plant ModelSpecifies the plant model to which you want to add noise.

Wire a reference to a VI representing the plant model to this input. Use the SIM Continuous Nonlinear Plant Model template VI or the SIM Discrete Nonlinear Plant Model template VI, located in the labview\templates\Control and Simulation directory, to create a plant model.

Initial State x(0)Specifies the initial state of the model. The default value of the initial state is 1.
Initialize?Specifies whether to restart the calculation from any initial values you provide. The default is FALSE.
Noise ModelSpecifies a mathematical representation of the noise model of a stochastic state-space model. You can create a noise model using the CD Construct Noise Model VI. This option is available only if you select Internal Noise from the Polymorphic instance pull-down menu.
  • E{w}—Specifies the expected value or mean of the process noise vector. The default is 0.
  • Q—Specifies the covariance matrix of the process noise vector. The default is 0.01.
  • E{v}—Specifies the expected value or mean of the measurement noise vector. The default is 0.
  • R—Specifies the covariance matrix of the measurement noise vector. The default is 0.1.
  • N—Specifies the cross-covariance matrix between the process noise vector and the measurement noise vector. If the noise vectors w and v are uncorrelated, N is a matrix of zeros. The default is 0.

Block Diagram Inputs

ParameterDescription
dataSpecifies a reference to any external data that the plant model requires. This parameter is a variant. Use the To Variant function to convert LabVIEW data to variant data.
Plant ModelSpecifies the plant model to which you want to add noise.

Wire a reference to a VI representing the plant model to this input. Use the SIM Continuous Nonlinear Plant Model template VI or the SIM Discrete Nonlinear Plant Model template VI, located in the labview\templates\Control and Simulation directory, to create a plant model.

Initial State x(0)Specifies the initial state of the model. The default value of the initial state is 1.
Initialize?Specifies whether to restart the calculation from any initial values you provide. The default is FALSE.
Input u(t)Specifies the control action this function applies to the model. If you specify a vector of zeros for Input u(t), this function does not apply any control action.
Process Noise w(t)Specifies the process noise vector w(t) of the model. This input is available only if you select External Noise from the Polymorphic instance pull-down menu.
Measurement Noise v(t)Specifies the measurement noise vector v(t) of the model. This input is available only if you select External Noise from the Polymorphic instance pull-down menu.
Noise ModelSpecifies a mathematical representation of the noise model of a stochastic state-space model. You can create a noise model using the CD Construct Noise Model VI. This option is available only if you select Internal Noise from the Polymorphic instance pull-down menu.
  • E{w}—Specifies the expected value or mean of the process noise vector. The default is 0.
  • Q—Specifies the covariance matrix of the process noise vector. The default is 0.01.
  • E{v}—Specifies the expected value or mean of the measurement noise vector. The default is 0.
  • R—Specifies the covariance matrix of the measurement noise vector. The default is 0.1.
  • N—Specifies the cross-covariance matrix between the process noise vector and the measurement noise vector. If the noise vectors w and v are uncorrelated, N is a matrix of zeros. The default is 0.

Block Diagram Outputs

ParameterDescription
Output y(t)Returns the measurement made on the stochastic state-space model.
State x(t)Returns the states of the nonlinear stochastic state-space model at time t.

Continuous Nonlinear Noisy Plant Details

Refer to the LabVIEW Control Design User Manual for more information about the calculations this function performs.

Log in to get a better experience