Deprecated temperature control algorithms

Proportional control algorithm

This algorithm is available for devices with firmware version >= 4.0

Algorithm logic

This control algorithm is used by the device to achieve the desired target temperature. Each time the algorithm logic is executed, the motor position is adjusted, so the target temperature is reached. The following block diagram explains the requirements in order for the proportional algorithm logic to be executed.

The proportional algorithm logic calculates new motor position using the expression:

MPnew=MPoldc(TsetTmeasured)MR100MP_{new} = MP_{old} - \cfrac{c*(T_{set} - T_{measured})*MR}{100}, where:

MPnewMP_{new}: New motor position in steps.

MPoldMP_{old}: Old motor position in steps.

cc: Proportional algorithm coefficient.

TsetT_{set}: Target temperature in Celsius degrees.

TmeasuredT_{measured}: Measured temperature in Celsius degrees.

MRMR: Motor range in steps.

Note that the algorithm check period and coefficient parameters can be configured by radio commands.

Proportional temperature control algorithm parameters

Byte index
Hex value - Meaning

0

2A – The command code.

1

XX – Value for the proportional algorithm coefficient to be set. Maximum acceptable value is 20.

2

XX – Value of the proportional algorithm control period, in minutes.

Example command: 0x2A040C – Set the proportional algorithm coefficient to 4 and the check period to 12 minutes.

Equal directional control algorithm

This algorithm is the only algorithm available for f.w. < 4.0.

Internal temperature control algorithm parameters

This command must be used carefully and according to the used online temp. control algorithms. Be sure that the default command parameters aren’t satisfactory before overwriting them. The following parameters are introduced for ease of command explanation:

  • Pfirst/last: Indicate the first motor position change in valve opening direction and the last motor position change in valve closing direction;

  • Pnext: Indicate the next motor position change in valve opening/closing direction;

  • Talg: The period for motor position change decisions depending on the desired and measured temperatures;

  • Tdiff open/close: Temperature difference between the target TtargetT_{target} and measured TmeasuredT_{measured} temperatures, to be surpassed, to get decision for valve movement. This parameter is set with separate command for compatibility with older device software versions.

Check Figure 1 for command and entire internal algorithm operation understanding. The example scenario shown on the figure is for heating primary device mode. The algorithm operation is analogical for cooling device primary mode with the only difference that under cooling mode the valve is opened in order to lower the ambient temperature, not to rise it. Check the table below for additional algorithm understanding under different device primary modes.

Device primary mode

Heating

Cooling

Valve opened if

(Ttargettmeasured)>Tdiffopen(T_{target}-t_{measured}) > T_{diff open}

(TtargetTmeasured)<Tdiffopen(T_{target} - T_{measured}) < -T_{diff open}

Valve closed if

(TtargetTmeasured)<Tdiffclose(T_{target}-T_{measured}) < -T_{diff close}

(TtargetTmeasured)>Tdiffclosed(T_{target} - T_{measured}) > T_{diff closed}

! Important note on the algorithm operation.

If Vicki works in mode at which the motor position is set through the server, it is mandatory the server moves the valve with same number of steps, as the internal algorithm (Pfirst/last, Pnext). Also, Pfirst/last/next values less than 16 steps are meaningless.

The table below described the commands to SET/GET the device internal temperature control algorithm parameters, except the Tdiff open/close which is set with separate command.

Byte index

Hex value - Meaning

0

0C – The command code.

1

XX – Internal algorithm temperature check period in minutes – Talg.

Default value for firmware <3.5 is 20min. Default value for firmware >=3.5 is 10 min.

2

XX – Internal algorithm first/last opening/closing steps – Pfirst/last. Default value 20 steps.

3

XX – Internal algorithm next opening/closing steps – Pnext. Default value 20 steps.

Example command: 0x0C131111

With the example command, the internal temperature control algorithm parameters are set as follows: Talg = 19 minutes, Pfirst/last = 17 steps, Pnext = 17steps.

Internal temperature control algorithm parameters – Tdiff only

These commands are used to SET/GET the Tdiff open/close parameters.

Byte index

Hex value - Meaning

0

1A – The command code.

1

XX – Tdiff open value, [°C]. The resolution is 1°C. Default value is 0x01 (1°C) for firmware <3.5. Default value is 0x00 (0°C) for firmware >= 3.5.

2

XX – Tdiff close value, [°C]. The resolution is 1°C. Default value is 0x01 (1°C) for firmware <3.5. Default value is 0x00 (0°C) for firmware >= 3.5.

Example command: 0x1A0201

With the example command, Tdiff open is set to 2°C and Tdiff close is set to 1°C.

Last updated

Was this helpful?