A hierarchical fuzzy–genetic multi-agent architecture for intelligent buildings online learning, adaptation and control

https://doi.org/10.1016/S0020-0255(02)00368-7Get rights and content

Abstract

In this paper, we describe a new application domain for intelligent autonomous systems––intelligent buildings (IB). In doing so we present a novel approach to the implementation of IB agents based on a hierarchical fuzzy genetic multi-embedded-agent architecture comprising a low-level behaviour based reactive layer whose outputs are co-ordinated in a fuzzy way according to deliberative plans. The fuzzy rules related to the room resident comfort are learnt and adapted online using our patented fuzzy–genetic techniques (British patent 99-10539.7). The learnt rule base is updated and adapted via an iterative machine-user dialogue. This learning starts from the best stored rule set in the agent memory (Experience Bank) thereby decreasing the learning time and creating an intelligent agent with memory. We discuss the role of learning in building control systems, and we explain the importance of acquiring information from sensors, rather than relying on pre-programmed models, to determine user needs. We describe how our architecture, consisting of distributed embedded agents, utilises sensory information to learn to perform tasks related to user comfort, energy conservation, and safety. We show how these agents, employing a behaviour-based approach derived from robotics research, are able to continuously learn and adapt to individuals within a building, whilst always providing a fast, safe response to any situation. In addition we show that our system learns similar rules to other offline supervised methods but that our system has the additional capability to rapidly learn and optimise the learnt rule base. Applications of this system include personal support (e.g. increasing independence and quality of life for older people), energy efficiency in commercial buildings or living-area control systems for space vehicles and planetary habitation modules.

Introduction

The building industry uses the term intelligent, to describe the way the design, construction and management of a building can ensure that the building is flexible and adaptable, and therefore profitable, over its full life span. A definition which finds favour with many building managers and architects is that “An intelligent-building is one that provides a productive cost-effective environment through the optimisation of four basic elements; systems, structures, services, management and the inter-relationship between them” [20].

Computer scientists, however, hold a different view of intelligence. They are more concerned with giving machines management, analytic and control capabilities that are comparable to intelligent human activity. We prefer the definition––“An intelligent-building is one that utilises computer technology to autonomously govern and adapt the building environment so as to optimise user comfort, energy-consumption, safety and work efficiency”. In the context of a building, a system works by taking inputs from building sensors (light, temperature, passive infra-red, etc.), and using this and other information to control effectors (heaters, lights, electronically operated windows, etc.). If this system is to be intelligent, an essential feature must be its ability to learn and adapt appropriately. For this a system which can adapt and generate its own rules (rather than being restricted to simple automation) is required. According to Kasabov [16] an intelligent system should be able to learn quickly from large amounts of data therefore using fast training. An intelligent system should also adapt in real-time and in an on-line mode where new data are accommodated as it arrives. Also the system should be able to accommodate in an incremental way any rules that will become known about the problem. It should be memory-based, plus possess data and exemplar storage and retrieval capacities. It also should be able to learn and improve through active interaction with the user and the environment. It should have parameters to represent short and long term memory, age, forgetting, etc. It should also analyse itself in terms of behaviour, error and success. To the authors knowledge no system in the field of intelligent building has satisfied these conditions.

We view intelligent buildings as computer-based systems, akin to robots, gathering information from a variety of sensors, and using embedded intelligent agent techniques to determine appropriate control actions. In controlling such systems one is faced with the imprecision of sensors, lack of adequate models of many of the processes and the non-deterministic aspects of human behaviour. Such problems are well known and there have been various attempts to address them. The most significant of these approaches has been the pioneering work on behaviour-based systems from researchers such as Brooks [4] and Steels [23] who have had considerable success in the field of mobile robots. It might not seem obvious that a building can be looked upon as a machine; indeed “a robot that we live within”, but, in other work [6] we have justified the view that intelligent buildings, are analogous to robots, gathering information from a variety of sensors, and able to use behaviour-based techniques to determine appropriate control actions.

Fuzzy logic offers a framework for representing imprecise, uncertain knowledge. Similar to the way, in which people make their decisions, fuzzy systems use a mode of approximate reasoning, which allows it to deal with vague and incomplete information. In addition fuzzy controllers exhibit robustness with regard to noise and variations of system parameters. However, fuzzy systems have a well-known problem concerning the determination of their parameters. In most fuzzy systems, the fuzzy rules are determined and tuned through “trial and error” by developers, taking much iteration to determine and tune them. As the number of input variables increases (which is the case of intelligent buildings) the numbers of rules increase further magnifying the difficulty.

Evolutionary algorithms constitute a class of search and optimisation methods guided by the principles of natural evolution. Genetic algorithms (GA) are optimisation methods inspired by principles of natural evolution and genetics. GA has been successfully applied to solve a variety of difficult theoretical and practical problems by imitating the underlying processes of evolution such as selection, recombination and mutation. Their capability of learning enables a GA to adapt a system to deal with any task [12]. There are numerous reports in the scientific literature on designing fuzzy controllers using GA [2], [10], [15], [17]. However, most work uses simulation to overcome the time overhead problem caused by the large number of iterations needed for a conventional GA to develop a good solution. Thus it is not feasible for a simple GA to learn online and adapt in real-time. The situation is worsened by the fact that most evolutionary computation methods developed so far assume that the solution space is fixed (i.e. the evolution takes place within a pre-defined problem space and not in a dynamically changing and open one), thus preventing them from being used in real-time applications [16].

Our work is concerned with utilising an intelligent embedded-agent approach based on a double hierarchical fuzzy–genetic system, similar to the approach already taken in our previous work in mobile robotics [13], [14], to create an integrated and semi-autonomous building control system. There are other research projects concerned with applying AI to buildings most notably [5], [7], [8], [19]. Examples of such work include research in Sweden [8] that utilises multi-agent principles to control an intelligent building. Their primary goal is energy-efficiency, and although their system does adjust the heating and light level to suit individual preferences, these settings must be pre-defined. Their agents are built from traditional AI (i.e. not behaviour based) and their work does not address issues, such as occupant based learning. The system, so far implemented in simulation only, managed to achieve energy savings of 40% over the same building being controlled manually by occupants. A group in Colorado [19] are using a soft computing approach––neural networks––focusing solely on the intelligent control of lighting within a building, by anticipating when particular zones (regions in a room) will be occupied or unoccupied. Their system, implemented in a building with a real occupant, also achieved a significant energy reduction, although this was sometimes at the expense of the occupant’s comfort. They use a centralised control architecture which differs from our multi-agent approach and which includes no adaptation, as is the case for us. A third group based at the MIT Artificial Intelligence Lab in Massachusetts is working on an intelligent room project. They employ a mix of cameras, microphones and multiplexer to enable people to interface with room-based systems in a natural way using speech, gesture, movements, and context information [5]. This primary focus on facility of the user interface differs to our work where ideally the agent remains more or less invisible to the user of the building. There have been also other research projects by [1] and [11] concerned with producing optimal models for buildings which will used later in control, however these techniques lacks flexibility as if the system characteristics changes the system has to repeat a time consuming offline learning cycle. Also these techniques ignores the fact that the building control is subject to human desires which can vary from a person to another, so there is a need for online adaptive and interacting learning. We believe our approach is unique in seeking to apply a hierarchical fuzzy control architecture with genetic learning. This approach allows the learning or adaptation to be performed through interaction with the environment (with the occupant of the room being seen as part of the environment). In this approach there is no need for simulation or direct human intervention into the rule setting system thus satisfying the definitions of intelligent autonomous agents in robotics [23] and intelligent systems as explained above.

Broadly speaking, the agent work described here is situated in the recent line of research that concentrates on the realisation of embedded real-time agents grounded in the physical world. Traditional approaches such as real-time control and expert systems rely on predictive models and thus have difficulty in environments that are of intractable complexity (in terms of the dynamics and number of variables) being essentially (if not actually) non-deterministic. However, a number of robotic based researchers have had notable success in dealing with this type of problem based on techniques that can broadly be categorised by the term behaviour based systems. We take this approach as our starting point and have developed a method of implementing this as a hierarchical fuzzy system with numerous consequent advantages. Thus, our macro-control architecture belongs the “behaviour based control architecture” school pioneered by Rodney Brooks of MIT in the late 80’s [4]. In this approach a number of concurrent behaviours (mechanisms to attain goal or maintain state) are active (sensing environment, effecting machine) to a degree determined the relationship of the machine and environment. We have extended this approach by developing a number of mechanisms that address both behaviour-integration, in the form of a hierarchical fuzzy controller, and genetic learning, combined into a single architecture which we label an “associative experience engine” [13], [14]. In addition to dealing with control problems that are difficult to model, the self-programming nature of the system has benefits in reducing software development costs throughout the lifetime of the product. In this paper we give an overview of both the hierarchical fuzzy control and the genetically based associative experience engine applied to develop an embedded-agent within a distributed intelligent buildings architecture.

Section snippets

Distributed architecture

The granularity of our computational distribution is room-based. Thus, each room contains an embedded-agent, which is then responsible, via sensors and effectors for the local control of that room as shown in Fig. 1. The logic behind this is that it mirrors the architects’ vision of the functionality of the building and thereby provides a natural segmentation of agent types and functions. All embedded-agents are connected via a high level network (IP-ethernet in our case), thereby enabling

The embedded-agents

Fig. 2 shows the internal of the behaviour-based agent. Controlling a large integrated building system requires a complicated control function resulting from the large input and output space and the need to deal with many imprecise and unpredictable factors, including people. In our system we simplify this problem by breaking down the control space into multiple behaviours, each of which responds to specific types of situations, and then integrating their recommendations.

Overview of the genetic learning architecture

For learning and adapting the dynamic comfort rule base according to the occupant behaviours we use an evolutionary computing approach based on a development of novel hierarchical GA technique. This mechanism operates directly on the fuzzy controller rule-sets. We refer to any learning conducted without user interaction, in isolation from the environment as offline learning. In our case learning will be done online in real-time through interaction with the actual environment and user.

Identifying poorly performing rules

The rule-base is intialised to have all the outputs switched off. The GA population consists of all the rules consequents contributing to an action which is usually a small number of rules. As in the case with classifier systems, in order to preserve the system performance the GA is allowed to replace a subset of the classifiers (the rules in this case). The worst m classifiers are replaced by the m new classifiers created by the application of the GA on the population [9]. The new rules are

Experimental results

In our experiments we used an IB agent based on 68000 Motorola processor, the agent is equipped with light and heat sensors and actuators in the form of a heater and a light source; the IB agent is shown in Fig. 10. This agent is tested in a room with various conditions such as multiple occupancy, different levels of natural light and temperature and different times of the day and different human desires. There is a built in economy behaviour that should switch the heat low and ventilation off

Conclusion and future work

In this paper we have presented a novel online learning, adaptation and control algorithm based on a double hierarchical fuzzy–genetic system. In this prototype IB agent this system is composed of three fixed behaviours––the safety, emergency and economy behaviours and an adaptable rule set of comfort behaviours that are adapted according to the occupants actual behaviour. The system interactively learnt an optimised rule base for the comfort behaviour in a small set of interactions. The system

Acknowledgements

We are pleased to acknowledge the contribution from Malcolm Lear (Essex University) who built the agent hardware, sensors and test rig. We would also like to thank, Anthony Pounds–Cornish, Sue Sharples, Gillian Kearney, Robin Doling and Filiz Cayci with whom we have had many stimulating discussions on embedded-agent architectures.

References (24)

  • R Brooks

    Intelligence without representation

    Artificial Intelligence

    (1991)
  • L Steels

    When are robots intelligent autonomous agents

    Journal of Robotics and Autonomous Systems

    (1995)
  • P. Angelov, R. Buswell, V. Hanby, Automatic generation of fuzzy rule-based models from data by genetic algorithms, in:...
  • A. Bonarini, F. Basso, Learning behaviours implemented as fuzzy logic and reinforcement learning, Second Online...
  • A. Bonarini, Comparing reinforcement learning algorithms applied to crisp and fuzzy learning classifier systems, in:...
  • R. Brooks, Intelligent room project, in: Proceedings of the 2nd International Cognitive Technology Conference (CT’97),...
  • V. Callaghan, G. Clarke, Buildings as intelligent autonomous systems: a model for integrating personal and building...
  • M.H. Coen, Building brains for rooms: designing distributed software agents, in: Proceedings of the Ninth Innovative...
  • P. Davidsson, Energy Saving and Value Added Services; Controlling Intelligent-Buildings Using a Multi-Agent System...
  • M Dorigo

    Genetics-based machine learning and behaviour based robotics: a new synthesis

    IEEE Transactions on Systems, Man, Cybernetics

    (1993)
  • T Fukuda et al.

    An intelligent robotic system based on fuzzy approach

    Proceedings of the IEEE

    (1999)
  • A. Gegov, D. Azzi, G. Virk, Application of sot-computing techniques in modelling of buildings, in: Proceedings of...
  • Cited by (80)

    • Impacts of uncertain information delays on distributed real-time optimal controls for building HVAC systems deployed on IoT-enabled field control networks

      2021, Applied Energy
      Citation Excerpt :

      Individual agents that can each perceive their environment and act according to their goals and tendencies [6] form a system achieving a common goal through coordination [7]. Most of these studies focus on adjusting the set-points of building services systems, such as lighting and HVAC systems, according to information collected by agents (e.g. temperature, humidity and occupant behavior) to facilitate intelligent energy management while maintaining a comfortable indoor environment (i.e. building thermal management) [8,9]. Klein et al. [10], Yang and Wang [11] and Michailidis et al. [12] proposed multi-agent systems which collect information about occupant preferences and behavior as a basis for the control of HVAC and lighting systems.

    • Artificial Intelligence-Based Clinical Decision Support Systems Using Advanced Medical Imaging and Radiomics

      2021, Current Problems in Diagnostic Radiology
      Citation Excerpt :

      These agents may be simple reflex, model-based reflex, goal-based, utility-based or learning agents.13 A system (which includes the agent and its environment), by definition, should be able to accommodate new problem solving rules, adapts online and in real time, can analyze itself in terms of error and success, learn quickly from large amounts of data, and have memory-based exemplar storage and retrieval capacities.14 There is a wide range of intelligent agents, with a varying degree of intelligence or complexity that can be used in a medical AI system, such as a CDSS, ranging from reflex agents (action leading to reaction), model-based agents (which have a model for the environment), inference-based agents (where inference is the activity), predictive-based agents (used for prognostic/outcomes modeling), or evaluation-based models (which use evaluations as their activity).15

    • Intelligent buildings: An overview

      2020, Energy and Buildings
    View all citing articles on Scopus
    View full text