[CHAR_LIN] Characteristics with linearization

Function block CHAR_LIN uses a characteristic curve (function) to calculate an output value for each input value.

CHAR_LIN uses a linear characteristic curve (function) to calculate an output value for each input value.

This characteristic curve is defined by entering auxiliary points [X1], [X2], [Y1], [Y2]. The interpolation between the auxiliary points is linear.

Functioning

CHAR_LIN calculates for each input value [In] the output value [Out] from the parameterized characteristic curve [X1], [Y1] and [X2], [Y2].

Outside the function range defined by the auxiliary points [X1], [X2], [Y1], [Y2], the output value corresponds to either the first or last auxiliary value.

Pins

Input

Description

Data type

Default value
Value range

In

Input

Real

0.0

X1X2

Auxiliary point X1Auxiliary point X2

Real

0.0

Y1Y2

Auxiliary value Y1Auxiliary value Y2

Real

0.0

 

Output

Description

Data type

Default value
Value range

Out

Output

Real

0.0

Application example

The operating value of the volume flow in [m3/h] is converted into volume flow in [%] of the nominal air volume for display purposes:

 

x1 =

0

[m3/h]

x1 =

0

[m3/h]

 

x2 =

nominal

[m3/h]

x2 =

100

[m3/h]

 

y1 =

0

[%]

y1 =

0

[%]

 

y2 =

100

[%]

y2 =

nominal

[%]