SWR – Selector with ramp

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SWR block selects one of two input signals u1 and u2 with respect to the binary input SW. The selected input is copied to the output y. If SW = off (SW = on), then the selected signal is u1 (u2). The output signal is not set immediately to the value of the selected input signal but tracks the selected input with given rate constraint (i.e. it follows a ramp). This rate constraint is configured independently for each input u1, u2 and is defined by time constants t1 and t2. As soon as the output reaches the level of the selected input signal, the rate limiter is disabled and remains inactive until the next signal switching.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u1

First analog input of the block

Double (F64)

u2

Second analog input of the block

Double (F64)

SW

Signal selector

Bool

off ..

The u1 signal is selected

on ...

The u2 signal is selected

Parameter

t1

Rate limiter time constant, u2 –> u1  1.0

Double (F64)

t2

Rate limiter time constant, u1 –> u2  1.0

Double (F64)

y0

Initial output value

Double (F64)

Output

y

Analog output of the block

Double (F64)

2024 © REX Controls s.r.o., www.rexygen.com