LabVIEW Control Design and Simulation Module

sys_order1 (MathScript RT Module Function)

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

sys_order1 (MathScript RT Module Function)

Owning Class: construct

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

SysOutTF = sys_order1(K)

SysOutTF = sys_order1(K, tau)

SysOutTF = sys_order1(K, tau, delay)

[num, den] = sys_order1(K)

[num, den] = sys_order1(K, tau)

[num, den] = sys_order1(K, tau, delay)

[A, B, C] = sys_order1(K)

[A, B, C] = sys_order1(K, tau)

[A, B, C] = sys_order1(K, tau, delay)

[A, B, C, D] = sys_order1(K)

[A, B, C, D] = sys_order1(K, tau)

[A, B, C, D] = sys_order1(K, tau, delay)

Legacy Name: ord1

Description

Constructs the components of a first-order system model based on a gain, time constant, and delay that you specify. You can use this function to create either a state-space model or a transfer function model, depending on the output parameters you specify.

Examples

Inputs

Name Description
K Specifies the gain matrix. K is a real matrix.
tau Specifies the time constant, in seconds, which is the time required for the model output to reach 63% of its final value. The default value is 0.
delay Specifies the response delay of the model, in seconds. The default value is 0.

Outputs

Name Description
SysOutTF Returns a transfer function model with gain K, time constant tau, and the specified delay. This model is single-input single-output (SISO).
num Returns the coefficients of the numerator polynomial function of the resulting model. num is a real vector.
den Returns the coefficients of the denominator polynomial function of the resulting model. den is a real vector.
A Returns the n x n state matrix of the resulting model, where n is the number of states. A is a real matrix.
B Returns the n x 1 input matrix of the resulting model. B is a real vector.
C Returns the 1 x n output matrix of the resulting model. C is a real vector.
D Returns the direct transmission value of the resulting model. D is a real scalar.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

K = 0.5;
tau = 1.5;
SysOutTF = sys_order1(K, tau);

Related Topics

sys_order2