LabVIEW Control Design and Simulation Module

CD Construct Random Model VI

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

CD Construct Random Model VI

Owning Palette: Model Construction VIs

Requires: Control Design and Simulation Module

Creates a random model in state-space, transfer function, or zero-pole-gain representation. You can specify the sampling time, location of uncontrollable or unobservable states (for state-space), and location of poles and zeros in the different regions of the complex plane. You must manually select the polymorphic instance to use.

Details  

CD Construct Random Model (State-Space)

If Strictly Proper? is TRUE, the model is strictly proper. For a state-space model to be strictly proper, the D matrix must be a null matrix. For a transfer function or a zero-pole-gain model to be strictly proper, the order of the polynomial of the numerator must be less than the order of the polynomial of the denominator. The default is TRUE.
Sampling Time (s) defines whether the model represents a continuous-time system or a discrete-time system. If the model represents a continuous-time system, Sampling Time (s) must equal 0. If the model represents a discrete-time system, Sampling Time (s) must be greater than 0 and equal to the sampling rate, in seconds, of the discrete system. A value of -1 specifies that Sampling Time (s) is irrelevant. The default is 0.
Note  If you use the inputs to create a continuous-time system, setting the Sampling Time (s) to a value greater than 0 does not yield the discrete-time equivalent of the system. You must use the CD Convert Continuous to Discrete VI to convert the continuous-time system to the discrete-time equivalent of the system.
Number of Inputs specifies the number of inputs for the random system this VI creates. The default is 1.
Number of Outputs specifies the number of outputs for the random system this VI creates. The default is 1.
System Order specifies the order (dimension of matrix A) of the multiple-input multiple-output (MIMO) system this VI uses for the random model generation. The default is 2. LabVIEW does not use this input if you wire values to the Poles input. By default, the poles that the System Order specifies are stable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Element Range defines the absolute value of the range of the integer coefficients this VI uses to define the model. The default is 10.
Poles determines the number and location in the complex plane of randomly generated poles.
Non Random Poles specifies information about the controllability and observability of non-random poles.
Controllable and Observable Modes specifies the location of the controllable and observable poles of the system model.
Uncontrollable Modes specifies the location of the uncontrollable poles of the system model.
Unobservable Modes specifies the location of the unobservable poles of the system model.
Uncontrollable and Unobservable Modes specifies the location of uncontrollable and unobservable poles of the system model.
Random Real specifies the location of the stable, unstable, and marginally stable random real poles.
Real Stable specifies the number of stable random real poles.
Real Unstable specifies the number of unstable random real poles.
Real Marginally Stable specifies the number of marginally stable random real poles.
Random Complex Pairs specifies the location of the stable, unstable, and marginally stable random complex pair poles.
Complex Stable specifies the number of stable random complex pair poles.
Complex Unstable specifies the number of unstable random complex pair poles.
Complex Marginally Stable specifies the number of marginally stable random complex pair poles.
Random Model is the random model that this VI creates. To access and modify the data in the model, use the Model Information VIs.
Minimum Realization? indicates if the random model is a minimum realization. The model must be controllable and observable to be a minimum realization.
error out contains error information. This output provides standard error out functionality.

CD Construct Random Model (Transfer Function)

Zeros determines the number and location in the complex plane of randomly generated zeros.
Random Number of Zeros ? determines if this VI generates the number and location of the zeros randomly. If Random Number of Zeros ? is TRUE, the random system is strictly proper.
Non Random Zeros determines the location of non-random zeros.
Random Real specifies the location of the minimum phase, non-minimum phase, and marginally minimum phase random real zeros.
Real Minimum Phase specifies the number of minimum phase random real zeros.
Real Non Minimum Phase specifies the number of non-minimum phase random real zeros.
Real Marginally Minimum Phase specifies the number of marginally minimum phase random real zeros.
Random Complex Pairs specifies the location of the minimum phase, non-minimum phase, and marginally minimum phase random complex pair zeros.
Complex Minimum Phase specifies the number of minimum phase random complex pair zeros.
Complex Non Minimum Phase specifies the number of non-minimum phase random complex pair zeros.
Complex Marginally Minimum Phase specifies the number of marginally minimum phase random complex pair zeros.
Sampling Time (s) defines whether the model represents a continuous-time system or a discrete-time system. If the model represents a continuous-time system, Sampling Time (s) must equal 0. If the model represents a discrete-time system, Sampling Time (s) must be greater than 0 and equal to the sampling rate, in seconds, of the discrete system. A value of -1 specifies that Sampling Time (s) is irrelevant. The default is 0.
Note  If you use the inputs to create a continuous-time system, setting the Sampling Time (s) to a value greater than 0 does not yield the discrete-time equivalent of the system. You must use the CD Convert Continuous to Discrete VI to convert the continuous-time system to the discrete-time equivalent of the system.
Number of Inputs specifies the number of inputs for the random system this VI creates. The default is 1.
Number of Outputs specifies the number of outputs for the random system this VI creates. The default is 1.
System Order specifies the number of poles for each element of the transfer function or zero-pole-gain system this VI uses for the random model generation. The default is 2. LabVIEW does not use this input if you wire values to the Poles input. By default, the poles System Order specifies are stable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Element Range defines the absolute value of the range of the integer coefficients this VI uses to define the model. The default is 10.
Poles determines the number and location in the complex plane of randomly generated poles.
Non Random Poles specifies the location of the non-random poles.
Random Real specifies the location of the stable, unstable, and marginally stable random real poles.
Real Stable specifies the number of stable random real poles.
Real Unstable specifies the number of unstable random real poles.
Real Marginally Stable specifies the number of marginally stable random real poles.
Random Complex Pairs specifies the location of the stable, unstable, and marginally stable random complex pair poles.
Complex Stable specifies the number of stable random complex pair poles.
Complex Unstable specifies the number of unstable random complex pair poles.
Complex Marginally Stable specifies the number of marginally stable random complex pair poles.
Random Model is the random model that this VI creates. To access and modify the data in the model, use the Model Information VIs.
error out contains error information. This output provides standard error out functionality.

CD Construct Random Model (Zero-Pole-Gain)

Zeros determines the number and location in the complex plane of randomly generated zeros.
Random Number of Zeros ? determines if this VI generates the number and location of the zeros randomly. If Random Number of Zeros ? is TRUE, the random system is strictly proper.
Non Random Zeros determines the location of non-random zeros.
Random Real specifies the location of the minimum phase, non-minimum phase, and marginally minimum phase random real zeros.
Real Minimum Phase specifies the number of minimum phase random real zeros.
Real Non Minimum Phase specifies the number of non-minimum phase random real zeros.
Real Marginally Minimum Phase specifies the number of marginally minimum phase random real zeros.
Random Complex Pairs specifies the location of the minimum phase, non-minimum phase, and marginally minimum phase random complex pair zeros.
Complex Minimum Phase specifies the number of minimum phase random complex pair zeros.
Complex Non Minimum Phase specifies the number of non-minimum phase random complex pair zeros.
Complex Marginally Minimum Phase specifies the number of marginally minimum phase random complex pair zeros.
Sampling Time (s) defines whether the model represents a continuous-time system or a discrete-time system. If the model represents a continuous-time system, Sampling Time (s) must equal 0. If the model represents a discrete-time system, Sampling Time (s) must be greater than 0 and equal to the sampling rate, in seconds, of the discrete system. A value of -1 specifies that Sampling Time (s) is irrelevant. The default is 0.
Note  If you use the inputs to create a continuous-time system, setting the Sampling Time (s) to a value greater than 0 does not yield the discrete-time equivalent of the system. You must use the CD Convert Continuous to Discrete VI to convert the continuous-time system to the discrete-time equivalent of the system.
Number of Inputs specifies the number of inputs for the random system this VI creates. The default is 1.
Number of Outputs specifies the number of outputs for the random system this VI creates. The default is 1.
System Order specifies the number of poles for each element of the transfer function or zero-pole-gain system this VI uses for the random model generation. The default is 2. LabVIEW does not use this input if you wire values to the Poles input. By default, the poles System Order specifies are stable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Element Range defines the absolute value of the range of the integer coefficients this VI uses to define the model. The default is 10.
Poles determines the number and location in the complex plane of randomly generated poles.
Non Random Poles specifies the location of the non-random poles.
Random Real specifies the location of the stable, unstable, and marginally stable random real poles.
Real Stable specifies the number of stable random real poles.
Real Unstable specifies the number of unstable random real poles.
Real Marginally Stable specifies the number of marginally stable random real poles.
Random Complex Pairs specifies the location of the stable, unstable, and marginally stable random complex pair poles.
Complex Stable specifies the number of stable random complex pair poles.
Complex Unstable specifies the number of unstable random complex pair poles.
Complex Marginally Stable specifies the number of marginally stable random complex pair poles.
Random Model is the random model that this VI creates. To access and modify the data in the model, use the Model Information VIs.
error out contains error information. This output provides standard error out functionality.

CD Construct Random Model Details

This VI supports delays. To represent a delay in the model, you must specify the delay in this VI. Refer to the LabVIEW Control Design User Manual for more information about delays.

Log in to get a better experience