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
Copy file name to clipboardExpand all lines: src/Blocks/continuous.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,7 @@ Text-book version of a PID-controller without actuator saturation and anti-windu
282
282
- `k`: Gain
283
283
- `Ti`: [s] Integrator time constant (Ti>0 required). If set to false, no integral action is used.
284
284
- `Td`: [s] Derivative time constant (Td>0 required). If set to false, no derivative action is used.
285
-
- `Nd`: [s] Time constant for the derivative approximation (Nd>0 required; Nd=0 is ideal derivative).
285
+
- `Nd`: [s] Maximum derivative gain (inverse of filter time constant, Nd>0 required; Nd=0 is ideal derivative).
286
286
- `int__x`: Initial value for the integrator.
287
287
- `der__x`: Initial value for the derivative state.
288
288
@@ -441,7 +441,7 @@ where the transfer function for the derivative includes additional filtering, se
441
441
- `Td`: [s] Derivative time constant. Set to `false` to turn off derivative action.
442
442
- `wp`: [0,1] Set-point weighting in the proportional part.
443
443
- `wd`: [0,1] Set-point weighting in the derivative part.
444
-
- `Nd`: [1/s] Derivative limit, limits the derivative gain to Nd/Td. Reasonable values are ∈ [8, 20]. A higher value gives a better approximation of an ideal derivative at the expense of higher noise amplification.
444
+
- `Nd`: [1/s] Derivative limit, limits the derivative gain to `Nd*Td`. Reasonable values are ∈ [8, 20]. A higher value gives a better approximation of an ideal derivative at the expense of higher noise amplification.
445
445
- `Ni`: `Ni*Ti` controls the time constant `Ta` of anti-windup tracking. A common (default) choice is `Ta = √(Ti*Td)` which is realized by `Ni = √(Td / Ti)`. Anti-windup can be effectively turned off by setting `Ni = Inf`.
446
446
- `gains`: If `gains = true`, `Ti` and `Td` will be interpreted as gains with a fundamental PID transfer function on parallel form `ki=Ti, kd=Td, k + ki/s + kd*s`.
0 commit comments