modelLimPidAdsolair

Extends from Modelica.Blocks.Interfaces.SVcontrol (Single-Variable continuous controller).

Parameters

TypeNameDefaultDescription
Realy_off0Value of controller output while it is off
BooleanuseRevActInfalseUse reverse action input
BooleanrevActParfalseReverse action
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PIDType of controller
BooleanuseKInfalseUse input for controller gain
Realk1Gain of controller
Modelica.Units.SI.TimeTi0.5Time constant of Integrator block
Modelica.Units.SI.TimeTd0.1Time constant of Derivative block
RealyMax1Upper limit of output
RealyMin0Lower limit of output
Realwp1Set-point weight for Proportional block (0..1)
Realwd0Set-point weight for Derivative block (0..1)
RealNi0.9Ni*Ti is time constant of anti-windup compensation
RealNd10The higher Nd, the more ideal the derivative block
Initialization
Modelica.Blocks.Types.InitinitTypeModelica.Blocks.Types.Init.InitialStateType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Realxi_start0Initial or guess value value for integrator output (= integrator state)
Realxd_start0Initial or guess value for state of derivative block
Realy_start0Initial value of output
Advanced
Booleanstricttrue= true, if strict limits with noEvent(..)
Integrator reset
IDEAS.Types.ResetresetIDEAS.Types.Reset.DisabledType of controller output reset
Realy_resetxi_startValue to which the controller output is reset if the boolean trigger has a rising edge, used if reset == IDEAS.Types.Reset.Parameter

Connectors

TypeNameDefaultDescription
RealInputu_s (from SVcontrol)Connector of setpoint input signal
RealInputu_m (from SVcontrol)Connector of measurement input signal
RealOutputy (from SVcontrol)Connector of actuator output signal
Modelica.Blocks.Interfaces.BooleanInputrevActInReverse action
Modelica.Blocks.Interfaces.BooleanInputonOn/off signal of PID
Modelica.Blocks.Interfaces.RealInputkInConnector for k

Components

TypeNameDefaultDescription
IDEAS.Controls.Continuous.LimPIDconPID
Modelica.Blocks.Math.ProductrevActS
Modelica.Blocks.MathBoolean.RisingEdgerisingEdgeReset integrator when re-enabling PID
Modelica.Blocks.Math.ProductrevActM
Modelica.Blocks.Logical.Switchswitch2
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Sources.RealExpressionrealExpression

Revisions

  • January 26, 2018, by Filip Jorissen:
    Fixed bug in reverse action implementation. See #730.