blockDelayedRising

Output y is true after a duration of a rising input edge and false after a falling input edge

Information

Syntax

condition = DelayedRising(u=..., duration=...).y;

Description

Output y = true, after a rising edge of the input u and after u remains true for at least the defined duration . After a falling edge of u, y = false immediately.

Example

This block is demonstrated with the following example:

results in

simulation result

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimedurationDuration after rising edge of u

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputy= true, after rising edge of u for given duration

Components

TypeNameDefaultDescription
BooleanuBoolean input