Skip to content

Zero-Crossing Detector

Symbol

Description

Detect input signal zero crossing. Output is equal to:

  • 1 if IN{prev} < 0 AND IN >= 0
  • -1 if IN{prev} >= 0 AND IN < 0
  • 0 otherwise

Library

Control > Discrete

Parameters

Property Display Name Parameter Type Description
SamplingTime Sampling Time [s] DoubleParameter Sampling Time

Pins

Property Pin Name Type Description
In In ControlIn Input
Out Out ControlOut Output

Default Size

Width Height
4 4