blockOnOffController

On-off controller

Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).

Information

The block OnOffController sets the output signal y to true when the input signal u falls below the reference signal minus half of the bandwidth and sets the output signal y to false when the input signal u exceeds the reference signal plus half of the bandwidth.

Parameters

TypeNameDefaultDescription
RealbandwidthBandwidth around reference signal
Booleanpre_y_startfalseValue of pre(y) at initial time

Connectors

TypeNameDefaultDescription
Blocks.Interfaces.RealInputreferenceConnector of Real input signal used as reference signal
Blocks.Interfaces.RealInputuConnector of Real input signal used as measurement signal
Blocks.Interfaces.BooleanOutputyConnector of Real output signal used as actuator signal