Quasi-Adaptive Fuzzy Heating Control of Solar Buildings: M.M. Gouda, S. Danaher, C.P. Underwood
Quasi-Adaptive Fuzzy Heating Control of Solar Buildings: M.M. Gouda, S. Danaher, C.P. Underwood
Abstract
Significant progress has been made on maximising passive solar heat gains to building spaces in winter. Control of the space
heating in these applications is complicated due to the lagging influence of the useful solar heat gain coupled with the wide range of
construction materials and heating system choices. Additionally, and in common with most building control applications, there is a
need to develop control solutions that permit simple and transparent set-up and commissioning procedures. This paper addresses
the development and testing of a quasi-adaptive fuzzy logic control method that addresses these issues. The controller is developed
in two steps. A feed-forward neural network is used to predict the internal air temperature, in which a singular value decomposition
(SVD) algorithm is used to remove the highly correlated data from the inputs of the neural network to reduce the network structure.
The fuzzy controller is then designed to have two inputs: the first input being the error between the set-point temperature and the
internal air temperature and the second the predicted future internal air temperature. The controller was implemented in real-time
using a test cell with controlled ventilation and a modulating electric heating system. Results, compared with validated simulations
of conventionally controlled heating, confirm that the proposed controller achieves superior tracking and reduced overheating when
compared with the conventional method of control.
r 2005 Published by Elsevier Ltd.
Keywords: Solar building; Space heating; Fuzzy logic control; Neural network; Adaptive control; PI control; Real-time control
Good set-point tracking with the ability to anticipate parameters of the FLC. Egilegor et al. [11] used an
the lagging influence of passive solar heat gain. ANN to adapt a daily comfort offset parameter as a
Easy and transparent set-up and commissioning with control target for a FLC applied to the control of
minimal post-commissioning intervention. heating and cooling in a dwelling.
Of the adaptive fuzzy controllers developed for the
Thus the aim of the work reported here is to develop a control of energy and environmental comfort in build-
new controller for space heating in passive solar ings, most have a limited adaptation horizon and none
buildings which is responsive to the lagging effects of of them account for the substantially lagging influences
solar energy inputs, whilst offering good robustness and of the major microclimate variables. The same applies to
tracking properties and minimal commissioning. the earlier model-based adaptive controller develop-
ments. This problem forms the basis of the work
reported here.
2. Previous work
5. A forecasting model
A conventional proportional-plus-integral (PI) controller
was used for this purpose and this was tuned using The stochastic problem of supplying a forward-in-
Ziegler–Nichols rules. This method of control with this time prediction of internal air temperature (the target
method of tuning was adopted as a benchmark because it control variable) is considered in this section. The
is very commonly used in feed-back control of space theoretical model developed in the previous section as a
heating systems in practice [14]. The controller para- means of benchmarking the system under investigation
meters arrived at were a proportional gain (kp) of was found to give good agreement with field monitoring
0.8 K1 and an integral time ðti Þ of 10 min according to results [12]. However, it requires unique and extensive
the Ziegler–Nichols’ prescriptions [15]. It is stressed that parameterisation each time it is used in practice and thus
the intention here was to compare the proposed is not suitable for a practical online implementation of
controller with a conventional PI controller (as a the proposed control system. This type of predictive
practical ‘‘benchmark’’) in order to evaluate both modelling problem has historically been dealt with using
adaptiveness and ease of set-up in the case of the auto-regression techniques but the tendency of ANNs to
proposed controller. It would have been perfectly give superior results with noisy and incomplete data,
feasible to introduce a solar input for the PI controller non-linear problems and better computational perfor-
as well but such a development of the PI controller mance during model implementation has resulted in an
would have made it unsuitable as a practical benchmark. ANN approach being adopted here. In the following, a
Thus our central objective was to develop a fuzzy logic summary of the approach that has been adopted is
heating system controller with responsiveness to passive given. A fuller treatment can be found in [17].
solar heating effects and no need for tuning parameters The problem specification was to provide an estimate
and to benchmark it against a purely conventional of internal air temperature at least 1-h ahead in time and
method of control. This is a development of an earlier to within typical measurement uncertainty. The avail-
work which investigated the performance of a simple able historical time series’ to inform the estimate were
fuzzy logic heating controller with a conventional PI the external air temperature, total solar irradiance,
controller and concluded that, though the fuzzy logic heating system control signal and past values of internal
controller offered better robustness and control variable air temperature. The significance of the minimum 1-h
tracking than the PI controller, a mechanisim for time horizon relates to preliminary modelling of a range
adapting to external disturbances (such as solar heating) of room spaces suggesting that the typical time lag
was desirable (Gouda et al. [16]). The development of between the solar input received by a window and a
this mechanism forms the basis of the present work. significant increase in room air temperature is about 1 h
Preliminary results based on the completed model which fixes the problem control horizon. A further
consisting of the Test Cell space, heating system and justification for this emerges from a simple reasoning
PI controller with closed feed-back path are shown in applied to the model parameters of the Test Cell in that
ARTICLE IN PRESS
M.M. Gouda et al. / Building and Environment 41 (2006) 1881–1891 1885
Fig. 4. Sample simulated results using conventional control. (a) Total solar radiation incident on window; (b) internal air temperature.
the time constant of the internal air temperature with training data set for the heating system control signal,
respect to solar energy received at the floor must be the convector-radiator power regulator was cycled
within the model prediction horizon. Consideration of through a predetermined sequence. All data were
Fig. 3 shows that the time constant relating the internal sampled at 15-min intervals. Because of the need to
air temperature to a step input of solar energy to the supply historic data not only the current values
floor will be: C 8 R11 R12 =ðR11 þ R12 Þ. Inserting the (inputs ðkÞ) were needed but also inputs ðk 1Þ,
appropriate values from Table 1 leads to a time constant inputs ðk 2Þy inputs ðk iÞ were needed. The value
for this pathway of 1828s. This is comfortably within the of i was increased by trial and error and it was found
1-h time horizon specified for the purpose of this work. that a minimum value of i ¼ 48 was needed to
Typical room air temperature sensors have an uncer- successfully capture the building dynamics. This effec-
tainty of 70.2 K and thus the quality of prediction over tively provided 12 h of historic data to the network, but
actual data will also need to be within this tolerance to led to the unwelcome effect of increasing the number of
be acceptable. effective inputs to 192.
In recognition of the potential problem of overfitting To reduce the training data set to a more computa-
by the ANN, the early stopping method was used in tionally manageable size, the application of singular
which the available training data were divided into three value decomposition (SVD) was investigated. SVD is an
subsets. The first subset was used for training, the efficient numerical technique for the analysis of multi-
second for validation and the third subset was used for variate data. It can be used in most types of multi-
testing. For validation, the error between the evolving variate analysis and can greatly increase computational
network and the validation data subset was monitored efficiency in, amongst other things, non-linear analyses
during the training process. Generally, the resulting such as neural network building. The technique also has
validation error decreased during an initial phase the advantage of removing unimportant information
of training but when the network began to overfit which might, for instance, be related to noise. A brief
the data as evidenced by a rise in the validation subset overview of the method follows (for further details see
error, the training was stopped. The weights and for example Danaher and O’Mongain [18]).
biases corresponding to this minimum validation subset Letting the matrix O (of size m n which contains
error were returned as the required network solution. both the current values and the past values) be an
The error generated by the third data subset was not observation matrix, the SVD method decomposes this O
used during the training, but was used to test the matrix into three matrices: W, L, and V. Thus the
performance of each network solution. Thus the test singular value decomposition of O is defined as:
subset error was used as a basis to compare different
O¼WLV (2)
network structures.
Meteorological data were used for the external air in which W and V are pseudo-unitary (i.e. are unitary
temperature and solar irradiance. To establish the but contain ‘‘lost points’’ and, as such, are described as
ARTICLE IN PRESS
1886 M.M. Gouda et al. / Building and Environment 41 (2006) 1881–1891
Fig. 7. ANN-predicted internal air temperature and modelling error frequencies. (a) 1-h-ahead prediction; (b) 2-h-ahead prediction; (c) 1-h-ahead
error frequency; (d) 2-h-ahead error frequency.
6. A quasi-adaptive fuzzy logic heating controller the first of two inputs to the fuzzy controller. The second
input was the predicted 1-h-ahead internal air tempera-
The development of a quasi-adaptive fuzzy logic ture enabling the controller to adapt to the lagging
controller is considered in this section. The controller is influence of solar heat gain. In this sense, the terminol-
divided into two main modules; a conventional static ogy quasi-adaptive is used for the controller to distin-
fuzzy controller and feed-forward neural network with guish it from the more familiar adapting-rulebase/
SVD algorithm as shown in Fig. 8. The inputs needed adapting-inference paradigms such as is found in
for this controller are the set-point temperature ex- classical neuro-fuzzy controllers.
pressed by the user, and the current and past values of The fuzzy sets of the error were defined as NB
external air temperature, solar radiation and internal air (negative big), NM (negative medium), NS (negative
temperature. The error between the internal air tem- small), ZE (zero), PS (positive small), PM (positive
perature and the set-point temperature was applied as medium), and PB (positive big), structured after a little
ARTICLE IN PRESS
1888 M.M. Gouda et al. / Building and Environment 41 (2006) 1881–1891
using this general type of model for simulations towards (Fig. 12(a)). The QAFLC is seen to give superior
relatively short time horizons [19]. Thus the QAFLC tracking of the set-point reference temperature. In
was then implemented in real-time and results were particular, the afternoon overheating arising from the
compared with simulations based on the validated solar radiation peaking at noon is evident under
model of PI-controlled heating system using identical conventional PI control but the QAFLC successfully
weather data. reduces this undesirable effect significantly thus improv-
Fig. 12 shows a sample of results from the real-time ing comfort and reducing heating energy costs.
implementation of the QAFLC compared with simu-
lated results of the conventional PI-controlled heating.
The results are based on a cold winter day in February
2002 with high solar irradiance, peaking at around noon 8. Conclusions
Fig. 11. Results: comparison of simulated and real-time PI control. (a) Total solar radiation incident on window; (b) internal air temperature; (c)
convector-radiator output.
ARTICLE IN PRESS
1890 M.M. Gouda et al. / Building and Environment 41 (2006) 1881–1891
Fig. 12. Results: comparison of real-time QAFLC and simulated PI control. (a) Total solar radiation incident on window; (b) internal air
temperature; (c) convector-radiator output.
evaluation for buildings’ occupants thermal-visual comfort and [14] Underwood CP. HVAC control systems. London: E & FN Spon;
indoor air quality satisfaction. Energy in Buildings 2001;33(6): 1998.
531–43. [15] Ziegler JG, Nichols NB. Optimum settings for automatic
[9] Kalogirou SA. Application of artificial neural networks in energy controllers. Transactions of the ASME 1942;64:759–68.
systems: a review. Energy Conversion and Management [16] Gouda MM, Danaher S, Underwood CP. Thermal comfort based
1999;40(10):1073–87. fuzzy logic controller. Building Services Engineering Research
[10] So ATP, Chan WL, Tse WL. Self-tuning fuzzy air handling and Technology 2001;22(4):237–54.
system controller. Building Services Engineering Research and [17] Gouda MM, Danaher S, Underwood CP. Development of an
Technology 1997;18(2):99–108. artificial neural network predictor for indoor temperature of a
[11] Egilegor B, Uribe JP, Arregi G, Pradilla E, Susperregi L. A fuzzy solar building. In: Proceedings of the IASTED conference on
control adapted by a neural network to maintain a dwelling intelligent systems and control, Tampa, FL, 2001.
within thermal comfort. In: Proceedings of the Building Simula- [18] Danaher S, O’Mongain E. Singular value decomposition in
tion ’97, Prague, vol. II. 1997. p. 87–94. multispectral radiometry. International Journal of Remote Sen-
[12] Gouda MM, Danaher S, Underwood CP. Building thermal model sing 1992;13:1771–7.
reduction using nonlinear constrained optimisation. Building and [19] Gouda MM, Danaher S, Underwood CP. Low-order model for
Environment 2002;37:1255–65. the simulation of a building and its heating system. Building
[13] BS EN 442-3. Specification for radiators and convectors— Services Engineering Research and Technology 2000;21(3):
evaluation of conformity. London: British Standards Institute; 199–208.
1997.