Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Access coefficients of standard-form 2-DOF PID controller

```
[Kp,Ti,Td,N,b,c]
= pidstddata2(sys)
```

```
[Kp,Ti,Td,N,b,c,Ts]
= pidstddata2(sys)
```

```
[Kp,Ti,Td,N,b,c,Ts]
= pidstddata2(sys,J1,...,JN)
```

`[`

returns the proportional
gain `Kp`

,`Ti`

,`Td`

,`N`

,`b`

,`c`

]
= pidstddata2(`sys`

)`Kp`

, integral time `Ti`

,
derivative time `Td`

, the filter divisor `N`

,
and the setpoint weights `b`

and `c`

of
the standard-form 2-DOF PID controller represented by the dynamic
system `sys`

.

If `sys`

is a `pidstd2`

controller
object, then each output argument is the corresponding coefficient
in `sys`

.

If `sys`

is not a `pidstd2`

object,
then each output argument is the corresponding coefficient of the
standard-form 2-DOF PID controller that is equivalent to `sys`

.

If `sys`

is an array of dynamic systems,
then each output argument is an array of the same dimensions as `sys`

.

`[`

also returns the
sample time `Kp`

,`Ti`

,`Td`

,`N`

,`b`

,`c`

,`Ts`

]
= pidstddata2(`sys`

)`Ts`

. For discrete-time `sys`

that
is not a `pidstd2`

object, `pidstddata2`

calculates
the coefficient values using the default `ForwardEuler`

discrete
integrator formula for both `IFormula`

and `DFormula`

.
See the `pidstd2`

reference
page for more information about discrete integrator formulas.