pidstddata
Access coefficients of standard-form PID controller
Syntax
Description
[
returns the proportional gain
Kp
,Ti
,Td
,N
]
= pidstddata(sys
)Kp
, integral time Ti
, derivative time
Td
, and filter divisor N
of the
standard-form PID controller represented by the dynamic system
sys
.
If
sys
is apidstd
controller object, then each output argument is the corresponding coefficient insys
.If
sys
is not apidstd
object, then each output argument is the corresponding coefficient of the standard-form PID controller that is equivalent tosys
.If
sys
is an array of dynamic systems, then each output argument is an array of the same dimensions assys
.
[
also returns the sample time
Kp
,Ti
,Td
,N
,Ts
]
= pidstddata(sys
)Ts
. For discrete-time sys
that is not
a pidstd
object, pidstddata
calculates the
coefficient values using the default ForwardEuler
discrete
integrator formula for both IFormula
and
DFormula
. See the pidstd
reference page for more
information about discrete integrator formulas.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010b