### VIN – Validation of the input signal

Function Description
The VIN block can be used for verification of the input signal quality in the REXYGEN system. Further details about quality flags can be found in chapter 1.4 of this manual.

The block continuously separates the quality flags from the input u and feeds them to the iqf output. Based on these quality flags and the GU parameter (Good if Uncertain), the input signals are processed in the following manner:

• For $\mathtt{\text{GU}}=\mathtt{\text{off}}$ the output QG is set to on if the quality is GOOD. It is set to $\mathtt{\text{QG}}=\mathtt{\text{off}}$ in case of BAD or UNCERTAIN quality.
• For $\mathtt{\text{GU}}=\mathtt{\text{on}}$ the output QG is set to onif the quality is GOOD or UNCERTAIN. It is set to $\mathtt{\text{QG}}=\mathtt{\text{off}}$ only in case of BAD quality.

The output yg is equal to the u input if $\mathtt{\text{QG}}=\mathtt{\text{on}}$. Otherwise it is set to $\mathtt{\text{yg}}=\mathtt{\text{sv}}$ (substitution variable).

Inputs

 u Input signal whose quality is assessed. The type of the signal is determined upon the connected signal. Unknown sv Substitute value for an error case Unknown

Outputs

 yg Validated output signal ($\mathtt{\text{yg}}=\mathtt{\text{u}}$ for $\mathtt{\text{QG}}=\mathtt{\text{on}}$ or $\mathtt{\text{yg}}=\mathtt{\text{sv}}$ for $\mathtt{\text{QG}}=\mathtt{\text{off}}$) Unknown QG Indicator of input signal acceptability Bool iqf Complete quality flag separated from the u input signal Long (I32)

Parameter

 GU Acceptability of UNCERTAIN quality Bool off .. Uncertain quality unacceptable on ... Uncertain quality acceptable

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