Synchronous reset-priority RS-trigger

| Vectorized |
in the palette on the schematic

The block implements a synchronous reset-priority RS-trigger, i.e. at the time of synchronization, the block works similarly to the reset-priority RS-trigger:

where y(t) is the output signal of the block, y(t – Δt) is the value of the output signal at the previous time step of integration, xS(t), xR(t) is the first and third input signals of the block (from English Set and Reset).

Otherwise, the block saves the previous output state regardless of the values at the R and S inputs.

The sync moment is determined depending on the type of synchronizing input C:

Input ports

  • S – the input port for setting the trigger;
  • C – the input synchronization port;
  • R – the input port for resetting the trigger.

Output ports

  • out – trigger output port;
  • Yinv – an inverse output port (optionally included in the block properties).

Properties

  • Synchronization input type – condition of triggering the synchronization input;
  • Initial conditions – initial value of the output;
  • Add inverse output – indicates the presence of an inverse output.

Parameters

none