Traduction en cours. Ce manuel est affiché en anglais en attendant sa version française.Zennio Thermostat: 1.2.3. Control Methods
Room thermostatic control consists of sending the proper orders to the climate system, so the room ambient temperature reaches a certain setpoint and then remains stable around that value.
Different algorithms can be used to perform such temperature control. The Zennio thermostat lets the integrator select one of the following two:
- Two-Point Hysteresis Control.
- Proportional-Integral (PI) Control.
1.2.3.1. Two-Point Hysteresis Control
Similar to the climate control performed by conventional thermostats. The basis of this algorithm consists in switching the control signal between “on” and “off” depending on whether the reference temperature has reached the setpoint or not.
Indeed, apart from the setpoint temperature, two values of hysteresis (lower and upper) are required to define a hysteresis or margin around the setpoint, therefore preventing a continuous commutation between the two modes.
Example: Two-Point Hysteresis.
- Let the initial setpoint be 25 ºC, with an upper and lower hysteresis of 1 ºC for the Heating mode. Supposing an ambient temperature of 19 ºC, the system will start heating the room. Once the temperature is 25 ºC, it will continue heating until it becomes 26 ºC, which is the upper limit of the hysteresis band. The climate system will then shut down and will remain off until the ambient temperature is lower than 24 ºC (not 25 ºC), after which it will turn on again.
- This algorithm produces a characteristic temperature graph:

The main disadvantage of this algorithm, when compared to other advanced systems, is the permanent fluctuation around the setpoint temperature, which has a direct impact on the power consumption and on the comfort:

Figure 2 shows that the red-colored sections correspond to situations of unnecessary energy consumption and thermal discomfort caused by excessively high temperatures. In contrast, the blue-colored sections indicate situations of thermal discomfort due to insufficient temperatures.
The two-point hysteresis control will be restarted when any of the following occurs:
- The current operation mode (Cooling/Heating) changes.
- The current special mode changes.
- The thermostat is switched on.
- The device is restarted.
- The setpoint temperature changes.
1.2.3.2. Proportional-Integral (PI) Control

It is a linear control algorithm based not only on the difference between the setpoint and the reference, but also on the history of the system. In addition, the control signals sent are not strict open/close orders, but intermediate orders. This reduces the temperature oscillation and the periods of discomfort of the previous algorithm, making the ambient temperature become progressively stable around the setpoint.
This algorithm requires configuring three main parameters:
- Proportional Constant (K): expressed in terms of degrees, estimates an error value proportional to the difference between the setpoint and the reference temperature.
- Integral Time (T): expressed in minutes, this constant depends on the thermal inertia of the climate system and makes it possible to adjust the error of approximation depending on the elapsed time.
- PI Cycle Time: expressed in minutes or seconds, this cycle time is taken into account for setting the temperature sampling frequency and therefore the update frequency of the control signal being sent.
Although the Zennio devices let expert users manually set custom values for the above parameters, generally it is preferable to make use of one of the pre-set options, which should fit the most common climate situations (see Annex I: Pre-set Values for the PI Control).
Regarding the control signals of the PI mode, they can be expressed in two forms:
- Continuous PI: the control variable will throw percentage values, thus indicating how much the valve of the climate system should open. For instance, a value of 50% will indicate that the gate must remain half open. Of course, this method only applies to advanced systems, where the valves permit intermediate positioning.
- PWM (Pulse Width Modulation): the control variable will be in this case binary, being therefore possible to control “on/off” valves, i.e., valves not permitting intermediate positions. Partial opening of the valve (for example: at 50%) is therefore emulated by successively opening/closing it (entirely) for similar time portions.
- To prevent repeatedly opening and closing the gate relays, it is possible to define a minimum PWM signal commutation time. In addition, it is possible to specify what to do in case a PWM time lower than the minimum time is required: switching the control signal (applying the minimum time) or ignoring the commutation.
Note
For a proper behaviour of this kind of control, it is necessary that the PI cycle time is at least twice the minimum PWM commutation time.
Example: PI control with PWM.
- Let a “continuous PI” thermostat control system determines a control variable of 25%, which will be interpreted by intermediate-positioning valves as an order to open to 25%. The equivalent PWM variable for that would be a binary signal that remains at high level (value “1”) for 25% of the configured PI cycle time, and at low level (value “0”) during the remaining 75% of the cycle time. Therefore, an on/off valve will stay entirely open 25% of the time and entirely closed 75% of the time.

On the other hand, under situations of control signal saturation, during which the variable becomes 100% due to drastic differences between the setpoint and the reference temperature, a significant integral error will accumulate as the time passes, so once the setpoint is reached, the system will still send a positive signal because of the influence of the system history in the PI algorithm. This will cause an excessive heat/cool supply, which will take some time to be compensated. To prevent these situations, there are two strategies to reset the accumulated error:
- As soon as the setpoint is reached after a signal saturation or, in other words, once the control signal is saturated, it will remain at 100% until the setpoint temperature is reached. At that moment, without waiting for the cycle time to expire, the PI control is completely restarted, thus sending the new calculated value of the control signal (which will be 0%).
- When the setpoint temperature is modified.
Note
This is the strategy followed by default, but it can be disabled in the Advanced option in the PI Control parameters (see section 2.2.3.2)
The following figures show the effect on the ambient temperature depending on whether the reset of the accumulated integral error is enabled or not.

1.2.3.3. Control Under Protection Special Mode
Regardless of the parameterised control type (two-point hysteresis or PI), under Protection special mode a variant of the two-point control algorithm will always be applied, with the following hysteresis values:
- For the simplified heating mode, a hysteresis of 0 °C below and 1 °C above will be applied.
- For the simplified cooling mode, a hysteresis of 1 °C below and 0 °C above will be applied.
The outputs will behave on/off: if a two-point control was configured, the output variable will take the values 0 and 1, while in the PI control it will still consist in 0% and 100%, but sent periodically.
Example: Control under Protection special mode.
- Suppose setpoint temperatures in the Building Protection special mode of 7 ºC and 35 ºC for Heating and Cooling, respectively, and a PI control with a percentage signal-type.
- Case 1: when working in the Heating mode, a control order of 100 % will be sent as soon as the reference temperature reaches 7 ºC, and of 0 % as soon as it is greater than 8 ºC.
- Case 2: when working in the Cooling mode, a control order of 100 % will be sent as soon as the reference temperature reaches 35 ºC, and of 0 % as soon as it is lower than 34 ºC.