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 Heating Cascade Algorithm Control section and the Secondary Heating Temperature Compensation section, closely related to the PID cascade algorithm:

PHOTO TBD

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:

Attenzione: non utilizzare G0 in quanto è il generatore OpenTherm utilizzato con il prodotto DOT, non con il sistema REG, quindi nella logica di cascata non viene mai considerato.

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):

PHOTO TBD

Highlighted in red you have:

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

Si ipotizza di avere selezionato 1 come numero di generatori Start e Minimo, mentre il numero Massimo è 9:

PHOTO TBD

L’impianto in oggetto ha 4 generatori OpenTherm:

Partendo dalla condizione in cui tutti i generatori OpenTherm sono spenti la sequenza di accensione è la seguente:

A parità di priorità l’accensione segue l’ordine numerico dei generatori per la prima accensione, mentre per le successive accensioni i generatori vengono fatti ruotare.

In Estate nessun generatore ha la stessa priorità, quindi l’ordine sarà sempre lo stesso (G3 → G2 → G4).

In Inverno G1 e G3 hanno la stessa priorità, durante la prima accensione la sequenza è G1 e poi G3, alla seconda accensione verrà acceso prima G3 e poi G1. G4 seguirà sempre in quanto ha una priorità più bassa.

Per quanto riguarda lo spegnimento vale la regola del “First On First Off”, quindi, prendendo il caso invernale, se per primo è stato acceso G1 poi G3 e infine G4, il primo a spegnersi sarà G4 in quanto ha priorità più bassa, poi tra G1 e G3 (che hanno la stessa priorità) il primo a spegnarsi è il primo che si era accesso, quindi G1.

Per quanto riguarda i parametri del controllo PI si è deciso di inserire 600 s, il che significa che per almeno 10 minuti dopo l’accensione o lo spegnimento di un generatore il sistema non modificherà il numero di generatori accesi. Mentre il delta T per cui il sistema deve subito inserire un generatore è 2 K, quindi si utilizza il valore 80 per Pid P, il tempo di ritardo per l’accensione del secondo generatore è di circa 20 minuti inserendo un Pid I di 40.