EMD – Extended multiplication and division

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio u1 u2 u3 u4 y E EMD

Function Description
The EMD block multiplies and divides analog input signals u1, u2, u3 and u4 with corresponding weights a, b, c and d. The output y is then given by

y = (a∗u1 + a0)(b∗u2 + b0) (c∗u3 + c0)(d∗u4 + d0). (4.1)

The output E is set to on in the case that the denominator in the equation (4.1) is equal to 0 and the output y is substituted by y = yerr.

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

Input

u1..u4

Analog input of the block

Double (F64)

Parameter

a

Weighting coefficient of the u1 input  ⊙1.0

Double (F64)

a0

Additive constant for u1 input

Double (F64)

b

Weighting coefficient of the u2 input  ⊙1.0

Double (F64)

b0

Additive constant for u1 input

Double (F64)

c

Weighting coefficient of the u3 input  ⊙1.0

Double (F64)

c0

Additive constant for u1 input

Double (F64)

d

Weighting coefficient of the u4 input  ⊙1.0

Double (F64)

d0

Additive constant for u1 input

Double (F64)

yerr

Substitute value for an error case  ⊙1.0

Double (F64)

Output

y

Analog output of the block

Double (F64)

E

Error flag - division by zero

Bool

off ..

No error

on ...

An error occurred

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