Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add explanations of when to use which coefficients

...

BYTE

BIT RANGE

SIZE

OFFSET

ABBREVIATION

DETAILS

1

DB0.7…0.0

8

0

FADD

Flow Raw Value Offset

With 2’s complement

Res = 0.25°C

0x00

0.00

0x01

0.25

0x02

0.50

0x7F

31.75

0x80

-32.00

0xFF

-0.25

2

DB1.7…1.0

8

8

 FMUL

Flow Raw Value Multiplication

Res = 0.01°C

3

DB2.7…2.0

8

16

NSFNFD

Number of most recent Flow Raw Temperature values to delay by (skip)

Clamped to [0..=20]

4

DB3.7…3.0

8

24

NMAF

Number of values used in calculation of Flow Moving Average

Clamped to [1..=20]

5

DB4.7…4.0

8

32

NMAA

Number of values used in calculation of Ambient Moving Average

Clamped to [1..=20]

6

DB5.7…5.0

8

40

NMAE

Number of values used in calculation of Estimate Moving Average

Clamped to [1..=20]

7

DB6.7…6.0

8

48

RATO

Ratio Offset

Res = 0.01

8

DB7.7…7.0

8

56

POW

Ratio Power

Res = 0.01

Default = 0x00 = 1.2

...

Mathblock
anchor
alignmentleft
--uriencoded--\begin%7Baligned%7D
\text%7BFlow Moving Average%7D(t) = \frac%7B\sum_%7Bi = t - \text%7Bn skip flow%7D - \text%7Bn moving average flow%7D + 1%7D%5e%7Bt - \text%7Bn skip flow%7D%7D%7B\text%7BFlow Sensor Raw Value%7D(i)%7D%7D%7B\text%7Bn moving average flow%7D%7D

\\

\text%7BAmbient Moving Average%7D(t) = \frac%7B\sum_%7Bi = t - \text%7Bn moving average ambient%7D + 1%7D%5e%7Bt%7D%7B\text%7BAmbient Sensor Raw Value%7D(i)%7D%7D%7B\text%7Bn moving average ambient%7D%7D

\\

\text%7BEstimate%7D(t) = \text%7BAmbient Moving Average%7D(t) * (\frac %7B\text%7BAmbient Moving Average%7D(t)%7D %7B\text%7BFlow Mul%7D * \text%7BFlow Moving Average%7D(t) + \text%7BFlow Offset%7D%7D + \text%7Bratio offset%7D)%5e%7B\text%7Bratio power%7D%7D


\\

\text%7BAmbient Temperature%7D(t) = \frac%7B\sum_%7Bi = t - \text%7Bn moving average estimate%7D + 1%7D%5e%7Bt%7D%7B\text%7BEstimate%7D(i)%7D%7D%7B\text%7Bn moving average estimate%7D%7D
\end%7Baligned%7D

Recommended Settings

Environment

Flow Offset

Flow Multiplication

Flow Delay

Flow Moving Average

Estimate Moving Average

Ratio Power

Small, well-insulated room

0.0

1.0

Low

1.0 + small

Large, poorly-insulated room

0.0

1.0

High

1.0 + big

Unheated Room is warm

0.0

1.0

1.0 + small

Unheated Room is cold

0.0

1.0

1.0 + big

Flow Temperature fluctuates

0.0

1.0

Use to smooth

Estimated Temperature fluctuates

0.0

1.0

Use to smooth

Device is mounted above an exposed pipe

Use to compensate

Use to compensate