Digital 2-dof PID controller
Description
Proportional + Integral + Derivative with two degree of freedom
controller with Automatic, Tracking, Manual mode and bias signal.
The controller is implemented in its incremental form
algorithm.
The control law is defined as
[ 1 sTd ]
CS(s) = Kp[ (bSP(s) - PV(s)) + ----- (SP(s) - PV(S)) + -----------(cSP(s) - PV(s)) ]
[ sTi 1 + sTd/N ]
| Name |
Description |
Conditional? |
| SP |
Set Point |
NO |
| PV |
Process Variable |
NO |
| CS |
Control Signal |
NO |
| satHI |
CS at HIGH saturation |
NO |
| satLOW |
CS at LOW saturation |
NO |
| TR |
Track Reference signal |
YES (useTS) |
| TS |
Track Switch signal |
YES (useTS) |
| Bias |
Biasing signal |
YES (useBIAS) |
| MAN |
Manual Switch signal |
YES (useMAN) |
| CSinc |
Control Signal increment |
YES (useMAN) |
| Finc |
Forbid increment |
YES (useForbid) |
| Fdec |
Forbid decrement |
YES (useForbid) |
And some of them can be conditionally selected, by specifying a
boolean flag.
AntiWindUp mode
If the boolean flag AntiWindup is tue
the output of the block ( CS )
saturates at the values specified by CSmin and CSmax.
Tracking mode
If the boolean flag useTS is true, the
inputs TS and TR are enabled.
When enabled, if the TS signal is true
the output CS is forced to follow the
track reference signal TR.
Manual mode
If the boolean flag useMAN is true, the
inputs MAN and CSinc are enabled.
When enabled, if the MAN signal is true
the output CS can be manually
controlled via the signals CSinc and
CSdec, that respectively increment or
decrement the control signal.
Forbid mode
If the boolean flag useForbid is true,
the inputs Finc and Fdec are enabled.
When enabled, if the Finc signal is
true the output CS cannot grow up,
while if Fdec is true it cannot
decrease.
Discretisation
The controller is implemented directly through an algorithm, that
represents the discretised version of the continuous time
controller.
- Industrial Control Systems (v 1.0.0) : April-May 2012
-
- List of revisions:
-
- 11 May 2012 (author: Marco Bonvini)
- Main Authors:
- Marco Bonvini; <bonvini@elet.polimi.it>
- Alberto Leva <leva@elet.polimi.it>
- Politecnico di Milano
- Dipartimento di Elettronica e Informazione
- Via Ponzio 34/5
- 20133 Milano - ITALIA -
- Copyright:
- Copyright © 2010-2012, Marco Bonvini and Alberto
Leva.
- The IndustrialControlSystems package is free
software; it can be redistributed and/or modified under the terms
of the Modelica license.
Generated at 2026-03-31T18:29:59Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos