Zero Crossing - MapleSim Help

Online Help

All Products    Maple    MapleSim


Zero Crossing

Trigger zero crossing of input u

 

Description

Equations

Connections

Modelica Standard Library

Description

The output y is true at the time instant when the input u becomes zero, provided the input enable is true. At all other time instants, the output y is false. If the input u is zero at a time instant when the enable input changes its value, then the output y is false.

The output is true only for an instant, so a plot of it will always appear false.

Equations

u_pos=enableand0u

y=changeu_posandnotedgeenableandnotedgedisable

Connections

Name

Description

Modelica ID

y

Boolean output signal

y

u

Real input signal

u

enable

Zero input crossing is triggered if the enable input signal is true

enable

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Boolean Signal Blocks

Signal Blocks