DelayedRising model

Requirements.Examples.Elementary.LogicalBlocks.DelayedRising  ยท source

Icon of DelayedRising

Example for DelayedRising (output is true, after a duration of a rising input edge and false after a falling input edge)

Extends Modelica.Icons.Example

Using logical block DelayedRising as

results in

simulation result

The input of delayedRising1 is true on [1, 3), [5, 5.2), [9, 9.2) and [9.5, 10.7) s. With duration = 1 s, the output becomes true 1 s after a rising edge of the input and false at the falling edge. It is therefore true on [2, 3) and [10.5, 10.7) s only; the true phases of 0.2 s at 5 s and 9 s are shorter than the delay and do not appear in the output.

Components and variables

NameTypeDescription
timeTableModelica.Blocks.Sources.BooleanTableBoolean signal true on [1,3), [5,5.2), [9,9.2) and [9.5,10.7) s
delayedRising1Requirements.LogicalBlocks.DelayedRisingTrue 1 s after a rising edge of timeTable, false at its falling edge