Modelling Hybrid Control Systems with Behaviour Networks Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,

Slides:



Advertisements
Similar presentations
Integration of MBSE and Virtual Engineering for Detailed Design
Advertisements

Language for planning problems
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
1 Turing Machines and Equivalent Models Section 13.2 The Church-Turing Thesis.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
The Logic of Intelligence Pei Wang Department of Computer and Information Sciences Temple University.
BehaviorNet An Action Selection Mechanism Aregahegn Negatu And Conscious Software Research Group.
Formal Modelling of Reactive Agents as an aggregation of Simple Behaviours P.Kefalas Dept. of Computer Science 13 Tsimiski Str Thessaloniki Greece.
Artificial Intelligence Chapter 21 The Situation Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
SECTION 21.5 Eilbroun Benjamin CS 257 – Dr. TY Lin INFORMATION INTEGRATION.
Using the Crosscutting Concepts As conceptual tools when meeting an unfamiliar problem or phenomenon.
1 Temporal Claims A temporal claim is defined in Promela by the syntax: never { … body … } never is a keyword, like proctype. The body is the same as for.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
CHE 185 – PROCESS CONTROL AND DYNAMICS
President UniversityErwin SitompulSMI 7/1 Dr.-Ing. Erwin Sitompul President University Lecture 7 System Modeling and Identification
Artificial Intelligence 2005/06
EC: Lecture 17: Classifier Systems Ata Kaban University of Birmingham.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
CS 536 Spring Global Optimizations Lecture 23.
José Júlio Alferes Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of.
A Logic-Based Approach to Model Supervisory Control Systems Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
1 L. M. Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal P. Dell’Acqua, M. Engberg Dept. of Science and Technology.
Development of Empirical Models From Process Data
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
Prof. Fateman CS 164 Lecture 221 Global Optimization Lecture 22.
João Alexandre Leite Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa { jleite, lmp Pierangelo.
Data Flow Analysis Compiler Design Nov. 8, 2005.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Aida Vitória Dept. of Science.
Prof. Bodik CS 164 Lecture 16, Fall Global Optimization Lecture 16.
III Solution of pde’s using variational principles
Maria-Cristina Marinescu Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology A Synthesis Algorithm for Modular Design of.
COMPLEXITY SCIENCE WORKSHOP 18, 19 June 2015 Systems & Control Research Centre School of Mathematics, Computer Science and Engineering CITY UNIVERSITY.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
2APL A Practical Agent Programming Language March 6, 2007 Cathy Yen.
Concurrency Programming Chapter 2. The Role of Abstraction Scientific descriptions of the world are based on abstractions. A living animal is a system.
An Architecture for Empathic Agents. Abstract Architecture Planning + Coping Deliberated Actions Agent in the World Body Speech Facial expressions Effectors.
An affinity-driven clustering approach for service discovery and composition for pervasive computing J. Gaber and M.Bakhouya Laboratoire SeT Université.
Formalizing the Asynchronous Evolution of Architecture Patterns Workshop on Self-Organizing Software Architectures (SOAR’09) September 14 th 2009 – Cambrige.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
NEURAL NETWORKS FOR DATA MINING
LINEAR CLASSIFICATION. Biological inspirations  Some numbers…  The human brain contains about 10 billion nerve cells ( neurons )  Each neuron is connected.
Modelling Adaptive Controllers with Evolving Logic Programs Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
Actions Planning and Defeasible Reasoning Guillermo R. Simari Alejandro J. García Marcela Capobianco Dept. of Computer Science and Engineering U NIVERSIDAD.
Preference Revision via Declarative Debugging Pierangelo Dell’Acqua Dept. of Science and Technology - ITN Linköping University, Sweden EPIA’05, Covilhã,
Formal Specification of Intrusion Signatures and Detection Rules By Jean-Philippe Pouzol and Mireille Ducassé 15 th IEEE Computer Security Foundations.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
DEVS Based Modeling and Simulation of the CORBA POA F. Bernardi, E. de Gentili, Pr. J.F. Santucci {bernardi, gentili, University.
Semantics In Text: Chapter 3.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
L. M. Pereira, J. J. Alferes, J. A. Leite Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal P. Dell’Acqua Dept. of Science.
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
Modelling of Ecosystems by Tools from Computer Science Summer School at Czech University of Life Sciences, Prague, September, 2013 Winfried Kurth.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
A Presentation on Adaptive Neuro-Fuzzy Inference System using Particle Swarm Optimization and it’s Application By Sumanta Kundu (En.R.No.
October 19th, 2007L. M. Pereira and A. M. Pinto1 Approved Models for Normal Logic Programs Luís Moniz Pereira and Alexandre Miguel Pinto Centre for Artificial.
§ 1.5 Equations of Lines.
CIS Automata and Formal Languages – Pei Wang
§ 1.5 Equations of Lines.
Introduction to Soft Computing
Towards Next Generation Panel at SAINT 2002
Introduction To software engineering
Presented By: Darlene Banta
Presentation transcript:

Modelling Hybrid Control Systems with Behaviour Networks Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University, Sweden L. M. Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal ICINCO 05, Barcelona Spain September, 2005 September ‘05

Problem We present an approach to model adaptive, dynamic hybrid control systems based on behaviour networks. We extend/modify behaviour networks to make them self- adaptive and dynamic. The approach is general, reconfigurable, and suitable for environments that are dynamic and too complex to be entirely predictable.

Outline 1. Hybrid control systems 2. Behaviour networks 3. Extended/modified behaviour networks 4. Modelling hybrid control systems 5. Discussion and future work

1. Hybrid control systems Controller: discrete-time system Interface Plant: time-continuous system to be controlled (possibly traditional controllers) Generator Actuator Plant Controller x(t) x(t k )r(t k ) r(t) Closed-loop configuration

Plant: described by differential equations x(t) - state vector r(t) - input vector Generator Actuator Plant Controller x(t) x(t k )r(t k ) r(t)

Generator Actuator Plant Controller x(t) x(t k )r(t k ) r(t) Controller: described by difference equations s(t k+1 ) =  ( s(t k ), x(t k ) ) r(t k ) =  ( s(t k ) ) x(t k ) – plant events r(t k ) - actions

Interface Generator: converts continuous-time output of the plant into symbols x(t)  x(t k ) Actuator: receives symbols (actions) from the controller and converts them into an input to the plant r(t k )  r(t) Generator Actuator Plant Controller x(t) x(t k )r(t k ) r(t)

2. Behaviour networks Introduced by P. Maes in ‘89 for action selection in dynamic and complex environments where the system has limited computational and time resources. A behaviour network is a network composed of specific competence modules (rules) which activate and inhibit one another along the links of the network. The activation/inhibition dynamics of the network is guided by global parameters. Competence modules cooperate in such a way that the network as a whole functions properly. This architecture is distributed, modular, robust and has an emergent global functionality.

3. Extended/modified behaviour networks To model hybrid control systems, we extended behaviour networks to allow for: rules containing variables; internal actions; integrity constraints, and modules (sets of atoms and rules).

An extended behaviour network consists of 5 modules: R - a set of rules formalizing the behaviour of the network P - set of global parameters H - internal memory C - set of integrity constraints G - set of goals We call the state of the network the tuple S=(R,P,H,C,G). We assume given a module Math formalizing the axioms of elementary mathematics.

Atom takes the form: m:X meaning that X belongs to module M whose name is m m÷X meaning that X does not belong to M Sequence of atoms: Atom 1, Atom 2,..., Atom n (n  0) # denotes the empty sequence Goal is a sequence of atoms. It expresses a condition to be achieved. Integrity constraint is a sequence of atoms. It expresses a condition that must not hold. Language (simplified)

Rule is a tuple of the form: prec - preconditions del, add - represent the internal effect of the rule action - atom representing the external effect of the rule  - level of strength of the rule Variables in rules are universally quantified: E denotes the environment

A substitution  is a finite set of bindings: variable/expression A substitution  can be applied to an expression X, written as X , by simultaneously replacing any variable v in X with t, for every binding v/t in . if X = h:q(x,y,z,c) and  = {x/3, z/6}, then X  = h:q(3,y,6,c) Two expressions X and Y are unifiable (i.e. two-way pattern matched), written as X  Y, if there exists a substitution  such that X  =Y . Substitutions can be applied to rules: if r = and  = {x/12}, then r  =

At every state, a rule in R has to be selected for execution. A sequence L of atoms is true at a state S iff: for every m:X in L, X  M and for every m÷X in L, there exists no  for which X   M. A state S is safe if there exists no  that makes an integrity constraint in C true at S. Executable rules

Applying a rule r= S=(M 1,M 2,M 3,M 4,M 5 ) r(S)=(M’ 1,M’ 2,M’ 3,M’ 4,M’ 5 ) every M’ i is obtained from M i : by removing X for every m i :X in del, and by adding Y for every m i :Y in add. A rule r is executable at S iff: prec is true at S, r(S) is safe, and action is an atom with no variables. r

Rules in a network are linked by three types of links. Let x and y be rules. Successor linkxy for every m:X in the add list of x and m:Y in the prec list of y such that X  Y Predecessor link xy for every successor link from y to x Conflict linkxy for every m:X in the prec list of x and m:Y in the del list of y such that X  Y Rule selection

Rules use these links to activate/inhibit each other. Forward propagation There is input of activation energy coming from S and E towards rules whose preconditions partially match them. Backward propagation There is input of activation energy from G towards rules whose add lists partially match G. Inhibition There is inhibition by the goals that have been achieved. They remove some activation energy from the rules that would undo them.

Rules also inhibit and activate each other along the links in the network. The mathematical model is based on several global parameters in P that are used to tune the spreading of activation energy through the network:  - threshold of rules to become active,  - amount of energy that a true atom injects into the network,  - amount of energy that a goal injects into the network,  - amount of energy that achieved goals take away from the network,... etc.

Let r be a rule in R and  a substitution. The rule r  becomes active when: it is executable, its activation level overcomes , has the greatest activation level among all other executable rules. When an active rule has been executed, its activation level is set to 0.

4. Modelling hybrid control systems An adaptive, dynamic hybrid controller can be described by an extended behaviour network. P R H Math C G EActuator CU

The basic engine of CU can be described via the following cycle: Cycle(n, R, P, H, C, G) 1.Load the rules of R into CU and calculate their activation level wrt. the global parameters in P. 2.If one rule becomes active, then execute its internal effect, and send its external effect (its action) to the actuator. Let R', P', H', C', G' be the modules after the execution of the rule. Cycle with (n+1, R', P', H', C', G'). 3.If no rule becomes active, then lower the level of  in P. Cycle with (n+1, R, P', H, C, G).

Consider a virtual marine world inhabited by a variety of fish. Fish are situated in the environment, and sense and act over it. The behaviour of a fish is reduced to search and eating food, escaping and sleeping. Actions of the fish: search, eat, escape and sleep. Example: artificial fish

Modelling an artificial fish Stimuli of the fish: hungry: fear: tired: Input vector to the controllerState of the controller hungry(t k ) food(t k ) x(t k ) = fear(t k ) s(t k ) = satiated(t k ) tired(t k ) safe(t k )

C = { } no constraints G = { h:safe, h:satiated } Behaviour of the fish: 0.5, h÷food; # ; h:food; search; 0.5 > 0.5, h:food; # ; h:satiated; eat; 0.5 > 0.5; # ; h:safe; escape; 0.7 > E - stimuli of the fish H - internal state of the fish R =

Implementation: XSB Prolog + Java Extension of L to allow variables in the strength level of rules: 20; # ; h:on; heating(on); 0.5*(20-x) > Engineering network of behaviour networks to model complex environments Techniques developed in Logic Programming can be employed: - preference reasoning to enhance action selection - genetic algorithms to tune the global parameters of the network - belief revision to resolve cases of conflicting rules if more rules can become active 5. Future work