OBJECTIVE

This technical information details the new PID cascade algorithm that can be selected within the OpenTherm page of the RegConfig Configurator.

CASCADE ALGORITHMS FOR HEATING AND COOLING

The following image shows, within the OpenTherm page of the RegConfig, the position of the System Cascade control Algorithm section (red) and the Buffer tank Compensation Temperature section (blue), closely related to the PID cascade algorithm:

The cascade algorithm can be of three types:

Enabled OpenTherm generators are those generators that have a number (which can range from 1, highest priority, to 8, lowest priority) in the Generators section (highlighted in green) on the OpenTherm page and not OFF in the box corresponding to the “Heat/Cool” column. The number indicates the priority of the call, so in the image below G1 and G3 generators have priority 1 (they are called first), while G2 has priority 2 and G4 priority 3:

Warning

Do not use G0 as it is the OpenTherm generator used with the DOT product, not with the REG system, therefore it is never considerate in the cascade logic.

PID CONTROL ALGORITHM

This is a feedback control system, which varies the number of active generators with the aim of maintaining the output temperature of generators to the required set point.

In this specific case, the PI version (without the derivative D) is used.

By changing the P and I parameters, it is possible to control how the system reacts when the measured temperature is different from the set point, which makes this system very flexible.

The system compares the measured temperature with a probe, which must be put in a place where the all the generators arrive (typically a balancing manifold, or the input of an exchanger, or a buffer tank) with the desired set point.

The difference between the two values (measured temperature and set point), called “Error Signal”, is used to determine the number of generators to be activated.

In particular, the system is aware of two factors:

Within the OpenTherm page of the RegConfig is the Buffer Tank Compensation Temperature:

The system assumes that the sensor used by the “PID Cascade” algorithm is the same one used by the “Buffer tank compensation temperature” function, and it is therefore set via the “Buffer tank Sensor” parameter.

However, it is important to underline that “PID Cascade” and “Buffer Tank Compensation Temperature” are two different and separate functions, which can operate together or separately (e.g., the “Buffer Tank Compensation Temperature” can be also used for other types of cascade algorithms, and also for Parallel functioning), which incidentally “share” the same sensor, as the requirement for both algorithms is to monitor the “final” temperature provided by the group of generators.

Note

The “Buffer Tank Compensation Temperature” is not the subject of this technical part, which instead focuses on the “PID Cascade”.

Once the reference sensor for the cascade PI algorithm has been defined, it is possible to enter the values that affect the PI control output variable, that is how many OpenTherm generators are to be switched on and when:

Pid P = 160 / delta T

so, if it desired that with a delta T of 4 K a generator is immediately switched on, then the value of Pid P to be entered is 40 (160 / 40). The higher the proportional parameter, the faster the generators will be switched on.

Pid I = 1740 / delta T * T delay

so, if we consider a delta T of 4 K and a delay T of 5 minutes before switching on a second generator, then the value of Pid I to be entered is 87 (1740 / 4 * 5). The lower the Pid I parameter, the more time will pass before an additional generator is added.

Note

The values 160 and 1740 were derived from formulas implemented for this specific algorithm!

The Power and Degraded Temperature parameters refer to the Power Cascade, so the values entered are ignored if the Cascade PI control algorithm is selected.

The result of the settings made is displayed at the top right of the OpenTherm page “Generator Demand Status”:

Always referring to the image in the Generators section of the OpenTherm page:

note the following:

The lower part of the OpenTherm page shows for each generator the result of the heating/cooling and DHW requests (red box) and the feedback from the generators to the REG System (yellow):

Highlighted in red you have:

Warning

If the generator is used for DHW production only both the required temperature and power are zero, the values that are passed in case of DHW production are those that are displayed in Generator Demand Status (top right of the OpenTherm page)

The OpenTherm page can manage both boiler via OpenTherm protocol (without dedicated firmware) and heat pumps or boilers via Modbus protocol with dedicated firmware. In yellow are highlighted the values transmitted by the boiler or the heat pump and are closely linked to how the generators’ manufacturer has implemented the OpenTherm protocol on the boiler or the Modbus protocol on the heat pump/boiler (always refer to the documentation of the generator or, in the case of dedicated firmware, to the documentation supplied with the firmware). By hovering the mouse over the various rectangles/squares, a tag with extended description appears:

EXAMPLE

Let us assume we have selected 1 as the number of Start and Minimum generators, while the maximum number is 9:

The hypothetical system has 4 OpenTherm generators:

Starting from the condition “all the OpenTherm generators are switched off”, the switch-on sequence is as follows:

With equal priority, the power on follows the numerical order of the generators for the first power on, while for the subsequent power on the generators are rotated.

In Summer no generator has the same priority, so the order will always be the same (G3 → G2 → G4).

In Winter G1 and G3 have the same priority, during the first ignition the sequence is G1 and then G3, at the second ignition G3 will be switched on first and then G1. G4 will always follow as it has a lower priority.

Concerning the switch off, the “First On First Off” rule applies, therefore, taking the winter case, if G1 was switched first, then G3 and finally G4, the first to switch off will be G4 as it has a lower priority, then between G1 and G3 (that have the same priority) the first to switch off is the first one that was switched on, therefore G1.

Concerning the PI control parameters, it was decided to include 600 s, which means that for at least 10 minutes after a generator is switched on or off, the system will not change the number of generators switched on. While the delta T for which the system must immediately enter a generator is 2 K, so the value 80 is used for Pid P, by entering a Pid I of 40 the delay time for switching on the second generator is approximately 20 minutes.