LabVIEW Control Design and Simulation Module

pade (MathScript RT Module Function)

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

pade (MathScript RT Module Function)

Owning Class: convert

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

SysDel = pade(SysCon, order)

SysDelTF = pade(delay, order)

[num, den] = pade(delay, order)

[A, B, C, D] = pade(delay, order)

Description

Incorporates time delays into a system model using the Pade approximation method, which converts all residuals. You must specify the delay using the set function. You also can use this function to calculate coefficients of numerator and denominator polynomial functions with a specified delay.

Examples

Inputs

Name Description
SysCon Specifies a continuous linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
delay Specifies the delay time, in seconds, to incorporate into the numerator and denominator polynomial functions.
order Specifies the order of the Pade approximation polynomial functions. A higher order results in a more accurate approximation of the delay but also increases the order of the resulting model. A large order can make the model too complex to be useful. order is an integer scalar.

Outputs

Name Description
SysDel Returns an LTI model in transfer function, zero-pole-gain, or state-space form with delay using the Pade approximation method.
SysDelTF Returns a transfer function model with pure delay incorporated using the Pade approximation method.
num Returns the coefficients of a numerator polynomial function with delay incorporated.
den Returns the coefficients of a denominator polynomial function with delay incorporated.
A Returns an n x n state matrix with delay incorporated, where n is the number of states. A is a real matrix.
B Returns the n x m input matrix with delay incorporated, where m is the number of inputs. B is a real matrix.
C Returns the r x n output matrix with delay incorporated, where r is the number of outputs. C is a real matrix.
D Returns the r x m direct transmission matrix with delay incorporated. D is a real matrix.

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

SysCon = zpk(1, 3.2, 6)
SysCon = set(SysCon, 'inputdelay', 6, 'outputdelay', 1.1)
SysDel = pade(SysCon, 2)

delay = 1.2
order = 3
[num, den] = pade(delay, order)

Related Topics

c_to_d
delay_to_z
get
set
is_delayed