OnOffController

On-off controller

    OnOffController

Library

Modelica/Blocks/Logical

Description

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

Parameters

OnOffController_0

NameLabelDescriptionData TypeValid Values

mo_bandwidth

bandwidth

Bandwidth around reference signal

Scalar

mo_pre_y_start

pre_y_start

Value of pre(y) at initial time

Scalar

true
false

OnOffController_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

reference

implicit

Connector of Real input signal used as reference signal

input

1

u

implicit

Connector of Real input signal used as measurement signal

input

2

y

implicit

Connector of Real output signal used as actuator signal

output

1

See Also