LabVIEW Control Design and Simulation Module

CD Singular Values VI

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

CD Singular Values VI

Owning Palette: Frequency Response VIs

Requires: Control Design and Simulation Module

Calculates the singular values of the frequency response of the input model. Wire data to the State-Space Model and Frequency Range inputs to determine the polymorphic instance to use or manually select the instance.

This VI converts transfer function and zero-pole-gain models into state-space models before determining the singular values.

Details  Example

CD Singular Values (Frequency Range, State-Space)

Singular Values Plot Reference is a reference to the Singular Values Plot. Singular Values Plot Reference configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
State-Space Model contains a mathematical representation of and information about the system for which this VI determines the frequency response singular values.
Frequency Range contains the frequency information of the model.
Initial frequency is the minimum frequency this VI uses in calculating the frequency response and producing the plots. The default is –1.
Final frequency is the maximum frequency this VI uses in calculating the frequency response and producing the plots. The default is –1.
Minimum number of points is the minimum number of points this VI uses in calculating the frequency response and producing the plots. The default is 100 points.
Frequency Unit specifies the units of frequency, either in Hertz or radians/seconds, to use in calculating the frequency response and producing the plots.

0Hz
1rad/s (default)
Type specifies what type of singular value decomposition to perform.

0H (default)—Calculates the singular value decomposition of H
1I+H—Calculates the singular value decomposition of I+H
2inverse(H)—Calculates the singular value decomposition of H-1
3I + inverse(H)—Calculates the singular value decomposition of I+H-1
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Singular Values Plot plots the singular values (in decibels) of the frequency response of the system against a set of frequencies.
Singular Values Data returns information about the singular values data. To access the Singular Values Data, use the CD Get Frequency Response Data VI.
Frequency is a 1D-array of frequency values at which this VI determines the singular values.
Singular Values is a 2D-array. The ith column of this array contains the data for the ith singular value as a function of frequency.
error out contains error information. This output provides standard error out functionality.

CD Singular Values (Frequency Range, Transfer Function)

Singular Values Plot Reference is a reference to the Singular Values Plot. Singular Values Plot Reference configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
Transfer Function Model contains a mathematical representation of and information about the system for which this VI determines the frequency response singular values.
Frequency Range contains the frequency information of the model.
Initial frequency is the minimum frequency this VI uses in calculating the frequency response and producing the plots. The default is –1.
Final frequency is the maximum frequency this VI uses in calculating the frequency response and producing the plots. The default is –1.
Minimum number of points is the minimum number of points this VI uses in calculating the frequency response and producing the plots. The default is 100 points.
Frequency Unit specifies the units of frequency, either in Hertz or radians/seconds, to use in calculating the frequency response and producing the plots.

0Hz
1rad/s (default)
Type specifies what type of singular value decomposition to perform.

0H (default)—Calculates the singular value decomposition of H
1I+H—Calculates the singular value decomposition of I+H
2inverse(H)—Calculates the singular value decomposition of H-1
3I + inverse(H)—Calculates the singular value decomposition of I+H-1
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Singular Values Plot plots the singular values (in decibels) of the frequency response of the system against a set of frequencies.
Singular Values Data returns information about the singular values data. To access the Singular Values Data, use the CD Get Frequency Response Data VI.
Frequency is a 1D-array of frequency values at which this VI determines the singular values.
Singular Values is a 2D-array. The ith column of this array contains the data for the ith singular value as a function of frequency.
error out contains error information. This output provides standard error out functionality.

CD Singular Values (Frequency Range, Zero-Pole-Gain)

Singular Values Plot Reference is a reference to the Singular Values Plot. Singular Values Plot Reference configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
Zero-Pole-Gain Model contains a mathematical representation of and information about the system for which this VI determines the frequency response singular values.
Frequency Range contains the frequency information of the model.
Initial frequency is the minimum frequency this VI uses in calculating the frequency response and producing the plots. The default is –1.
Final frequency is the maximum frequency this VI uses in calculating the frequency response and producing the plots. The default is –1.
Minimum number of points is the minimum number of points this VI uses in calculating the frequency response and producing the plots. The default is 100 points.
Frequency Unit specifies the units of frequency, either in Hertz or radians/seconds, to use in calculating the frequency response and producing the plots.

0Hz
1rad/s (default)
Type specifies what type of singular value decomposition to perform.

0H (default)—Calculates the singular value decomposition of H
1I+H—Calculates the singular value decomposition of I+H
2inverse(H)—Calculates the singular value decomposition of H-1
3I + inverse(H)—Calculates the singular value decomposition of I+H-1
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Singular Values Plot plots the singular values (in decibels) of the frequency response of the system against a set of frequencies.
Singular Values Data returns information about the singular values data. To access the Singular Values Data, use the CD Get Frequency Response Data VI.
Frequency is a 1D-array of frequency values at which this VI determines the singular values.
Singular Values is a 2D-array. The ith column of this array contains the data for the ith singular value as a function of frequency.
error out contains error information. This output provides standard error out functionality.

CD Singular Values (Frequency Vector, State-Space)

Singular Values Plot Reference is a reference to the Singular Values Plot. Singular Values Plot Reference configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
State-Space Model contains a mathematical representation of and information about the system for which this VI determines the frequency response singular values.
Frequency Vector specifies information about the frequencies this VI uses to excite the model.
Frequency specifies the frequencies this VI uses to excite the model.
Frequency Unit specifies the unit of measurement of the Frequency array.

0Hz—Specifies that the frequency is measured in hertz.
1rad/s (default)—Specifies that the frequency is measured in radians per second.
Type specifies what type of singular value decomposition to perform.

0H (default)—Calculates the singular value decomposition of H
1I+H—Calculates the singular value decomposition of I+H
2inverse(H)—Calculates the singular value decomposition of H-1
3I + inverse(H)—Calculates the singular value decomposition of I+H-1
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Singular Values Plot plots the singular values (in decibels) of the frequency response of the system against a set of frequencies.
Singular Values Data returns information about the singular values data. To access the Singular Values Data, use the CD Get Frequency Response Data VI.
Frequency is a 1D-array of frequency values at which this VI determines the singular values.
Singular Values is a 2D-array. The ith column of this array contains the data for the ith singular value as a function of frequency.
error out contains error information. This output provides standard error out functionality.

CD Singular Values (Frequency Vector, Transfer Function)

Singular Values Plot Reference is a reference to the Singular Values Plot. Singular Values Plot Reference configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
Transfer Function Model contains a mathematical representation of and information about the system for which this VI determines the frequency response singular values.
Frequency Vector specifies information about the frequencies this VI uses to excite the model.
Frequency specifies the frequencies this VI uses to excite the model.
Frequency Unit specifies the unit of measurement of the Frequency array.

0Hz—Specifies that the frequency is measured in hertz.
1rad/s (default)—Specifies that the frequency is measured in radians per second.
Type specifies what type of singular value decomposition to perform.

0H (default)—Calculates the singular value decomposition of H
1I+H—Calculates the singular value decomposition of I+H
2inverse(H)—Calculates the singular value decomposition of H-1
3I + inverse(H)—Calculates the singular value decomposition of I+H-1
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Singular Values Plot plots the singular values (in decibels) of the frequency response of the system against a set of frequencies.
Singular Values Data returns information about the singular values data. To access the Singular Values Data, use the CD Get Frequency Response Data VI.
Frequency is a 1D-array of frequency values at which this VI determines the singular values.
Singular Values is a 2D-array. The ith column of this array contains the data for the ith singular value as a function of frequency.
error out contains error information. This output provides standard error out functionality.

CD Singular Values (Frequency Vector, Zero-Pole-Gain)

Singular Values Plot Reference is a reference to the Singular Values Plot. Singular Values Plot Reference configures the x-scale, y-scale, and legend properties. If you want to use the default settings or customize the settings for these properties, do not wire a value to this input.
Zero-Pole-Gain Model contains a mathematical representation of and information about the system for which this VI determines the frequency response singular values.
Frequency Vector specifies information about the frequencies this VI uses to excite the model.
Frequency specifies the frequencies this VI uses to excite the model.
Frequency Unit specifies the unit of measurement of the Frequency array.

0Hz—Specifies that the frequency is measured in hertz.
1rad/s (default)—Specifies that the frequency is measured in radians per second.
Type specifies what type of singular value decomposition to perform.

0H (default)—Calculates the singular value decomposition of H
1I+H—Calculates the singular value decomposition of I+H
2inverse(H)—Calculates the singular value decomposition of H-1
3I + inverse(H)—Calculates the singular value decomposition of I+H-1
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Singular Values Plot plots the singular values (in decibels) of the frequency response of the system against a set of frequencies.
Singular Values Data returns information about the singular values data. To access the Singular Values Data, use the CD Get Frequency Response Data VI.
Frequency is a 1D-array of frequency values at which this VI determines the singular values.
Singular Values is a 2D-array. The ith column of this array contains the data for the ith singular value as a function of frequency.
error out contains error information. This output provides standard error out functionality.

CD Singular Values Details

This VI supports delays. Refer to the LabVIEW Control Design User Manual for more information about delays.

Example

Refer to the CDEx Singular Values and HInf Norm VI in the labview\examples\Control and Simulation\Control Design\Frequency Analysis directory for an example of using the CD Singular Values VI.

Log in to get a better experience