You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `form` can be chosen as one of the following (determines how the arguments `param_p, param_i, param_d` are interpreted)
9
-
* `:standard` - `Kp*(1 + 1/(Ti*s) + Td*s)`
10
-
* `:series` - `Kc*(1 + 1/(τi*s))*(τd*s + 1)`
11
-
* `:parallel` - `Kp + Ki/s + Kd*s`
9
+
* `:standard` - ``K_p(1 + 1/(T_i s) + T_d s)``
10
+
* `:series` - ``K_c(1 + 1/(τ_i s))(τ_d s + 1)``
11
+
* `:parallel` - ``K_p + K_i/s + K_d s``
12
12
13
13
If `state_space` is set to `true`, either `Kd` has to be zero
14
14
or a positive `Tf` has to be provided for creating a filter on
15
15
the input to allow for a state-space realization.
16
16
17
17
The filter used is either
18
-
- `filter_order = 2` (default): `1 / (1 + s*Tf + (s*Tf)^2/2)` in series with the controller
19
-
- `filter_order = 1`: `1 / (1 + s*Tf)` applied to the derivative term only
18
+
- `filter_order = 2` (default): ``1 / ((sT_f)^2/(4d^2) + sT_f + 1)`` in series with the controller
19
+
- `filter_order = 1`: ``1 / (1 + sT_f)`` applied to the derivative term only
20
+
21
+
``T_f`` can typically be chosen as ``T_i/N`` for a PI controller and ``T_d/N`` for a PID controller,
22
+
and `N` is commonly in the range 2 to 20. With a second-order filter, `d` controls the damping. `d = 1/√(2)` gives a Butterworth configuration of the poles, and `d=1` gives a critically damped filter (no overshoot).
20
23
21
-
`Tf` can typically be chosen as `Ti/N` for a PI controller and `Td/N` for a PID controller,
22
-
and `N` is commonly in the range 2 to 20.
23
24
A balanced state-space realization is returned, unless `balance = false`.
24
25
25
26
For a discrete controller a positive `Ts` can be supplied.
0 commit comments