NGMV Control Toolbox Previous page   Next Page
dpid2tf

Discrete-time PID parameters to Matlab transfer function format

Syntax

Description

This function converts the proportional, integral and derivative gains of the discrete-time PID controller to MATLAB transfer-function format:

The function can be called with optional input arguments. Their meaning and default values are summarized in the table below:

 

Parameter

Description

Default value

Ts

sampling time in seconds

-1

Tau

derivative filter time constant:

0

nint

near integrator pole, i.e. the integral term becomes

1

 

[N,D] = DPID2TF(...) returns the numerator and denominator of the resulting transfer function rather than an LTI object.

The function also works for multivariable systems. In that case Kp, Ki and Kd are matrices containing PID parameters, and Tau can be either a matrix or a scalar (common derivative filter). The outputs N and D become cell arrays of coefficients.

See Also

pid2tf

 

Previous page   dlqgc   ghdio1z  Next page