<< DiracSync SegPal GainVar >>

SegPal >> SegPal > EdgeTrigger

EdgeTrigger

Edge detector of an input square wave

Block Screenshot

Contents

Description

  • The EdgeTrigger block allows the counting of edges detected on a square input signal, and provides the dating of the recorded events as output.
  • It also provides a resynchronization signal at the occurrence of each event.
  • The function counts, depending on the programmed option, the rising or falling edges of the input signal, or all the edges.
  • The selected option is written directly into the shape of the component.
  • Parameters

    Alternative forms

    Interfacing function

  • SegPal\macros\EdgeTrigger.sci
  • Computational function

  • SegPal\src\c\EdgeTriggerC.c
  • Test program

  • SegPal\demos\EdgeTrigger.zcos
  • Notes

    An application of the EdgeTrigger block function is also shown in the Busy.zcos test program.

    The “Busy.zcos” test program represents a pre-study making it possible to detect instability on the network frequency, following a disturbance of the speed signal, itself generated by a load step on the network.

    In this program, we generate a damped sinusoid sin sin(x)/x as input. During the transition, a “Busy” RS flip-flop is armed as long as oscillations persist in a programmable band.

    The RS flip-flop is reset to 0 when the network is detected stable again, with the programmable tolerance.

    See as well

  • Sync1 resynchronization relay

  • Report an issue
    << DiracSync SegPal GainVar >>