Introduction – sequence controller

In heating, ventilation and air-conditioning systems, it is often the case that several actuators, working in a so-called controller sequence, are used in order to achieve a control variable.

In the air conditioning system shown below, three actuators are involved in the regulation of the supply air temperature. In the project a dedicated sequence controller is instanced for each of these actuators.

During active control only one of these sequence controllers is active. The other, non-active controllers fix their control signal so that it is energetically optimal for the tempering of the inlet air temperature.

Depending on the direction of action of the individual controller, this means either the maximum or the minimum for the control value lrY.

If the effect of the active actuator (controller) is insufficient when reaching an end position, the active controller switches to the adjacent controller to the left or right.
This then takes over control. The previously active controller remains at the end position of lrYMax or lrYMin, depending on the direction of action. This is repeated with the remaining actuators until the set value or the left or right end of the sequence is reached.

In the sequence of the illustrated air conditioning system, all actuators that influence the control variable are shown from left to right. At the far left is the actuator that enables the greatest possible increase in the supply air temperature; at the far right is the actuator that effects the greatest possible decrease in the supply air temperature.

Some actuators, such as a recirculating air flap or a heat recovery unit change their direction of action during operation. (indirect = heating, direct = cooling)

Actuators with varying direction of action, such as outside air flap, recirculating air flap or heat recovery unit, are only listed once.

Schematic diagram

This plant is schematically represented as follows:

Introduction – sequence controller 1:

Rules for creating a sequence

The following rules must be followed for creating the sequences; inlet air control is used as reference:

Sequence controllers in the PLC

The TC3_BA_Common library provides two function blocks for the implementation of a sequence controller in the PLC program:

The function block FB_BA_SeqCtrl: This function block provides an individual controller as part of a sequence of up to 16 controllers.

The function block FB_BA_SeqLink: This function block is the control function block of the sequence and therefore only exists once per sequence. It decides which controller of the sequence is currently active and checks the sequence for certain error states, such as duplicate allocation of ordinal number at the controllers.

The structure variable ST_BA_SeqLink is used to link the sequence controllers with the sequence linker FB_BA_SeqLink.

This structure variable has to be declared once per sequence control.

The sequence control is enabled at input bEn of the function block FB_BA_SeqLink. The variable usiStartCtrl is used to determine which controller is used as the first one after the start of control mode. In the example, the sequence controller with the no. 5 is assigned as the start controller. Switching from controller 5 to another controller in the sequence after restarting the control is blocked for the value of the input variable udiIniSwiOvrDly_sec.

Introduction – sequence controller 4: