Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 20 Next »

 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:

  • Parallel functioning: all OpenTherm generators enabled for heating and cooling are required to work simultaneously;

  • Power cascade: this control can be applied to those generators that are able to return the power output to RegConfig as data point, as the function aims to keep the enabled OpenTherm generators on within a certain power output range;

  • PID: stands for Proportional – Integral – Derivative. This last control allows you to switch on or off the enabled OpenTherm generators in relation to how close the temperature measured by a sensor (generally positioned in a buffer tank to which all the generators are connected) and the set point is.

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:

  • The CURRENT (or “immediate”) value of the Error Signal (proportional action)

  • The trend over time (the “integral) of the Error Signal (integral action)

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:

  • Stop between changes (s): the variation is the change corresponding to the switching on or off of an OpenTherm generator. The pause between two variations it the minimum time that passes between the switching on or off of an OpenTherm generator and its subsequent switching on (or subsequent switching off) of another OpenTherm generator. For example, if at time x a generator is switched on, for the time indicated in the Stop between changes box, the algorithm will not add or remove generators (even though the result of the calculation would require it) to give the switched-on generators time to get up to speed and see the effects on the system;

  • Pid P (dimensionless): Proportional parameter in the calculation of the number of OpenTherm generators to be switched on or off. The proportional parameter depends on the difference between the desired set point and the current temperature read by the sensor used for the PI controller:

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 (dimensionless): Integral parameter in the calculation of the number of OpenTherm generators to be switched on or off. The integral parameter complements the proportional parameter by taking into account the time the system takes to approach the desired set point. To determine the Pid I parameter, let us assume that the delta T, after switching on the first generator, has changed from 4 K to 2 K and that a second generator is to be switched on after 5 minutes (for example):

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!

  • N. Start Generators: indicates the number of generators that are switched on starting from the condition “all OpenTherm generators are off”. For example, let us assume that the Start generators number is 2: you are in the condition “all OpenTherm generators are off” and the cascade algorithm results in only one generator switched on, but at least two generators are switched on at the same time. After switch-on (and therefore at least after the time indicated by “Stop between changes”) the algorithm may assess if the number of generators is appropriate to the demand of the system (and therefore leave it unchanged) or decrease or increase it; the number of generators at the start is useful if there are systems with many generators. Let us suppose we have a system with 8 generators: if the system starts with only one generator and then every “Stop between changes” (typically 3 minutes) adds another one, it will pass at least 21 minutes before the system goes at full speed; instead, if we set the initial number at 4, the system starts immediately with 4 generators, and then we decide if increase this number (and, in any case, in 12 minutes it would go to the maximum) or decrease it. 

  • N. Minimum Generators: indicates the minimum number of active generators. If, for example, it is set to 3 and 3 generators are currently active, even if the cascade algorithm were to determine the need to switch off a further generator, none would be switched off; in another way, they would have never left on less than 3 generators (Note: this means that the REG System enables 3 generators which can then decide to switch off the flame/compressor, because they determine that their water outlet temperature is satisfied).

  • N. Maximum Generators: indicates the maximum number of generators that can be switched on at the same time. If 5 generators are enabled, but the maximum number is 3, this means that the algorithm can switch on maximum 3 generators, even though 4 would be needed. This choice has the direct consequence that the set point may never be reached or that may be reached but over a long period of time.

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

  • Enable/set Heating: if the square is ticked, this means that there is a request to the generators and in the rectangle on the right is indicated the required set point. For heat pumps, the set point is either heating or cooling. If the square is not ticked and the set point is zero, this means that no demand is coming from the circuits to OpenTherm.

  • Enable/Set DHW: if the square is ticked, this means there is a request to the generators and in the rectangle on the right is indicated the required set point for the production of Domestic Hot Water. If the square is not ticked and the set point is zero, this means that no demand is coming from the circuits or the DHW page to OpenTherm.

  • N. active generators (cascade): indicate how many generators have been activated for the cascade in heating or cooling (not for DHW production).

  • The last rectangle at the bottom (yellow box) is the countdown of the Stop between changes in hundredths of a second.

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

note the following:

  • Domestic Hot Water production does not respond to the PI cascade algorithm;

  • PI algorithm switches on the OpenTherm generators according to the priority entered and according to the request selected in the third column (Only Heat, Only Cool or Always)

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:

  • The demand for H = Heating, W = DHW, and C = Cooling;

  • The required temperature in heating or cooling [°C];

  • The power required in heating or cooling [%].

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)

La pagina OpenTherm può gestire sia caldaie mediante protocollo OpenTherm (senza firmware dedicato) sia pompe di calore o caldaie mediante protocollo Modbus con firmware dedicato. In giallo si evidenziano i valori trasmessi dalla caldaia o dalla pompa di calore e sono strettamente legati a come il produttore dei generatori ha implementato il protocollo OpenTherm sulla caldaia o il protocollo Modbus sulla pompa di calore/caldaia (fare sempre riferimento alla documentazione del generatore a riguardo o nel caso di firmware dedicati alla documentazione fornita con il firmware). Passando con il mouse sopra i vari rettangoli/quadrati compare un tag con una descrizione estesa:

  • Stato Generatore: indica in che stato si trova il generatore (G = guasto, R = riscaldamento, SA = Acqua sanitaria, F = fiamma, C = condizionamento, ecc.). Se non implementato nessun quadrativo verrà popolato con le spunte.

  • Temperatura mandata, Temperatura ritorno, Temperatura ACS [°C]: sono le letture dei sensori del generatore se presenti e/o se mappate nel firmware dedicato.

  • Pot.: potenza erogata dal generatore in %, in kW elettrici, in kW termici (fare riferimento al manuale del produttore della caldaia o al manuale del firmware dedicato).

  • Errore OT: errori Opentherm più frequenti (Ra = richiesta assistenza, Rr = reset remoto abilitato, Bp = Bassa pressione acqua, ecc.). Nel caso di firmware dedicato fare riferimento alla documentazione fornita per la decodifica.

  • Errore OEM: indicazione del numero dell’errore, fare riferimento al manuale del generatore per la diagnostica o alla documentazione del firmware dedicato.

  • Reset: reset dell’errore, funziona solo se implementato o se la caldaia lo gestisce, fare riferimento al manuale del generatore per la diagnostica o alla documentazione del firmware dedicato.

ESEMPIO

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:

  • G1 e G3 hanno priorità 1, G1 è abilitato solo in Riscaldamento, mentre G3 è sempre disponibile

  • G2 ha priorità 2 ed è disponibile solo in Raffrescamento

  • G4 ha priorità 3 ed è sempre disponibile

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

  • In Estate G3 → G2 → G4

  • In Inverno G1 → G3 → G4

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.