High-Level Abstraction of Concurrent Finite Automata

Slides:



Advertisements
Similar presentations
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Advertisements

4b Lexical analysis Finite Automata
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
1 Model checking. 2 And now... the system How do we model a reactive system with an automaton ? It is convenient to model systems with Transition systems.
Deterministic Finite Automata (DFA)
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Courtesy Costas Busch - RPI1 Non Deterministic Automata.
An Introduction to Input/Output Automata Qihua Wang.
Conformance Simulation Relation ( ) Let and be two automata over the same alphabet simulates () if there exists a simulation relation such that Note that.
Validating Streaming XML Documents Luc Segoufin & Victor Vianu Presented by Harel Paz.
Comparison of methods for supervisory control and submodule construction 1 Gregor v. Bochmann, University of Ottawa Comparison of methods for supervisory.
A Framework for Distributed Model Predictive Control
Basics of automata theory
REGULAR LANGUAGES.
XML Data Management 10. Deterministic DTDs and Schemas Werner Nutt.
CS 367: Model-Based Reasoning Lecture 5 (01/29/2002) Gautam Biswas.
Submodule construction in logics 1 Gregor v. Bochmann, University of Ottawa Using First-Order Logic to Reason about Submodule Construction Gregor v. Bochmann.
CSCI 2670 Introduction to Theory of Computing August 26, 2004.
2G1516 Formal Methods2005 Mads Dam IMIT, KTH 1 CCS: Processes and Equivalences Mads Dam Reading: Peled 8.5.
Complexity & Computability. Limitations of computer science  Major reasons useful calculations cannot be done:  execution time of program is too long.
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Grammars A grammar is a 4-tuple G = (V, T, P, S) where 1)V is a set of nonterminal symbols (also called variables or syntactic categories) 2)T is a finite.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
CS 367: Model-Based Reasoning Lecture 7 (02/05/2002) Gautam Biswas.
Interacting Discrete Event Systems: Modelling, Verification, and Supervisory Control Sherif S. Abdelwahed February 4, 2002.
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
7/7/20161 Formal Methods in software development a.a.2015/2016 Prof.Anna Labella.
Control of Dynamic Discrete-Event Systems Lenko Grigorov Master’s Thesis, QU supervisor: Dr. Karen Rudie.
1/29/02CSE460 - MSU1 Nondeterminism-NFA Section 4.1 of Martin Textbook CSE460 – Computability & Formal Language Theory Comp. Science & Engineering Michigan.
1 Chapter 2 Finite Automata (part a) Hokkaido, Japan.
Sequential Flexibility
Lexical analysis Finite Automata
Non Deterministic Automata
Deterministic FA/ PDA Sequential Machine Theory Prof. K. J. Hintz
Regular Expressions: Review
Pushdown Automata.
HIERARCHY THEOREMS Hu Rui Prof. Takahashi laboratory
Turing Machines Acceptors; Enumerators
CSC 4170 Theory of Computation Nondeterminism Section 1.2.
Lexical Analysis — Part II: Constructing a Scanner from Regular Expressions Copyright 2003, Keith D. Cooper, Ken Kennedy & Linda Torczon, all rights reserved.
Jaya Krishna, M.Tech, Assistant Professor
THEORY OF COMPUTATION Lecture One: Automata Theory Automata Theory.
Regular Expression We shall build expressions from the symbols using simple operations include concatenation, union and kleen closure. Several intuitive.
Turing Machines (TM) Deterministic Turing Machine (DTM)
Non-Deterministic Finite Automata
Alternating tree Automata and Parity games
Lexical Analysis — Part II: Constructing a Scanner from Regular Expressions Copyright 2003, Keith D. Cooper, Ken Kennedy & Linda Torczon, all rights reserved.
Non-Deterministic Finite Automata
Formal Methods in software development
Nondeterministic Finite Automata
Non Deterministic Automata
CSE322 Minimization of finite Automaton & REGULAR LANGUAGES
4b Lexical analysis Finite Automata
CSCI 2670 Introduction to Theory of Computing
Lexical Analysis — Part II: Constructing a Scanner from Regular Expressions Copyright 2003, Keith D. Cooper, Ken Kennedy & Linda Torczon, all rights reserved.
4b Lexical analysis Finite Automata
Instructor: Aaron Roth
Formal Methods in software development
Presented By: Darlene Banta
Our First NP-Complete Problem
CSC 4170 Theory of Computation Nondeterminism Section 1.2.
Instructor: Aaron Roth
Chapter 1 Regular Language
Instructor: Aaron Roth
Instructor: Aaron Roth
CSCI 2670 Introduction to Theory of Computing
Lecture 5 Scanning.
Sub: Theoretical Foundations of Computer Sciences
Mealy and Moore Machines
CSCI 2670 Introduction to Theory of Computing
Presentation transcript:

High-Level Abstraction of Concurrent Finite Automata for the Purpose of Hierarchical Control Klaus Schmidt SVC - Seminar September 16th, 2003

Overview Preliminaries Concurrent Systems Structural Decentralized Finite Automata - Properties - Advantages 4. High – Level Abstraction - Control Structure - Hierarchical Consistency - Example 5. Complexity Issues 6. Summary and Future Work

1. Preliminaries

1. Preliminaries: Notations in the DES Framework Automaton G automata and regular languages 1 2 3 4 deterministic finite automata G states events transition function marked states initial state 4 regular languages Alphabet strings closed language marked language

1. Preliminaries: Standard Control Structure Automaton G classification of events 1 2 3 4 controllable events – can be disabled: uncontrollable events – always enabled: feedback structure Plant G Supervisor S disabled events occuring in G 4 tracks strings occuring in G: disables event after if supervisor

1. Preliminaries: Supervisor Design automaton G controlled language 1 2 3 4 specification desired language: 0,0 0,1 0,2 0,3 4 generator for Definition: Controllability A language is controllable w.r.t. to a language If and only if 4 supremal controllable sublanguage

1. Preliminaries: Supervisor Design nonblocking - condition  there must exist a path to a marked state  controlled language: Controllability and Non-blocking Theorem A non-blocking supervisor, which implements the Specification for an automaton exists iff: (i) controllable w.r.t. (ii) is -closed, i.e.

1. Preliminaries: Supervisor Design Advantages systematic procedure for determining supervisors for finite automata synthesize maximally permissive behavior: supremal controllable sublanguage algorithms which are polynomial in time Problem: state explosion for monolithic design formulation of specifications for large systems modular design decentralized architectures  hierarchical architectures

2. Concurrent Systems

2. Concurrent Systems: Decentralized Architecture subsystems: Finite Automata Alphabet: closed language: marked language: common events: overall system: Finite Automaton synchronous composition: closed language: marked language: alphabet: common behavior subsystem

2. Concurrent Systems: Blocking Issues Idea: local control specifications for decentralized subsystems supremal controllable sublanguage  local supervisors concurrent operation of  interaction may lead to blocking in the overall behavior nonconflicting-condition concurrent operation is nonblocking and controllable iff always check if condition is fulfilled are nonblocking local languages

2. Concurrent Systems: Blocking Issues if concurrent operation is conflicting  try to adapt specifications  construct overall specification and compute overall supremal controllable language in case of conflict in general  for which systems equality holds? Sword of damokles

3. Structural Decentralized Finite Automata

3. Structural Decentralized Finite Automata: Conditions (i) shared event marking condition: marks  predecessor state of each common event is marked (ii) mutual controllability condition: local language is controllable w.r.t. external behavior of other languages as seen by

3. Structural Decentralized Finite Automata: Example two cooperating machine cells (Lee & Wong) 1 1 3 3 2 2 4 4 5 5 Controllability 1 1

3. Structural Decentralized Finite Automata: Theorem Theorem (Lee and Wong 2002): Let the decentralized architecture be given as defined before. Suppose that for and (i) marks (ii) and are mutually controllable Then for any the following holds: and is nonblocking w.r.t. verify local specifications generate local supervisors concurrent operation of local supervisors is nonblocking concurrent operation of local supervisors is optimal (equals overall solution)

4. High-Level Abstraction

4. High-Level Abstraction: Control Structure local system Concurrent nonblocking Finite Automata Structural Decentralized Architecture shared event marking mutual controllability local control local specifications ( -closed) local supervisor s.t. equivalent overall supervisor local closed-loop language local controls are non-conflicting (mutual controllability) closed loop language is nonblocking

4. High-Level Abstraction: Control Structure global system high-level events (common events) natural projection high-level language high-level marked language high-level supervisor translation map with iff (i) (ii) concept of high-level abstraction: projection on common event set coordination of system interaction via high-level control translation of virtual high-level control action to low-level low-level supervisor consists of low-level + translated high-level control

4. High-Level Abstraction: Results problems to be solved: (1) complexity of projection is exponential in size of automaton hierarchical consistency: translation of high-level control policy to low level (3) interaction of high- and low-level part of low-level supervisor (1): Theorem (Construction of High-Level Language) Let the proposed hierarchical control architecture be given. Then the high-level language can be constructed as follows: States: left side: k^n states right side: k states * n apply projection only to sublanguages compose abstracted sublanguages

4. High-Level Abstraction: Results (2) and (3): Theorem (Hierarchical Consistency) Assume the proposed hierarchical control architecture, then (i) is hierarchical consistent w.r.t.  for all high level specifications it follows that (ii) is nonblocking (iii) is maximally permissive high-level control action can be realized in low level the closed-loop language is nonblocking the translated low-level supervisor does not disable behavior if it is not necessary

4. High-Level Abstraction: Control Loop Low Level Supervisor Plant

4. High-Level Abstraction: Example 1 1 3 3 2 2 4 4 5 5 1 2 5a 4 3 5b low-level spezifications

4. High-Level Abstraction: Example generator for Generator for 1,1 0,0 generator for 1 1 high-level specification 1 2 controllable in high level translate to low level

4. High-Level Abstraction: Example high-level specification 1 2 low-level realization 1 1 3 3 2 2 5b 4 5b 5a 4 5a

5. Complexity Issues

5. Complexity Issues: Structural Decentralized Architecture Mutual Controllability: projection:  exponential in number of states controllability  polynomial in number of states  worst case: exponential complexity Shared-event marking:  polynomial in number of states and transitions marks  polynomial Low-Level Control:  n times  equvalent high level control  nonconflicting condition need not be verified  polynomial

5. Complexity Issues: High-Level Architecture High-Level Automaton: Theorem 1  projection of local automata: exponential  synchronous composition of projected automata:  global marked states: polynomial  exponential in number of subautomata and states of subautomata High-Level Control: Theorem 2  supremal controllable sublanguage for high-level automaton:  polynomial Translation High-Level to Low-Level Supervisor: Theorem 2  proposed architecture:  more general architectures: ?  polynomial ?

6. Summary and Future Work

6. Summary and Future Work Structural Decentralized Architecture Hierarchical Abstraction Low-Level Supervision High-Level Supervision Hierarchical Consistency Complexity Future Work elaborate conditions for mutual controllability formulate more general architecture multi-level hierarchy