blockLimitedPI

Proportional-integrator controller with limited value of output
Diagram of LimitedPI

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This blocks computes y as integral of the input u multiplied by gain Ki plus input u multiplied by Kp.

If the result reaches a given upper or lower limit, the integration is halted and only restarted if the input drives the integral away from the bounds, with a sufficient margin defined by Tol.

This margin is aimed at avoiding chattering i.e. rapid swings between frozen and unfrozen sates.

The integrator is initialized with the value Y0.

Parameters

TypeNameDefaultDescription
Types.PerUnitKiIntegrator gain
Types.PerUnitKpProportional gain
Types.PerUnitTol1e-5Tolerance on limit crossing as a fraction of the difference between limits
Types.PerUnitYMaxUpper limit of output
Types.PerUnitYMinUpper limit of output
Types.PerUnitY00Initial value of output

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuInput signal connector
Modelica.Blocks.Interfaces.RealOutputyOutput signal connector

Components

TypeNameDefaultDescription
Modelica.Blocks.Nonlinear.Limiterlimiter1
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Logical.Oror1
Modelica.Blocks.Logical.HysteresishysteresisMax
Modelica.Blocks.Logical.HysteresishysteresisMin
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Logical.Notnot1