CascadeExtractSupplyAirX
CascadeExtractSupplyAirX (FB)
FUNCTION_BLOCK CascadeExtractSupplyAirX
Short description
Formation of a supply air setpoint temperature using a cascade controller (PI controller) Additional functions: Limitation of the supply air setpoint temperature Typical application: Supply air temperature control in a ventilation system
Representation

Functional description
General
This function block is used to generate the supply air setpoint temperature of a ventilation system from
Current setpoint temperature (exhaust air or room temperature) in °C
2) Current actual temperature (exhaust air or room temperature) in °C taking into account the relative (rMinSUPTemp or rMaxSUPTemp) and absolute (rMinSUP or rMaxSUP) limits. In addition, when forming the supply air setpoint, the special operating modes ‘Rapid heating’ and ‘Free night cooling’ are taken into account. The supply air setpoint is formed with a delay (tDelayControl) after the controller is enabled / disabled (xEn = TRUE). The cascade controller is enabled if the following conditions described below are all met at the same time: 1) The special operating mode Rapid heating is disabled (xFastHeatEn = FALSE). 2) The special operating mode Free night cooling is disabled (xFNCEn = FALSE). 3) The current actual temperature rActTemp does not violate its absolute limit values (+5.0 - +50.0 °C). 4) Control is enabled (xEn = TRUE) and the switch-on delay (duration = tDelayControl) has ended. In all other situations, the cascade controller is disabled.
Control
The current actual temperature rActTemp is permanently compared with the current setpoint temperature when the cascade controller is enabled (PI controller, xEn = TRUE, expiration of the duration tDelayControl, no limit value violation at the input rActTemp) and depending on the amount / sign of the difference or on the controller settings ( rSetPtTemp compared and depending on the magnitude / sign of the difference or depending on the controller settings (rPI_Kp or rPI_Tn) a displacement temperature is generated in the cascade controller. In heating mode (rActTemp < rSetPtTemp) a positive displacement temperature is thus generated in the range 0.0 - rMaxRelativeSUP K. In cooling mode (rActTemp > rSetPtTemp) thus a negative offset temperature is created in the range 0.0 - rMinRelativeSUP K. In the fully regulated state (rActTemp = rSetPtTemp) the displacement temperature does not change. This displacement temperature is then added to the current setpoint temperature and, if necessary, limited to the calculated limits rMinSUPTemp or rMaxSUPTemp . At output rMinSUPTemp the calculated minimum supply air setpoint temperature (rActTemp + rMinRelativeSUP, absolutely limited to rMinSUP or rMaxSUP) is permanently displayed. At output rMaxSUPTemp the calculated maximum supply air setpoint temperature (rActTemp + rMaxRelativeSUP, absolutely limited to rMinSUP or rMaxSUP) is permanently displayed. The current actual temperature rActTemp is monitored for compliance with limit values. At every limit violation (rActTemp < +5.0 °C or rActTemp > +50.0 °C) the cascade controller is deactivated.
Selection of the supply air setpoint temperature
The selection of the supply air setpoint temperature is carried out according to the following function table.
xFastHeatEn
xFNCEn
rActTemp within limit values
xEn
Supply air setpoint temperature
Notes
TRUE
X
X
X
rMaxSUP
Special operating mode ‘Rapid heating’
FALSE
TRUE
X
X
rMinSUP
Special operating mode ‘Free night cooling’
FALSE
FALSE
FALSE
X
rSetPtTemp
Actual temperature limit violation
FALSE
FALSE
X
FALSE
rSetPtTemp
Control lockout
FALSE
FALSE
TRUE
TRUE
rSetPtTemp + displacement temperature
Normal operation
Legend: X = any
Formation of the current supply air setpoint temperature rSetPtSUPTemp
The current supply air setpoint temperature rSetPtSUPTemp is formed from the supply air setpoint temperature, extended by a manual override module.
Supply air setpoint temperature
eManModeN
rSetPtSUPTemp
Notes
X
eMANNUM.Auto
Supply air setpoint temperature
Manual override module in automatic mode
X
eMANNUM.Man
rManValue
Manual override module in manual mode
Legend: X = any
CODESYS
InOut:
Input
xEn
BOOL
Input
rActX
REAL
9
Input
rSetPtHum
REAL
55
Input
rSetPtTemp
REAL
21
Input
rSUPTemp
REAL
20
Output
rSetPtSUPX
REAL
Output
rMinSUPX
REAL
Output
rMaxSUPX
REAL
Output
rSetPtX
REAL
Input Const
rPI_Tn
REAL
400
Input Const
rPI_Kp
REAL
1.4
Input Const
rMaxHumSUP
REAL
80
Input Const
rMinHumSUP
REAL
30
Input Const
tDelayControl
TIME
TIME#5m0s0ms
Input Const
rP
REAL
980.0
Input Const
rManValue
REAL
Input Const
eManModeN
eManNum
eManNum.Auto
Last updated

