Keywords

1 Introduction

Heating, ventilating and air conditioning (HVAC) systems are used in comfort applications like office space air conditioning. Furthermore, they are also required in industrial applications like inlet air conditioning of engine test benches or for the air conditioning of climate test chambers, e.g. used for automotive tests, see Fig. 1. The two latter fields of application impose stringent specifications on control accuracy.

Fig. 1.
figure 1

Sketch of a climate chamber for automotive tests.

In order to efficiently operate e.g. a climate chamber, the time required to switch from one temperature/humidity setpoint to another one should be as short as possible. In Fig. 2, two exemplary setpoint changes are shown: the left one shows poor performance, whereas the right one reveals a much better dynamic behaviour and consequently a shorter time to track new setpoints. In this figure, a given tolerance band for temperature and humidity is indicated. The grey shaded area illustrates the time it takes to meet the tolerance band after a setpoint change.

Fig. 2.
figure 2

A setpoint change for temperature and humidity. Poor reference tracking (left hand side) vs. desired reference tracking (right hand side).

In the present paper, a concept to control air temperature and air humidity is presented. A systematic approach for controller design is given. The concept is experimentally verified on an industrial test plant and the results are compared to standard control techniques. The paper is structured as follows: Sect. 2 introduces an industrial test plant used to experimentally validate the results. A mathematical model of the plant required for the proposed control concept is given. Section 3 describes the suggested control strategy and its application to the test plant. Section 4 discusses the obtained results and Sect. 5 concludes the paper.

2 Test Plant

In order to verify the proposed concept on an industrial system, the test plant shown in Fig. 3 is availableFootnote 1. The plant is capable of increasing and decreasing air temperature as well as air humidity. The core components are heating coils (to increase the air temperature), cooling coils (to decrease the air temperature and to decrease the air humidity) and a steam humidifier (to increase the air humidity). Via a fan, the conditioned air can be transported to a neighboring factory building. In the considered plant setup, three actuating signals (\(u_1 \dots \) cooling coil 1, \(u_2 \dots \) heating coil 1, \(u_3 \dots \) steam humidifier) are used. The controlled variables are air temperature \(y_1\) and air humidity \(y_2\) in the supply air duct to the factory building. The air temperature and humidity after the fan, denoted by \(d_1\) and \(d_2\) respectively, are regarded as measurable disturbances. Furthermore, the hot water supply temperature for the heating coil and the cold water supply temperature for the cooling coil are considered as measureable disturbances \(d_3\) and \(d_4\).

Fig. 3.
figure 3

Picture and schematic representation of the industrial test plant. Outside air enters the plant from the right, is conditioned and then transported to the neighboring factory building.

2.1 Mathematical Plant Model

Mathematical plant models were derived for the components of the test plant. For the relevant items, the modeling will be described in the following subsections.

Temperature and Humidity Sensor. Temperature and humidity sensors were modeled as first order systems with transfer functions

$$\begin{aligned} G(s)&=\frac{1}{1+s\,T}, \end{aligned}$$
(1)

where the individual time constants \(T\) were identified from measurements.

Heating and Cooling Coil. Since the structure of heating and cooling coil is in principle the same, only one model is required for both. A hot/cold fluid passes through pipes and air circulates around the pipes which leads to - in case of a temperature difference between water and air - a heat transfer. The mathematical model is derived from mass and energy balances. The gained partial differential equations describing temperature of water, pipe and air are converted to ordinary differential equations by segmenting the pipe [1, 2]. For one segment, see Fig. 4, the following set of differential equations is obtainedFootnote 2.

$$\begin{aligned} \frac{d \vartheta _{\mathrm {p},j}}{dt}&=\frac{\alpha _{\mathrm {i}} A_{\mathrm {i}}}{m_{\mathrm {p}} c_{\mathrm {p}}}\left[ \frac{\vartheta _{\mathrm {w},j}^{\mathrm {I}}+\vartheta _{\mathrm {w},j}^{\mathrm {II}}}{2}-\vartheta _{\mathrm {p},j}\right] + \frac{\alpha _{\mathrm {o}} A_{\mathrm {o}} \varPsi _{\mathrm {a}}}{m_{\mathrm {p}} c_{\mathrm {p}} \kappa _{\mathrm {a}}} (\vartheta _{\mathrm {a},j}^{\mathrm {in}}-\vartheta _{\mathrm {p},j}) + \frac{\beta A_{\mathrm {o}} r_{\mathrm {v}} \varPsi _{\mathrm {v}}}{m_{\mathrm {p}} c_{\mathrm {p}} \kappa _{\mathrm {v}}} (x_{\mathrm {a},j}^{\mathrm {in}}-x_{\mathrm {p},j}) \end{aligned}$$
(2)
$$\begin{aligned} \frac{d \vartheta _{\mathrm {w},j}^{\mathrm {I}}}{dt}&=\frac{2}{T_{\mathrm {dw}} \varDelta \tilde{x}} \left[ \vartheta _{\mathrm {w},j}^{\mathrm {in}}-\frac{\vartheta _{\mathrm {w},j}^{\mathrm {I}}+\vartheta _{\mathrm {w},j}^{\mathrm {II}}}{2}\right] +\frac{\alpha _{\mathrm {i}} A_{\mathrm {i}}}{m_{\mathrm {w}} c_{\mathrm {w}}} (\vartheta _{\mathrm {p},j}-\vartheta _{\mathrm {w},j}^{\mathrm {I}}) \end{aligned}$$
(3)
$$\begin{aligned} \frac{d \vartheta _{\mathrm {w},j}^{\mathrm {II}}}{dt}&=\frac{2}{T_{\mathrm {dw}} \varDelta \tilde{x}} (\vartheta _{\mathrm {w},j}^{\mathrm {I}}-\vartheta _{\mathrm {w},j}^{\mathrm {II}})+\frac{\alpha _{\mathrm {i}} A_{\mathrm {i}}}{m_{\mathrm {w}} c_{\mathrm {w}}} (\vartheta _{\mathrm {p},j}-\vartheta _{\mathrm {w},j}^{\mathrm {II}})\end{aligned}$$
(4)
$$\begin{aligned} \vartheta _{\mathrm {w},j}^{\mathrm {out}}&=1.5\vartheta _{\mathrm {w},j}^{\mathrm {II}}-0.5\vartheta _{\mathrm {w},j}^{\mathrm {I}}\end{aligned}$$
(5)
$$\begin{aligned} \vartheta _{\mathrm {a},j}^{\mathrm {out}}&=e^{-\kappa _{\mathrm {a}}} \vartheta _{\mathrm {a},j}^{\mathrm {in}}+(1-e^{-\kappa _{\mathrm {a}}})\vartheta _{\mathrm {p},j}\end{aligned}$$
(6)
$$\begin{aligned} x_{\mathrm {a},j}^{\mathrm {out}}&=e^{-\kappa _{\mathrm {v}}} x_{\mathrm {a},j}^{\mathrm {in}}+(1-e^{-\kappa _{\mathrm {v}}})x_{\mathrm {p},j} \end{aligned}$$
(7)

The temperature \(\vartheta _p\) of the pipe is influenced by the heat transfer from water to pipe, by the air inlet temperature and the inlet humidity, see (2). The water temperatures \(\vartheta ^{\mathrm {I}}_{\mathrm {w},j}\) and \(\vartheta ^{\mathrm {II}}_{\mathrm {w},j}\) depend on the inlet water temperature \(\vartheta ^{\mathrm {in}}_{\mathrm {w},j}\) and the pipe temperature \(\vartheta _p\). The coefficients in (2)–(4) are given by heat transfer properties. The outlet air temperature \(\vartheta _{\mathrm {a},j}^{\mathrm {out}}\) as well as the outlet air humidity \(x_{\mathrm {a},j}^{\mathrm {out}}\) are computed from the respective values at the segments inlet and at the pipe, see (6) and (7). The computation of the weighting factors is given in the nomenclature and can be found in [1].

Fig. 4.
figure 4

Structure of a heating/cooling coil and sketch of one pipe segment.

Hydraulics. The structure of the hydraulics for heating coil and cooling coil differ. The heating coil is operated with (almost) constant water mass flow, its heating power is varied by adjusting the mixing ratio of (hot) supply water with (cold) return water. In contrast to this operating mode, the water mass flow of the cooling coil is varied in order to set the cooling power. For the hydraulic system of the heating coil, a static curve which relates a valve position to a mixing ratio is used for modeling. In case of the cooling coil, a curve that relates the valve position to a water mass flow is used. Both relationships were obtained from measurements and valve data. From the valve data and pipe resistance values, the shape of the respective static curve was obtained. Via measurements, the scaling of the static curve was adopted to the plant hydraulics.

3 Control Concept

Model predictive control (MPC) [3, 4] has been increasingly applied to HVAC systems in recent years, see e.g. [58]. The sampling times of HVAC systems, which are typically in the range of several seconds, make the online solution of the optimization problem possible, even with limited computing power. Furthermore, multi-input-multi-output systems with constraints on the actuating signals are handled naturally with MPC. The block diagram of the proposed concept is depicted in Fig. 5. The model predictive controller utilizes a linear plant model which is updated each sampling instant. The linear model is obtained from a model constructed via the local linear model tree (LoLiMoT) algorithm [911]. This model will be referred to as LoLiMoT-model in the following and its generation will be illustrated in the next section. The computation of the linear state space model is addressed in Sect. 3.2.

Fig. 5.
figure 5

Block diagram of the proposed control concept.

3.1 LoLiMoT-Model of the Plant

The idea of the LoLiMoT algorithm is to approximate a nonlinear system via several locally affine models. Input and output data of the system to be modeled, in the following referred to as identification data, is required by the algorithm to compute the local models parameters \(w\) and the validity range of the local models. The output of one local model is computed from the \(n\) previous plant inputs \(u\) and outputs \(y\) via its individual difference equation. The order of the local models is given by \(n\). The output \(y_k\) of the LoLiMoT-model at time instant \(k\) is computed via the weighted sum of the locally affine models outputs, i.e.

$$\begin{aligned} y_{k}=\sum \limits _{l=1}^M\left( w_{l0}+\sum \limits _{i=1}^n\left[ w^{y}_{li} y_{k-i}+\sum \limits _{j=1}^{m}w^{u_j}_{li}u_{j,k-i}\right] \right) \varPhi _l(\mathbf {u^*}_k), \end{aligned}$$
(8)
$$\begin{aligned} {\text {where}} \qquad \mathbf {u^*}_k=[u_{1,k-1} \ u_{1,k-2} \dots u_{1,k-n} \ u_{2,k-1} \dots u_{2,k-n} \nonumber \\\dots u_{m,k-1} \dots u_{m,k-n} \ y_{k-1} \ y_{k-2} \dots y_{k-n}]^T. \end{aligned}$$
(9)

The number of local models is denoted by \(M\). The number of model inputs is \(m\). In the present paper, \(M=20\), \(n=1\) and \(m=7\) holds. The weighting functions \(\varPhi (\mathbf {u^*}_k)\) corresponding to the local models are normalized Gaussian functions. They depend on the previous inputs and outputs of the LoLiMoT-model which are collected in the vector \(\mathbf {u}^*\).

In a first attempt, the identification data is directly derived from measurements at the test plant. This approach shows a severe problem: the disturbances \(d_1\) to \(d_4\) cannot be excited arbitrarily. Consequently, the data available for identification is inappropriate. To tackle the mentioned obstacle, the identification data was generated via the mathematical plant model given in Sect. 2.1. Via this method, sufficiently long and sufficiently excited identification signals can be generated. In Fig. 6, a comparison of test plant measurements versus the mathematical model output is shown. The dynamic behaviour is captured very well. The temperature offset will be compensated by the controller. The LoLiMoT-model output compared to the test plant measurements is depicted in Fig. 6 on the right hand side. A good accordance of the model output with the test plant measurements is given.

Fig. 6.
figure 6

Comparison: test plant measurements vs. mathematical model output (left) and test plant measurement vs. LoLiMoT-model output (right).

3.2 Computation of the Linear State Space Model

For the proposed control concept, the plant parameters \(\mathbf {A}\), \(\mathbf {B}\), \(\mathbf {H}\) and \(\mathbf {C}\) of a linear state space model are required. These parameters are updated at each sampling instant and are obtained from the LoLiMoT-model. The observability canonical form is chosen, the parameters are computed from the coefficients given in (8). A detailed description is omitted due to space limitations, it can be found in [12].

3.3 Model Predictive Controller

The proposed control concept relies on a linear model predictive controller of the formFootnote 3

$$\begin{aligned} \min _{\mathbf {u}_{k+i|k}} \sum _{i=0}^{n_\mathrm {p}-1}&(\mathbf {r}_{k+i|k}-\mathbf {\hat{y}}_{k+i|k})^T \mathbf {Q} (\mathbf {r}_{k+i|k}-\mathbf {\hat{y}}_{k+i|k}) + \nonumber \\&+ \varDelta \mathbf {u}_{k+i|k}^T \mathbf {R}_1 \varDelta \mathbf {u}_{k+i|k} + \mathbf {u}_{k+i|k}^T \mathbf {R}_2 \mathbf {u}_{k+i|k} \end{aligned}$$
(10)
$$\begin{aligned} s.t.\nonumber \\ \mathbf {u}_{min}&\le \mathbf {u}_{k+i|k} \le \mathbf {u}_{max} \end{aligned}$$
(11)
$$\begin{aligned} \varDelta \mathbf {u}_{min}&\le \varDelta \mathbf {u}_{k+i|k} \le \varDelta \mathbf {u}_{max}\end{aligned}$$
(12)
$$\begin{aligned} \varDelta \mathbf {u}_{k+i|k}&= \mathbf {u}_{k+i|k}-\mathbf {u}_{k+i-1|k}\end{aligned}$$
(13)
$$\begin{aligned} \varDelta \mathbf {u}_{k+i|k}&= 0 \quad \forall i>n_{\mathrm {c}}\end{aligned}$$
(14)
$$\begin{aligned} \mathbf {x}_{k+i+1|k}&=\mathbf {A}_k \mathbf {x}_{k+i|k}+\mathbf {B}_{k} \mathbf {u}_{k+i|k} + \mathbf {H}_{k} \mathbf {d}_{k+i|k}\end{aligned}$$
(15)
$$\begin{aligned} \mathbf {\hat{y}}_{k+i|k}&=\mathbf {C}_k \mathbf {x}_{k+i|k} \end{aligned}$$
(16)

Deviations of the predicted plant output \(\mathbf {\hat{y}}\) from the reference \(\mathbf {r}\) are penalized by the matrix \(\mathbf {Q}\) along the prediction horizon \(n_p\). The choice of the prediction horizon was motivated by the system dynamics. From step experiments, the dominant time constant was determined and the horizon was chosen to cover approximately 5 time constants. With this setting, extensive experimental validation was performed on the industrial system with the proposed MPC-LoLiMoT-scheme. These experiments showed that the controlled variables converged to their respective reference values. The predicted output \(\mathbf {\hat{y}}_{k+i|k}\) is corrected by the difference between measurement and model output at time \(k\), i.e. \(\mathbf {\hat{y}}_{k}-\mathbf {y}_{k}\). Constraints on the actuating signal \(\mathbf {u}\) are given by (11). The rate of change of the actuating signal \(\varDelta \mathbf {u}\) is limited by \(\varDelta \mathbf {u}_{min}\) and \(\varDelta \mathbf {u}_{max}\), see (12)–(13). Furthermore, the actuating signal is supposed to remain constant for \(i>n_c\), where \(n_c\) is the control horizon, see (14). Constraints due to the plant model are represented by (15) and (16). The actuating signal as well as the actuating signals rate of change are penalized via \(\mathbf {R}_2\) and \(\mathbf {R}_1\) respectively.

4 Discussion

In Fig. 7, measurements obtained at the test plant are presented. The diagram on the left hand side outlines the capability of the proposed controller to track reference step signals. The short settling time demonstrates the performance of the MPC/LoLiMoT combination. Actuating signal limits concerning amplitude (limited to the range 0–100 %) and rate (limited to 28.57 % per 10 s) are accounted for by (11) and (12). The heater is at the lower limit until 1000 s, i.e. constraint (11) is active for the heater during this period. At time equal to 1000 s, the rate limitations (12) are active for the heater and for the humidifier. During the experiment, at least one of the actuators is at its lower limit most of the time. In the diagram on the right hand side, a comparision to a classical PI approach is shown. For this measurement, the steam humidifier was deactivated, and instead of cooling coil 1 and heating coil 1, cooling coil 2 and heating coil 2 were selected as actuators. In the PI-strategy, the cooler was used to control the temperature, the heater was used to control the humidity. Two seperate PI-controllers were tuned by a company specialized to HVAC control. In the comparison diagram, the proposed strategy clearly outperforms the PI strategy. Especially, the temperature can be kept at the setpoint very accurately (notice the small deviation of less than \(0.5\,^\circ C\) from the reference) with the proposed strategy, whereas the PI-strategy shows control errors above \(1.5\,^\circ C\). The tracking performance regarding the humidity is similar for both approaches with slight advantages for the proposed concept. The humidity remains in a \(\pm 5\,\%\) tolerance band from approximately 100 s after the step signal.

Fig. 7.
figure 7

Measurement results. Left: tracking of several reference steps. Right: Comparison to a conventional PI-controller.

5 Conclusion

In the present paper, a control technique is presented which relies on a linear MPC formulation. To deal with nonlinearities of the plant, the parameters of the linear model are updated each sampling instant. A plant model obtained via the LoLiMoT algorithm forms the basis for the creation of the linear state space model. For the presented application consisting of 3 actuators and 2 controlled variables, the presented concept naturally handles the choice of the actuators. Limitations of the actuators (e.g. limited valve travel in the range of 0 to 100 % and limited slew rate) are handled by the model predictive controller. With conventional schemes, e.g. separate PI-controllers, an additional logic to switch between the destinct controllers has to be implemented. This is not necessary with the proposed concept, it offers a straight forward, systematic approach to design controllers for HVAC systems.

Nomenclature

figure a