EMD – Extended multiplication and division

Block SymbolLicensing group: STANDARD
PIC

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 = (au1 + a0)(bu2 + b0) (cu3 + c0)(du4 + 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

First analog input of the block

Double (F64)

u2

Second analog input of the block

Double (F64)

u3

Third analog input of the block

Double (F64)

u4

Fourth 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

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