P, PI, PD, and PID controller with limited output, anti-windup
compensation and delayed, smooth activation (if wanted)
1. Purpose of model
This model is a LimPID controller which was copied from
ClaRa.Components.Utilities.Blocks.LimPID and the following was
changed:
- The reset ability can be turned off. In some situations, the
reset of the controller at activation prohibits the controller from
reacting correctly: If the control error decreases directly after
activation, the controller will not do anything even if there is
still a control error > 0.
- The amount of states was reduced by exchanging the first order
blocks by TransiEnt.Basics.Blocks.FirstOrderTransiEnt and
exchanging the equations for the reset values. This improves the
speed.
2. Level of detail, physical
effects considered, and physical insight
(Description)
3. Limits of validity
(Description)
4. Interfaces
u_s: input for set value
u_m: input for measured value
activateInput: input to turn on the controller
y: output
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
(none)
8. Validation
(no validation or testing necessary)
9. References
(none)
10. Version History
Model created by Carsten Bode (c.bode@tuhh.de), Nov 2018
- 15.04.09 First revision, Boris Michaelsen, XRG Simulation
GmbH
- 25.11.09 Update to independently set the gain and time
constants of the PID, added a new parameter "sign" for case
dependent control error evaluation, Friedrich Gottelt, XRG
Simulation GmbH
Generated at 2026-04-14T18:18:34Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos